On Sun, 2011-01-16 at 16:02 -0500, Kevin O'Connor wrote:
On Sun, Jan 16, 2011 at 10:01:13PM +0100, Marc Bertens wrote:
Kevin,
Do i understand you correctly you want a log of the machine with the working version of seabios at debug level 8 ?
Setup a compile build system on the test machine; coreboot+seabios both on the latest releases. And it works correctly ! so my earlier statement that seabios was broken, was incorrect, sorry for that.
So i will re-apply the patch to see what breaks it :-)
A log of the machine running the seabios tip (which I understand is not working) at debug level 8.
-Kevin
Below is the boot log from POST code 0x9d of coreboot.
POST: 0x9d Adding CBMEM entry as no. 3 Writing high table forward entry at 0x00000500 Wrote coreboot table at: 00000500 - 00000518 checksum cbdf New low_table_end: 0x00000518 Now going to write high coreboot table at 0x1fff1400 rom_table_end = 0x1fff1400 Adjust low_table_end from 0x00000518 to 0x00001000 Adjust rom_table_end from 0x1fff1400 to 0x20000000 Adding high table area coreboot memory table: 0. 0000000000000000-0000000000000fff: CONFIGURATION TABLES 1. 0000000000001000-000000000009ffff: RAM 2. 00000000000c0000-000000001ffeffff: RAM 3. 000000001fff0000-000000001fffffff: CONFIGURATION TABLES 4. 00000000ff800000-00000000ffffffff: RESERVED Wrote coreboot table at: 1fff1400 - 1fff15c8 checksum d753 coreboot table: 456 bytes. POST: 0x9e POST: 0x9d Multiboot Information structure has been written. 0. FREE SPACE 1fff3400 0000cc00 1. GDT 1fff0200 00000200 2. IRQ TABLE 1fff0400 00001000 3. COREBOOT 1fff1400 00002000 Check CBFS header at fffffc9e magic is 4f524243 Found CBFS header at fffffc9e Check fallback/romstage CBFS: follow chain: fff80000 + 38 + 2ed0 + align -> fff82f40 Check fallback/coreboot_ram CBFS: follow chain: fff82f40 + 38 + e27e + align -> fff91200 Check fallback/payload Got a payload Loading segment from rom address 0xfff91238 data (compression=1) New segment dstaddr 0xe6a30 memsize 0x195d0 srcaddr 0xfff91270 filesize 0xc8a5 (cleaned up) New segment addr 0xe6a30 size 0x195d0 offset 0xfff91270 filesize 0xc8a5 Loading segment from rom address 0xfff91254 Entry Point 0x000fc1da Loading Segment: addr: 0x00000000000e6a30 memsz: 0x00000000000195d0 filesz: 0x000000000000c8a5 lb: [0x0000000000100000, 0x000000000012c000) Post relocation: addr: 0x00000000000e6a30 memsz: 0x00000000000195d0 filesz: 0x000000000000c8a5 using LZMA [ 0x000e6a30, 00100000, 0x00100000) <- fff91270 dest 000e6a30, end 00100000, bouncebuffer 1ff98000 Loaded segments Jumping to boot code at fc1da POST: 0xfe entry = 0x000fc1da lb_start = 0x00100000 lb_size = 0x0002c000 adjust = 0x1fec4000 buffer = 0x1ff98000 elf_boot_notes = 0x00117250 adjusted_boot_notes = 0x1ffdb250 Start bios (version pre-0.6.2-20110117_092058-enzo) Find memory size Attempting to find coreboot table Found coreboot table forwarder. Now attempting to find coreboot memory map Add to e820 map: 00000000 00001000 2 Add to e820 map: 00001000 0009f000 1 Add to e820 map: 000c0000 1ff30000 1 Add to e820 map: 1fff0000 00010000 2 Add to e820 map: ff800000 00800000 2 Add to e820 map: 00000000 00004000 1 Found mainboard Nokia IP530 Found CBFS header at 0xfffffc9e Add to e820 map: 000a0000 00050000 -1 Add to e820 map: 000f0000 00010000 2 Ram Size=0x1fff0000 (0x0000000000000000 high) malloc setup Add to e820 map: 1ffe0000 00010000 2 pmm_malloc zone=0x000f56c0 handle=ffffffff size=41216 align=10 ret=0x1ffd5de0 (detail=0x1ffdfee0) Relocating init from 0x000e7120 to 0x1ffd5de0 (size 41216) init ivt init bda Add to e820 map: 0009fc00 00000400 2 init pic init timer tsc calibrate start=2962015097 end=2963253494 diff=1238397 CPU Mhz=721 math cp init pmm_malloc zone=0x000f56c0 handle=ffffffff size=1024 align=10 ret=0x1ffd59b0 (detail=0x1ffd5db0) Searching CBFS for prefix bootorder Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file No apic - only the main cpu is present. init bios32 init PMM init PNPBIOS table init keyboard init mouse Relocating coreboot bios tables pmm_malloc zone=0x000f56b8 handle=ffffffff size=384 align=10 ret=0x000fd660 (detail=0x1ffd5980) Copying PIR from 0x1fff0400 to 0x000fd660 init SMBIOS tables pmm_malloc zone=0x000f56c0 handle=ffffffff size=32768 align=10 ret=0x1ffcd950 (detail=0x1ffd5950) pmm_malloc zone=0x000f56b8 handle=ffffffff size=31 align=10 ret=0x000fd640 (detail=0x1ffcd920) pmm_malloc zone=0x000f56b4 handle=ffffffff size=263 align=10 ret=0x1ffefef0 (detail=0x1ffcd8f0) SMBIOS ptr=0x000fd640 table=0x1ffefef0 pmm_free 0x1ffcd950 (detail=0x1ffd5950) Scan for VGA option rom Searching CBFS for prefix vgaroms/ Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file init usb pmm_malloc zone=0x000f56c0 handle=ffffffff size=32 align=10 ret=0x1ffd5930 (detail=0x1ffd5950) UHCI init on dev 00:07.2 (io=2420) pmm_malloc zone=0x000f56c0 handle=ffffffff size=4096 align=1000 ret=0x1ffd4000 (detail=0x1ffd5900) /1ffd4000\ Start thread |1ffd4000| pmm_malloc zone=0x000f56b4 handle=ffffffff size=16 align=10 ret=0x1ffefee0 (detail=0x1ffd58d0) |1ffd4000| pmm_malloc zone=0x000f56b4 handle=ffffffff size=4096 align=1000 ret=0x1ffee000 (detail=0x1ffd58a0) |1ffd4000| pmm_malloc zone=0x000f56b4 handle=ffffffff size=8 align=10 ret=0x1ffefed0 (detail=0x1ffd5870) |1ffd4000| pmm_malloc zone=0x000f56b4 handle=ffffffff size=8 align=10 ret=0x1ffefec0 (detail=0x1ffd5840) |1ffd4000| pmm_malloc zone=0x000f56c0 handle=ffffffff size=4096 align=1000 ret=0x1ffd3000 (detail=0x1ffd5810) /1ffd3000\ Start thread |1ffd4000| pmm_free 0x1ffd3000 (detail=0x1ffd5810) \1ffd3000/ End thread |1ffd4000| pmm_malloc zone=0x000f56c0 handle=ffffffff size=4096 align=1000 ret=0x1ffd3000 (detail=0x1ffd5810) /1ffd3000\ Start thread |1ffd4000| pmm_free 0x1ffd3000 (detail=0x1ffd5810) \1ffd3000/ End thread |1ffd4000| pmm_free 0x1ffefee0 (detail=0x1ffd58d0) |1ffd4000| pmm_free 0x1ffee000 (detail=0x1ffd58a0) |1ffd4000| pmm_free 0x1ffefed0 (detail=0x1ffd5870) |1ffd4000| pmm_free 0x1ffefec0 (detail=0x1ffd5840) |1ffd4000| pmm_free 0x1ffd5930 (detail=0x1ffd5950) pmm_free 0x1ffd4000 (detail=0x1ffd5900) \1ffd4000/ End thread All threads complete. init ps2port pmm_malloc zone=0x000f56c0 handle=ffffffff size=4096 align=1000 ret=0x1ffd4000 (detail=0x1ffd5950) /1ffd4000\ Start thread |1ffd4000| i8042_flush |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| i8042 flushed ff (status=ff) |1ffd4000| WARNING - Timeout at i8042_flush:68! pmm_free 0x1ffd4000 (detail=0x1ffd5950) \1ffd4000/ End thread All threads complete. init lpt Found 0 lpt ports init serial Found 2 serial ports init floppy drives init hard drives pmm_malloc zone=0x000f56b8 handle=ffffffff size=12 align=10 ret=0x000fd630 (detail=0x1ffd5950) ATA controller 0 at 1f0/3f4/0 (irq 14 dev 39) pmm_malloc zone=0x000f56c0 handle=ffffffff size=4096 align=1000 ret=0x1ffd4000 (detail=0x1ffd5920) /1ffd4000\ Start thread |1ffd4000| powerup iobase=1f0 st=0 |1ffd4000| powerup iobase=1f0 st=0 |1ffd4000| ata_detect ata0-0: sc=2a sn=2a dh=20 |1ffd4000| powerup iobase=1f0 st=2a |1ffd4000| powerup iobase=1f0 st=0 |1ffd4000| ata_detect ata0-1: sc=2a sn=2a dh=30 pmm_free 0x1ffd4000 (detail=0x1ffd5920) \1ffd4000/ End thread All threads complete. pmm_malloc zone=0x000f56b8 handle=ffffffff size=12 align=10 ret=0x000fd620 (detail=0x1ffd5920) ATA controller 1 at 170/374/0 (irq 15 dev 39) pmm_malloc zone=0x000f56c0 handle=ffffffff size=4096 align=1000 ret=0x1ffd4000 (detail=0x1ffd58f0) /1ffd4000\ Start thread |1ffd4000| powerup iobase=170 st=50 |1ffd4000| powerup iobase=170 st=50 |1ffd4000| ata_detect ata1-0: sc=55 sn=aa dh=a0 |1ffd4000| ata_reset drive=0x1ffd4fc4 Searching CBFS for prefix img/ Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Searching CBFS for prefix floppyimg/ Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file |1ffd4000| ata_reset exit status=50 |1ffd4000| send_cmd : read error (status=51 err=04) |1ffd4000| pmm_malloc zone=0x000f56b8 handle=ffffffff size=40 align=10 ret=0x000fd5f0 (detail=0x1ffd58c0) |1ffd4000| pmm_malloc zone=0x000f56c0 handle=ffffffff size=80 align=10 ret=0x1ffd5840 (detail=0x1ffd5890) |1ffd4000| ata1-0: WDC WD800JB-22JJC0 ATA-6 Hard-Disk (74 GiBytes) |1ffd4000| Searching bootorder for: /pci@i0cf8/*@7,1/drive@1/disk@0 |1ffd4000| pmm_malloc zone=0x000f56c0 handle=ffffffff size=20 align=10 ret=0x1ffd57f0 (detail=0x1ffd5810) |1ffd4000| Registering bootable: ata1-0: WDC WD800JB-22JJC0 ATA-6 Hard-Disk (74 GiBytes) (type:2 prio:103 data:fd5f0) |1ffd4000| ata_detect resetresult=600d |1ffd4000| powerup iobase=170 st=50 |1ffd4000| powerup iobase=170 st=0 |1ffd4000| ata_detect ata1-1: sc=55 sn=aa dh=b0 |1ffd4000| send_cmd : DRQ not set (status 00) pmm_free 0x1ffd4000 (detail=0x1ffd58f0) \1ffd4000/ End thread All threads complete. Scan for option roms Attempting to init PCI bdf 00:00.0 (vd 8086:7190) Searching CBFS for prefix pci8086,7190.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 00:00.0 Option rom sizing returned 0 0 Attempting to init PCI bdf 00:01.0 (vd 8086:7191) Searching CBFS for prefix pci8086,7191.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 00:01.0 Skipping non-normal pci device (type=1) Attempting to init PCI bdf 00:07.0 (vd 8086:7110) Searching CBFS for prefix pci8086,7110.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 00:07.0 Option rom sizing returned 0 0 Attempting to init PCI bdf 00:07.2 (vd 8086:7112) Searching CBFS for prefix pci8086,7112.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 00:07.2 Option rom sizing returned 0 0 Attempting to init PCI bdf 00:07.3 (vd 8086:7113) Searching CBFS for prefix pci8086,7113.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 00:07.3 Option rom sizing returned 0 0 Attempting to init PCI bdf 00:0d.0 (vd 1011:0019) Searching CBFS for prefix pci1011,0019.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 00:0d.0 Option rom sizing returned f0100000 fffc0000 Inspecting possible rom at 0xf0100000 (vd=1011:0019 bdf=00:0d.0) No option rom signature (got 0) Attempting to init PCI bdf 00:0e.0 (vd 1011:0019) Searching CBFS for prefix pci1011,0019.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 00:0e.0 Option rom sizing returned f0140000 fffc0000 Inspecting possible rom at 0xf0140000 (vd=1011:0019 bdf=00:0e.0) No option rom signature (got 0) Attempting to init PCI bdf 00:0f.0 (vd 104c:ac1c) Searching CBFS for prefix pci104c,ac1c.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 00:0f.0 Skipping non-normal pci device (type=82) Attempting to init PCI bdf 00:0f.1 (vd 104c:ac1c) Searching CBFS for prefix pci104c,ac1c.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 00:0f.1 Skipping non-normal pci device (type=82) Attempting to init PCI bdf 01:00.0 (vd 1011:0023) Searching CBFS for prefix pci1011,0023.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 01:00.0 Skipping non-normal pci device (type=1) Attempting to init PCI bdf 02:04.0 (vd 1011:0019) Searching CBFS for prefix pci1011,0019.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 02:04.0 Option rom sizing returned f0000000 fffc0000 Inspecting possible rom at 0xf0000000 (vd=1011:0019 bdf=02:04.0) No option rom signature (got 0) Attempting to init PCI bdf 02:05.0 (vd 1011:0019) Searching CBFS for prefix pci1011,0019.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Attempting to map option rom on dev 02:05.0 Option rom sizing returned f0040000 fffc0000 Inspecting possible rom at 0xf0040000 (vd=1011:0019 bdf=02:05.0) No option rom signature (got 0) Searching CBFS for prefix genroms/ Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Press F12 for boot menu.
Checking for bootsplash Searching CBFS for prefix bootsplash.jpg Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file Mapping hd drive 0x000fd5f0 to 0 drive 0x000fd5f0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=156301488 finalize PMM malloc finalize Add to e820 map: 0009fc00 00000400 2 Add to e820 map: 1ffe0000 0000f000 1 Returned 61440 bytes of ZoneHigh e820 map has 6 items: 0: 0000000000000000 - 000000000009fc00 = 1 1: 000000000009fc00 - 00000000000a0000 = 2 2: 00000000000f0000 - 0000000000100000 = 2 3: 0000000000100000 - 000000001ffef000 = 1 4: 000000001ffef000 - 0000000020000000 = 2 5: 00000000ff800000 - 0000000100000000 = 2 Jump to int19 enter handle_19: NULL Booting from Hard Disk... Booting from 0000:7c00 ata_reset drive=0x0000d5f0 ata_reset exit status=50 enter handle_12: a=00000000 b=0010a314 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=0010698c di=00016858 bp=00001ff0 sp=00001ff4 cs=0000 ip=8a9b f=0246 GNU GRUB version 1.98+20100804-5ubuntu3