[Qemu-discuss] Qemu buid error for arm

2014-06-30 Thread Rekha Herur
Hi,

We are using Fast-model (FastModelsPortfolio_9.0) to simulate ARM cortexA15.
We are building qemu 1.7 for arm but getting these errors ,

  CCtests/qemu-iotests/socket_scm_helper.o
  LINK  tests/qemu-iotests/socket_scm_helper
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: 
cannot find -lgthread-2.0
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: 
cannot find -lglib-2.0
collect2: ld returned 1 exit status
make: *** [tests/qemu-iotests/socket_scm_helper] Error 1


Can anyone point to the problem.


Regards,
Rekha Herur.



SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary 
or legally privileged information. In case you are not the original intended 
Recipient of the message, you must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message and you are requested to 
delete it and inform the sender. Any views expressed in this message are those 
of the individual sender unless otherwise stated. Nothing contained in this 
message shall be construed as an offer or acceptance of any offer by Sasken 
Communication Technologies Limited ("Sasken") unless sent with that express 
intent and with due authority of Sasken. Sasken has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html


[Qemu-discuss] block.c - assertion failed

2014-06-30 Thread Markus Stockhausen
Hello,

we hit the following error this morning in one of our VMs on qemu 1.6.2 (FC20 
distro):

qemu-system-x86_64: block.c:2806: bdrv_error_action: Assertion `error >= 0' 
failed.
2014-06-30 08:40:11.686+: shutting down

Form reading the code at the mentioned location I assume there should be some
further details to find.

...
void bdrv_error_action(BlockDriverState *bs, BlockErrorAction action,
   bool is_read, int error)
{
assert(error >= 0);
bdrv_emit_qmp_error_event(bs, QEVENT_BLOCK_IO_ERROR, action, is_read);
if (action == BDRV_ACTION_STOP) {
vm_stop(RUN_STATE_IO_ERROR);
bdrv_iostatus_set_err(bs, error);
}
}
...

Qemu is started with libvirt so these are the only logs I found. Any idea where 
to
search next?

Markus



Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497




Re: [Qemu-discuss] Qemu buid error for arm

2014-06-30 Thread Peter Maydell
On 30 June 2014 13:01, Rekha Herur  wrote:
> We are using Fast-model (FastModelsPortfolio_9.0) to simulate ARM cortexA15.
> We are building qemu 1.7 for arm but getting these errors ,
>
>   CCtests/qemu-iotests/socket_scm_helper.o
>   LINK  tests/qemu-iotests/socket_scm_helper
> /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld:
> cannot find -lgthread-2.0
> /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld:
> cannot find -lglib-2.0
> collect2: ld returned 1 exit status
> make: *** [tests/qemu-iotests/socket_scm_helper] Error 1

It would help if you quoted the configure command line you
used and the make command you're using. This error is in
building the test suite -- did the main QEMU program build OK?

thanks
-- PMM



Re: [Qemu-discuss] Qemu buid error for arm

2014-06-30 Thread jacek burghardt
It looks like glib-2.0 gthread-2.0 are missing for your distro


On Mon, Jun 30, 2014 at 4:59 PM, Peter Maydell 
wrote:

> On 30 June 2014 13:01, Rekha Herur  wrote:
> > We are using Fast-model (FastModelsPortfolio_9.0) to simulate ARM
> cortexA15.
> > We are building qemu 1.7 for arm but getting these errors ,
> >
> >   CCtests/qemu-iotests/socket_scm_helper.o
> >   LINK  tests/qemu-iotests/socket_scm_helper
> >
> /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld:
> > cannot find -lgthread-2.0
> >
> /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld:
> > cannot find -lglib-2.0
> > collect2: ld returned 1 exit status
> > make: *** [tests/qemu-iotests/socket_scm_helper] Error 1
>
> It would help if you quoted the configure command line you
> used and the make command you're using. This error is in
> building the test suite -- did the main QEMU program build OK?
>
> thanks
> -- PMM
>
>


Re: [Qemu-discuss] Qemu buid error for arm

2014-06-30 Thread Rekha Herur
Hi Peter,
  Thanks for the reply ..Here is the configure i used

 srv/nfsroot/root/qemu-1.7.1#  ./configure --cross-prefix=arm-linux-gnueabihf- 
--target-list=arm-softmmu  --audio-drv-list="" --disable-libusb --disable-gtk 
--enable-fdt  --enable-kvm --static

srv/nfsoot/root/qemu-1.7.1# make
  GEN   config-host.h
  GEN   qemu-options.def
  GEN   qmp-commands.h
  GEN   qapi-types.h
  GEN   qapi-visit.h
  GEN   trace/generated-events.h
  GEN   trace/generated-tracers.h
  GEN   tests/test-qapi-types.h
  GEN   tests/test-qapi-visit.h
  GEN   tests/test-qmp-commands.h
  CCtests/qemu-iotests/socket_scm_helper.o
  LINK  tests/qemu-iotests/socket_scm_helper
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: 
cannot find -lgthread-2.0
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: 
cannot find -lglib-2.0
collect2: ld returned 1 exit status
make: *** [tests/qemu-iotests/socket_scm_helper] Error 1

Doesn't seem like qemu program build has happened.

Regards,
Rekha Herur.

From: Peter Maydell [peter.mayd...@linaro.org]
Sent: Tuesday, July 01, 2014 4:29 AM
To: Rekha Herur
Cc: qemu-discuss@nongnu.org
Subject: Re: [Qemu-discuss] Qemu buid error for arm

On 30 June 2014 13:01, Rekha Herur  wrote:
> We are using Fast-model (FastModelsPortfolio_9.0) to simulate ARM cortexA15.
> We are building qemu 1.7 for arm but getting these errors ,
>
>   CCtests/qemu-iotests/socket_scm_helper.o
>   LINK  tests/qemu-iotests/socket_scm_helper
> /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld:
> cannot find -lgthread-2.0
> /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld:
> cannot find -lglib-2.0
> collect2: ld returned 1 exit status
> make: *** [tests/qemu-iotests/socket_scm_helper] Error 1

It would help if you quoted the configure command line you
used and the make command you're using. This error is in
building the test suite -- did the main QEMU program build OK?

thanks
-- PMM



SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary 
or legally privileged information. In case you are not the original intended 
Recipient of the message, you must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message and you are requested to 
delete it and inform the sender. Any views expressed in this message are those 
of the individual sender unless otherwise stated. Nothing contained in this 
message shall be construed as an offer or acceptance of any offer by Sasken 
Communication Technologies Limited ("Sasken") unless sent with that express 
intent and with due authority of Sasken. Sasken has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html