Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Help needed booting NetBSD on Beige G3 Rev1 from the 2nd IDE Channel



Hi,

I installed NetBSD 5.0 RC2 on my Beige G3 on an HDD attached as master on
the secondary IDE channel.

The setup is as follows:

1 SCSI CDROM (scsi/sd@3:0)
1 master HDD on the primary IDE channel with MacOS 8.6
1 master HDD on the secondary IDE channel with a small HFS partition
  plus / and swap for NetBSD.

Open Firmware version 2.0f1

ide0 is an alias for /pci/mac-io/ide@20000
ide1 is an alias for /pci/mac-io/ide@21000
scsi is an alias for /pci/mac-io/mesh

I booted the installer from a custom made CDROM like this:
0> boot scsi/sd@3:0,\OFWBOOT.XCF;1 NETBSDMD.GZ;1
(I renamed the file netbsd-GENERIC_MD.gz to NETBSDMD.gz)

Now that the installation is finished, I'd like to boot the NetBSD from
the disk but I don't know how.

First I tried to see the content of the HFS
partition on the first and the second IDE disks, but

dir ide0/disk@0:x,\         where x is 0,1,...,10
dir ide1/disk@0:x,\
(pfdisk says that x should be 5 for ide0 and 7 for ide1)
returns the error message can't OPEN the DIR device.

Please help!

Best regards,
Gheorghe Ardelean.

P.S. I attached also the pfdisk listing and the opeprom device tree.

========== pfdisk output of the L command =========================

Partition map (with 512 byte blocks) on '/dev/ata0.0' (/dev/hda)
 #:                type name             length   base    ( size )
 1: Apple_partition_map Apple                63 @ 1
 2:    Apple_Driver_ATA*Macintosh            54 @ 64
 3:    Apple_Driver_ATA*Macintosh            74 @ 118
 4:       Apple_Patches Patch Partition     512 @ 192
 5:           Apple_HFS "MacOS 8.6"     4998966 @ 704     (  2.4G)
 6:          Apple_Free Extra                10 @ 4999670

Device block size=512, Number of Blocks=4999679 (2.4G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 20, type=0x701
2: @ 118 for 33, type=0xf8ff

ATA - couldn't get info

Partition map (with 512 byte blocks) on '/dev/ata1.0' (/dev/hdc)
 #:                type name             length   base    ( size )
 1: Apple_partition_map Apple                63 @ 1
 2:    Apple_Driver_ATA*Macintosh            54 @ 64
 3:    Apple_Driver_ATA*Macintosh            74 @ 118
 4:      Apple_FWDriver Macintosh           200 @ 192
 5:  Apple_Driver_IOKit Macintosh           512 @ 392
 6:       Apple_Patches Patch Partition     512 @ 904
 7:           Apple_HFS "MacOS8.6-Mini" 1058502 @ 1416    (516.8M)
 8:     Apple_UNIX_SVR2 Swap            1058502 @ 1059918 (516.8M)
 9:     Apple_UNIX_SVR2 A/UX Root       4937570 @ 2118420 (  2.4G)
10:          Apple_Free Extra                10 @ 7055990

Device block size=512, Number of Blocks=7055999 (3.4G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 21, type=0x701
2: @ 118 for 33, type=0xf8ff

============== openprom output ================

Open Firmware, 2.0f1
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
For Open Firmware serial I/O type:
TTYA IO<return>
 ok

0 > devalias
pci                 /pci@80000000
mac-io              /pci/mac-io
kbd                 /pci/mac-io/via-cuda/adb/keyboard
mouse               /pci/mac-io/via-cuda/adb/mouse
screen              /pci/ATY,mach64_3DU
ttya                /pci/mac-io/escc/ch-a
ttyb                /pci/mac-io/escc/ch-b
scsi                /pci/mac-io/mesh
scsi-int            /pci/mac-io/mesh
ide0                /pci/mac-io/ide@20000
ide                 /pci/mac-io/ide@20000
ata-int             /pci/mac-io/ide@20000
ide1                /pci/mac-io/ide@21000
enet                /pci/mac-io/bmac
swim                /pci/mac-io/swim3
fd                  /pci/mac-io/swim3
 ok

0 > dev /
ok

0> ls

Children of the node:
FF8295C8: /                             [AAPL,Gossamer MacRISC]

Node Adr    Node Name                     Compatible

FF82A9B8: /cpus
FF82AAD0:   /PowerPC,750
FF82AEE8:     /l2-cache
FF82B560: /chosen
FF82B690: /memory
FF82B7D8: /openprom
FF82B898: /AAPL,ROM
FF82BAE0: /options
FF82C5C8: /aliases
FF82C938: /packages
FF82C9C0:   /deblocker
FF82D0E8:   /disk-label
FF82D660:   /obp-tftp
FF82F8D0:   /mac-files
FF82FFF0:   /mac-parts
FF830750:   /aix-boot
FF830BA0:   /fat-files
FF8321B8:   /iso-9660-files
FF832B20:   /xcoff-loader
FF8333E8:   /terminal-emulator
FF833480: /pci
FF834768:   /mac-io
FF835940:     /mesh
FF837468:       /sd
FF838078:       /st
FF838D40:     /bmac
FF83A5D8:     /escc
FF83A770:       /ch-a
FF83AE00:       /ch-b
FF83B490:     /davbus
FF83B578:       /sound
FF83B668:     /swim3
FF83C820:     /nvram
FF83C918:     /ide
FF83E670:       /disk
FF83E720:     /ide
FF840478:       /disk
FF840528:     /via-cuda
FF841408:       /adb
FF841520:         /keyboard
FF841E48:         /mouse
FF842108:       /pram
FF8421B8:       /rtc
FF842680:       /power-mgt
FF843848:   /ATY,mach64_3DU
FF842988: /perch
 ok
0 >




Home | Main Index | Thread Index | Old Index