Skip to contentSkip to conversation

Sparc Emulation

Qemu-devel Andreas Sotirakopoulos 2 participants 2 messages Nov 22, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I am not sure I should be posting this here but the forum is down and I am struggling for days to get this right.

I am trying to use the qemu sparc emulation but I have encountered a problem. Although it boots in a console I have not the ability to mount any devices (specially my cdrom), in fact there are very few devices present, only three tty, so as to be able to run some sparc binary files I need to. Furthermore I have noticed that the /proc directory is missing and I suspect that that is what causes this problem.

Is it possible to overcome such a problem? Do I do something wrong?

Thanks in advance for your response.
Sotirakopoulos Andreas

#1 lore raw
Quoted 13 lines · Andreas Sotirakopoulos

Hi,

I am not sure I should be posting this here but the forum is down and I am struggling for days to get this right.

I am trying to use the qemu sparc emulation but I have encountered a problem. Although it boots in a console I have not the ability to mount any devices (specially my cdrom), in fact there are very few devices present, only three tty, so as to be able to run some sparc binary files I need to. Furthermore I have noticed that the /proc directory is missing and I suspect that that is what causes this problem.

Quoted 1 line

Is it possible to overcome such a problem? Do I do something wrong?

It seems you are using the sparc-test initrd setup, which is not a full system as you have noticed. Instead you should create a disk image with qemu-img and find a bootable install CD image, then install Linux with these like:
qemu-system-sparc -boot d -hda hd.img -cdrom debian-31r1-sparc-binary-1.iso

Or if you only need to run a few Linux binaries, then you could try the user emulator instead:
qemu-sparc -L ../qemu-tests/usr/local/gnemul/qemu-sparc ./ls