git repo

Wartan Hachaturow wartan.hachaturow at gmail.com
Wed Nov 5 10:41:35 EST 2008


On Tue, Nov 4, 2008 at 10:41 AM, Paul Nasrat <pnasrat at googlemail.com> wrote:
>> Tested on QS22, firmware QD-1.41.0-1.
>> Kernel netbooting works fine, although the ramdisk, being 4.4 mb
>> (kernel is about 9.5Mb), failed to load with "Claim failed for initrd
>> memory".
>
> Hmm can you try reverting c8b04c614770870d75825c19bcd4729cc779b84a

Yeah, works fine that way.

These are the relevant parts of the DEBUG=1 log (with the c8b04 there
unreverted):

Adding OF methods...
    prom_init - OF interface initialized.
    yaboot_start - Malloc buffer allocated at 00300000 (1048576 bytes)
    yaboot_start - reloc_offset :  0         (should be 0)
    yaboot_start - test_bss     :  0         (should be 0)
    yaboot_start - test_data    :  0         (should be 0)
    yaboot_start - &test_data   :  0022a460
    yaboot_start - &test_bss    :  0022a464
    yaboot_start - linked at    :  0x00200000
    yaboot_start - Running on _machine = 4
[loading the config file skipped]
  TFTP: Received /vmlinuz (9530 KBytes)
    of_net_open - result: 9759632
<-- of_net_open - FILE_ERR_OK
    load_elf64 - Elf64 header:
    load_elf64 -  e.e_type      = 2
    load_elf64 -  e.e_machine   = 21
    load_elf64 -  e.e_version   = 1
    load_elf64 -  e.e_entry     = 0x0000000000000000
    load_elf64 -  e.e_phoff     = 0x0000000000000040
    load_elf64 -  e.e_shoff     = 0x000000000094e1d0
    load_elf64 -  e.e_flags     = 0
    load_elf64 -  e.e_ehsize    = 0x00000040
    load_elf64 -  e.e_phentsize = 0x00000038
    load_elf64 -  e.e_phnum     = 3
    load_elf64 - Before prom_claim, mem_sz: 0x00b00000
    prom_claim_chunk - claimed 11534336 at 0x1400000 (0x0)
    load_elf64 - After ELF parsing, load base: 01400000, mem_sz: 0x00b00000
    load_elf64 -     wanted load base: 0x00000000, mem_sz: 0x00b00000
   Elf64 kernel loaded...
--> of_close
    of_close - <@0e9832c0>
    of_close - of_close called
<-- of_close - 0
Loading ramdisk...
    open_file - dev_path =
/axon at 10000000000/plb5/plb4/pcix at 4000004600000000/ethernet at 1:
file_name = /full.cz
partition = -1
    open_file - device is a network device
--> of_net_open
    of_net_open -
dev=/axon at 10000000000/plb5/plb4/pcix at 4000004600000000/ethernet at 1:,
part=0x00000000 (-1), file_name=/full.cz
    of_net_open - siaddr <<NULL>>; filename <\full.cz>; ciaddr
<<NULL>>; giaddr <<NULL>>; ipv6 <0>
    of_net_open - Opening:
"/axon at 10000000000/plb5/plb4/pcix at 4000004600000000/ethernet at 1:,\full.cz,,,,,"
    of_net_open - file->of_device = 0e9832c0
    prom_claim_chunk - claimed 16777216 at 0x1f00000 (0x0)
    of_net_open - TFP...

 Bootloader 1.6
  Reading MAC address from device: 00:1a:64:b8:03:54
  Requesting IP address via DHCP: 192.168.17.6
  Requesting file "/full.cz" via TFTP from 192.168.17.9
  Receiving data:  4406 KBytes
  TFTP: Received /full.cz (4406 KBytes)
    of_net_open - result: 4512596
<-- of_net_open - FILE_ERR_OK
Claim failed for initrd memory
--> of_close
    of_close - <@0e9832c0>
    of_close - of_close called
<-- of_close - 0
ramdisk load failed !


-- 
Regards, Wartan.



More information about the Yaboot-devel mailing list