Subject: Re: Booting problems
To: None <port-macppc@netbsd.org>
From: MLH <mlh@goathill.org>
List: port-macppc
Date: 04/14/2004 12:45:27
Joseph Sarkes wrote:

> On Apr 12, 2004, at 8:59 PM, Bob Nestor wrote:
> 
>> Things aren't looking to good on the Boot front.  Just tried booting
>> 2.0C (built from 4-11 sources) on three different PPC Macs.  This uses
>> V1.9 of ofwboot.xcf using:
>> 0> boot cd:,ofwboot.xcf netbsd.macppc
>>
...
>> Is this version of ofwboot working for others on similar machines?
>> Are there other new tricks that folks have starting using which I
>> missed?
>>
> 
> I've been using an old ofwboot.xcf for a month or two on my dual G4, as
> the releng
> snapshot ofwboot.xcf and home built were broken.

The build from

NetBSD 2.0C (GENERIC.MP) #0: Mon Apr 12 13:55:46 CDT 2004
...
cpu0 at mainbus0: 7400 (Revision 2.9), ID 0 (primary)
cpu0: HID0 8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>
cpu0: 500.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
cpu1 at mainbus0: 7400 (Revision 2.9), ID 1
cpu1: HID0 8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>
cpu1: 500.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio

works. Both ofwboot.xcf and a new GENERIC.MP kernel.


The problems we now have that we can not boot directly into NetBSD
- only can boot into OF and then type 'boot'.

Here are my settings:
        boot-device             hd:\ofwboot.xcf
        boot-file               netbsd
        boot-command    boot

Everything works ok if I boot into OF and type boot.  If I set auto-boot
to true and reset-all, I get is a light grey screen and the computer
just hangs.

I am running a dual 500Mhz G4 with the -current build of NetBSD.

Any advice would be appreciated.

flavor: ~ {146} disklabel wd0
disklabel: Invalid signature in mbr record 0
# /dev/rwd0c:
type: ESDI
disk: IBM-DTLA-307030 
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 59560
total sectors: 60036480
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

6 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:  58783039   1253440     4.2BSD   2048 16384 28672  # (Cyl.   1243*-  59559*)
 b:   1048576    204864       swap                     # (Cyl.    203*-   1243*)
 c:  60036480         0     unused      0     0        # (Cyl.      0 -  59559)
 d:    204800        64        HFS                     # (Cyl.      0*-    203*)

flavor: ~ {144} hmount /dev/wd0d
Volume name is "BootMe"
Volume was created on Tue Apr 13 15:25:28 2004
Volume was last modified on Tue Apr 13 16:03:45 2004
Volume has 97724416 bytes free
flavor: ~ {145} hls -l
f  ????/UNIX         0   5423041 Apr 13 16:03 netbsd
f  ????/UNIX         0     52152 Apr 13 15:31 ofwboot.xcf