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] Status of USB on 2.4.26-uml0?

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Status of USB on 2.4.26-uml0?
From: Mark Hurenkamp <Mark.Hurenkamp@xxxxxxxxx>
Date: Wed, 11 Aug 2004 00:52:29 +0200
Delivery-date: Wed, 11 Aug 2004 01:39:05 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1BuRYy-0006zo-00@xxxxxxxxxxxxxxxxx>
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: <E1BuRYy-0006zo-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.6.2
> > However, it seemed that the uhci driver 
> > wouldn't load, it complained about not being able to find/allocate IRQ...
> > Same also for the ehci driver :-(Browsing through the mail archives, I
> > noticed someone had a similar problem in march, but he had 'patched' the
> > kernel to support USB, wheras now, I could just choose it from the
> > default kernel configuration menu. My only question is, is this supposed
> > to work currently? Has anyone had success in getting USB up and running?
> > Or is this still a work in progress known not to work?
>
> Our default 2.4.26 kernel configuration doesn't have USB compiled
> in, but if you do enable it it should work fine -- I've used a
> USB memory stick device without problems, and I'd expect mouse
> and keyboard to work too.
>
> Ian

Ah, it's good to hear that there's reported succes with USB on Xen,
too bad I'm not currently able to repeat that though :-(

I'm running this on an Asus A7M266D dual-athlon system, the USB2
card came with the system, is there anything special with this system?
I also tried to insert the cmpci driver (there are two such devices in the
system; one onboard, and one PCI card), and it also complains with a
similar "No IRQ known for pin A of device 03:04.0" message.

How does Xen deal with shared interrupts? I do have a lot of devices
in my system (2 Graphic cards, an USB2 card, a sound card, an ISDN card, 
and a TV capture card).
Could the "Plug-and-Play OS" setting in my Bios have any impact on Xen?
(since it seems that some IRQs are not assigned...?)



Here's the output I get, I tried to load uhci, then usb-uhci (the alternate
driver), and last the ehci driver. All failed :-(

nine root # modprobe uhci
nine root # dmesg
...
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
usb.c: deregistering driver usbdevfs
usb.c: deregistering driver hub

nine root # modprobe usb-uhci
nine root # dmesg
...
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 01:53:24 Aug  8 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: deregistering driver usbdevfs
usb.c: deregistering driver hub

nine root # modprobe ehci
nine root # dmesg
...
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 00:08.2 (0014 -> 0016)
PCI: No IRQ known for interrupt pin C of device 00:08.2.
hcd.c: Found HC with no IRQ.  Check BIOS/PCI 00:08.2 setup!
usb.c: deregistering driver usbdevfs
usb.c: deregistering driver hub


And here's the output of /var/log/messages:
Aug 10 21:48:31 nine kernel: usb.c: registered new driver usbdevfs
Aug 10 21:48:31 nine kernel: usb.c: registered new driver hub
Aug 10 21:48:31 nine kernel: uhci.c: USB Universal Host Controller Interface 
driver v1.1
Aug 10 21:48:31 nine kernel: usb.c: deregistering driver usbdevfs
Aug 10 21:48:31 nine kernel: usb.c: deregistering driver hub
Aug 10 21:49:52 nine kernel: usb.c: registered new driver usbdevfs
Aug 10 21:49:52 nine kernel: usb.c: registered new driver hub
Aug 10 21:49:52 nine kernel: uhci.c: USB Universal Host Controller Interface 
driver v1.1
Aug 10 21:49:52 nine kernel: usb.c: deregistering driver usbdevfs
Aug 10 21:49:52 nine kernel: usb.c: deregistering driver hub
Aug 10 21:51:44 nine kernel: usb.c: registered new driver usbdevfs
Aug 10 21:51:44 nine kernel: usb.c: registered new driver hub
Aug 10 21:51:44 nine kernel: usb-uhci.c: $Revision: 1.275 $ time 01:53:24 Aug  
8 2004
Aug 10 21:51:44 nine kernel: usb-uhci.c: High bandwidth mode enabled
Aug 10 21:51:44 nine kernel: usb-uhci.c: v1.275:USB Universal Host Controller 
Interface driver
Aug 10 21:51:44 nine kernel: usb.c: deregistering driver usbdevfs
Aug 10 21:51:44 nine kernel: usb.c: deregistering driver hub
Aug 10 21:53:26 nine kernel: usb.c: registered new driver usbdevfs
Aug 10 21:53:26 nine kernel: usb.c: registered new driver hub
Aug 10 21:53:26 nine kernel: PCI: Enabling device 00:08.2 (0014 -> 0016)
Aug 10 21:53:26 nine kernel: PCI: No IRQ known for interrupt pin C of device 
00:08.2.
Aug 10 21:53:26 nine kernel: hcd.c: Found HC with no IRQ.  Check BIOS/PCI 
00:08.2 setup!
Aug 10 21:53:26 nine kernel: usb.c: deregistering driver usbdevfs
Aug 10 21:53:26 nine kernel: usb.c: deregistering driver hub

And lspci shows this:
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System 
Controller (rev 11)
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 05)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev 
04)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 03)
00:08.0 USB Controller: NEC Corporation USB (rev 41)
00:08.1 USB Controller: NEC Corporation USB (rev 41)
00:08.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
01:05.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 01)
02:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 85)
03:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-768 [Opus] USB (rev 
07)
03:04.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
03:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
03:06.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture 
(rev 11)
03:06.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 
11)
03:08.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH 
Fritz!PCI v2.0 ISDN (rev 01)


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel