* [Qemu-devel] Arm virtual machine networking problem with build for 64bit host
@ 2015-10-10 20:34 mar.krzeminski
2015-10-11 12:30 ` mar.krzeminski
0 siblings, 1 reply; 2+ messages in thread
From: mar.krzeminski @ 2015-10-10 20:34 UTC (permalink / raw)
To: qemu-devel@nongnu.org Developers; +Cc: Peter Maydell, Peter Crosthwaite
[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]
Hello,
I have my own virtual machine (already asked some questions about that
here).
I also have my own gmac model. I am building qemu (version 2.4.0.1) for
32 and 64 linux hosts.
The problem is with 64 bit binary. If I run as guest under qemu linux, I
could not even ping my machine.
In 32 bit version it works fine. And if I run in this 64 bit host u-boot
pingf from u-boot qorks fine.
From debugging it seems that under linux (32 bit arm) started on 64
linux host can_receive function from my model,
is called only once when virtual machine is booting, there is no
furthers call so that is why I can not ping.
I am running qemu in this way (based on yocto scripts):
/qemu-system-arm -kernel zImage.bin -net nic,vlan=0 -net
tap,vlan=0,ifname=tap0,script=no,downscript=no -M macine-a9 -dtb
zImage.dtb -serial null -serial null -serial null -serial mon:stdio
-serial null -nographic -smp 2 -readconfig config -m 512 --append
"ip=192.168.7.2::192.168.7.1:255.255.255.0 noinitrd console=ttyS3,19200
earlyprintk debug=31"/
As there is lack of documentation (or maybe there is but I haven't got
it ), my question is where should I start debugging what is going wrong?
As for now it seems that my model does not receive ping and it is not
asked if can receive one. Situation is same when I ping from quest the
host's tap,
or from host guest machine.
Regards,
Marcin
[-- Attachment #2: Type: text/html, Size: 1743 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Arm virtual machine networking problem with build for 64bit host
2015-10-10 20:34 [Qemu-devel] Arm virtual machine networking problem with build for 64bit host mar.krzeminski
@ 2015-10-11 12:30 ` mar.krzeminski
0 siblings, 0 replies; 2+ messages in thread
From: mar.krzeminski @ 2015-10-11 12:30 UTC (permalink / raw)
To: qemu-devel@nongnu.org Developers; +Cc: Peter Maydell, Peter Crosthwaite
[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]
Hello,
Problem solved, there was bug in my gmac model, that cause writes
outside my gmac device state structure.
That leads to such (undefined) behaviour.
Regards,
Marcin
W dniu 10.10.2015 o 22:34, mar.krzeminski pisze:
> Hello,
>
> I have my own virtual machine (already asked some questions about that
> here).
> I also have my own gmac model. I am building qemu (version 2.4.0.1)
> for 32 and 64 linux hosts.
> The problem is with 64 bit binary. If I run as guest under qemu linux,
> I could not even ping my machine.
> In 32 bit version it works fine. And if I run in this 64 bit host
> u-boot pingf from u-boot qorks fine.
> From debugging it seems that under linux (32 bit arm) started on 64
> linux host can_receive function from my model,
> is called only once when virtual machine is booting, there is no
> furthers call so that is why I can not ping.
> I am running qemu in this way (based on yocto scripts):
>
> /qemu-system-arm -kernel zImage.bin -net nic,vlan=0 -net
> tap,vlan=0,ifname=tap0,script=no,downscript=no -M macine-a9 -dtb
> zImage.dtb -serial null -serial null -serial null -serial mon:stdio
> -serial null -nographic -smp 2 -readconfig config -m 512 --append
> "ip=192.168.7.2::192.168.7.1:255.255.255.0 noinitrd
> console=ttyS3,19200 earlyprintk debug=31"/
>
> As there is lack of documentation (or maybe there is but I haven't got
> it ), my question is where should I start debugging what is going wrong?
> As for now it seems that my model does not receive ping and it is not
> asked if can receive one. Situation is same when I ping from quest the
> host's tap,
> or from host guest machine.
>
> Regards,
> Marcin
[-- Attachment #2: Type: text/html, Size: 2331 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-11 12:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-10 20:34 [Qemu-devel] Arm virtual machine networking problem with build for 64bit host mar.krzeminski
2015-10-11 12:30 ` mar.krzeminski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).