KVM on ps3-linux working?
Hi Alex,
I've been testing dirty logging on ps3 linux for a few weeks.
- I luckily got one by chance.
Although I could find what was the main cause of breaking dirty logging, I'm struggling with stabilizing KVM on ps3 linux apart from dirty logging.
Problem: In almost every execution of qemu(ppc64), soon after openbios
started, qemu failed with segmentation fault before succeeding in kernel load.
But sometimes loading the kernel succeeded, and once the kernel was loaded, KVM was working properly: I could check dirty logging functions was working.
** I'm using latest kvm.git and qemu.git **
Are there any restrictions in KVM on ps3 linux?
If you know some way to run KVM on ps3 linux stably, please let me know.
Thanks,
Takuya
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Takuya Yoshikawa
Hi Alex,
I've been testing dirty logging on ps3 linux for a few weeks.
- I luckily got one by chance.
That is great news!
Quoted 7 lines
Although I could find what was the main cause of breaking dirty logging, I'm struggling with stabilizing KVM on ps3 linux apart from dirty logging.
Problem: In almost every execution of qemu(ppc64), soon after openbios
started, qemu failed with segmentation fault before succeeding in kernel load.
Quoted 7 lines
But sometimes loading the kernel succeeded, and once the kernel was loaded, KVM was working properly: I could check dirty logging functions was working.
** I'm using latest kvm.git and qemu.git **
Are there any restrictions in KVM on ps3 linux?
Not really. The biggest thing to keep in mind is that ram is really limited. So make sure you have a lot of swap. In fact, I used to use a PS3 for development and testing quite a lot myself, so it definitely should work.
Are you using 32 bit or 64 bit userspace on the PS3? I remember having had issues with 64 bit userspace.
Alex
A message that is not in the archive (sent off-list or not yet received): AA83FB2B-3CE6-4762-AA9F-29C8CBB56840-l3A5Bk7waGM@public.gmane.org
Quoted 4 lines
Quoted 1 line
Are there any restrictions in KVM on ps3 linux?
Not really. The biggest thing to keep in mind is that ram is really limited. So make sure you have a lot of swap. In fact, I used to use a PS3 for development and testing quite a lot myself, so it definitely should work.
Thanks about the info. I could find ps-ubuntu help site, and am using fast swap + usual swap. My distro is ubuntu server, sometimes xubuntu for desktop, and a lot of uneeded services are stopped.
So memory usage rate is quite reasonable now.
Quoted 1 line
Are you using 32 bit or 64 bit userspace on the PS3? I remember having had issues with 64 bit userspace.
I'm using 64 bit. Userspace, you mean qemu?
Is it possible to use 32 bit qemu, cross compiled on somewhere else, on ps3 linux (64bit ppc)?
-- I'm still learning about ppc's architectures, so lack some knowledge.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Takuya Yoshikawa
Quoted 4 lines
Quoted 1 line
Are there any restrictions in KVM on ps3 linux?
Not really. The biggest thing to keep in mind is that ram is really limited. So make sure you have a lot of swap. In fact, I used to use a PS3 for development and testing quite a lot myself, so it definitely should work.
Thanks about the info. I could find ps-ubuntu help site, and am using fast swap + usual swap. My distro is ubuntu server, sometimes xubuntu for desktop, and a lot of uneeded services are stopped.
Quoted 6 lines
So memory usage rate is quite reasonable now.
Quoted 1 line
Are you using 32 bit or 64 bit userspace on the PS3? I remember having had issues with 64 bit userspace.
I'm using 64 bit. Userspace, you mean qemu?
I mean applications in general, but specifically qemu, yes.
Quoted 1 line
Is it possible to use 32 bit qemu, cross compiled on somewhere else, on ps3 linux (64bit ppc)?
If you have the libraries - sure! Maybe you can even compile it directly on the ps3 with -m32.
It's just really unusual to see 64 bit userspace on ppc. What does "file /bin/ls" say? If it's really broken with 64 bit userspace, I'll try to debug a bit from my side too.
Alex
Quoted 18 lines · Alexander Graf
Quoted 8 lines · Takuya Yoshikawa
Quoted 4 lines
Quoted 1 line
Are there any restrictions in KVM on ps3 linux?
Not really. The biggest thing to keep in mind is that ram is really limited. So make sure you have a lot of swap. In fact, I used to use a PS3 for development and testing quite a lot myself, so it definitely should work.
Thanks about the info. I could find ps-ubuntu help site, and am using fast swap + usual swap. My distro is ubuntu server, sometimes xubuntu for desktop, and a lot of uneeded services are stopped.
Quoted 6 lines
So memory usage rate is quite reasonable now.
Quoted 1 line
Are you using 32 bit or 64 bit userspace on the PS3? I remember having had issues with 64 bit userspace.
I'm using 64 bit. Userspace, you mean qemu?
Quoted 8 lines
I mean applications in general, but specifically qemu, yes.
Quoted 1 line
Is it possible to use 32 bit qemu, cross compiled on somewhere else, on ps3 linux (64bit ppc)?
If you have the libraries - sure! Maybe you can even compile it directly on the ps3 with -m32.
It's just really unusual to see 64 bit userspace on ppc. What does "file
/bin/ls" say? If it's really broken with 64 bit userspace, I'll try to debug a bit from my side too.
OK let me try. Ps3 box is in my home, so I'll check tonight!
- Only I remember now is that I compiled qemu on ps3 linux WITHOUT -m32 .
Thanks a lot!
Takuya