[Debootloaders-yaboot] Bug#719479: yaboot: generic initrd.img is too large for yaboot to load at boot

Michael Felt mamfelt at gmail.com
Mon Aug 12 12:04:21 UTC 2013


Package: yaboot
Version: 1.3.16-4
Severity: important
Tags: d-i

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
trying to install debian-7.1.0 for POWER using DVD and netinst iso
using default values - initially starting install with
Boot: install
and (initially) just pressing enter at DVD boot: prompt
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Using default (press enter), or install installs Debian but it
is not able to boot.
The messages at boot are:
Config file read, 4096 bytes
Welcome to yaboot version 1.3.16
Enter "help" to get some basic usage information
boot: Linux
Please wait, loading kernel...
   Elf64 kernel loaded...
Loading ramdisk...
ext2: i/o error 2133571364 in read
ramdisk loaded at 01700000, size: 8192 Kbytes
OF stdout device is: /vdevice/vty at 30000000
Preparing to boot Linux version 3.2.0-4-powerpc64 (debian-kernel at lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1
Detected machine type: 0000000000000101

Using "expert" as install method during the install process choose:


  +---------------------¦ [?] Install the base system +---------------------+
  ¦                                                                         ¦
  ¦ The primary function of an initrd is to allow the kernel to mount the   ¦
  ¦ root file system. It therefore needs to contain all drivers and         ¦
  ¦ supporting programs required to do that.                                ¦
  ¦                                                                         ¦
  ¦ A generic initrd is much larger than a targeted one and may even be     ¦
  ¦ so large that some boot loaders are unable to load it but has the       ¦
  ¦ advantage that it can be used to boot the target system on almost any   ¦
  ¦ hardware. With the smaller targeted initrd there is a very small        ¦
  ¦ chance that not all needed drivers are included.                        ¦
  ¦                                                                         ¦
  ¦ Drivers to include in the initrd:                                       ¦
  ¦                                                                         ¦
  ¦    *     generic: include all available drivers                           ¦
  ¦      **  targeted: only include drivers needed for this system            ¦
  ¦                                                                         ¦
  ¦     <Go Back>                                                           ¦
  ¦                                                                         ¦
  +-------------------------------------------------------------------------+

   * What was the outcome of this action?

with default/install and expert+generic system fails to boot.
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot="/dev/disk/by-id/scsi-36001405eb283f7cd7f8fd44bdd8f12db-part1"
device=/vdevice/v-scsi at 30000002/disk at 8100000000000000
partition=2
root="UUID=e51c8d27-d70a-41a4-990f-3505f40fbcb3"
timeout=50
install=/usr/lib/yaboot/yaboot
enablecdboot

image=/boot/vmlinux
        label=Linux
        read-only
        initrd=/boot/initrd.img

image=/boot/vmlinux.old
        label=old
        read-only
        initrd=/boot/initrd.img.old

~ # ls -l /target/boot
-rw-r--r--    1 root     root       2797159 Jun  9 21:18 System.map-3.2.0-4-powerpc64
-rw-r--r--    1 root     root        110890 Jun  9 21:18 config-3.2.0-4-powerpc64
lrwxrwxrwx    1 root     root            28 Aug 12 09:04 initrd.img -> initrd.img-3.2.0-4-powerpc64
-rw-r--r--    1 root     root      11573495 Aug 12 09:05 initrd.img-3.2.0-4-powerpc64
lrwxrwxrwx    1 root     root            25 Aug 12 09:04 vmlinux -> vmlinux-3.2.0-4-powerpc64
-rw-r--r--    1 root     root      12059736 Jun  9 21:18 vmlinux-3.2.0-4-powerpc64

Config file read, 4096 bytes
Welcome to yaboot version 1.3.16
Enter "help" to get some basic usage information
boot: Linux
Please wait, loading kernel...
   Elf64 kernel loaded...
Loading ramdisk...
ext2: i/o error 2133571364 in read
ramdisk loaded at 01700000, size: 8192 Kbytes
OF stdout device is: /vdevice/vty at 30000000
Preparing to boot Linux version 3.2.0-4-powerpc64 (debian-kernel at lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1
Detected machine type: 0000000000000101
....
[    0.511538] List of all partitions:
[    0.511547] No filesystem could mount root, tried:
[    0.511560] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.511571] Call Trace:
[    0.511583] [c00000007e47fc30] [c0000000000134e0] .show_stack+0x80/0x130 (unreliable)
[    0.511599] [c00000007e47fce0] [c0000000004b9054] .panic+0x88/0x204
[    0.511614] [c00000007e47fd80] [c000000000676f3c] .mount_block_root+0x2b0/0x2c8
[    0.511629] [c00000007e47fe50] [c000000000677140] .prepare_namespace+0x170/0x1b0
[    0.511644] [c00000007e47fee0] [c000000000676b14] .kernel_init+0x204/0x20c
[    0.511658] [c00000007e47ff90] [c00000000001ca0c] .kernel_thread+0x54/0x70
[    0.516971] Rebooting in 180 seconds..

   * What outcome did you expect instead?
when using expert+targeted
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot="/dev/disk/by-id/scsi-36001405eb283f7cd7f8fd44bdd8f12db-part1"
device=/vdevice/v-scsi at 30000002/disk at 8100000000000000
partition=2
root="UUID=18813cef-1dde-43ef-928f-02f7a2cc1319"
timeout=50
install=/usr/lib/yaboot/yaboot
enablecdboot

image=/boot/vmlinux
        label=Linux
        read-only
        initrd=/boot/initrd.img

image=/boot/vmlinux.old
        label=old
        read-only
        initrd=/boot/initrd.img.old
~ # ls -l /target/boot
-rw-r--r--    1 root     root       2797159 Jun  9 21:18 System.map-3.2.0-4-powerpc64
-rw-r--r--    1 root     root        110890 Jun  9 21:18 config-3.2.0-4-powerpc64
lrwxrwxrwx    1 root     root            28 Aug 12 11:20 initrd.img -> initrd.img-3.2.0-4-powerpc64
-rw-r--r--    1 root     root       2308639 Aug 12 11:21 initrd.img-3.2.0-4-powerpc64
lrwxrwxrwx    1 root     root            25 Aug 12 11:20 vmlinux -> vmlinux-3.2.0-4-powerpc64
-rw-r--r--    1 root     root      12059736 Jun  9 21:18 vmlinux-3.2.0-4-powerpc64
~ #

Config file read, 4096 bytes
Welcome to yaboot version 1.3.16
Enter "help" to get some basic usage information
boot: Linux
Please wait, loading kernel...
   Elf64 kernel loaded...
Loading ramdisk...
ramdisk loaded at 01700000, size: 2256 Kbytes
OF stdout device is: /vdevice/vty at 30000000
Preparing to boot Linux version 3.2.0-4-powerpc64 (debian-kernel at lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1
Detected machine type: 0000000000000101
....
Device tree strings 0x0000000001a35000 -> 0x0000000001a36173
Device tree struct  0x0000000001a37000 -> 0x0000000001a42000
Calling quiesce...
returning from prom_init
[    0.000000] Using pSeries machine description
[    0.000000] Using 1TB segments
[    0.000000] Found initrd at 0xc000000001700000:0xc000000001934000
[    0.000000] bootconsole [udbg0] enabled
[    0.000000] Partition configured for 2 cpus.
[    0.000000] CPU maps initialized for 2 threads per core
[    0.000000] Starting Linux PPC64 #1 SMP Debian 3.2.46-1
[    0.000000] -----------------------------------------------------
[    0.000000] ppc64_pft_size                = 0x19
[    0.000000] physicalMemorySize            = 0x80000000
[    0.000000] htab_hash_mask                = 0x3ffff
[    0.000000] -----------------------------------------------------
....
Loading, please wait...
[    0.286714] udevd[48]: starting version 175
[    0.328202] ibmvscsi 30000002: SRP_VERSION: 16.a
[    0.328367] scsi0 : IBM POWER Virtual SCSI Adapter 1.5.9
[    0.328957] ibmvscsi 30000002: partner initialization complete
[    0.329504] ibmvscsi 30000002: host srp version: 16.a, host partition x091 (1), OS 3, max io 262144
[    0.330566] ibmvscsi 30000002: Client reserve enabled
[    0.330582] ibmvscsi 30000002: sent SRP login
[    0.331139] ibmvscsi 30000002: SRP_LOGIN succeeded
[    0.348741] scsi 0:0:1:0: Direct-Access     AIX      VDASD            0001 PQ: 0 ANSI: 3
[    0.349074] scsi 0:0:2:0: CD-ROM            AIX      VOPTA                 PQ: 0 ANSI: 4
[    0.398832] sd 0:0:1:0: [sda] 33554430 512-byte logical blocks: (17.1 GB/15.9 GiB)
[    0.399345] sd 0:0:1:0: [sda] Write Protect is off
[    0.399892] sd 0:0:1:0: [sda] Cache data unavailable
[    0.399905] sd 0:0:1:0: [sda] Assuming drive cache: write through
[    0.402040] sd 0:0:1:0: [sda] Cache data unavailable
[    0.402056] sd 0:0:1:0: [sda] Assuming drive cache: write through
[    0.404849]  sda: sda1 sda2 sda3 < sda5 >
[    0.405839] sd 0:0:1:0: [sda] Cache data unavailable
[    0.405851] sd 0:0:1:0: [sda] Assuming drive cache: write through
[    0.405862] sd 0:0:1:0: [sda] Attached SCSI disk
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [    0.802953] PM: Starting manual resume from disk
done.
[    0.844083] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[    2.125210] udevd[265]: starting version 175
.. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[    2.453336] sr0: scsi-1 drive
[    2.453355] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.491212] sd 0:0:1:0: Attached scsi generic sg0 type 0
[    2.491556] sr 0:0:2:0: Attached scsi generic sg1 type 5
done.
[ ok ] Setting preliminary keymap...done.
[....] Activating swap...[    3.298242] Adding 746492k swap on /dev/sda5.  Priority:-1 extents:1 across:746492k
done.
[    3.324754] EXT4-fs (sda2): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.20.1
/dev/sda2: clean, 19288/1001712 files, 223040/4005120 blocks
done.
[    3.484701] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
[warn] Creating compatibility symlink from /etc/mtab to /proc/mounts. ... (warning).
[ ok ] Cleaning up temporary files... /tmp.
[    4.102041] loop: module loaded
[info] Loading kernel module atkbd.
ERROR: could not insert 'atkbd': No such device
[info] Loading kernel module i8042.
ERROR: could not insert 'i8042': No such device
[info] Loading kernel module ibmveth.
[info] Loading kernel module ibmvscsic.
[info] Loading kernel module loop.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[ ok ] Configuring network interfaces...done.
[ ok ] Cleaning up temporary files....
[info] Setting console screen modes.
setterm: cannot (un)set powersave mode: Invalid argument
[info] Skipping font and keymap setup (handled by console-setup).
[ ok ] Setting up console font and keymap...done.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[ ok ] Starting enhanced syslogd: rsyslogd.
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting OpenBSD Secure Shell server: sshd.

Debian GNU/Linux 7 x034 hvc0

x034 login:


*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 3.2.0-4-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages yaboot depends on:
ii  libc6  2.13-38

Versions of packages yaboot recommends:
pn  hfsutils       <none>
ii  powerpc-utils  1.1.3-24

yaboot suggests no packages.

-- no debconf information



More information about the Debootloaders-yaboot mailing list