[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] PCI passthrough to Windows XP



> > > > #grep hide /boot/grub/grub.cfg
> > > >
> > > > Returns two lines of
> > > >
> > > > multiboot /boot/xen-4.0-amd64.gz placeholder
> > > > xen-pciback.hide(05:00.0)(06:04.0)
> > Shouldn't this line be on the kernel line in grub and not the xen.gz
> line?
> > In my understanding it is the xen-pciback module in the linux kernel
> who does the hiding.
> 
> I missed this -- you are absolutely correct that this option should be
> passed to the dom0 kernel.
> 
> If using update-grub with the standard grub.d snippets hten it should
> be added /etc/default/grub in the GRUB_CMDLINE_LINUX_XEN_REPLACE or
> GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT. Or
> GRUB_CMDLINE_LINUX_DEFAULT/GRUB_CMDLINE_LINUX would work (and be
> harmless, I think, when booting native).
> 
> GRUB_CMDLINE_XEN_DEFAULT and GRUB_CMDLINE_LINUX_DEFAULT are both the
> wrong place to add this new option.
> 
I am confused. At first you say GRUB_CMDLINE_LINUX_DEFAULT "would work (and be 
harmless)", but then say it is "the wrong place to add this new option".
Adding to GRUB_CMDLINE_LINUX_XEN_REPLACE or 
GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT doesn't work (nothing gets added to 
/boot/grub/grub.cfg). Adding to GRUB_CMDLINE_LINUX results in 

#grep hide /boot/grub/grub.cfg
        module  /boot/vmlinuz-2.6.32-5-xen-amd64 placeholder 
root=UUID=2c69309c-05ce-4e2d-b9f9-d651e65342ae ro 
xen-pciback.hide(05:00.0)(06:04.0) quiet
        module  /boot/vmlinuz-2.6.32-5-xen-amd64 placeholder 
root=UUID=2c69309c-05ce-4e2d-b9f9-d651e65342ae ro single 
xen-pciback.hide(05:00.0)(06:04.0)
        linux   /boot/vmlinuz-2.6.32-5-xen-amd64 
root=UUID=2c69309c-05ce-4e2d-b9f9-d651e65342ae ro 
xen-pciback.hide(05:00.0)(06:04.0) quiet
        linux   /boot/vmlinuz-2.6.32-5-xen-amd64 
root=UUID=2c69309c-05ce-4e2d-b9f9-d651e65342ae ro single 
xen-pciback.hide(05:00.0)(06:04.0)
        linux   /boot/vmlinuz-2.6.32-5-amd64 
root=UUID=2c69309c-05ce-4e2d-b9f9-d651e65342ae ro 
xen-pciback.hide(05:00.0)(06:04.0) quiet
        linux   /boot/vmlinuz-2.6.32-5-amd64 
root=UUID=2c69309c-05ce-4e2d-b9f9-d651e65342ae ro single 
xen-pciback.hide(05:00.0)(06:04.0)

but I am still unable to use the pci passthrough.

At this point I am still not sure that the Debain Squeeze kernel supports 
xen-pciback or if I need to load a module. I also do not know if I should be 
using xen-pciback or just pciback (I have been trying everything with both).

This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, copy 
or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.