On Monday 09 November 2009 12:14:05 am Prashant Bhole wrote: > Hi, > I am working on IOP331 platform and I am new to this platform and PCI. > The board has two Marvell sata chip on PCI. I am getting following > error while booting (kernel 2.6.24): > > PCI: Device 0000:00:02.0 not available because of resource collisions > > > I noticed that resource[0]->start is 0x0 and resource[0]->end is > 0xfffff. It seems that start = 0x0 isn't valid. > How can I solve this problem? > Also, Wheres does it assigns those values to start and end members of > struct resource? BIOS normally programs device BARs to valid values, and those values usually end up in resource[N]. But sometimes Linux decides the BAR values are incorrect, and it sets start = 0x0 to indicate that. If you can boot a current PCI linux-next kernel, we recently added a little more debug output, and maybe that would give more clues. Please post the whole dmesg log if you can try this. Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html