Subject: Partial sucess (halted due to missing files on CD)
To: Henry B. Hotz <hotz@jpl.nasa.gov>
From: David Henderson <davidh@huey.jpl.nasa.gov>
List: port-macppc
Date: 01/11/2001 03:29:51
Hello Henry,

Well, your suggestion of a strict ISO CDROM helped a lot. I had been using
the Toast options to extend the standard. The "Use Macintosh names" flag
and on at least one CD had the "Use Macintosh extentions" turned on. This
is apparently verboten with my firmware.

I've zapped the PRAM. That should be good enough to restore OF to a virgin
state. I'm disinclined to experiment further right now.

My CDROM drive is a TEAC scsi connected device. I have two IDE hard drives
connected to the Tanzania II IDE busses in this machine. They work fine
with MacOS and for now I won't fool around with using them for NetBSD.

I still haven't gotten ofwboot.xcf to load using the firmware; I keep on
getting "claim failed". I've also created a MS-DOS diskette with
OFWBOOT.XCF on it; no success.

What does work is to use boot.fs to create a partition 0 bootloader on a
scsi drive. Doing it on to a scsi connected ZIP didn't work so well. Doing
it ot a floppy didn't work.

The accidental situation that worked is: I have two SCSI drives(sd0 and
sd1); The internal drive, sd0 had the boot.fs written to it, and sd1, the
external 2 gig scsi drive that was prepped with a Root&Usr and Swap
partitions with HD SC Setup.

My first attempt with boot.fs was sucessful; I forgot to say -a to the
bootloader and it apparently went ahead and scanned the drives looking for
a NETBSD system to boot, finding it on the CDROM. The installer came up
immediately. I was somewhat surprised to have to run it from the zterm
program I had connected to the Starmax serial port.

I then reset the machine and experimented with specifying NETBSD.RAM to the
boot.fs bootloader; this did not work for me. I went back to the installer
just by giving the bootloader a blank line.

The installer would not create a correct partition set on the sd0 hard
drive that had boot.fs written it; it said "disklabel -w -r sd0 scsi0"
failed. I guess that might be because the driver info was wiped out by
jamming boot.fs on the drive. Only the sd1 hard drive that I had prepared
with Root&Usr partitions seemed to be configured OK by the installer.

The installer went ahead and found the "sets" subdirectory in
/cdrom/macpps/binary/sets and proceeded to install the files. What stopped
me was that misc.tgz, man.tgx, and xfont.tgz were simply not on the CDROM.
I used "Fetch" to get the files and it didn't follow the symbolic links on
the ftp site.

I went ahead and did a OF boot from the drive with NetBSD 1.5 on it. The
session on ttya is appended as a postscript to the email. It stopped
because /dev/console wasn't found. I guess things will work out once I have
a complete set of files installed.

Once I have a functioning installation I'll worry about redirecting the
firmware to use the keyboard and screen.

David


0 > boot scsi/sd@1:0
>> NetBSD/macppc OpenFirmware Boot, Revision 1.2
>> (matt@duel.local, Thu Nov 16 17:26:57 PST 2000)
2901124+237436 [100+105392+88705]=0x32dd24
 start=0x100000
[ preserving 194852 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000
    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 1.5 (GENERIC) #1: Sun Nov 19 13:58:47 PST 2000
    matt@duel.local:/u1/kobj/GENERIC
CPU: 603ev (Revision 1201)
total memory = 81920 KB
avail memory = 70160 KB
using 1049 buffers containing 4196 KB of memory
no active packagemainbus0 (root)
cpu0 at mainbus0bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
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
wdc0 at obio0 offset 0x20000 irq 13: DMA transfer
wd0 at wdc0 channel 0 drive 0: <WDC AC24300L>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 4112 MB, 8912 cyl, 15 head, 63 sec, 512 bytes/sect x 8421840 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wdc1 at obio0 offset 0x21000 irq 14: DMA transfer
wd1 at wdc1 channel 0 drive 0: <ST33210A>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 3098 MB, 6296 cyl, 16 head, 63 sec, 512 bytes/sect x 6346368 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
adb0 at obio0 offset 0x16000 irq 18: 4 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0
akbd1 at adb0 addr 2: extended keyboard
wskbd at akbd1 not configured
ams1 at adb0 addr 3: EMP trackball <LT02> 3-button, 200 dpi
wsmouse at ams1 not configured
ofb0 at pci0 dev 17 function 0: ATI Technologies Mach64 GT
ofb0: 1280 x 1024, 8bpp
wsdisplay0 at ofb0
ppb0 at pci0 dev 20 function 0: Digital Equipment DECchip 21052 PCI-PCI
Bridge (
rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
Brooktree Bt848 Video Capture (video multimedia, revision 0x12) at pci1 dev
6 fu
nction 0 not configured
de0 at pci1 dev 7 function 0
de0: interrupting at irq 27
de0: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.0
de0: address 00:c0:95:f8:2b:29
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <QUANTUM, LPS540S, 590W> SCSI2 0/direct fixed
sd0: 516 MB, 2740 cyl, 4 head, 96 sec, 512 bytes/sect x 1057616 sectors
sd1 at scsibus0 target 1 lun 0: <QUANTUM, FIREBALL ST2.1S, 0F0C> SCSI2 0/direct
fixed
sd1: 2068 MB, 7068 cyl, 3 head, 199 sec, 512 bytes/sect x 4235629 sectors
cd0 at scsibus0 target 3 lun 0: <TEAC, CD-ROM CD-516S, 1.0D> SCSI2 5/cdrom
remov
able
mesh: SCSI_CHECK && MESH_SENSE?
mesh: SCSI_CHECK && MESH_SENSE?
boot device: sd1
root on sd1a dumps on sd1b
root file system type: ffs
warning: no /dev/console
de0: autosense failed: cable problem?

RESETing to change Configuration!