Hi Lonnie,
Thanks a lot for your help on the UHCI suspend/resume support :-) I found another problem in QEMU USB support :-( I have 5 different types of USB disks at hand. Two of them can be used properly in Linux and Windows XP guest OS. But other three are not. After issue "usb_add" to enable those three USB disks in guest domain, the guest domain becomes extremely slow. It is the same in Linux and Windows XP guest domain. I checked the log file "/var/log/messages" in Linux guest domain, and found that it caused the following kernel bug: Mar 26 04:40:15 linux-FC5 kernel: BUG: soft lockup detected on CPU#0! The detailed logs when adding the three USB disks is attached at the end of this email. It will be great help if you can give me some instructions on this issue. Have anyone else also met this problem? Thanks Xiaoyang Mar 26 04:39:53 linux-FC5 kernel: usb 1-2: new full speed USB device using uhci_hcd and address 3 Mar 26 04:39:53 linux-FC5 kernel: usb 1-2: configuration #1 chosen from 1 choice Mar 26 04:39:53 linux-FC5 kernel: scsi1 : SCSI emulation for USB Mass Storage devices Mar 26 04:40:15 linux-FC5 kernel: psmouse.c: Explorer Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away. Mar 26 04:40:15 linux-FC5 kernel: BUG: soft lockup detected on CPU#0! Mar 26 04:40:15 linux-FC5 kernel: Mar 26 04:40:15 linux-FC5 kernel: Pid: 0, comm: swapper Mar 26 04:40:15 linux-FC5 kernel: EIP: 0060:[<c02dd5d9>] CPU: 0 Mar 26 04:40:15 linux-FC5 kernel: EIP is at _spin_unlock_irqrestore+0xa/0xc Mar 26 04:40:15 linux-FC5 kernel: EFLAGS: 00000282 Not tainted (2.6.16-1.2096_FC5 #1) Mar 26 04:40:15 linux-FC5 kernel: EAX: c03d5000 EBX: 00000282 ECX: 00000282 EDX: c033d300 Mar 26 04:40:15 linux-FC5 kernel: ESI: 00000000 EDI: 0000029d EBP: 00000001 DS: 007b ES: 007b Mar 26 04:40:15 linux-FC5 kernel: CR0: 8005003b CR2: b7f7f000 CR3: 048b4000 CR4: 000006d0 Mar 26 04:40:15 linux-FC5 kernel: [<c021e261>] i8042_interrupt+0x9e/0x1fd [<c01393e6>] handle_IRQ_event+0x23/0x4c Mar 26 04:40:15 linux-FC5 kernel: [<c0139489>] __do_IRQ+0x7a/0xcd [<c0104c3b>] do_IRQ+0x69/0x77 Mar 26 04:40:15 linux-FC5 kernel: [<c01035b6>] common_interrupt+0x1a/0x20 [<c012007b>] do_proc_dointvec_jiffies_conv+0x42/0x54 Mar 26 04:40:15 linux-FC5 kernel: [<c02dd5d9>] _spin_unlock_irqrestore+0xa/0xc [<c021e261>] i8042_interrupt+0x9e/0x1fd Mar 26 04:40:15 linux-FC5 kernel: [<c01393e6>] handle_IRQ_event+0x23/0x4c [<c0139489>] __do_IRQ+0x7a/0xcd Mar 26 04:40:15 linux-FC5 kernel: [<c0104c3b>] do_IRQ+0x69/0x77 [<c01035b6>] common_interrupt+0x1a/0x20 Mar 26 04:40:15 linux-FC5 kernel: [<d08fe391>] uhci_irq+0x1a/0x138 [uhci_hcd] [<c025c847>] usb_hcd_irq+0x23/0x4f Mar 26 04:40:15 linux-FC5 kernel: [<c01393e6>] handle_IRQ_event+0x23/0x4c [<c0139489>] __do_IRQ+0x7a/0xcd Mar 26 04:40:15 linux-FC5 kernel: [<c021e3c0>] i8042_timer_func+0x0/0xb [<c0104c2e>] do_IRQ+0x5c/0x77 Mar 26 04:40:15 linux-FC5 kernel: ======================= Mar 26 04:40:15 linux-FC5 kernel: [<c01035b6>] common_interrupt+0x1a/0x20 [<c021e3c0>] i8042_timer_func+0x0/0xb Mar 26 04:40:15 linux-FC5 kernel: [<c012007b>] do_proc_dointvec_jiffies_conv+0x42/0x54 [<c02dd5d9>] _spin_unlock_irqrestore+0xa/0xc Mar 26 04:40:15 linux-FC5 kernel: [<c021e210>] i8042_interrupt+0x4d/0x1fd [<c021e3c0>] i8042_timer_func+0x0/0xb Mar 26 04:40:15 linux-FC5 kernel: [<c0122d8c>] run_timer_softirq+0x126/0x186 [<c011f812>] __do_softirq+0x35/0x7f Mar 26 04:40:15 linux-FC5 kernel: [<c0104c81>] do_softirq+0x38/0x3f ======================= Mar 26 04:40:15 linux-FC5 kernel: [<c0104c40>] do_IRQ+0x6e/0x77 Mar 26 04:40:15 linux-FC5 kernel: [<c01035b6>] common_interrupt+0x1a/0x20 [<c01114ad>] apm_bios_call_simple+0x75/0xb3 Mar 26 04:40:15 linux-FC5 kernel: [<c02dd5cd>] _spin_unlock_irq+0x5/0x7 [<c02dc257>] schedule+0x4a1/0x4ff Mar 26 04:40:15 linux-FC5 kernel: [<c0111b63>] apm_cpu_idle+0xeb/0x1e5 [<c0101e76>] cpu_idle+0x3a/0x4f Mar 26 04:40:15 linux-FC5 kernel: [<c03a36a3>] start_kernel+0x28c/0x28e <6>usb 1-2: USB disconnect, address 3 Mar 26 04:40:15 linux-FC5 kernel: 1:0:0:0: scsi: Device offlined - not ready after error recovery Mar 26 04:49:29 linux-FC5 kernel: usb 1-2: new full speed USB device using uhci_hcd and address 9 Mar 26 04:49:29 linux-FC5 kernel: usb 1-2: configuration #1 chosen from 1 choice Mar 26 04:49:29 linux-FC5 kernel: scsi3 : SCSI emulation for USB Mass Storage devices Mar 26 04:49:47 linux-FC5 kernel: psmouse.c: Explorer Mouse at isa0060/serio1/input0 lost synchronization, throwing 3 bytes away. Mar 26 04:49:47 linux-FC5 kernel: BUG: soft lockup detected on CPU#0! Mar 26 04:49:47 linux-FC5 kernel: Mar 26 04:49:47 linux-FC5 kernel: Pid: 0, comm: swapper Mar 26 04:49:47 linux-FC5 kernel: EIP: 0060:[<c02dd5d9>] CPU: 0 Mar 26 04:49:47 linux-FC5 kernel: EIP is at _spin_unlock_irqrestore+0xa/0xc Mar 26 04:49:47 linux-FC5 kernel: EFLAGS: 00000282 Not tainted (2.6.16-1.2096_FC5 #1) Mar 26 04:49:47 linux-FC5 kernel: EAX: c03d5000 EBX: 00000282 ECX: 00000282 EDX: c033d300 Mar 26 04:49:47 linux-FC5 kernel: ESI: 00000000 EDI: 00000218 EBP: 0000000c DS: 007b ES: 007b Mar 26 04:49:47 linux-FC5 kernel: CR0: 8005003b CR2: b7f7f000 CR3: 048b4000 CR4: 000006d0 Mar 26 04:49:47 linux-FC5 kernel: [<c021e261>] i8042_interrupt+0x9e/0x1fd Mar 26 04:49:47 linux-FC5 kernel: [<c015793d>] bio_endio+0x37/0x54 [<c01393e6>] handle_IRQ_event+0x23/0x4c Mar 26 04:49:47 linux-FC5 kernel: [<c0139489>] __do_IRQ+0x7a/0xcd [<c0104c3b>] do_IRQ+0x69/0x77 Mar 26 04:49:47 linux-FC5 kernel: [<c01035b6>] common_interrupt+0x1a/0x20 [<c01393da>] handle_IRQ_event+0x17/0x4c Mar 26 04:49:47 linux-FC5 kernel: [<c0139489>] __do_IRQ+0x7a/0xcd [<c0104c2e>] do_IRQ+0x5c/0x77 Mar 26 04:49:47 linux-FC5 kernel: ======================= Mar 26 04:49:47 linux-FC5 kernel: [<c01035b6>] common_interrupt+0x1a/0x20 [<c02dd5d9>] _spin_unlock_irqrestore+0xa/0xc Mar 26 04:49:47 linux-FC5 kernel: [<d08fde53>] uhci_hub_status_data+0x1dd/0x1e7 [uhci_hcd] [<c012d76f>] ktime_get_ts+0x11/0x3a Mar 26 04:49:47 linux-FC5 kernel: [<c025c0a6>] rh_timer_func+0x0/0x5 [<c025bf9d>] usb_hcd_poll_rh_status+0x32/0x13b Mar 26 04:49:47 linux-FC5 kernel: [<c025c0a6>] rh_timer_func+0x0/0x5 [<c0122d8c>] run_timer_softirq+0x126/0x186 Mar 26 04:49:47 linux-FC5 kernel: [<c011f812>] __do_softirq+0x35/0x7f [<c0104c81>] do_softirq+0x38/0x3f Mar 26 04:49:48 linux-FC5 kernel: ======================= Mar 26 04:49:48 linux-FC5 kernel: [<c0104c40>] do_IRQ+0x6e/0x77 [<c01035b6>] common_interrupt+0x1a/0x20 Mar 26 04:49:48 linux-FC5 kernel: [<c01114ad>] apm_bios_call_simple+0x75/0xb3 [<c02dd5cd>] _spin_unlock_irq+0x5/0x7 Mar 26 04:49:48 linux-FC5 kernel: [<c02dc257>] schedule+0x4a1/0x4ff [<c0111b63>] apm_cpu_idle+0xeb/0x1e5 Mar 26 04:49:48 linux-FC5 kernel: [<c0101e76>] cpu_idle+0x3a/0x4f [<c03a36a3>] start_kernel+0x28c/0x28e Mar 26 04:49:48 linux-FC5 kernel: usb 1-2: USB disconnect, address 9 Mar 26 04:49:48 linux-FC5 kernel: 3:0:0:0: scsi: Device offlined - not ready after error recovery Mar 26 04:57:22 linux-FC5 kernel: usb 1-2: new full speed USB device using uhci_hcd and address 15 Mar 26 04:57:23 linux-FC5 kernel: usb 1-2: configuration #1 chosen from 1 choice Mar 26 04:57:23 linux-FC5 kernel: scsi5 : SCSI emulation for USB Mass Storage devices Mar 26 04:57:28 linux-FC5 kernel: Vendor: ON-DATA Model: Rev: 7.77 Mar 26 04:57:28 linux-FC5 kernel: Type: Direct-Access ANSI SCSI revision: 02 Mar 26 04:57:28 linux-FC5 kernel: SCSI device sda: 128000 512-byte hdwr sectors (66 MB) Mar 26 04:57:41 linux-FC5 kernel: psmouse.c: Explorer Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away. Mar 26 04:57:41 linux-FC5 kernel: BUG: soft lockup detected on CPU#0! Mar 26 04:57:41 linux-FC5 kernel: Mar 26 04:57:41 linux-FC5 kernel: Pid: 0, comm: swapper Mar 26 04:57:41 linux-FC5 kernel: EIP: 0060:[<c02dd5d9>] CPU: 0 Mar 26 04:57:41 linux-FC5 kernel: EIP is at _spin_unlock_irqrestore+0xa/0xc Mar 26 04:57:41 linux-FC5 kernel: EFLAGS: 00000282 Not tainted (2.6.16-1.2096_FC5 #1) Mar 26 04:57:41 linux-FC5 kernel: EAX: c03d5000 EBX: 00000282 ECX: 00000282 EDX: c033d300 Mar 26 04:57:41 linux-FC5 kernel: ESI: 00000000 EDI: 00000200 EBP: 0000000c DS: 007b ES: 007b Mar 26 04:57:41 linux-FC5 kernel: CR0: 8005003b CR2: 001d350c CR3: 048b4000 CR4: 000006d0 Mar 26 04:57:41 linux-FC5 kernel: [<c021e261>] i8042_interrupt+0x9e/0x1fd [<c01393e6>] handle_IRQ_event+0x23/0x4c Mar 26 04:57:41 linux-FC5 kernel: [<c0139489>] __do_IRQ+0x7a/0xcd [<c0104c3b>] do_IRQ+0x69/0x77 Mar 26 04:57:41 linux-FC5 kernel: [<c01035b6>] common_interrupt+0x1a/0x20 [<c011007b>] wakeup_code+0x7b/0xba Mar 26 04:57:41 linux-FC5 kernel: [<d08fe391>] uhci_irq+0x1a/0x138 [uhci_hcd] [<c025c847>] usb_hcd_irq+0x23/0x4f Mar 26 04:57:41 linux-FC5 kernel: [<c01393e6>] handle_IRQ_event+0x23/0x4c [<c0139489>] __do_IRQ+0x7a/0xcd Mar 26 04:57:41 linux-FC5 kernel: [<c0104c3b>] do_IRQ+0x69/0x77 [<c01035b6>] common_interrupt+0x1a/0x20 Mar 26 04:57:41 linux-FC5 kernel: [<c01be820>] cfq_queue_empty+0x0/0x11 [<c02dd5d9>] _spin_unlock_irqrestore+0xa/0xc Mar 26 04:57:41 linux-FC5 kernel: [<c023bacc>] ide_intr+0x182/0x18d [<c01393e6>] handle_IRQ_event+0x23/0x4c Mar 26 04:57:41 linux-FC5 kernel: [<c0139489>] __do_IRQ+0x7a/0xcd [<c0104c2e>] do_IRQ+0x5c/0x77 Mar 26 04:57:41 linux-FC5 kernel: ======================= Mar 26 04:57:41 linux-FC5 kernel: [<c01035b6>] common_interrupt+0x1a/0x20 [<c011f809>] __do_softirq+0x2c/0x7f Mar 26 04:57:41 linux-FC5 kernel: [<c0104c81>] do_softirq+0x38/0x3f ======================= Mar 26 04:57:41 linux-FC5 kernel: [<c0104c40>] do_IRQ+0x6e/0x77 Mar 26 04:57:41 linux-FC5 kernel: [<c01035b6>] common_interrupt+0x1a/0x20 [<c01114ad>] apm_bios_call_simple+0x75/0xb3 Mar 26 04:57:41 linux-FC5 kernel: [<c02dd5cd>] _spin_unlock_irq+0x5/0x7 [<c02dc257>] schedule+0x4a1/0x4ff Mar 26 04:57:41 linux-FC5 kernel: [<c0111b63>] apm_cpu_idle+0xeb/0x1e5 [<c0101e76>] cpu_idle+0x3a/0x4f Mar 26 04:57:41 linux-FC5 kernel: [<c03a36a3>] start_kernel+0x28c/0x28e <6>usb 1-2: USB disconnect, address 15 Mar 26 04:57:41 linux-FC5 kernel: sda: Write Protect is off Mar 26 04:57:41 linux-FC5 kernel: sda: assuming drive cache: write through Mar 26 04:57:41 linux-FC5 kernel: sda : READ CAPACITY failed. Mar 26 04:57:41 linux-FC5 kernel: sda : status=0, message=00, host=1, driver=00 Mar 26 04:57:41 linux-FC5 kernel: sda : sense not available. Mar 26 04:57:41 linux-FC5 kernel: sda: Write Protect is off Mar 26 04:57:41 linux-FC5 kernel: sda: assuming drive cache: write through Mar 26 04:57:41 linux-FC5 kernel: sda : READ CAPACITY failed. Mar 26 04:57:41 linux-FC5 kernel: sda : status=0, message=00, host=1, driver=00 Mar 26 04:57:41 linux-FC5 kernel: sda : sense not available. Mar 26 04:57:41 linux-FC5 kernel: sda: Write Protect is off Mar 26 04:57:41 linux-FC5 kernel: sda: assuming drive cache: write through Mar 26 04:57:41 linux-FC5 kernel: sda:<3>Buffer I/O error on device sda, logical block 0 Mar 26 04:57:41 linux-FC5 kernel: Buffer I/O error on device sda, logical block 0 Mar 26 04:57:41 linux-FC5 kernel: Buffer I/O error on device sda, logical block 0 Mar 26 04:57:41 linux-FC5 kernel: unable to read partition table Mar 26 04:57:41 linux-FC5 kernel: sd 5:0:0:0: Attached scsi removable disk sda Mar 26 04:57:41 linux-FC5 kernel: sd 5:0:0:0: Attached scsi generic sg0 type 0