[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] qemu-system-ppc unable to boot past "returning from prom_

From: Alexander Graf
Subject: Re: [Qemu-ppc] qemu-system-ppc unable to boot past "returning from prom_init"
Date: Fri, 23 Dec 2011 15:40:47 +0100

On 23.12.2011, at 15:36, Prasad Deshpande wrote:

> Thanks. I tried what you suggested but it didn't make a difference. I can see 
> the option being passed to the kernel (>> [ppc] Kernel command line: 
> console=ttyPZ0)
> Is there a way to see the kernel printk() somewhere if they are enabled?

Sure. You can attach gdb to the VM and manually write out log_buf:

  $ qemu-system-ppc -kernel vmlinux -s
[ wait until it seems stuck, but keep it running and run the following on a 
different shell ]
  $ gdb vmlinux -ex 'target remote localhost:1234'
    (gdb) p /s log_buf

> I enabled kernel debug info and attached GDB. Using GDB I found that it was 
> an unsupported machine type.

Unsupported machine type? What system is your gdb made for? X86 gdb won't work 
with ppc guests - you have to use a ppc gdb.

> I am now trying to build the kernel for mpc8544ds

That one and g3beige (default) should work, yes. The others are reasonably 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]