Kernel: 2.6.35.7 Linux: Ubuntu 9.04 Hardware: Sheeva Plug + External Hub + USB Internet Key Onda MT503HSA The USB Internet key creates 4 ttyUSB ports ttyUSB1, ttyUSB2, ttyUSB3, ttyUSB4 /dev/ttyUSB2 is the control port (which accepts AT commands) My app launches a shell script that starts pppd ppdd call /dev/ttyUSB2 mypeer ***SOMETIMES*** the kernel hangs with the following dump on the terminal: Unable to handle kernel NULL pointer dereference at virtual address 000000ec pgd = c0004000 [000000ec] *pgd=00000000 Internal error: Oops: 17 [#1] PREEMPT last sysfs file: /sys/module/ppp_generic/initstate Modules linked in: ppp_deflate bsd_comp ppp_async ppp_generic slhc ipv6 dm_crypt dm_mod option usb_wwan ftdi_sio hmac usbserial sha1_generic mv_cesa CPU: 0 Not tainted (2.6.35.7 #5) PC is at tty_buffer_request_room+0x20/0x148 LR is at tty_buffer_request_room+0x20/0x148 pc : [<c0230700>] lr : [<c0230700>] psr: 80000093 sp : dfc47d48 ip : c0428480 fp : df78d380 r10: 80000093 r9 : 00000000 r8 : df765000 r7 : 00000000 r6 : 0000000e r5 : 00000000 r4 : 00000000 r3 : dfc46000 r2 : 00000000 r1 : 00010002 r0 : 00000003 Flags: Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 0005397f Table: 1f7b4000 DAC: 00000017 Process events/0 (pid: 5, stack limit = 0xdfc46270) Stack: (0xdfc47d48 to 0xdfc48000) 7d40: 0000000e df765000 00000000 deca7800 00000000 df765000 7d60: 0000000e c0230990 df5c8980 00000000 deca7800 00000000 df765000 ffc004e0 7d80: df4f64fc bf03e890 df5c8980 df4f6400 df5c8980 00000000 df4f6400 8ff28d00 7da0: df5c8280 c02b84c4 df5c8980 00000000 df4f6400 c02c7078 ffc010c0 ffc01a80 7dc0: ffffff8d c02c7148 00000001 00000001 df78d38c 00000003 ffc01b18 ffc015a0 7de0: 00000021 df78d380 df4f64fc 00000000 0000c0a9 00010039 dfc46000 dee5d780 7e00: dfc47f0c c02c860c df4f64fc df4f6400 00000021 c02cb19c c04171e4 df4f6400 7e20: 40000093 00000000 00000013 00000001 dfc46000 dee5d780 dfc47f0c c02b7eb0 7e40: 00000000 df47fa80 00000000 c006b310 00000000 c052a73c 00000013 df47fa80 7e60: 00000002 c006d568 00000013 00000000 0000000c c002b06c 30000013 ffffffff 7e80: fee20200 c03e7988 1edb0000 00000c00 c03e593c c0000000 dfc36d80 dfc46000 7ea0: df5ba300 c02b9cc0 dfd9c000 00000000 dee5d780 dfc47f0c 40000c00 dfc47ed0 7ec0: c0033ee8 c0033bf0 30000013 ffffffff 35344034 00000289 3534e890 00000289 7ee0: 0000a85c 00000000 00000007 df5c8500 dfc47f14 dfc36d80 df5c8508 dfc46000 7f00: 00000000 00000000 00000001 c02b9cc0 00000000 00000000 dfc36d80 c00532cc 7f20: c0542fe8 c0542fe8 dfc47f54 df7d76c0 00000004 df658a80 00000000 bf03e9d0 7f40: deca7804 deca7834 40000013 bf00902c bf00c9c4 c0230bec df7b250c df7b2400 7f60: 40000013 c02292e4 60000093 00000000 dfc005c0 dfc005c0 dfc46000 dfc005c8 7f80: c0228f2c df7b2510 00000000 df7b250c 00000000 c004fb6c dfc39f6c 00000000 7fa0: dfc36d80 c00532cc dfc47fa8 dfc47fa8 dfc47fd4 dfc39f60 dfc47fd4 c004f9ec 7fc0: dfc005c0 00000000 00000000 c0052f98 00000000 00000000 dfc47fd8 dfc47fd8 7fe0: 00000000 dfc39f60 c0052f20 c002c3f0 00000013 c002c3f0 84428434 961219db [<c0230700>] (tty_buffer_request_room+0x20/0x148) from [<c0230990>] (tty_insert_flip_string_fixed_flag+0x2c/0x8c) [<c0230990>] (tty_insert_flip_string_fixed_flag+0x2c/0x8c) from [<bf03e890>] (usb_wwan_indat_callback+0x9c/0x13c [usb_wwan]) [<bf03e890>] (usb_wwan_indat_callback+0x9c/0x13c [usb_wwan]) from [<c02b84c4>] (usb_hcd_giveback_urb+0x70/0xbc) [<c02b84c4>] (usb_hcd_giveback_urb+0x70/0xbc) from [<c02c7078>] (ehci_urb_done+0xa8/0xb4) [<c02c7078>] (ehci_urb_done+0xa8/0xb4) from [<c02c7148>] (qh_completions+0xc4/0x42c) [<c02c7148>] (qh_completions+0xc4/0x42c) from [<c02c860c>] (end_unlink_async+0x5c/0xec) [<c02c860c>] (end_unlink_async+0x5c/0xec) from [<c02cb19c>] (ehci_irq+0x90/0x1f8) [<c02cb19c>] (ehci_irq+0x90/0x1f8) from [<c02b7eb0>] (usb_hcd_irq+0x3c/0x98) [<c02b7eb0>] (usb_hcd_irq+0x3c/0x98) from [<c006b310>] (handle_IRQ_event+0x24/0xf4) [<c006b310>] (handle_IRQ_event+0x24/0xf4) from [<c006d568>] (handle_level_irq+0xd4/0x16c) [<c006d568>] (handle_level_irq+0xd4/0x16c) from [<c002b06c>] (asm_do_IRQ+0x6c/0x8c) [<c002b06c>] (asm_do_IRQ+0x6c/0x8c) from [<c03e7988>] (__irq_svc+0x48/0xa8) Exception stack(0xdfc47e88 to 0xdfc47ed0) 7e80: 1edb0000 00000c00 c03e593c c0000000 dfc36d80 dfc46000 7ea0: df5ba300 c02b9cc0 dfd9c000 00000000 dee5d780 dfc47f0c 40000c00 dfc47ed0 7ec0: c0033ee8 c0033bf0 30000013 ffffffff [<c03e7988>] (__irq_svc+0x48/0xa8) from [<c0033bf0>] (__flush_whole_cache+0xc/0x3c) [<c0033bf0>] (__flush_whole_cache+0xc/0x3c) from [<df5c8500>] (0xdf5c8500) Code: e38a3080 e121f003 e3a00001 eb06e4bc (e59450ec) ---[ end trace 69ff1a7d6bd874eb ]--- Kernel panic - not syncing: Fatal exception in interrupt [<c00304fc>] (unwind_backtrace+0x0/0xec) from [<c03e5390>] (panic+0x5c/0xe4) [<c03e5390>] (panic+0x5c/0xe4) from [<c002ed1c>] (die+0x1b0/0x1f0) [<c002ed1c>] (die+0x1b0/0x1f0) from [<c0031234>] (__do_kernel_fault+0x64/0x84) [<c0031234>] (__do_kernel_fault+0x64/0x84) from [<c03e9874>] (do_page_fault+0x304/0x328) [<c03e9874>] (do_page_fault+0x304/0x328) from [<c002b2f8>] (do_DataAbort+0x34/0x94) [<c002b2f8>] (do_DataAbort+0x34/0x94) from [<c03e792c>] (__dabt_svc+0x4c/0x60) Exception stack(0xdfc47d00 to 0xdfc47d48) 7d00: 00000003 00010002 00000000 dfc46000 00000000 00000000 0000000e 00000000 7d20: df765000 00000000 80000093 df78d380 c0428480 dfc47d48 c0230700 c0230700 7d40: 80000093 ffffffff [<c03e792c>] (__dabt_svc+0x4c/0x60) from [<c0230700>] (tty_buffer_request_room+0x20/0x148) [<c0230700>] (tty_buffer_request_room+0x20/0x148) from [<c0230990>] (tty_insert_flip_string_fixed_flag+0x2c/0x8c) [<c0230990>] (tty_insert_flip_string_fixed_flag+0x2c/0x8c) from [<bf03e890>] (usb_wwan_indat_callback+0x9c/0x13c [usb_wwan]) [<bf03e890>] (usb_wwan_indat_callback+0x9c/0x13c [usb_wwan]) from [<c02b84c4>] (usb_hcd_giveback_urb+0x70/0xbc) [<c02b84c4>] (usb_hcd_giveback_urb+0x70/0xbc) from [<c02c7078>] (ehci_urb_done+0xa8/0xb4) [<c02c7078>] (ehci_urb_done+0xa8/0xb4) from [<c02c7148>] (qh_completions+0xc4/0x42c) [<c02c7148>] (qh_completions+0xc4/0x42c) from [<c02c860c>] (end_unlink_async+0x5c/0xec) [<c02c860c>] (end_unlink_async+0x5c/0xec) from [<c02cb19c>] (ehci_irq+0x90/0x1f8) [<c02cb19c>] (ehci_irq+0x90/0x1f8) from [<c02b7eb0>] (usb_hcd_irq+0x3c/0x98) [<c02b7eb0>] (usb_hcd_irq+0x3c/0x98) from [<c006b310>] (handle_IRQ_event+0x24/0xf4) [<c006b310>] (handle_IRQ_event+0x24/0xf4) from [<c006d568>] (handle_level_irq+0xd4/0x16c) [<c006d568>] (handle_level_irq+0xd4/0x16c) from [<c002b06c>] (asm_do_IRQ+0x6c/0x8c) [<c002b06c>] (asm_do_IRQ+0x6c/0x8c) from [<c03e7988>] (__irq_svc+0x48/0xa8) Exception stack(0xdfc47e88 to 0xdfc47ed0) 7e80: 1edb0000 00000c00 c03e593c c0000000 dfc36d80 dfc46000 7ea0: df5ba300 c02b9cc0 dfd9c000 00000000 dee5d780 dfc47f0c 40000c00 dfc47ed0 7ec0: c0033ee8 c0033bf0 30000013 ffffffff [<c03e7988>] (__irq_svc+0x48/0xa8) from [<c0033bf0>] (__flush_whole_cache+0xc/0x3c) [<c0033bf0>] (__flush_whole_cache+0xc/0x3c) from [<df5c8500>] (0xdf5c8500) I don't really know where the bug is (and I don't really know if this is a kernel or module bug) ... however I hope this will help you to fix it. If you need more details let me know. Thank you in advance, Vor
Should be fixed in modern kernels, if not re-open