Hello, Is there a way in LB to hide a PCI device from the OS? I want to prevent linux from loading the device driver automatically for a particular PCI device. (Similar to a device behind a bridge). I don't want to do any tweaks in linux. I appreciate your time. -Baski
--------------------------------- Never miss a thing. Make Yahoo your homepage.
On Thu, Feb 28, 2008 at 8:18 AM, Baski kbaski@yahoo.com wrote:
Hello, Is there a way in LB to hide a PCI device from the OS? I want to prevent linux from loading the device driver automatically for a particular PCI device. (Similar to a device behind a bridge). I don't want to do any tweaks in linux.
I have not tried this lately. But it used to be the case that if all the BARs were 0, Linux would assume the device was "not enabled".
ron
On Thu, Feb 28, 2008 at 9:26 AM, ron minnich rminnich@gmail.com wrote:
On Thu, Feb 28, 2008 at 8:18 AM, Baski kbaski@yahoo.com wrote:
Hello, Is there a way in LB to hide a PCI device from the OS? I want to prevent linux from loading the device driver automatically for a particular PCI device. (Similar to a device behind a bridge). I don't want to do any tweaks in linux.
I have not tried this lately. But it used to be the case that if all the BARs were 0, Linux would assume the device was "not enabled".
kernel will try to assign resource for these unassigned BARs. because it doesn't trust BIOS. think BIOS mess it up.
may add one command line option to stop that.
YH
On Thu, Feb 28, 2008 at 10:27 AM, yhlu yinghailu@gmail.com wrote:
kernel will try to assign resource for these unassigned BARs. because it doesn't trust BIOS. think BIOS mess it up.
OK, I may be out of date. Last time I tried to let the kernel do this it gave up, but that was a long time ago.
ron
On Thu, Feb 28, 2008 at 8:18 AM, Baski kbaski@yahoo.com wrote:
Hello, Is there a way in LB to hide a PCI device from the OS? I want to prevent linux from loading the device driver automatically for a particular PCI device. (Similar to a device behind a bridge). I don't want to do any tweaks in linux.
add smi handler to trap pci conf access. the ioport cf8 or the mmconf
YH