?

Log in

No account? Create an account

Josh-D. S. Davis

Xaminmo / Omnimax / Max Omni / Mad Scientist / Midnight Shadow / Radiation Master

Previous Entry Share Next Entry
netbooting POWER4 woes
Josh 201604 KWP
joshdavis

download yaboot from
ftp://penguinppc.org/users/eb/yaboot

extract ./usr/local/lib/yaboot/yaboot to /tftpboot

download the current initrd image from debian's testing or unstable main area (power4 netboot for me)

set yaboot as the boot image:

dal630s6p2:bf=/tftpboot/dal630s6p2:ip=10.130.1.21:ht=ethernet:ha=0002554F588C:sa=10.130.0.216:sm=255.255.252.0

when it boots, you'll see:

          1 = SMS Menu                          5 = Default Boot List
          6 = Stored Boot List                  8 = Open Firmware Prompt


     memory      keyboard     network     scsi     speaker  ok
0 > boot net 
BOOTP: chosen-network-type = ethernet,100,rj45,half

BOOTP: client    IP = 0.0.0.0
BOOTP: server    IP = 0.0.0.0
BOOTP: gateway   IP = 0.0.0.0

BOOTP: device    /pci@400000000112/pci@2,2/ethernet@1
BOOTP: loc-code  U0.1-P1/E1

BOOTP: Cancel = ctl-C

BOOTP: wait 60 seconds for Spanning Tree ... 

BOOTP S = 1 
FILE: /tftpboot/dal630s6p2
Load Addr=0x4000 Max Size=0xfffc000 
FINAL Packet Count = 294 
FINAL File Size = 150052 bytes.

Elapsed time since release of system processors: 11751 mins 57 secs


BOOTP: chosen-network-type = ethernet,100,rj45,half

BOOTP: client    IP = 0.0.0.0
BOOTP: server    IP = 0.0.0.0
BOOTP: gateway   IP = 0.0.0.0

BOOTP: device    /pci@400000000112/pci@2,2/ethernet@1
BOOTP: loc-code  U0.1-P1/E1

BOOTP: Cancel = ctl-C

BOOTP: wait 60 seconds for Spanning Tree ... 

BOOTP S = 1 
FILE: /tftpboot/dal630s6p2
Load Addr=0x600000 Max Size=0xfa00000 
FINAL Packet Count = 294 
FINAL File Size = 150052 bytes.
Config file read, 32768 bytes

Welcome to yaboot version 1.3.12
Enter "help" to get some basic usage information
boot: 

at the boot prompt, I typed this	

boot: /pci@400000000112/pci@2,2/ethernet@1:10.130.0.216,/tftpboot/vmlinuz-chrp-rs6k.initrd

note, you cannot paste into the rconsole/vterm as yaboot won't accept chars that fast

Please wait, loading kernel...

BOOTP: chosen-network-type = ethernet,100,rj45,half

BOOTP: client    IP = 0.0.0.0
BOOTP: server    IP = 10.130.0.216
BOOTP: gateway   IP = 0.0.0.0

BOOTP: device    /pci@400000000112/pci@2,2/ethernet@1
BOOTP: loc-code  U0.1-P1/E1

BOOTP: Cancel = ctl-C

BOOTP: wait 60 seconds for Spanning Tree ... 

BOOTP S = 1 
FILE: /tftpboot/vmlinuz-chrp-rs6k.initrd
Load Addr=0x600000 Max Size=0xfa00000 
FINAL Packet Count = 7396 
FINAL File Size = 3786738 bytes.
   Elf32 kernel loaded...

Note: the LED will hang at E143 for a couple of minutes while the kernel is initialized and figured out what it's running on.

NOTE: I couldn't figure out how to get it to take console=ttyS0 on the yaboot line, so it's blank for a while

NOTE: you'll notice that I kept the stock 32-bit kernel/initrd from debian rather than trying to build my own cross-compiler for ppc linux 64-bit in a classroom environment.

ok, crap, it hangs at E143 forever.
trying other stuff.  it's wierd.  Sometimes it tries to load /etc/yaboot.conf and sometimes it doesn't.

Tags: