Mark Williamson wrote:
>> Woo, nice! I have an external MP3 player that is an USB mass
>> storage hard drive - if the drive happens to spin down when
>> plugging the cable
>
> Hmm, that's a nasty problem - I wonder what causes it.
I'd say it is just a trivial bug in the kernel USB stuff - expecting
some reply to always arrive, when it doesn't if the drive is unplugged
at the unfortunate moment (or the drive dies, as in this case).
>> in, it manages to freeze the USB subsystem in the kernel. Now I can
>> just put it in a separate virtual machine and reboot it :-)
>
> If it's freezing the USB subsystem (and nothing else), it implies a
> problem with the USB core and / or with the host controller driver.
> If it's the latter, you'd have to run the driver for your (hardware)
> host controller in the domain so that could be restarted too - the
> appropriate tool for that would be the existing PCI driver domains
> stuff.
>
> What kind of host controller do you have? (or if you don't know, do
> you have USB 2.0?). Do all other USB devices freeze as well when
> you plug in the MP3 player? And do you get any interesting output
> from dmesg regarding the error?
Dmesg of boot:
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 22 (level, high) -> IRQ 177
ohci_hcd 0000:00:02.0: nVidia Corporation nForce2 USB Controller
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: irq 177, pci mem f896e000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 21 (level, high) -> IRQ 185
ohci_hcd 0000:00:02.1: nVidia Corporation nForce2 USB Controller (#2)
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: irq 185, pci mem f8970000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI interrupt 0000:00:02.2[C] -> GSI 20 (level, high) -> IRQ 193
ehci_hcd 0000:00:02.2: nVidia Corporation nForce2 USB Controller
PCI: Setting latency timer of device 0000:00:02.2 to 64
ehci_hcd 0000:00:02.2: irq 193, pci mem f8972000
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 3
PCI: cache line size of 64 is not supported by device 0000:00:02.2
ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 6 ports detected
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1223 $ Ben Collins <bcollins@xxxxxxxxxx>
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 22 (level, high) -> IRQ 177
PCI: Setting latency timer of device 0000:00:0d.0 to 64
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[177] MMIO=[e2084000-e20847ff]
Max Packet=[2048]
ohci_hcd 0000:00:02.0: wakeup
Dmesg of successful plugging in of the drive:
usb 3-5: new high speed USB device using address 3
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: FUJITSU Model: MHR2040AT Rev: 40BA
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
USB Mass Storage device found at 3
Dmesg of an unsuccessful plugging in of the drive:
usb 3-5: new high speed USB device using address 5
scsi2 : SCSI emulation for USB Mass Storage devices
After that, nothing, no replugging or anything else helps. Only reboot.
-- Naked
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|