JMicron SATA controller not available - bisected

From: Marc Dionne
Date: Tue May 26 2009 - 22:56:34 EST


With current git the SATA DVD writer on my system is no longer detected, and these errors show up:

pci 0000:05:00.0: BAR 2: can't allocate resource
pci 0000:05:00.0: BAR 3: can't allocate resource
ahci 0000:05:00.0: device not available because of BAR 2 [0x00-0x07] collisions

.. where 05:00.0 is this SATA controller where the DVD is plugged in:

05:00.0 SATA controller: JMicron Technologies, Inc. 20360/20363 Serial ATA Controller (rev 03)

This is an ICH10-based board that has the JMicron controller in addition to the onboard SATA. The drive works fine if plugged into one of the onboard ports, and also works fine with kernel 2.6.29 on the JMicron controller.

I bisected the problem down to this commit:
480b93b7837fb3cf0579a42f4953ac463a5b9e1e: PCI: centralize device setup code

Note that this worked with recent 2.6.30-rc kernels until I had to reset the board's CMOS, so a change in a BIOS setting was probably a trigger.

Marc

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/