Kernel WARNING on serial_unthrottle in usbserial driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I got a warning in my kernel log while using /dev/ttyUSB0
(Linux 2.6.31).

My interpretation is that I closed /dev/ttyUSB0 while the driver was
throttled. This caused a call to serial_unthrottle() after the tty
had already been closed, triggering this warning.

Later attempts to open /dev/ttyUSB0 failed with 'Invalid argument'.
Possibly because usb_serial_generic_unthrottle() resubmitted the URB,
causing the next call to usb_serial_generic_open() to fail in
its attempt to submit the still running URB.

Joris.

Sep 23 22:51:02 konijn kernel: [ 3715.185265] ------------[ cut here ]------------
Sep 23 22:51:02 konijn kernel: [ 3715.185339] WARNING: at /data/tmp/linux-2.6.31-throttle/drivers/usb/serial/usb-serial.c:448 serial_unthrottle+0x53/0x77 [usbserial]()
Sep 23 22:51:02 konijn kernel: [ 3715.185414] Hardware name: SK83V10
Sep 23 22:51:02 konijn kernel: [ 3715.185467] Modules linked in: usbserial tun cpufreq_powersave cpufreq_ondemand cpufreq_conservative ip6t_LOG ip6table_filter ipv6 ipt_LOG xt_limit xt_tcpudp iptable_filter cls_u32 sch_htb deflate zlib_deflate aes_x86_64 aes_generic blowfish des_generic cbc ecb sha256_generic sha1_generic md5 hmac cryptomgr aead pcompress crypto_blkcipher crypto_hash crypto_algapi af_key fuse ip6_tables ip_tables x_tables cpufreq_userspace it87 hwmon_vid usbhid snd_usb_audio snd_usb_lib snd_hwdep ide_cd_mod cdrom dvb_usb_dib0700 dib7000p dib7000m dvb_usb dvb_core dib3000mc dibx000_common dib0070 ide_pci_generic snd_via82xx gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_mpu401_uart snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device ehci_hcd uhci_hcd snd pcspkr k8temp i2c_viapro soundcore via_rhine mii i2c_core usbcore nls_base 8250_pnp 8250 serial_core via82cxxx ide_core parport_pc parport floppy ohci1394 ieee1394 evdev 
Sep 23 22:51:02 konijn kernel: [last unloaded: cdc_acm]
Sep 23 22:51:02 konijn kernel: [ 3715.189521] Pid: 7069, comm: python Not tainted 2.6.31-j1 #1
Sep 23 22:51:02 konijn kernel: [ 3715.189578] Call Trace:
Sep 23 22:51:02 konijn kernel: [ 3715.189638]  [<ffffffffa03f8544>] ? serial_unthrottle+0x53/0x77 [usbserial]
Sep 23 22:51:02 konijn kernel: [ 3715.189701]  [<ffffffffa03f8544>] ? serial_unthrottle+0x53/0x77 [usbserial]
Sep 23 22:51:02 konijn kernel: [ 3715.189764]  [<ffffffff8102c952>] ? warn_slowpath_common+0x77/0xa3
Sep 23 22:51:02 konijn kernel: [ 3715.189826]  [<ffffffffa03f8544>] ? serial_unthrottle+0x53/0x77 [usbserial]
Sep 23 22:51:02 konijn kernel: [ 3715.189888]  [<ffffffff81137a0c>] ? tty_unthrottle+0x38/0x43
Sep 23 22:51:02 konijn kernel: [ 3715.189946]  [<ffffffff811367b5>] ? n_tty_flush_buffer+0xe/0x50
Sep 23 22:51:02 konijn kernel: [ 3715.190005]  [<ffffffff81138f92>] ? tty_ldisc_flush+0x27/0x3d
Sep 23 22:51:02 konijn kernel: [ 3715.190064]  [<ffffffff811396aa>] ? tty_port_close_end+0x12/0x90
Sep 23 22:51:02 konijn kernel: [ 3715.190126]  [<ffffffffa03f99c0>] ? serial_close+0x7d/0x9e [usbserial]
Sep 23 22:51:02 konijn kernel: [ 3715.190185]  [<ffffffff81134786>] ? tty_release_dev+0x193/0x434
Sep 23 22:51:02 konijn kernel: [ 3715.190246]  [<ffffffff8106fb2a>] ? cache_free_debugcheck+0x283/0x2b8
Sep 23 22:51:02 konijn kernel: [ 3715.190305]  [<ffffffff81064f1a>] ? remove_vma+0x5a/0x61
Sep 23 22:51:02 konijn kernel: [ 3715.190363]  [<ffffffff81134a33>] ? tty_release+0xc/0x10
Sep 23 22:51:02 konijn kernel: [ 3715.190420]  [<ffffffff81074453>] ? __fput+0xd7/0x19d
Sep 23 22:51:02 konijn kernel: [ 3715.190478]  [<ffffffff81071d08>] ? filp_close+0x5b/0x62
Sep 23 22:51:02 konijn kernel: [ 3715.190535]  [<ffffffff8102dd55>] ? put_files_struct+0x63/0xc0
Sep 23 22:51:02 konijn kernel: [ 3715.190594]  [<ffffffff8102f13f>] ? do_exit+0x162/0x57d
Sep 23 22:51:02 konijn kernel: [ 3715.190651]  [<ffffffff8102f5a0>] ? do_group_exit+0x46/0x70
Sep 23 22:51:02 konijn kernel: [ 3715.190710]  [<ffffffff81036cfb>] ? get_signal_to_deliver+0x294/0x2a9
Sep 23 22:51:02 konijn kernel: [ 3715.190769]  [<ffffffff8100a286>] ? do_notify_resume+0x81/0x693
Sep 23 22:51:02 konijn kernel: [ 3715.190827]  [<ffffffff81041180>] ? getnstimeofday+0x55/0xaf
Sep 23 22:51:02 konijn kernel: [ 3715.190887]  [<ffffffff8103e23f>] ? ktime_get_ts+0x21/0x4a
Sep 23 22:51:02 konijn kernel: [ 3715.190946]  [<ffffffff8109eac3>] ? poll_select_copy_remaining+0xd4/0xf4
Sep 23 22:51:02 konijn kernel: [ 3715.191005]  [<ffffffff8100af41>] ? int_signal+0x12/0x17
Sep 23 22:51:02 konijn kernel: [ 3715.191062] ---[ end trace 15ea47921c4943ef ]---
Sep 23 23:05:25 konijn kernel: [ 4577.601198] generic ttyUSB0: usb_serial_generic_open - failed resubmitting read urb, error -22
Sep 23 23:05:40 konijn kernel: [ 4593.006469] generic ttyUSB0: usb_serial_generic_open - failed resubmitting read urb, error -22
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux