Re: {SPAM?} unable to mount root device in 2.6.14.5 (was: Re: [PATCH]PCI patches for 2.6.10)

From: Maciej W. Rozycki
Date: Tue Jan 03 2006 - 07:20:50 EST


On Mon, 2 Jan 2006, Thorsten Kranzkowski wrote:

> I just upgraded from Kernel 2.6.10 to 2.6.14.5 and got this message:
>
> PCI: Unable to reserve I/O region #1:100@10000 for device 0000:00:06.0
>
> instead of the usual initialisation messages of my scsi controller. As
> a consequence no scsi device and thus no root device is found.
> I tracked this down to this patch (to be precise, the PCI_CLASS_NOT_DEFINED
> part of it). Removing the 'class == PCI_CLASS_NOT_DEFINED ||' clause makes
> it boot again.

You need to add a quirk for the device to initialize its class to be a
SCSI controller.

> This is a DEC alpha AXPpci33 (aka 'noname') board with an sym810 onboard scsi-
> controller:
>
> [Marvin:~#] lspci -v
> 00:06.0 Non-VGA unclassified device: Symbios Logic Inc. (formerly NCR) 53c810 (rev 01)
> Flags: bus master, medium devsel, latency 255, IRQ 11
> I/O ports at 8000 [size=256]
> Memory at 0000000001230000 (32-bit, non-prefetchable) [size=256]

Use the vendor/device ID of this device as the key.

> Your patch description suggests that a platform specific solution might be
> better. So can you point me tho the right place under arch/alpha to implement
> this? Or would a patch to remove the comparison be acceptable?

Well, it's a generic SCSI chip apparently, so the quirk should be placed
in generic code. There are quirks for such devices provided here and
there already -- use them as references.

Maciej
-
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/