[Bug 836220] New: WiFi dies and kernel oopses.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c0 Summary: WiFi dies and kernel oopses. Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: i586 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: carlos.e.r@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=553804) --> (http://bugzilla.novell.com/attachment.cgi?id=553804) messages log Pentium IV Laptop, oS 12.3 32 bits. Text mode. System fully patched. While doing largish downloads, the wifi dies and kernel dumps call traces, several times. Attached goes the message log of one session, from boot to halt. When this happens, halt is problematic, but not logged: systemd baulks because /var/lock is busy and will not umount. System does not power off. Halt works if there has been no network crash. Info: AmonLanc:~/Bugzilla # hwinfo --netcard 23: PCI 10c.0: 0200 Ethernet controller [Created at pci.319] Unique ID: rBUF.3ZQ1cNlR6F7 Parent ID: 6NW+.ccU5FZC1tz2 SysFS ID: /devices/pci0000:00/0000:00:1e.0/0000:01:0c.0 SysFS BusID: 0000:01:0c.0 Hardware Class: network Model: "National DP83815 (MacPhyter) Ethernet Controller" Vendor: pci 0x100b "National Semiconductor Corporation" Device: pci 0x0020 "DP83815 (MacPhyter) Ethernet Controller" SubVendor: pci 0x1584 "Uniwill Computer Corp" SubDevice: pci 0x9011 Driver: "natsemi" Driver Modules: "natsemi" Device File: eth0 I/O Ports: 0xc800-0xc8ff (rw) Memory Range: 0xdfdfe000-0xdfdfefff (rw,non-prefetchable) Memory Range: 0xdfde0000-0xdfdeffff (ro,non-prefetchable,disabled) IRQ: 17 (6 events) HW Address: 00:03:0d:05:17:fc Link detected: no Module Alias: "pci:v0000100Bd00000020sv00001584sd00009011bc02sc00i00" Driver Info #0: Driver Status: natsemi is active Driver Activation Cmd: "modprobe natsemi" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #15 (PCI bridge) 39: USB 00.0: 0282 WLAN controller [Created at usb.122] Unique ID: Uc5H.KDHpt7NkXbE Parent ID: k4bc.9T1GDCLyFd9 SysFS ID: /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0 SysFS BusID: 1-4:1.0 Hardware Class: network Model: "ASUSTek ASUS EZ N Network Adapter" <======================= Hotplug: USB Vendor: usb 0x0b05 "ASUSTek Computer, Inc." Device: usb 0x1786 "ASUS EZ N Network Adapter" Revision: "2.00" Serial ID: "00e04c000001" Driver: "r8712u" Driver Modules: "r8712u" Device File: wlan0 Features: WLAN Speed: 480 Mbps HW Address: 08:60:6e:63:f6:3c Link detected: yes WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484 WLAN bitrates: 1 2 5.5 11 WLAN encryption modes: TKIP CCMP WLAN authentication modes: open wpa-psk wpa-eap Module Alias: "usb:v0B05p1786d0200dc00dsc00dp00icFFiscFFipFFin00" Driver Info #0: Driver Status: r8712u is active Driver Activation Cmd: "modprobe r8712u" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #38 (Hub) AmonLanc:~/Bugzilla # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c1 --- Comment #1 from Jeff Mahoney <jeffm@suse.com> 2013-08-28 11:03:14 EDT --- Yup. This is a Crap (tainted C) driver earning that distinction. r8712_init_drv_sw calls _r8712_init_sta_priv, which does an order-4 allocation and fails, returning error. r8712_init_drv_sw ignores the error and we crash. This driver is of exceptionally poor quality. Even if we detect the allocation failure and return safely, we'll leak memory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c2 --- Comment #2 from Carlos Robinson <carlos.e.r@opensuse.org> 2013-08-29 08:02:24 UTC --- What a pity. The laptop is old, has no wifi of its own. This USB-Wifi dongle is thumbnail size, and cheap (about 10€). And boasted "Linux supported" on the box. Too nice to be true... I hopped not to need a cable to connect that lappy. Oh well... sigh. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c3 --- Comment #3 from Jeff Mahoney <jeffm@suse.com> 2013-08-29 10:14:29 EDT --- Created an attachment (id=554962) --> (http://bugzilla.novell.com/attachment.cgi?id=554962) [PATCHSET] rtl871x allocation refactor This patchset removes most of the higher order allocations from the rtl871x driver so that we have a lower probability of running afoul of the crap error handling. Carlos, are you comfortable testing these as-is or do you need a kernel built? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |jeffm@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c4 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |carlos.e.r@opensuse.org --- Comment #4 from Jeff Mahoney <jeffm@suse.com> 2013-08-29 10:15:20 EDT --- BTW, I'm looking for testing here. I've build-tested these patches but can't do more because I don't have the hardware to actually run it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c5 --- Comment #5 from Carlos Robinson <carlos.e.r@opensuse.org> 2013-08-29 17:49:55 UTC --- (In reply to comment #3)
Carlos, are you comfortable testing these as-is or do you need a kernel built?
Mmmm... I know how to build a kernel (without rpm building), but I'm not sure how to apply the patches. I would need a guide on that part. Besides that, the machine is old, little CPU (P-IV, 32 bits), little RAM (500MiB), little HD (80 GB). At present, the build tools and sources are not installed, but that is a question of time (and hopping they fit into the 12 GiB root partition), then a lonnnng build time as the cpu crawls :-) I would certainly appreciate if you could build the kernel, your facilities are more appropriate than mine this time. If not feasible or inconvenient, I'd need a howto or something to apply the patches. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c6 --- Comment #6 from Jeff Mahoney <jeffm@suse.com> 2013-08-29 14:52:18 EDT --- Ok, a 12.3 kernel with the patches applied should appear here eventually: http://download.opensuse.org/repositories/home:/jeff_mahoney:/test-packages:... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c7 --- Comment #7 from Jeff Mahoney <jeffm@suse.com> 2013-08-29 16:12:25 EDT --- Ok, it finished building but hasn't published yet. If you're looking to get it sooner, you can use 'osc getbinaries home:jeff_mahoney:test-packages:bnc836220 kernel-default standard x86_64' to grab the packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c8 --- Comment #8 from Carlos Robinson <carlos.e.r@opensuse.org> 2013-08-29 22:59:49 UTC --- Thanks, I'll wait, I don't have 'osc'. I see "kernel-syms-3.11.rc7-5.1.g7032523.i586.rpm", I assume the kernel itself will get there later. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c9 --- Comment #9 from Carlos Robinson <carlos.e.r@opensuse.org> 2013-08-30 15:52:32 UTC --- Something is wrong. I added your test repo in yast, and I installed kernel-default-3.11.rc7-6.1.g7032523.i586.rpm. I rebooted, to runlevel 3. I typed init 5, as usual, but it does not succeed. I only get a mouse in black screen. So I tried to use yast in text mode instead. The network configuration module hangs at "read driver configuration", it stalls. CPU usage is zero. I need to configure network in order to disable eth0 and enable wlan0 instead. I notice that my normal kernel is 3.7.10, whereas yours is 3.11. Are you sure that's ok? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c10 --- Comment #10 from Jeff Mahoney <jeffm@suse.com> 2013-09-26 17:51:13 EDT --- No. There'll be a new kernel based on 3.7 pushed shortly. BTW, I didn't end up seeing this until just now while looking through my bug queue because the NEEDINFO flag was still set. I'll leave it set again for feedback. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c11 --- Comment #11 from Carlos Robinson <carlos.e.r@opensuse.org> 2014-01-08 16:45:55 UTC --- OOPS! Sorry, I did not see your comment either. Sigh... I'll try this soon, time permitting. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=836220 https://bugzilla.novell.com/show_bug.cgi?id=836220#c12 Carlos Robinson <carlos.e.r@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|carlos.e.r@opensuse.org | --- Comment #12 from Carlos Robinson <carlos.e.r@opensuse.org> 2014-01-08 19:34:04 UTC --- I see kernel-default 3.7.10-1.24.1-586 from openSUSE-12.3-Update.
From your repo I see 3.11.rc7-6.2g7032526-i586, which is the wrong one. I don't see a kernel-default 3.7.x from your repo, but some kernel-devel packages instead, which I don't suppose are the files you mean.
I'm not sure which kernel I should try this :-? I do not see a kernel 3.7 on your repo. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com