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

2018-09-12 Thread Udo Grabowski (IMK)

On 12/09/2018 15:41, Alexander Pyhalov via openindiana-discuss wrote:

Yes, qemu-kvm has been compiled without SDL/x11 support since end of 2016.
Nobody has noticed it, but I don't think that avoiding dependency on 2 
libraries (sdl and libx11) is so noticable now, so enabled it back.


Thanks, having a window available is really helpfull in
a couple of situations. And libsdl and libx11 will (hopefully)
not go away in any foreseeable future...





От: Udo Grabowski (IMK) 
Отправлено: 12 сентября 2018 г. 15:18:17
Кому: openindiana-discuss@openindiana.org
Тема: Re: [OpenIndiana-discuss] Hipster today - qemu-kvm partly working

With -vnc 0.0.0.0:6, it does open a vnc port and the
image has indeed booted. So only the graphics window
is not working.

...

--
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

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


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

2018-09-12 Thread Alexander Pyhalov via openindiana-discuss
Yes, qemu-kvm has been compiled without SDL/x11 support since end of 2016.
Nobody has noticed it, but I don't think that avoiding dependency on 2 
libraries (sdl and libx11) is so noticable now, so enabled it back.

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ



От: Udo Grabowski (IMK) 
Отправлено: 12 сентября 2018 г. 15:18:17
Кому: openindiana-discuss@openindiana.org
Тема: Re: [OpenIndiana-discuss] Hipster today - qemu-kvm partly working

With -vnc 0.0.0.0:6, it does open a vnc port and the
image has indeed booted. So only the graphics window
is not working.

On 12/09/2018 14:00, Udo Grabowski (IMK) wrote:
> 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=0x4000 (0x 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: 0xc000
> PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
> PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
> region 0: 0xf000
> region 1: 0xf200
> region 6: 0xf201
> PCI: bus=0 devfn=0x18: vendor_id=0x10ec device_id=0x8139
> region 0: 0xc100
> region 1: 0xf202
> region 6: 0xf203
> Found 1 cpu(s) max supported 1 cpu(s)
> MP table addr=0x000fdc00 MPC table addr=0x000fdc10 size=224
> SMBIOS ptr=0x000fdbe0 table=0x3ef0
> 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:  - 0009f400 = 1
>   1: 0009f400 - 000a = 2
>   2: 000f - 0010 = 2
>   3: 0010 - 3fffd000 = 1
>   4: 3fffd000 - 4000 = 2
>   5: feffc000 - ff00 = 2
>   6: fffc - 0001 = 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 :7c00
> ^Cmdb: stop on SIGINT
> mdb: target stopped at:
> libc.so.1`__pollsys+0xa:jb -0xb1020 
> 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, fd7fffdf9180, fd7fffdf7180,
> fd7fffdf5180, fd7fffdf5120, 0)
> libc.so.1`select+0x5a(10, fd7fffdf9180, fd7fffdf7180, 
> fd7fffdf5180,
> fd7fffdfb180)
> main_loop_wait+0x17c(0)
> kvm_main_loop+0xc7()
> main+0xefc(5, fd7fffdfb4f8, fd7fffdfb528)
> _start_crt+0x83()
> _start+0x18()
>> ::stacks
> THREAD   STATESOBJCOUNT
> 2UNPARKED   2
>  libc.so.1`sigwaitinfo+0x17
>  sigwait_compat+0x63
>  libc.so.1`_thrp_setup+0x8a
>  libc.so.1`_lwp_start
>
> 3UNPARKED   1
>  ap_main_loop+0x26f
>  libc.so.1`_thrp_setup+0x8a
>  libc.so.1`_lwp_start
>
> 1UNPARKED   1
>  libc.so.1`pselect+0x26b
>  libc.so.1`select+0x5a
>  main_loop_wait+0x17c
>  kvm_main_loop+0xc7
>  main+0xefc
>

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

2018-09-12 Thread Udo Grabowski (IMK)

With -vnc 0.0.0.0:6, it does open a vnc port and the
image has indeed booted. So only the graphics window
is not working.

On 12/09/2018 14:00, Udo Grabowski (IMK) wrote:

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=0x4000 (0x 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: 0xc000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf000
region 1: 0xf200
region 6: 0xf201
PCI: bus=0 devfn=0x18: vendor_id=0x10ec device_id=0x8139
region 0: 0xc100
region 1: 0xf202
region 6: 0xf203
Found 1 cpu(s) max supported 1 cpu(s)
MP table addr=0x000fdc00 MPC table addr=0x000fdc10 size=224
SMBIOS ptr=0x000fdbe0 table=0x3ef0
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:  - 0009f400 = 1
  1: 0009f400 - 000a = 2
  2: 000f - 0010 = 2
  3: 0010 - 3fffd000 = 1
  4: 3fffd000 - 4000 = 2
  5: feffc000 - ff00 = 2
  6: fffc - 0001 = 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 :7c00
^Cmdb: stop on SIGINT
mdb: target stopped at:
libc.so.1`__pollsys+0xa:jb -0xb1020 
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, fd7fffdf9180, fd7fffdf7180,
fd7fffdf5180, fd7fffdf5120, 0)
libc.so.1`select+0x5a(10, fd7fffdf9180, fd7fffdf7180, fd7fffdf5180,
fd7fffdfb180)
main_loop_wait+0x17c(0)
kvm_main_loop+0xc7()
main+0xefc(5, fd7fffdfb4f8, fd7fffdfb528)
_start_crt+0x83()
_start+0x18()

::stacks

THREAD   STATESOBJCOUNT
2UNPARKED   2
 libc.so.1`sigwaitinfo+0x17
 sigwait_compat+0x63
 libc.so.1`_thrp_setup+0x8a
 libc.so.1`_lwp_start

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

1UNPARKED   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

5PARKED   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

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


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

2018-09-12 Thread Udo Grabowski (IMK)

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=0x4000 (0x 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: 0xc000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf000
region 1: 0xf200
region 6: 0xf201
PCI: bus=0 devfn=0x18: vendor_id=0x10ec device_id=0x8139
region 0: 0xc100
region 1: 0xf202
region 6: 0xf203
Found 1 cpu(s) max supported 1 cpu(s)
MP table addr=0x000fdc00 MPC table addr=0x000fdc10 size=224
SMBIOS ptr=0x000fdbe0 table=0x3ef0
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:  - 0009f400 = 1
  1: 0009f400 - 000a = 2
  2: 000f - 0010 = 2
  3: 0010 - 3fffd000 = 1
  4: 3fffd000 - 4000 = 2
  5: feffc000 - ff00 = 2
  6: fffc - 0001 = 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 :7c00
^Cmdb: stop on SIGINT
mdb: target stopped at:
libc.so.1`__pollsys+0xa:jb -0xb1020 
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, fd7fffdf9180, fd7fffdf7180, 
fd7fffdf5180, fd7fffdf5120, 0)
libc.so.1`select+0x5a(10, fd7fffdf9180, fd7fffdf7180, fd7fffdf5180, 
fd7fffdfb180)

main_loop_wait+0x17c(0)
kvm_main_loop+0xc7()
main+0xefc(5, fd7fffdfb4f8, fd7fffdfb528)
_start_crt+0x83()
_start+0x18()
> ::stacks
THREAD   STATESOBJCOUNT
2UNPARKED   2
 libc.so.1`sigwaitinfo+0x17
 sigwait_compat+0x63
 libc.so.1`_thrp_setup+0x8a
 libc.so.1`_lwp_start

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

1UNPARKED   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

5PARKED   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

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


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

2018-09-12 Thread Udo Grabowski (IMK)

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.
--
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

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss