Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118327 - net-wireless/ieee80211-1.1.7 triggers "kernel bug"
Summary: net-wireless/ieee80211-1.1.7 triggers "kernel bug"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Highest critical
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-08 14:05 UTC by Eric Johnson
Modified: 2006-01-11 15:14 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 Eric Johnson 2006-01-08 14:05:26 UTC
I'm using the ipw2100 package, coupled with ieee80211.  When I upgraded to ieee80211-1.1.7, badness ensued when I ran wpa_supplicant.  Downgrading to ieee80211-1.1.6, and re-emerging ipw2100, and everything works.

The following shows some of the output from dmesg.

------------[ cut here ]------------
kernel BUG at /var/tmp/portage/ieee80211-1.1.7/work/ieee80211-1.1.7/ieee80211_geo.c:81!
invalid operand: 0000 [#1]
PREEMPT
Modules linked in: radeon drm snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device rtc ipw2100 ieee80211 ieee80211_crypt firmware_class e1000 radeonfb i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect i2c_core softcursor snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd snd_page_alloc ehci_hcd uhci_hcd intel_agp agpgart ntfs nvram
CPU:    0
EIP:    0060:[<f8c9d638>]    Not tainted VLI
EFLAGS: 00210046   (2.6.14-gentoo-r5)
EIP is at ieee80211_channel_to_index+0x68/0x80 [ieee80211]
eax: 00000001   ebx: 00000001   ecx: f6eaa240   edx: f70e0000
esi: f6eaa240   edi: eec82119   ebp: ee461e5c   esp: ee461c70
ds: 007b   es: 007b   ss: 0068
Process wpa_supplicant (pid: 9293, threadinfo=ee460000 task=eee845a0)
Stack: 00000001 f6eaa240 f8c9d7c3 f6eaa240 00000001 00000040 ee461e4c f8c9be58
       f6eaa240 00000001 f8c9e401 00000074 f8c9e3e0 eee845a0 c012e3f0 ee461cac
       ee461cac ee461db4 00000001 f7f8e414 f70e0085 f6eaa81c eec8206b 6c3ad9a0
Call Trace:
 [<f8c9d7c3>] ieee80211_get_channel_flags+0x23/0x60 [ieee80211]
 [<f8c9be58>] ieee80211_wx_get_scan+0x898/0xd70 [ieee80211]
 [<c012e3f0>] autoremove_wake_function+0x0/0x60
 [<c0114f48>] __wake_up_common+0x38/0x70
 [<c024c36f>] n_tty_receive_buf+0x23f/0x1100
 [<c013f565>] prep_new_page+0x45/0x70
 [<c0339e6e>] wireless_process_ioctl+0x5ee/0x830
 [<f9d73b80>] ipw2100_wx_get_scan+0x0/0x20 [ipw2100]
 [<c032ca55>] dev_load+0x25/0x70
 [<c032e83b>] dev_ioctl+0x11b/0x330
 [<c0323184>] sock_ioctl+0xd4/0x250
 [<c0170cee>] do_ioctl+0x9e/0xb0
 [<c039d759>] do_page_fault+0x1b9/0x61d
 [<c0170eb5>] vfs_ioctl+0x65/0x200
 [<c0171095>] sys_ioctl+0x45/0x70
 [<c0103165>] syscall_call+0x7/0xb
Code: 7f f2 83 e6 02 74 1c 0f b6 91 49 01 00 00 31 c0 83 fa 00 eb 0c 38 9c c1 c0 01 00 00 74 0a 40 39 c2 7f f2 b8 ff ff ff ff 5b 5e c3 <0f> 0b 51 00 8c f6 c9 f8 eb a3 8d b4 26 00 00 00 00 8d bc 27 00
 <6>note: wpa_supplicant[9293] exited with preempt_count 1
scheduling while atomic: wpa_supplicant/0x00000001/9293
 [<c039bd7f>] schedule+0x59f/0x680
 [<c039bfc8>] wait_for_completion+0x78/0xd0
 [<c0114ef0>] default_wake_function+0x0/0x20
 [<c0114ef0>] default_wake_function+0x0/0x20
 [<c012a9df>] synchronize_rcu+0x2f/0x40
 [<c012a9a0>] wakeme_after_rcu+0x0/0x10
 [<c032c0bf>] dev_remove_pack+0xf/0x20
 [<c037cec0>] packet_release+0xe0/0x130
 [<c0322899>] sock_release+0x99/0xf0
 [<c03233c1>] sock_close+0x31/0x50
 [<c015d5ef>] __fput+0x14f/0x190
 [<c015b986>] filp_close+0x46/0x90
 [<c011a386>] put_files_struct+0x66/0xa0
 [<c011b0dd>] do_exit+0xfd/0x420
 [<c0103d70>] do_invalid_op+0x0/0xb0
 [<c0103b0e>] die+0x17e/0x180
 [<c0103e16>] do_invalid_op+0xa6/0xb0
 [<f8c9d638>] ieee80211_channel_to_index+0x68/0x80 [ieee80211]
 [<c0313136>] usb_try_string_workarounds+0x16/0x60
 [<c010338f>] error_code+0x4f/0x54
 [<c023007b>] crypto_init_cipher_ops+0xfb/0x140
 [<f8c9d638>] ieee80211_channel_to_index+0x68/0x80 [ieee80211]
 [<f8c9d7c3>] ieee80211_get_channel_flags+0x23/0x60 [ieee80211]
 [<f8c9be58>] ieee80211_wx_get_scan+0x898/0xd70 [ieee80211]
 [<c012e3f0>] autoremove_wake_function+0x0/0x60
 [<c0114f48>] __wake_up_common+0x38/0x70
 [<c024c36f>] n_tty_receive_buf+0x23f/0x1100
 [<c013f565>] prep_new_page+0x45/0x70
 [<c0339e6e>] wireless_process_ioctl+0x5ee/0x830
 [<f9d73b80>] ipw2100_wx_get_scan+0x0/0x20 [ipw2100]
 [<c032ca55>] dev_load+0x25/0x70
 [<c032e83b>] dev_ioctl+0x11b/0x330
 [<c0323184>] sock_ioctl+0xd4/0x250
 [<c0170cee>] do_ioctl+0x9e/0xb0
 [<c039d759>] do_page_fault+0x1b9/0x61d
 [<c0170eb5>] vfs_ioctl+0x65/0x200
 [<c0171095>] sys_ioctl+0x45/0x70
 [<c0103165>] syscall_call+0x7/0xb

emerge --info gives:
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd emboss encode esd exif expat fam ffmpeg foomaticdb gd gdbm gif glut gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 java jpeg junit kde lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png ppds python qt quicktime readline samba sdl spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Henrik Brix Andersen 2006-01-09 03:29:19 UTC
Reporter, please try with the newly added ipw2100-1.1.4 and ieee80211-1.1.8.
Comment 2 Eric Johnson 2006-01-11 14:46:02 UTC
Version 1.1.8 does not trigger a kernel bug.  I've not had a chance to connect to a wireless network to verify that the encryption stuff works, but the code no longer crashes!
Comment 3 Henrik Brix Andersen 2006-01-11 15:13:50 UTC
Reopening.
Comment 4 Henrik Brix Andersen 2006-01-11 15:14:37 UTC
Fixed.