Sebastian Roesner
2005-Aug-09 23:26 UTC
[Xen-users] Problem with XEN and CONFIG_XEN_PHYSDEV_ACCESS
Hello, I have a problem using CONFIG_XEN_PHYSDEV_ACCESS. I want to access a network adapter directly from a Domain != 0 (Router domain). So I enabled CONFIG_XEN_PHYSDEV_ACCESS and PCI support in the kernel. But then I can''t start the domain anymore, even if I don''t select any hardware driver in the kernel config. My .config-File for the Domain can be found at http://sr.dyndns.org/~sroesner/config-physdev -- Shell Output -- # xm create -f router -c Using config file "/etc/xen/router". Started domain Router, console on port 9633 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** ************ REMOTE CONSOLE EXITED ***************** -- /Shell Output -- -- xen config file -- kernel = "/boot/vmlinuz-2.6.11-xenU-router" memory = 64 name = "Router" nics=0 disk = [ ''file:/vm/router,sda1,w'' ] root = "/dev/sda1 ro" -- /xen config file -- The output of xend.log and xend-debug.log can be found at http://sr.dyndns.org/~sroesner/xen-log I really have no clue what''s wrong.. I tried to enable/disable PCI-support, to switch off networking for this Domain, ... nothing worked. Is it somehow possible to get more debug output? I use xen 2.0.7, self-compiled on a debian sarge. Thanks for help, Sebastian Roesner _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marcus Brown
2005-Aug-10 14:04 UTC
Re: Spam:*, [Xen-users] Problem with XEN and CONFIG_XEN_PHYSDEV_ACCESS
Hi Sebastion, Sebastian Roesner wrote:> Hello, > > I have a problem using CONFIG_XEN_PHYSDEV_ACCESS. I want to access a > network adapter directly from a Domain != 0 (Router domain). So I enabled > CONFIG_XEN_PHYSDEV_ACCESS and PCI support in the kernel. But then I > can''t start the domain anymore, even if I don''t select any hardware > driver in the kernel config. > > My .config-File for the Domain can be found at > http://sr.dyndns.org/~sroesner/config-physdevyou need all the following options set to y for your router domain # CONFIG_XEN_PRIVILEGED_GUEST is not set CONFIG_XEN_PHYSDEV_ACCESS=y # CONFIG_XEN_BLKDEV_BACKEND is not set # CONFIG_XEN_NETDEV_BACKEND is not set> -- xen config file -- > kernel = "/boot/vmlinuz-2.6.11-xenU-router" > memory = 64 > name = "Router" > nics=0 > disk = [ ''file:/vm/router,sda1,w'' ] > root = "/dev/sda1 ro" > -- /xen config file --you need a pci statement in there describing your network card, like: pci = [''x,y,z''] where you have a matching stanza on your kernel line in grub/menu.lst to hide the device from dom0 physdev_dom0_hide=(x:y.z) Marcus. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marcus Brown
2005-Aug-10 14:10 UTC
Re: Spam:*, [Xen-users] Problem with XEN and CONFIG_XEN_PHYSDEV_ACCESS
I''m too tired and cold, methinks! ;) You don''t seem to have a network driver configured in your kernel config either. M. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Denny Schierz
2005-Aug-10 14:31 UTC
Re: Spam:*, [Xen-users] Problem with XEN and CONFIG_XEN_PHYSDEV_ACCESS
hi, On Do, 2005-08-11 at 00:10 +1000, Marcus Brown wrote:> You don''t seem to have a network driver configured > in your kernel config either.does we need network device drivers? Look here: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=151 At the moment, i want serial port access, isdn. I have the same problem. Enable these options, and the kernel won''t boot. Later, if i''m understanding the most parts, i want to move the firewall/dsl into a domU. -- Sicherheit verständlich http://www.sides.de GnuPG Key http://pgp.upb.de:11371/pks/lookup?op=get&search=0xAB7D3FE0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users