Subject: Re: Testers needed for upcoming 3.1 release
To: None <port-macppc@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-macppc
Date: 09/08/2006 23:49:10
macallan@netbsd.org wrote:

> I'm pretty sure OF2 can't read HFS partitions. Only OF3 or newer can.

BTW, OF2 can still read HFS floppy.

> > (see PR toolchain/30245)

I've updated diff in this PR and created 3.1_RC2 macppccd:
ftp://ftp.NetBSD.org/pub/NetBSD/misc/tsutsui/distrib-cdrom-macppccd-3.1_RC2.diff
ftp://ftp.NetBSD.org/pub/NetBSD/misc/tsutsui/macppccd-3.1_RC2.iso.gz


It just works even on my Apus (with OF2):
---

Open Firmware, 2.0
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > boot scsi-int/sd@3:0 DEFAULT CATCH!, code=FFF00300 at   %SRR0: FF80AC9C   %SRR1: 0000B070

 [always hangs up at first; needs CTRL-CMD-POWER to recover]

Open Firmware, 2.0
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > boot scsi-int/sd@3:0
OF_open bootpath=scsi-int/sd@3
read stage 2 blocks: 0. done!
starting stage 2...

>> NetBSD/macppc OpenFirmware Boot, Revision 1.10
>> (builds@b4.netbsd.org, Sun Sep  3 19:56:44 UTC 2006)
open /netbsd: Device not configured
open /netbsd.gz: Device not configured
4473680+105536=0x45e26c
 start=0x100000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.1_RC2 (INSTALL) #0: Sun Sep  3 20:20:59 UTC 2006
	builds@b4.netbsd.org:/home/builds/ab/netbsd-3-1-RC2/macppc/200609031430Z-obj/home/builds/ab/netbsd-3-1-RC2/src/sys/arch/macppc/compile/INSTALL
total memory = 65536 KB
avail memory = 57744 KB
no active packagemainbus0 (root)
cpu0 at mainbus0: 603ev (Revision 2.1), ID 0 (primary)
cpu0: HID0 90c001<DOZE,DPM,ICE,DCE,NOPTI>
cpu0: ohare L2 cache enabled
bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: vendor 0x106b product 0x0008 (rev. 0x02)
epic0 at pci0 dev 13 function 0: SMC 83c170 Fast Ethernet, rev. 6
epic0: interrupting at irq 23
epic0: SMC9432TX, Ethernet address 00:e0:29:1a:b1:ab
qsphy0 at epic0 phy 3: QS6612 10/100 media interface, rev. 1
qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
obio0 at pci0 dev 16 function 0: addr 0xf3000000
mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
scsibus0 at mesh0: 8 targets, 8 luns per target
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0 (console)
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
nvram0 at obio0 offset 0x60000
adb0 at obio0 offset 0x16000 irq 18: 1 targets
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0 mux 1
wdc0 at obio0 offset 0x20000 irq property not found; using 13: DMA transfer
atabus0 at wdc0 channel 0
md0: internal 2048 KB image area
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 3 lun 0: <MATSHITA, CD-ROM CR-506, 8S05> cdrom removable
wd0 at atabus0 drive 0: <Maxtor 82160D2>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 2014 MB, 4092 cyl, 16 head, 63 sec, 512 bytes/sect x 4124736 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
boot device: cd0
root on md0a dumps on md0b
root file system type: ffs
WARNING: clock gained 4 days -- CHECK AND RESET THE DATE!
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
mount_mfs: Unable to determine file system size
Terminal type? [vt100] 
Erase is backspace.
(I)nstall, (S)hell or (H)alt ? s
# 
---

> On OF 1.0.5 'boot scsi-int/sd@3:,\ofwboot.xcf' should work, can anyone 
> confirm this?

'boot scsi-int/sd@3:,\ofwboot.xcf' doesn't work on OF 2.0 (my Apus):

---
Open Firmware, 2.0
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > boot scsi-int/sd@3:0,\ofwboot.xcf bad partition number, using 0DEFAULT CATCH!, code=FFF00300 at   %SRR0: FF80AC9C   %SRR1: 0000B070

[hangup; CTRL-CMD-POWER]

Open Firmware, 2.0
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > boot scsi-int/sd@3:,\ofwboot.xcf bad partition number, using 0

[hangup again]

---
Izumi Tsutsui