[OpenIndiana-discuss] Hipster today - qemu-kvm partly working

Udo Grabowski (IMK) udo.grabowski at kit.edu
Wed Sep 12 12:00:55 UTC 2018


On 12/09/2018 13:52, Udo Grabowski (IMK) wrote:
> Tried update from today and checked qemu-kvm with different ISOs
> and -no-* options. Doesn't crash immediately, but hangs at
> 'booting ...', not showing the graphics window.

Here's a stack, it consistently hangs polling something:

ro sunth7 ~ # mdb `which qemu-kvm`
 > ::run  -m 1g -cdrom /tftpboot/firefly_0114.iso

VNC server running on `127.0.0.1:5900'
Start bios (version 0.6.1.2-20110201_165504-titi)
Ram Size=0x40000000 (0x0000000000000000 high)
CPU Mhz=2601
PCI: pci_bios_init_bus_rec bus = 0x0
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=0x10ec device_id=0x8139
region 0: 0x0000c100
region 1: 0xf2020000
region 6: 0xf2030000
Found 1 cpu(s) max supported 1 cpu(s)
MP table addr=0x000fdc00 MPC table addr=0x000fdc10 size=224
SMBIOS ptr=0x000fdbe0 table=0x3ffffef0
ACPI tables: RSDP=0x000fdbb0 RSDT=0x3fffdc40
Scan for VGA option rom
Running option rom at c000:0003
VGABios $Id$
Turning on vga text mode console
SeaBIOS (version 0.6.1.2-20110201_165504-titi)

Found 1 lpt ports
Found 1 serial ports
ATA controller 0 at 1f0/3f4/0 (irq 14 dev 9)
ATA controller 1 at 170/374/0 (irq 15 dev 9)
ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD
PS2 keyboard initialized
All threads complete.
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
Running option rom at c980:0003
ebda moved from 9fc00 to 9f400
Returned 53248 bytes of ZoneHigh
e820 map has 7 items:
   0: 0000000000000000 - 000000000009f400 = 1
   1: 000000000009f400 - 00000000000a0000 = 2
   2: 00000000000f0000 - 0000000000100000 = 2
   3: 0000000000100000 - 000000003fffd000 = 1
   4: 000000003fffd000 - 0000000040000000 = 2
   5: 00000000feffc000 - 00000000ff000000 = 2
   6: 00000000fffc0000 - 0000000100000000 = 2
enter handle_19:
   NULL
Booting from Hard Disk...
Boot failed: could not read the boot disk

enter handle_18:
   NULL
Booting from Floppy...
Boot failed: could not read the boot disk

enter handle_18:
   NULL
Booting from DVD/CD...
85MB medium detected
Booting from 0000:7c00
^Cmdb: stop on SIGINT
mdb: target stopped at:
libc.so.1`__pollsys+0xa:jb     -0xb1020 <libc.so.1`__cerror>
mdb: You've got symbols!
Loading modules: [ ld.so.1 libc.so.1 ]
 > ::stack
libc.so.1`__pollsys+0xa()
libc.so.1`pselect+0x26b(10, fffffd7fffdf9180, fffffd7fffdf7180, 
fffffd7fffdf5180, fffffd7fffdf5120, 0)
libc.so.1`select+0x5a(10, fffffd7fffdf9180, fffffd7fffdf7180, fffffd7fffdf5180, 
fffffd7fffdfb180)
main_loop_wait+0x17c(0)
kvm_main_loop+0xc7()
main+0xefc(5, fffffd7fffdfb4f8, fffffd7fffdfb528)
_start_crt+0x83()
_start+0x18()
 > ::stacks
THREAD           STATE    SOBJ                COUNT
2                UNPARKED <NONE>                  2
                  libc.so.1`sigwaitinfo+0x17
                  sigwait_compat+0x63
                  libc.so.1`_thrp_setup+0x8a
                  libc.so.1`_lwp_start

3                UNPARKED <NONE>                  1
                  ap_main_loop+0x26f
                  libc.so.1`_thrp_setup+0x8a
                  libc.so.1`_lwp_start

1                UNPARKED <NONE>                  1
                  libc.so.1`pselect+0x26b
                  libc.so.1`select+0x5a
                  main_loop_wait+0x17c
                  kvm_main_loop+0xc7
                  main+0xefc
                  _start_crt+0x83
                  _start+0x18

5                PARKED   CV                      1
                  libc.so.1`cond_wait_queue+0x5b
                  libc.so.1`cond_wait_common+0x1d1
                  libc.so.1`__cond_timedwait+0x6d
                  libc.so.1`cond_timedwait+0x36
                  libc.so.1`pthread_cond_timedwait+0x19
                  aio_thread+0x85
                  libc.so.1`_thrp_setup+0x8a
                  libc.so.1`_lwp_start

 > ::status
debugging PID 2905 (64-bit)
file: /usr/bin/amd64/qemu-kvm-system-x86_64
threading model: native threads
status: stopped on SIGINT (Interrupt), sleeping in pollsys system call
event: stop on SIGINT
 >


-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026



More information about the openindiana-discuss mailing list