Re: Fedora PPC console=? to get serial console
On Thu, Jun 11, 2009 at 01:34:25PM -0400, Josh Boyer wrote: On Thu, Jun 11, 2009 at 10:38 AM, Richard W.M. Jonesrjo...@redhat.com wrote: (Posting here because the fedora-ppc list is a bit overrun with spam http://lists.infradead.org/pipermail/fedora-ppc/ ) Does anyone know what 'console=...' parameter I should give the Fedora PPC kernel to get it to use a serial console? Debian uses the non-standard form console=ttyPZ0 That is for the special G5 serial cards I believe. I've also seen console=hvc0 mentioned. Obviously I also tried console=ttyS0. hvc0 is for machines like POWER4/5/6 and possibly a couple others. hvc0 is a virtual console device. As well as some PPC machines, its used for Xen paravirt console, and KVM's virtio console device, and possibly s390 too IIRC Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Fedora PPC console=? to get serial console
On Fri, 2009-06-12 at 10:59 +0100, Daniel P. Berrange wrote: On Thu, Jun 11, 2009 at 01:34:25PM -0400, Josh Boyer wrote: On Thu, Jun 11, 2009 at 10:38 AM, Richard W.M. Jonesrjo...@redhat.com wrote: (Posting here because the fedora-ppc list is a bit overrun with spam http://lists.infradead.org/pipermail/fedora-ppc/ ) Does anyone know what 'console=...' parameter I should give the Fedora PPC kernel to get it to use a serial console? Debian uses the non-standard form console=ttyPZ0 That is for the special G5 serial cards I believe. I've also seen console=hvc0 mentioned. Obviously I also tried console=ttyS0. hvc0 is for machines like POWER4/5/6 and possibly a couple others. hvc0 is a virtual console device. As well as some PPC machines, its used for Xen paravirt console, and KVM's virtio console device, and possibly s390 too IIRC Along with console=hvc0 for ppc blades and virtual ppc systems, I use console=hvsi0 on some bare metal Power5 ppc64 systems. Thanks, James signature.asc Description: This is a digitally signed message part -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Fedora PPC console=? to get serial console
On Thu, Jun 11, 2009 at 10:38 AM, Richard W.M. Jonesrjo...@redhat.com wrote: (Posting here because the fedora-ppc list is a bit overrun with spam http://lists.infradead.org/pipermail/fedora-ppc/ ) Does anyone know what 'console=...' parameter I should give the Fedora PPC kernel to get it to use a serial console? Debian uses the non-standard form console=ttyPZ0 That is for the special G5 serial cards I believe. I've also seen console=hvc0 mentioned. Obviously I also tried console=ttyS0. hvc0 is for machines like POWER4/5/6 and possibly a couple others. None of the above seem to work ... I'm using qemu-system-ppc, not a real machine. I have no idea. I've never used that and the last time I looked it was emulating some kind of really old system we don't even support. josh -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Fedora PPC console=? to get serial console
On Thu, 2009-06-11 at 19:33 +0100, Richard W.M. Jones wrote: It's useful to be able to run Fedora on qemu-system-ppc, if only because it allows me to track down build problems that only affect the ppc builders. (Which in fact is what got me into this in the first place). btw, we don't currently have a howto: debug failing builds on esoteric architectures. Is it as simple as running mock $ mock -r fedora-11-ppc package.srpm and testing the binaries with $ qemu-system ./binary ? -- Jussi Lehtola Fedora Project Contributor jussileht...@fedoraproject.org -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Fedora PPC console=? to get serial console
On Thu, Jun 11, 2009 at 09:49:03PM +0300, Jussi Lehtola wrote: On Thu, 2009-06-11 at 19:33 +0100, Richard W.M. Jones wrote: It's useful to be able to run Fedora on qemu-system-ppc, if only because it allows me to track down build problems that only affect the ppc builders. (Which in fact is what got me into this in the first place). btw, we don't currently have a howto: debug failing builds on esoteric architectures. Is it as simple as running mock $ mock -r fedora-11-ppc package.srpm and testing the binaries with $ qemu-system ./binary I'm pretty sure this won't work. mock would (via yum) try to install RPMs which had %post scripts that would need to run PPC binaries. Then the whole make/compiler would also be PPC binaries and so wouldn't run in mock. What I'm trying is to boot a Fedora PPC virtual machine, which I then log into and run mock (or rpmbuild or whatever) inside. - - - PPC64 is a complete mystery to me though. The errors I get from qemu seem to indicate that 'qemu-system-ppc64 -cpu ppc64' doesn't understand the 64 bit opcodes in the ppc64 kernel. But it claims to be emulating a PowerPC 970FX (which is a 64 bit processor, commonly known as the G5). Doesn't Fedora PPC64 have a 64 bit kernel and 32 bit userland? Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/ -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list