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

Re: yaboot errors on g4



Ethan Benson wrote:

> enclosed is a debug version of yaboot 0.5 if you don't find anything
> else wrong..  the main thing to look for is that the OF path yaboot is
> using to fetch the files looks sane.

The yaboot-debug did not work but here is the output.
(I transcribed this by hand.  Whew !!)

Adding OF methods...
OF interface initialized.
Malloc buffer allocated at 0x300000 (1048576 bytes)
reloc_offset : 0
test_bss : 0
test_data :0
&test_data : 0x0020d780
&test_bss : 0x0020d7d0
linked at : 0x00200000

Welcome to yaboot version 0.5
/chosen/bootpath = /pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0:\\yaboot
after parse_device_path: device:/pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0,
path: \\yaboot, partition: -1
after path fixup: device:/pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0, path:
\\, partition: -1
dev_path = /pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0
file_name = \\yaboot.conf
partition = -1
dev_phandle = ff8a3300
device is a block device
block size of device is 512
partitions:
number: 06 type: 02, start: 0x0264cedc, length: 0xffffffff => extra
ext2_open(dev:/pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0, part: 0x00308044,
name:\\yaboot.conf
partition offset: 215981 ->
prom_open</pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0:0>...
-> ff9c0080

Read error on block 1 ext2fs_open error #2133571364 while loading file
\\yaboot.conf
of_open(dev:/pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0, part: 0x00308008,
name: \\yaboot.conf
->
prom_open</pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0:02,\\yaboot.conf>...
->ff9bfd00
WARNING ! default_read called !
Error, can't read config file.



The output of "pdisk /dev/hda" is

Edit /dev/hda -
Command (? for help): p

Partition map (with 512 byte blocks) on '/dev/hda'
 #:                type name           length   base       ( size )
 1: Apple_partition_map Apple              63 @ 1
 2:           Apple_HFS /bootstrap       1600 @ 64
 3:           Linux_PPC swap           524288 @ 1664       (256.0M)
 4:           Linux_PPC /             4194304 @ 525952     (  2.0G)
 5:           Linux_PPC /home        35440732 @ 4720256    ( 16.9G)
 6:     Apple_UNIX_SVR2 Extra      4294967295 @ 40160988   (  2.0T)

Device block size=512, Number of Blocks=40160987 (19.2G)
DeviceType=0x0, DeviceId=0x0

Command (? for help): q



Reply to: