Crash in at_gprs_context_remove()
Hi,
I was testing my huawei disconnect patch on top of commit ca41d63a305c. Basically I was just connecting and disconnecting in a row from connman and ofono crashed:
Entering new phase: 0
ofonod[2365]: drivers/atmodem/gprs-context.c:ppp_disconnect() ofonod[2365]: Pcui:< \r\n^BOOT:38645652,0,0,0,87\r\n ofonod[2365]: Modem:> AT+CGDCONT=1,"IP","internet"\r ofonod[2365]: plugins/huawei.c:huawei_disconnect() ofonod[2365]: src/gprs.c:gprs_context_remove() atom: 0x6e4460 ofonod[2365]: drivers/atmodem/gprs-context.c:at_gprs_context_remove()
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff790b642 in IA__g_atomic_int_exchange_and_add (atomic=0x0, val=-1)
at /build/buildd/glib2.0-2.25.8/glib/gatomic-gcc.c:30
30 /build/buildd/glib2.0-2.25.8/glib/gatomic-gcc.c: No such file or directory.
in /build/buildd/glib2.0-2.25.8/glib/gatomic-gcc.c(gdb)
(gdb) bt
#0 0x00007ffff790b642 in IA__g_atomic_int_exchange_and_add (atomic=0x0,
val=-1) at /build/buildd/glib2.0-2.25.8/glib/gatomic-gcc.c:30
#1 0x00000000004325a3 in g_at_ppp_unref (ppp=0x0) at gatchat/gatppp.c:448 #2 0x0000000000448e12 in at_gprs_context_remove (gc=0x6e2f50)
at drivers/atmodem/gprs-context.c:260
#3 0x00000000004923c9 in gprs_context_remove (atom=0x6e4460)
at src/gprs.c:1418
#4 0x000000000045eacd in __ofono_atom_free (atom=0x6e4460) at src/modem.c:319
#5 0x00000000004924e8 in ofono_gprs_context_remove (gc=0x6e2f50)
at src/gprs.c:1459
#6 0x0000000000457b4d in huawei_disconnect (user_data=0x6ee010)
at plugins/huawei.c:233#7 0x0000000000427369 in io_disconnect (user_data=0x6e49a0)
at gatchat/gatchat.c:290
#8 0x000000000042a87a in read_watcher_destroy_notify (user_data=0x6ea760)
at gatchat/gatio.c:77
#9 0x00007ffff792f82e in g_source_callback_unref (
cb_data=<value optimized out>)
at /build/buildd/glib2.0-2.25.8/glib/gmain.c:1077
#10 0x00007ffff792fe65 in g_source_destroy_internal (source=0x6efdb0,
context=0x6e1000, have_lock=1)
at /build/buildd/glib2.0-2.25.8/glib/gmain.c:856
#11 0x00007ffff79302e3 in g_main_dispatch (context=0x6e1000)
---Type <return> to continue, or q <return> to quit---
at /build/buildd/glib2.0-2.25.8/glib/gmain.c:2069
#12 IA__g_main_context_dispatch (context=0x6e1000)
at /build/buildd/glib2.0-2.25.8/glib/gmain.c:2597#13 0x00007ffff79341b8 in g_main_context_iterate (context=0x6e1000,
block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
at /build/buildd/glib2.0-2.25.8/glib/gmain.c:2675
#14 0x00007ffff79346c5 in IA__g_main_loop_run (loop=0x6e10e0)
at /build/buildd/glib2.0-2.25.8/glib/gmain.c:2883
#15 0x000000000045db7d in main (argc=1, argv=0x7fffffffe668) at src/main.c:227 (gdb)
(gdb) info localsis_zero = 0
(gdb) up
#2 0x0000000000448e12 in at_gprs_context_remove (gc=0x6e2f50)
at drivers/atmodem/gprs-context.c:260
260 g_at_ppp_unref(gcd->ppp);
(gdb) info locals
gcd = 0x6ee1d0__FUNCTION__ = "at_gprs_context_remove"
(gdb) p *gc
$1 = {gprs = 0x0, pending = 0x6e43c0, driver = 0x6d80a0,
driver_data = 0x6ee1d0, atom = 0x6e4460}
(gdb) p *gcd
$2 = {chat = 0x6e49a0, active_context = 1,
username = '\000' <repeats 63 times>, password = '\000' <repeats 255 times>,
ppp = 0x0, state = STATE_ENABLING, {
down_cb = 0x48fc7f <pri_activate_callback>,
up_cb = 0x48fc7f <pri_activate_callback>}, cb_data = 0x6f0c00}(gdb)
Signature · 1 line
Kalle Valo
Zhang
Hi Kalle,
Quoted 10 lines · Kalle Valo
Hi,
(gdb) bt
#00x00007ffff790b642inIA__g_atomic_int_exchange_and_add
(atomic=0x0, val=-1) at
/build/buildd/glib2.0-2.25.8/glib/gatomic-gcc.c:30 #10x00000000004325a3ing_at_ppp_unref(ppp=0x0) at
gatchat/gatppp.c:448#20x0000000000448e12inat_gprs_context_remove(gc=0x6e2f50) atdrivers/atmodem/gprs-context.c:260#30x00000000004923c9in
As Denis has pointed out, we can add a check for gcd->ppp in at_gprs_context_remove() to avoid this crash.
When I tried to activate & deactivate context on my Huawei EM770W modem, I see kernel module usb_serial warning.
------------[ cut here ]------------ WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:460 serial_ioctl+0x99/0xa0 [usbserial]() Hardware name: 7661BL4 Modules linked in: tun option usbserial usb_storage hidp aes_i586 aes_generic ppdev binfmt_misc bridge stp bnep btusb joydev snd_hda_codec_analog pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy uvcvideo videodev v4l1_compat snd_seq_oss yenta_socket rsrc_nonstatic ricoh_mmc pcmcia_core iwlagn iwlcore mac80211 sdhci_pci sdhci psmouse serio_raw snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfg80211 thinkpad_acpi led_class nvram snd soundcore snd_page_alloc heci(C) lp parport usbhid dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart Pid: 5180, comm: ofonod Tainted: G C 2.6.31-16-generic #53-Ubuntu Call Trace: [<c014518d>] warn_slowpath_common+0x6d/0xa0 [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] [<c01451d5>] warn_slowpath_null+0x15/0x20 [<fa3ab689>] serial_ioctl+0x99/0xa0 [usbserial] [<c0386414>] ? tty_buffer_flush+0x54/0xe0 [<fa3ab5f0>] ? serial_ioctl+0x0/0xa0 [usbserial] [<c03801b7>] tty_ioctl+0x77/0x620 [<c0380140>] ? tty_ioctl+0x0/0x620 [<c01f518c>] vfs_ioctl+0x1c/0x90 [<c01f0726>] ? putname+0x26/0x40 [<c01f54b1>] do_vfs_ioctl+0x71/0x310 [<c01f57af>] sys_ioctl+0x5f/0x80 [<c01e5939>] ? sys_open+0x29/0x40 [<c010336c>] syscall_call+0x7/0xb ---[ end trace ac231b55ebb1fdca ]---
When I shutdown the oFono, kernel reports:
tty_port_close_start: tty->count = 1 port count = 0.
Any ideas?
Quoted 7 lines
--
Kalle Valo
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono
Regards,
Zhenhua
Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466128] ------------[ cut here ]------------ Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466152] WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:460 serial_ioctl+0x99/0xa0 [usbserial]() Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466159] Hardware name: 7661BL4 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466163] Modules linked in: tun option usbserial usb_storage hidp aes_i586 aes_generic ppdev binfmt_misc bridge stp bnep btusb joydev snd_hda_codec_analog pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy uvcvideo videodev v4l1_compat snd_seq_oss yenta_socket rsrc_nonstatic ricoh_mmc pcmcia_core iwlagn iwlcore mac80211 sdhci_pci sdhci psmouse serio_raw snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfg80211 thinkpad_acpi led_class nvram snd soundcore snd_page_alloc heci(C) lp parport usbhid dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466309] Pid: 5180, comm: ofonod Tainted: G C 2.6.31-16-generic #53-Ubuntu Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466315] Call Trace: Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466332] [<c014518d>] warn_slowpath_common+0x6d/0xa0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466347] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466361] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466371] [<c01451d5>] warn_slowpath_null+0x15/0x20 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466384] [<fa3ab689>] serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466394] [<c0386414>] ? tty_buffer_flush+0x54/0xe0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466408] [<fa3ab5f0>] ? serial_ioctl+0x0/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466416] [<c03801b7>] tty_ioctl+0x77/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466424] [<c0380140>] ? tty_ioctl+0x0/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466433] [<c01f518c>] vfs_ioctl+0x1c/0x90 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466440] [<c01f0726>] ? putname+0x26/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466448] [<c01f54b1>] do_vfs_ioctl+0x71/0x310 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466456] [<c01f57af>] sys_ioctl+0x5f/0x80 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466465] [<c01e5939>] ? sys_open+0x29/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466473] [<c010336c>] syscall_call+0x7/0xb Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466479] ---[ end trace ac231b55ebb1fdca ]--- Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466489] ------------[ cut here ]------------ Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466503] WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:460 serial_ioctl+0x99/0xa0 [usbserial]() Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466509] Hardware name: 7661BL4 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466512] Modules linked in: tun option usbserial usb_storage hidp aes_i586 aes_generic ppdev binfmt_misc bridge stp bnep btusb joydev snd_hda_codec_analog pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy uvcvideo videodev v4l1_compat snd_seq_oss yenta_socket rsrc_nonstatic ricoh_mmc pcmcia_core iwlagn iwlcore mac80211 sdhci_pci sdhci psmouse serio_raw snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfg80211 thinkpad_acpi led_class nvram snd soundcore snd_page_alloc heci(C) lp parport usbhid dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466646] Pid: 5180, comm: ofonod Tainted: G WC 2.6.31-16-generic #53-Ubuntu Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466651] Call Trace: Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466659] [<c014518d>] warn_slowpath_common+0x6d/0xa0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466673] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466687] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466696] [<c01451d5>] warn_slowpath_null+0x15/0x20 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466710] [<fa3ab689>] serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466723] [<fa3ab5f0>] ? serial_ioctl+0x0/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466731] [<c03801b7>] tty_ioctl+0x77/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466739] [<c0380140>] ? tty_ioctl+0x0/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466747] [<c01f518c>] vfs_ioctl+0x1c/0x90 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466754] [<c01f0726>] ? putname+0x26/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466761] [<c01f54b1>] do_vfs_ioctl+0x71/0x310 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466770] [<c01f57af>] sys_ioctl+0x5f/0x80 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466777] [<c01e5939>] ? sys_open+0x29/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466785] [<c010336c>] syscall_call+0x7/0xb Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466791] ---[ end trace ac231b55ebb1fdcb ]--- Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466798] ------------[ cut here ]------------ Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466811] WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:460 serial_ioctl+0x99/0xa0 [usbserial]() Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466817] Hardware name: 7661BL4 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466821] Modules linked in: tun option usbserial usb_storage hidp aes_i586 aes_generic ppdev binfmt_misc bridge stp bnep btusb joydev snd_hda_codec_analog pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy uvcvideo videodev v4l1_compat snd_seq_oss yenta_socket rsrc_nonstatic ricoh_mmc pcmcia_core iwlagn iwlcore mac80211 sdhci_pci sdhci psmouse serio_raw snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfg80211 thinkpad_acpi led_class nvram snd soundcore snd_page_alloc heci(C) lp parport usbhid dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466953] Pid: 5180, comm: ofonod Tainted: G WC 2.6.31-16-generic #53-Ubuntu Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466958] Call Trace: Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466967] [<c014518d>] warn_slowpath_common+0x6d/0xa0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466981] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.466994] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467003] [<c01451d5>] warn_slowpath_null+0x15/0x20 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467017] [<fa3ab689>] serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467031] [<fa3ab5f0>] ? serial_ioctl+0x0/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467038] [<c03801b7>] tty_ioctl+0x77/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467046] [<c0380140>] ? tty_ioctl+0x0/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467054] [<c01f518c>] vfs_ioctl+0x1c/0x90 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467061] [<c01f0726>] ? putname+0x26/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467069] [<c01f54b1>] do_vfs_ioctl+0x71/0x310 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467077] [<c01f57af>] sys_ioctl+0x5f/0x80 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467084] [<c01e5939>] ? sys_open+0x29/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467092] [<c010336c>] syscall_call+0x7/0xb Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467097] ---[ end trace ac231b55ebb1fdcc ]--- Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467104] ------------[ cut here ]------------ Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467117] WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:476 serial_set_termios+0x6e/0xa0 [usbserial]() Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467124] Hardware name: 7661BL4 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467127] Modules linked in: tun option usbserial usb_storage hidp aes_i586 aes_generic ppdev binfmt_misc bridge stp bnep btusb joydev snd_hda_codec_analog pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy uvcvideo videodev v4l1_compat snd_seq_oss yenta_socket rsrc_nonstatic ricoh_mmc pcmcia_core iwlagn iwlcore mac80211 sdhci_pci sdhci psmouse serio_raw snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfg80211 thinkpad_acpi led_class nvram snd soundcore snd_page_alloc heci(C) lp parport usbhid dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467260] Pid: 5180, comm: ofonod Tainted: G WC 2.6.31-16-generic #53-Ubuntu Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467264] Call Trace: Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467273] [<c014518d>] warn_slowpath_common+0x6d/0xa0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467287] [<fa3aba8e>] ? serial_set_termios+0x6e/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467301] [<fa3aba8e>] ? serial_set_termios+0x6e/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467310] [<c01451d5>] warn_slowpath_null+0x15/0x20 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467324] [<fa3aba8e>] serial_set_termios+0x6e/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467332] [<c0384779>] change_termios+0x169/0x2c0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467341] [<c0384ac8>] set_termios+0xd8/0x1d0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467349] [<c03850af>] tty_mode_ioctl+0x37f/0x4c0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467358] [<c010692a>] ? show_trace+0x1a/0x20 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467367] [<c056ea7c>] ? printk+0x18/0x1c Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467376] [<c0144f8a>] ? print_oops_end_marker+0x2a/0x30 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467385] [<c014519f>] ? warn_slowpath_common+0x7f/0xa0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467395] [<c0127c38>] ? default_spin_lock_flags+0x8/0x10 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467403] [<c0570e3a>] ? _spin_lock_irqsave+0x2a/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467412] [<c0385225>] n_tty_ioctl_helper+0x35/0x180 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467419] [<c038219e>] n_tty_ioctl+0x2e/0xe0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467427] [<c03801ee>] tty_ioctl+0xae/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467434] [<c0382170>] ? n_tty_ioctl+0x0/0xe0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467441] [<c0380140>] ? tty_ioctl+0x0/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467449] [<c01f518c>] vfs_ioctl+0x1c/0x90 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467457] [<c01f0726>] ? putname+0x26/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467465] [<c01f54b1>] do_vfs_ioctl+0x71/0x310 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467473] [<c01f57af>] sys_ioctl+0x5f/0x80 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467481] [<c01e5939>] ? sys_open+0x29/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467488] [<c010336c>] syscall_call+0x7/0xb Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467494] ---[ end trace ac231b55ebb1fdcd ]--- Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467872] ------------[ cut here ]------------ Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467891] WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:460 serial_ioctl+0x99/0xa0 [usbserial]() Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467898] Hardware name: 7661BL4 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.467902] Modules linked in: tun option usbserial usb_storage hidp aes_i586 aes_generic ppdev binfmt_misc bridge stp bnep btusb joydev snd_hda_codec_analog pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy uvcvideo videodev v4l1_compat snd_seq_oss yenta_socket rsrc_nonstatic ricoh_mmc pcmcia_core iwlagn iwlcore mac80211 sdhci_pci sdhci psmouse serio_raw snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfg80211 thinkpad_acpi led_class nvram snd soundcore snd_page_alloc heci(C) lp parport usbhid dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468054] Pid: 5180, comm: ofonod Tainted: G WC 2.6.31-16-generic #53-Ubuntu Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468059] Call Trace: Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468071] [<c014518d>] warn_slowpath_common+0x6d/0xa0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468088] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468104] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468117] [<c01451d5>] warn_slowpath_null+0x15/0x20 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468133] [<fa3ab689>] serial_ioctl+0x99/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468149] [<fa3ab5f0>] ? serial_ioctl+0x0/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468160] [<c03801b7>] tty_ioctl+0x77/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468170] [<c0380140>] ? tty_ioctl+0x0/0x620 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468181] [<c01f518c>] vfs_ioctl+0x1c/0x90 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468191] [<c01f0726>] ? putname+0x26/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468201] [<c01f54b1>] do_vfs_ioctl+0x71/0x310 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468211] [<c01f57af>] sys_ioctl+0x5f/0x80 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468221] [<c01e5939>] ? sys_open+0x29/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468231] [<c010336c>] syscall_call+0x7/0xb Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468240] ---[ end trace ac231b55ebb1fdce ]--- Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468349] ------------[ cut here ]------------ Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468368] WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:412 serial_write_room+0x70/0x80 [usbserial]() Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468378] Hardware name: 7661BL4 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468383] Modules linked in: tun option usbserial usb_storage hidp aes_i586 aes_generic ppdev binfmt_misc bridge stp bnep btusb joydev snd_hda_codec_analog pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy uvcvideo videodev v4l1_compat snd_seq_oss yenta_socket rsrc_nonstatic ricoh_mmc pcmcia_core iwlagn iwlcore mac80211 sdhci_pci sdhci psmouse serio_raw snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfg80211 thinkpad_acpi led_class nvram snd soundcore snd_page_alloc heci(C) lp parport usbhid dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468600] Pid: 5180, comm: ofonod Tainted: G WC 2.6.31-16-generic #53-Ubuntu Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468608] Call Trace: Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468620] [<c014518d>] warn_slowpath_common+0x6d/0xa0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468636] [<fa3ab700>] ? serial_write_room+0x70/0x80 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468653] [<fa3ab700>] ? serial_write_room+0x70/0x80 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468665] [<c01451d5>] warn_slowpath_null+0x15/0x20 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468681] [<fa3ab700>] serial_write_room+0x70/0x80 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468692] [<c03840b8>] tty_write_room+0x18/0x20 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468702] [<c0381e05>] n_tty_poll+0x135/0x150 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468713] [<c037e121>] tty_poll+0x61/0x80 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468725] [<c0496bd7>] ? datagram_poll+0x17/0xf0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468734] [<c0381cd0>] ? n_tty_poll+0x0/0x150 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468746] [<c01f611b>] do_poll+0xcb/0x230 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468756] [<c01f6c41>] do_sys_poll+0x131/0x1f0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468766] [<c01f6970>] ? __pollwait+0x0/0xd0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468777] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468787] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468797] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468807] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468817] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468827] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468837] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468847] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468859] [<c050e25d>] ? unix_stream_sendmsg+0x1dd/0x380 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468872] [<c0482984>] ? aa_cred_policy+0x14/0x30 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468885] [<c048da00>] ? sock_sendmsg+0xe0/0x110 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468897] [<c012e890>] ? __wake_up_common+0x40/0x70 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468908] [<c015c280>] ? autoremove_wake_function+0x0/0x40 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468920] [<c0133080>] ? __wake_up+0x40/0x50 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468932] [<c037f773>] ? tty_wakeup+0x33/0x70 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468942] [<c03871a1>] ? pty_write+0x61/0x70 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468952] [<c0570f18>] ? _spin_lock+0x8/0x10 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468963] [<c01f3e7b>] ? fasync_helper+0xab/0x120 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468980] [<fa3abaeb>] ? serial_close+0x2b/0xa0 [usbserial] Jul 1 13:07:26 zzhan17-mobile kernel: [11036.468991] [<c037dfde>] ? tty_fasync+0x3e/0x120 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469001] [<c0570f18>] ? _spin_lock+0x8/0x10 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469025] [<c031210d>] ? kobject_put+0x1d/0x50 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469037] [<c01fdd7a>] ? mntput_no_expire+0x1a/0xd0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469049] [<c01e91f2>] ? __fput+0x172/0x1f0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469060] [<c01e9285>] ? fput+0x15/0x20 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469070] [<c01e56a7>] ? filp_close+0x47/0x70 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469081] [<c01f6e74>] sys_poll+0x54/0xb0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469090] [<c01e5743>] ? sys_close+0x73/0xb0 Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469101] [<c010336c>] syscall_call+0x7/0xb Jul 1 13:07:26 zzhan17-mobile kernel: [11036.469108] ---[ end trace ac231b55ebb1fdcf ]--- Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633131] ------------[ cut here ]------------ Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633155] WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:412 serial_write_room+0x70/0x80 [usbserial]() Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633162] Hardware name: 7661BL4 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633167] Modules linked in: tun option usbserial usb_storage hidp aes_i586 aes_generic ppdev binfmt_misc bridge stp bnep btusb joydev snd_hda_codec_analog pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy uvcvideo videodev v4l1_compat snd_seq_oss yenta_socket rsrc_nonstatic ricoh_mmc pcmcia_core iwlagn iwlcore mac80211 sdhci_pci sdhci psmouse serio_raw snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfg80211 thinkpad_acpi led_class nvram snd soundcore snd_page_alloc heci(C) lp parport usbhid dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633315] Pid: 5180, comm: ofonod Tainted: G WC 2.6.31-16-generic #53-Ubuntu Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633321] Call Trace: Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633338] [<c014518d>] warn_slowpath_common+0x6d/0xa0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633353] [<fa3ab700>] ? serial_write_room+0x70/0x80 [usbserial] Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633367] [<fa3ab700>] ? serial_write_room+0x70/0x80 [usbserial] Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633377] [<c01451d5>] warn_slowpath_null+0x15/0x20 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633390] [<fa3ab700>] serial_write_room+0x70/0x80 [usbserial] Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633400] [<c03840b8>] tty_write_room+0x18/0x20 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633408] [<c0381e05>] n_tty_poll+0x135/0x150 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633418] [<c037e121>] tty_poll+0x61/0x80 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633425] [<c0381cd0>] ? n_tty_poll+0x0/0x150 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633435] [<c01f611b>] do_poll+0xcb/0x230 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633444] [<c01f6c41>] do_sys_poll+0x131/0x1f0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633452] [<c01f6970>] ? __pollwait+0x0/0xd0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633460] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633468] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633476] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633483] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633491] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633498] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633506] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633514] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633524] [<c050e25d>] ? unix_stream_sendmsg+0x1dd/0x380 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633534] [<c0482984>] ? aa_cred_policy+0x14/0x30 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633545] [<c048da00>] ? sock_sendmsg+0xe0/0x110 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633554] [<c012e890>] ? __wake_up_common+0x40/0x70 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633563] [<c015c280>] ? autoremove_wake_function+0x0/0x40 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633573] [<c0133080>] ? __wake_up+0x40/0x50 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633582] [<c037f773>] ? tty_wakeup+0x33/0x70 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633590] [<c03871a1>] ? pty_write+0x61/0x70 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633599] [<c0570f18>] ? _spin_lock+0x8/0x10 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633607] [<c01f3e7b>] ? fasync_helper+0xab/0x120 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633622] [<fa3abaeb>] ? serial_close+0x2b/0xa0 [usbserial] Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633630] [<c037dfde>] ? tty_fasync+0x3e/0x120 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633638] [<c0570f18>] ? _spin_lock+0x8/0x10 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633650] [<c031210d>] ? kobject_put+0x1d/0x50 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633659] [<c01fdd7a>] ? mntput_no_expire+0x1a/0xd0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633669] [<c01e91f2>] ? __fput+0x172/0x1f0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633677] [<c01e9285>] ? fput+0x15/0x20 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633684] [<c01e56a7>] ? filp_close+0x47/0x70 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633692] [<c01f6e74>] sys_poll+0x54/0xb0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633700] [<c01e5743>] ? sys_close+0x73/0xb0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633708] [<c010336c>] syscall_call+0x7/0xb Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633714] ---[ end trace ac231b55ebb1fdd0 ]--- Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633870] ------------[ cut here ]------------ Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633886] WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:412 serial_write_room+0x70/0x80 [usbserial]() Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633893] Hardware name: 7661BL4 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.633897] Modules linked in: tun option usbserial usb_storage hidp aes_i586 aes_generic ppdev binfmt_misc bridge stp bnep btusb joydev snd_hda_codec_analog pcmcia snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy uvcvideo videodev v4l1_compat snd_seq_oss yenta_socket rsrc_nonstatic ricoh_mmc pcmcia_core iwlagn iwlcore mac80211 sdhci_pci sdhci psmouse serio_raw snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfg80211 thinkpad_acpi led_class nvram snd soundcore snd_page_alloc heci(C) lp parport usbhid dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634099] Pid: 5180, comm: ofonod Tainted: G WC 2.6.31-16-generic #53-Ubuntu Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634108] Call Trace: Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634120] [<c014518d>] warn_slowpath_common+0x6d/0xa0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634137] [<fa3ab700>] ? serial_write_room+0x70/0x80 [usbserial] Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634154] [<fa3ab700>] ? serial_write_room+0x70/0x80 [usbserial] Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634167] [<c01451d5>] warn_slowpath_null+0x15/0x20 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634183] [<fa3ab700>] serial_write_room+0x70/0x80 [usbserial] Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634195] [<c03840b8>] tty_write_room+0x18/0x20 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634205] [<c0381e05>] n_tty_poll+0x135/0x150 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634216] [<c037e121>] tty_poll+0x61/0x80 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634227] [<c0496bd7>] ? datagram_poll+0x17/0xf0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634237] [<c0381cd0>] ? n_tty_poll+0x0/0x150 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634248] [<c01f611b>] do_poll+0xcb/0x230 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634260] [<c0127c38>] ? default_spin_lock_flags+0x8/0x10 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634271] [<c0570e3a>] ? _spin_lock_irqsave+0x2a/0x40 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634283] [<c01f6c41>] do_sys_poll+0x131/0x1f0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634294] [<c01f6970>] ? __pollwait+0x0/0xd0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634304] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634314] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634324] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634334] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634345] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634355] [<c01f6a40>] ? pollwake+0x0/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634367] [<c0133007>] ? __wake_up_sync_key+0x47/0x60 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634379] [<c0491299>] ? sock_def_readable+0x39/0x70 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634390] [<c050e25d>] ? unix_stream_sendmsg+0x1dd/0x380 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634402] [<c0482984>] ? aa_cred_policy+0x14/0x30 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634415] [<c048da00>] ? sock_sendmsg+0xe0/0x110 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634426] [<c012e890>] ? __wake_up_common+0x40/0x70 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634437] [<c015c280>] ? autoremove_wake_function+0x0/0x40 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634448] [<c0133080>] ? __wake_up+0x40/0x50 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634460] [<c037f773>] ? tty_wakeup+0x33/0x70 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634471] [<c03871a1>] ? pty_write+0x61/0x70 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634481] [<c0127c38>] ? default_spin_lock_flags+0x8/0x10 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634493] [<c0127c38>] ? default_spin_lock_flags+0x8/0x10 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634505] [<c0570e3a>] ? _spin_lock_irqsave+0x2a/0x40 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634517] [<c015c50c>] ? remove_wait_queue+0x3c/0x50 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634527] [<c0382a7b>] ? n_tty_read+0x33b/0x720 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634540] [<c0385688>] ? tty_ldisc_deref+0x8/0x10 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634551] [<c037e245>] ? tty_read+0x85/0xb0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634561] [<c0382740>] ? n_tty_read+0x0/0x720 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634572] [<c01e7d57>] ? vfs_read+0x97/0x190 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634583] [<c037e1c0>] ? tty_read+0x0/0xb0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634593] [<c01f6e74>] sys_poll+0x54/0xb0 Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634603] [<c010336c>] syscall_call+0x7/0xb Jul 1 13:07:43 zzhan17-mobile kernel: [11052.634611] ---[ end trace ac231b55ebb1fdd1 ]--- Jul 1 13:08:55 zzhan17-mobile kernel: [11125.331834] tty_port_close_start: tty->count = 1 port count = 0.
Zhang
Hi,
Quoted 56 lines · Zhenhua
Hi Kalle,
Quoted 10 lines · Kalle Valo
Hi,
(gdb) bt
#00x00007ffff790b642inIA__g_atomic_int_exchange_and_add(atomic=0x0, val=-1) at /build/buildd/glib2.0-2.25.8/glib/gatomic-gcc.c:30 #1
0x00000000004325a3ing_at_ppp_unref(ppp=0x0) atgatchat/gatppp.c:448#20x0000000000448e12inat_gprs_context_remove(gc=0x6e2f50) atdrivers/atmodem/gprs-context.c:260#30x00000000004923c9inAs Denis has pointed out, we can add a check for
gcd->pppinat_gprs_context_remove()to avoid this crash.When I tried to activate & deactivate context on my Huawei EM770W modem, I see kernel module
usb_serialwarning.------------[ cut here ]------------ WARNING: at /build/buildd/linux-2.6.31/drivers/usb/serial/usb-serial.c:460 serial_ioctl+0x99/0xa0 [usbserial]() Hardware name: 7661BL4 Modules linked in: tun option usbserial usb_storage hidp
aes_i586aes_genericppdevbinfmt_miscbridge stp bnep btusb joydevsnd_hda_codec_analogpcmciasnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcm_osssnd_mixer_ossarc4snd_pcmecbsnd_seq_dummyuvcvideo videodevv4l1_compatsnd_seq_ossyenta_socketrsrc_nonstaticricoh_mmcpcmcia_coreiwlagn iwlcore mac80211sdhci_pcisdhci psmouseserio_rawsnd_seq_midisnd_rawmidisnd_seq_midi_eventsnd_seqsnd_timersnd_seq_devicecfg80211thinkpad_acpiled_classnvram snd soundcoresnd_page_allocheci(C) lp parport usbhiddm_raid45xor fbcon tileblit font bitblit softcursor ohci1394 e1000e ieee1394 i915 drmi2c_algo_bitvideo outputintel_agpagpgart
Pid: 5180, comm: ofonod Tainted: G C 2.6.31-16-generic
#53-Ubuntu Call Trace:[<c014518d>] warn_slowpath_common+0x6d/0xa0 [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] [<fa3ab689>] ? serial_ioctl+0x99/0xa0 [usbserial] [<c01451d5>] warn_slowpath_null+0x15/0x20 [<fa3ab689>] serial_ioctl+0x99/0xa0 [usbserial] [<c0386414>] ? tty_buffer_flush+0x54/0xe0 [<fa3ab5f0>] ? serial_ioctl+0x0/0xa0 [usbserial] [<c03801b7>] tty_ioctl+0x77/0x620 [<c0380140>] ? tty_ioctl+0x0/0x620 [<c01f518c>] vfs_ioctl+0x1c/0x90 [<c01f0726>] ? putname+0x26/0x40 [<c01f54b1>] do_vfs_ioctl+0x71/0x310 [<c01f57af>] sys_ioctl+0x5f/0x80 [<c01e5939>] ? sys_open+0x29/0x40 [<c010336c>] syscall_call+0x7/0xb ---[ end trace ac231b55ebb1fdca ]---
Quoted 4 lines
When I shutdown the oFono, kernel reports:
tty_port_close_start: tty->count = 1 port count = 0.Any ideas?
I observed the warning shows up when /dev/ttyUSB2 send us any intermediate result. If I remove gprs atom and recreate it in huawei_disconnect, the kernel warning is gone. Does anyone see the same problem in other Huawei modem? If not, I assume it's a problem only for EM770 modem. (I don't have other Huawei modem at hand)
Thanks,
Zhenhua
Quoted 10 lines
Quoted 7 lines
--
Kalle Valo
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono
Quoted 2 lines
Regards,
Zhenhua
Regards,
Zhenhua