option domain-name "marty44.net"; option domain-name-servers 192.168.44.1; default-lease-time 14400; max-lease-time 43200; ddns-update-style none; option option-150 code 150 = ip-address;hardware ethernet 00:04:ac:ac:ac:33; - this is the MAC address of the B50. Replace 00:04:ac:ac:ac:33 with the MAC address you find it in the SMS menu at point 1.subnet 192.168.45.0 netmask 255.255.255.0 { range 192.168.45.10 192.168.45.20; option routers 192.168.45.1; option option-150 192.168.45.1; host b50no1 { fixed-address 192.168.45.70; hardware ethernet 00:04:ac:ac:ac:33; option host-name "b50no1"; filename "ofwboot"; next-server 192.168.45.1; option root-path "/platte/netbsd"; } }
# /usr/local/sbin/dhcpd -q fxp0 -cf /root/dhcpd.confGet the TFTP server running: edit /etc/inetd.conf and uncomment the tftp entry. Restart the inetd.
Setup the NFS server: create the directory /platte/netbsd and store the file netbsd-INSTALL.gz from ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/ofppc/installation/netboot/ in it.
Rename netbsd-INSTALL.gz to netbsd.ofppc. Do not unzip it!
Create the directory /platte/netbsd/ofppc/binary/sets and store every file from ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/ofppc/binary/sets/ in it. You need the two kernel images from ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/ofppc/binary/kernel/ too (netbsd-GENERIC.gz and netbsd-INSTALL.gz).
Edit /etc/exports and add this line:
/platte/netbsd -alldirs -ro -network=192.168.45.0 -mask 255.255.255.0Start/restart the NFS server (for instructions see the OpenBSD FAQ). Now it is time to turn the B50 on. Since I don't have a graphics card installed, I use a null modem cable for console access. 9600 baud, 8 data bits, 1 stop bit, no parity and no flow control.
Wait for the console:
Press 0 to select this console
as the active console
Press 0 several times
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000Press 1 several times1 = SMS Menu 5 = Default Boot List 8 = Open Firmware Prompt 6 = Stored Boot List
memory keyboard network scsi speakerPress 1 to see the hardware details. Interesting information are marked in red.RS/6000 Firmware Version TCP09267 (c) Copyright IBM Corp. 2000 All rights reserved. ------------------------------------------------------------------------------- System Management Services
1 Display Configuration 2 Multiboot 3 Utilities 4 Select Language
Device NamePress x and then 2 to enter the Multiboot menu
PowerPC,604e 375 MHz L2-Cache 1024K Memory Memory DIMM slot = 1 size = 256 MB Memory DIMM slot = 2 size = 256 MB Memory DIMM slot = 3 size = 256 MB Memory DIMM slot = 4 size = 256 MB Tablet Port LPT addr=378 COM addr=3f8 COM addr=2f8 audio Display Panel Integrated Ethernet (P1/E1) addr=0004acacac33 <---- this is the MAC address
.-----------. .------. |N=next-page| |X=Exit| `-----------' `------' SCSI controller id= 7 (P1/Z1) 9100 MB Harddisk id,lun=4,0 <---- 4 is the id of the first hard disk 9186 MB Harddisk id,lun=11,0 PCI Adapters
IBM 100/10 Ethernet Adapter Slot 2 (P1.1-I2/E1)
SysKonnect PCI FDDI Adapter Slot 1 (P1.1-I1/Q1)
Security OK
System Information 440C12A Serial Number TCP09267 Firmware Version <---- this is the firmware version 09/24/09 Firmware Date
RS/6000 Firmware Version TCP09267 (c) Copyright IBM Corp. 2000 All rights reserved. ------------------------------------------------------------------------------- MultibootPress 5 for the OK Prompt
1 Select Software 2 Software Default 3 Select Install Device 4 Select Boot Devices 5 OK Prompt 6 Multiboot Startup
.-------------------------------------.
| Exit SMS to OK> Prompt? (Y)es/(N)o |
`-------------------------------------'
Press y to confirm.0 > devalias scsi /pci@80000000/scsi@10 disk /pci@80000000/scsi@10/sd@4,0 com1 /pci@80000000/isa@b/serial@i3f8 serial /pci@80000000/isa@b/serial@i3f8 com2 /pci@80000000/isa@b/serial@i2f8 net /pci@80000000/ethernet@c network /pci@80000000/ethernet@c rtc /pci@80000000/isa@b/rtc@i70 nvram /pci@80000000/isa@b/nvram@i74 sound /pci@80000000/isa@b/sound@i534 parallel /pci@80000000/isa@b/parallel@i378 screen /pci@80000000/isa@b/serial@i3f8 ok 0 > nvalias disk /pci@80000000/scsi@10/sd@4,0:4 okNow the disk devalias knows that it should look for the boot loader in the fourth partition of SCSI disk id 4.
0 > printenv boot-device -------------- Partition: common -------- Signature: 0x70 --------------- boot-device /pci@80000000/scsi@10/sd@4,0 /pci@80000000/ethernet@c ok 0 > setenv boot-device /pci@80000000/scsi@10/sd@4,0:4 /pci@80000000/ethernet@c okTime to boot the install kernel:
0 > boot net LOAD: Waiting 60 seconds for Spanning Tree BOOTP R = 1 BOOTP S = 1 FILE: ofwboot Load Addr=0x4000 Max Size=0xbfc000 FINAL Packet Count = 109 Final File Size = 55772 bytes.Please take care about the root addr and path details. It should be the values like in the dhcpd.conf.
>> NetBSD/ofppc OpenFirmware Boot, Revision 1.10 >> (builds@b7.netbsd.org, Sat Feb 6 20:17:30 UTC 2010) Using IP address: 192.168.45.70 root addr=192.168.45.1 path=/platte/netbsd
Now install NetBSD. Later choose NFS and type in the details from the top to install the sets. After rebooting, NetBSD should start from disk. If not there is a mistake in the boot-device command.
Everybody loves dmesg:
>> NetBSD/ofppc OpenFirmware Boot, Revision 1.10
>> (builds@b7.netbsd.org, Sat Feb 6 20:17:30 UTC 2010)
open /netbsd.ofppc: No such file or directory
4178932+354604 [234224+226695]=0x4c3964
start=0x100000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009
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 5.0.2 (GENERIC) #0: Sat Feb 6 20:29:43 UTC 2010
builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/ofppc/
201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/ofppc/
compile/GENERIC
Model: IBM,7046-B50
total memory = 1024 MB
avail memory = 988 MB
bootpath: /pci@80000000/scsi@10/sd@4,0/netbsd
mainbus0 (root)
rtas0 at mainbus0: version 1, entry @pa 0x6ca6dc
cpu0 at mainbus0: 604e (Revision 1.2), ID 0 (primary)
cpu0: HID0 c001c086, powersave: 1
cpu0: 375.00 MHz
cpu0: L1 I-cache 32 KB 32B/line, D-cache 32 KB 32B/line
cpu0: L2 cache 1 MB 32B/line
ofwpci0 at mainbus0
Found openpic at fcdc0000
OpenPIC Version 1.1: Supports 4 CPUs and 16 interrupt sources.
pci0 at ofwpci0 bus 0: OFW method configuration space access
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
pchb0: L2 cache: 1M, internally controlled write-back mode
pcib0 at pci0 dev 11 function 0: Symphony Labs 83C553 PCI-ISA Bridge (rev. 0x10)
pciide0 at pci0 dev 11 function 1
pciide0: Symphony Labs 82C105 (rev. 0x05)
pciide0: couldn't map native-PCI interrupt
pciide0: couldn't map native-PCI interrupt
pcn0 at pci0 dev 12 function 0: AMD PCnet-PCI Ethernet
pcn0: Am79c971 PCnet-FAST rev 6, Ethernet address 00:04:ac:97:6a:33
pcn0: interrupting at irq 22
nsphy0 at pcn0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy0 at pcn0 phy 31: Generic IEEE 802.3u media interface
ukphy0: Am79C972 internal 10BASE-T interface (OUI 0x000058, model 0x0001), rev. 1
ukphy0: 10baseT, 10baseT-FDX, auto
IBM MPIC (undefined subclass 0x00) at pci0 dev 13 function 0 not configured
esiop0 at pci0 dev 16 function 0: Symbios Logic 53c875 (ultra-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at irq 23
scsibus0 at esiop0: 16 targets, 8 luns per target
pcn1 at pci0 dev 18 function 0: AMD PCnet-PCI Ethernet
pcn1: Am79c971 PCnet-FAST rev 6, Ethernet address 00:04:ac:de:e3:f4
pcn1: interrupting at irq 18
nsphy1 at pcn1 phy 1: DP83840 10/100 media interface, rev. 1
nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy1 at pcn1 phy 31: Generic IEEE 802.3u media interface
ukphy1: Am79C972 internal 10BASE-T interface (OUI 0x000058, model 0x0001), rev. 1
ukphy1: 10baseT, 10baseT-FDX, auto
Schneider & Koch SK-NET FDDI-xP (FDDI network, revision 0x14) at pci0 dev 22 function 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
attimer0: attached to pcppi0
biomask 800001c netmask 800001c ttymask 800001c
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 4 lun 0: disk fixed
sd0: 8678 MB, 11474 cyl, 5 head, 309 sec, 512 bytes/sect x 17774160 sectors
sd0: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 11 lun 0: disk fixed
sd1: 8761 MB, 13816 cyl, 4 head, 324 sec, 512 bytes/sect x 17942584 sectors
sd1: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged queueing
Kernelized RAIDframe activated
boot device: sd0
Other things to know about the B50:Problems with my English? Please drop me an email with improvements.
zurück zu Sonstiges
Letzte Aktualisierung dieser Seite: 3. April 2010