Newbie question: privileged vs. unprivileged domains
Hello, I'm new to XEN and I'm trying to run three specialized linux servers under one hardware platform. I have compiled my own xen kernels that boot ok.
My configuration should look as follows:
The dom0 dommain shoud have access to most of the hardware including one of two ethernet card.
The dom1 must have exclusive access to the second ethernet card. This domain will be used as a firewall connected through this interface to the internet. The connection to the intranet will be based on a brided virtual ethernet.
The dom2 must have exclusive access to the soundcard, and a specialized PCI card.
I compiled a 2.4.27-xen0 with support for all the devices as modules, and a 2.4.27-xenU with the default configuration (I tryed to add support to some pci cards but always return compiling errors).
All boot OK. One problem is that for dom1 and dom2 recognize their exclusive pci cards I have to run the xen0. I loaded the respective modules only in the respective domains. When I do that almost all is Ok, I can play some mp3 files. But when I run a server that depends on the soundcard I recive an error like:
Soundcard recieved SG Error, sound disabled
Another problem is that I have a USB keyboard (no ps2 or serial connectors on motherboard) and when rebooting dom1 or dom2 the server freezes. I tryed to connect with ssh from my laptop with no response.
Some comments please
Thanks,
Tomas
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
Quoted 4 lines
All boot OK. One problem is that for dom1 and dom2 recognize their exclusive pci cards I have to run the xen0. I loaded the respective modules only in the respective domains.
You should add pci_dom0_hide=xxxx to the xen command line so that dom0 can't see the 2nd ethernet card or the sound card. See the user manual.
Quoted 5 lines
When I do that almost all is Ok, I can play some mp3
files. But when I run a server that depends on the soundcard I recive an error like:Soundcard recieved SG Error, sound disabled
SG error sounds like it might mean 'scatter gather' error. This probably means the driver is taking liberties as regards mapping memory regions, and needs to be fixed.
If you can find the path through the sound system that triggers this its probably easily fixed, and a patch can be sent upstream to the maintainer.
Quoted 3 lines
Another problem is that I have a USB keyboard (no ps2 or serial connectors on motherboard) and when rebooting dom1 or dom2 the server freezes. I tryed to connect with ssh from my laptop with no response.
Not sure I understand. Are you saying the freeze only happens when the USB keyboard is connected? This is totally weird.
Ian
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
Hi,
That's a cool configuration you're working on ;-)
Quoted 3 lines
I compiled a 2.4.27-xen0 with support for all the devices as modules, and a 2.4.27-xenU with the default configuration (I tryed to add support to some pci cards but always return compiling errors).
The xenU configuration specifically doesn't support any real physical hardware. If you want a domain to drive real devices you should boot it with a xen0 kernel (and modules).
Quoted 3 lines
Another problem is that I have a USB keyboard (no ps2 or serial connectors on motherboard) and when rebooting dom1 or dom2 the server freezes. I tryed to connect with ssh from my laptop with no response.
Please clarify: are you saying that dom0 has a USB keyboard? and that when you reboot dom1 or dom2 the server freezes? what makes you think this hasgot to do with the keyboard? Does Dom0 not even respond to pings on the ethernet interfaces *it* controls?
Cheers,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8