WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [updated] Re: [PATCH] USB virtualisation (experiment

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: [updated] Re: [PATCH] USB virtualisation (experimental)
From: Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>
Date: Sat, 15 Jan 2005 16:23:05 +0000
Cc: Nuutti Kotivuori <naked@xxxxxx>
Delivery-date: Sat, 15 Jan 2005 16:55:51 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <87r7kmemaa.fsf@xxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <200501101703.43715.maw48@xxxxxxxxxxxx> <200501141407.11587.maw48@xxxxxxxxxxxx> <87r7kmemaa.fsf@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.1
> 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).

I was just wondering if it was in the storage driver, the low level host 
controller driver or maybe the USB core code.  If all USB devices stop 
working, it suggests one of the latter two, otherwise it suggests the former 
and shouldn't even stop other USB storage devices from working.

> ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)

I didn't think OHCI was very common on PCs but I guess

> 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

Yuk!

The USB storage code has a certain amount of statefulness, so if it's hanging 
for that drive once, it may stop it working for the rest of the uptime.  If 
the bug is in the USB storage code, you'll probably find that other storage 
devices still work, otherwise it may be somewhere else.

Cheers,
Mark


-------------------------------------------------------
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