kernel BUG at /build/buildd/linux-2.6.32/drivers/char/tty_ldisc.c:707!

Bug #613700 reported by Harufumi Tsuchiya
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux-backports-modules-2.6.31 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Dear Ubuntuers,

In order to continuously take some data via a usb-serial adaptor,
I am using a netbook with Ubuntu 10.04;
Description: Ubuntu 10.04 LTS
Release: 10.04.

The usb-serial is composed of FT232RL, and successfully
attached to the netbook. However, occasionally, the use-serial
adopter is automatically disconnected and hence data-taking stops.
The occurrence rate of the disconnection is different from case-by-case;
in some case 1 per a few hours, and in another case 1 per 15 days.
I do not understand why the usb-serial adopter is abruptly disconnected,
and whether this disconnection is really due to ubuntu bug or not.

The following is a message given by dmesg;
[1308411.960414] ------------[ cut here ]------------
[1308411.960428] kernel BUG at /build/buildd/linux-2.6.32/drivers/char/tty_ldisc.c:707!
[1308411.960440] invalid opcode: 0000 [#1] SMP
[1308411.960455] last sysfs file: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/C1C0/voltage_now
[1308411.960468] Modules linked in: binfmt_misc rfcomm ppdev sco snd_hda_codec_analog bridge stp bnep l2cap fbcon tileblit font bitblit softcursor vga16fb vgastate snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event joydev snd_seq i915 snd_timer snd_seq_device drm_kms_helper uvcvideo hp_accel lib80211_crypt_tkip ftdi_sio btusb videodev v4l1_compat bluetooth snd drm usbserial psmouse intel_agp serio_raw wl(P) lis3lv02d input_polldev soundcore lib80211 i2c_algo_bit led_class agpgart snd_page_alloc video output lp parport ahci sky2
[1308411.960663]
[1308411.960678] Pid: 30, comm: khubd Tainted: P (2.6.32-22-generic #36-Ubuntu) HP 2140
[1308411.960692] EIP: 0060:[<c03b9fc3>] EFLAGS: 00010202 CPU: 1
[1308411.960713] EIP is at tty_ldisc_reinit+0x43/0x50
[1308411.960724] EAX: ffffffea EBX: f337e800 ECX: 00000002 EDX: 00000002
[1308411.960736] ESI: 000000d8 EDI: f337e814 EBP: f71dfd98 ESP: f71dfd90
[1308411.960748] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[1308411.960762] Process khubd (pid: 30, ti=f71de000 task=f71b2670 task.ti=f71de000)
[1308411.960772] Stack:
[1308411.960778] f337e800 00000000 f71dfdb0 c03ba176 00000001 f337e940 f337e940 f337e800
[1308411.960807] <0> f71dfdd8 c03b2c22 00000000 c058b5ff 00000000 00000286 00000001 f337e800
[1308411.960837] <0> f2cde400 00000000 f71dfde0 c03b2e72 f71dfe0c f831e51c 00000058 00000002
[1308411.960870] Call Trace:
[1308411.960890] [<c03ba176>] ? tty_ldisc_hangup+0x1a6/0x1e0
[1308411.960907] [<c03b2c22>] ? do_tty_hangup+0x112/0x350
[1308411.960925] [<c058b5ff>] ? _spin_lock_irqsave+0x2f/0x50
[1308411.960941] [<c03b2e72>] ? tty_vhangup+0x12/0x20
[1308411.960977] [<f831e51c>] ? usb_serial_disconnect+0x8c/0x170 [usbserial]
[1308411.961001] [<c044a279>] ? usb_unbind_interface+0xe9/0x130
[1308411.961024] [<c03e6611>] ? __device_release_driver+0x51/0xb0
[1308411.961042] [<c03e6735>] ? device_release_driver+0x25/0x40
[1308411.961059] [<c03e59eb>] ? bus_remove_device+0x7b/0xa0
[1308411.961076] [<c03e3e67>] ? device_del+0xf7/0x180
[1308411.961093] [<c0447025>] ? usb_disable_device+0x85/0x100
[1308411.961111] [<c0441abe>] ? usb_disconnect+0x9e/0x120
[1308411.961128] [<c044201b>] ? hub_port_connect_change+0x8b/0x850
[1308411.961148] [<c0442f85>] ? hub_events+0x1f5/0x510
[1308411.961167] [<c01678af>] ? finish_wait+0x4f/0x70
[1308411.961183] [<c04432da>] ? hub_thread+0x3a/0x140
[1308411.961200] [<c0167740>] ? autoremove_wake_function+0x0/0x50
[1308411.961217] [<c04432a0>] ? hub_thread+0x0/0x140
[1308411.961232] [<c01674b4>] ? kthread+0x74/0x80
[1308411.961247] [<c0167440>] ? kthread+0x0/0x80
[1308411.961264] [<c0104087>] ? kernel_thread_helper+0x7/0x10
[1308411.961274] Code: 28 e8 c2 fb ff ff 89 f0 c7 43 28 00 00 00 00 e8 94 fe ff ff 3d 00 f0 ff ff 77 10 89 43 28 89 f2 89 d8 e8 b1 fa ff ff 5b 5e 5d c3 <0f> 0b eb fe 89 f6 8d bc 27 00 00 00 00 55 89 e5 57 56 53 83 ec
[1308411.961440] EIP: [<c03b9fc3>] tty_ldisc_reinit+0x43/0x50 SS:ESP 0068:f71dfd90
[1308411.961509] ---[ end trace 66bbe8ddc8bc71a4 ]---

Revision history for this message
Simon Schubert (corecode) wrote :
Download full text (4.6 KiB)

I can confirm this BUG:

[ 233.292555] hub 8-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
[ 233.292562] usb 8-1: USB disconnect, address 2
[ 233.292685] ------------[ cut here ]------------
[ 233.292688] kernel BUG at /build/buildd/linux-2.6.32/drivers/char/tty_ldisc.c:707!
[ 233.292691] invalid opcode: 0000 [#1] SMP
[ 233.292695] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.3/local_cpus
[ 233.292698] CPU 2
[ 233.292701] Modules linked in: vboxnetadp vboxnetflt vboxdrv binfmt_misc kvm_intel kvm xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 deflate zlib_deflate ctr twofish twofish_common camellia serpent blowfish cast5 des_generic xcbc rmd160 sha1_generic crypto_null af_key snd_hda_codec_via snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device ppdev ftdi_sio joydev tpm_tis tpm usbserial parport_pc asus_atk0110 snd tpm_bios xpad led_class ff_memless soundcore snd_page_alloc lp parport sha256_generic cryptd aes_x86_64 aes_generic dm_crypt raid10 raid456 async_pq async_xor xor async_memcpy async_raid6_recov raid6_pq async_tx raid1 raid0 multipath linear fbcon tileblit font bitblit softcursor vga16fb vgastate usbhid hid i915 drm_kms_helper drm i2c_algo_bit ahci video output intel_agp e1000e
[ 233.292788] Pid: 44, comm: khubd Not tainted 2.6.32-24-generic #39-Ubuntu System Product Name
[ 233.292791] RIP: 0010:[<ffffffff81333d80>] [<ffffffff81333d80>] tty_ldisc_reinit+0x50/0x60
[ 233.292801] RSP: 0018:ffff880222663a90 EFLAGS: 00010202
[ 233.292804] RAX: ffffffffffffffea RBX: ffff880209b23000 RCX: 0000000000000002
[ 233.292807] RDX: 0000000000000002 RSI: ffffffff81a1ca80 RDI: 00000000000000e0
[ 233.292810] RBP: ffff880222663aa0 R08: 000000000001ce53 R09: 0000000000883a08
[ 233.292813] R10: 0000000000866bb5 R11: 0000000000000000 R12: 00000000000000e0
[ 233.292816] R13: ffff880209b23020 R14: 0000000000000000 R15: 0000000000000001
[ 233.292820] FS: 0000000000000000(0000) GS:ffff880028300000(0000) knlGS:0000000000000000
[ 233.292823] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[ 233.292826] CR2: 00007f620ca3b000 CR3: 00000001f08d5000 CR4: 00000000000026e0
[ 233.292829] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 233.292832] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 233.292835] Process khubd (pid: 44, threadinfo ffff880222662000, task ffff8802226596f0)
[ 233.292838] Stack:
[ 233.292839] ffff880209b23000 0000000000000000 ffff880222663ad0 ffffffff81333f50
[ 233.292844] <0> ffff8801e0e90480 ffff880209b23208 ffff880209b23000 ffff880209b231d8
[ 233.292850] <0> ffff880222663b30 ffffffff8132b9c6 ffff880209b23208 ffffffff810397a9
[ 233.292855] Call Trace:
[ 233.292860] [<ffffffff81333f50>] tty_ldisc_hangup+0x1c0/0x1f0
[ 233.292866] [<ffffffff8132b9c6>] do_tty_hangup+0x146/0x400
[ 233.292872] [<ffffffff810397a9>] ? default_spin_lock_flags+0x9/0x10
[ 233.292877] [<ffffffff8132bc95>] tty_vhangup+0x15/0x20
[ 233.292885] [<ffffffffa024b72d>] usb_serial_disconnect+0xad/0x1a0 [usbserial]
[ 233.292891] [<ffffffff813dbdf4>] u...

Read more...

Changed in linux-backports-modules-2.6.31 (Ubuntu):
status: New → Confirmed
Revision history for this message
Termo (termopeten) wrote :

I think I'm affected by this one as well.

My imon display suddenly locks up (I have no idea what trickers it). Syslog states always the same

[ 7091.461995] imon usb_rx_callback_intf0: status(-75): ignored
[ 7091.480045] hub 8-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
[ 7091.480052] usb 8-1: USB disconnect, address 2
[ 7091.481994] imon usb_rx_callback_intf0: status(-108): ignored
[ 7091.512607] imon_disconnect: iMON device (intf0) disconnected
[ 7091.512611] lirc_imon: send_packet: packet tx failed (-108)
[ 7091.512614] lirc_imon: vfd_write: send packet failed for packet #0
[ 7091.585444] lirc_imon: vfd_write: no iMON device present
[ 7091.710441] lirc_imon: vfd_write: no iMON device present
[ 7091.752520] usb 8-1: new low speed USB device using uhci_hcd and address 3
[ 7091.835447] lirc_imon: vfd_write: no iMON device present
[ 7091.908131] usb 8-1: configuration #1 chosen from 1 choice
[ 7091.911056] lirc_dev: lirc_register_driver: sample_rate: 0
[ 7091.911099] lirc_imon: Registered iMON driver (lirc minor: 1)
[ 7091.911160] input: iMON PAD IR Mouse (15c2:ffdc) as /devices/pci0000:00/0000:00:1d.2/usb8/8-$
[ 7091.926009] imon_set_ir_protocol: MCE IR protocol not supported on this device, using iMON p$
[ 7091.926014] lirc_imon: iMON device (15c2:ffdc, intf0) on usb<8:3> initialized
[ 7091.960450] lirc_imon: vfd_write: no iMON device present
[ 7092.085443] lirc_imon: vfd_write: no iMON device present
[ 7092.210449] lirc_imon: vfd_write: no iMON device present

Is it a kernel bug with the usb, and how to fix it then. I have tried to restart usb with no luck. I can only gain use of the imon module for lirc by a complete restart :(

Revision history for this message
wheels53 (wheels531) wrote :
Download full text (6.3 KiB)

Any indication as to whether or not this issue can be resolved? Removing my companies Serial/USB device while the port is open causes Ubuntu 10.04 to completely lock up requiring a hard boot.

usb 2-1: new full speed USB device using ohci_hcd and address 13
Dec 1 14:13:43 Linux-Dev kernel: [ 3679.318764] usb 2-1: configuration #1 chosen from 1 choice
Dec 1 14:13:43 Linux-Dev kernel: [ 3679.321695] cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
Dec 1 14:13:43 Linux-Dev kernel: [ 3679.321737] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
Dec 1 14:15:33 Linux-Dev kernel: [ 3789.432549] usb 2-1: USB disconnect, address 13
Dec 1 14:20:55 Linux-Dev kernel: [ 4111.560040] usb 2-1: new full speed USB device using ohci_hcd and address 14
Dec 1 14:20:55 Linux-Dev kernel: [ 4111.781932] usb 2-1: configuration #1 chosen from 1 choice
Dec 1 14:20:55 Linux-Dev kernel: [ 4111.784863] cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
Dec 1 14:20:55 Linux-Dev kernel: [ 4111.784905] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
Dec 1 14:24:34 Linux-Dev kernel: [ 4329.936781] usb 2-1: USB disconnect, address 14
Dec 1 15:00:18 Linux-Dev kernel: [ 6474.156038] usb 2-1: new full speed USB device using ohci_hcd and address 15
Dec 1 15:00:18 Linux-Dev kernel: [ 6474.378891] usb 2-1: configuration #1 chosen from 1 choice
Dec 1 15:00:18 Linux-Dev kernel: [ 6474.381845] cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
Dec 1 15:00:18 Linux-Dev kernel: [ 6474.381895] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
Dec 1 15:01:23 Linux-Dev kernel: [ 6539.274655] usb 2-1: USB disconnect, address 15
Dec 1 15:13:06 Linux-Dev kernel: [ 7242.728034] usb 2-1: new full speed USB device using ohci_hcd and address 16
Dec 1 15:13:07 Linux-Dev kernel: [ 7242.951196] usb 2-1: configuration #1 chosen from 1 choice
Dec 1 15:13:07 Linux-Dev kernel: [ 7242.954150] cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
Dec 1 15:13:07 Linux-Dev kernel: [ 7242.954197] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
Dec 1 15:13:47 Linux-Dev kernel: [ 7283.554982] usb 2-1: USB disconnect, address 16
Dec 1 15:26:45 Linux-Dev kernel: [ 8061.560029] usb 2-1: new full speed USB device using ohci_hcd and address 17
Dec 1 15:26:45 Linux-Dev kernel: [ 8061.782535] usb 2-1: configuration #1 chosen from 1 choice
Dec 1 15:26:45 Linux-Dev kernel: [ 8061.785560] cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
Dec 1 15:26:45 Linux-Dev kernel: [ 8061.785605] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
Dec 1 16:07:15 Linux-Dev kernel: [10491.780369] usb 2-1: USB disconnect, address 17
Dec 1 16:07:15 Linux-Dev kernel: [10491.783060] ------------[ cut here ]------------
Dec 1 16:07:15 Linux-Dev kernel: [10491.783070] kernel BUG at /build/buildd/linux-2.6.32/drivers/char/tty_ldisc.c:707!
Dec 1 16:07:15 Linux-Dev kernel: [10491.783076] invalid opcode: 0000 [#1] SMP
Dec 1 16:07:15 Linux-Dev kernel: [10491.783084] last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/usb2/2-1/devnum
Dec 1 16:07:15 Linux-Dev kernel: [10491.783089] Modules linked in: n...

Read more...

Andy Whitcroft (apw)
Changed in linux-backports-modules-2.6.31 (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.