Skip to contentSkip to conversation

usb support?

DISCUSSION Dick Davies 3 participants 5 messages Sep 2, 2004

lore
Share & tools
lore
#0 lore raw

Hi, really simple question - does xen support usb yet?

I've googled and seen recent posts that seem to indicate it does.

I tried last nights bk source and got a 2.6 kernel up into x no problem - very impressed how easy it was, actually - but my base system is a 2.4 Debian build - am I likely to have more luck with a 2.4 xen build?

I wasn't sure if xen builds its own modules or uses the system, though I suspect the latter.

In any case, I can eliminate that problem by sticking usb into the kernel if I know it's a module thing, rather than a 'it ain't going to work' thing .....

Thanks!

Signature · 11 lines
Newlan's Truism:
	An "acceptable" level of unemployment means that the government
economist to whom it is acceptable still has a job.
Rasputin :: Jack of All Trades - Master of Nuns


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
#1 lore raw

Hi Dick

USB at least in Dom0 should just work (tm). Various people have reported success

It is not enabled by default. you have to configure the dom0 kernel to include it (i.e. modify defconfig-xen0 for the 2.4 or xen0_defconfig for the 2.6 kernel).

XenoLinux uses it's own modules, ie not the system modules. So if you configure USB support as modules you would also have to install them.

Rolf

Quoted 13 lines · Dick Davies

Hi, really simple question - does xen support usb yet?

I've googled and seen recent posts that seem to indicate it does.

I tried last nights bk source and got a 2.6 kernel up into x no problem - very impressed how easy it was, actually - but my base system is a 2.4 Debian build - am I likely to have more luck with a 2.4 xen build?

I wasn't sure if xen builds its own modules or uses the system, though I suspect the latter.

Quoted 5 lines

In any case, I can eliminate that problem by sticking usb into the kernel if I know it's a module thing, rather than a 'it ain't going to work' thing .....

Thanks!

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

#2 lore raw

Thanks Rolf , that's what I thought.

I'm mainly thinking of a usb keyboard and mouse - if that's working in dom0, will I be able to use the console in the other domains, or do they need usb support too?

I don't see any mention of modules in the top-level makefile, so should I be descending into the kernel source directories and doing a usual 'make modules_install' in there?

Sorry for the newbie questions. It's because I'm a newbie :)

Quoted 26 lines · Rolf Neugebauer

Hi Dick

USB at least in Dom0 should just work (tm). Various people have reported success

It is not enabled by default. you have to configure the dom0 kernel to include it (i.e. modify defconfig-xen0 for the 2.4 or xen0_defconfig for the 2.6 kernel).

XenoLinux uses it's own modules, ie not the system modules. So if you configure USB support as modules you would also have to install them.

Rolf

Quoted 11 lines · Dick Davies

Hi, really simple question - does xen support usb yet?

I've googled and seen recent posts that seem to indicate it does.

I tried last nights bk source and got a 2.6 kernel up into x no problem - very impressed how easy it was, actually - but my base system is a 2.4 Debian build - am I likely to have more luck with a 2.4 xen build?

I wasn't sure if xen builds its own modules or uses the system, though I suspect the latter.

Signature · 10 lines
You could get a new lease on life -- if only you didn't need the first
and last month in advance.
Rasputin :: Jack of All Trades - Master of Nuns


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
#3 lore raw
Quoted 4 lines · Dick Davies

Thanks Rolf , that's what I thought.

I'm mainly thinking of a usb keyboard and mouse - if that's working in dom0, will I be able to use the console in the other domains, or do they need usb support too?

that should work. other domains have a virtual console

Quoted 2 lines

I don't see any mention of modules in the top-level makefile, so should I be descending into the kernel source directories and doing a usual 'make modules_install' in there?

my reading of the make file is that is will build modules and install them in install/lib/modules if you invoke it with build world and you should be able to install them on the system with make install.

Rolf

Quoted 29 lines

Sorry for the newbie questions. It's because I'm a newbie :)

Quoted 26 lines · Rolf Neugebauer

Hi Dick

USB at least in Dom0 should just work (tm). Various people have reported success

It is not enabled by default. you have to configure the dom0 kernel to include it (i.e. modify defconfig-xen0 for the 2.4 or xen0_defconfig for the 2.6 kernel).

XenoLinux uses it's own modules, ie not the system modules. So if you configure USB support as modules you would also have to install them.

Rolf

Quoted 11 lines · Dick Davies

Hi, really simple question - does xen support usb yet?

I've googled and seen recent posts that seem to indicate it does.

I tried last nights bk source and got a 2.6 kernel up into x no problem - very impressed how easy it was, actually - but my base system is a 2.4 Debian build - am I likely to have more luck with a 2.4 xen build?

I wasn't sure if xen builds its own modules or uses the system, though I suspect the latter.

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

#4 lore raw
In reply to Dick Davies

The virtual console of other domains is just an application running in domain 0; so if domain 0 can see the keyboard, you can use it to control the other domain consoles too ;-)

You might find it necessary to try a 2.4 build in order to work properly with your Debian: 2.6 has a new set of module utilities, which you'll need if you want to load modules (NB. these new utilities also work on older kernels, e.g. 2.4). I suspect Debian stable won't have the new utilities, although it seems plausible that testing / unstable would.

HTH,
Mark

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click