Bug#597520: nvidia-kernel-2.6.32-5-xxx: breaks serial communication

Roland Stigge stigge at antcom.de
Mon Sep 20 13:27:00 UTC 2010


Package: nvidia-kernel-2.6.32-5-amd64
Version: 195.36.31+1+2+2.6.32-20
Severity: important

Hi,

I'm assigning to nvidia-kernel-* because it fits most closely where the error
occurs. Sorry if I'm wrong, just reassign to some other kernel (or related)
package if appropriate.

I'm using a desktop system with nvidia X11 drivers and serial ports on a
multiple USB-to-serial(8x) adapter. While I'm sending character lines to serial
ports (e.g. /dev/ttyUSB1 and /dev/ttyUSB4), my script outputs this via a gnome
terminal, which is _scrolling fast_ (I think this is related to the problem).

This way, I get the following backtrace in dmesg after a while (with squeeze
default kernel on amd64):

[ 2707.204525] ------------[ cut here ]------------
[ 2707.204542] WARNING: at /build/buildd-linux-2.6_2.6.32-22-i386-Nf7Z7O/linux-2.6-2.6.32/debian/build/source_i386_n
one/drivers/usb/serial/usb-serial.c:406 serial_write_room+0x53/0x6a [usbserial]()
[ 2707.204545] Hardware name: HP Compaq dc5800 Microtower
[ 2707.204547] Modules linked in: acpi_cpufreq cpufreq_stats cpufreq_userspace cpufreq_conservative ip6table_filter cpufreq_powersave ip6_tables iptable_filter ppdev lp sco rfcomm bnep l2cap crc16 bluetooth rfkill kvm_intel binfmt_misc kvm nls_utf8 cifs nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc tun ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables fuse loop snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc nvidia(P) parport_pc ftdi_sio pcspkr usbserial button parport evdev wmi i2c_core psmouse processor serio_raw ext3 jbd mbcache dm_mod sg sr_mod cdrom sd_mod crc_t10dif ata_generic uhci_hcd ehci_hcd thermal ata_piix floppy r8169 mii libata thermal_sys scsi_mod e1000e usbcore nls_base [last unloaded: scsi_wait_scan]
[ 2707.204606] Pid: 10, comm: events/1 Tainted: P           2.6.32-5-amd64 #1
[ 2707.204608] Call Trace:
[ 2707.204614]  [<ffffffffa021b760>] ? serial_write_room+0x53/0x6a [usbserial]
[ 2707.204619]  [<ffffffffa021b760>] ? serial_write_room+0x53/0x6a [usbserial]
[ 2707.204624]  [<ffffffff8104ca1c>] ? warn_slowpath_common+0x77/0xa3
[ 2707.204628]  [<ffffffff81048f00>] ? default_wake_function+0x0/0x9
[ 2707.204633]  [<ffffffffa021b760>] ? serial_write_room+0x53/0x6a [usbserial]
[ 2707.204637]  [<ffffffff811f715e>] ? process_echoes+0x4d/0x29d
[ 2707.204641]  [<ffffffff811f88a4>] ? n_tty_receive_buf+0x2e1/0xd68
[ 2707.204644]  [<ffffffff81046d49>] ? finish_task_switch+0x3a/0xaf
[ 2707.204649]  [<ffffffff812f4b67>] ? thread_return+0x79/0xe0
[ 2707.204652]  [<ffffffff811fb198>] ? flush_to_ldisc+0xfa/0x1af
[ 2707.204656]  [<ffffffff810600fb>] ? worker_thread+0x188/0x21d
[ 2707.204659]  [<ffffffff811fb09e>] ? flush_to_ldisc+0x0/0x1af
[ 2707.204663]  [<ffffffff81063726>] ? autoremove_wake_function+0x0/0x2e
[ 2707.204666]  [<ffffffff8105ff73>] ? worker_thread+0x0/0x21d
[ 2707.204668]  [<ffffffff81063459>] ? kthread+0x79/0x81
[ 2707.204672]  [<ffffffff81011baa>] ? child_rip+0xa/0x20
[ 2707.204675]  [<ffffffff810633e0>] ? kthread+0x0/0x81
[ 2707.204678]  [<ffffffff81011ba0>] ? child_rip+0x0/0x20
[ 2707.204680] ---[ end trace c5b58cb626014218 ]---
[ 2707.204682] ------------[ cut here ]------------
[ 2707.204686] WARNING: at /build/buildd-linux-2.6_2.6.32-22-i386-Nf7Z7O/linux-2.6-2.6.32/debian/build/source_i386_none/drivers/usb/serial/usb-serial.c:393 serial_write+0x78/0x9b [usbserial]()
[ 2707.204689] Hardware name: HP Compaq dc5800 Microtower
[ 2707.204691] Modules linked in: acpi_cpufreq cpufreq_stats cpufreq_userspace cpufreq_conservative ip6table_filter cpufreq_powersave ip6_tables iptable_filter ppdev lp sco rfcomm bnep l2cap crc16 bluetooth rfkill kvm_intel binfmt_misc kvm nls_utf8 cifs nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc tun ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables fuse loop snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc nvidia(P) parport_pc ftdi_sio pcspkr usbserial button parport evdev wmi i2c_core psmouse processor serio_raw ext3 jbd mbcache dm_mod sg sr_mod cdrom sd_mod crc_t10dif ata_generic uhci_hcd ehci_hcd thermal ata_piix floppy r8169 mii libata thermal_sys scsi_mod e1000e usbcore nls_base [last unloaded: scsi_wait_scan]
[ 2707.204744] Pid: 10, comm: events/1 Tainted: P        W  2.6.32-5-amd64 #1
[ 2707.204746] Call Trace:
[ 2707.204750]  [<ffffffffa021b7ef>] ? serial_write+0x78/0x9b [usbserial]
[ 2707.204755]  [<ffffffffa021b7ef>] ? serial_write+0x78/0x9b [usbserial]
[ 2707.204758]  [<ffffffff8104ca1c>] ? warn_slowpath_common+0x77/0xa3
[ 2707.204763]  [<ffffffffa021b7ef>] ? serial_write+0x78/0x9b [usbserial]
[ 2707.204766]  [<ffffffff81048f00>] ? default_wake_function+0x0/0x9
[ 2707.204769]  [<ffffffff811f3bba>] ? tty_put_char+0x2b/0x2d
[ 2707.204772]  [<ffffffff811f70bd>] ? do_output_char+0x1be/0x1cf
[ 2707.204775]  [<ffffffff811f72e5>] ? process_echoes+0x1d4/0x29d
[ 2707.204778]  [<ffffffff811f88a4>] ? n_tty_receive_buf+0x2e1/0xd68
[ 2707.204782]  [<ffffffff81046d49>] ? finish_task_switch+0x3a/0xaf
[ 2707.204785]  [<ffffffff812f4b67>] ? thread_return+0x79/0xe0
[ 2707.204788]  [<ffffffff811fb198>] ? flush_to_ldisc+0xfa/0x1af
[ 2707.204792]  [<ffffffff810600fb>] ? worker_thread+0x188/0x21d
[ 2707.204795]  [<ffffffff811fb09e>] ? flush_to_ldisc+0x0/0x1af
[ 2707.204798]  [<ffffffff81063726>] ? autoremove_wake_function+0x0/0x2e
[ 2707.204801]  [<ffffffff8105ff73>] ? worker_thread+0x0/0x21d
[ 2707.204803]  [<ffffffff81063459>] ? kthread+0x79/0x81
[ 2707.204807]  [<ffffffff81011baa>] ? child_rip+0xa/0x20
[ 2707.204809]  [<ffffffff810633e0>] ? kthread+0x0/0x81
[ 2707.204812]  [<ffffffff81011ba0>] ? child_rip+0x0/0x20
[ 2707.204814] ---[ end trace c5b58cb626014219 ]---
[ 2827.047016]  CIFS VFS: server 192.168.11.212 of type Samba 3.2.5 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
[ 2862.525993] soffice.bin[5727]: segfault at f33cc209 ip 00000000f33cc209 sp 00000000eff241a0 error 14 in libglib-2.0.so.0.2400.2[f346d000+c8000]

On i386, it looks slightly different (but worrying anyway):

Sep 20 14:16:40 rst-pc1 kernel: [  446.440534] ------------[ cut here ]------------
Sep 20 14:16:40 rst-pc1 kernel: [  446.440551] WARNING: at /build/buildd-linux-2.6_2.6.32-23-i386-x1D1UQ/linux-2.6-2.6.32/debian/build/source_i386_none/drivers/usb/serial/usb-serial.c:406 serial_write_room+0x44/0x54 [usbserial]()
Sep 20 14:16:40 rst-pc1 kernel: [  446.440554] Hardware name: HP Compaq dc5800 Microtower
Sep 20 14:16:40 rst-pc1 kernel: [  446.440556] Modules linked in: ip6table_filter ip6_tables acpi_cpufreq cpufreq_stats iptable_filter cpufreq_userspace cpufreq_conservative cpufreq_powersave ppdev lp sco rfcomm bnep l2cap crc16 bluetooth rfkill binfmt_misc kvm_intel kvm nls_utf8 cifs nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc tun ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables fuse loop snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc ftdi_sio parport_pc nvidia(P) i2c_core usbserial parport processor button wmi evdev pcspkr psmouse serio_raw ext3 jbd mbcache dm_mod sg sr_mod cdrom sd_mod crc_t10dif ata_generic floppy r8169 ata_piix mii libata thermal uhci_hcd thermal_sys ehci_hcd scsi_mod e1000e usbcore nls_base [last unloaded: scsi_wait_scan]
Sep 20 14:16:40 rst-pc1 kernel: [  446.440619] Pid: 10, comm: events/1 Tainted: P           2.6.32-5-686 #1
Sep 20 14:16:40 rst-pc1 kernel: [  446.440621] Call Trace:
Sep 20 14:16:40 rst-pc1 kernel: [  446.440627]  [<c103014d>] ? warn_slowpath_common+0x5e/0x8a
Sep 20 14:16:40 rst-pc1 kernel: [  446.440631]  [<c1030183>] ? warn_slowpath_null+0xa/0xc
Sep 20 14:16:40 rst-pc1 kernel: [  446.440638]  [<f80d65d1>] ? serial_write_room+0x44/0x54 [usbserial]
Sep 20 14:16:40 rst-pc1 kernel: [  446.440642]  [<c1191bdc>] ? tty_write_room+0x15/0x16
Sep 20 14:16:40 rst-pc1 kernel: [  446.440645]  [<c118ff55>] ? process_echoes+0x3c/0x25f
Sep 20 14:16:40 rst-pc1 kernel: [  446.440650]  [<c126c616>] ? mutex_lock+0xb/0x24
Sep 20 14:16:40 rst-pc1 kernel: [  446.440653]  [<c1191130>] ? n_tty_receive_buf+0x2f4/0xcaf
Sep 20 14:16:40 rst-pc1 kernel: [  446.440657]  [<c1001f10>] ? __switch_to+0xcf/0x141
Sep 20 14:16:40 rst-pc1 kernel: [  446.440661]  [<c102b119>] ? finish_task_switch+0x34/0x95
Sep 20 14:16:40 rst-pc1 kernel: [  446.440664]  [<c126bdd6>] ? schedule+0x78f/0x7dc
Sep 20 14:16:40 rst-pc1 kernel: [  446.440668]  [<c1193655>] ? flush_to_ldisc+0xd0/0x163
Sep 20 14:16:40 rst-pc1 kernel: [  446.440672]  [<c1040c33>] ? worker_thread+0x141/0x1bd
Sep 20 14:16:40 rst-pc1 kernel: [  446.440675]  [<c1193585>] ? flush_to_ldisc+0x0/0x163
Sep 20 14:16:40 rst-pc1 kernel: [  446.440679]  [<c104396a>] ? autoremove_wake_function+0x0/0x2d
Sep 20 14:16:40 rst-pc1 kernel: [  446.440682]  [<c1040af2>] ? worker_thread+0x0/0x1bd
Sep 20 14:16:40 rst-pc1 kernel: [  446.440685]  [<c1043738>] ? kthread+0x61/0x66
Sep 20 14:16:40 rst-pc1 kernel: [  446.440688]  [<c10436d7>] ? kthread+0x0/0x66
Sep 20 14:16:40 rst-pc1 kernel: [  446.440691]  [<c1003d47>] ? kernel_thread_helper+0x7/0x10
Sep 20 14:16:40 rst-pc1 kernel: [  446.440693] ---[ end trace 9c90be9a6483e48d ]---
Sep 20 14:16:40 rst-pc1 kernel: [  446.440695] ------------[ cut here ]------------
Sep 20 14:16:40 rst-pc1 kernel: [  446.440702] WARNING: at /build/buildd-linux-2.6_2.6.32-23-i386-x1D1UQ/linux-2.6-2.6.32/debian/build/source_i386_none/drivers/usb/serial/usb-serial.c:393 serial_write+0x5e/0x7d [usbserial]()
Sep 20 14:16:40 rst-pc1 kernel: [  446.440705] Hardware name: HP Compaq dc5800 Microtower
Sep 20 14:16:40 rst-pc1 kernel: [  446.440706] Modules linked in: ip6table_filter ip6_tables acpi_cpufreq cpufreq_stats iptable_filter cpufreq_userspace cpufreq_conservative cpufreq_powersave ppdev lp sco rfcomm bnep l2cap crc16 bluetooth rfkill binfmt_misc kvm_intel kvm nls_utf8 cifs nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc tun ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables fuse loop snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc ftdi_sio parport_pc nvidia(P) i2c_core usbserial parport processor button wmi evdev pcspkr psmouse serio_raw ext3 jbd mbcache dm_mod sg sr_mod cdrom sd_mod crc_t10dif ata_generic floppy r8169 ata_piix mii libata thermal uhci_hcd thermal_sys ehci_hcd scsi_mod e1000e usbcore nls_base [last unloaded: scsi_wait_scan]
Sep 20 14:16:40 rst-pc1 kernel: [  446.440764] Pid: 10, comm: events/1 Tainted: P        W  2.6.32-5-686 #1
Sep 20 14:16:40 rst-pc1 kernel: [  446.440766] Call Trace:
Sep 20 14:16:40 rst-pc1 kernel: [  446.440769]  [<c103014d>] ? warn_slowpath_common+0x5e/0x8a
Sep 20 14:16:40 rst-pc1 kernel: [  446.440774]  [<c1030183>] ? warn_slowpath_null+0xa/0xc
Sep 20 14:16:40 rst-pc1 kernel: [  446.440779]  [<f80d663f>] ? serial_write+0x5e/0x7d [usbserial]
Sep 20 14:16:40 rst-pc1 kernel: [  446.440784]  [<c118cf15>] ? tty_put_char+0x22/0x25
Sep 20 14:16:40 rst-pc1 kernel: [  446.440787]  [<c118fec5>] ? do_output_char+0x190/0x1a9
Sep 20 14:16:40 rst-pc1 kernel: [  446.440790]  [<c11900cb>] ? process_echoes+0x1b2/0x25f
Sep 20 14:16:40 rst-pc1 kernel: [  446.440793]  [<c1191130>] ? n_tty_receive_buf+0x2f4/0xcaf
Sep 20 14:16:40 rst-pc1 kernel: [  446.440797]  [<c1001f10>] ? __switch_to+0xcf/0x141
Sep 20 14:16:40 rst-pc1 kernel: [  446.440800]  [<c102b119>] ? finish_task_switch+0x34/0x95
Sep 20 14:16:40 rst-pc1 kernel: [  446.440804]  [<c126bdd6>] ? schedule+0x78f/0x7dc
Sep 20 14:16:40 rst-pc1 kernel: [  446.440807]  [<c1193655>] ? flush_to_ldisc+0xd0/0x163
Sep 20 14:16:40 rst-pc1 kernel: [  446.440810]  [<c1040c33>] ? worker_thread+0x141/0x1bd
Sep 20 14:16:40 rst-pc1 kernel: [  446.440814]  [<c1193585>] ? flush_to_ldisc+0x0/0x163
Sep 20 14:16:40 rst-pc1 kernel: [  446.440817]  [<c104396a>] ? autoremove_wake_function+0x0/0x2d
Sep 20 14:16:40 rst-pc1 kernel: [  446.440820]  [<c1040af2>] ? worker_thread+0x0/0x1bd
Sep 20 14:16:40 rst-pc1 kernel: [  446.440823]  [<c1043738>] ? kthread+0x61/0x66
Sep 20 14:16:40 rst-pc1 kernel: [  446.440826]  [<c10436d7>] ? kthread+0x0/0x66
Sep 20 14:16:40 rst-pc1 kernel: [  446.440829]  [<c1003d47>] ? kernel_thread_helper+0x7/0x10
Sep 20 14:16:40 rst-pc1 kernel: [  446.440831] ---[ end trace 9c90be9a6483e48e ]---

At the same time, the serial output gets corrupted and stops.

Interestingly, the problem completely disappears when I shut down X11 and
unload nvidia.ko.

When I leave X11 running, but run my script from another virtual console, the
above traces don't show up but serial output gets corrupted anyway.

Thanks for considering. Just tell me if I can help somehow on debugging this.

Roland


-- Package-specific info:
uname -a:
Linux rst-pc1 2.6.32-5-amd64 #1 SMP Sat Sep 18 03:26:20 UTC 2010 x86_64 GNU/Linux

/proc/version:
Linux version 2.6.32-5-amd64 (Debian 2.6.32-23) (dannf at debian.org) (gcc version 4.3.5 (Debian 4.3.5-3) ) #1 SMP Sat Sep 18 03:26:20 UTC 2010

/proc/driver/nvidia/version: 
NVRM version: NVIDIA UNIX x86_64 Kernel Module  195.36.31  Thu Jun  3 08:19:50 PDT 2010
GCC version:  gcc version 4.3.5 (Debian 4.3.5-2) 

lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: nVidia Corporation G98 [GeForce 8400 GS] [10de:06e4] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device [1043:8266]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at f2000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at f0000000 (64-bit, non-prefetchable) [size=32M]
	Region 5: I/O ports at 2100 [size=128]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: nvidia


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-2.6.32-5-amd64 depends on:
ii  linux-image-2.6.32-5-amd64    2.6.32-23  Linux 2.6.32 for 64-bit PCs
ii  nvidia-kernel-common          20100522+2 NVIDIA binary kernel module suppor

nvidia-kernel-2.6.32-5-amd64 recommends no packages.

nvidia-kernel-2.6.32-5-amd64 suggests no packages.

Versions of packages nvidia-glx depends on:
ii  dpkg 1.15.8.5                            Debian package management system
ii  libc 2.11.2-6                            Embedded GNU C Library: Shared lib
ii  libg 195.36.31-3                         NVIDIA binary OpenGL libraries
ii  libg 195.36.31-3                         simplifies replacing Xorg module l
ii  nvid 195.36.31-3+2.6.32-11               NVIDIA binary kernel module for Li
ii  nvid 195.36.31+1+2+2.6.32-20             NVIDIA binary kernel module for Li
ii  nvid 195.36.31+1+2+2.6.32-20             NVIDIA binary kernel module for Li
ii  nvid 195.36.31-3+2.6.35-1~experimental.3 NVIDIA binary kernel module for Li

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     8.0.0      helper programs for debian/rules
ii  make                          3.81-8     An utility for Directing compilati
ii  quilt                         0.48-7     Tool to work with series of patche

Versions of packages nvidia-kernel-2.6.32-5-amd64 is related to:
ii  binutils         2.20.1-15               The GNU assembler, linker and bina
pn  binutils-gold    <none>                  (no description available)
ii  linux-headers-2. 2.6.26-19lenny2         Header files for Linux 2.6.26-2-68
ii  linux-headers-2. 2.6.32-8                Header files for Linux 2.6.32-2-68
ii  linux-headers-2. 2.6.32-8                Header files for Linux 2.6.32-2-am
ii  linux-headers-2. 2.6.32-9                Header files for Linux 2.6.32-3-am
ii  linux-headers-2. 2.6.32-11               Header files for Linux 2.6.32-4-am
ii  linux-headers-2. 2.6.32-23               Header files for Linux 2.6.32-5-68
ii  linux-headers-2. 2.6.32-23               Header files for Linux 2.6.32-5-am
ii  linux-headers-2. 2.6.35-1~experimental.3 Header files for Linux 2.6.35-trun
ii  nvidia-glx [nvid 195.36.31-3             NVIDIA binary Xorg driver
ii  nvidia-kernel-co 20100522+2              NVIDIA binary kernel module suppor
pn  nvidia-kernel-dk <none>                  (no description available)
ii  nvidia-kernel-so 195.36.31-3             NVIDIA binary kernel module source
ii  xserver-xorg     1:7.5+7                 the X.Org X server
ii  xserver-xorg-cor 2:1.7.7-6               Xorg X server - core server

-- no debconf information





More information about the pkg-nvidia-devel mailing list