Hi, On Wed, Nov 11, 2009 at 10:23 AM, Prashant Bhole <prashantsmailcenter@xxxxxxxxx> wrote: > > Hi, > > On Tue, Nov 10, 2009 at 10:49 PM, Bjorn Helgaas <bjorn.helgaas@xxxxxx> wrote: > > > > 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 > > Actually our this kernel (2.6.24) has been ported to our custom > hardware, so I can not boot any other kernel on this board. Is there > any other information that I can provide? > > Thanks. > > -- > ~p~r~a~s~h~a~n~t~ I got the problem. IOP3XX_PCI_LOWER_MEM_PA value was changed to 0x00000000 in our code, that was causing resource[0].start = 0x0. Thanks. -- ~p~r~a~s~h~a~n~t~ -- 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