Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289808 - Kernel doesn't load firmware for e100 Intel card.
Summary: Kernel doesn't load firmware for e100 Intel card.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 20:18 UTC by David M. Sanderson
Modified: 2009-10-29 13:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David M. Sanderson 2009-10-19 20:18:16 UTC
Firmware not loading:

e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
e100 0000:00:04.0: PME# disabled
e100: eth0: e100_probe: addr 0xfeafe000, irq 20, MAC addr 00:e0:81:05:3f:4d
e100 0000:00:05.0: PME# disabled
e100: eth1: e100_probe: addr 0xfeafd000, irq 21, MAC addr 00:e0:81:05:3f:4e
e100: eth0: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22
e100: eth0: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22
e100: eth0: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22
e100: eth0: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22
e100: eth0: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22
e100: eth_mon: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22
e100: eth_mon: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22
e100: eth_mon: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22
e100: eth_mon: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22
e100: eth_mon: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -22

Kernel was configured:

Note: used make oldconfig from linux-2.6.27-gentoo-r8 config

CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FIRMWARE_EDID=y
CONFIG_FIRMWARE_MEMMAP=y

Driver configured:

/usr/src/linux $ grep -i e100 .config 
CONFIG_E100=y

Copied firmware to /lib/firmware (modules_install did not do this)

ls -al /lib/firmware/e100
total 68
drwxr-xr-x  2 root root 4096 Oct 15 14:37 ./
drwxr-xr-x 18 root root 4096 Oct 19 14:18 ../
-rw-r--r--  1 root root  637 Oct 19 14:20 .d101m_ucode.bin.gen.o.cmd
-rw-r--r--  1 root root  637 Oct 19 14:20 .d101s_ucode.bin.gen.o.cmd
-rw-r--r--  1 root root  637 Oct 19 14:20 .d102e_ucode.bin.gen.o.cmd
-rw-r--r--  1 root root  539 Oct 19 14:20 d101m_ucode.bin
-rw-r--r--  1 root root  461 Oct 19 14:20 d101m_ucode.bin.gen.S
-rw-r--r--  1 root root 1392 Oct 19 14:20 d101m_ucode.bin.gen.o
-rw-r--r--  1 root root 1675 Oct 19 14:20 d101m_ucode.bin.ihex
-rw-r--r--  1 root root  539 Oct 19 14:20 d101s_ucode.bin
-rw-r--r--  1 root root  461 Oct 19 14:20 d101s_ucode.bin.gen.S
-rw-r--r--  1 root root 1392 Oct 19 14:20 d101s_ucode.bin.gen.o
-rw-r--r--  1 root root 1675 Oct 19 14:20 d101s_ucode.bin.ihex
-rw-r--r--  1 root root  539 Oct 19 14:20 d102e_ucode.bin
-rw-r--r--  1 root root  461 Oct 19 14:20 d102e_ucode.bin.gen.S
-rw-r--r--  1 root root 1392 Oct 19 14:20 d102e_ucode.bin.gen.o
-rw-r--r--  1 root root 1675 Oct 19 14:20 d102e_ucode.bin.ihex

 
I probably missed something.



Reproducible: Always




emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r7-i686-Pentium_III_-Coppermine-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 19 Oct 2009 12:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/xorg.conf /etc/conf.d/gpm.conf /etc/conf.d/ntp-client /etc/domainname /etc/hostname /etc/ntp.conf /etc/
rc.conf /etc/ssh/sshd_config /etc/xinetd.conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/
sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 -
-exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd apache2 apm arts audiofile automount avi berkdb bitmap-fonts bluetooth branding bzip2 cairo cd
r chroot cli consolekit cracklib crypt ctype cups dba dbus dri dts dvd dvdr eds emboss encode esd ethereal evo exif expat fam fastbui
ld firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv i
dn imlib ipv6 isdnlog jpeg kde lcms ldap libg++ libnotify libwww logrotate mad memlimit mikmod mng modules motif mozilla mp3 mp4 mpeg
 mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf pdflib perl png posix ppds pppd python qt qt3 qt3support qt4 qu
icktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl startup-notification svg sysfs tcltk tcpd th
reads thunar tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs x264 x86 xinetd xml xml2 xmms xor
g xsl xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es
1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw 
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate r
oute share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file
 authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_c
ache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiat
ion proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alia
s" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 m
txorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga
 via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 David M. Sanderson 2009-10-20 14:13:31 UTC
~ $ lspci
00:00.0 Host bridge: Broadcom CNB20LE Host Bridge (rev 06)
00:00.1 Host bridge: Broadcom CNB20LE Host Bridge (rev 06)
00:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:04.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 08)
00:05.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 08)
00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 50)
00:0f.1 IDE interface: Broadcom OSB4 IDE Controller
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04)
01:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
01:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)


I have another system that is working:

dmesg | grep e100
pci 0000:01:08.0: Firmware left e100 interrupts enabled; disabling
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
e100 0000:01:08.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
e100 0000:01:08.0: PME# disabled
e100: eth1: e100_probe: addr 0xfe5fe000, irq 20, MAC addr 00:0f:fe:18:d3:42
e100: eth1 NIC Link is Up 100 Mbps Full Duplex
dsanders@pc10300
~ $ egrep -i firmware /boot/config
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FIRMWARE_EDID=y
# Firmware Drivers
CONFIG_FIRMWARE_MEMMAP=y
dsanders@pc10300
~ $ egrep -i e100 /boot/config
CONFIG_E100=y
CONFIG_E1000=m
# CONFIG_E1000E is not set
dsanders@pc10300
~ $ ls /lib/firmware/
3com/  acenic/  adaptec/  bnx2/  cxgb3/  dabusb/  ess/  korg/  qlogic/  tigon/  yamaha/
dsanders@pc10300
~ $ lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
01:01.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
Comment 2 David M. Sanderson 2009-10-22 19:16:13 UTC
Doesn't look like anyone is supporting Gentoo.  I will rebuild the system with Ubuntu then.
Comment 3 Wormo (RETIRED) gentoo-dev 2009-10-28 06:31:41 UTC
Sorry it took a while to respond; it was a busy week due to moving offices. Are you still interested in debugging this problem, or have you worked around it by installing something else?
Comment 4 David M. Sanderson 2009-10-28 11:35:45 UTC
I haven't had time to rebuild the system.  The driver works on linux-2.6.27-gentoo-r8 but I have the firmware issue when booting linux-2.6.30-gentoo-r7.  The .config from linux-2.6.27-gentoo-r8 was used to build linux-2.6.30-gentoo-r7 after doing the make oldconfig.
Comment 5 Wormo (RETIRED) gentoo-dev 2009-10-29 06:06:34 UTC
Ok, please post your .config for both the broken system and the working system. One thing to check for is CONFIG_FW_LOADER=y, in case you've got the same problem as in this LKML thread:
http://lkml.indiana.edu/hypermail/linux/kernel/0902.0/01535.html
Comment 6 David M. Sanderson 2009-10-29 13:16:29 UTC
That was the problem. CONFIG_FW_LOADER was set to module.  Changed it to CONFIG_FW_LOADER=y and rebuilt the kernel.  Everything is working now.  Thanks for the help.