[lkml]   [2006]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux running on a PCI Option device?
On Tuesday 28 February 2006 04:13 pm, linux-os (Dick Johnson) wrote:
> On Tue, 28 Feb 2006, Jon Ringle wrote:
> > When I have the IXDP465 in PCI Option mode, Linux still writes to pci
> > configuration space which confuses the heck out of the PCI Host (Windows
> > 2003). What do I need to do in order to have Linux work as a PCI option
> > but still not mess with the pci configuration, and leave that task to the
> > PCI Host?
> >
> > Jon
> But anything on the PCI bus will get written, at least to find out
> the length of the address space. Please read about the PCI System
> Architecture. There are several writes that are mandatory. If
> somebody is attempting to configure the PCI devices, the following
> will occur.

Thanks for the book reference. I am reading it.

> (1) The BIOS will find some available address-space and put it
> into any base-address register that has memory-space enabled
> in the command register.
> (2) The BIOS will find some available I/O space and put it into
> a base-address register, too.
> This all occurs long before any OS is booted. These writes
> will occur.

That's all well and fine. However, I think I need to explain a bit better the
hardware topology here.

| Windows 2003 |
| Pentium |
| PCI Host |
| PCI Arbiter |
<-------- PCI bus ---------------------------------->
| |
+---------+ +---------------------------+
| Various | | IXDP465 (PCI option mode) |
| other | | Redboot |
| PCI | | Linux 2.6.16-rc5 |
| Devices | +---------------------------+

When power is applied to the system, several things are happening
simultaneously, as I understand it:

1) The POST/BIOS code executes on the Pentium side that should do the actions
you describe above.
2) The PCI devices are configuring themselves.
3) The IXDP465 is executing Redboot bootloader, which hands off control to

As it turns out, Linux completes it's bootup before Windows bootup even
begins, and it seems that Linux changes the configuration of the various
other PCI devices that happen to be on the system as well. I need to get
Linux to leave the configuration of other PCI devices it finds alone. It
should only mess with it's own configuration. Why should Linux need to change
the configuration of other PCI devices when it is fulfilling the role of a
PCI device itself?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-03-02 23:13    [W:0.103 / U:3.164 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site