Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74620 - baselayout-1.11.8 breaks ipw2200
Summary: baselayout-1.11.8 breaks ipw2200
Status: RESOLVED DUPLICATE of bug 74786
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 05:24 UTC by Harris Landgarten
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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 Harris Landgarten 2004-12-16 05:24:44 UTC
After emerging baselayout-1.11.18 and rebooting, ipw2200 could not load firmware. ie:

Dec 16 07:55:30 ibm-t40 ieee80211_crypt: registered algorithm 'NULL'
Dec 16 07:55:30 ibm-t40 ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 0.15
Dec 16 07:55:30 ibm-t40 ipw2200: Copyright(c) 2003-2004 Intel Corporation
Dec 16 07:55:30 ibm-t40 ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 11 (level, low) -> IRQ 11
Dec 16 07:55:30 ibm-t40 ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
Dec 16 07:55:30 ibm-t40 ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Dec 16 07:55:30 ibm-t40 ipw2200: ipw2200_boot.fw load failed
Dec 16 07:55:30 ibm-t40 ipw2200: Unable to load firmware: 0xFFFFFFFE
Dec 16 07:55:30 ibm-t40 ipw2200: failed to register network device

After booting I tried:

# rmmod ipw2200
# modprobe ipw2200

and got:

Dec 16 08:02:30 ibm-t40 ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 0.15
Dec 16 08:02:30 ibm-t40 ipw2200: Copyright(c) 2003-2004 Intel Corporation
Dec 16 08:02:30 ibm-t40 ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 11 (level, low) -> IRQ 11
Dec 16 08:02:30 ibm-t40 ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
Dec 16 08:02:40 ibm-t40 Unable to handle kernel NULL pointer dereference at virtual address 00000004
Dec 16 08:02:40 ibm-t40 printing eip:
Dec 16 08:02:40 ibm-t40 e0d9e18f
Dec 16 08:02:40 ibm-t40 *pde = 00000000
Dec 16 08:02:40 ibm-t40 Oops: 0000 [#1]
Dec 16 08:02:40 ibm-t40 PREEMPT
Dec 16 08:02:40 ibm-t40 Modules linked in: ipw2200 radeon snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq ohci_hcd firmware_class ieee80211
ieee80211_crypt e1000 radeonfb i2c_algo_bit i2c_core snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd ehci_hcd uhci_hcd intel_agp agpgart evdev usbcore
Dec 16 08:02:40 ibm-t40 CPU:    0
Dec 16 08:02:40 ibm-t40 EIP:    0060:[<e0d9e18f>]    Not tainted VLI
Dec 16 08:02:40 ibm-t40 EFLAGS: 00010246   (2.6.9-gentoo-r6)
Dec 16 08:02:40 ibm-t40 EIP is at firmware_loading_store+0x9f/0xe0 [firmware_class]
Dec 16 08:02:40 ibm-t40 eax: 00000000   ebx: e0d9fc24   ecx: e0d9fc24   edx: 00000001
Dec 16 08:02:40 ibm-t40 esi: d9435a80   edi: d9cc9fac   ebp: d9cc9fac   esp: d9cc9f0c
Dec 16 08:02:40 ibm-t40 ds: 007b   es: 007b   ss: 0068
Dec 16 08:02:40 ibm-t40 Process firmware.agent (pid: 21225, threadinfo=d9cc8000 task=dbc44560)
Dec 16 08:02:40 ibm-t40 Stack: d8e71000 00000000 0000000a d9435480 e0d9fcdc c037be05 d9435480 d8e71000
Dec 16 08:02:40 ibm-t40 00000002 c05283f4 c0197beb d9435488 e0d9fcdc d8e71000 00000002 df2787c0
Dec 16 08:02:40 ibm-t40 dedf67c0 c0197c60 dedf67c0 df2787c0 00000002 dedf67c0 00000000 d8c8b6f4
Dec 16 08:02:40 ibm-t40 Call Trace:
Dec 16 08:02:40 ibm-t40 [<c037be05>] class_device_attr_store+0x35/0x40
Dec 16 08:02:40 ibm-t40 [<c0197beb>] flush_write_buffer+0x3b/0x50
Dec 16 08:02:40 ibm-t40 [<c0197c60>] sysfs_write_file+0x60/0x80
Dec 16 08:02:40 ibm-t40 [<c015d325>] vfs_write+0xe5/0x1b0
Dec 16 08:02:40 ibm-t40 [<c015d4c1>] sys_write+0x51/0x80
Dec 16 08:02:40 ibm-t40 [<c0106249>] sysenter_past_esp+0x52/0x71
Dec 16 08:02:40 ibm-t40 Code: ba 76 48 00 8b 44 24 20 83 c4 0c 5b 5e c3 83 f8 ff 75 ad eb c4 bb 24 fc d9 e0 89 d9 ff 0d 24 fc d9 e0 0f 88 9b 0a 00 00 8b 46 44 <8b> 40 04 89 04 24 e8 46 5a 3b df 8b 46 44 c7 40 04 00 00 00 00
Dec 16 08:02:40 ibm-t40 <3>ipw2200: ipw2200_boot.fw load failed
Dec 16 08:02:40 ibm-t40 ipw2200: Unable to load firmware: 0xFFFFFFFE
Dec 16 08:02:40 ibm-t40 ipw2200: failed to register network device
Dec 16 08:02:40 ibm-t40 ipw2200: probe of 0000:02:02.0 failed with error -5

Downgrading to 1.11.17-r2 fixed the problem


Reproducible: Always
Steps to Reproduce:
1.emerge baselayout-1.11.18 on IBM Thinkpad T40
2.
3.




Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.2.2,dev-lang/python-2.3.4 [2.3.4 (#1, Jun
 9 2004, 08:50:36)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.2, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode
esd f77 fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal
imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl
oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl
slang spell sse ssl svga tcltk tcpd tiff truetype userlocales x86 xml xml2 xmms
xv zlib"
Comment 1 Harris Landgarten 2004-12-16 06:21:52 UTC
Versions sb 1.11.8 and 1.11.7-r2
Comment 2 SpanKY gentoo-dev 2004-12-16 09:08:53 UTC
sounds like kernel bug, not baselayout
Comment 3 Harris Landgarten 2004-12-16 11:09:59 UTC
I upgraded to latest dev-kernel (2.6.9-gentoo-r10). Then emerged baselayout and ipw2200 firmware load failed with -2 (in dmesg). I then emerged =baselayout-1.11.7-r2 and rebooted. Wireless came up normally.

If this is a kernel bug it is one that effects baselayout-1.11.8 and not baselayout-1.11.7-r2. Are you using any new system calls in the new baselayout that could explain this? It seems like alot of network related scripts were changed in 1.11.8 however. Is there any other info I could get you that could be helpful in tracking this down?
Comment 4 Andreas Niess 2004-12-17 01:00:23 UTC
I had the same problem using ipw2100-1.0.2 and baselayout-1.11.8. The error 
messages were the same, i.e.
Dec 16 11:26:04 notebook Unable to handle kernel NULL pointer dereference at virtual address 00000004

After downgrading to 1.11.7-r1 ipw2100 was working again.
Comment 5 Christian Roessner 2004-12-17 08:17:43 UTC
I have the same problems with ipw2100 and prism54. Seems the path /lib/firmware is ignored?

Downgrading to 1.11.7-r2 fixes the problems for me, too.

Testetd with development-sources 2.6.9 and gentoo-dev-sources 2.6.9-r10 with and without preempt.
Comment 6 Stefan Karg 2004-12-17 15:04:29 UTC
do you use udev?

i have the same problems 
ipw2100 faild to load the firmware
after killing the udevd
ipw2100 loads the firmware 

look at bug 74786 

stefan
Comment 7 Georg Müller 2004-12-18 08:39:30 UTC
also breaks prism54 (cardbus pccard)
Problem seems to be firmware upload by hotplug:

When I insert my card for a second time, I get an Oops.
And here it is :

wlan0: islpci_open()
wlan0: resetting device...
wlan0: uploading firmware...
Unable to handle kernel NULL pointer dereference at virtual address 00000004
printing eip:
c02e3a6a
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device prism54 eth1394 ohci1394 ieee1394 snd_ali5451 snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc nvidia usb_storage ohci_hcd usbcore
CPU:    0
EIP:    0060:[<c02e3a6a>]    Tainted: P   VLI
EFLAGS: 00010246   (2.6.9-gentoo-r9)
EIP is at firmware_loading_store+0x9f/0xd9
eax: 00000000   ebx: c04d8264   ecx: c04d8264   edx: 00000001
esi: dedd8800   edi: dd885fac   ebp: dd885fac   esp: dd885f0c
ds: 007b   es: 007b   ss: 0068
Process firmware.agent (pid: 9348, threadinfo=dd885000 task=df00baa0)
Stack: d99c6000 00000000 0000000a dedd8f80 c04d831c c02e152d dedd8f80 d99c6000
00000002 c04d7eb4 c018ec14 dedd8f88 c04d831c d99c6000 00000002 dd4cda80
df469280 c018ec7a df469280 dd4cda80 00000002 df469280 00000000 dd888934
Call Trace:
[<c02e152d>] class_device_attr_store+0x34/0x3d
[<c018ec14>] flush_write_buffer+0x3b/0x47
[<c018ec7a>] sysfs_write_file+0x5a/0x79
[<c01589b9>] vfs_write+0xdc/0x19e
[<c0158b4c>] sys_write+0x51/0x80
[<c0106079>] sysenter_past_esp+0x52/0x71
Code: ba 76 48 00 8b 44 24 20 83 c4 0c 5b 5e c3 83 f8 ff 75 ae eb c4 bb 64 82 4d c0 89 d9 ff 0d 64 82 4d c0 0f 88 52 09 00 00 8b 46 44 <8b> 40 04 89 04 24 e8 62 c0 e6 ff 8b 46 44 c7 40 04 00 00 00 00
<3>prism54: request_firmware() failed for 'isl3890'
wlan0: could not upload firmware ('isl3890')
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2004-12-22 15:55:46 UTC
Marking duplicate. Yes, I know this one was first, but the other one is more active and correctly assigned. A udev developer has also placed a testing request there (Kay Sievers, comment 16), if someone could follow that up it would be appreciated.

*** This bug has been marked as a duplicate of 74786 ***