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

yaboot trouble on CHRP (was: potato chrp ISO?)



{... booting trouble on an RS/6000 B50...}

Well, as I told, the boot partition had to be sized EXACTLY 4 Mb. 
Otherwise, 
0 > boot scsi/sd@6 root=/dev/sda4 console=ttyS0 chrpboot video=keep 
hangs with code E140 which means "Unresolved problems" within PReP style 
load, where not even the small reset button reboots the machine.

With the correctly sized /dev/sda1 of 4 Megabytes and yaboot (written by 
mkofboot) it gives:

boot: failsafe
Please wait, loading kernel...
   Elf32 kernel loaded...
chrpboot starting: loaded at 0x00400000
gunzipping (0x00010000 <- 0x00416470:0x004d96ec)...done 1924340 bytes
48568 bytes of heap consumed, max in use 40848
start address = 0x10000
instantiating rtas at 00600000 ... done
copying OF device tree...done
Calling quiesce ...
returning 00010000  from prom_init

and it hangs with code "7777".

within yaboot:
boot: /pci@80000000/scsi@10/sd@6:4,/boot/vmlinux-2.4.17-nomodules 
root=/dev/sda4 console=ttyS0
Please wait, loading kernel...
   Elf32 kernel loaded...
chrpboot starting: loaded at 0x00400000
gunzipping (0x00010000 <- 0x00416470:0x004d96ec)...done 1924340 bytes
48568 bytes of heap consumed, max in use 40848
start address = 0x10000
instantiating rtas at 00600000 ... done
copying OF device tree...done
Calling quiesce ...
returning 00010000  from prom_init

and it hangs with code "7777"

0 > setenv auto-boot true 
0 > setenv boot-device scsi/sd@6 
0 > setenv boot-file  root=/dev/sda4 console=ttyS0  
0 > setenv boot-command boot  
0 > reset-all

then it booted like:
Welcome to yaboot version 1.3.9
Enter "help" to get some basic usage information
Default supplied on the command line: root=/dev/sda4 console=ttyS0
boot: root=/dev/sda4 console=ttyS0
Please wait, loading kernel...
root=/dev/sda4:4,/vmlinux: Unable to open file, Invalid device

boot: 
(I chose the kernel image failsafe from which I know it boots}

Please wait, loading kernel...
   Elf32 kernel loaded...
chrpboot starting: loaded at 0x00400000
gunzipping (0x00010000 <- 0x00416470:0x004d96ec)...done 1924340 bytes
48568 bytes of heap consumed, max in use 40848
start address = 0x10000
instantiating rtas at 00600000 ... done
copying OF device tree...done
Calling quiesce ...
returning 00010000  from prom_init

and again "7777"

My temporary solution: 
I dd your kernel  linux.bin (the one without the modules) directly into 
/dev/sda1 -> then it boots directly with no problem, so I guess yaboot 
1.3.9 has difficulties.

BTW, mkofboot does not set the OpenFirmware variables, which does not 
surprise me, as the kernel says it "cannot handle nvram with 4 addresses".

Salut

Mark

-- 
Krisztian Mark Szentes
produktivIT   -  Open-Source Solution Provider
Siebenbrunnengasse 55/7
A-1050 Wien



Reply to: