Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Boot-problems on G3 BW





Michael Lorenz wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> On Jul 23, 2008, at 06:21, Marco Trillo wrote:
> 
>> 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;<ofw_autoconf.c.diff>
> 
> Looks reasonable to me, if it solves Andreas' problem I'll commit it.
> Andreas - do you have another machine to build a kernel for the G3  
> on? If not I'll build one for you.
> 
> have fun
> Michael
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Darwin)
> 
> iQEVAwUBSIc47spnzkX8Yg2nAQIOQggAh2B2ezAFb2Q/US4WLldZd3DDGLwuJXFC
> frKAtT+JBWe8auu2BtmNHGvUpXWLHHY5+jg5RXa70DMBWllqXOuzYWJVgwkrxa/h
> hZ3SbE/xyMesv1tVSu5+EGY1lnpQ58WieptEEzwUdP7hRw2qCKxb4P+wMPkfceu5
> RSTVKbD/vpQgvqb6c0WhJAipXZXgGunxxMZnUFYTsRJoI7zzu6oMqF1z/FAbllql
> IHU3ybg7boLh4GKIgklAJGXJhVLGwBsI6fJqQPkajvNSFFUh5J4nzuJhS1Bh/WJK
> nkNsICL9M1K2rqW2rOvQFQGJFSA9P+SA/HM0EXPRauMnoERmtThBfQ==
> =8SqJ
> -----END PGP SIGNATURE-----
> 
> 


I have 4.0.1, a G3 with Sonnet Temp ATA/100 card using the promise chipset.
I suffer the same issue as above, should I attempt the above patch?

Also, I have tried to manually insert

*config netbsd root on wd0a type ffs*

however, config complains about wd0a not existing. I am attempting to
compile the kernel on a temporary machine (hardware guts everywhere) running
NetBSD 4.0.1 386. I am running NetBSD instead of OpenBSD because of
excessive timeouts on even brand new hard drives and controller cards on my
G3.

Regards,
Brodey Dover

-- 
View this message in context: 
http://www.nabble.com/Boot-problems-on-G3-BW-tp18607105p20287239.html
Sent from the port-macppc mailing list archive at Nabble.com.



Home | Main Index | Thread Index | Old Index