Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-23 Thread J. Mayer
Hi, Sorry for the delay... On Fri, 2007-10-19 at 12:57 -0500, Milton Miller wrote: On Oct 18, 2007, at 6:46 PM, J. Mayer wrote: On Thu, 2007-10-18 at 19:12 -0500, Rob Landley wrote: [...] Rob was complaining he needed arch ppc to boot prep qemu but kernel_headers only worked on powerpc.

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-21 Thread J. Mayer
On Sat, 2007-10-20 at 23:49 +0200, Aurelien Jarno wrote: Aurelien Jarno a écrit : Aurelien Jarno a écrit : Aurelien Jarno a écrit : I have used QEMU CVS with a Debian Sid image. It basically works, I am even able to login via SSH, but I have noticed two problems: - Some process

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-21 Thread Rob Landley
On Saturday 20 October 2007 3:50:52 am J. Mayer wrote: Sleep mode is currently implemented only for a few CPUs. I should add all the currently emulated cores. For this, I would have to emulate the HID registers, in most case, which is still not done. Getting it to exit in response to a shut

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-21 Thread J. Mayer
On Sun, 2007-10-21 at 04:55 -0500, Rob Landley wrote: On Saturday 20 October 2007 3:50:52 am J. Mayer wrote: Sleep mode is currently implemented only for a few CPUs. I should add all the currently emulated cores. For this, I would have to emulate the HID registers, in most case, which is

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-21 Thread J. Mayer
On Sun, 2007-10-21 at 12:24 +0200, J. Mayer wrote: On Sun, 2007-10-21 at 04:55 -0500, Rob Landley wrote: On Saturday 20 October 2007 3:50:52 am J. Mayer wrote: [...] And you can get the list of all CPUs emulated by Qemu with the '-cpu ?' switch. I did that, but it -cpu ? gives

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-21 Thread Rob Landley
for [EMAIL PROTECTED]; Sun, 21 Oct 2007 09:29:31 -0400 (EDT) From: Rob Landley [EMAIL PROTECTED] Organization: Boundaries Unlimited To: J. Mayer [EMAIL PROTECTED] Subject: Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc ! Date: Sun, 21 Oct 2007 08:26:36 -0500 User-Agent: KMail/1.9.6

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-20 Thread Rob Landley
On Friday 19 October 2007 3:33:52 pm Aurelien Jarno wrote: Aurelien Jarno a écrit : - The target CPU never gets into idle loop, so the host CPU is always used at 100% This is actually not a problem. The default CPU (604) does not support DOZE or NAP. Switching to a 603 CPU, the target

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-20 Thread Rob Landley
On Friday 19 October 2007 10:19:16 am Aurelien Jarno wrote: The small patch below fixes the IDE problem, but not the NE2000 ISA one. Please apply. Index: hw/i8259.c === RCS file: /sources/qemu/qemu/hw/i8259.c,v retrieving

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-20 Thread J. Mayer
On Sat, 2007-10-20 at 01:08 -0500, Rob Landley wrote: On Friday 19 October 2007 3:33:52 pm Aurelien Jarno wrote: Aurelien Jarno a écrit : - The target CPU never gets into idle loop, so the host CPU is always used at 100% This is actually not a problem. The default CPU (604) does

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-20 Thread J. Mayer
On Fri, 2007-10-19 at 17:19 +0200, Aurelien Jarno wrote: On Thu, Oct 18, 2007 at 07:12:57PM -0500, Rob Landley wrote: The easy way to reproduce this is go to http://landley.net/hg/firmware;, download tip, and ./build.sh powerpc. When it finishes building everything, cd build and

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-20 Thread Aurelien Jarno
Aurelien Jarno a écrit : I have used QEMU CVS with a Debian Sid image. It basically works, I am even able to login via SSH, but I have noticed two problems: - Some process hang, stay into D state and become unkillable. It seems it can happen to all processes, but it is always reproducible

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-20 Thread Aurelien Jarno
Aurelien Jarno a écrit : Aurelien Jarno a écrit : Aurelien Jarno a écrit : I have used QEMU CVS with a Debian Sid image. It basically works, I am even able to login via SSH, but I have noticed two problems: - Some process hang, stay into D state and become unkillable. It seems it can

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-19 Thread Milton Miller
On Oct 18, 2007, at 6:46 PM, J. Mayer wrote: On Thu, 2007-10-18 at 19:12 -0500, Rob Landley wrote: The easy way to reproduce this is go to http://landley.net/hg/firmware;, download tip, and ./build.sh powerpc. When it finishes building everything, cd build and ./run-powerpc.sh. [...] The

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-19 Thread Aurelien Jarno
Aurelien Jarno a écrit : - The target CPU never gets into idle loop, so the host CPU is always used at 100% This is actually not a problem. The default CPU (604) does not support DOZE or NAP. Switching to a 603 CPU, the target CPU correctly goes into idle loop. -- .''`. Aurelien Jarno

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-19 Thread Aurelien Jarno
On Fri, Oct 19, 2007 at 07:39:47PM +0200, Jocelyn Mayer wrote: The small patch below fixes the IDE problem, but not the NE2000 ISA one. Please apply. Interesting, thanks. I'll test this and apply or check for more fixes if needed... I'll also try to check what's happening with the NE2000.

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-19 Thread Milton Miller
On Oct 19, 2007, at 12:39 PM, Jocelyn Mayer wrote: On Fri, 2007-10-19 at 17:19 +0200, Aurelien Jarno wrote: The small patch below fixes the IDE problem, but not the NE2000 ISA one. Please apply. Interesting, thanks. I'll test this and apply or check for more fixes if needed... I'll also try

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-19 Thread Aurelien Jarno
On Thu, Oct 18, 2007 at 07:12:57PM -0500, Rob Landley wrote: The easy way to reproduce this is go to http://landley.net/hg/firmware;, download tip, and ./build.sh powerpc. When it finishes building everything, cd build and ./run-powerpc.sh. What I did is build a new ppc_rom.bin (attached,

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-19 Thread Aurelien Jarno
Rob Landley a écrit : The easy way to reproduce this is go to http://landley.net/hg/firmware;, download tip, and ./build.sh powerpc. When it finishes building everything, cd build and ./run-powerpc.sh. What I did is build a new ppc_rom.bin (attached, source code is at

Re: [Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-18 Thread J. Mayer
On Thu, 2007-10-18 at 19:12 -0500, Rob Landley wrote: The easy way to reproduce this is go to http://landley.net/hg/firmware;, download tip, and ./build.sh powerpc. When it finishes building everything, cd build and ./run-powerpc.sh. [...] The downside is that the result boots fine under

[Qemu-devel] I got a kernel booted under qemu-system-ppc !

2007-10-18 Thread Rob Landley
The easy way to reproduce this is go to http://landley.net/hg/firmware;, download tip, and ./build.sh powerpc. When it finishes building everything, cd build and ./run-powerpc.sh. What I did is build a new ppc_rom.bin (attached, source code is at