On Monday 13 July 2009 07:25:45 Aurelien Jarno wrote:
If changing my kernel .config so I build a new kernel that works
new qemu is my only alternative, I'm happy to do that. But I don't
currently have a working kernel .config, and don't understand why
one broke or how to avoid being hit by similar changes in future.
I am using the Debian kernel and it works fine, please find
Finally got back in a position to spend some more time on this.
Sorry for the
Ok, I'm trying just to boot to a command prompt with a serial
console and IDE
/dev/hda. (Or funky scsi IDE /dev/sda in a pinch.)
Your .config is for a 2.6.26 kernel and I'm building 2.6.30, so I
have to run
make oldconfig against it (and just hit enter on everything to take
defaults). Also, I'm not using an initramfs at the moment, so
anything that's in a module can go because it won't get loaded
before I get a
shell prompt anyway, so I can yank anything config =m, and the module
infrastructure itself, to simplify things a bit.
That gave me the (much smaller) attached .config, which _should_
work the same
as yours, I hope? Note that CONFIG_SERIAL_8250_CONSOLE is on, so I
able to get a serial console, which is my first target: get boot
I built a kernel using the attached .config and my existing powerpc
(which built a kernel that booted under older qemu), and attempted
to boot the
result under current git (28e738dcb81d):
qemu-system-ppc -M g3beige -nographic -no-reboot -kernel zImage-
-hda image-powerpc.sqf -append "root=/dev/hda rw init=/usr/sbin/
panic=1 PATH=/usr/bin console=ttyS0 "
OpenBIOS 1.0 [Jul 5 2009 17:36]
Configuration device id QEMU version 1 machine id 2
CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on Jul 5 2009 17:36
[ppc] Kernel already loaded (0x01000000 + 0x0039bef0) (initrd
[ppc] Kernel command line: root=/dev/hda rw init=/usr/sbin/
OF stdout device is:
Preparing to boot Linux version 2.6.30 (address@hidden) (gcc
#1 Sat Aug 1 17:35:12 CDT 2009
command line: root=/dev/hda rw init=/usr/sbin/init.sh panic=1 PATH=/
memory layout at init:
alloc_bottom : 013a0000
alloc_top : 08000000
alloc_top_hi : 08000000
rmo_top : 08000000
ram_top : 08000000
found display : /address@hidden/QEMU,address@hidden, opening... done
copying OF device tree...
Building dt strings...
Building dt structure...
Device tree strings 0x013a1000 -> 0x013a1383
Device tree struct 0x013a2000 -> 0x013a4000
returning from prom_init
At which point it exits and I get the prompt back.