SeaBIOS error with Juniper FreeBSD kernel
When booting a Juniper JunOS kernel (FreeBSD based) I am getting a
panic: unkown/reserved trap error immediately after the kernel loads. If i use an older pc-bios with the '-bios' option everything works so it seems to be an issue with the SeaBios.
With #DEBUG_BIOS enabled in hw/pc.c here is what i am getting during boot.
bbennett@strongbad:~/Lab/JNCIP-M$ qemu -m 512m -hda olive-base-8.1R4.3.img -cdrom 4.11-RELEASE-i386-miniinst.iso -boot c -localtime -nographic Start bios (version 0.5.1-20100111_132716-squirrel.codemonkey.ws) Ram Size=0x20000000 (0x0000000000000000 high) CPU Mhz=3000 Found 1 cpu(s) max supported 1 cpu(s) PIIX3/PIIX4 init: elcr=00 0c PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237 PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000 PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010 region 4: 0x0000c000 PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113 PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8 region 0: 0xe0000000 region 1: 0xe2000000 region 6: 0xe2010000 PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e region 0: 0xe2020000 region 1: 0x0000c040 region 6: 0xe2040000 MP table addr=0x000f89b0 MPC table addr=0x000f89c0 size=224 SMBIOS ptr=0x000f8990 table=0x1ffffef0 ACPI tables: RSDP=0x000f8960 RSDT=0x1fffde30 Scan for VGA option rom Running option rom at c000:0003 VGABios $Id$ Turning on vga console Starting SeaBIOS (version 0.5.1-20100111_132716-squirrel.codemonkey.ws)
Found 1 lpt ports
Found 1 serial ports
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9) ATA controller 1 at 170/374/c008 (irq 15 dev 9) ps2 irq but no data.
ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 ps2_recvbyte timeout
keyboard initialized
Scan for option roms
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm call arg1=2
pmm call arg1=0
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 000000001fffd000 = 1
4: 000000001fffd000 - 0000000020000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
enter handle_19:
NULL
Booting from Hard Disk...
Booting from 0000:7c00
Console: serial port
BIOS drive C: is disk0
BIOS 637kB/523252kB available memory
FreeBSD/i386 bootstrap loader, Revision 0.8 ([email protected], Fri Aug 24 16:01:34 GMT 2007) Loading /boot/defaults/loader.conf/boot/installer text=0x24c77f data=0x2aa7c+0x38462 syms=[0x4+0x3a420+0x4+0x454ac]
|
Hit [Enter] to boot immediately, or space bar for command prompt. Booting [installer]...
kernel trap 12 with interrupts disabled
instruction pointer = 0x8:0xc02ebc3e
stack pointer = 0x10:0xc07f9edc
frame pointer = 0x10:0xc07f9f34
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = Idle
interrupt mask = net tty bio cam
trap number = 30
dog: ERROR - reset of uninitialized watchdog
panic: unknown/reserved trap
(null)(c037dbc0,c037dbc0,c032d5c4,c07f9df0,5) at0
(null)(c032d5c4,1e,c07f9f34,0,0) at0
(null)(c07f9e9c,0,c07f9ef4,c01951ed) at0
(null)(10,10,10,0,c) at0
(null)(10,10,10,0,7fe000) at0
(null)(2) at0
(null)(c07f9ff4,c02e569c,0,81,7fe000) at0
(null)(c07f9fd4,f,3,8,0) at0
(null)(7fe000,0,0,0,0) at0
(null)() at0
dog: ERROR - reset of uninitialized watchdog
dog: ERROR - reset of uninitialized watchdog
Uptime: 0s
Any help or direction on where to look further or options to try would be great.
Thanks,
-Brandon Bennett
Quoted 6 lines · Brandon Bennett
When booting a Juniper JunOS kernel (FreeBSD based) I am getting a
panic: unkown/reserved trap error immediately after the kernel loads. If i use an older pc-bios with the '-bios' option everything works so it seems to be an issue with the SeaBios.With #DEBUG_BIOS enabled in
hw/pc.chere is what i am getting during boot.
Thanks Brandon,
I don't see anything in the log that looks suscpicious. Are these JunOS images available for download somewhere?
Quoted 1 line
Any help or direction on where to look further or options to try would be great.
Should a kernel fail during boot, I'd suspect it doesn't like one of the apm/pcibios callbacks, or it doesn't like one of the smbios/mptable/acpi tables. You could try compiling the SeaBIOS code (see http://seabios.org/Download ) and increasing the debugging by modifying src/config.h. Specifically, you could increase CONFIG_DEBUG_LEVEL, and set DEBUG_HDL_pcibios32 and DEBUG_HDL_apm to
1. Also, you could try disabling some of the features to see if that prevents the fault (eg, disabling CONFIG_ACPI / CONFIG_SMBIOS / CONFIG_MPTABLE).
-Kevin
Quoted 6 lines · Kevin O'Connor
Quoted 5 lines · Brandon Bennett
When booting a Juniper JunOS kernel (FreeBSD based) I am getting a
panic: unkown/reserved trap error immediately after the kernel loads. If i use an older pc-bios with the '-bios' option everything works so it seems to be an issue with the SeaBios.
Quoted 6 lines
Quoted 1 line
With #DEBUG_BIOS enabled in
hw/pc.chere is what i am getting during boot.Thanks Brandon,
I don't see anything in the log that looks suscpicious. Are these JunOS images available for download somewhere?
JunOS is the operating system that runs on Juniper Networks Routers. The routers control plane is made up of standard x86 hardware so you an run the software on a standard x86 box or hardware virtualizer like qemu to run labs to test configurations and study for new tests, etc.
This is called an Olive. You can read more about it here
http://juniper.cluepon.net/index.php/Olive
It's not freely available.
Quoted 9 lines
Should a kernel fail during boot, I'd suspect it doesn't like one of the apm/pcibios callbacks, or it doesn't like one of the smbios/mptable/acpi tables. You could try compiling the SeaBIOS code (see http://seabios.org/Download ) and increasing the debugging by modifying
src/config.h. Specifically, you could increaseCONFIG_DEBUG_LEVEL, and setDEBUG_HDL_pcibios32andDEBUG_HDL_apmto
1. Also, you could try disabling some of the features to see if that prevents the fault (eg, disablingCONFIG_ACPI/CONFIG_SMBIOS/CONFIG_MPTABLE).
I turned up the CONFIG_DEBUG_LEVEL to 8 and left DEBUG_HDL_pcibios and DEBUG_HDL_apm at 9. I'll play around with disabling the various options you stated above in a bit.
Here is the output from that debug:
bbennett@strongbad:~/Lab/JNCIP-M$ qemu -m 512m -hda olive-base-8.1R4.3.img -cdrom 4.11-RELEASE-i386-miniinst.iso -boot c -nographic -bios ~/Devel/out-debug/bios.bin Start bios (version pre-0.5.2-20100221_145730-ubuntu) enabling shadow ram init ivt init bda Find memory size Add to e820 map: 00000000 20000000 1 Add to e820 map: 00000000 00000000 1 Add to e820 map: fffc0000 00040000 2 Add to e820 map: 000a0000 00050000 -1 Add to e820 map: 0009f400 00000c00 2 Add to e820 map: 000f0000 00010000 2 Ram Size=0x20000000 (0x0000000000000000 high) malloc setup Add to e820 map: 1fff0000 00010000 2 init pic init timer tsc calibrate start=42359373 end=47360586 diff=5001213 CPU Mhz=2913 math cp init qemu_cfg_present=1 Found 1 cpu(s) max supported 1 cpu(s) pci setup PIIX3/PIIX4 init: elcr=00 0c PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237 PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000 PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010 region 4: 0x0000c000 PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113 PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8 region 0: 0xf0000000 region 1: 0xf2000000 region 6: 0xf2010000 PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e region 0: 0xf2020000 region 1: 0x0000c040 region 6: 0xf2040000 init smm init bios32 init PMM init PNPBIOS table init keyboard init mouse init PIR table init MPTable pmm_malloc zone=0x000f640c handle=ffffffff size=32768 align=10 ret=0x1ffe7fe0 (info=0x1ffeffe0) pmm_malloc zone=0x000f63f4 handle=ffffffff size=224 align=10 ret=0x000f7ec0 (info=0x1ffe7fc0) pmm_malloc zone=0x000f63f4 handle=ffffffff size=16 align=10 ret=0x000f7eb0 (info=0x1ffe7fa0) pmm_free data=0x1ffe7fe0 olddata=0x1ffeffe0 oldallocdata=0x1fff0000 info=0x1ffeffe0 MP table addr=0x000f7eb0 MPC table addr=0x000f7ec0 size=224 init SMBIOS tables pmm_malloc zone=0x000f640c handle=ffffffff size=32768 align=10 ret=0x1ffdff80 (info=0x1ffe7f80) pmm_malloc zone=0x000f63f4 handle=ffffffff size=31 align=10 ret=0x000f7e90 (info=0x1ffdff60) pmm_malloc zone=0x000f63e8 handle=ffffffff size=263 align=10 ret=0x1ffffef0 (info=0x1ffdff40) SMBIOS ptr=0x000f7e90 table=0x1ffffef0 pmm_free data=0x1ffdff80 olddata=0x1ffe7f80 oldallocdata=0x1ffe7fa0 info=0x1ffe7f80 init ACPI tables pmm_malloc zone=0x000f63f4 handle=ffffffff size=36 align=10 ret=0x000f7e60 (info=0x1ffdff20) pmm_malloc zone=0x000f63e8 handle=ffffffff size=116 align=10 ret=0x1ffffe70 (info=0x1ffdff00) pmm_malloc zone=0x000f63e8 handle=ffffffff size=64 align=40 ret=0x1ffffe00 (info=0x1ffdfee0) pmm_malloc zone=0x000f63e8 handle=ffffffff size=7714 align=10 ret=0x1fffdfd0 (info=0x1ffdfec0) pmm_malloc zone=0x000f63e8 handle=ffffffff size=56 align=10 ret=0x1fffdf90 (info=0x1ffdfea0) pmm_malloc zone=0x000f63e8 handle=ffffffff size=224 align=10 ret=0x1fffdeb0 (info=0x1ffdfe80) pmm_malloc zone=0x000f63e8 handle=ffffffff size=56 align=10 ret=0x1fffde70 (info=0x1ffdfe60) pmm_malloc zone=0x000f63e8 handle=ffffffff size=52 align=10 ret=0x1fffde30 (info=0x1ffdfe40) ACPI tables: RSDP=0x000f7e60 RSDT=0x1fffde30 Scan for VGA option rom Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013) Attempting to map option rom on dev 00:02.0 Option rom sizing returned f2010000 ffff0000 Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10) Copying option rom (size 35840) from 0xf2010000 to c0000 Checking rom 0x000c0000 (sig aa55 size 70) Running option rom at c000:0003 VGABios $Id$ Turning on vga console Starting SeaBIOS (version pre-0.5.2-20100221_145730-ubuntu)
init usb
init ps2portpmm_malloc zone=0x000f640c handle=ffffffff size=4096 align=1000 ret=0x1ffde000 (info=0x1ffdfe20)
/1ffde000\ Start thread
|1ffde000| i8042_flush |1ffde000| i8042_command cmd=1aa |1ffde000| i8042_wait_write |1ffde000| i8042_wait_read |1ffde000| i8042 param=55 |1ffde000| i8042_command cmd=1ab |1ffde000| i8042_wait_write |1ffde000| i8042_wait_read |1ffde000| i8042 param=0 |1ffde000| i8042_command cmd=ae |1ffde000| i8042_wait_write |1ffde000| i8042_command cmd=a8 |1ffde000| i8042_wait_write |1ffde000| kbd_command cmd=2ff |1ffde000| ps2_sendbyte aux=0 cmd=ff |1ffde000| i8042_kbd_write c=255 |1ffde000| i8042_wait_write |1ffde000| ps2 read fa |1ffde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device orderingpmm_malloc zone=0x000f63f4 handle=ffffffff size=80 align=10 ret=0x000f7e10 (info=0x1ffddfe0)
init floppy drives
init hard drives
ATA controller 0 at 1f0/3f4/0 (irq 14 dev 9) pmm_malloc zone=0x000f640c handle=ffffffff size=4096 align=1000 ret=0x1ffdc000 (info=0x1ffddfc0)
/1ffdc000\ Start thread
|1ffdc000| powerup iobase=1f0 st=50 |1ffdc000| powerup iobase=1f0 st=50 |1ffdc000| ata_detect ataid=0 sc=55 sn=aa dh=a0 |1ffdc000| ata_reset drive=0x1ffdcf9c
ATA controller 1 at 170/374/0 (irq 15 dev 9) pmm_malloc zone=0x000f640c handle=ffffffff size=4096 align=1000 ret=0x1ffda000 (info=0x1ffdbfe0)
/1ffda000\ Start thread
|1ffda000| powerup iobase=170 st=50 |1ffda000| powerup iobase=170 st=50 |1ffda000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |1ffda000| ata_reset drive=0x1ffdaf9c |1ffdc000| ata_reset exit status=50 |1ffdc000| send_cmd : read error (status=41 err=04) |1ffdc000| pmm_malloc zone=0x000f63f4 handle=ffffffff size=80 align=10 ret=0x000f7dc0 (info=0x1ffd9fe0) |1ffdc000| Identify w0=40 w2=0 |1ffdc000| drive 0x000f7dc0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=16777216 |1ffdc000| ata_detect resetresult=6001 |1ffdc000| powerup iobase=1f0 st=50 |1ffdc000| powerup iobase=1f0 st=0 |1ffdc000| ata_detect ataid=1 sc=55 sn=aa dh=b0 |1ffdc000| send_cmd : DRQ not set (status 00) |1ffde000| pmm_free data=0x1ffdc000 olddata=0x1ffddfc0 oldallocdata=0x1ffddfe0 info=0x1ffddfc0 \1ffdc000/ End thread |1ffda000| ata_reset exit status=0 |1ffda000| pmm_malloc zone=0x000f63f4 handle=ffffffff size=80 align=10 ret=0x000f7d70 (info=0x1ffd9fc0) |1ffda000| Identify w0=85c0 w2=0 |1ffda000| Mapping cd drive 0x000f7d70 |1ffda000| ata_detect resetresult=0000 |1ffda000| powerup iobase=170 st=50 |1ffda000| powerup iobase=170 st=0 |1ffda000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |1ffda000| send_cmd : DRQ not set (status 00) |1ffde000| pmm_free data=0x1ffda000 olddata=0x1ffdbfe0 oldallocdata=0x1ffddfe0 info=0x1ffdbfe0 \1ffda000/ End thread |1ffde000| kbd_command cmd=f5 |1ffde000| ps2_sendbyte aux=0 cmd=f5 |1ffde000| i8042_kbd_write c=245 |1ffde000| i8042_wait_write |1ffde000| ps2 read fa |1ffde000| kbd_command cmd=10f0 |1ffde000| ps2_sendbyte aux=0 cmd=f0 |1ffde000| i8042_kbd_write c=240 |1ffde000| i8042_wait_write |1ffde000| ps2 read fa |1ffde000| ps2_sendbyte aux=0 cmd=2 |1ffde000| i8042_kbd_write c=2 |1ffde000| i8042_wait_write |1ffde000| ps2 read fa |1ffde000| i8042_command cmd=1060 |1ffde000| i8042_wait_write |1ffde000| i8042_wait_write |1ffde000| kbd_command cmd=f4 |1ffde000| ps2_sendbyte aux=0 cmd=f4 |1ffde000| i8042_kbd_write c=244 |1ffde000| i8042_wait_write |1ffde000| ps2 read fa |1ffde000| keyboard initialized
pmm_free data=0x1ffde000 olddata=0x1ffdfe20 oldallocdata=0x1ffdfe40 info=0x1ffdfe20
\1ffde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086) Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086) Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086) Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086) Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18) Copying option rom (size 72192) from 0xf2040000 to c9000 Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f640c handle=ffffffff size=524288 align=80000 ret=0x1ff00000 (info=0x1ffd9fa0)
pmm call arg1=2
pmm02: buffer=1ff00000pmm_free data=0x1ff00000 olddata=0x1ffd9fa0 oldallocdata=0x1ffd9fc0 info=0x1ffd9fa0
pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f640c handle=ffffffff size=1048576 align=100000 ret=0x1fe00000 (info=0x1ffd9fa0)
Checking rom 0x000c9000 (sig aa55 size 4)
Mapping hd drive 0x000f7dc0 to 0
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f77a0-000f7fa0 used=560 (27%)
zone 3: 00100000-1fff0000 used=2031616 (0%)
zone 4: 1fff0000-20000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 1fff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 000000001fffd000 = 1
4: 000000001fffd000 - 0000000020000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
Booting from 0000:7c00
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000081 ds=0000 es=0000 ss=9dfe
si=00000000 di=00000000 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0202
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000082 ds=0000 es=0000 ss=9dfe
si=00000000 di=00000000 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000083 ds=0000 es=0000 ss=9dfe
si=00000000 di=00000000 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000084 ds=0000 es=0000 ss=9dfe
si=00000000 di=00000000 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000085 ds=0000 es=0000 ss=9dfe
si=00000000 di=00000000 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000086 ds=0000 es=0000 ss=9dfe
si=00000000 di=00000000 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000087 ds=0000 es=0000 ss=9dfe
si=00000000 di=00000000 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
Console: serial port
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=00000014 d=00000000 ds=0000 es=33f4 ss=9df9
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0202
BIOS drive C: is disk0
BIOS 637kB/523252kB available memory
FreeBSD/i386 bootstrap loader, Revision 0.8 ([email protected], Fri Aug 24 16:01:34 GMT 2007) Loading /boot/defaults/loader.conf/boot/installer text=0x24c77f data=0x2aa7c+0x38462 syms=[0x4+0x3a420+0x4+0x454ac]
|
Hit [Enter] to boot immediately, or space bar for command prompt. invalid handle_1a02:254:
a=00000200 b=00000004 c=00002300 d=00001300 ds=0000 es=4e97 ss=9de3
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0202
invalid handle_1a02:254:
a=00000200 b=00000004 c=00002300 d=00001300 ds=0000 es=4e97 ss=9de3
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0202
Booting [installer] in 1 second... invalid handle_1a02:254:
a=00000200 b=00000004 c=00002300 d=00001400 ds=0000 es=4e97 ss=9de3
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0202
invalid handle_1a02:254:
a=00000200 b=00000004 c=00002300 d=00001400 ds=0000 es=4e97 ss=9de3
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0202
Booting [installer]...
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000081 ds=0000 es=9df6 ss=9dd9
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0202
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000082 ds=0000 es=9df6 ss=9dd9
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000083 ds=0000 es=9df6 ss=9dd9
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000084 ds=0000 es=9df6 ss=9dd9
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000085 ds=0000 es=9df6 ss=9dd9
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000086 ds=0000 es=9df6 ss=9dd9
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
invalid handle_legacy_disk:805:
a=00000800 b=00000000 c=0000feff d=00000087 ds=0000 es=9df6 ss=9dd9
si=00000000 di=00000004 bp=00000000 sp=00000410 cs=0000 ip=9138 f=0203
kernel trap 12 with interrupts disabled
instruction pointer = 0x8:0xc02ebc3e
stack pointer = 0x10:0xc07f9edc
frame pointer = 0x10:0xc07f9f34
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = Idle
interrupt mask = net tty bio cam
trap number = 30
dog: ERROR - reset of uninitialized watchdog
panic: unknown/reserved trap
(null)(c037dbc0,c037dbc0,c032d5c4,c07f9df0,5) at0
(null)(c032d5c4,1e,c07f9f34,0,0) at0
(null)(c07f9e9c,0,c07f9ef4,c01951ed) at0
(null)(10,10,10,0,c) at0
(null)(10,10,10,0,7fe000) at0
(null)(2) at0
(null)(c07f9ff4,c02e569c,0,81,7fe000) at0
(null)(c07f9fd4,f,3,8,0) at0
(null)(7fe000,0,0,0,0) at0
(null)() at0
dog: ERROR - reset of uninitialized watchdog
dog: ERROR - reset of uninitialized watchdog
Uptime: 0s
-Brandon
Quoted 11 lines · Kevin O'Connor
Quoted 9 lines
Should a kernel fail during boot, I'd suspect it doesn't like one of the apm/pcibios callbacks, or it doesn't like one of the smbios/mptable/acpi tables. You could try compiling the SeaBIOS code (see http://seabios.org/Download ) and increasing the debugging by modifying
src/config.h. Specifically, you could increaseCONFIG_DEBUG_LEVEL, and setDEBUG_HDL_pcibios32andDEBUG_HDL_apmto
1. Also, you could try disabling some of the features to see if that prevents the fault (eg, disablingCONFIG_ACPI/CONFIG_SMBIOS/CONFIG_MPTABLE).
I have narrowed it down to SMBIOS. If I disable CONFIG_SMBIOS the image boots up fine.
-Brandon
[Qemu-devel] SeaBIOS error with Nextstep bootloader
Ok, QEMU is absolutely unable to boot nextstep/openstep, while using SeaBIOS.
Changing to old Bochs BIOS, makes it work, however no video is output (until NeXT starts using VESA).
Until all that numerous issues with SeaBIOS are solved (may the keyboard problem with DOS' Scandisk be also a BIOS problem -needs to test-) Bochs BIOS should continue to be included at least as a command line option (like -use-old-bios)
I attached images.
Re: [Qemu-devel] SeaBIOS error with Nextstep bootloader
Quoted 5 lines · Natalia Portillo
Ok, QEMU is absolutely unable to boot nextstep/openstep, while using SeaBIOS.
Changing to old Bochs BIOS, makes it work, however no video is output (until NeXT starts using VESA).
Hi Natalia,
Is nextstep/openstep something that can be freely downloaded?
It would help if you can extract some SeaBIOS debugging info. I've uploaded a SeaBIOS image with the debug level set to 8 and serial debugging enabled. It is at:
http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin-0.5.1-debug-20100228
Can you use this image with qemu, add "-serial file:mylog" to qemu's command line, and forward the resulting "mylog" file back?
Also, please include the full qemu command line that you used.
Thanks,
-Kevin
Re: [Qemu-devel] SeaBIOS error with Nextstep bootloader
No, sorry.
NeXTStep and OpenStep are the precursors of Mac OS X and are retail (abandoned but).
The source code of the bootloader evolved in the currently available at http://opensource.apple.com but who knows how much it changed.
However I can test it with any you want, and if you want to add me to instant messaging you could guide me in the debugging.
Regards
Quoted 24 lines · Kevin O'Connor
Quoted 5 lines · Natalia Portillo
Ok, QEMU is absolutely unable to boot nextstep/openstep, while using SeaBIOS.
Changing to old Bochs BIOS, makes it work, however no video is output (until NeXT starts using VESA).
Hi Natalia,
Is nextstep/openstep something that can be freely downloaded?
It would help if you can extract some SeaBIOS debugging info. I've uploaded a SeaBIOS image with the debug level set to 8 and serial debugging enabled. It is at:
http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin-0.5.1-debug-20100228
Can you use this image with qemu, add "-serial file:mylog" to qemu's command line, and forward the resulting "mylog" file back?
Also, please include the full qemu command line that you used.
Thanks,
-Kevin
Re: [Qemu-devel] SeaBIOS error with Nextstep bootloader
In reply to Kevin O'ConnorThis is everything I got.
I don't see anything useful.
Command lines:
qemu -L . -serial file:nextstep33-floppy.log -fda 3.3_Boot_Disk.floppyimage -hda nextstep33.qcow2 -cdrom NeXTStep\ Release\ 3.3\ for\ Intel\ Processors\ and\ NeXT\ Computers.iso -monitor stdio
qemu -L . -serial file:nextstep33-hdd.log -hda hd.img -monitor stdio
qemu -L . -monitor stdio -serial file:nextstep32.log -fda 3.2_Boot_Disk.floppyimage
qemu -L . -monitor stdio -serial file:openstep40.log -fda 4.0_Install_Disk.floppyimage
qemu -L . -monitor stdio -serial file:openstep42.log -fda 4.2_Install_Disk.floppyimage
qemu -L . -monitor stdio -serial file:rhapsody-dr1.log -fda Rhapboot.img
qemu -L . -monitor stdio -serial file:rhapsody-dr2.log -fda InstallationDisk.image
qemu -L . -monitor stdio -serial file:darwin131.log -cdrom Apple\ Darwin\ 1.3.1\ \(x86\).iso
qemu -L . -monitor stdio -serial file:darwin141.log -cdrom Apple\ Darwin\ 1.4.1\ \(x86\).iso
qemu -L . -monitor stdio -serial file:darwin602.log -cdrom Apple\ Darwin\ 6.0.2\ \(x86\).iso
qemu -L . -monitor stdio -serial file:darwin701.log -cdrom Apple\ Darwin\ 7.0.1\ \(PowerPC\ and\ x86\).iso
qemu -L . -monitor stdio -serial file:darwin801.log -cdrom Apple\ Darwin\ 8.0.1\ \(x86\).iso
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=41026680 end=45273285 diff=4246605
CPU Mhz=2474
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
Mapping floppy drive 0x000f7418
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=50 |07fdc000| powerup iobase=1f0 st=50 |07fdc000| ata_detect ataid=0 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ATA controller 1 at 170/374/c008 (irq 15 dev 9) pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fda000 (info=0x07fdbfe0) /07fda000\ Start thread |07fda000| powerup iobase=170 st=50 |07fda000| powerup iobase=170 st=50 |07fda000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fda000| ata_reset drive=0x07fdafa0 |07fdc000| ata_reset exit status=50 |07fdc000| send_cmd : read error (status=41 err=04) |07fdc000| Identify w0=40 w2=0 |07fdc000| ata0-0: PCHS=2080/16/63 translation=lba LCHS=1024/32/63 |07fdc000| ata_detect resetresult=6001 |07fdc000| powerup iobase=1f0 st=50 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread ps2 irq but no data. |07fda000| ata_reset exit status=0 |07fda000| Identify w0=85c0 w2=0 |07fda000| Mapping cd drive 0x000f74b0 |07fda000| ata_detect resetresult=0000 |07fda000| powerup iobase=170 st=50 |07fda000| powerup iobase=170 st=0 |07fda000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fda000| send_cmd : DRQ not set (status 00)
pmm_free data=0x07fda000 olddata=0x07fdbfe0 oldallocdata=0x07fdfe40 info=0x07fdbfe0 \07fda000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
Mapping hd drive 0x000f7464 to 0
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
Boot failed: not a bootable disk
enter handle_18:
NULL
Booting from Floppy...
Booting from 0000:7c00
enter handle_12:
a=00000000 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=95e8 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000003 c=0000feff d=00001f81 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff7c cs=0000 ip=95e8 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000003 c=0000feff d=00001f82 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff7c cs=0000 ip=95e8 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000003 c=0000feff d=00001f83 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff7c cs=0000 ip=95e8 f=0002
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=72511578 end=76710501 diff=4198923
CPU Mhz=2446
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=50 |07fdc000| powerup iobase=1f0 st=50 |07fdc000| ata_detect ataid=0 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fda000 (info=0x07fdbfe0) /07fda000\ Start thread
|07fda000| powerup iobase=170 st=50 |07fda000| powerup iobase=170 st=50 |07fda000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fda000| ata_reset drive=0x07fdafa0 |07fdc000| ata_reset exit status=50 |07fdc000| send_cmd : read error (status=41 err=04) |07fdc000| Identify w0=40 w2=0 |07fdc000| ata0-0: PCHS=2080/16/63 translation=lba LCHS=1024/32/63 |07fdc000| ata_detect resetresult=6001 |07fdc000| powerup iobase=1f0 st=50 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fdfe40 info=0x07fddfe0 \07fdc000/ End thread ps2 irq but no data. |07fda000| ata_reset exit status=0 |07fda000| Identify w0=85c0 w2=0 |07fda000| Mapping cd drive 0x000f7464 |07fda000| ata_detect resetresult=0000 |07fda000| powerup iobase=170 st=50 |07fda000| powerup iobase=170 st=0 |07fda000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fda000| send_cmd : DRQ not set (status 00)
pmm_free data=0x07fda000 olddata=0x07fdbfe0 oldallocdata=0x07fdfe40 info=0x07fdbfe0 \07fda000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
Mapping hd drive 0x000f7418 to 0
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
Booting from 0000:7c00
enter handle_12:
a=00000000 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=95e8 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000003 c=0000feff d=00001f81 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff7c cs=0000 ip=95e8 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000003 c=0000feff d=00001f82 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff7c cs=0000 ip=95e8 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000003 c=0000feff d=00001f83 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff7c cs=0000 ip=95e8 f=0002
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=37150281 end=41371695 diff=4221414
CPU Mhz=2459
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7418 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000000 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from CD-Rom...atapi_is_ready (drive=0x000f7418)
sectors=286852
560MB medium detected
Booting from 0000:7c00
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=59194170 end=63389628 diff=4195458
CPU Mhz=2444
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7418 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000000 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from CD-Rom...atapi_is_ready (drive=0x000f7418)
sectors=211758
413MB medium detected
Booting from 0000:7c00
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=60587973 end=64771416 diff=4183443
CPU Mhz=2437
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7418 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000000 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from CD-Rom...atapi_is_ready (drive=0x000f7418)
sectors=272697
532MB medium detected
cdemu media=4
Booting from 0000:7c00
unimplemented disk_13XX:714:
a=00004101 b=000055aa c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00001000 di=0000e200 bp=00000000 sp=0000fff0 cs=0000 ip=e04f f=0246
enter handle_12:
a=00000000 b=00000000 c=00000000 d=00000000 ds=2000 es=0000 ss=3000
si=00000000 di=00000000 bp=00000000 sp=0000ff84 cs=2000 ip=567a f=0202
unimplemented disk_13XX:714:
a=00004100 b=000055aa c=00001e20 d=00000f80 ds=2000 es=0000 ss=3000
si=00000000 di=00000000 bp=00000000 sp=0000ff7c cs=2000 ip=567a f=0202
invalid handle_legacy_disk:809:
a=00004100 b=000055aa c=00001e20 d=00000f81 ds=2000 es=0000 ss=3000
si=00000000 di=00000000 bp=00000000 sp=0000ff7c cs=2000 ip=567a f=0202
invalid handle_legacy_disk:809:
a=00000800 b=000055aa c=00001e20 d=00000f81 ds=2000 es=0000 ss=3000
si=00000000 di=00000000 bp=00000000 sp=0000ff7c cs=2000 ip=567a f=0202
unimplemented disk_13XX:714:
a=0000412e b=000055aa c=00000607 d=20490580 ds=2000 es=0000 ss=3000
si=00000000 di=000ffe77 bp=00000000 sp=0000fe7c cs=2000 ip=567a f=0202
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=47302272 end=51638112 diff=4335840
CPU Mhz=2526
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7418 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000000 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from CD-Rom...atapi_is_ready (drive=0x000f7418)
sectors=158006
308MB medium detected
cdemu media=3
Booting from 0000:7c00
enter handle_12:
a=00000000 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff44 cs=0000 ip=855d f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000000 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff14 cs=0000 ip=855d f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000000 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff14 cs=0000 ip=855d f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000000 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff14 cs=0000 ip=855d f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000000 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff14 cs=0000 ip=855d f=0002
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=50320026 end=54537039 diff=4217013
CPU Mhz=2456
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7418 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000000 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from CD-Rom...atapi_is_ready (drive=0x000f7418)
sectors=113047
220MB medium detected
cdemu media=3
Booting from 0000:7c00
enter handle_12:
a=00000000 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff44 cs=0000 ip=7255 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000000 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff14 cs=0000 ip=7255 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000000 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff14 cs=0000 ip=7255 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000000 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff14 cs=0000 ip=7255 f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000000 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff14 cs=0000 ip=7255 f=0002
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=39112056 end=43305264 diff=4193208
CPU Mhz=2442
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
Mapping floppy drive 0x000f7418
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7464 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
Booting from 0000:7c00
enter handle_12:
a=00000000 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d20 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d20 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d20 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d20 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d20 f=0002
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=68385546 end=72573075 diff=4187529
CPU Mhz=2439
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
Mapping floppy drive 0x000f7418
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7464 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
Booting from 0000:7c00
enter handle_12:
a=00000000 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d28 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d28 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d28 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d28 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9d28 f=0002
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=33302610 end=37487043 diff=4184433
CPU Mhz=2437
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
Mapping floppy drive 0x000f7418
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7464 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
Booting from 0000:7c00
enter handle_12:
a=00000000 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9bac f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9bac f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9bac f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9bac f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9bac f=0002
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=55252746 end=59457168 diff=4204422
CPU Mhz=2449
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
Mapping floppy drive 0x000f7418
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7464 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
Booting from 0000:7c00
enter handle_12:
a=00000000 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9b98 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9b98 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9b98 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9b98 f=0002
invalid handle_legacy_disk:809:
a=00000808 b=00000003 c=00000000 d=00000080 ds=0000 es=0000 ss=0000
si=00000000 di=00000000 bp=00000000 sp=0000ff78 cs=0000 ip=9b98 f=0002
Changing serial settings was 0/0 now 3/0
Start bios (version 0.5.1-20100228_144514-morn.localdomain)
enabling shadow ram
init ivt
init bda
Find memory size
Add to e820 map: 00000000 08000000 1
Add to e820 map: 00000000 00000000 1
Add to e820 map: fffc0000 00040000 2
Add to e820 map: 000a0000 00050000 -1
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 000f0000 00010000 2
Ram Size=0x08000000 (0x0000000000000000 high)
malloc setup
Add to e820 map: 07ff0000 00010000 2
init pic
init timer
tsc calibrate start=68722632 end=72912420 diff=4189788
CPU Mhz=2441
math cp init
qemu_cfg_present=1
Found 1 cpu(s) max supported 1 cpu(s)
pci setup
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0x0000c000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf0000000
region 1: 0xf2000000
region 6: 0xf2010000
PCI: bus=0 devfn=0x18: vendor_id=0x8086 device_id=0x100e
region 0: 0xf2020000
region 1: 0x0000c040
region 6: 0xf2040000
init smm
init bios32
init PMM
init PNPBIOS table
init keyboard
init mouse
init PIR table
init MPTablepmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fe7fe0 (info=0x07feffe0) pmm_malloc zone=0x000f61ec handle=ffffffff size=224 align=10 ret=0x000f7da0 (info=0x07fe7fc0) pmm_malloc zone=0x000f61ec handle=ffffffff size=16 align=10 ret=0x000f7d90 (info=0x07fe7fa0) pmm_free data=0x07fe7fe0 olddata=0x07feffe0 oldallocdata=0x07ff0000 info=0x07feffe0 MP table addr=0x000f7d90 MPC table addr=0x000f7da0 size=224
init SMBIOS tablespmm_malloc zone=0x000f6204 handle=ffffffff size=32768 align=10 ret=0x07fdff80 (info=0x07fe7f80) pmm_malloc zone=0x000f61ec handle=ffffffff size=31 align=10 ret=0x000f7d70 (info=0x07fdff60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=263 align=10 ret=0x07fffef0 (info=0x07fdff40) SMBIOS ptr=0x000f7d70 table=0x07fffef0pmm_free data=0x07fdff80 olddata=0x07fe7f80 oldallocdata=0x07fe7fa0 info=0x07fe7f80 init ACPI tablespmm_malloc zone=0x000f61ec handle=ffffffff size=36 align=10 ret=0x000f7d40 (info=0x07fdff20) pmm_malloc zone=0x000f61e0 handle=ffffffff size=116 align=10 ret=0x07fffe70 (info=0x07fdff00) pmm_malloc zone=0x000f61e0 handle=ffffffff size=64 align=40 ret=0x07fffe00 (info=0x07fdfee0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=7714 align=10 ret=0x07ffdfd0 (info=0x07fdfec0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffdf90 (info=0x07fdfea0) pmm_malloc zone=0x000f61e0 handle=ffffffff size=224 align=10 ret=0x07ffdeb0 (info=0x07fdfe80) pmm_malloc zone=0x000f61e0 handle=ffffffff size=56 align=10 ret=0x07ffde70 (info=0x07fdfe60) pmm_malloc zone=0x000f61e0 handle=ffffffff size=52 align=10 ret=0x07ffde30 (info=0x07fdfe40) ACPI tables: RSDP=0x000f7d40 RSDT=0x07ffde30
Scan for VGA option rom
Attempting to init PCI bdf 00:02.0 (dev/ven 00b81013)
Attempting to map option rom on dev 00:02.0
Option rom sizing returned f2010000 ffff0000
Inspecting possible rom at 0xf2010000 (dv=00b81013 bdf=10)
Copying option rom (size 35840) from 0xf2010000 to c0000
Checking rom 0x000c0000 (sig aa55 size 70)
Running option rom at c000:0003
Turning on vga console
Starting SeaBIOS (version 0.5.1-20100228_144514-morn.localdomain)
init usb
init ps2portpmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fde000 (info=0x07fdfe20) /07fde000\ Start thread
|07fde000| i8042_flush |07fde000| i8042_command cmd=1aa |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=55 |07fde000| i8042_command cmd=1ab |07fde000| i8042_wait_write |07fde000| i8042_wait_read |07fde000| i8042 param=0 |07fde000| i8042_command cmd=ae |07fde000| i8042_wait_write |07fde000| i8042_command cmd=a8 |07fde000| i8042_wait_write |07fde000| kbd_command cmd=2ff |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=ff |07fde000| i8042_kbd_write c=255 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2 read aa
init lpt
Found 1 lpt ports
init serial
Found 1 serial ports
init boot device ordering
init floppy drives
Mapping floppy drive 0x000f7418
init hard drives
ATA controller 0 at 1f0/3f4/c000 (irq 14 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=0 sc=0 sn=0 dh=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| powerup iobase=1f0 st=0 |07fdc000| ata_detect ataid=1 sc=0 sn=0 dh=0 |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0
\07fdc000/ End thread
ATA controller 1 at 170/374/c008 (irq 15 dev 9)pmm_malloc zone=0x000f6204 handle=ffffffff size=4096 align=1000 ret=0x07fdc000 (info=0x07fddfe0) /07fdc000\ Start thread
|07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=50 |07fdc000| ata_detect ataid=2 sc=55 sn=aa dh=a0 |07fdc000| ata_reset drive=0x07fdcfa0 ps2 irq but no data. |07fdc000| ata_reset exit status=0 |07fdc000| Identify w0=85c0 w2=0 |07fdc000| Mapping cd drive 0x000f7464 |07fdc000| ata_detect resetresult=0000 |07fdc000| powerup iobase=170 st=50 |07fdc000| powerup iobase=170 st=0 |07fdc000| ata_detect ataid=3 sc=55 sn=aa dh=b0 |07fdc000| send_cmd : DRQ not set (status 00) |07fde000| pmm_free data=0x07fdc000 olddata=0x07fddfe0 oldallocdata=0x07fde000 info=0x07fddfe0 \07fdc000/ End thread |07fde000| ps2_recvbyte timeout |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f5 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f5 |07fde000| i8042_kbd_write c=245 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=10f0 |07fde000| i8042 ctr old=0 new=20 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f0 |07fde000| i8042_kbd_write c=240 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| ps2_sendbyte aux=0 cmd=2 |07fde000| i8042_kbd_write c=2 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| kbd_command cmd=f4 |07fde000| i8042 ctr old=61 new=60 |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| ps2_sendbyte aux=0 cmd=f4 |07fde000| i8042_kbd_write c=244 |07fde000| i8042_wait_write |07fde000| ps2 read fa |07fde000| i8042_command cmd=1060 |07fde000| i8042_wait_write |07fde000| i8042_wait_write |07fde000| keyboard initialized
pmm_free data=0x07fde000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 \07fde000/ End thread
Scan for option roms
Attempting to init PCI bdf 00:00.0 (dev/ven 12378086)
Attempting to map option rom on dev 00:00.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.0 (dev/ven 70008086)
Attempting to map option rom on dev 00:01.0
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:01.3 (dev/ven 71138086)
Attempting to map option rom on dev 00:01.3
Option rom sizing returned 0 0
Attempting to init PCI bdf 00:03.0 (dev/ven 100e8086)
Attempting to map option rom on dev 00:03.0
Option rom sizing returned f2040000 fffe0000
Inspecting possible rom at 0xf2040000 (dv=100e8086 bdf=18)
Copying option rom (size 72192) from 0xf2040000 to c9000
Checking rom 0x000c9000 (sig aa55 size 141)
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm00: length=8000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=524288 align=80000 ret=0x07f00000 (info=0x07fdfe20) pmm call arg1=2
pmm02: buffer=7f00000pmm_free data=0x07f00000 olddata=0x07fdfe20 oldallocdata=0x07fdfe40 info=0x07fdfe20 pmm call arg1=0
pmm00: length=10000 handle=ffffffff flags=6pmm_malloc zone=0x000f6204 handle=ffffffff size=1048576 align=100000 ret=0x07e00000 (info=0x07fdfe20) Checking rom 0x000c9000 (sig aa55 size 4)
finalize PMM
malloc finalize
zone 0: 00007000-00090000 used=0 (0%)
zone 1: 000a0000-000a0000 used=0 (0%)
zone 2: 000f7680-000f7e80 used=320 (15%)
zone 3: 00100000-07ff0000 used=2031616 (1%)
zone 4: 07ff0000-08000000 used=8656 (13%)
Add to e820 map: 0009f400 00000c00 2
Add to e820 map: 07ff0000 0000d000 1
Returned 53248 bytes of ZoneHigh
e820 map has 6 items:
0: 0000000000000000 - 000000000009f400 = 1
1: 000000000009f400 - 00000000000a0000 = 2
2: 00000000000f0000 - 0000000000100000 = 2
3: 0000000000100000 - 0000000007ffd000 = 1
4: 0000000007ffd000 - 0000000008000000 = 2
5: 00000000fffc0000 - 0000000100000000 = 2
locking shadow ram
Jump to int19
enter handle_19:
NULL
Booting from Hard Disk...
invalid handle_legacy_disk:809:
a=00000201 b=00000000 c=00000001 d=00000080 ds=0000 es=07c0 ss=0000
si=00000000 di=00000000 bp=00000000 sp=00006f2c cs=f000 ip=e985 f=0202
Boot failed: could not read the boot disk
enter handle_18:
NULL
Booting from Floppy...
Booting from 0000:7c00
enter handle_12:
a=00000000 b=00000000 c=0001f4fc d=00011000 ds=0000 es=0000 ss=0000
si=000000d8 di=00000000 bp=0000fe00 sp=0000fde4 cs=0000 ip=76ee f=0097
invalid handle_legacy_disk:809:
a=00000800 b=00000000 c=00000000 d=00011080 ds=0000 es=0000 ss=0000
si=000000d8 di=00000000 bp=0000fe00 sp=0000fde4 cs=0000 ip=76ae f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000001 c=00000000 d=00011081 ds=0000 es=0000 ss=0000
si=000000d8 di=00000000 bp=0000fe00 sp=0000fde4 cs=0000 ip=76ae f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000002 c=00000000 d=00011082 ds=0000 es=0000 ss=0000
si=000000d8 di=00000000 bp=0000fe00 sp=0000fde4 cs=0000 ip=76ae f=0002
invalid handle_legacy_disk:809:
a=00000800 b=00000003 c=00000000 d=00011083 ds=0000 es=0000 ss=0000
si=000000d8 di=00000000 bp=0000fe00 sp=0000fde4 cs=0000 ip=76ae f=0002
nextstep33 bootloader is NeXTStep boot 3.3.3.8, corresponding to NextStep 3.3. nextstep32 bootloader is NeXTStep boot 1.28, corresponding to NextStep 3.2.
openstep40 bootloader is OPENSTEP boot 40.11, corresponding to OPENSTEP for Mach 4.0. openstep42 bootloader is OPENSTEP boot 40.13.1, corresponding to OPENSTEP for Mach 4.2. rhapsody-dr1 bootloader is Rhapsody boot 5.0.24, corresponding to Apple Rhapsody Developer Release. rhapsody-dr2 bootloader is Rhapsody boot 5.0.40, corresponding to Apple Rhapsody Developer Release 2. darwin131 bootloader is Darwin Intel boot 5.0.80.1, corresponding to Apple Darwin 1.3.1 (Mac OS X 10.0). darwin141 bootloader is Darwin/x86 boot 5.0.83.2, corresponding to Apple Darwin 1.4.1 (Mac OS X 10.1). darwin602 bootloader is Darwin/x86 boot 5.0.94, corresponding to Apple Darwin 6.0.2 (Mac OS X 10.2). darwin701 bootloader is Darwin/x86 boot 5.0.111, corresponding to Apple Darwin 7.0.2 (Mac OS X 10.3.1). darwin801 bootloader is Darwin/x86 boot 5.0.122, corresponding to Apple Darwin 8.0.1 (Mac OS X 10.4.1).
Darwin 6.0.2 bootloader IS WORKING, countdowns, receive keypresses, loads xnu, then xnu hangs.
Darwin 7.0.1 bootloader IS WORKING, countdowns, receive keypresses, loads xnu, xnu starts loading modules, xnu panics (unable to mount root device). Darwin 8.0.1 bootloader IS WORKING, countdowns, receive keypresses, loads xnu, xnu starts loading modules, xnu mounts root, xnu starts installation, works flawlessly.
NextStep floppy images can be downloaded from http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/MultiCountry/Enterprise/nextstep/floppyimages/
OpenStep floppy images can be downloaded from http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/MultiCountry/Enterprise/openstep/floppyimages/
Rhapsody floppy images are under NDA.
Darwin CD images and bootloader source code can be downloaded from http://www.opensource.apple.com/
Luckily as Darwin is showing the same fail, and then, starts working, the source is available for checking.
Regards
Re: [Qemu-devel] SeaBIOS error with Nextstep bootloader
Quoted 1 line · Natalia Portillo
This is everything I got.
Thanks Natalia!
Quoted 2 lines
NextStep floppy images can be downloaded from http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/MultiCountry/Enterprise/nextstep/floppyimages/
OpenStep floppy images can be downloaded from http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/MultiCountry/Enterprise/openstep/floppyimages/
These floppy images are failing because they spin waiting for a keypress with irqs disabled, and SeaBIOS doesn't enable irqs in the handlers being called (same issue seen on "d090723b.zip" image reported by Roy).
I've put a test image with a workaround for the issue at:
http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin-0.5.1-debug-20100311
See below for the patch I used - I'm still researching it, but the image can be used for testing.
Quoted 2 lines
Rhapsody floppy images are under NDA.
Darwin CD images and bootloader source code can be downloaded from http://www.opensource.apple.com/
I was unable to locate CD images that I could download from that site. I'm also not familiar with Darwin, and I do not know which package to download for bootloader source.
Thanks again,
-Kevin
src/clock.c +1 -0
@@ -226,6 +226,7 @@ timer_setup(void)static void handle_1a00 (struct bregs *regs) { +yield ();u32 ticks =GET_BDA (timer_counter); regs->cx = ticks >>16 ; regs->dx = ticks;
src/config.h +2 -2
@@ -16,9 +16,9 @@#define CONFIG_COREBOOT 0// Control how verbose debug output is. -#define CONFIG_DEBUG_LEVEL 1 +#define CONFIG_DEBUG_LEVEL 8// Send debugging information to serial port -#define CONFIG_DEBUG_SERIAL 0 +#define CONFIG_DEBUG_SERIAL 1// Screen writes are also sent to debug ports. #define CONFIG_SCREEN_AND_DEBUG 1
src/kbd.c +11 -0
@@ -51,6 +51,7 @@ enqueue_key(u8 scan_code, u8 ascii_code)static void dequeue_key (struct bregs *regs,int incr,int extended) { +yield ();u16 buffer_head;u16 buffer_tail;for (;;) {
@@ -530,9 +531,19 @@ process_key(u8 key)// allow for keyboard intercept u32 eax = (0x4f <<8 ) | key;u32 flags; +#if 0 call16_simpint (0x15 , &eax, &flags);if (!(flags &F_CF ))return ; +#else +struct bregs br; +memset (&br,0 ,sizeof (br)); + br.eax = eax; +call16_int (0x15 , &br); + flags = br.flags; +if (!(flags &F_CF )) +return ; +#endif key = eax; }__process_key (key);
Re: [Qemu-devel] SeaBIOS error with Nextstep bootloader
Hi,
Quoted 11 lines
These floppy images are failing because they spin waiting for a keypress with irqs disabled, and SeaBIOS doesn't enable irqs in the handlers being called (same issue seen on "d090723b.zip" image reported by Roy).
I've put a test image with a workaround for the issue at:
http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin-0.5.1-debug-20100311
See below for the patch I used - I'm still researching it, but the image can be used for testing.
I tested only with NeXTStep 3.3 booting from hard disk and it worked.
I'll test the rest today but considering the PS/2 mouse emulation is not working (there is a bug in it that prevents NeXTStep PS/2 mouse driver and old X11 PS/2 mouse drivers working).
But for now, it boots up to the GUI flawlessly.
Re: [Qemu-devel] SeaBIOS error with Nextstep bootloader
2010/3/12 Natalia Portillo <[email protected]>:
Quoted 11 lines
Hi,
Quoted 9 lines
These floppy images are failing because they spin waiting for a keypress with irqs disabled, and SeaBIOS doesn't enable irqs in the handlers being called (same issue seen on "d090723b.zip" image reported by Roy).
I've put a test image with a workaround for the issue at:
http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin-0.5.1-debug-20100311
Quoted 9 lines
Quoted 2 lines
See below for the patch I used - I'm still researching it, but the image can be used for testing.
I tested only with NeXTStep 3.3 booting from hard disk and it worked.
I'll test the rest today but considering the PS/2 mouse emulation is not working (there is a bug in it that prevents NeXTStep PS/2 mouse driver and old X11 PS/2 mouse drivers working).
mouse problem affects Hydrogen OS too.
http://tommy.planet.free.fr/doku.php?id=hydrogen_os
[Qemu-devel] PS/2 mouse emulation problems
Ok so in resume we have the following PS/2 mouse bugs:
NeXTStep and OpenStep PS/2 driver receives no movement at all from the mouse (Darwin PS/2 driver seems to be made from scratch so no helpful here). MS-DOS Mouse driver hangs the whole machine.
Windows Me Setup mouse driver receives no movement at all from the mouse.
Old XFree86 PS/2 mouse driver receives no movement at all from standard protocols (PS/2, IMPS/2) or random movements (Microsoft). Hydrogen OS mouse driver does not work.
While the NeXTStep PS/2 bug is known from QEMU 0.7.0 (which used Bochs BIOS), the other ones are new (as far as I know) so they may be or may not be caused by SeaBIOS.
[Qemu-devel] Re: PS/2 mouse emulation problems
2010/3/13 Natalia Portillo <[email protected]>:
Quoted 10 lines
Ok so in resume we have the following PS/2 mouse bugs:
NeXTStep and OpenStep PS/2 driver receives no movement at all from the mouse (Darwin PS/2 driver seems to be made from scratch so no helpful here). MS-DOS Mouse driver hangs the whole machine.
Windows Me Setup mouse driver receives no movement at all from the mouse. Old XFree86 PS/2 mouse driver receives no movement at all from standard protocols (PS/2, IMPS/2) or random movements (Microsoft). Hydrogen OS mouse driver does not work.
Quoted 4 lines
While the NeXTStep PS/2 bug is known from QEMU 0.7.0 (which used Bochs BIOS), the other ones are new (as far as I know) so they may be or may not be caused by SeaBIOS.
for Hydrogen OS, when I use QEMU BIOS (yes with my -old-bios hack) it works in git head.
[Qemu-devel] Re: PS/2 mouse emulation problems
Quoted 11 lines · Roy Tam
2010/3/13 Natalia Portillo <[email protected]>:
Quoted 10 lines
Ok so in resume we have the following PS/2 mouse bugs:
NeXTStep and OpenStep PS/2 driver receives no movement at all from the mouse (Darwin PS/2 driver seems to be made from scratch so no helpful here). MS-DOS Mouse driver hangs the whole machine.
Windows Me Setup mouse driver receives no movement at all from the mouse. Old XFree86 PS/2 mouse driver receives no movement at all from standard protocols (PS/2, IMPS/2) or random movements (Microsoft). Hydrogen OS mouse driver does not work.
Quoted 7 lines
Quoted 4 lines
While the NeXTStep PS/2 bug is known from QEMU 0.7.0 (which used Bochs BIOS), the other ones are new (as far as I know) so they may be or may not be caused by SeaBIOS.
for Hydrogen OS, when I use QEMU BIOS (yes with my -old-bios hack) it works in git head.
Can you test with:
http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin-0.5.1-debug-20100313
Change summary in this test image:
* int 1601 / int 1a00 should enable irqs - fixes several boot hangs
* Backup/restore registers on mouse/keyboard callbacks - fixes d090723b.zip
* The mouse getid command may only return 1 byte - fixes msdos mouse hang
* Always process key event in irq 09 handler - restores keyboard in ghost and fdos0138.img
This image is based off stable-0.5.1 (image debug-20100311 was mistakenly based off of git head which had an additional regression of enabling mouse irqs by default).
Interestingly, a ghost 11.5 image I found now works with mouse where it used to fail with bochs bios.
The code changes I've used are below. These changes are for testing - I'm still looking into a full fix.
-Kevin
src/clock.c +1 -0
@@ -228,6 +228,7 @@ timer_setup(void)static void handle_1a00 (struct bregs *regs) { +yield ();u32 ticks =GET_BDA (timer_counter); regs->cx = ticks >>16 ; regs->dx = ticks;
src/config.h +2 -2
@@ -16,9 +16,9 @@#define CONFIG_COREBOOT 0// Control how verbose debug output is. -#define CONFIG_DEBUG_LEVEL 1 +#define CONFIG_DEBUG_LEVEL 8// Send debugging information to serial port -#define CONFIG_DEBUG_SERIAL 0 +#define CONFIG_DEBUG_SERIAL 1// Screen writes are also sent to debug ports. #define CONFIG_SCREEN_AND_DEBUG 1
src/kbd.c +11 -0
@@ -73,6 +73,7 @@ enqueue_key(u8 scan_code, u8 ascii_code)static void dequeue_key (struct bregs *regs,int incr,int extended) { +yield ();u16 buffer_head;u16 buffer_tail;for (;;) {
@@ -552,9 +553,19 @@ process_key(u8 key)// allow for keyboard intercept u32 eax = (0x4f <<8 ) | key;u32 flags; +#if 0 call16_simpint (0x15 , &eax, &flags);if (!(flags &F_CF ))return ; +#else +struct bregs br; +memset (&br,0 ,sizeof (br)); + br.eax = eax; +call16_int (0x15 , &br); + flags = br.flags; +if (!(flags &F_CF )) +return ; +#endif key = eax; }__process_key (key);
src/mouse.c +4 -1
@@ -305,15 +305,17 @@ process_mouse(u8 data)return ; } -//BX_DEBUG_INT74("int74_function: make_farcall=1\n"); u16 status =GET_EBDA2 (ebda_seg, mouse_data[0 ]);u16 X =GET_EBDA2 (ebda_seg, mouse_data[1 ]);u16 Y =GET_EBDA2 (ebda_seg, mouse_data[2 ]);SET_EBDA2 (ebda_seg, mouse_flag1,0 );struct segoff_s func =GET_EBDA2 (ebda_seg, far_call_pointer); +dprintf (16 ,"mouse farcall s=%04x x=%04x y=%04x func=%04x:%04x\n" + , status,X ,Y , func.seg, func.offset); asmvolatile ( +"pusha\n" "sti\n" "pushl %0\n"
@@ -326,6 +328,7 @@ process_mouse(u8 data) "cli\n" "cld\n" + "popa\n" : : "r"(func.segoff), "r"(status), "r"(X), "r"(Y) : "cc"
src/ps2port.c +29 -2
@@ -226,8 +226,11 @@ ps2_command(int aux, int command, u8 *param)if (ret)return ret; +// Flush any interrupts already pending. +yield (); +if (command ==ATKBD_CMD_RESET_BAT ) { -// Reset is special wrt timeouts. +// Reset is special wrt timeouts and bytes received. // Send command. ret =ps2_sendbyte (aux, command,1000 );
@@ -244,6 +247,29 @@ ps2_command(int aux, int command, u8 *param)// Some devices only respond with one byte on reset. ret =0 ; param[1 ] = ret; + }else if (command ==ATKBD_CMD_GETID ) { +// Getid is special wrt bytes received. + +// Send command. + ret =ps2_sendbyte (aux, command,200 ); +if (ret) + goto fail; + +// Receive parameters. + ret =ps2_recvbyte (aux,0 ,500 ); +if (ret <0 ) + goto fail; + param[0 ] = ret; +if (ret ==0xab || ret ==0xac || ret ==0x2b || ret ==0x5d + || ret ==0x60 || ret ==0x47 ) { +// These ids (keyboards) return two bytes. + ret =ps2_recvbyte (aux,0 ,500 ); +if (ret <0 ) + goto fail; + param[1 ] = ret; + }else { + param[1 ] =0 ; + } }else {// Send command. ret =ps2_sendbyte (aux, command,200 );
@@ -336,7 +362,8 @@ handle_09(void)return ;debug_isr (DEBUG_ISR_09 ); -process_ps2irq (); +// process_ps2irq(); +process_ps2byte (inb (PORT_PS2_STATUS ),inb (PORT_PS2_DATA ));eoi_pic1 (); }
[Qemu-devel] Re: PS/2 mouse emulation problems
2010/3/14 Kevin O'Connor <[email protected]>:
Quoted 37 lines · Roy Tam
Quoted 11 lines
2010/3/13 Natalia Portillo <[email protected]>:
Quoted 10 lines
Ok so in resume we have the following PS/2 mouse bugs:
NeXTStep and OpenStep PS/2 driver receives no movement at all from the mouse (Darwin PS/2 driver seems to be made from scratch so no helpful here). MS-DOS Mouse driver hangs the whole machine.
Windows Me Setup mouse driver receives no movement at all from the mouse. Old XFree86 PS/2 mouse driver receives no movement at all from standard protocols (PS/2, IMPS/2) or random movements (Microsoft). Hydrogen OS mouse driver does not work.Quoted 7 lines
Quoted 4 lines
While the NeXTStep PS/2 bug is known from QEMU 0.7.0 (which used Bochs BIOS), the other ones are new (as far as I know) so they may be or may not be caused by SeaBIOS.
for Hydrogen OS, when I use QEMU BIOS (yes with my -old-bios hack) it works in git head.
Can you test with:
http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin-0.5.1-debug-20100313
Change summary in this test image:
* int 1601 / int 1a00 should enable irqs - fixes several boot hangs
* Backup/restore registers on mouse/keyboard callbacks - fixes d090723b.zip
* The mouse getid command may only return 1 byte - fixes msdos mouse hang
* Always process key event in irq 09 handler - restores keyboard in ghost and fdos0138.imgThis image is based off stable-0.5.1 (image debug-20100311 was mistakenly based off of git head which had an additional regression of enabling mouse irqs by default).
Quoted 6 lines
Interestingly, a ghost 11.5 image I found now works with mouse where it used to fail with bochs bios.
The code changes I've used are below. These changes are for testing - I'm still looking into a full fix.
Tested. Results belows:
+ NeXTStep/OpenStep bootloader no longer stalls.
+ EDR-DOS 7.01.08 WIP boots.
+ Paragon PTS-DOS 6.51CD/2000 Pro, GHOST, GW-BASIC, FreeDOS/V, MS-DOS 6.22 (Korean Edition), ET3 Chinese System, KC Chinese System, CCDOS97 Chinese System, etc. keyboard works.
+ CuteMouse driver no longer waits, MS Mouse Driver no longer freezes.
+ Hydrogen OS Mouse works.
- OpenStep 4.2 installs but mouse only works for 1 second.
Natalia Portillo:
Do you have a working config switches for NeXTStep 3.3? As it don't have (E)IDE/ATATPI driver in driver disks.
Quoted 153 lines
(quoted diff) +0
-1-Kevinsrc/clock.c +1
-0@@ -228,6 +228,7 @@ timer_setup(void)static void handle_1a00 (struct bregs *regs) { +yield ();u32 ticks =GET_BDA (timer_counter); regs->cx = ticks >>16 ; regs->dx = ticks;src/config.h +2
-2@@ -16,9 +16,9 @@#define CONFIG_COREBOOT 0// Control how verbose debug output is. -#define CONFIG_DEBUG_LEVEL 1 +#define CONFIG_DEBUG_LEVEL 8// Send debugging information to serial port -#define CONFIG_DEBUG_SERIAL 0 +#define CONFIG_DEBUG_SERIAL 1// Screen writes are also sent to debug ports. #define CONFIG_SCREEN_AND_DEBUG 1src/kbd.c +11
-0@@ -73,6 +73,7 @@ enqueue_key(u8 scan_code, u8 ascii_code)static void dequeue_key (struct bregs *regs,int incr,int extended) { +yield ();u16 buffer_head;u16 buffer_tail;for (;;) {@@ -552,9 +553,19 @@ process_key(u8 key)// allow for keyboard intercept u32 eax = (0x4f <<8 ) | key;u32 flags; +#if 0 call16_simpint (0x15 , &eax, &flags);if (!(flags &F_CF ))return ; +#else +struct bregs br; +memset (&br,0 ,sizeof (br)); + br.eax = eax; +call16_int (0x15 , &br); + flags = br.flags; +if (!(flags &F_CF )) +return ; +#endif key = eax; }__process_key (key);src/mouse.c +4
-1@@ -305,15 +305,17 @@ process_mouse(u8 data)return ; } -//BX_DEBUG_INT74("int74_function: make_farcall=1\n"); u16 status =GET_EBDA2 (ebda_seg, mouse_data[0 ]);u16 X =GET_EBDA2 (ebda_seg, mouse_data[1 ]);u16 Y =GET_EBDA2 (ebda_seg, mouse_data[2 ]);SET_EBDA2 (ebda_seg, mouse_flag1,0 );struct segoff_s func =GET_EBDA2 (ebda_seg, far_call_pointer); +dprintf (16 ,"mouse farcall s=%04x x=%04x y=%04x func=%04x:%04x\n" + , status,X ,Y , func.seg, func.offset); asmvolatile ( +"pusha\n" "sti\n" "pushl %0\n"@@ -326,6 +328,7 @@ process_mouse(u8 data) "cli\n" "cld\n" + "popa\n" : : "r"(func.segoff), "r"(status), "r"(X), "r"(Y) : "cc"src/ps2port.c +29
-2@@ -226,8 +226,11 @@ ps2_command(int aux, int command, u8 *param)if (ret)return ret; +// Flush any interrupts already pending. +yield (); +if (command ==ATKBD_CMD_RESET_BAT ) { -// Reset is special wrt timeouts. +// Reset is special wrt timeouts and bytes received. // Send command. ret =ps2_sendbyte (aux, command,1000 );@@ -244,6 +247,29 @@ ps2_command(int aux, int command, u8 *param)// Some devices only respond with one byte on reset. ret =0 ; param[1 ] = ret; + }else if (command ==ATKBD_CMD_GETID ) { +// Getid is special wrt bytes received. + +// Send command. + ret =ps2_sendbyte (aux, command,200 ); +if (ret) + goto fail; + +// Receive parameters. + ret =ps2_recvbyte (aux,0 ,500 ); +if (ret <0 ) + goto fail; + param[0 ] = ret; +if (ret ==0xab || ret ==0xac || ret ==0x2b || ret ==0x5d + || ret ==0x60 || ret ==0x47 ) { +// These ids (keyboards) return two bytes. + ret =ps2_recvbyte (aux,0 ,500 ); +if (ret <0 ) + goto fail; + param[1 ] = ret; + }else { + param[1 ] =0 ; + } }else {// Send command. ret =ps2_sendbyte (aux, command,200 );@@ -336,7 +362,8 @@ handle_09(void)return ;debug_isr (DEBUG_ISR_09 ); -process_ps2irq (); +// process_ps2irq(); +process_ps2byte (inb (PORT_PS2_STATUS ),inb (PORT_PS2_DATA ));eoi_pic1 (); }
[Qemu-devel] Re: PS/2 mouse emulation problems
2010/3/14 Roy Tam <[email protected]>:
Quoted 45 lines
2010/3/14 Kevin O'Connor <[email protected]>:
Quoted 37 lines · Roy Tam
Quoted 11 lines
2010/3/13 Natalia Portillo <[email protected]>:
Quoted 10 lines
Ok so in resume we have the following PS/2 mouse bugs:
NeXTStep and OpenStep PS/2 driver receives no movement at all from the mouse (Darwin PS/2 driver seems to be made from scratch so no helpful here). MS-DOS Mouse driver hangs the whole machine.
Windows Me Setup mouse driver receives no movement at all from the mouse. Old XFree86 PS/2 mouse driver receives no movement at all from standard protocols (PS/2, IMPS/2) or random movements (Microsoft). Hydrogen OS mouse driver does not work.Quoted 7 lines
Quoted 4 lines
While the NeXTStep PS/2 bug is known from QEMU 0.7.0 (which used Bochs BIOS), the other ones are new (as far as I know) so they may be or may not be caused by SeaBIOS.
for Hydrogen OS, when I use QEMU BIOS (yes with my -old-bios hack) it works in git head.
Can you test with:
http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin-0.5.1-debug-20100313
Change summary in this test image:
* int 1601 / int 1a00 should enable irqs - fixes several boot hangs
* Backup/restore registers on mouse/keyboard callbacks - fixes d090723b.zip
* The mouse getid command may only return 1 byte - fixes msdos mouse hang
* Always process key event in irq 09 handler - restores keyboard in ghost and fdos0138.imgThis image is based off stable-0.5.1 (image debug-20100311 was mistakenly based off of git head which had an additional regression of enabling mouse irqs by default).
Quoted 6 lines
Interestingly, a ghost 11.5 image I found now works with mouse where it used to fail with bochs bios.
The code changes I've used are below. These changes are for testing - I'm still looking into a full fix.
Quoted 10 lines
Tested. Results belows:
+ NeXTStep/OpenStep bootloader no longer stalls.
+ EDR-DOS 7.01.08 WIP boots.
+ Paragon PTS-DOS 6.51CD/2000 Pro, GHOST, GW-BASIC, FreeDOS/V, MS-DOS 6.22 (Korean Edition), ET3 Chinese System, KC Chinese System, CCDOS97 Chinese System, etc. keyboard works.
+ CuteMouse driver no longer waits, MS Mouse Driver no longer freezes.
+ Hydrogen OS Mouse works.
- OpenStep 4.2 installs but mouse only works for 1 second.
forget to mention:
- DOS 1.1x - 1.25 still freeze after pressing [Enter] in date/time prompt or in shell prompt.
Quoted 158 lines
Natalia Portillo:
Do you have a working config switches for NeXTStep 3.3? As it don't have (E)IDE/ATATPI driver in driver disks.Quoted 153 lines
(quoted diff) +0
-1-Kevinsrc/clock.c +1
-0@@ -228,6 +228,7 @@ timer_setup(void)static void handle_1a00 (struct bregs *regs) { +yield ();u32 ticks =GET_BDA (timer_counter); regs->cx = ticks >>16 ; regs->dx = ticks;src/config.h +2
-2@@ -16,9 +16,9 @@#define CONFIG_COREBOOT 0// Control how verbose debug output is. -#define CONFIG_DEBUG_LEVEL 1 +#define CONFIG_DEBUG_LEVEL 8// Send debugging information to serial port -#define CONFIG_DEBUG_SERIAL 0 +#define CONFIG_DEBUG_SERIAL 1// Screen writes are also sent to debug ports. #define CONFIG_SCREEN_AND_DEBUG 1src/kbd.c +11
-0@@ -73,6 +73,7 @@ enqueue_key(u8 scan_code, u8 ascii_code)static void dequeue_key (struct bregs *regs,int incr,int extended) { +yield ();u16 buffer_head;u16 buffer_tail;for (;;) {@@ -552,9 +553,19 @@ process_key(u8 key)// allow for keyboard intercept u32 eax = (0x4f <<8 ) | key;u32 flags; +#if 0 call16_simpint (0x15 , &eax, &flags);if (!(flags &F_CF ))return ; +#else +struct bregs br; +memset (&br,0 ,sizeof (br)); + br.eax = eax; +call16_int (0x15 , &br); + flags = br.flags; +if (!(flags &F_CF )) +return ; +#endif key = eax; }__process_key (key);src/mouse.c +4
-1@@ -305,15 +305,17 @@ process_mouse(u8 data)return ; } -//BX_DEBUG_INT74("int74_function: make_farcall=1\n"); u16 status =GET_EBDA2 (ebda_seg, mouse_data[0 ]);u16 X =GET_EBDA2 (ebda_seg, mouse_data[1 ]);u16 Y =GET_EBDA2 (ebda_seg, mouse_data[2 ]);SET_EBDA2 (ebda_seg, mouse_flag1,0 );struct segoff_s func =GET_EBDA2 (ebda_seg, far_call_pointer); +dprintf (16 ,"mouse farcall s=%04x x=%04x y=%04x func=%04x:%04x\n" + , status,X ,Y , func.seg, func.offset); asmvolatile ( +"pusha\n" "sti\n" "pushl %0\n"@@ -326,6 +328,7 @@ process_mouse(u8 data) "cli\n" "cld\n" + "popa\n" : : "r"(func.segoff), "r"(status), "r"(X), "r"(Y) : "cc"src/ps2port.c +29
-2@@ -226,8 +226,11 @@ ps2_command(int aux, int command, u8 *param)if (ret)return ret; +// Flush any interrupts already pending. +yield (); +if (command ==ATKBD_CMD_RESET_BAT ) { -// Reset is special wrt timeouts. +// Reset is special wrt timeouts and bytes received. // Send command. ret =ps2_sendbyte (aux, command,1000 );@@ -244,6 +247,29 @@ ps2_command(int aux, int command, u8 *param)// Some devices only respond with one byte on reset. ret =0 ; param[1 ] = ret; + }else if (command ==ATKBD_CMD_GETID ) { +// Getid is special wrt bytes received. + +// Send command. + ret =ps2_sendbyte (aux, command,200 ); +if (ret) + goto fail; + +// Receive parameters. + ret =ps2_recvbyte (aux,0 ,500 ); +if (ret <0 ) + goto fail; + param[0 ] = ret; +if (ret ==0xab || ret ==0xac || ret ==0x2b || ret ==0x5d + || ret ==0x60 || ret ==0x47 ) { +// These ids (keyboards) return two bytes. + ret =ps2_recvbyte (aux,0 ,500 ); +if (ret <0 ) + goto fail; + param[1 ] = ret; + }else { + param[1 ] =0 ; + } }else {// Send command. ret =ps2_sendbyte (aux, command,200 );@@ -336,7 +362,8 @@ handle_09(void)return ;debug_isr (DEBUG_ISR_09 ); -process_ps2irq (); +// process_ps2irq(); +process_ps2byte (inb (PORT_PS2_STATUS ),inb (PORT_PS2_DATA ));eoi_pic1 (); }
[Qemu-devel] Re: PS/2 mouse emulation problems
Quoted 9 lines · Roy Tam
2010/3/14 Roy Tam <[email protected]>:
Quoted 8 lines
Tested. Results belows:
+ NeXTStep/OpenStep bootloader no longer stalls.
+ EDR-DOS 7.01.08 WIP boots.
+ Paragon PTS-DOS 6.51CD/2000 Pro, GHOST, GW-BASIC, FreeDOS/V, MS-DOS 6.22 (Korean Edition), ET3 Chinese System, KC Chinese System, CCDOS97 Chinese System, etc. keyboard works.
+ CuteMouse driver no longer waits, MS Mouse Driver no longer freezes.
+ Hydrogen OS Mouse works.
Thanks!
Quoted 1 line
Quoted 1 line
- OpenStep 4.2 installs but mouse only works for 1 second.
Are the OpenStep CDs available somewhere?
Quoted 3 lines
forget to mention:
- DOS 1.1x - 1.25 still freeze after pressing [Enter] in date/time prompt or in shell prompt.
Is that a regression from Bochs BIOS? Can you point me to an image I can try?
BTW, I've pushed a cleaned up set of fixes to latest SeaBIOS git.
-Kevin
[Qemu-devel] Re: PS/2 mouse emulation problems
2010/3/14 Kevin O'Connor <[email protected]>:
Quoted 15 lines · Roy Tam
Quoted 9 lines
2010/3/14 Roy Tam <[email protected]>:
Quoted 8 lines
Tested. Results belows:
+ NeXTStep/OpenStep bootloader no longer stalls.
+ EDR-DOS 7.01.08 WIP boots.
+ Paragon PTS-DOS 6.51CD/2000 Pro, GHOST, GW-BASIC, FreeDOS/V, MS-DOS 6.22 (Korean Edition), ET3 Chinese System, KC Chinese System, CCDOS97 Chinese System, etc. keyboard works.
+ CuteMouse driver no longer waits, MS Mouse Driver no longer freezes.
+ Hydrogen OS Mouse works.Thanks!
Quoted 1 line
Quoted 1 line
- OpenStep 4.2 installs but mouse only works for 1 second.
Quoted 9 lines
Are the OpenStep CDs available somewhere?
Quoted 3 lines
forget to mention:
- DOS 1.1x - 1.25 still freeze after pressing [Enter] in date/time prompt or in shell prompt.Is that a regression from Bochs BIOS? Can you point me to an image I can try?
Yes this is a regression. with Bochs BIOS DOS 1.1x - 1.25 works fine.
Quoted 5 lines
BTW, I've pushed a cleaned up set of fixes to latest SeaBIOS git.
-Kevin
[Qemu-devel] Re: PS/2 mouse emulation problems
Quoted 9 lines · Roy Tam
2010/3/14 Kevin O'Connor <[email protected]>:
Quoted 6 lines · Roy Tam
Quoted 2 lines
- DOS 1.1x - 1.25 still freeze after pressing [Enter] in date/time prompt or in shell prompt.
Is that a regression from Bochs BIOS? Can you point me to an image I can try?
Yes this is a regression. with Bochs BIOS DOS 1.1x - 1.25 works fine.
The early DOS image is failing due to lack of stack space. It's calling int 1600 with ~150 bytes of stack space and SeaBIOS uses more.
-Kevin
Re: [Qemu-devel] SeaBIOS error with Nextstep bootloader
In reply to Roy TamQuoted 2 lines · Roy Tam
mouse problem affects Hydrogen OS too.
http://tommy.planet.free.fr/doku.php?id=hydrogen_os
SeaBIOS turns mouse irqs on by default - the above image doesn't like that.
-Kevin
Quoted 12 lines · Brandon Bennett
Quoted 11 lines · Kevin O'Connor
Quoted 9 lines
Should a kernel fail during boot, I'd suspect it doesn't like one of the apm/pcibios callbacks, or it doesn't like one of the smbios/mptable/acpi tables. You could try compiling the SeaBIOS code (see http://seabios.org/Download ) and increasing the debugging by modifying
src/config.h. Specifically, you could increaseCONFIG_DEBUG_LEVEL, and setDEBUG_HDL_pcibios32andDEBUG_HDL_apmto
1. Also, you could try disabling some of the features to see if that prevents the fault (eg, disablingCONFIG_ACPI/CONFIG_SMBIOS/CONFIG_MPTABLE).
Quoted 2 lines
I have narrowed it down to SMBIOS. If I disable
CONFIG_SMBIOSthe image boots up fine.
Gleb, have you seen this thread?
Some of the recent changes to smbios that look like possible culprits are:
Make SMBIOS table pass MS SVVP test
Use MaxCountCPUs during building of per cpu tables.
Add malloc_high/fseg() and rework bios table creation to use them.
There were other changes, but the comments indicate they were only ports of changes already in bochs. I suppose it's also possible the lack of smbios is turning off some other feature in the guest (eg, acpi) that's the real culprit.
-Kevin
Quoted 16 lines · Kevin O'Connor
Quoted 12 lines · Brandon Bennett
Quoted 11 lines · Kevin O'Connor
Quoted 9 lines
Should a kernel fail during boot, I'd suspect it doesn't like one of the apm/pcibios callbacks, or it doesn't like one of the smbios/mptable/acpi tables. You could try compiling the SeaBIOS code (see http://seabios.org/Download ) and increasing the debugging by modifying
src/config.h. Specifically, you could increaseCONFIG_DEBUG_LEVEL, and setDEBUG_HDL_pcibios32andDEBUG_HDL_apmto
1. Also, you could try disabling some of the features to see if that prevents the fault (eg, disablingCONFIG_ACPI/CONFIG_SMBIOS/CONFIG_MPTABLE).Quoted 2 lines
I have narrowed it down to SMBIOS. If I disable
CONFIG_SMBIOSthe image boots up fine.
Quoted 9 lines
Gleb, have you seen this thread?
Some of the recent changes to smbios that look like possible culprits are:
Make SMBIOS table pass MS SVVP test
Use MaxCountCPUs during building of per cpu tables.
Add malloc_high/fseg() and rework bios table creation to use them.
If there is any seabios revision that works then it is possible to bisect to find problematic commit.
Quoted 5 lines
There were other changes, but the comments indicate they were only ports of changes already in bochs. I suppose it's also possible the lack of smbios is turning off some other feature in the guest (eg, acpi) that's the real culprit.
--
Gleb.
Quoted 11 lines · Gleb Natapov
Quoted 10 lines · Kevin O'Connor
Quoted 2 lines · Brandon Bennett
I have narrowed it down to SMBIOS. If I disable
CONFIG_SMBIOSthe image boots up fine.Gleb, have you seen this thread?
Some of the recent changes to smbios that look like possible culprits are:
Quoted 6 lines
Quoted 4 lines
Make SMBIOS table pass MS SVVP test
Use MaxCountCPUs during building of per cpu tables.
Add malloc_high/fseg() and rework bios table creation to use them.If there is any seabios revision that works then it is possible to bisect to find problematic commit.
Hello,
I'm also bitten by this and have now attempted to bisect it. The result was:
c95d2cee36db79c88253d43a90230ceadf0c26cf is first bad commit commit c95d2cee36db79c88253d43a90230ceadf0c26cf
Author: Kevin O'Connor <[email protected]> Date: Wed Jul 29 20:41:39 2009 -0400
Add auto-generated version info to each build.
Add versioning info to initial debug and screen banner output.
:100644 100644 2e2ba1dbf46cb7a12eeaafbc394f3f279c10abf4 37589097295dde049f8512d99561a0320955fb41 M Makefile
:040000 040000 29c4ea1e03416fce9b3aa963ece74050a7b5769a 2b5425a20726caeadba524e14756c8827dd66595 M src
Which looks a bit strange... I'm afraid I'm unable to revert this on the current HEAD due to other changes in the same area and my complete lack of understanding any assembler. But I have verified that
commit 8c8a880b584ccf8958d67e99a6750ba32d0b6454
is working for me, while
commit c95d2cee36db79c88253d43a90230ceadf0c26cf
has the mentioned problems.
However, I am not completely sure that I didn't mess up something which affected the result. I do note that the *working* version logs a "Bad SMBIOS data checksum" message:
olive@canardo:~$ kvm -L /usr/local/src/git/seabios/out -m 1024 -hda olive2.img -nographic -serial mon:stdio -monitor null Could not open option rom 'vapic.bin': No such file or directory pci_add_option_rom: failed to find romfile "vgabios-cirrus.bin" pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin" Consoles: serial port BIOS drive C: is disk0 BIOS 639kB/1047544kB available memory
FreeBSD/i386 bootstrap loader, Revision 1.1 ([email protected], Tue Nov 3 08:19:23 UTC 2009)
Loading /boot/defaults/loader.conf
/kernel text=0x74574c smbios_init: Bad SMBIOS data checksum
data=0x42ba0+0x92e34 syms=[0x4+0x7f570+0x4+0xb12b2] /boot/modules/if_bge.ko text=0xa98c data=0x364+0xc syms=[0x4+0xd50+0x4+0xd18] /boot/modules/mpt_core.ko text=0x18dbc data=0x488+0x358 /boot/modules/if_bce.ko text=0xd07c data=0x16d94+0x24e4 syms=[0x4+0x14d0+0x4+0x1787] /boot/modules/acb.ko text=0x3d78 data=0x284+0x80 syms=[0x4+0xa70+0x4+0x9a4] /boot/modules/mcs.ko text=0x4dc0 data=0x391+0xeb syms=[0x4+0xc40+0x4+0xbc2] /boot/modules/scs.ko text=0x7c08 data=0x564+0x164 syms=[0x4+0x1110+0x4+0x1179] /boot/modules/rcb.ko text=0x29c8 data=0x184+0x2c syms=[0x4+0x7e0+0x4+0x704] /boot/modules/cb.ko text=0x63fc data=0x3b8+0x11c syms=[0x4+0xf20+0x4+0xe69] /boot/modules/mesw.ko text=0x630c data=0x344+0x58 syms=[0x4+0xba0+0x4+0xe7a] /boot/modules/cbd.ko text=0x1fcc data=0x9c+0xc syms=[0x4+0x540+0x4+0x445] /boot/modules/sfccb.ko text=0xe30 data=0x1b0+0x14 syms=[0x4+0x540+0x4+0x4a5] /boot/modules/mac_runasnonroot.ko text=0x7b4 data=0x4d0 syms=[0x4+0x310+0x4+0x39d]
Hit [Enter] to boot immediately, or space bar for command prompt. Booting [/kernel]...platform_early_bootinit: M/T Series Early Boot Initialization Olive CPU
GDB: debug ports: sio
[snip]
while the failing version does not cause this message:
olive@canardo:~$ kvm -L /usr/local/src/git/seabios/out -m 1024 -hda olive2.img -nographic -serial mon:stdio -monitor null Could not open option rom 'vapic.bin': No such file or directory pci_add_option_rom: failed to find romfile "vgabios-cirrus.bin" pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin" Consoles: serial port BIOS drive C: is disk0 BIOS 639kB/1047544kB available memory
FreeBSD/i386 bootstrap loader, Revision 1.1 ([email protected], Tue Nov 3 08:19:23 UTC 2009)
Loading /boot/defaults/loader.conf
/kernel text=0x74574c data=0x42ba0+0x92e34 syms=[0x4+0x7f570+0x4+0xb12b2] /boot/modules/if_bge.ko text=0xa98c data=0x364+0xc syms=[0x4+0xd50+0x4+0xd18] /boot/modules/mpt_core.ko text=0x18dbc data=0x488+0x358 /boot/modules/if_bce.ko text=0xd07c data=0x16d94+0x24e4 syms=[0x4+0x14d0+0x4+0x1787] /boot/modules/acb.ko text=0x3d78 data=0x284+0x80 syms=[0x4+0xa70+0x4+0x9a4] /boot/modules/mcs.ko text=0x4dc0 data=0x391+0xeb syms=[0x4+0xc40+0x4+0xbc2] /boot/modules/scs.ko text=0x7c08 data=0x564+0x164 syms=[0x4+0x1110+0x4+0x1179] /boot/modules/rcb.ko text=0x29c8 data=0x184+0x2c syms=[0x4+0x7e0+0x4+0x704] /boot/modules/cb.ko text=0x63fc data=0x3b8+0x11c syms=[0x4+0xf20+0x4+0xe69] /boot/modules/mesw.ko text=0x630c data=0x344+0x58 syms=[0x4+0xba0+0x4+0xe7a] /boot/modules/cbd.ko text=0x1fcc data=0x9c+0xc syms=[0x4+0x540+0x4+0x445] /boot/modules/sfccb.ko text=0xe30 data=0x1b0+0x14 syms=[0x4+0x540+0x4+0x4a5] /boot/modules/mac_runasnonroot.ko text=0x7b4 data=0x4d0 syms=[0x4+0x310+0x4+0x39d]
Hit [Enter] to boot immediately, or space bar for command prompt. Booting [/kernel]...platform_early_bootinit: M/T Series Early Boot Initialization kernel trap 12 with interrupts disabled
Fatal trap 30: reserved (unknown) fault while in kernel mode
instruction pointer = 0x20:0xc09ba131
stack pointer = 0x28:0xc1021c6c
frame pointer = 0x28:0xc1021ca4
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = 0 ()
trap number = 30dog: ERROR - reset of uninitialized watchdog
panic: reserved (unknown) fault (null)(c0ba9440,c0ba9440,c0b40fd0,c1021bb4,5) at 0xc09a5757 (null)(c0b40fd0,1e,c1021c2c,1,1) at 0xc0593caf (null)(c0b23132,0,c1021d14,c05b41e0,a) at 0xc09b9747 (null)(c1021c2c) at 0xc09ba631
(null)(c1021cb0) at 0xc09a6d8f (null)(c1021d44,c0aa42a9,c0b42b37,c1021d34,c1021d30) at 0xc09a6d8f (null)(c0b42b37,c1021d34,c1021d30,a,c1021d54) at 0xc09a001e (null)(c0b21154,c0ad7f78,c1021d84,c09af90e,80) at 0xc0aa42a9 (null)(80,c09a6dd0,f,3,20) at 0xc0aa488e (null)(1026000) at 0xc09af90e
(null)() at 0xc049bb8d
kernel trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xf000ff53
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc05bc3bd
stack pointer = 0x28:0xc1021920
frame pointer = 0x28:0xc1021940
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 0 ()
trap number = 12dog: ERROR - reset of uninitialized watchdog
panic: page fault
XXXXX: ERROR platform_boot_mastership_relinquish not defined:XXXXXdog: ERROR - reset of uninitialized watchdog
dog: ERROR - reset of uninitialized watchdog
Uptime: 1s
I guess this can affect the result if it means that SMBIOS is being disabled/ignored. I can confirm Brandon's findings that disabling CONFIG_SMBIOS on current head also gives me a working image.
Bjørn
Quoted 5 lines · Bjørn Mork
Quoted 4 lines · Gleb Natapov
Quoted 3 lines · Kevin O'Connor
Quoted 2 lines · Brandon Bennett
I have narrowed it down to SMBIOS. If I disable
CONFIG_SMBIOSthe image boots up fine.
Quoted 7 lines
Quoted 2 lines
If there is any seabios revision that works then it is possible to bisect to find problematic commit.
I'm also bitten by this and have now attempted to bisect it. The result was:
c95d2cee36db79c88253d43a90230ceadf0c26cfis first bad commit commitc95d2cee36db79c88253d43a90230ceadf0c26cf
It looks like memory layout changes in the f-segment is tickling the underlying bug. I don't think SMBIOS, the above commit, or the other commit identified earlier are the root cause of the problem. Instead, I'd guess these commits just change the memory layout enough to avoid the root cause.
This looks like it is going to require some careful study with a debugger and some execution traces. Unfortunately, since this image isn't available for download it makes it difficult to track down.
-Kevin
Quoted 5 lines · Kevin O'Connor
It looks like memory layout changes in the f-segment is tickling the underlying bug. I don't think SMBIOS, the above commit, or the other commit identified earlier are the root cause of the problem. Instead, I'd guess these commits just change the memory layout enough to avoid the root cause.
Sounds like a reasonable explanation. Is there anything I can do to try to pin down the problem?
Quoted 3 lines
This looks like it is going to require some careful study with a debugger and some execution traces. Unfortunately, since this image isn't available for download it makes it difficult to track down.
I understand that. But I'm afraid I can't provide any such image.
I don't think Juniper has done anything extra-ordinary at this point however, so I'll try to see if I can create a freely distributable image triggering the bug using the same tools as them. Will let you know if I succeed.
Bjørn
Quoted 15 lines · Bjørn Mork
Quoted 5 lines · Kevin O'Connor
It looks like memory layout changes in the f-segment is tickling the underlying bug. I don't think SMBIOS, the above commit, or the other commit identified earlier are the root cause of the problem. Instead, I'd guess these commits just change the memory layout enough to avoid the root cause.
Sounds like a reasonable explanation. Is there anything I can do to try to pin down the problem?
Quoted 3 lines
This looks like it is going to require some careful study with a debugger and some execution traces. Unfortunately, since this image isn't available for download it makes it difficult to track down.
Quoted 6 lines
I understand that. But I'm afraid I can't provide any such image.
I don't think Juniper has done anything extra-ordinary at this point however, so I'll try to see if I can create a freely distributable image triggering the bug using the same tools as them. Will let you know if I succeed.
It's been a while with little work and little progress on my side... But I looked at this again today, and found that it may be related to the SMBIOS table being allocated with malloc_high(). Does that make sense?
Anyway, the problematic OS boots without problems with current seabios from git if I make this change:
src/smbios.c +1 -1
@@ -17,7 +17,7 @@ smbios_entry_point_init(u16 max_structure_size, u16 number_of_structures) {struct smbios_entry_point *ep =malloc_fseg (sizeof (*ep)); -void *finaltable =malloc_high (structure_table_length); +void *finaltable =malloc_fseg (structure_table_length);if (!ep || !finaltable) {warn_noalloc ();free (ep);
I tried malloc_low() too, and that works as well. But malloc_fseg() seems appropriate, unless I've misunderstood something here. Which very well can be. I am not going to claim any understanding at all.
Does the above make any sense, or is this just another example of "tickling the underlying bug"?
Bjørn
Quoted 12 lines · Bjørn Mork
It's been a while with little work and little progress on my side... But I looked at this again today, and found that it may be related to the SMBIOS table being allocated with
malloc_high(). Does that make sense?Anyway, the problematic OS boots without problems with current seabios from git if I make this change:
src/smbios.c +0
-0
src/smbios.c smbios_entry_point_init(u16 max_structure_size, · line 23
Quoted 8 lines
src/smbios.c +1
-1@@ -17,7 +17,7 @@ smbios_entry_point_init(u16 max_structure_size, u16 number_of_structures) {struct smbios_entry_point *ep =malloc_fseg (sizeof (*ep)); -void *finaltable =malloc_high (structure_table_length); +void *finaltable =malloc_fseg (structure_table_length);if (!ep || !finaltable) {warn_noalloc ();free (ep);
Thanks.
It's possible that the OS has an error in handling the SMBIOS when it is in high-memory (located above 1meg). (For example, older versions of Linux crash when the mptable is in high memory.)
However, it would be really odd for the OS to work some times with the SMBIOS in high memory and sometimes fail.
Quoted 3 lines
I tried
malloc_low()too, and that works as well. Butmalloc_fseg()seems appropriate, unless I've misunderstood something here. Which very well can be. I am not going to claim any understanding at all.
malloc_low and malloc_fseg would both put the table in the first megabyte of physical ram. Of the two, malloc_fseg would be preferable.
Quoted 2 lines
Does the above make any sense, or is this just another example of "tickling the underlying bug"?
I have to wonder if the reorganization of memory just caused the bug to not pop up. If you disable SMBIOS, can you confirm the problem reliably goes away on multiple versions of SeaBIOS?
-Kevin
Quoted 24 lines · Kevin O'Connor
Quoted 12 lines · Bjørn Mork
It's been a while with little work and little progress on my side... But I looked at this again today, and found that it may be related to the SMBIOS table being allocated with
malloc_high(). Does that make sense?Anyway, the problematic OS boots without problems with current seabios from git if I make this change:
src/smbios.c +0
-0src/smbios.c smbios_entry_point_init(u16 max_structure_size, · line 23
Quoted 8 lines
src/smbios.c +1
-1@@ -17,7 +17,7 @@ smbios_entry_point_init(u16 max_structure_size, u16 number_of_structures) {struct smbios_entry_point *ep =malloc_fseg (sizeof (*ep)); -void *finaltable =malloc_high (structure_table_length); +void *finaltable =malloc_fseg (structure_table_length);if (!ep || !finaltable) {warn_noalloc ();free (ep);Thanks.
Quoted 3 lines
It's possible that the OS has an error in handling the SMBIOS when it is in high-memory (located above 1meg). (For example, older versions of Linux crash when the mptable is in high memory.)
I looked at a couple of physical machines with vendor BIOSes, and they seem to put the table in low memory:
# dmidecode 2.9 SMBIOS 2.4 present. 71 structures occupying 2506 bytes. Table at 0x000F06F0.
# dmidecode 2.9 SMBIOS 2.4 present. 80 structures occupying 2858 bytes. Table at 0x000E0010.
Makes me think that this would be the safest approach for SeaBIOS as well. With the patch above, I get this location:
# dmidecode 2.9 SMBIOS 2.4 present. 10 structures occupying 263 bytes. Table at 0x000FDA00.
Without it, I get:
# dmidecode 2.9 SMBIOS 2.4 present. 10 structures occupying 263 bytes. Table at 0x1FFFFEF0.
Quoted 2 lines
However, it would be really odd for the OS to work some times with the SMBIOS in high memory and sometimes fail.
Yes. Just to be perfectly clear: The crash with SMBIOS in high memory happens every time with "recent" (anything from 2009 or later) SeaBIOS versions.
I must admit that I right now am wondering whether I somehow screwed up the previous testing of older versions. I am not at all sure under what circumstances older SeaBIOS would work with SMBIOS enabled.
Quoted 7 lines
Quoted 3 lines
I tried
malloc_low()too, and that works as well. Butmalloc_fseg()seems appropriate, unless I've misunderstood something here. Which very well can be. I am not going to claim any understanding at all.
malloc_lowandmalloc_fsegwould both put the table in the first megabyte of physical ram. Of the two,malloc_fsegwould be preferable.
That's what I thought. Glad I could be right about something :-)
Quoted 6 lines
Quoted 2 lines
Does the above make any sense, or is this just another example of "tickling the underlying bug"?
I have to wonder if the reorganization of memory just caused the bug to not pop up. If you disable SMBIOS, can you confirm the problem reliably goes away on multiple versions of SeaBIOS?
Yes. Tested with current HEAD and with a number of revisions around the beginning of 2009, i.e. version 0.4.0. Just to be sure, I selected an intermediate version as well: 0.5.1. And I can confirm that the problem goes away there too when I disable SMBIOS.
Bjørn
Quoted 4 lines · Bjørn Mork
Quoted 3 lines · Kevin O'Connor
It's possible that the OS has an error in handling the SMBIOS when it is in high-memory (located above 1meg). (For example, older versions of Linux crash when the mptable is in high memory.)
[...]
Quoted 10 lines
Quoted 2 lines
However, it would be really odd for the OS to work some times with the SMBIOS in high memory and sometimes fail.
Yes. Just to be perfectly clear: The crash with SMBIOS in high memory happens every time with "recent" (anything from 2009 or later) SeaBIOS versions.
I must admit that I right now am wondering whether I somehow screwed up the previous testing of older versions. I am not at all sure under what circumstances older SeaBIOS would work with SMBIOS enabled.
I investigated this a bit and I believe the Juniper OS has two SMBIOS
bugs: it crashes when the table is in high memory, and when searching for the table it only checks the first 16byte aligned "_SM_" signature it finds.
The first bug looks likely because when one runs QEmu with "-d in_asm,int,exec" there is a "check_exception" near the end of the log with an address that is similar to the address of the high-memory SMBIOS table.
The second bug causes the OS to ignore the SMBIOS table if the SeaBIOS code layout happens to put an "_SM_" signature on a 16byte boundary before the real SMBIOS table - this led to "Bad SMBIOS data checksum" messages. When this happened, the OS would go on to boot okay because it then didn't try to read the real SMBIOS table from high-memory. Since SeaBIOS has the signature in its code (it needs it to build the table) there was roughly a 1 in 16 chance that a random build would happen to place code in a place that would confuse the OS and cause it to ignore the real SMBIOS table.
Long story short, the Juniper OS probably started failing at commit 2929c352b but bisect didn't find it because random other builds would pass due to the second bug.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
I tried
malloc_low()too, and that works as well. Butmalloc_fseg()seems appropriate, unless I've misunderstood something here. Which very well can be. I am not going to claim any understanding at all.
So, moving the SMBIOS back to the f-segment would fix this. But, there's an issue with that.
The SMBIOS table is normally pretty small (eg, 263 bytes), but it increases with the amount of ram and number of CPUs. If one starts QEmu with 255 cpus, the SMBIOS size is over 11K. Fitting that into the f-segment (64K shared with all the other 16bit code and data) is going to be a real problem. This is also an issue for the mptable (which is over 5K at 255 cpus), but newer OSes don't care about mptable - not so for the smbios table though.
I'm not sure what to do.
-Kevin
Quoted 2 lines · Kevin O'Connor
I investigated this a bit and I believe the Juniper OS has two SMBIOS
bugs: it crashes when the table is in high memory, and when searching
Are all versions based on FreeBSD 4.11?
Are newer versions still affected?
Quoted 10 lines
So, moving the SMBIOS back to the f-segment would fix this. But, there's an issue with that.
The SMBIOS table is normally pretty small (eg, 263 bytes), but it increases with the amount of ram and number of CPUs. If one starts QEmu with 255 cpus, the SMBIOS size is over 11K. Fitting that into the f-segment (64K shared with all the other 16bit code and data) is going to be a real problem. This is also an issue for the mptable (which is over 5K at 255 cpus), but newer OSes don't care about mptable - not so for the smbios table though.
You might want to introduce CONFIG_SMBIOS_LOCATION and check for space shortage in the F-segment case. Bochs BIOS panics if all requested tables don't fit into the available space.
Sebastian
Quoted 2 lines
Are all versions based on FreeBSD 4.11?
Are newer versions still affected?
Newer versions should be based on 6.1 but there are a lot of changes. I haven't had a chance to test with something newer yet.
-Brandon
Quoted 5 lines · Brandon Bennett
Quoted 2 lines
Are all versions based on FreeBSD 4.11?
Are newer versions still affected?Newer versions should be based on 6.1 but there are a lot of changes. I haven't had a chance to test with something newer yet.
Sorry for the delay due to vacation...
I just confirmed the issue running
"JUNOS 11.1R3.5 built 2011-06-25 00:17:21 UTC"
which is as new as it officially gets at the moment. I don't think the FreeBSD version really matters. I believe the issue is related to the "platform_early_bootinit", whatever that is, which is Juniper specific code. I assume they are checking the SMBIOS for some data which is present on the real hardware, and this check triggers the crash.
Quoted 1 line
From the 11.1R3.5 boot:
Hit [Enter] to boot immediately, or space bar for command prompt. Booting [/kernel]...platform_early_bootinit: M/T Series Early Boot Initialization kernel trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xbff3fffc fault code = supervisor write, page not present instruction pointer = 0x20:0xc0a22377
stac
Fatal trap 30: reserved (unknown) fault while in kernel mode
instruction pointer = 0x20:0xc09f4e66
stack pointer = 0x28:0xc1021a00
frame pointer = 0x28:0xc1021a10
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = 0 ()
trap number = 30dog: ERROR - reset of uninitialized watchdog
panic: reserved (unknown) fault (null)(c0c4f4a0,c0c4f4a0,c0be3672,c1021948,a) at 0xc0a14867 (null)(c0be3672,1e,c10219c0,1,1) at 0xc05a723e (null)(a,0,a,ffff7fff,ffffffff) at 0xc0a289dd (null)(c10219c0) at 0xc0a29921 (null)(0,c021b4b,3030000,c0c22a00,c0c54400) at 0xc0a15e7b (null)(c0c22a00,63,5,c1021bac,63) at 0xc09f50c2 (null)(63,10,1000000,1,c0bbe530) at 0xc05e66f3 (null)(63,c1021bac,c0be340e,3f8,1002580) at 0xc05c7ca5 (null)(c0bbe52c,c05c7c45,c1021bac,a,c1021bcc) at 0xc05c7df5 (null)(c0bbe52c,28,c1021cc4,c0be33fe,a) at 0xc05c8f73 (null)(c0c4d0a0,c1021c84,c1021c38,c05c8f73,c0bbe604) at 0xc0a287da (null)(c0bbe604,c,0,0,0) at 0xc0a28c2a
(null)(c1021c84) at 0xc0a296e8 (null)(cffffef0,ffffef0,4,c00e0000,c00e0000) at 0xc0a15e7b (null)(0,c0bc71c6,4,10,0) at 0xc0a0f7df (null)(c0be5837,c1021d34,c1021d30,a,c1021d54) at 0xc0a0f8ed (null)(c0bc1e40,c0b6f924,c1021d84,c0a1e5a9,80) at 0xc0b3a694 (null)(80,c0a15ec0,f,3,20) at 0xc0b3ad7b (null)(1026000) at 0xc0a1e5a9
(null)() at 0xc04aa67d
dog: ERROR - reset of uninitialized watchdog
dog: ERROR - reset of uninitialized watchdog
Uptime: 1s
Also confirmed that 11.1R3.5 is working with SeaBIOS modified as follows:
src/smbios.c +1 -1
@@ -17,7 +17,7 @@ smbios_entry_point_init(u16 max_structure_size, u16 number_of_structures) {struct smbios_entry_point *ep =malloc_fseg (sizeof (*ep)); -void *finaltable =malloc_high (structure_table_length); +void *finaltable =malloc_fseg (structure_table_length);if (!ep || !finaltable) {warn_noalloc ();free (ep);
Bjørn
Quoted 5 lines · Bjørn Mork
I just confirmed the issue running
"JUNOS 11.1R3.5 built 2011-06-25 00:17:21 UTC"
which is as new as it officially gets at the moment.
[...]
Quoted 2 lines
Also confirmed that 11.1R3.5 is working with SeaBIOS modified as follows:
[...]
src/smbios.c smbios_entry_point_init(u16 max_structure_size, · line 20
Quoted 2 lines
src/smbios.c +1
-1-void *finaltable =malloc_high (structure_table_length); +void *finaltable =malloc_fseg (structure_table_length);
I'm not really sure how best to handle this. The smbios table can be larger than the current space reserved for the f-segment (when there are a large number of CPUs).
Some ideas:
There is actually space in the f-segment that is unused, but not given to the malloc_fseg pool. That space could be given to the pool - though the available space will still vary depending on the code size.
It's also possible to relocate the 32bit "run-time" code to high memory which would then free up more space in the f-segment (at the cost of some high memory being reserved from the OS). As above, though, the f-segment is still fundamentally limited by the 16bit code size.
Also, it's possible the code could try to use the f-segment if there are less than say 16 cpus and use high memory when more cpus are present.
-Kevin
Quoted 29 lines · Kevin O'Connor
Quoted 5 lines · Bjørn Mork
I just confirmed the issue running
"JUNOS 11.1R3.5 built 2011-06-25 00:17:21 UTC"
which is as new as it officially gets at the moment.
[...]
Quoted 2 lines
Also confirmed that 11.1R3.5 is working with SeaBIOS modified as follows:
[...]
Review
Quoted 2 lines
(quoted diff) +1
-1- void *finaltable = malloc_high(structure_table_length); + void *finaltable = malloc_fseg(structure_table_length);I'm not really sure how best to handle this. The smbios table can be larger than the current space reserved for the f-segment (when there are a large number of CPUs).
Some ideas:
There is actually space in the f-segment that is unused, but not given to the
malloc_fsegpool. That space could be given to the pool - though the available space will still vary depending on the code size.It's also possible to relocate the 32bit "run-time" code to high memory which would then free up more space in the f-segment (at the cost of some high memory being reserved from the OS). As above, though, the f-segment is still fundamentally limited by the 16bit code size.
Quoted 3 lines
Also, it's possible the code could try to use the f-segment if there are less than say 16 cpus and use high memory when more cpus are present.
How about a variant over the last suggestion: Don't actually care bout the number of CPUs, but just fall back to malloc_high if malloc_fseg fails?
The attached patch works-for-me, and boots JUNOS as long as the number of CPUs is low enough for malloc_fseg to succeed.
Bjørn
Quoted 1 line
From
66522176f711bbf609e10100fb713fc3ed6101c4Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= <[email protected]>
Date: Thu, 7 Jul 2011 17:45:32 +0200
Subject: [PATCH] SMBIOS: use malloc_fseg() to avoid boot error on JUNOS
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Falling back to using malloc_high if malloc_fseg fails to support large tables e.g. due to a high number of cpus.
The SMBIOS table must be allocated from low memory to prevent this bug when booting JUNOS:
kernel trap 12 with interrupts disabled
instruction pointer = 0x8:0xc053a6ae
stack pointer = 0x10:0xc09dce7c
frame pointer = 0x10:0xc09dced4
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = Idle
interrupt mask = net tty bio cam
trap number = 30dog: ERROR - reset of uninitialized watchdog
panic: unknown/reserved trap
(null)(c087aa20,c087aa20,c07ebef2,c09dcd90,5) at0
(null)(c07ebef2,1e,c09dced4,0,0) at0
(null)(c09dce3c,0,c09dcdf4,c051c108) at0
(null)(c09d0010,c09d0010,10,0,c) at0
(null)(9e0010,10,c0100010,0,9e1000) at0
(null)(2) at0
(null)(c07ecd92,f,c07d33a6,c09dcf54,ffffffff) at0
(null)(c09dcfd4,f,3,8,0) at0
(null)(9e1000,0,0,0,0) at0
(null)() at0
dog: ERROR - reset of uninitialized watchdog
dog: ERROR - reset of uninitialized watchdog
Uptime: 0s
--- src/smbios.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
src/smbios.c +4 -1
@@ -17,7 +17,10 @@ smbios_entry_point_init(u16 max_structure_size, u16 number_of_structures) {struct smbios_entry_point *ep =malloc_fseg (sizeof (*ep)); -void *finaltable =malloc_high (structure_table_length); +void *finaltable =malloc_fseg (structure_table_length); +/* fall back to malloc_high() if the table is too big */ +if (!finaltable) + finaltable =malloc_high (structure_table_length);if (!ep || !finaltable) {warn_noalloc ();free (ep);
Signature · 1 line
1.7.2.5
Quoted 8 lines · Bjørn Mork
Quoted 3 lines · Kevin O'Connor
Also, it's possible the code could try to use the f-segment if there are less than say 16 cpus and use high memory when more cpus are present.
How about a variant over the last suggestion: Don't actually care bout the number of CPUs, but just fall back to
malloc_highifmalloc_fsegfails?
This could make testing painful - small changes in the code could cause a different table layout that is OS visible. I'd prefer a more strict cutoff. Though, I suppose the cutoff could be by the table size itself instead of by number of CPUs.
-Kevin
Quoted 6 lines · Kevin O'Connor
Quoted 5 lines · Bjørn Mork
Quoted 3 lines · Kevin O'Connor
Also, it's possible the code could try to use the f-segment if there are less than say 16 cpus and use high memory when more cpus are present.
Quoted 8 lines
Quoted 3 lines
How about a variant over the last suggestion: Don't actually care bout the number of CPUs, but just fall back to
malloc_highifmalloc_fsegfails?This could make testing painful - small changes in the code could cause a different table layout that is OS visible. I'd prefer a more strict cutoff. Though, I suppose the cutoff could be by the table size itself instead of by number of CPUs.
This is of course your call to make...
But I must admit that I fail to see the advantage. I agree that having the table moved around depending on some variable is a problem. Which variable doesn't really matter. At least I don't see a fixed cutoff size as any more predictable than a f-segment allocation failure, given that I have no clue as to what SMBIOS table size is to be expected. Maybe go for the number of CPUs then. But what if additional data is added to the table, making f-segment allocation fail? Then you will end up with three different results depending on small changes instead of two:
1) nCPU <= 16 and f-segment allocation OK: SMBIOS in f-segment
2) nCPU > 16: SMBIOS in high mem
3) nCPU <= 16 and f-segment allocation failed: no SMBIOS table
I don't think that makes testing any less painful...
Anyway, I would appreciate if some solution was found which allowed JUNOS to boot with an unmodified SeaBIOS with SMBIOS enabled, as long as the number of CPUs is limited.
Bjørn
Quoted 5 lines · Bjørn Mork
Anyway, I would appreciate if some solution was found which allowed JUNOS to boot with an unmodified SeaBIOS with SMBIOS enabled, as long as the number of CPUs is limited.
Is fixing JUNOS out of the question?
AFAICT, Seabios complies with all relevant standards.
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 8 lines · Avi Kivity
Quoted 5 lines · Bjørn Mork
Anyway, I would appreciate if some solution was found which allowed JUNOS to boot with an unmodified SeaBIOS with SMBIOS enabled, as long as the number of CPUs is limited.
Is fixing JUNOS out of the question?
Yes, I would say so. The ability to run it on non-Juniper hardware is undocumented and unsupported to the degree that the functionality probably rather would be removed than fixed to support something like SeaBIOS.
Quoted 1 line
AFAICT, Seabios complies with all relevant standards.
Yes, I have no reason to believe otherwise. But still it does behave sufficiently different from other BIOSes for low CPU count machines to fail in this particular case.
I see this as another end of the discussion about whether Linux should try to configure PC hardware in the same manner as Windows, as that is the configuration which will be tested by hardware vendors. Most OS vendors will test their systems with the big proprietary BIOSes and not with SeaBIOS.
Does that make sense?
Bjørn
Quoted 14 lines · Bjørn Mork
Quoted 2 lines
Is fixing JUNOS out of the question?
Yes, I would say so. The ability to run it on non-Juniper hardware is undocumented and unsupported to the degree that the functionality probably rather would be removed than fixed to support something like SeaBIOS.
Quoted 1 line
AFAICT, Seabios complies with all relevant standards.
Yes, I have no reason to believe otherwise. But still it does behave sufficiently different from other BIOSes for low CPU count machines to fail in this particular case.
Quoted 7 lines
I see this as another end of the discussion about whether Linux should try to configure PC hardware in the same manner as Windows, as that is the configuration which will be tested by hardware vendors. Most OS vendors will test their systems with the big proprietary BIOSes and not with SeaBIOS.
Does that make sense?
It does, I wasn't sure if you're working on behalf of Juniper or not.
I guess the options are:
- build time switch
- run time switch, controlled by qemu via fwcfg
- run time decision based on size
- do nothing
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 7 lines · Bjørn Mork
But what if additional data is added to
the table, making f-segment allocation fail? Then you will end up with three different results depending on small changes instead of two:1) nCPU <= 16 and f-segment allocation OK: SMBIOS in f-segment
2) nCPU > 16: SMBIOS in high mem
3) nCPU <= 16 and f-segment allocation failed: no SMBIOS table
If a reasonable limit is placed on the size of the SMBIOS table then in practice the allocation will always succeed.
All of the f-segment allocations with the exception of the mptable are small. The mptable allocation should probably have an upper bound placed on it as well. There's currently 2048 bytes reserved for malloc_fseg (CONFIG_MAX_BIOSTABLE), and the current smbios uses 263 bytes with one cpu and 938 bytes with 16 cpus (memory size may also change size slightly).
-Kevin