Ariel E. Antigua
2005-Oct-10 23:29 UTC
[Xen-users] A xenu kernel 2.6.11 with physical access to a PCI netcard.
I just compile one kernel to the domU but cant see the PCI netcard, i hide the card from dom0 physdev_dom0_hide=''(00:11.0)'' and added to the domU config pci = [ ''0,11,0'' ] and dint work.. any howto to do that? - ariel ariel en BSDlatino . org ariel en ferreras . info http://www.BSDlatino.org http://ariel.BSDlatino.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ariel E. Antigua
2005-Oct-11 04:52 UTC
Re: [Xen-users] A xenu kernel 2.6.11 with physical access to a PCI netcard.
Ariel E. Antigua wrote:> I just compile one kernel to the domU but cant see the PCI netcard, i > hide the card from dom0 > physdev_dom0_hide=''(00:11.0)'' and added to the domU config pci = [ > ''0,11,0'' ] and dint work.. any howto to do that? > > - ariel > ariel en BSDlatino . org > ariel en ferreras . info > http://www.BSDlatino.org > http://ariel.BSDlatino.org > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >Me again... the last email was so kind useless cause i dint give any information about Xen and the domU, well this is a second shoot. I`m running 2.0.7 with a xenu kernel 2.6.11, in xend.log i see this: DEBUG (XendDomainInfo:1178) Creating pci device dom=3 bus=0 dev=11 func=0 and in ( xm dmesg ) i got this: (XEN) Hiding PCI device 00:11.0 from DOM0 but in my domUs i dint see the PCI device, the first try was with Debian Sarge and second with NetBSD and nothing. here is my entry in grub menu.lst title Xen-Debian GNU/Linux, kernel 2.6.11dualxen0 root (hd0,4) kernel /xen.gz dom0_mem=131072 physdev_dom0_hide=''(00:11.0)'' module /xen-linux-2.6.11-dualxen0 root=/dev/hda1 ro console=tty0 savedefault boot and debian .cfg: kernel = "/boot/xen-linux-2.6.11-deualxenu" ramdisk = "/boot/initrd.img-2.6.11.dual-xenu" memory = 128 nics=1 name = "debian" cpu = -1 disk=[ ''phy:mivg/debian,sda1,w'', ''phy:mivg/debianswap,sda2,w'' ] root="/dev/sda1 ro" restart = "onreboot" pci = [ ''00,11,0'' ] netif = 1 i missing something ?? -- - ariel ariel en BSDlatino . org ariel en ferreras . info http://www.BSDlatino.org http://ariel.BSDlatino.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gildas LE NADAN
2005-Oct-12 07:36 UTC
Re: [Xen-users] A xenu kernel 2.6.11 with physical access to a PCI netcard.
I guess this is because your domU need a privileged kernel to access the pci device. From what I found out, having the "CONFIG_XEN_PRIVILEGED_GUEST=y" in your .config is not enough. There''s probably code missing in the domU kernel tree that might be needed there. So, using either -xen or -xen0 kernel might do the trick (it worked for me). Ariel E. Antigua wrote:> Ariel E. Antigua wrote: > >> I just compile one kernel to the domU but cant see the PCI netcard, i >> hide the card from dom0 >> physdev_dom0_hide=''(00:11.0)'' and added to the domU config pci = [ >> ''0,11,0'' ] and dint work.. any howto to do that? >> >> - ariel ariel en BSDlatino . org >> ariel en ferreras . info >> http://www.BSDlatino.org >> http://ariel.BSDlatino.org >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > Me again... the last email was so kind useless cause i dint give any > information about Xen and the domU, well this is a second shoot. > > I`m running 2.0.7 with a xenu kernel 2.6.11, in xend.log i see this: > > DEBUG (XendDomainInfo:1178) Creating pci device dom=3 bus=0 dev=11 func=0 > > and in ( xm dmesg ) i got this: > (XEN) Hiding PCI device 00:11.0 from DOM0 > > but in my domUs i dint see the PCI device, the first try was with Debian > Sarge and second with NetBSD and nothing. > > here is my entry in grub menu.lst > > title Xen-Debian GNU/Linux, kernel 2.6.11dualxen0 > root (hd0,4) > kernel /xen.gz dom0_mem=131072 physdev_dom0_hide=''(00:11.0)'' > module /xen-linux-2.6.11-dualxen0 root=/dev/hda1 ro console=tty0 > savedefault > boot > > and debian .cfg: > > kernel = "/boot/xen-linux-2.6.11-deualxenu" > ramdisk = "/boot/initrd.img-2.6.11.dual-xenu" > memory = 128 > nics=1 > name = "debian" > cpu = -1 > disk=[ ''phy:mivg/debian,sda1,w'', ''phy:mivg/debianswap,sda2,w'' ] > root="/dev/sda1 ro" > restart = "onreboot" > pci = [ ''00,11,0'' ] > netif = 1 > > i missing something ??_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users