On Mon, Jun 04, 2007 at 05:58:51PM +0200, Peter Stuge wrote:
I would appreciate any feedback I can get on the patch. It needs more testing.
Hi Peter,
tried your patch. It seems to work for the Kernel, but fails with the inird.img (?). I cut some "identical" lines to keep the mail shorter, if the full output is necessary just let me know.
Remark: I used only a delay(1) in main/filo.c, which was enought before the patch has been applied (Ward, perhaps this can be added to your Wiki).
............ ............ Wrote linuxbios table at: 00000530 - 00000dd4 checksum 7022
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
rom_stream: 0xfffc0000 - 0xfffdefff Found ELF candidate at offset 0 header_offset is 0 Try to load at offset 0x0 New segment addr 0x100000 size 0x3ce00 offset 0xc0 filesize 0x12de8 (cleaned up) New segment addr 0x100000 size 0x3ce00 offset 0xc0 filesize 0x12de8 New segment addr 0x13ce00 size 0x48 offset 0x12ec0 filesize 0x48 (cleaned up) New segment addr 0x13ce00 size 0x48 offset 0x12ec0 filesize 0x48 Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x00000000bff80000 memsz: 0x000000000003ce00 filesz: 0x0000000000012de8 Clearing Segment: addr: 0x00000000bff92de8 memsz: 0x000000000002a018 Loading Segment: addr: 0x00000000bffbce00 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x10df28 FILO version 0.5 (andi@flashgordon) Mon Jun 4 20:13:51 CEST 2007 setup_timers: CPU 2400 MHz menu: hde5:/boot/grub/menu.lst find_ide_controller: found PCI IDE controller 10de:037f prog_if=0x85 find_ide_controller: primary channel: native PCI mode find_ide_controller: cmd_base=0x3000 ctrl_base=0x3070 ide_software_reset: Waiting for ide2 to become ready for reset... ok init_drive: Testing for hde init_drive: Probing for hde init_drive: LBA mode, sectors=268435455 init_drive: LBA48 mode, sectors=488395055 init_drive: Init device params... ok hde: LBA48 250GB: SAMSUNG SP2504C init_drive: Testing for hdf init_drive: Probing for hdf IDE timeout after 50 ms while waiting for drq() pio_data_in: No DRQ from device after read command print_status: IDE: status=0x0, err=0x0 init_drive: Testing for hdf init_drive: Probing for hdf IDE timeout after 50 ms while waiting for drq() pio_data_in: No DRQ from device after read command print_status: IDE: status=0x0, err=0x0 ide_readmany: sector 0 to 0x00117c00 ide_readmany: sector 132825420 to 0x00119400 ide_readmany: sector 132825485 to 0x00119600 ide_readmany: sector 132825486 to 0x00119800 Mounted ext2fs ide_readmany: sector 132825491 to 0x0011a200 ..............cut........................... ext2fs_read_one: block 438273 offset=1210 len=1 ret=0 ext2fs_read_one: block 438273 offset=1211 len=1 ret=0 Press any key to continue. Press any key to continue. Press any key to continue. Press any key to continue. Press any key to continue. Press any key to continue. ext2fs_read_one: block 438273 offset=1212 len=1 ret=0 ext2fs_read_one: block 438273 offset=1213 len=1 ret=0 ......................cut.............................. ext2fs_read_one: block 438274 offset=518 len=1 ret=0 ext2fs_read_one: block 438274 offset=519 len=1 ret=0 ext2fs_read_one: block 438274 offset=520 len=1 ret=0 ide_readmany: sector 132825491 to 0x0011a200 ide_readmany: sector 132825492 to 0x0011a400 ide_readmany: sector 132825493 to 0x0011a600 ide_readmany: sector 132825494 to 0x0011a800 ide_readmany: sector 132825495 to 0x0011aa00 ide_readmany: sector 132825496 to 0x0011ac00 ide_readmany: sector 132825497 to 0x0011ae00 ide_readmany: sector 132825498 to 0x0011b000 ide_readmany: sector 132825515 to 0x0011d200 ide_readmany: sector 132825516 to 0x0011d400 ide_readmany: sector 132825517 to 0x0011d600 ide_readmany: sector 132825518 to 0x0011d800 ide_readmany: sector 132825519 to 0x0011da00 ide_readmany: sector 132825520 to 0x0011dc00 ide_readmany: sector 132825521 to 0x0011de00 ide_readmany: sector 132825522 to 0x0011e000 ide_readmany: sector 136233387 to 0x0011d200 ide_readmany: sector 136233388 to 0x0011d400 ide_readmany: sector 136233389 to 0x0011d600 ide_readmany: sector 136233390 to 0x0011d800 ide_readmany: sector 136233391 to 0x0011da00 ide_readmany: sector 136233392 to 0x0011dc00 ide_readmany: sector 136233393 to 0x0011de00 ide_readmany: sector 136233394 to 0x0011e000 ide_readmany: sector 136298891 to 0x00119200 ide_readmany: sector 136298892 to 0x00119400 ide_readmany: sector 136298893 to 0x00119600 ide_readmany: sector 136298894 to 0x00119800 ide_readmany: sector 136298895 to 0x00119a00 ide_readmany: sector 136298896 to 0x00119c00 ide_readmany: sector 136298897 to 0x00119e00 ide_readmany: sector 136298898 to 0x0011a000 ext2fs_read_one: block 452608 offset=0 len=52 ret=0 ide_readmany: sector 136446347 to 0x00119200 ide_readmany: sector 132825515 to 0x0011d200 ide_readmany: sector 132825516 to 0x0011d400 ide_readmany: sector 132825517 to 0x0011d600 ide_readmany: sector 132825518 to 0x0011d800 ide_readmany: sector 132825519 to 0x0011da00 ide_readmany: sector 132825520 to 0x0011dc00 ide_readmany: sector 132825521 to 0x0011de00 ide_readmany: sector 132825522 to 0x0011e000 ide_readmany: sector 136233387 to 0x0011d200 ide_readmany: sector 136233388 to 0x0011d400 ide_readmany: sector 136233389 to 0x0011d600 ide_readmany: sector 136233390 to 0x0011d800 ide_readmany: sector 136233391 to 0x0011da00 ide_readmany: sector 136233392 to 0x0011dc00 ide_readmany: sector 136233393 to 0x0011de00 ide_readmany: sector 136233394 to 0x0011e000 ide_readmany: sector 136298891 to 0x00119200 ext2fs_read_one: block 452608 offset=0 len=560 ret=0 ide_readmany: sector 136446347 to 0x00119200 ide_readmany: sector 136446348 to 0x00119400 Found Linuxblock 452609 offset=1099 len=256 ret=0 ide_readmany: sector 136446357 to 0x0011a600 version 2.6.21-1-amd64 (unknown@Debian) #1 SMP Fri May 18 23:28:21 CEST 2007 bzImage. Loading kernel... sector 136446443 to 0x0011d200 ide_readmany: sector 136446444 to 0x0011d400 ide_readmany: sector 136446445 to 0x0011d600 ide_readmany: sector 136446446 to 0x0011d800 ide_readmany: sector 136446447 to 0x0011da00 ide_readmany: sector 136446448 to 0x0011dc00 ide_readmany: sector 136446449 to 0x0011de00 ide_readmany: sector 136446450 to 0x0011e000 ext2fs_read_many: 10 blocks 452610 - 452619 len=1561450 ret=0 ide_readmany: sectors 136446363 - 136446442 ( 80) to 0x4023ce50 ext2fs_read_many: 372 blocks 452621 - 452992 len=1520490 ret=40960 ide_readmany: sectors 136446451 - 136446706 (256) to 0x40246e50 ide_readmany: sectors 136446707 - 136446962 (256) to 0x40266e50 ide_readmany: sectors 136446963 - 136447218 (256) to 0x40286e50 ide_readmany: sectors 136447219 - 136447474 (256) to 0x402a6e50 ide_readmany: sectors 136447475 - 136447730 (256) to 0x402c6e50 ide_readmany: sectors 136447731 - 136447986 (256) to 0x402e6e50 ide_readmany: sectors 136447987 - 136448242 (256) to 0x40306e50 ide_readmany: sectors 136448243 - 136448498 (256) to 0x40326e50 ide_readmany: sectors 136448499 - 136448754 (256) to 0x40346e50 ide_readmany: sectors 136448755 - 136449010 (256) to 0x40366e50 ide_readmany: sectors 136449011 - 136449266 (256) to 0x40386e50 ide_readmany: sectors 136449267 - 136449426 (160) to 0x403a6e50 ext2fs_read: discarding 3222 surplus bytes ext2fs_read: done reading many len=0 ret=1561450 ok ide_readmany: sector 132825493 to 0x0011a600 ide_readmany: sector 132825515 to 0x0011d200 ide_readmany: sector 132825516 to 0x0011d400 ide_readmany: sector 132825517 to 0x0011d600 ide_readmany: sector 132825518 to 0x0011d800 ide_readmany: sector 132825519 to 0x0011da00 ide_readmany: sector 132825520 to 0x0011dc00 ide_readmany: sector 132825521 to 0x0011de00 ide_readmany: sector 132825522 to 0x0011e000 File not found Can't open initrd: /initrd.img