Re: [Qemu-devel] qemu segfaults at start

2011-09-06 Thread Mulyadi Santosa
On Tue, Sep 6, 2011 at 18:19, octane indice wrote: > En réponse à Stefan Hajnoczi : >> You can run QEMU completely without a disk, just run: >> $ gdb qemu >> (gdb) r >> >> I wonder if it crashes that way too. >> > Yes: > (gdb) r > Starting program: /usr/src/qemu-0.15.0/i386-softmmu/qemu -vnc 127.

Re: [Qemu-devel] qemu segfaults at start

2011-09-06 Thread octane indice
En réponse à Stefan Hajnoczi : > You can run QEMU completely without a disk, just run: > $ gdb qemu > (gdb) r > > I wonder if it crashes that way too. > Yes: (gdb) r Starting program: /usr/src/qemu-0.15.0/i386-softmmu/qemu -vnc 127.0.0.1:1 [Thread debugging using libthread_db enabled] Program r

Re: [Qemu-devel] qemu segfaults at start

2011-09-06 Thread octane indice
En réponse à Stefan Weil : > /usr/local/bin/qemu is stripped because it was installed with > make install, > so there is no useful debugging information. > > Please look for the unstripped i386-softmmu/qemu executable in > your build path and run it using gdb. > $ gdb --args /usr/src/qemu-0.15.0

Re: [Qemu-devel] qemu segfaults at start

2011-09-06 Thread Stefan Hajnoczi
On Tue, Sep 6, 2011 at 9:11 AM, octane indice wrote: > En réponse à Stefan Hajnoczi : > -In order to prove it's not related to the disk used, I create an empty one > for > the purpose: > $ dd if=/dev/zero of=disk.img bs=1024k count=1 You can run QEMU completely without a disk, just run: $ gdb q

Re: [Qemu-devel] qemu segfaults at start

2011-09-06 Thread Stefan Weil
Am 06.09.2011 10:11, schrieb octane indice: $ gdb --args qemu disk.img -vnc 127.0.0.1:1 GNU gdb (GDB) 7.1 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute

Re: [Qemu-devel] qemu segfaults at start

2011-09-06 Thread octane indice
En réponse à Stefan Hajnoczi : > > qemu disk.img > > Segmentation fault > > Please post the backtrace as well as your host operating > system > version (e.g. Fedora 15): > > gdb --args qemu disk.img > (gdb) r > ...runs and crashes... > (gdb) bt > Thanks for the help, here the infos: I run under

Re: [Qemu-devel] qemu segfaults at start

2011-09-05 Thread Mulyadi Santosa
On 05/09/2011, octane indice wrote: > then: > qemu disk.img > Segmentation fault how about invoking it as: qemu -hda disk.img ? does that make any difference? perhaps adding -S too so we could find out whether it reach the very initial point. -- regards, Mulyadi Santosa Freelance Linux tra

Re: [Qemu-devel] qemu segfaults at start

2011-09-05 Thread Stefan Hajnoczi
On Mon, Sep 5, 2011 at 10:04 AM, octane indice wrote: > qemu disk.img > Segmentation fault Please post the backtrace as well as your host operating system version (e.g. Fedora 15): gdb --args qemu disk.img (gdb) r ...runs and crashes... (gdb) bt Stefan

[Qemu-devel] qemu segfaults at start

2011-09-05 Thread octane indice
Hello I tried to use qemu on x86-32 in order to emulate x86-32bits. I did a: wget http://wiki.qemu.org/download/qemu-0.15.0.tar.gz tar zxvf qemu-0.15.0.tar.gz cd qemu-0.15.0 ./configure --enable-system --target-list=i386-softmmu make sudo make install then: qemu disk.img Segmentation fault I jus