[Bug 619021] New: Inserting nozomi driven UMTS card causes oops and takes down system
http://bugzilla.novell.com/show_bug.cgi?id=619021 http://bugzilla.novell.com/show_bug.cgi?id=619021#c0 Summary: Inserting nozomi driven UMTS card causes oops and takes down system Classification: openSUSE Product: openSUSE 11.3 Version: RC 1 Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: gp@novell.com QAContact: qa@suse.de Found By: Product Management Blocker: --- How to reproduce: insert Option UMTS card (Novell corporate standard in Germany) into PCMCIA slot, experience oops, and see system freeze within some ten seconds. Alternately, boot with the card in the slot from the beginning, and see the boot process hang. [ 187.308141] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0 [ 187.308197] pci 0000:16:00.0: reg 10: [mem 0x00000000-0x000007ff] [ 187.308305] pci 0000:16:00.0: BAR 0: assigned [mem 0x80000000-0x800007ff] [ 187.308318] pci 0000:16:00.0: BAR 0: set to [mem 0x80000000-0x800007ff] (PCI address [0x80000000-0x800007ff] [ 187.308340] pci 0000:16:00.0: cache line size of 64 is not supported [ 187.314783] Initializing Nozomi driver 2.1d (build date: Jun 28 2010 20:07:17) [ 187.314805] nozomi 0000:16:00.0: Init, new card found [ 187.314811] nozomi 0000:16:00.0: enabling device (0000 -> 0002) [ 187.314820] nozomi 0000:16:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 187.314824] nozomi 0000:16:00.0: Card type is: 2048 [ 187.610781] nozomi 0000:16:00.0: Version of card: 3 [ 187.610897] nozomi 0000:16:00.0: Initialization OK! [ 188.317188] nozomi 0000:16:00.0: Device READY! [ 188.842244] Warning: dev (noz3) tty->count(0) != #fd's(1) in tty_open [ 188.842254] noz: activated 3: ffff8800786cd558 [ 188.842437] Warning: dev (noz2) tty->count(0) != #fd's(1) in tty_open [ 188.842444] noz: activated 2: ffff8800786cd3b8 [ 188.842549] Warning: dev (noz1) tty->count(0) != #fd's(1) in tty_open [ 188.842556] noz: activated 1: ffff8800786cd218 [ 188.842658] Warning: dev (noz0) tty->count(0) != #fd's(1) in tty_open [ 188.842665] noz: activated 0: ffff8800786cd078 [ 188.842787] BUG: unable to handle kernel NULL pointer dereference at 0000000000000130 [ 188.842796] IP: [<ffffffff814a1610>] mutex_lock+0x10/0x40 [ 188.842812] PGD 75025067 PUD 77b62067 PMD 0 [ 188.842821] Oops: 0002 [#1] PREEMPT SMP [ 188.842829] last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/tty/noz0/uevent [ 188.842838] CPU 0 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c1
--- Comment #1 from Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c2
--- Comment #2 from Bastian Nolte
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c3
Bastian Nolte
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c4
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c6
Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c7
Jiri Slaby
I tried a test kernel with your patch, alas the system still freezes. Is it possible there is more than one issue with the nozomi driver at work?
Highly likely. Alan rewrote many parts of the driver without testing them.
(I tried to capture the system log, the one on disk did not have anything this and, but I could try and type off what the system logged to all graphical terminals.)
Yup, it would be helpful. It would be enough to capture it by camera.
Also, if that helps, I could have a card taken to Praha tomorrow.
I'm far away from Praha, it won't help me. Thanks anyway. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c8
Gerald Pfeifer
Highly likely. Alan rewrote many parts of the driver without testing them.
Great. :-( On the positive side, by testing both the original kernel and your patched one I am happy to confirm that your patch in attachment #2 indeed fixes the warnings. Any chance you can push that patch into the stable 2.6.32 kernel and/or our SLE 11 SP1 kernel as well? This card is one of the official Novell cards in Germany, so this will help our internal rollout, too.
Yup, it would be helpful. It would be enough to capture it by camera.
Hah, this time around I managed to get you a nice log. :-) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c
Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c
Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c9
--- Comment #9 from Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c10
Gerald Pfeifer
Created an attachment (id=379151) --> (http://bugzilla.novell.com/attachment.cgi?id=379151) [details] nozomi-set-tty-driver_data.patch
Good news, and bad news. The good news is that the system no longer crashes when I insert the card. The bad news is, that the card does not work, that is, I am not able to establish a connection (which works fine with kernel 2.6.33.6-147 from Fedora 13). Let me attach the relevant part from the log file. What this shows are three connection attempts using NetworkManager. The first one took 20 seconds or so and then failed, whereas subsequent attempts failed right away in less than a second. Anything you can read out of that? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c
Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c11
Jiri Slaby
Let me attach the relevant part from the log file. What this shows are three connection attempts using NetworkManager. The first one took 20 seconds or so and then failed, whereas subsequent attempts failed right away in less than a second. Anything you can read out of that?
Thank, but I don't see anything obvious. Could you retest with the new kernel from labs? It contains some more debug info. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c12
Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c
Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c
Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c14
--- Comment #14 from Li Bin
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c15
Li Bin
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c16
--- Comment #16 from Li Bin
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c17
Jiri Slaby
Again, if you could push the two existing patches in comments #4 and #9 upstream, into the openSUSE 11.3 kernel and into 2.6.32.x and/or our own 2.6.32-based tree that would be great. Thanks!
2.6.32 is not affected. It's now upstream, in 2.6.34 and 2.6.35 stables and in 11.3 repo (.34-based). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619021
http://bugzilla.novell.com/show_bug.cgi?id=619021#c18
Gerald Pfeifer
2.6.32 is not affected. It's now upstream, in 2.6.34 and 2.6.35 stables and in 11.3 repo (.34-based).
Cool, thanks a lot Jiri! Bin Li, based on your recommendation I have filed a new report for item 2 of comment #12, it is Bug #630486 Inserting nozomi driven UMTS card causes oops and takes down system. I cannot always reproduce item 1 in that comment, so let's ignore this for the time being and close this report as fixed. -- Configure bugmail: http://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=619021
https://bugzilla.novell.com/show_bug.cgi?id=619021#c19
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=619021
https://bugzilla.novell.com/show_bug.cgi?id=619021#c20
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=619021
https://bugzilla.novell.com/show_bug.cgi?id=619021#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com