Subject: Re: Booting from HD on an 8500
To: Tsubai Masanari <tsubai@iri.co.jp>
From: Allen Briggs <briggs@ninthwonder.com>
List: port-macppc
Date: 10/30/2000 08:21:13
On Mon, Oct 30, 2000 at 06:52:41PM +0900, Tsubai Masanari wrote:
> >	cp /usr/mdec/ofwboot /mnt/boot
> >	/usr/mdec/installboot -v /mnt/boot /usr/mdec/bootxx /dev/rsd1a
>  ...
> >	0 > boot RESETing SCSI bus
> >	RESETing SCSI bus
> >	DEFAULT CATCH!, code=FFF00700 
> 
> installboot program (and boot.fs) in 1.5_BETA is seriously broken.
> If you can recompile installboot, use installboot.c rev. 1.5.
> (or use 1.4.2 /usr/mdec/{ofwboot,installboot})

Using 1.4.2 /usr/mdec/{ofwboot,bootxx,installboot}, I get

	Open Firmware, 1.0.5
	To continue booting the MacOS type:
	BYE<return>
	To continue booting from the default boot device type:
	BOOT<return>
	 ok
	0 > printenv

	little-endian?      false               false
	real-mode?          false               false
	auto-boot?          false               true
	diag-switch?        false               false
	fcode-debug?        false               false
	oem-banner?         false               false
	oem-logo?           false               false
	use-nvramrc?        true                false
	real-base           F00000              -1 
	real-size           100000              100000 
	virt-base           -1                  -1 
	virt-size           100000              100000 
	load-base           4000                4000 
	pci-probe-list      -1                  -1 
	screen-#columns     64                  64 
	screen-#rows        28                  28 
	selftest-#megs      0                   0 
	boot-device         scsi-int/sd@1:0     /AAPL,ROM
	boot-file
	diag-device         fd:diags            fd:diags
	diag-file
	input-device        ttya                ttya
	output-device       ttya                ttya
	oem-banner
	oem-logo
	  z 2C + 8CC '& 8 + BRpatchyn then ;;l-method else $call-parent then ;
	boot-command        boot                boot
	 ok
	0 > boot scsi-int/sd@1:0 RESETing SCSI bus
	RESETing SCSI bus
	RESETing SCSI bus
	RESETing SCSI bus
	DEFAULT CATCH!, code=FFF00300
	 ok
	0 >                

Booting from the 1.4.2 install floppy, I did:
# mount /dev/sd1a /mnt
sd1: NetBSD disklabel
# mount /dev/sd1g /mnt/usr
# cp /usr/mdec/ofwboot /mnt/boot
# /usr/mdec/installboot /mnt/boot /usr/mdec/bootxx /dev/rsd1a

Where:
mesh0 at obio0 offset 0x18000 irq 13: 50MHz, SCSI ID 7
scsibus1 at mesh0: 8 targets, 8 luns per target
sd1 at scsibus1 targ 1 lun 0: <QUANTUM, LIGHTNING 730S, 241E> SCSI2 0/direct fixed
sd1: 699MB, 3658 cyl, 4 head, 97 sec, 512 bytes/sect x 1431760 sectors

Any thoughts?

-allen