Subject: Re: Ethernet cards
To: None <mjreilly@flashcom.net>
From: Charles Carvalho <carvalho@cisco.com>
List: port-macppc
Date: 07/29/1999 13:22:19
At 10:31 AM +0000 7/29/99, Matthew Reilly wrote:
>fission wrote:
>> 
>> 1) To anyone who has netbooted successfully; what ethernet card and model
>> of Mac were you using? (if you don't telling me)
>
>It's my understanding that only the iMac and the Blue & White G3's can
>netboot. Am I wrong, anyone?
>
>cheers, 
>
>matthew

I've gotten my 7600 (with 604e CPU upgrade) to get as far as loading an
image via the (internal) ethernet with TFTP, although I haven't found an
image it likes. (From Bill's later message today, I guess that means it
needs XCOFF files.)  If I make a second attempt without resetting the system,
that fails differently, with "TFTP timeout".  I did note that on my system,
the right commands are "boot fd:0" or "boot enet"; "boot fd" didn't work,
which is why I started fiddling with the ethernet boot...  I did successfully
build a floppy boot disk with suntar and complete the 1.4 installation, but
haven't been able to boot that disk; that dies with a trap 400, even after
executing installboot manually (console log attached).  Any suggestions
are welcome...

Charles

[config and ethernet boot]

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 > dev / ls
FF828F80: /PowerPC,604@0
FF829230:   /l2-cache@0,0
FF8299F0: /chosen@0
FF829B20: /memory@0
FF829C68: /openprom@0
FF829D28: /AAPL,ROM@FFC00000
FF829F40: /options@0
FF82A618: /aliases@0
FF82A858: /packages@0
FF82A8E0:   /deblocker@0,0
FF82B0E0:   /disk-label@0,0
FF82B620:   /obp-tftp@0,0
FF82DA60:   /mac-files@0,0
FF82E258:   /mac-parts@0,0
FF82E9B8:   /aix-boot@0,0
FF82EE30:   /fat-files@0,0
FF830400:   /iso-9660-files@0,0
FF830D48:   /xcoff-loader@0,0
FF831708:   /terminal-emulator@0,0
FF8317A0: /bandit@F2000000
FF832990:   /gc@10
FF832DC8:     /53c94@10000
FF834650:       /sd@0,0
FF835280:       /st@0,0
FF835EF8:     /mace@11000
FF836D70:     /escc@13000
FF836EC8:       /ch-a@13020
FF837578:       /ch-b@13000
FF837C28:     /awacs@14000
FF837D10:     /swim3@15000
FF838E18:     /via-cuda@16000
FF8399A8:       /adb@0,0
FF839A98:         /keyboard@0,0
FF83A1E8:         /mouse@1,0
FF83A298:       /pram@0,0
FF83A348:       /rtc@0,0
FF83A810:       /power-mgt@0,0
FF83A930:     /mesh@18000
FF83C498:       /sd@0,0
FF83D0C8:       /st@0,0
FF83DDD0:     /nvram@1D000
FF83F848:   /pci106b,1@B
FF83DF08: /chaos@F0000000
FF83FAA8:   /control@B
FF840E60:   /planb@D
FF83EE98: /hammerhead@F8000000
 ok
0 > devalias
vci0                /chaos@F0000000
pci1                /bandit@F2000000
pci2                /bandit@F4000000
fd                  /bandit/gc/swim3
kbd                 /bandit/gc/via-cuda/adb/keyboard
ttya                /bandit/gc/escc/ch-a
ttyb                /bandit/gc/escc/ch-b
enet                /bandit/gc/mace
scsi                /bandit/gc/53c94
scsi-int            /bandit/gc/mesh
 ok
0 > boot enet file: <server-ipaddr>,/tftpboot/ofwbootDEFAULT CATCH!, code=FFF00300
 ok
0 > boot enet file: <server-ipaddr>,
TFTP timeout
TFTP timeout

[log of an earlier session, trying to boot from the installed system]

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 > boot fd:0
RESETing to change Configuration!
-
>> NetBSD/macppc OpenFirmware Boot, Revision 1.1
>> (tsubai@mint.iri.co.jp, Mon May 10 19:46:09 JST 1999)
Booting fd/netbsd
2859032@0x100000+144620@0x3ba018
 start=0x100000
Copyright (c) 1996, 1997, 1998, 1999
    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.4 (INSTALL) #0: Tue May 11 00:32:25 JST 1999
    tsubai@mint.iri.co.jp:/usr/src/sys/arch/macppc/compile/INSTALL
CPU: 604ev (Revision 204)
real mem  = 83886080
avail mem = 73228288
using 800 buffers containing 3276800 bytes of memory
no active packagemainbus0 (root)
cpu0 at mainbus0
pci0 at mainbus0 bus 0
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 11 function 0
pchb0: vendor 0x106b product 0x0001 (rev. 0x03)
obio0 at pci0 dev 16 function 0: addr 0xf3000000
esp0 at obio0 offset 0x10000 irq 12: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
probe(esp0:5:0): max sync rate 6.25Mb/s
sd0 at scsibus0 targ 5 lun 0: <SEAGATE, ST15230N, 0168> SCSI2 0/direct fixed
sd0: 4095MB, 3992 cyl, 19 head, 110 sec, 512 bytes/sect x 8386733 sectors
mc0 at obio0 offset 0x11000: irq 14,2,3: address 00:a0:40:19:f4:80
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
adb0 at obio0 offset 0x16000 irq 18: 3 targets
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse at ams0 not configured
ams1 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse at ams1 not configured
mesh0 at obio0 offset 0x18000 irq 13: 50MHz, SCSI ID 7
scsibus1 at mesh0: 8 targets, 8 luns per target
sd1 at scsibus1 targ 0 lun 0: <QUANTUM, FIREBALL_TM1280S, 300L> SCSI2 0/direct fixed
sd1: 1222MB, 6810 cyl, 2 head, 183 sec, 512 bytes/sect x 2503872 sectors
sd2 at scsibus1 targ 1 lun 0: <QUANTUM, FIREBALL_TM3200S, 300N> SCSI2 0/direct fixed
sd2: 3067MB, 6810 cyl, 5 head, 184 sec, 512 bytes/sect x 6281856 sectors
cd0 at scsibus1 targ 3 lun 0: <MATSHITA, CD-ROM CR-8008, 8.0e> SCSI2 5/cdrom removable
nvram0 at obio0 offset 0x1d000
pci1 at mainbus0 bus 1
pci1: i/o enabled, memory enabled
ofb0 at pci1 dev 11 function 0: vendor 0x106b product 0x0003
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0
vendor 0x106b product 0x0004 (undefined subclass 0x00, revision 0x01) at pci1 dev 13 function 0 not configured
wscons: wskbd0 glued to wsdisplay0
md0: internal 1536K image area
boot device: <unknown>
root on md0a dumps on md0b
WARNING: clock gained 56 days -- CHECK AND RESET THE DATE!
root file system type: ffs
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
Terminal type? [vt100]
Erase is backspace.
(I)nstall, (S)hell or (H)alt ? s
# mount /dev/sd0a /mnt
# stty erase ^?
# mount /dev/sd0g /mnt/usr
# cd /mnt/usr/mdec
# ls
bootxx       installboot  ofwboot
# cp ofwboot /mnt/boot
# ./installboot /mnt/boot bootxx /dev/rsd0a
# reboot
syncing disks... done
rebooting


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 > boot scsi/sd@5:0
>> NetBSD/macppc OpenFirmware Boot, Revision 1.1
>> (tsubai@mint.iri.co.jp, Mon May 10 19:46:09 JST 1999)
Booting scsi/sd@5/netbsd
1856444@0x100000+179560@0x2c53bc
 start=0x100000
Copyright (c) 1996, 1997, 1998, 1999
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

trap type 400 at ff8099b8
Stopped in  at  0x230154:       lwz r0, r1, 0x14,
db> reboot