Bug#370195: linux-image-2.6.15-1-686: fails to bring up an NE2000 network card
Package: linux-image-2.6.15-1-686
Version: 2.6.15-8
Severity: important
With this kernel I am not able to use the network. I had to go back to a
2.4 kernel to have the net working. As a comparison I attached some
fragments obtained with kernel 2.4 and with kernel 2.6:
The fragment of syslog in the case of a 2.4 kernel is:
Jun 4 01:28:33 localhost kernel: isapnp: Scanning for PnP cards...
Jun 4 01:28:33 localhost kernel: isapnp: Card 'PLUG & PLAY ETHERNET CARD'
Jun 4 01:28:33 localhost kernel: isapnp: 1 Plug & Play card detected total
Jun 4 01:28:33 localhost kernel: ne.c: ISAPnP reports Generic PNP at i/o 0x240,Jun 4 01:28:33 localhost kernel: ne.c:v1.10 9/23/94 Donald Becker (becker@scyldJun 4 01:28:33 localhost kernel: Last modified Nov 1, 2000 by Paul Gortmaker
Jun 4 01:28:33 localhost kernel: NE*000 ethercard probe at 0x240: 00 00 b4 35 1Jun 4 01:28:33 localhost kernel: eth0: NE2000 found at 0x240, using IRQ 5.
Running the network restart I get:
pccasa:~# /etc/init.d/networking restart
* /etc/network/options is deprecated.
Setting up IP spoofing protection...done (rp_filter).
Reconfiguring network interfaces...ifup: interface lo already configured
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/eth0/00:00:b4:35:1f:e1
Sending on LPF/eth0/00:00:b4:35:1f:e1
Sending on Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.33 -- renewal in 129600 seconds.
done.
With a 2.6 kernel, I get the following syslog fragment:
Jun 4 02:18:28 localhost kernel: pnp: Device 01:01.00 activated.
Jun 4 02:18:28 localhost kernel: ne.c: ISAPnP reports Generic PNP at i/o 0x240, irq 5.
Jun 4 02:18:28 localhost kernel: ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com)
Jun 4 02:18:28 localhost kernel: Last modified Nov 1, 2000 by Paul Gortmaker
Jun 4 02:18:28 localhost kernel: NE*000 ethercard probe at 0x240: 00 00 b4 35 1f e1
Jun 4 02:18:28 localhost kernel: eth%%d: NE2000 found at 0x240, using IRQ 5.
which means that there is a problem with my NE2000 card, because it is
seen as an eth%%d interface rather than a eth0...
If I try to restart the network interface I get:
pccasa:~# /etc/init.d/networking restart
* /etc/network/options is deprecated.
Setting up IP spoofing protection...done (rp_filter).
Reconfiguring network interfaces...ifup: interface lo already configured
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
sit0: unknown hardware address type 776
eth0: ERROR while getting interface flags: No such device
sit0: unknown hardware address type 776
Bind socket to interface: No such device
exiting.
Failed to bring up eth0.
done.
and my ifconfig -a says:
pccasa:~# ifconfig -a
eth35 Link encap:Ethernet HWaddr 00:00:B4:35:1F:E1
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:5 Base address:0x240
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-686
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)
Versions of packages linux-image-2.6.15-1-686 depends on:
ii initramfs-tools [linux-initra 0.60 tools for generating an initramfs
ii module-init-tools 3.2.2-2 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.15-1-686 recommends:
ii libc6-i686 2.3.6-7 GNU C Library: Shared libraries [i
-- debconf information:
linux-image-2.6.15-1-686/preinst/abort-install-2.6.15-1-686:
linux-image-2.6.15-1-686/preinst/abort-overwrite-2.6.15-1-686:
linux-image-2.6.15-1-686/prerm/would-invalidate-boot-loader-2.6.15-1-686: true
linux-image-2.6.15-1-686/preinst/bootloader-initrd-2.6.15-1-686: true
linux-image-2.6.15-1-686/postinst/kimage-is-a-directory:
linux-image-2.6.15-1-686/preinst/lilo-initrd-2.6.15-1-686: true
linux-image-2.6.15-1-686/postinst/old-initrd-link-2.6.15-1-686: true
linux-image-2.6.15-1-686/postinst/old-dir-initrd-link-2.6.15-1-686: true
linux-image-2.6.15-1-686/preinst/overwriting-modules-2.6.15-1-686: true
linux-image-2.6.15-1-686/postinst/depmod-error-initrd-2.6.15-1-686: false
linux-image-2.6.15-1-686/preinst/already-running-this-2.6.15-1-686:
linux-image-2.6.15-1-686/preinst/initrd-2.6.15-1-686:
linux-image-2.6.15-1-686/postinst/depmod-error-2.6.15-1-686: false
linux-image-2.6.15-1-686/postinst/bootloader-error-2.6.15-1-686:
linux-image-2.6.15-1-686/postinst/bootloader-test-error-2.6.15-1-686:
linux-image-2.6.15-1-686/preinst/lilo-has-ramdisk:
linux-image-2.6.15-1-686/postinst/create-kimage-link-2.6.15-1-686: true
linux-image-2.6.15-1-686/prerm/removing-running-kernel-2.6.15-1-686: true
linux-image-2.6.15-1-686/preinst/failed-to-move-modules-2.6.15-1-686:
linux-image-2.6.15-1-686/preinst/elilo-initrd-2.6.15-1-686: true
linux-image-2.6.15-1-686/postinst/old-system-map-link-2.6.15-1-686: true
Reply to: