I have a KVM switch that effectively disconnects itself from a computer (such as unplugging from the computer). THe switching mechanism works great on my 3 other boxes, but not so with my linux box.
Sometimes (totally out of the blue I can't recreate it, and it doesn't follow any given pattern) the USB keyboard and mouse doesn't come back. I even went so far is to do an rmmod on the modules of ehci_ucd and ohci_ucd and the command hangs. The system is still responsive but USB functionality, even after I switch ports for my KVM is dead.
I get the following message:
Jan 9 22:30:26 linux kernel: usb 2-1.1.4: USB disconnect, address 16
Jan 9 22:30:26 linux kernel: Unable to handle kernel paging request at ffff8100808ce580 RIP:
Jan 9 22:30:26 linux kernel: [<ffffffff802422a9>] strcmp+0x0/0x1a
Jan 9 22:30:26 linux kernel: PGD 8063 PUD 0
Jan 9 22:30:26 linux kernel: Oops: 0000 [1] SMP
Jan 9 22:30:26 linux kernel: last sysfs file: /devices/platform/i2c-9191/9191-0290/in4_input
Jan 9 22:30:26 linux kernel: CPU 0
Jan 9 22:30:26 linux kernel: Modules linked in: snd_rtctimer udf loop vmnet(U) parport_pc vmmon(U) autofs4 it87 hwmon_vid hwmon eeprom i2c_isa nls_utf8 cifs ipv6 vfat fat dm_multipath video sbs i2c_ec button battery asus_acpi ac lp parport snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device nvidia(U) snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd forcedeth k8_edac soundcore edac_mc ohci1394 snd_page_alloc serio_raw ide_cd floppy i2c_nforce2 cdrom ieee1394 i2c_core pl2303 pcspkr shpchp usbserial dm_snapshot dm_zero dm_mirror dm_mod sata_nv libata sd_mod scsi_mod ext3 jbd ehci_hcd ohci_hcd uhci_hcd
Jan 9 22:30:26 linux kernel: Pid: 145, comm: khubd Tainted: P 2.6.18-1.2869.fc6 #1
Jan 9 22:30:26 linux kernel: RIP: 0010:[<ffffffff802422a9>] [<ffffffff802422a9>] strcmp+0x0/0x1a
Jan 9 22:30:26 linux kernel: RSP: 0018:ffff810037d47d08 EFLAGS: 00010246
Jan 9 22:30:26 linux kernel: RAX: ffff8100808ce580 RBX: ffff81007e4fd918 RCX: ffffffff804590d0
Jan 9 22:30:26 linux kernel: RDX: ffff810037ec3110 RSI: ffff810037ec3158 RDI: ffff8100808ce580
Jan 9 22:30:26 linux kernel: RBP: ffff81007e4fd910 R08: ffff81007e57db88 R09: ffff810037ec3110
Jan 9 22:30:26 linux kernel: R10: ffff810037d47d70 R11: ffffffff803a3a62 R12: ffff81007f920248
Jan 9 22:30:26 linux kernel: R13: ffff81007f957640 R14: ffff810037ec3158 R15: ffff81007f3a7800
Jan 9 22:30:26 linux kernel: FS: 0000000046409940(0000) GS:ffffffff805e4000(0000) knlGS:00000000f3343b90
Jan 9 22:30:26 linux kernel: CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
Jan 9 22:30:26 linux kernel: CR2: ffff8100808ce580 CR3: 000000007be02000 CR4: 00000000000006e0
Jan 9 22:30:26 linux kernel: Process khubd (pid: 145, threadinfo ffff810037d46000, task ffff810037d170c0)
Jan 9 22:30:26 linux kernel: Stack: ffffffff802f99df ffff810037ec3150 ffff810037ec3020 ffffffff8058c1b0
Jan 9 22:30:26 linux kernel: ffff81007fcc2088 0000000000000004 ffffffff803a4594 ffff810037ec3210
Jan 9 22:30:26 linux kernel: ffff810037ec3020 ffff810037ec3020 ffffffff803a48b7 0000000000000000
Jan 9 22:30:26 linux kernel: Call Trace:
Jan 9 22:30:26 linux kernel: [<ffffffff802f99df>] sysfs_hash_and_remove+0x5e/0x10e
Jan 9 22:30:26 linux kernel: [<ffffffff803a4594>] __device_release_driver+0x33/0x94
Jan 9 22:30:26 linux kernel: [<ffffffff803a48b7>] device_release_driver+0x3d/0x5f
Jan 9 22:30:26 linux kernel: [<ffffffff803a3e77>] bus_remove_device+0x9b/0xb0
Jan 9 22:30:26 linux kernel: [<ffffffff803a2c33>] device_del+0x149/0x184
Jan 9 22:30:26 linux kernel: [<ffffffff803d4588>] usb_disable_device+0x7c/0xf5
Jan 9 22:30:26 linux kernel: [<ffffffff803d0e60>] usb_disconnect+0xb3/0x137
Jan 9 22:30:26 linux kernel: [<ffffffff803d1b76>] hub_thread+0x3b0/0xb1e
Jan 9 22:30:26 linux kernel: [<ffffffff80232727>] kthread+0xd3/0x106
Jan 9 22:30:26 linux kernel: [<ffffffff8025cb65>] child_rip+0xa/0x11
Jan 9 22:30:26 linux kernel: DWARF2 unwinder stuck at child_rip+0xa/0x11
Jan 9 22:30:26 linux kernel: Leftover inexact backtrace:
Jan 9 22:30:26 linux kernel: [<ffffffff8029a681>] keventd_create_kthread+0x0/0x66
Jan 9 22:30:26 linux kernel: [<ffffffff8035230f>] vgacon_cursor+0x0/0x1a5
Jan 9 22:30:26 linux kernel: [<ffffffff80232654>] kthread+0x0/0x106
Jan 9 22:30:26 linux kernel: [<ffffffff8025cb5b>] child_rip+0x0/0x11
Jan 9 22:30:26 linux kernel:
Jan 9 22:30:26 linux kernel:
Jan 9 22:30:26 linux kernel: Code: 8a 17 88 d0 2a 06 48 ff c6 84 c0 75 09 84 d2 74 05 48 ff c7
Jan 9 22:30:26 linux kernel: RIP [<ffffffff802422a9>] strcmp+0x0/0x1a
Jan 9 22:30:26 linux kernel: RSP <ffff810037d47d08>
Jan 9 22:30:26 linux kernel: CR2: ffff8100808ce580
Jan 9 22:30:26 linux kernel: <3>BUG: sleeping function called from invalid context at kernel/rwsem.c:20
Jan 9 22:30:26 linux kernel: in_atomic():0, irqs_disabled():1
Jan 9 22:30:26 linux kernel:
Jan 9 22:30:26 linux kernel: Call Trace:
Jan 9 22:30:26 linux kernel: [<ffffffff80268e9f>] show_trace+0x34/0x47
Jan 9 22:30:26 linux kernel: [<ffffffff80268ec4>] dump_stack+0x12/0x17
Jan 9 22:30:26 linux kernel: [<ffffffff8029c99c>] down_read+0x15/0x23
Jan 9 22:30:26 linux kernel: [<ffffffff80294f91>] blocking_notifier_call_chain+0x13/0x36
Jan 9 22:30:26 linux kernel: [<ffffffff80214e69>] do_exit+0x1f/0x8c2
Jan 9 22:30:26 linux kernel: [<ffffffff802644e0>] do_page_fault+0x794/0x80f
Jan 9 22:30:26 linux kernel: [<ffffffff8025c99d>] error_exit+0x0/0x84
Jan 9 22:30:26 linux kernel: DWARF2 unwinder stuck at error_exit+0x0/0x84
Jan 9 22:30:26 linux kernel: Leftover inexact backtrace:
Jan 9 22:30:26 linux kernel: [<ffffffff803a3a62>] klist_devices_put+0x0/0xc
Jan 9 22:30:26 linux kernel: [<ffffffff804590d0>] klist_release+0x0/0x45
Jan 9 22:30:26 linux kernel: [<ffffffff802422a9>] strcmp+0x0/0x1a
Jan 9 22:30:26 linux kernel: [<ffffffff802f99df>] sysfs_hash_and_remove+0x5e/0x10e
Jan 9 22:30:26 linux kernel: [<ffffffff803a4594>] __device_release_driver+0x33/0x94
Jan 9 22:30:26 linux kernel: [<ffffffff803a48b7>] device_release_driver+0x3d/0x5f
Jan 9 22:30:26 linux kernel: [<ffffffff803a3e77>] bus_remove_device+0x9b/0xb0
Jan 9 22:30:26 linux kernel: [<ffffffff803a2c33>] device_del+0x149/0x184
Jan 9 22:30:26 linux kernel: [<ffffffff803d4588>] usb_disable_device+0x7c/0xf5
Jan 9 22:30:26 linux kernel: [<ffffffff803d0e60>] usb_disconnect+0xb3/0x137
Jan 9 22:30:26 linux kernel: [<ffffffff803d1b76>] hub_thread+0x3b0/0xb1e
Jan 9 22:30:26 linux kernel: [<ffffffff80260009>] __sched_text_start+0x3f9/0xad1
Jan 9 22:30:26 linux kernel: [<ffffffff8026073f>] thread_return+0x5e/0xef
Jan 9 22:30:26 linux kernel: [<ffffffff8029a835>] autoremove_wake_function+0x0/0x2e
Jan 9 22:30:26 linux kernel: [<ffffffff803d17c6>] hub_thread+0x0/0xb1e
Jan 9 22:30:26 linux kernel: [<ffffffff8029a681>] keventd_create_kthread+0x0/0x66
Jan 9 22:30:26 linux kernel: [<ffffffff80232727>] kthread+0xd3/0x106
Jan 9 22:30:26 linux kernel: [<ffffffff8025cb65>] child_rip+0xa/0x11
Jan 9 22:30:26 linux kernel: [<ffffffff8029a681>] keventd_create_kthread+0x0/0x66
Jan 9 22:30:26 linux kernel: [<ffffffff8035230f>] vgacon_cursor+0x0/0x1a5
Jan 9 22:30:26 linux kernel: [<ffffffff80232654>] kthread+0x0/0x106
Jan 9 22:30:26 linux kernel: [<ffffffff8025cb5b>] child_rip+0x0/0x11
Jan 9 22:30:26 linux kernel:
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: cannot reset port 1 (err = -71)
Jan 9 22:36:31 linux last message repeated 4 times
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: Cannot enable port 1. Maybe the USB cable is bad?
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: cannot disable port 1 (err = -71)
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: cannot reset port 1 (err = -71)
Jan 9 22:36:31 linux last message repeated 4 times
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: Cannot enable port 1. Maybe the USB cable is bad?
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: cannot disable port 1 (err = -71)
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: cannot reset port 1 (err = -71)
Jan 9 22:36:31 linux last message repeated 4 times
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: Cannot enable port 1. Maybe the USB cable is bad?
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: cannot disable port 1 (err = -71)
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: cannot reset port 1 (err = -71)
Jan 9 22:36:31 linux last message repeated 4 times
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: Cannot enable port 1. Maybe the USB cable is bad?
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: cannot disable port 1 (err = -71)
Jan 9 22:36:31 linux kernel: hub 2-1.1:1.0: cannot disable port 1 (err = -71)
Jan 9 22:36:31 linux kernel: usb 2-1: clear tt 1 (0040) error -71
Jan 9 22:36:31 linux last message repeated 24 times
Anyone got any ideas?