Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111847 - ndiswrapper-1.5 compiles fine, but causes a kernel error after extended usage
Summary: ndiswrapper-1.5 compiles fine, but causes a kernel error after extended usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-08 00:40 UTC by Mike Auty (RETIRED)
Modified: 2006-01-02 06:50 UTC (History)
1 user (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 Mike Auty (RETIRED) gentoo-dev 2005-11-08 00:40:23 UTC
Hi,
  I just emerged the latest ndiswrapper, brought down my interface, rmmoded the
old ndiswrapper, and modprobed the new one and brought the interface back up.  I
checked dmesg and it showed ndiswrapper-1.5 as loaded, and my interface worked
as expected.  I left my machine on overnight, and when I woke up this morning,
the interface wasn't working.  Dmesg showed the following:

ndiswrapper version 1.5 loaded (preempt=yes,smp=yes)
ndiswrapper: driver bcmwl5a (Broadcom,04/09/2004, 3.40.69.0) loaded
ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 16 (level, low) -> IRQ 18
ndiswrapper: using irq 18
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:11:50:08:83:b5 using driver bcmwl5a, 14E4:
4320.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
divide error: 0000 [#1]
PREEMPT SMP
Modules linked in: ndiswrapper usb_storage ipt_state snd_pcm_oss snd_mixer_oss s
nd_seq_oss snd_seq_midi_event snd_seq snd_via82xx snd_ac97_codec snd_ac97_bus sn
d_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd so
undcore wacom bridge cowloop ip_conntrack_ftp ip_conntrack tun nvidia agpgart rt
c pcspkr
CPU:    0
EIP:    0060:[<f9700d72>]    Tainted: P      VLI
EFLAGS: 00010246   (2.6.14)
EIP is at update_wireless_stats+0xe2/0x100 [ndiswrapper]
eax: 00000000   ebx: 00000064   ecx: 00000000   edx: 00000000
esi: f70f3368   edi: c9a33f0c   ebp: 00000202   esp: c9a33e40
ds: 007b   es: 007b   ss: 0068
Process ndiswrapwq (pid: 2507, threadinfo=c9a32000 task=f6aa7570)
Stack: 000000c4 ffffffda 00000068 80000000 00005cd6 00000000 00000000 00000000
       00000000 00000000 00000198 00000000 00000065 00000000 00000000 00000000
       00000000 00000000 000002d8 00000000 00000009 00000000 00000000 00000000
Call Trace:
 [<f9701077>] wrapper_worker_proc+0x2c7/0x3c0 [ndiswrapper]
 [<c0130e7a>] remove_wait_queue+0x1a/0x50
 [<c012c924>] worker_thread+0x1b4/0x240
 [<f9700db0>] wrapper_worker_proc+0x0/0x3c0 [ndiswrapper]
 [<c0118260>] default_wake_function+0x0/0x10
 [<c0118260>] default_wake_function+0x0/0x10
 [<c012c770>] worker_thread+0x0/0x240
 [<c0130b14>] kthread+0xa4/0xe0
 [<c0130a70>] kthread+0x0/0xe0
 [<c0101145>] kernel_thread_helper+0x5/0x10
Code: 89 46 18 8b 54 24 0c 85 d2 74 31 8b 44 24 1c 8d 04 40 8d 04 48 b9 06 00 00
 00 0f af d1 01 d8 bb 64 00 00 00 0f af c3 89 d1 31 d2 <f7> f1 ba 64 00 00 00 28
 c2 88 56 02 e9 42 ff ff ff c6 46 02 64


I realise this has been unmasked so that people can use ndiswrapper with the
2.6.14 kernel, however, I've submitted a patch for ndiswrapper-1.2 which I've
been using since the 2.6.14_rc1 kernel came out and my connection has been rock
solid.  It's available in Bug #111029.

I would recommend people test that, and remask ndiswrapper-1.5 again until the
ndiswrapper team get all the bugs out that they introduced in 1.3 (it must be
said, ndiswrapper-1.4 used to lock my kernel, so 1.5 is a big improvement).


Reproducible: Didn't try
Steps to Reproduce:
1.  Emerge ndiswrapper-1.5
2.  Leave it for a while, with mild network traffic
3.

Actual Results:  
Network interface failed, dmesg error was seen.

Expected Results:  
No error should occur, network interface should stay up.

Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14
i686)
=================================================================
System uname: 2.6.14 i686 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
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-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect cvs distlocks sandbox sfperms
strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 100dpi 3dnow 75dpi X aac aalib acl acpi adns alsa animation ao
audiofile avi bash-completion berkdb bitmap-fonts boundschecking cairo ccache
cdr cjk client crypt cups dbus djvu dlloader dpms dri dvd dvdr dvi eds emboss
encode ffmpeg flac foomaticdb fortran gd gdbm gif glade glitz gnome gnutls
graphviz gstreamer gtk gtk2 gtkhtml hal hardened imagemagick imap imlib java
jpeg junit ldap libg++ libwww mad maildir mbox mikmod mime mmx mmxext motif
mozilla mozsvg mp3 mpeg ncurses nls nntp nptl nptlonly nvidia ogg oggvorbis
opengl pam pdflib perl pic pie plot png pop3 postgres python quicktime readline
real sdl server snmp spell sqlite sse sse2 ssl svg svga t1lib tcpd theora tiff
truetype truetype-fonts type1 type1-fonts udev unicode usb v4l v4l2 vorbis
win32codecs xine xml2 xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-12-28 06:40:55 UTC
I just added ndiswrapper-1.7. Please test using that.
Comment 2 Henrik Brix Andersen 2006-01-02 06:45:12 UTC
Marking as NEEDINFO.
Comment 3 Mike Auty (RETIRED) gentoo-dev 2006-01-02 06:49:30 UTC
Sorry, I completely forgot to get back to this.  ndiswrapper 1.7 seems to be working fine, however I am now on 2.6.15_rc7 so it may just be a particular kernel version that was having difficulty.  This can now be marked as FIXED.
Comment 4 Mike Auty (RETIRED) gentoo-dev 2006-01-02 06:50:04 UTC
This no longer seems to be a problem for me, so I'm gonna mark it fixed.