linux-user/arm unsupported syscalls
Hi!
I'm running some debian-lenny/arm binaries in user-mode emulation and get these 2 messages:
qemu: Unsupported ARM syscall: 0x9000e5
qemu: Unsupported ARM syscall: 0x9000e2
Any are these known already ? It doesn't seem critical as execution continues.
Best,
Jan-Simon
Quoted 4 lines · Jan-Simon Möller
Hi!
I'm running some debian-lenny/arm binaries in user-mode emulation and get these 2 messages:
Quoted 9 lines
qemu: Unsupported ARM syscall:
0x9000e5
qemu: Unsupported ARM syscall:0x9000e2Any are these known already ? It doesn't seem critical as execution continues.
Best,
Jan-Simon
Does anybody here know what the 0x9 number in front of e5 and e2 means? When such an error comes in qemu, for me usually a decimal number of a syscall from any of the "linux-user/<arch>/syscall_nr.h file is printed. But not a hexnumber with 0x9000 in front....
Martin
Quoted 4 lines · Martin Mohring
Quoted 3 lines · Jan-Simon Möller
Hi!
I'm running some debian-lenny/arm binaries in user-mode emulation and get these 2 messages:
debian/arm or debian/armel ? Which specific binaries?
Quoted 4 lines
Quoted 2 lines
qemu: Unsupported ARM syscall:
0x9000e5
qemu: Unsupported ARM syscall:0x9000e2Does anybody here know what the
0x9number in front of e5 and e2 means?
oldabi syscalls.
Quoted 3 lines
When such an error comes in qemu, for me usually a decimal number of a syscall from any of the "linux-user/<arch>/syscall_nr.h file is printed. But not a hexnumber with
0x9000in front....
Because the error is being printed from a place than usual. Qemu appears to think the binary is eabi and is thus not reducing 0x900000 as usual when running oldabi binaries.
The warned syscalls (setxattr, getattr) go usually via the unimplemented_nowarn path, so no warning should be visible for users.
Signature · 1 line
"rm -rf" only sounds scary if you don't have backups
Am Thursday 22 January 2009 22:04:06 schrieb Riku Voipio:
Quoted 7 lines · Martin Mohring
Quoted 4 lines
Quoted 3 lines · Jan-Simon Möller
Hi!
I'm running some debian-lenny/arm binaries in user-mode emulation and get these 2 messages:
debian/arm or debian/armel ? Which specific binaries?
maemo with some bits of debian/armel
Quoted 11 lines
Quoted 4 lines
Quoted 2 lines
qemu: Unsupported ARM syscall:
0x9000e5
qemu: Unsupported ARM syscall:0x9000e2Does anybody here know what the
0x9number in front of e5 and e2 means?oldabi syscalls.
Quoted 3 lines
When such an error comes in qemu, for me usually a decimal number of a syscall from any of the "linux-user/<arch>/syscall_nr.h file is printed. But not a hexnumber with
0x9000in front....
Quoted 7 lines
Because the error is being printed from a place than usual. Qemu appears to think the binary is eabi and is thus not reducing
0x900000as usual when running oldabi binaries.The warned syscalls (setxattr, getattr) go usually via the
unimplemented_nowarnpath, so no warning should be visible for users.
Ok, setxattr, getarr are file-operations ? Need to dig what's the reason.
Best,
Jan-Simon
Quoted 2 lines · Jan-Simon Möller
Quoted 1 line
debian/arm or debian/armel ? Which specific binaries?
maemo with some bits of debian/armel
That's hardly "specific binaries", but with my voodoo remote debugging skillz I think I managed to trace this down. The libattr/libacl you are using is missing this patch:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=attr-2.4.32-armel.diff;att=1;bug=421627
Signature · 1 line
"rm -rf" only sounds scary if you don't have backups
Am Wednesday 28 January 2009 16:22:02 schrieb Riku Voipio:
Quoted 10 lines · Jan-Simon Möller
Quoted 2 lines
Quoted 1 line
debian/arm or debian/armel ? Which specific binaries?
maemo with some bits of debian/armel
That's hardly "specific binaries", but with my voodoo remote debugging skillz I think I managed to trace this down. The libattr/libacl you are using is missing this patch:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=attr-2.4.32-armel.diff;att=1;bug=421627
Great stuff - i looked into maemo libattr and libacl .
http://repository.maemo.org/pool/diablo/free/a/acl/
http://repository.maemo.org/pool/diablo/free/a/attr/
And yes, its missing in attr.
voodoo ;)
skills +1
Best,
Jan-Simon
Quoted 20 lines · Jan-Simon Möller
Am Wednesday 28 January 2009 16:22:02 schrieb Riku Voipio:
Quoted 13 lines · Jan-Simon Möller
Quoted 5 lines
Quoted 3 lines
debian/arm or debian/armel ? Which specific binaries?
maemo with some bits of debian/armel
That's hardly "specific binaries", but with my voodoo remote debugging skillz I think I managed to trace this down. The libattr/libacl you are using is missing this patch:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=attr-2.4.32-armel.diff;att=1;bug=421627
Great stuff - i looked into maemo libattr and libacl .
http://repository.maemo.org/pool/diablo/free/a/acl/
http://repository.maemo.org/pool/diablo/free/a/attr/
Quoted 8 lines
And yes, its missing in attr.
voodoo ;)
skills +1
Best,
Jan-Simon
Cool. What do you suggest? I could build a new qemu snapshot with that fixed. Will you consider this for qemu svn inclusion?
Martin
Quoted 2 lines · Martin Mohring
Cool. What do you suggest? I could build a new qemu snapshot with that fixed. Will you consider this for qemu svn inclusion?
It's not a qemu bug[1], it's a libattr bug. The correct path is to fix attr (either by that patch or pulling from debian) and recompiling libacl on top of that. The maemo-sdk qemu [1] has a hack for this, but fixing this in qemu is wrong since the attr library will fail to run on real arm kernels.
Cheers,
Riku
Signature · 1 line
"rm -rf" only sounds scary if you don't have backups