Hi, I noticed Xen has made quit a lot of progress since the 1.2 release, and so I decided to give the unstable version a spin :-) I installed the xen.gz and the 2.4.26-xen0 images, and tried to use it to boot my Fedora Core 2 setup.Much to my surprise, I ran into very little problems (good job guys!), but there was one thing still missing; the USB drivers aren''t loaded. For me USB is essential, since I have USB network card, and an USB mouse and keyboard.With my PS2 keyboard plugged in, I tried to load the USB drivers that I need, usbnet and usb-storage (well, and usblp, scanner, hid, etc).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? Warm regards, Mark. P.S. Xen in its current state looks very promising to me! ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I noticed Xen has made quit a lot of progress since the 1.2 release, and > so I decided to give the unstable version a spin :-) > I installed the xen.gz and the 2.4.26-xen0 images, and tried to use it to > boot my Fedora Core 2 setup.Much to my surprise, I ran into very little problems (good job guys!), > but there was one thing still missing; the USB drivers aren''t loaded. > For me USB is essential, since I have USB network card, and an USB mouse > and keyboard.With my PS2 keyboard plugged in, I tried to load the USB drivers that I > need, usbnet and usb-storage (well, and usblp, scanner, hid, etc).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 ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> > 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. > > IanAh, 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> 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.One useful exercise would be to compare the output of ''lcpci -v'' and ''cat /proc/interrupts'' when running ''stock'' linux 2.4.26 versus running over Xen. Using the same config (as much as possible) would be good.> How does Xen deal with shared interrupts?It''s not well tested, as we just don''t see it on any of our systems. Performance won''t be great... Ian ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Hi,> One useful exercise would be to compare the output of ''lcpci -v'' > and ''cat /proc/interrupts'' when running ''stock'' linux 2.4.26 > versus running over Xen. > > Using the same config (as much as possible) would be good.Ok, I''ll give it a try this evening.>> How does Xen deal with shared interrupts? > > It''s not well tested, as we just don''t see it on any of our > systems. Performance won''t be great...Hmm, that doesn''t sound nice, I have many shared IRQs in my system :-( I tried booting without the ''plug and play OS'' flag set in my BIOS, normally I run 2.6.x kernel, but I recall that 2.4.x needed the flag to be cleared so I decided to give it a try. And now I have some more success :-) :-) I managed to get the ehci driver up and running, and my USB2 devices are recognised, the network driver works perfectly now :-). Also the cmpci doesn''t complain about the interrupts anymore. However, the normal uhci is still not functional, and thus I can still not use the devices using the USB1.1 ports. (hmm... I wonder if they work if I plug them into my USB2 ports... another thing to try this evening :-) Mark. ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Hi, I''ve resolved the last of my USB problems completely now, and am really embarrassed to tell what was wrong... :-( I was absolutely convinced that I would need the UHCI driver, but when I booted into my normal Gentoo system this evening, I noticed I''m dead wrong, it''s the OHCI driver I need! (feel so bad for not checking this earlier :-( :-( ). Anyway, I recompiled the kernel, and my mouse and keyboard are working perfectly well now, and I''m able to print a testpage using my USB printer. My USB2 network card is working well, and I can also access my USB2 harddisk. I haven''t checked the other devices yet, but they are of lesser importance to me right now. So for now Xen is doing great! It''s really nice to see so much progress!! Thanks for the support, and I apologize for any inconvenience caused by my stupidity... Warm regards, Mark.