2001-04-05 01:08:17

by Prasanna P Subash

[permalink] [raw]
Subject: [Problem] 3c90x on 2.4.3-ac3

hi lkml,
I just built 2.4.3-ac3 with my old 2.4.2 .config and somehow networking does not work.
dhclient eventually froze the machine.

here is what dhclient complains.

[root@psubash linux]# cat /tmp/error.txt
skb: pf=2 (unowned) dev=lo len=328
PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0 F=0x0000 T=16
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 14
ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
skb: pf=2 (unowned) dev=lo len=328
PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0 F=0x0000 T=16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 12
ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
skb: pf=2 (unowned) dev=lo len=328

Here is my ver_linux info

[root@psubash linux]# cat /tmp/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux psubash 2.4.3-ac3 #3 Wed Apr 4 16:49:40 PDT 2001 i686 unknown

Gnu C 2.95.2.1
Gnu make 3.79.1
binutils 2.10.1
util-linux 2.11a
mount 2.11a
modutils 2.3.24
e2fsprogs 1.20-WIP
pcmcia-cs 3.1.24
PPP 2.3.11
Linux C Library 2.1.3
Dynamic linker (ldd) 2.1.3
Linux C++ Library ..
Procps 2.0.6
Net-tools 1.55
Console-tools 0.3.3
Sh-utils 2.0
Modules Loaded 3c59x


Here is the output of lspci.

[root@psubash linux]# lspci -v
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
Flags: bus master, medium devsel, latency 64
Memory at f8000000 (32-bit, prefetchable)
Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 128
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: f4100000-f4ffffff
Prefetchable memory behind bridge: fc000000-fdffffff

00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
I/O ports at 10c0

00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 1080

00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
Flags: medium devsel

00:0e.0 Multimedia audio controller: Creative Labs SB Live! EMU10000 (rev 07)
Subsystem: Creative Labs CT4832 SBLive! Value
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at 10a0
Capabilities: [dc] Power Management version 1

00:0e.1 Input device controller: Creative Labs SB Live! (rev 07)
Subsystem: Creative Labs Gameport Joystick
Flags: bus master, medium devsel, latency 64
I/O ports at 10d0
Capabilities: [dc] Power Management version 1

00:0f.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
Flags: bus master, medium devsel, latency 80, IRQ 5
I/O ports at 1000
Memory at f4000000 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 1

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04) (prog-if 00 [VGA])
Subsystem: Matrox Graphics, Inc. Millennium G400 16Mb SDRAM
Flags: bus master, medium devsel, latency 128, IRQ 11
Memory at fc000000 (32-bit, prefetchable)
Memory at f4100000 (32-bit, non-prefetchable)
Memory at f4800000 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 2
Capabilities: [f0] AGP version 2.0




I have also attached my .config.


thanks,
Prasanna Subash
[email protected]


Attachments:
(No filename) (4.12 kB)
.config (15.38 kB)
Download all attachments

2001-04-05 08:16:19

by Marcus Meissner

[permalink] [raw]
Subject: Re: [Problem] 3c90x on 2.4.3-ac3

In article <[email protected]> you wrote:

> hi lkml,
> I just built 2.4.3-ac3 with my old 2.4.2 .config and somehow networking does not work.
> dhclient eventually froze the machine.

> here is what dhclient complains.

> [root@psubash linux]# cat /tmp/error.txt
> skb: pf=2 (unowned) dev=lo len=328
> PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0 F=0x0000 T=16
> DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 14
> ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
> skb: pf=2 (unowned) dev=lo len=328
> PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0 F=0x0000 T=16
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 12
> ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
> skb: pf=2 (unowned) dev=lo len=328

> Here is my ver_linux info

...
> CONFIG_ACPI=y

The ACPI powermanagement for the 3c59x devices appears to be a bit broken.

Disable ACPI support. Recompile. Reboot. Watch problem disappear hopefully.

Ciao, Marcus

2001-04-05 18:13:41

by Prasanna P Subash

[permalink] [raw]
Subject: Re: [Problem] 3c90x on 2.4.3-ac3

Thats right. ACPI was what made 3c90x not work :( With APM it works perfectly.

Thanks Marcus.

On Thu, Apr 05, 2001 at 10:14:56AM +0200, Marcus Meissner wrote:
> In article <[email protected]> you wrote:
>
> > hi lkml,
> > I just built 2.4.3-ac3 with my old 2.4.2 .config and somehow networking does not work.
> > dhclient eventually froze the machine.
>
> > here is what dhclient complains.
>
> > [root@psubash linux]# cat /tmp/error.txt
> > skb: pf=2 (unowned) dev=lo len=328
> > PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0 F=0x0000 T=16
> > DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 14
> > ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
> > skb: pf=2 (unowned) dev=lo len=328
> > PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0 F=0x0000 T=16
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> > DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 12
> > ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
> > skb: pf=2 (unowned) dev=lo len=328
>
> > Here is my ver_linux info
>
> ...
> > CONFIG_ACPI=y
>
> The ACPI powermanagement for the 3c59x devices appears to be a bit broken.
>
> Disable ACPI support. Recompile. Reboot. Watch problem disappear hopefully.
>
> Ciao, Marcus

2001-04-05 18:43:08

by Andrew Grover

[permalink] [raw]
Subject: RE: [Problem] 3c90x on 2.4.3-ac3

I'm confused. 3c59x.c has a little acpi WOL stuff, but that's it.

What specifically is ACPI doing to break things? Are ACPI and the NIC
sharing any resources?

Regards -- Andy

> -----Original Message-----
> From: Prasanna P Subash [mailto:[email protected]]
> Sent: Thursday, April 05, 2001 11:12 AM
> To: Marcus Meissner
> Cc: [email protected]
> Subject: Re: [Problem] 3c90x on 2.4.3-ac3
> Importance: High
>
>
> Thats right. ACPI was what made 3c90x not work :( With APM it
> works perfectly.
>
> Thanks Marcus.
>
> On Thu, Apr 05, 2001 at 10:14:56AM +0200, Marcus Meissner wrote:
> > In article <[email protected]> you wrote:
> >
> > > hi lkml,
> > > I just built 2.4.3-ac3 with my old 2.4.2 .config and
> somehow networking does not work.
> > > dhclient eventually froze the machine.
> >
> > > here is what dhclient complains.
> >
> > > [root@psubash linux]# cat /tmp/error.txt
> > > skb: pf=2 (unowned) dev=lo len=328
> > > PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0
> F=0x0000 T=16
> > > DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 14
> > > ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
> > > skb: pf=2 (unowned) dev=lo len=328
> > > PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0
> F=0x0000 T=16
> > > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
> > > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> > > DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 12
> > > ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
> > > skb: pf=2 (unowned) dev=lo len=328
> >
> > > Here is my ver_linux info
> >
> > ...
> > > CONFIG_ACPI=y
> >
> > The ACPI powermanagement for the 3c59x devices appears to
> be a bit broken.
> >
> > Disable ACPI support. Recompile. Reboot. Watch problem
> disappear hopefully.
> >
> > Ciao, Marcus
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

2001-04-05 23:47:37

by Prasanna P Subash

[permalink] [raw]
Subject: Re: [Problem] 3c90x on 2.4.3-ac3

On Thu, Apr 05, 2001 at 11:40:36AM -0700, Grover, Andrew wrote:
> I'm confused. 3c59x.c has a little acpi WOL stuff, but that's it.



I tried "#ifdef 0"-ing the set_WOL function body( empty function ) in
3c59x.c and enabled acpi and built another kernel
and I still have the problem.

So its NOT a problem with the ACPI code in 3c59x.c per se.


I noticed that the following message was from net/core/netfilter.c( i
got this message on running dhclient )

ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN

so i diabled netfilter also, and I still had the issue.



I assigned a static IP. ifconfig showed me the right info.
"route" however froze most of the times. I have 2 routes

172.16.12.0 * 255.255.252.0 U 0 0 0 eth0
default 172.16.12.1 0.0.0.0 UG 0 0 0 eth0

It would freeze after the first one most often. If it did'nt, do a ping http://www.google.com,
which will drop all the packets, and try route again, and it would freeze after the first route.

I strace'd route and noticed that I was waiting on "poll". I have attached the strace
info on route.


>
> What specifically is ACPI doing to break things? Are ACPI and the NIC
> sharing any resources?

I dont know about sharing resources. I have attached my dmesg.

The whole thing works like a charm under APM however.

I'm gonna try increasing vortex_debug level to see what happens.

would be glad to furnish more info...


-Prasanna Subash
[email protected]



>
> Regards -- Andy
>
> > -----Original Message-----
> > From: Prasanna P Subash [mailto:[email protected]]
> > Sent: Thursday, April 05, 2001 11:12 AM
> > To: Marcus Meissner
> > Cc: [email protected]
> > Subject: Re: [Problem] 3c90x on 2.4.3-ac3
> > Importance: High
> >
> >
> > Thats right. ACPI was what made 3c90x not work :( With APM it
> > works perfectly.
> >
> > Thanks Marcus.
> >
> > On Thu, Apr 05, 2001 at 10:14:56AM +0200, Marcus Meissner wrote:
> > > In article <[email protected]> you wrote:
> > >
> > > > hi lkml,
> > > > I just built 2.4.3-ac3 with my old 2.4.2 .config and
> > somehow networking does not work.
> > > > dhclient eventually froze the machine.
> > >
> > > > here is what dhclient complains.
> > >
> > > > [root@psubash linux]# cat /tmp/error.txt
> > > > skb: pf=2 (unowned) dev=lo len=328
> > > > PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0
> > F=0x0000 T=16
> > > > DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 14
> > > > ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
> > > > skb: pf=2 (unowned) dev=lo len=328
> > > > PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328 S=0x10 I=0
> > F=0x0000 T=16
> > > > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
> > > > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> > > > DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 12
> > > > ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN
> > > > skb: pf=2 (unowned) dev=lo len=328
> > >
> > > > Here is my ver_linux info
> > >
> > > ...
> > > > CONFIG_ACPI=y
> > >
> > > The ACPI powermanagement for the 3c59x devices appears to
> > be a bit broken.
> > >
> > > Disable ACPI support. Recompile. Reboot. Watch problem
> > disappear hopefully.
> > >
> > > Ciao, Marcus
> > -
> > To unsubscribe from this list: send the line "unsubscribe
> > linux-kernel" in
> > the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >


Attachments:
(No filename) (3.50 kB)
route.txt (12.53 kB)
dmesg.txt (5.49 kB)
Download all attachments