Bug#668142: linux-image-2.6.32-5-openvz-686: serial_unthrottle+0x44/0x5a [usbserial]()
Christian Felsing wrote: problem still persists. It happens, if Asterisk is restarted. This Asterisk has chan_dongle-1.1.r10 installed, which provides connectivity to a mobile provider. Thanks, good to know. Am I correct in guessing that 3.2.y from wheezy, sid, or squeeze-backports is not affected? The only packages from outside squeeze that should be needed for this test except for the kernel image itself are linux-base and initramfs-tools. If that's works, please do test the patch[1] Ben suggested, like so: 0. preparation apt-get build-dep linux-2.6; # as root apt-get install devscripts; # as root apt-get source linux-2.6/squeeze cd linux-2.6-version 1. disable debuginfo sed -i -e '/686_image-dbg/, /^$/ d' \ debian/config/i386/openvz/defines 2. patch and build # optionally with -j num for parallel build bash debian/bin/test-patches -f 686 -s openvz /path/to/patch; 3. install and test dpkg -i ../name of package; # as root reboot Sincerely, Jonathan [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;bug=668142 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#668142: linux-image-2.6.32-5-openvz-686: serial_unthrottle+0x44/0x5a [usbserial]()
Hi Jonathan, problem still persists. It happens, if Asterisk is restarted. This Asterisk has chan_dongle-1.1.r10 installed, which provides connectivity to a mobile provider. Christian Am 25.11.2012 02:41, schrieb Jonathan Nieder: tags 668142 + moreinfo # assertion failure severity 668142 important quit Hi Christian, Christian Felsing wrote: After restart of Asterisk following line appeared in syslog: [79419.383274] WARNING: at /tmp/buildd/linux-2.6-2.6.32/debian/build/source_i386_openvz/drivers/usb/serial/usb-serial.c:440 serial_unthrottle+0x44/0x5a [usbserial]() Was this reproducible? Can you still reproduce it? Thanks, Jonathan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#668142: linux-image-2.6.32-5-openvz-686: serial_unthrottle+0x44/0x5a [usbserial]()
tags 668142 + moreinfo # assertion failure severity 668142 important quit Hi Christian, Christian Felsing wrote: After restart of Asterisk following line appeared in syslog: [79419.383274] WARNING: at /tmp/buildd/linux-2.6-2.6.32/debian/build/source_i386_openvz/drivers/usb/serial/usb-serial.c:440 serial_unthrottle+0x44/0x5a [usbserial]() Was this reproducible? Can you still reproduce it? Thanks, Jonathan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#668142: linux-image-2.6.32-5-openvz-686: serial_unthrottle+0x44/0x5a [usbserial]()
Package: linux-2.6 Version: 2.6.32-41squeeze2 Severity: normal After restart of Asterisk following line appeared in syslog: [79419.383260] [ cut here ] [79419.383274] WARNING: at /tmp/buildd/linux-2.6-2.6.32/debian/build/source_i386_openvz/drivers/usb/serial/usb-serial.c:440 serial_unthrottle+0x44/0x5a [usbserial]() [79419.383283] Hardware name: MS-9642 [79419.383285] Modules linked in: sg sr_mod cdrom option usb_wwan usbserial usb_storage xt_state ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 vzethdev vznetdev simfs vzrst vzcpt vzdquota vzmon vzdev xt_tcpudp xt_length xt_hl xt_tcpmss xt_TCPMSS iptable_mangle iptable_filter xt_multiport xt_limit xt_dscp ipt_REJECT ip_tables x_tables pppoe pppox vzevent ppp_generic slhc ext2 mbcache 8021q garp stp loop snd_hda_codec_realtek i915 drm_kms_helper snd_hda_intel drm snd_hda_codec i2c_algo_bit snd_hwdep snd_pcm psmouse i2c_i801 i2c_core snd_timer snd video serio_raw evdev output soundcore snd_page_alloc pcspkr rng_core button processor dm_mod btrfs zlib_deflate crc32c libcrc32c sd_mod crc_t10dif ata_generic ata_piix uhci_hcd fan thermal libata ehci_hcd thermal_sys e1000e usbcore nls_base scsi_mod [last unloaded: scsi_wait_scan] [79419.383385] Pid: 15409, comm: asterisk Not tainted 2.6.32-5-openvz-686 #1 [79419.383389] Call Trace: [79419.383398] [c1036d39] ? warn_slowpath_common+0x5e/0x8a [79419.383403] [c1036d6f] ? warn_slowpath_null+0xa/0xc [79419.383409] [f967d4ac] ? serial_unthrottle+0x44/0x5a [usbserial] [79419.383416] [c11927d9] ? tty_unthrottle+0x2d/0x36 [79419.383420] [c119168a] ? n_tty_flush_buffer+0xa/0x5c [79419.383425] [c1193e3b] ? tty_ldisc_flush+0x1c/0x2d [79419.383430] [c1194555] ? tty_port_close_end+0xf/0x99 [79419.383436] [f967d7b3] ? serial_close+0x60/0x72 [usbserial] [79419.383441] [c118f74d] ? tty_release_dev+0x14c/0x3ee [79419.383447] [c1094769] ? free_one_page+0x52/0x5e [79419.383452] [c109503d] ? __free_pages_ok+0x100/0x126 [79419.383458] [c10ca790] ? d_kill+0x3e/0x43 [79419.383462] [c118f9fe] ? tty_release+0xf/0x18 [79419.383468] [c10bedf1] ? __fput+0xd5/0x169 [79419.383473] [c10bc3dc] ? filp_close+0x4e/0x54 [79419.383479] [c1038ae8] ? put_files_struct+0x60/0xa6 [79419.383484] [c103a1cf] ? do_exit+0x1e9/0x64e [79419.383490] [c10442c8] ? signal_wake_up+0x23/0x31 [79419.383495] [c103a693] ? do_group_exit+0x5f/0x82 [79419.383500] [c103a6c7] ? sys_exit_group+0x11/0x14 [79419.383505] [c10082c0] ? syscall_call+0x7/0xb [79419.383509] ---[ end trace b9416849e32a1465 ]--- ---cut here--- usb serial device refers to Bus 003 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem which is used by an Asterisk instance. -- Package-specific info: ** Version: Linux version 2.6.32-5-openvz-686 (Debian 2.6.32-41squeeze2) (da...@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Mar 26 07:54:36 UTC 2012 ** Command line: BOOT_IMAGE=/vmlinuz-2.6.32-5-openvz-686 root=/dev/mapper/vg_int-root ro quiet ** Tainted: W (512) * Taint on warning. ** Kernel log: [9.932289] e1000e :02:00.0: irq 29 for MSI/MSI-X [9.988101] e1000e :02:00.0: irq 29 for MSI/MSI-X [9.988600] ADDRCONF(NETDEV_UP): eth1: link is not ready [ 11.168279] e1000e :03:00.0: irq 30 for MSI/MSI-X [ 11.224105] e1000e :03:00.0: irq 30 for MSI/MSI-X [ 11.224571] ADDRCONF(NETDEV_UP): eth2: link is not ready [ 11.611576] PPP generic driver version 2.4.2 [ 12.736981] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx [ 12.739611] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 12.950553] e1000e: eth2 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None [ 12.950559] e1000e :03:00.0: eth2: 10/100 speed: disabling TSO [ 12.950836] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready [ 16.757391] NET: Registered protocol family 24 [ 21.088006] eth1.2600: no IPv6 routers present [ 23.25] eth1: no IPv6 routers present [ 23.880005] eth2: no IPv6 routers present [ 44.166983] ip_tables: (C) 2000-2006 Netfilter Core Team [ 307.886373] warning: `vzctl' uses 32-bit capabilities (legacy support in use) [ 307.889506] CT: 100: started [ 625.266244] nf_conntrack version 0.5.0 (15999 buckets, 63996 max) [ 625.266622] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use [ 625.266628] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or [ 625.266632] sysctl net.netfilter.nf_conntrack_acct=1 to enable it. [ 926.619650] device eth1 entered promiscuous mode [ 948.920410] device eth1 left promiscuous mode [14724.880012] usb 3-2: new full speed USB device using uhci_hcd and address 2 [14725.047030] usb 3-2: New USB device found, idVendor=12d1, idProduct=1001 [14725.047035] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=1 [14725.047040] usb 3-2: Product: HUAWEI Mobile [14725.047043] usb 3-2: Manufacturer: ÿÿÿ [14725.047048] usb
Bug#668142: linux-image-2.6.32-5-openvz-686: serial_unthrottle+0x44/0x5a [usbserial]()
On Mon, 2012-04-09 at 09:51 +0200, Christian Felsing wrote: Package: linux-2.6 Version: 2.6.32-41squeeze2 Severity: normal After restart of Asterisk following line appeared in syslog: [79419.383260] [ cut here ] [79419.383274] WARNING: at /tmp/buildd/linux-2.6-2.6.32/debian/build/source_i386_openvz/drivers/usb/serial/usb-serial.c:440 serial_unthrottle+0x44/0x5a [usbserial]() [...] It looks like this was fixed upstream by: commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 Author: Andrew McGregor andrew.mcgre...@alliedtelesis.co.nz Date: Mon Jun 13 11:31:31 2011 +1200 tty: fix IRQ45: nobody cared The symptom mentioned here (unexpected IRQ) is different but I think the underlying bug is the same. Can you test the attached patch against the stable kernel? Instructions for this can be found at: http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official. Ben. -- Ben Hutchings Sturgeon's Law: Ninety percent of everything is crap. From: Andrew McGregor andrew.mcgre...@alliedtelesis.co.nz Date: Mon, 13 Jun 2011 11:31:31 +1200 Subject: [PATCH] tty: fix IRQ45: nobody cared commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 upstream. Unthrottling the TTY during close ends up enabling interrupts on a device not on the active list, which will never have the interrupts cleared. Doctor, it hurts when I do this. On 6/2/2011 at 01:56 AM, in message 20110601145608.3e586...@bob.linux.org.uk, Alan Cox a...@linux.intel.com wrote: On Wed, 01 Jun 2011 10:34:07 +1200 andrew mcgregor andrew.mcgre...@alliedtelesis.co.nz wrote: The LKML message http://kerneltrap.org/mailarchive/linux-kernel/2010/2/25/4541847 from February doesn't seem to have been resolved since. We struck the issue, and the patch below (against 2.6.32) fixes it. Should I supply a patch against 3.0.0rc? I think that would be sensible. I don't actually see how you hit it as the IRQ ought to be masked by then but it's certainly wrong for n_tty to be calling into check_unthrottle at that point. So yes please send a patch with a suitable Signed-off-by: line to linux-serial and cc GregKH g...@kroah.com as well. Alan Signed-off-by: Andrew McGregor andrew.mcgre...@alliedtelesis.co.nz Signed-off-by: Greg Kroah-Hartman gre...@suse.de [bwh: Backported to 2.6.32 again: change filename] --- --- a/drivers/char/n_tty.c +++ b/drivers/char/n_tty.c @@ -178,7 +178,6 @@ static void reset_buffer_flags(struct tty_struct *tty) tty-canon_head = tty-canon_data = tty-erasing = 0; memset(tty-read_flags, 0, sizeof tty-read_flags); n_tty_set_room(tty); - check_unthrottle(tty); } /** @@ -1574,6 +1573,7 @@ static int n_tty_open(struct tty_struct *tty) return -ENOMEM; } reset_buffer_flags(tty); + tty_unthrottle(tty); tty-column = 0; n_tty_set_termios(tty, NULL); tty-minimum_to_wake = 1; signature.asc Description: This is a digitally signed message part