* KVM on ps3-linux working?
@ 2010-07-12 3:04 Takuya Yoshikawa
[not found] ` <4C3A862C.1050103-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Takuya Yoshikawa @ 2010-07-12 3:04 UTC (permalink / raw)
To: Alexander Graf; +Cc: kvm-ppc, KVM list, Takuya Yoshikawa
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
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <4C3A862C.1050103-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>]
* Re: KVM on ps3-linux working? [not found] ` <4C3A862C.1050103-gVGce1chcLdL9jVzuh4AOg@public.gmane.org> @ 2010-07-12 7:32 ` Alexander Graf [not found] ` <AA83FB2B-3CE6-4762-AA9F-29C8CBB56840-l3A5Bk7waGM@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Alexander Graf @ 2010-07-12 7:32 UTC (permalink / raw) To: Takuya Yoshikawa Cc: kvm-ppc-u79uwXL29TY76Z2rM5mHXA, KVM list, Takuya Yoshikawa On 12.07.2010, at 05:04, Takuya Yoshikawa wrote: > 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! > 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? 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <AA83FB2B-3CE6-4762-AA9F-29C8CBB56840-l3A5Bk7waGM@public.gmane.org>]
* Re: KVM on ps3-linux working? [not found] ` <AA83FB2B-3CE6-4762-AA9F-29C8CBB56840-l3A5Bk7waGM@public.gmane.org> @ 2010-07-12 7:59 ` Takuya Yoshikawa [not found] ` <4C3ACB77.90104-gVGce1chcLdL9jVzuh4AOg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Takuya Yoshikawa @ 2010-07-12 7:59 UTC (permalink / raw) To: Alexander Graf; +Cc: kvm-ppc-u79uwXL29TY76Z2rM5mHXA, KVM list, Takuya Yoshikawa >> 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. > 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. ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <4C3ACB77.90104-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>]
* Re: KVM on ps3-linux working? [not found] ` <4C3ACB77.90104-gVGce1chcLdL9jVzuh4AOg@public.gmane.org> @ 2010-07-12 8:00 ` Alexander Graf 2010-07-12 8:11 ` Takuya Yoshikawa 0 siblings, 1 reply; 5+ messages in thread From: Alexander Graf @ 2010-07-12 8:00 UTC (permalink / raw) To: Takuya Yoshikawa Cc: kvm-ppc-u79uwXL29TY76Z2rM5mHXA, KVM list, Takuya Yoshikawa On 12.07.2010, at 09:59, Takuya Yoshikawa wrote: >>> 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. > > >> 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. > 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: KVM on ps3-linux working? 2010-07-12 8:00 ` Alexander Graf @ 2010-07-12 8:11 ` Takuya Yoshikawa 0 siblings, 0 replies; 5+ messages in thread From: Takuya Yoshikawa @ 2010-07-12 8:11 UTC (permalink / raw) To: Alexander Graf; +Cc: kvm-ppc, KVM list, Takuya Yoshikawa (2010/07/12 17:00), Alexander Graf wrote: > > On 12.07.2010, at 09:59, Takuya Yoshikawa wrote: > >>>> 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. >> >> >>> 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. > >> 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-07-12 8:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-12 3:04 KVM on ps3-linux working? Takuya Yoshikawa
[not found] ` <4C3A862C.1050103-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>
2010-07-12 7:32 ` Alexander Graf
[not found] ` <AA83FB2B-3CE6-4762-AA9F-29C8CBB56840-l3A5Bk7waGM@public.gmane.org>
2010-07-12 7:59 ` Takuya Yoshikawa
[not found] ` <4C3ACB77.90104-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>
2010-07-12 8:00 ` Alexander Graf
2010-07-12 8:11 ` Takuya Yoshikawa
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox