Skip to contentSkip to conversation

i386-user and ls from tests

Qemu-devel Pablo Bendersky 2 participants 3 messages Jul 23, 2004

lore
Share & tools
lore
#0 lore raw

Hello,
I'm trying to compile i386-user on Mac OS X, and in the process I found that the ls command from the samples does not work properly either on 0.6.0 nor 0.5.5.
Please try:
qemu-i386 /qemu/tests/i386/ls /
(or whatever your test ls is) and see the results. I for one get only this:
etc lib usr
even given that my / directory has several more files on it (and I have the correct permissions).

Has anyone else encountered this problem?
I found this problem on the mac, and then tried it on a linux i386 box, and found the same results. I'm not sure if the problem is on the getdents syscall, or on other one that is called previously. Anyone?

Thank you!

___________________________________________________________
100mb gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar

#1 lore raw
Quoted 13 lines · Pablo Bendersky

Hello,
I'm trying to compile i386-user on Mac OS X, and in the process I found that the ls command from the samples does not work properly either on 0.6.0 nor 0.5.5.
Please try:
qemu-i386 /qemu/tests/i386/ls /
(or whatever your test ls is) and see the results. I for one get only this:
etc lib usr
even given that my / directory has several more files on it (and I have the correct permissions).

Quoted 10 lines

Has anyone else encountered this problem?
I found this problem on the mac, and then tried it on a linux i386 box, and found the same results. I'm not sure if the problem is on the getdents syscall, or on other one that is called previously. Anyone?

Thank you!

qemu-i386 shouldn't work on Mac OS X. It requires a Linux host and a Linux guest. Why you get this error on linux i386, no idea... what kernel and glibc versions do you use?

Quoted 14 lines

___________________________________________________________
100mb gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#2 lore raw

I know it's not supposed to work on Mac OS X, and that's what I'm working on, using a patch provided by Pierre dHerbemont.
I'm translating the system calls from Linux to Darwin, so we can run linux guest in a Darwin host. When I wasn't able to properly translate getdents into getdirentries, I tried to compile QEmu on a 386 linux, and found that the problem exists there also. The Linux I'm using is Fedora Core 1, with kernel 2.4.22-1.2197.nptl.

Thanks!

--- "Jim C. Brown" <[email protected]> wrote:
<snip>

Quoted 5 lines

qemu-i386 shouldn't work on Mac OS X. It requires a Linux host and a Linux
guest. Why you get this error on linux i386, no idea... what kernel and glibc
versions do you use?

___________________________________________________________
100mb gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar