Hi, On Wed, Jul 23, 2008 at 11:34 AM, Andreas Wolf <aw%seqlab.de@localhost> wrote: > this is my first attempt to install NetBSD 4 on a blue/white G3 with > OpenFirmware 3.1.1. I'm installing from CD onto a single 120 Gig HD > partitioned into several BSD4.2 parts and one HFS+ part. I tried to follow > the instructions carefully, but after installation, I cannot boot into > NetBSD. [...] > boot-device: <unknown> > root-device: > I think applying the following patch to src/sys/arch/powerpc/oea/ofw_autoconf.c should make it work (also attached for conveniency). The IDE controller on the B&W G3 is a cmdide(4), but the autoconf code lacks the appropriate glue code to detect it. I hope it helps! Regards, Marco. --- ./ofw_autoconf.c.orig 2008-01-12 03:12:16.000000000 +0000 +++ ./ofw_autoconf.c 2008-07-22 12:24:04.000000000 +0000 @@ -320,7 +320,8 @@ /* periph_target is target for scsi, drive # for atapi */ if (addr != sa->sa_periph->periph_target) return; - } else if (device_is_a(device_parent(device_parent(dev)), "pciide") || + } else if (device_is_a(device_parent(device_parent(dev)), "pciide") || + device_is_a(device_parent(device_parent(dev)), "cmdide") || device_is_a(device_parent(device_parent(dev)), "viaide") || device_is_a(device_parent(device_parent(dev)), "slide")) { struct ata_device *adev = aux;
Attachment:
ofw_autoconf.c.diff
Description: Binary data