On Mon, Mar 21, 2011 at 08:24:53PM +0000, Ben Hutchings wrote: > On Mon, Mar 21, 2011 at 08:00:02PM +0100, lee wrote: > > Package: linux-source-2.6.32 > > Version: 2.6.32-31 > > Severity: normal > > > > > > My kernel compiled from linux-source-2.6.32-30 worked fine with the > > r8169 module (with and without the firmware-realtek package > > installed). Now I compiled a new kernel from linux-source-2.6.32-31, > > using make oldconfig, and found that the new kernel make from the > > current sources panics during booting with some stacktrace messages > > indicating a problem with the r8169 module. > > > > The default Debain kernel works fine with this module installed, > > though. It does not use the firmware, giving you a message that the > > firmware couldn´t be applied. 2.6.32-30 did use the firmware. > > This is strange. I will investigate.
Thanks! I just verified to make sure that I wasn´t seeing these messages only while I had the firmware-realtek package purged. The firmware package is installed now, and I´m getting ... [...] Mar 21 22:06:49 yun kernel: [ 0.617124] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded Mar 21 22:06:49 yun kernel: [ 0.617141] r8169 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 Mar 21 22:06:49 yun kernel: [ 0.617186] r8169 0000:02:00.0: setting latency timer to 64 [...] Mar 21 22:06:49 yun kernel: [ 0.617327] r8169 0000:02:00.0: irq 29 for MSI/MSI-X Mar 21 22:06:49 yun kernel: [ 0.617677] eth0: RTL8168d/8111d at 0xffffc90000c7e000, 40:61:86:2e:28:77, XID 081000c0 IRQ 29 Mar 21 22:06:49 yun kernel: [ 0.617947] libata version 3.00 loaded. Mar 21 22:06:49 yun kernel: [ 0.624244] eth0: unable to apply firmware patch [...] Mar 21 22:06:49 yun kernel: [ 0.629454] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded Mar 21 22:06:49 yun kernel: [ 0.629464] r8169 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 Mar 21 22:06:49 yun kernel: [ 0.629490] r8169 0000:03:00.0: setting latency timer to 64 Mar 21 22:06:49 yun kernel: [ 0.629519] alloc irq_desc for 30 on node 0 Mar 21 22:06:49 yun kernel: [ 0.629521] alloc kstat_irqs on node 0 Mar 21 22:06:49 yun kernel: [ 0.629529] r8169 0000:03:00.0: irq 30 for MSI/MSI-X Mar 21 22:06:49 yun kernel: [ 0.629880] eth1: RTL8168d/8111d at 0xffffc90000c52000, 40:61:86:2e:28:76, XID 081000c0 IRQ 30 Mar 21 22:06:49 yun kernel: [ 0.636456] eth1: unable to apply firmware patch [...] ... in the syslog when booting the default Debian kernel. So yes, the firmware definitely isn´t loaded. I can´t tell if loading the firmware makes a difference since the card seems to work as well without the firmware. >From booting with the r8168 module: [...] Mar 21 22:17:25 yun kernel: [ 2.842802] r8168 Gigabit Ethernet driver 8.022.00-NAPI loaded Mar 21 22:17:25 yun kernel: [ 2.842830] r8168 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 Mar 21 22:17:25 yun kernel: [ 2.842848] r8168 0000:02:00.0: setting latency timer to 64 Mar 21 22:17:25 yun kernel: [ 2.842908] r8168 0000:02:00.0: irq 29 for MSI/MSI-X Mar 21 22:17:25 yun kernel: [ 2.843132] eth%d: RTL8168B/8111B at 0xffffc9000004c000, 40:61:86:2e:28:77, IRQ 29 [...] Mar 21 22:17:25 yun kernel: [ 2.915526] r8168: This product is covered by one or more of the following patents: US5,307,459, US5,434,872, US5,732,094, US6,570,884, US6,115,776, and US6,327,625. Mar 21 22:17:25 yun kernel: [ 2.915528] eth0: Identified chip type is 'RTL8168D/8111D'. Mar 21 22:17:25 yun kernel: [ 2.915530] r8168 Copyright (C) 2011 Realtek NIC software team <nic...@realtek.com> Mar 21 22:17:25 yun kernel: [ 2.915531] This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. Mar 21 22:17:25 yun kernel: [ 2.915532] This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>. Mar 21 22:17:25 yun kernel: [ 2.915538] r8168 Gigabit Ethernet driver 8.022.00-NAPI loaded Mar 21 22:17:25 yun kernel: [ 2.915551] r8168 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 Mar 21 22:17:25 yun kernel: [ 2.915563] r8168 0000:03:00.0: setting latency timer to 64 Mar 21 22:17:25 yun kernel: [ 2.915596] r8168 0000:03:00.0: irq 30 for MSI/MSI-X Mar 21 22:17:25 yun kernel: [ 2.915817] eth%d: RTL8168B/8111B at 0xffffc90000048000, 40:61:86:2e:28:76, IRQ 30 [...] Mar 21 22:17:25 yun kernel: [ 2.988164] r8168: This product is covered by one or more of the following patents: US5,307,459, US5,434,872, US5,732,094, US6,570,884, US6,115,776, and US6,327,625. Mar 21 22:17:25 yun kernel: [ 2.988166] eth1: Identified chip type is 'RTL8168D/8111D'. Mar 21 22:17:25 yun kernel: [ 2.988168] r8168 Copyright (C) 2011 Realtek NIC software team <nic...@realtek.com> Mar 21 22:17:25 yun kernel: [ 2.988169] This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. Mar 21 22:17:25 yun kernel: [ 2.988170] This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>. [...] Mar 21 22:17:25 yun kernel: [ 10.092605] r8168: eth1: link down Mar 21 22:17:25 yun kernel: [ 10.093856] ADDRCONF(NETDEV_UP): eth1: link is not ready Mar 21 22:17:25 yun kernel: [ 10.666982] ip_tables: (C) 2000-2006 Netfilter Core Team Mar 21 22:17:25 yun kernel: [ 11.426285] Netfilter messages via NETLINK v0.30. Mar 21 22:17:25 yun kernel: [ 11.445339] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) Mar 21 22:17:25 yun kernel: [ 11.445456] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use Mar 21 22:17:25 yun kernel: [ 11.445458] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or Mar 21 22:17:25 yun kernel: [ 11.445459] sysctl net.netfilter.nf_conntrack_acct=1 to enable it. Mar 21 22:17:25 yun kernel: [ 11.622609] ClusterIP Version 0.8 loaded successfully Mar 21 22:17:25 yun kernel: [ 11.880966] xt_time: kernel timezone is -0000 Mar 21 22:17:25 yun kernel: [ 12.143026] Bridge firewalling registered Mar 21 22:17:25 yun kernel: [ 12.179666] r8168: eth1: link up Mar 21 22:17:25 yun kernel: [ 12.180855] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready Mar 21 22:17:25 yun kernel: [ 12.452970] u32 classifier Mar 21 22:17:25 yun kernel: [ 12.452971] Performance counters on Mar 21 22:17:25 yun kernel: [ 12.452972] input device check on Mar 21 22:17:25 yun kernel: [ 12.452973] Actions configured Mar 21 22:17:25 yun kernel: [ 13.080015] r8168: eth1: link up [...] (eth0, the first connector on the board, is currently not in use) > > Some research[1] turned up that I eventually need a module called > > r8168 for my onboard network card. > [...] > > This is half right. Realtek provides two drivers, r8169 and r8168, > for different sets of network controllers. However, in mainline > Linux, the r8169 driver is supposed to support all of them. That leaves the question why r8169 suddenly stopped working with the kernel I compiled myself. For that kernel, I have turned off a lot of things that are turned on in the default Debian kernel which I don´t need, so I could speculate it might either have to do with the order in which things are being loaded during booting, or with something that´s missing in my kernel to be able to use the r8169 module which wasn´t needed in 2.6.32-30 and isn´t needed with the r8168 module in 2.6.32-31. If it might help, I could make a test by compiling a kernel from the Debian sources out of the box, without changing the configuration, and see if that kernel boots. -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110321215026.gb3...@yun.yagibdah.de