<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3528</bug_id>
          
          <creation_ts>2012-12-04 05:50:27 +0000</creation_ts>
          <short_desc>[qemuarm] runqemu qemuarm  throwing few errors on console</short_desc>
          <delta_ts>2013-01-17 15:31:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=1683</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="veera">veerabrahmamvr</reporter>
          <assigned_to name="Andrei Dinu">andrei.adrianx.dinu</assigned_to>
          <cc>cristian.iorga</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27935</commentid>
    <comment_count>0</comment_count>
    <who name="veera">veerabrahmamvr</who>
    <bug_when>2012-12-04 05:50:27 +0000</bug_when>
    <thetext>build : http://autobuilder.yoctoproject.org/pub/nightly/20121128-1/

vulinuz &amp; initrd path  : http://autobuilder.yoctoproject.org/pub/nightly/20121128-1/machines/qemu/qemuarm/

Observation : runqemu qemuarm zImage-qemuarm.bin core-image-sato-qemuarm.ext3

Continuing with the following parameters:
KERNEL: [/opt/veera/releases/nov21/zImage-qemuarm.bin]
ROOTFS: [/opt/veera/releases/nov21/core-image-sato-qemuarm.ext3]
FSTYPE: [ext3]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
WARNING: distccd not present, no distcc support loaded.
Running qemu-system-arm...
/opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/qemu-system-arm -kernel /opt/veera/releases/nov21/zImage-qemuarm.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -M versatilepb -hda /opt/veera/releases/nov21/core-image-sato-qemuarm.ext3 -no-reboot -show-cursor -usb -usbdevice wacom-tablet -no-reboot -m 128 --append &quot;root=/dev/sda rw console=ttyAMA0,115200 console=tty ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M highres=off &quot;
oss: Could not initialize DAC
oss: Failed to open `/dev/dsp&apos;
oss: Reason: No such file or directory
oss: Could not initialize DAC
oss: Failed to open `/dev/dsp&apos;
oss: Reason: No such file or directory
audio: Failed to create voice `lm4549.out&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27978</commentid>
    <comment_count>1</comment_count>
    <who name="veera">veerabrahmamvr</who>
    <bug_when>2012-12-05 06:26:56 +0000</bug_when>
    <thetext>This issue we observed on Host side . Not in the Qemu target dmesg.

when ever we run command : 
runqemu qemuarm zImage-qemuarm.bin core-image-sato-qemuarm.ext3

it is displaying errors on the console.

please check error messages .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28122</commentid>
    <comment_count>2</comment_count>
    <who name="Andrei Dinu">andrei.adrianx.dinu</who>
    <bug_when>2012-12-10 15:35:26 +0000</bug_when>
    <thetext>As i investigated the problem today, i found some interesting facts: 

1. runqemu qemuarm *image* runs with &quot;audio&quot; option somehow activated and that is why the errors come up. If you do the same thing in a qemux86 image, the same errors appear. Something that i do not figure out is why the qemuarm run has that option, but the qemux86 not.

2. &quot;alsa&quot; is taken as default in runqemu script for QEMU_AUDIO_DRV which is not a good option, because it only supports one client. That means, if you start a music application and you want to start a runqemu, it will output that the device is busy. A solution to this is adding pulseaudio instead of alsa in the backend of runqemu.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28178</commentid>
    <comment_count>3</comment_count>
    <who name="Andrei Dinu">andrei.adrianx.dinu</who>
    <bug_when>2012-12-12 11:27:21 +0000</bug_when>
    <thetext>I ran the qemu command without using the runqemu script like : 

sudo /home/adinu/work/poky4/poky/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-arm -kernel /home/adinu/work/poky4/poky/build/tmp/deploy/images/zImage-qemuarm.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -M versatilepb -hda /home/adinu/work/poky4/poky/build/tmp/deploy/images/core-image-sato-qemuarm.ext3 -no-reboot -show-cursor -usb -usbdevice wacom-tablet -no-reboot -m 128 --append &quot;root=/dev/sda rw console=ttyAMA0,115200 console=tty ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M highres=off &quot;

the errors appeared again. 

When running for a x86 image, the errors appear only if the argument -soundhw is set, which is ok. 

I sent a mail to qemu-devel to find out if this is a known issue and waiting for their reply. It&apos;s clearly not from the runqemu script.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28901</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-01-17 15:04:15 +0000</bug_when>
    <thetext>Drop incorrect dependencies</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>