* [Qemu-devel] [Bug] qemu-alpha broken on 32 bit hosts
@ 2013-09-14 17:35 Stefan Weil
2013-09-15 10:34 ` Peter Maydell
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2013-09-14 17:35 UTC (permalink / raw)
To: qemu-devel
All (?) syscalls fail to handle addresses larger than 32 bit correctly.
See "Bad address" in the strace ouput below.
Tested on arm and on i686 hosts with Debian's busybox-static.
$ alpha-linux-user/qemu-alpha -d unimp,guest_errors -strace
/usr/gnemul/qemu-alpha/bin/busybox ls -l block.c
host mmap_min_addr=0x1000
Reserved 0x21e000 bytes of guest address space
Relocating guest address space from 0x0000000020000000 to 0x20000000
guest_base 0x0
start end size prot
0000000020000000-0000000020218000 0000000000218000 rwx
0000000040000000-0000000040002000 0000000000002000 ---
0000000040002000-0000000040802000 0000000000800000 rw-
0000000020216000-000000012021e000 0000000100008000 rwx
start_brk 0x0000000000000000
end_code 0x00000001202179bd
start_code 0x0000000120000000
start_data 0x0000000120000000
end_data 0x00000001202179bd
start_stack 0x0000000040801590
brk 0x000000012021dcb0
entry 0x00000001200d3fe0
15764 uname(0x408012d0) = 0
15764 brk(NULL) = 0x000000002021e000
15764 brk(0x000000002021ef8e) = 0x000000002021ef8e
15764 osf_getsysinfo(45,1082135520,1082136000,0,1082136475,4834034616) = 0
15764 osf_setsysinfo(14,1082135520,1082136000,0,1082136475,4834034616) = 0
15764 brk(0x0000000020240f8e) = 0x0000000020240f8e
15764 brk(0x0000000020242000) = 0x0000000020242000
15764
getxuid(1082136491,3399988123389603631,1082136000,0,1082136475,4834034616)
= 1000
15764 stat64(0x00000001201cea90,0x0000000040801290) = -1 errno=14 (Bad
address)
15764 getxgid(1082136529,1082135968,213,1,4832709268,4834034616) = 1000
15764 setgid(1000,1000,213,0,1000,4834034616) = 0
15764 setuid(1000,1000,213,0,1000,4834034616) = 0
15764 gettimeofday(1082135216,0,213,0,1000,4834034616) = 0
15764 ioctl(0,1074295912,1082135220,0,1000,4834034616) = 0
15764 lstat64("block.c",0x0000000040801220) = 0
15764 fstat64(1611596608,0x00000000408008c0) = 0
15764
mmap(NULL,1611596608,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,1611596608,0x600f0340)
= 0x0000000040802000
15764 open(0x00000001201cedfe,O_RDONLY) = -1 errno=14 (Bad address)
15764 open(0x00000001201cedf3,O_RDONLY) = -1 errno=14 (Bad address)
15764 open(0x00000001201e0edf,O_RDONLY) = -1 errno=14 (Bad address)
-rw-r--r-- 1 1000 1000 128079 Sep 12 07:23 block.c
15764 write(1,0,1082138624) = 65
15764 exit_group(0)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [Bug] qemu-alpha broken on 32 bit hosts
2013-09-14 17:35 [Qemu-devel] [Bug] qemu-alpha broken on 32 bit hosts Stefan Weil
@ 2013-09-15 10:34 ` Peter Maydell
0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2013-09-15 10:34 UTC (permalink / raw)
To: Stefan Weil; +Cc: qemu-devel, Richard Henderson
On 14 September 2013 18:35, Stefan Weil <sw@weilnetz.de> wrote:
> All (?) syscalls fail to handle addresses larger than 32 bit correctly.
> See "Bad address" in the strace ouput below.
Isn't "64 bit guest on 32 bit host" in the set of "things we don't
expect to work" ? Maybe I'm misremembering...
-- PMM
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-15 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-14 17:35 [Qemu-devel] [Bug] qemu-alpha broken on 32 bit hosts Stefan Weil
2013-09-15 10:34 ` Peter Maydell
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).