Late initialization of ttyPZ0 prevents console=ttyPZ0 from working (under qemu-system-ppc64)

Josh Boyer jwboyer at gmail.com
Thu Jun 7 17:53:01 UTC 2012


On Thu, Jun 7, 2012 at 11:10 AM, Richard W.M. Jones <rjones at redhat.com> wrote:
> I made this change to the Fedora kernel config-powerpc-generic file:
>
>  -CONFIG_SERIAL_PMACZILOG=m
>  +CONFIG_SERIAL_PMACZILOG=y
>  +CONFIG_SERIAL_PMACZILOG_CONSOLE=y
>
> .. and the qemu serial console works (using console=ttyPZ0).
>
> I didn't try this on real hardware.
>
> If we all agree that this change is a good one, then I will file a bug
> to get it changed in the Fedora kernel.

It's not all that great, no.  Would work wonderfully for machines that
use PMACZILOG, which is basically nothing the Fedora PPC64 arch is now
targeting.  There is very little to no effort being spent on even
trying to see if Apply G5 machines work.  All of the focus is on POWER7
or newer and those don't use pmaczilog.

> A working serial console is just about essential for libguestfs, as we
> use it to debug problems in the appliance.

Can't qemu-system-ppc64 emulate some other non-pmac target instead?

josh


More information about the ppc mailing list