netdev
[Top] [All Lists]

Re: problems with 2.6.12

To: Eric Lammerts <eric-madwifi-devel@xxxxxxxxxxxx>
Subject: Re: problems with 2.6.12
From: Tommy Christensen <tommy.christensen@xxxxxxxxx>
Date: Fri, 01 Jul 2005 18:33:28 +0200
Cc: madwifi-devel@xxxxxxxxxxxxxxxxxxxxx, herbert@xxxxxxxxxxxxxxxxxxx, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <42C562A4.9070501@lammerts.org>
References: <42C562A4.9070501@lammerts.org>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803
Eric Lammerts wrote:
Hello all,
I was having problems with 2.6.12 + madwifi in master mode. No packets were going out. With tcpdump I see DHCP requests coming in, with strace I see the dhcp daemon sending replies out, but they don't show up in tcpdump.


It's caused by this change:
http://oss.sgi.com/projects/netdev/archive/2005-05/msg00109.html

which btw also causes problems for other people:
http://marc.theaimsgroup.com/?l=linux-kernel&m=111853727810345&w=2

Auch. And vlan interfaces are having trouble as well.

Madwifi doesn't call netif_carrier_on() in master mode, so Linux drops all packets. When I remove the dev_deactivate() line, it works fine again.

Netdevices are "born" with carrier on, so if your code don't call netif_carrier_off() or set dev->state directly, I don't see how you can end up in this state. Could you investigate this?

Should we fix madwifi or the kernel?

The code is there for a reason, so hopefully we can work this out.


-Tommy

<Prev in Thread] Current Thread [Next in Thread>