Summary: | sys-kernel/gentoo-source-3.3.0 + 3.3.1 can't load bnx2 firmware | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | babykart <babykart> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
babykart
2012-04-05 13:06:48 UTC
Any error message in dmesg? Something like: bnx2: Can't load firmware file Can you attach the entire dmesg? Can you try with linux-firmware-20120219 ? (In reply to comment #1) > Any error message in dmesg? Something like: bnx2: Can't load firmware file > > Can you attach the entire dmesg? I have this in kern.log with kernel 3.3.1 about bnx2 : Apr 5 14:14:34 babykart kernel: bnx2: Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.2.1 (Dec 18, 2011) Apr 5 14:14:34 babykart kernel: bnx2 0000:03:00.0: eth0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f8000000, IRQ 16, node addr 00:12:19:4f:e2:5e Apr 5 14:14:34 babykart kernel: bnx2 0000:07:00.0: eth1: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f4000000, IRQ 16, node addr 00:12:19:4f:e2:60 Apr 5 14:14:34 babykart kernel: bnx2: Can't load firmware file "bnx2/bnx2-mips-06-6.2.3.fw" Apr 5 14:14:34 babykart kernel: bnx2: Can't load firmware file "bnx2/bnx2-mips-06-6.2.3.fw" Apr 5 14:14:34 babykart kernel: bnx2: Can't load firmware file "bnx2/bnx2-mips-06-6.2.3.fw" Apr 5 14:14:40 babykart kernel: bnx2: Can't load firmware file "bnx2/bnx2-mips-06-6.2.3.fw" (In reply to comment #2) > Can you try with linux-firmware-20120219 ? It works find with linux-firmware-20120219 : thank you. Well, since 3.3, linux-firmware are not embedded in gentoo-sources? linux-firmware is a separate package. I believe the kernel code now looks for a different fw file name, that file name exists in the new linux-fireware package. Hello, Same for me today with sys-kernel/gentoo-source-3.4.9 : bnx2: Can’t load firmware file "bnx2/bnx2-mips-09-6.2.1b.fw" when booting on new kernel. When looking at kernel make output, we can see : MK_FW firmware/bnx2/bnx2-mips-09-6.2.1a.fw.gen.S IHEX firmware/bnx2/bnx2-mips-09-6.2.1a.fw AS firmware/bnx2/bnx2-mips-09-6.2.1a.fw.gen.o MK_FW firmware/bnx2/bnx2-rv2p-09-6.0.17.fw.gen.S IHEX firmware/bnx2/bnx2-rv2p-09-6.0.17.fw AS firmware/bnx2/bnx2-rv2p-09-6.0.17.fw.gen.o MK_FW firmware/bnx2/bnx2-rv2p-09ax-6.0.17.fw.gen.S IHEX firmware/bnx2/bnx2-rv2p-09ax-6.0.17.fw AS firmware/bnx2/bnx2-rv2p-09ax-6.0.17.fw.gen.o MK_FW firmware/bnx2/bnx2-mips-06-6.2.1.fw.gen.S IHEX firmware/bnx2/bnx2-mips-06-6.2.1.fw AS firmware/bnx2/bnx2-mips-06-6.2.1.fw.gen.o MK_FW firmware/bnx2/bnx2-rv2p-06-6.0.15.fw.gen.S IHEX firmware/bnx2/bnx2-rv2p-06-6.0.15.fw AS firmware/bnx2/bnx2-rv2p-06-6.0.15.fw.gen.o Nothing for bnx2-mips-09-6.2.1b.fw, only for bnx2-mips-09-6.2.1a.fw. cd /usr/src/linux-3.4.9-gentoo/firmware/bnx2 bnx2 # ls -l total 1048 -rw-r--r-- 1 root root 92792 1 sept. 18:37 bnx2-mips-06-6.2.1.fw -rw-r--r-- 1 root root 94072 1 sept. 18:37 bnx2-mips-06-6.2.1.fw.gen.o -rw-r--r-- 1 root root 503 1 sept. 18:37 bnx2-mips-06-6.2.1.fw.gen.S -rw-r--r-- 1 root root 255624 21 mai 00:29 bnx2-mips-06-6.2.1.fw.ihex -rw-r--r-- 1 root root 103868 1 sept. 18:37 bnx2-mips-09-6.2.1a.fw -rw-r--r-- 1 root root 105160 1 sept. 18:37 bnx2-mips-09-6.2.1a.fw.gen.o -rw-r--r-- 1 root root 510 1 sept. 18:37 bnx2-mips-09-6.2.1a.fw.gen.S -rw-r--r-- 1 root root 286104 21 mai 00:29 bnx2-mips-09-6.2.1a.fw.ihex -rw-r--r-- 1 root root 5696 1 sept. 18:37 bnx2-rv2p-06-6.0.15.fw -rw-r--r-- 1 root root 6984 1 sept. 18:37 bnx2-rv2p-06-6.0.15.fw.gen.o -rw-r--r-- 1 root root 510 1 sept. 18:37 bnx2-rv2p-06-6.0.15.fw.gen.S -rw-r--r-- 1 root root 16004 21 mai 00:29 bnx2-rv2p-06-6.0.15.fw.ihex -rw-r--r-- 1 root root 6104 1 sept. 18:37 bnx2-rv2p-09-6.0.17.fw -rw-r--r-- 1 root root 7392 1 sept. 18:37 bnx2-rv2p-09-6.0.17.fw.gen.o -rw-r--r-- 1 root root 510 1 sept. 18:37 bnx2-rv2p-09-6.0.17.fw.gen.S -rw-r--r-- 1 root root 17132 21 mai 00:29 bnx2-rv2p-09-6.0.17.fw.ihex -rw-r--r-- 1 root root 6616 1 sept. 18:37 bnx2-rv2p-09ax-6.0.17.fw -rw-r--r-- 1 root root 7904 1 sept. 18:37 bnx2-rv2p-09ax-6.0.17.fw.gen.o -rw-r--r-- 1 root root 524 1 sept. 18:37 bnx2-rv2p-09ax-6.0.17.fw.gen.S -rw-r--r-- 1 root root 18552 21 mai 00:29 bnx2-rv2p-09ax-6.0.17.fw.ihex No firmware for bnx2-mips-09-6.2.1b.fw And yet, if you edit /usr/src/linux-3.4.9-gentoo/drivers/net/ethernet/broadcom/bnx2.c, you can read : #define FW_MIPS_FILE_09 "bnx2/bnx2-mips-09-6.2.1b.fw" instead of #define FW_MIPS_FILE_09 "bnx2/bnx2-mips-09-6.2.1a.fw" I applied the patch recommendation of Kerin Millar by modifying this line and it works for me. But it's very dangerous to keep this king of bug in multiple stable version of gentoo-source. We can easily loose control of remote server. Please, can you fix that in next gentoo-source releases ? |