[haiku-development] Qemu image not working

  • From: Jan Kloetzke <jan.kloetzke@xxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 1 Jun 2008 15:48:29 +0200

Hi,

apparently haiku.image is not working anymore in Qemu, maybe due to the new 
driver architecture? The image was compiled with GCC4 on Ubuntu 7.10.

Serial output is attached, the used Qemu version was 0.9.0 (0.9.0-2ubuntu4)...

/Jan
APM version 1.2 available, flags 3.
smp_acpi_probe: entry base 0x9fc00, limit 0xa0000
smp_acpi_probe: entry base 0xf0000, limit 0x100000
smp_mp_probe: entry base 0x9fc00, limit 0xa0000
smp_mp_probe: entry base 0xf0000, limit 0x100000
VESA version = 2.0
oem string: VGABIOS Cirrus extension
EDID1: 14f
Welcome to the Haiku boot loader!
legacy base address 1f0
ATA device, master
number of drives: 1
add_partitions_for(0x00105190, mountFS = no)
add_partitions_for(fd = 0, mountFS = no)
0x001052e4 Partition::Partition
0x001052e4 Partition::Scan()
check for partitioning_system: Amiga Partition Map
check for partitioning_system: EFI GUID Partition Map
check for partitioning_system: Intel Partition Map
intel: pm_identify_partition(1, 1069796: 0, 104857600, 512)
Partition::SetTo(): active: 6f
intel: _ParsePrimary(): partition 0: bad location, ignoring
Partition::SetTo(): active: 74
Partition::SetTo(): active: 0
Partition::SetTo(): active: 0
  priority: 500
check for partitioning_system: Intel Extended Partition
check for partitioning_system: Apple Partition Map
boot partition offset: 0
0x001052e4 Partition::_Mount check for file_system: BFS Filesystem
load kernel...
unhandled pheader type 0x6
unhandled pheader type 0x3
video mode: 1024x768x24
kernel entry at 800327c8
Welcome to kernel debugger output!
Haiku revision: 0
CPU 0: type 0 family 6 extended_family 0 model 3 extended_model 0 stepping 3, 
string 'GenuineIntel'
CPU 0: features: fpu de pse tsc msr pae mce cx8 apic sep pge cmov pat mmx fxsr 
sse sse2 sse3 
heap_attach: attached to 0x90a69000 - usable range 0x90a7e000 - 0x91a69000
slab: init base 0x91a69000 + 0x2000
vm_mark_page_range_inuse: page 0x9f in non-free state 7!
initialize_commpage_syscall(): sysenter/sysexit supported
allocate_commpage_entry(3, 5) -> 0xffff0100
allocate_commpage_entry(2, 12) -> 0xffff0108
apm_init()
  code32: 0xf000, 0x9d96, length 0xfff0
  code16: 0xf000, length 0xfff0
  data: 0xf000, length 0xfff0
heap_attach: attached to 0x90800000 - usable range 0x90803000 - 0x90a00000
PCI: pci_module_init
PCI: mechanism 1 controller found
PCI: [dom 0, bus  0] bus   0, device  0, function  0: vendor 8086, device 1237, 
revision 02
PCI:   class_base 06, class_function 00, class_api 00
PCI:   vendor 8086: Intel Corporation
PCI:   device 1237: 440FX - 82441FX PMC [Natoma]
PCI:   info: Bridge (Host bridge)
PCI:   line_size 00, latency 00, header_type 00, BIST 00
PCI:   ROM base host 00000000, pci 00000000, size 00000000
PCI:   cardbus_CIS 00000000, subsystem_id 0000, subsystem_vendor_id 0000
PCI:   interrupt_line 00, interrupt_pin 00, min_grant 00, max_latency 00
PCI:   base reg 0: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   Capabilities: (not supported)
PCI: [dom 0, bus  0] bus   0, device  1, function  0: vendor 8086, device 7000, 
revision 00
PCI:   class_base 06, class_function 01, class_api 00
PCI:   vendor 8086: Intel Corporation
PCI:   device 7000: 82371SB PIIX3 ISA [Natoma/Triton II]
PCI:   info: Bridge (ISA bridge)
PCI:   line_size 00, latency 00, header_type 80, BIST 00
PCI:   ROM base host 00000000, pci 00000000, size 00000000
PCI:   cardbus_CIS 00000000, subsystem_id 0000, subsystem_vendor_id 0000
PCI:   interrupt_line 00, interrupt_pin 00, min_grant 00, max_latency 00
PCI:   base reg 0: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   Capabilities: (not supported)
PCI: [dom 0, bus  0] bus   0, device  1, function  1: vendor 8086, device 7010, 
revision 00
PCI:   class_base 01, class_function 01, class_api 80
PCI:   vendor 8086: Intel Corporation
PCI:   device 7010: 82371SB PIIX3 IDE [Natoma/Triton II]
PCI:   info: Mass storage controller (IDE interface)
PCI:   line_size 00, latency 00, header_type 00, BIST 00
PCI:   ROM base host 00000000, pci 00000000, size 00000000
PCI:   cardbus_CIS 00000000, subsystem_id 0000, subsystem_vendor_id 0000
PCI:   interrupt_line 00, interrupt_pin 00, min_grant 00, max_latency 00
PCI:   base reg 0: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 4: host 00000000, pci 00000000, size 00000010, flags 01
PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   Capabilities: (not supported)
PCI: [dom 0, bus  0] bus   0, device  1, function  3: vendor 8086, device 7113, 
revision 00
PCI:   class_base 06, class_function 80, class_api 00
PCI:   vendor 8086: Intel Corporation
PCI:   device 7113: 82371AB/EB/MB PIIX4 ACPI
PCI:   info: Bridge
PCI:   line_size 00, latency 00, header_type 00, BIST 00
PCI:   ROM base host 00000000, pci 00000000, size 00000000
PCI:   cardbus_CIS 00000000, subsystem_id 0000, subsystem_vendor_id 0000
PCI:   interrupt_line 0b, interrupt_pin 01, min_grant 00, max_latency 00
PCI:   base reg 0: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   Capabilities: (not supported)
PCI: [dom 0, bus  0] bus   0, device  2, function  0: vendor 1013, device 00b8, 
revision 00
PCI:   class_base 03, class_function 00, class_api 00
PCI:   vendor 1013: Cirrus Logic
PCI:   device 00b8: GD 5446
PCI:   info: Display controller (VGA compatible controller, VGA controller)
PCI:   line_size 00, latency 00, header_type 00, BIST 00
PCI:   ROM base host 00000000, pci 00000000, size 00000000
PCI:   cardbus_CIS 00000000, subsystem_id 0000, subsystem_vendor_id 0000
PCI:   interrupt_line 00, interrupt_pin 00, min_grant 00, max_latency 00
PCI:   base reg 0: host e0000000, pci e0000000, size 02000000, flags 08
PCI:   base reg 1: host e2000000, pci e2000000, size 00001000, flags 00
PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   Capabilities: (not supported)
PCI: [dom 0, bus  0] bus   0, device  3, function  0: vendor 10ec, device 8029, 
revision 00
PCI:   class_base 02, class_function 00, class_api 00
PCI:   vendor 10ec: Realtek Semiconductor Co., Ltd.
PCI:   device 8029: RTL-8029(AS)
PCI:   info: Network controller (Ethernet controller)
PCI:   line_size 00, latency 00, header_type 00, BIST 00
PCI:   ROM base host 00000000, pci 00000000, size 00000000
PCI:   cardbus_CIS 00000000, subsystem_id 0000, subsystem_vendor_id 0000
PCI:   interrupt_line 0a, interrupt_pin 01, min_grant 00, max_latency 00
PCI:   base reg 0: host 00000000, pci 00000000, size 00000100, flags 01
PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
PCI:   Capabilities: (not supported)
get_boot_partitions(): boot volume message:
field: "booted from image", type: BOOL (0x424f4f4c):
  [ 0] false
field: "partition offset", type: LLNG (0x4c4c4e47):
  [ 0] 0 (0x0)
field: "boot method", type: LONG (0x4c4f4e47):
  [ 0] 0 (0x0)
field: "boot drive number", type: LLNG (0x4c4c4e47):
  [ 0] 128 (0x80)
field: "disk identifier", type: RAWT (0x52415754):
  [ 0] data: "0x80614e00", 80 bytes
get_boot_partitions(): boot method type: 0
partitioning system: partitioning_systems/intel/extended/v1
KDiskDeviceManager::_AddDiskSystem(partitioning_systems/intel/extended/v1)
KDiskSystem::Load(): partitioning_systems/intel/extended/v1 -> 1
intel: ep_std_ops(0x1)
KDiskSystem::Unload(): partitioning_systems/intel/extended/v1 -> 0
intel: ep_std_ops(0x2)
KDiskDeviceManager::_AddDiskSystem() done: No error
partitioning system: partitioning_systems/intel/map/v1
KDiskDeviceManager::_AddDiskSystem(partitioning_systems/intel/map/v1)
KDiskSystem::Load(): partitioning_systems/intel/map/v1 -> 1
intel: pm_std_ops(0x1)
KDiskSystem::Unload(): partitioning_systems/intel/map/v1 -> 0
intel: pm_std_ops(0x2)
KDiskDeviceManager::_AddDiskSystem() done: No error
file system: file_systems/bfs/v1
KDiskDeviceManager::_AddDiskSystem(file_systems/bfs/v1)
KDiskSystem::Load(): file_systems/bfs/v1 -> 1
KDiskSystem::Unload(): file_systems/bfs/v1 -> 0
KDiskDeviceManager::_AddDiskSystem() done: No error
file system: file_systems/devfs/v1
KDiskDeviceManager::_AddDiskSystem(file_systems/devfs/v1)
KDiskSystem::Load(): file_systems/devfs/v1 -> 1
KDiskSystem::Unload(): file_systems/devfs/v1 -> 0
KDiskDeviceManager::_AddDiskSystem() done: No error
file system: file_systems/rootfs/v1
KDiskDeviceManager::_AddDiskSystem(file_systems/rootfs/v1)
KDiskSystem::Load(): file_systems/rootfs/v1 -> 1
KDiskSystem::Unload(): file_systems/rootfs/v1 -> 0
KDiskDeviceManager::_AddDiskSystem() done: No error
number of disk systems: 5
KDiskDeviceManager::_Scan(/dev/disk)
PCI-IDE: Controller detection failed! bus master base not configured
KDiskDeviceManager::InitialDeviceScan() failed: No such file or directory
PANIC: get_boot_partitions failed!
Welcome to Kernel Debugging Land...
Running on CPU 0
kdebug> sc
stack trace for thread 10 "main2"
    kernel stack: 0x8013e000 to 0x80142000
frame            caller     <image>:function + offset
801419f8 (+  32) 8004b160   <kernel>:invoke_debugger_command + 0x00da
80141a18 (+  48) 8004b263   
<kernel>:_Z19invoke_pipe_segmentP21debugger_command_pipelPc + 0x006f
80141a48 (+  32) 8004b330   <kernel>:invoke_debugger_command_pipe + 0x008e
80141a68 (+  32) 8004be2a   
<kernel>:_ZN16ExpressionParser17_ParseCommandPipeERi + 0x0084
80141a88 (+  48) 8004c40e   
<kernel>:_ZN16ExpressionParser15EvaluateCommandEPKcRi + 0x010c
80141ab8 (+ 192) 8004c4c7   <kernel>:evaluate_debug_command + 0x0089
80141b78 (+  64) 8004a5a4   <kernel>:kernel_debugger + 0x024c
80141bb8 (+ 176) 8004a68b   <kernel>:panic + 0x002d
80141c68 (+ 816) 80078feb   <kernel>:vfs_mount_boot_file_system + 0x040b
80141f98 (+  64) 8003266e   <kernel>:_Z5main2Pv + 0x008e
80141fd8 (+  32) 800457cb   <kernel>:_Z28_create_kernel_thread_kentryv + 0x0015
80141ff8 (+2146164744) 800452b8   <kernel>:_Z19thread_kthread_exitv + 0x0000
kdebug> 

Other related posts: