Subject: Re: Anybody else booting from Sonnet ATA-100 or ATA-133 card?
To: Monroe Williams , <port-macppc@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: port-macppc
Date: 02/12/2003 09:18:48
At 02:13 AM 2/12/2003, Monroe Williams wrote:

>I think I know why my kernel can't find the root device, but I'm not sure
>how to fix it.
>
>The OF tree for Sonnet ATA-100 and ATA-133 cards (which use a Promise
>chipset and UltraTek firmware) looks approximately like this:
>
>/UltraTek100+
>   /FrmTk-0@10,0
>     /sd@0
>   /FrmTk-0@11,0
>     /sd@0
>
>The top level ("UltraTek100+") has a "device_type" property of "scsi", while
>the second level ("FrmTk-0") has a "device_type" property of "ata".
>
>I suspect that the code in device_register() that matches up OF device tree
>nodes with the kernel's idea of devices can't cope with an extra layer in
>the OF tree between the pciide controller and the drive(s).
>
>Does this sound plausible?
>
>If so, how might one work around this problem without committing an
>egregious hack?

I thought of fixing device_register but found it was easier to force my
config file to have root on wd0 :)


-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message