Re: Bug#469030: debian ppc64 not booting after install
On Thu, Mar 06, 2008 at 04:19:29PM +0200, Ulrich Enslin wrote:
> I installed debian 40r3 on a IBM Power 620 (7025-f0) from CD
> (debian-40r3-powerpc-netinst.iso). The install was successful, but the
> system did not boot from the scsi disc, with the output shown below.
> Boot messages:
> Welcome to yaboot version 1.3.13
> Enter "help" to get some basic usage information
> Linux old
> boot: Linux
> Please wait, loading kernel...
> Elf32 kernel loaded...
> Loading ramdisk...
> ramdisk loaded at 02200000, size: 5264 Kbytes
> OF stdout device is: /pci@fff7f09000/isa@10/serial@i3f8
> command line: root=/dev/sda4 ro console=ttyS0
> memory layout at init:
> alloc_bottom : 02724000
> alloc_top : 00000000
> alloc_top_hi : 00000000
> rmo_top : 00000000
> ram_top : 00000000
> Looking for displays
> alloc_down() called with mem not initialized
> EXIT called ok
> 0 >
This looks like the kernel dies very early during the boot.
> I booted with the rescue option 'rescue64 conlose=ttyS0), booting into a
> chroot of the installed environment.
> Frans Pop suggested rebuilding the rebuild the initrd (using update-initramfs -u), but that did not work. He also suggested looking at what kernel was installed. Here is what I see when I look in the boot directory:
> sh-3.1# ls -la /boot
> total 10550
> drwxr-xr-x 3 root root 1024 Mar 6 15:27 .
> drwxr-xr-x 22 root root 4096 Mar 2 17:47 ..
> -rw-r--r-- 1 root root 745419 Feb 12 05:05 System.map-2.6.18-6-powerpc-smp
> -rw-r--r-- 1 root root 57120 Feb 11 11:14 config-2.6.18-6-powerpc-smp
> lrwxrwxrwx 1 root root 31 Mar 2 17:48 initrd.img ->
> -rw-r--r-- 1 root root 5384155 Mar 6 15:27 initrd.img-2.6.18-6-powerpc-smp
> drwx------ 2 root root 12288 Mar 2 17:42 lost+found
> lrwxrwxrwx 1 root root 28 Mar 2 17:48 vmlinux ->
> -rw-r--r-- 1 root root 4551303 Feb 12 05:04 vmlinux-2.6.18-6-powerpc-smp
> Should the kernel not have a 64 somewhere in the name.
Yes I think you have the wrong kernel installed. Try to install
linux-image-2.6-powerpc64. Try "aptitude install
linux-image-2.6-powerpc64" after booting into rescue mode and mounting
/proc and /sys (see below).
> Steve Luther suggested looking at '/proc/cmdline' to see which console
> the system has. I was using 'conlose=ttyS0'. In the rescue system the
> whole /proc is empty. This seems very odd, am I doing something wrong
The proc filesystem is not mounted inside the rescue chroot. You can
mount it with "mount -t proc none /proc". You probably also need to
mount sysfs before installing the kernel (mount -t sysfs none /sys).
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~