ppc/ubiquity install boots wrong kernel

Bug #66406 reported by Martin Pitt
2
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

20061016 ppc/desktop ubiquity install on an iBook G4 (32-bit PowerPC): The installed system does not boot, just gets stuck in usplash early. Fiddling with Ctrl+Alt+Fn reveals that '/lib/modules/2.6.17-10-powerpc/modules.dep' cannot be found, and indeed the initramfs only has modules for 2.6.17-10-powerpc64-smp/.

/boot/initrd.img points to the powerpc64-smp initramfs, there isn't one for -powerpc.

dpkg -l linux-image*: (in installed system, mounted from live)
un linux-image <none> (no description available)
un linux-image-2.6 <none> (no description available)
ii linux-image-2.6.17-10-powerpc 2.6.17-10.33 Linux kernel image for version 2.6.17 on 32-
ii linux-image-2.6.17-10-powerpc64-smp 2.6.17-10.33 Linux kernel image for version 2.6.17 on 64-
ii linux-image-powerpc 2.6.17.10 Linux kernel image on PowerPC.
pn linux-image-powerpc64-smp <none> (no description available)

so it seems it only purges the metapackage, but not the actual kernel.

/proc/cpuinfo: (in live system)
processor : 0
cpu : 7455, altivec supported
clock : 606.000000MHz
revision : 0.3 (pvr 8001 0303)
bogomips : 36.73
timebase : 18432000
platform : PowerMac
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 256K unified
pmac-generation : NewWorld

uname -r: (in live system)
2.6.17-10-powerpc

Revision history for this message
Martin Pitt (pitti) wrote :

installer syslog

Revision history for this message
Martin Pitt (pitti) wrote :

dpkg -l linux-*:
un linux-doc-2.6.17 <none> (no description available)
un linux-headers <none> (no description available)
un linux-headers-2.6 <none> (no description available)
ii linux-headers-2.6.17-10 2.6.17-10.33 Header files related to Linux kernel version
ii linux-headers-2.6.17-10-powerpc 2.6.17-10.33 Linux kernel headers for version 2.6.17 on 3
ii linux-headers-2.6.17-10-powerpc64-smp 2.6.17-10.33 Linux kernel headers for version 2.6.17 on 6
ii linux-headers-powerpc 2.6.17.10 Linux kernel headers on PowerPC
ii linux-headers-powerpc64-smp 2.6.17.10 Linux kernel headers on PowerPC64 SMP
un linux-image <none> (no description available)
un linux-image-2.6 <none> (no description available)
ii linux-image-2.6.17-10-powerpc 2.6.17-10.33 Linux kernel image for version 2.6.17 on 32-
ii linux-image-2.6.17-10-powerpc64-smp 2.6.17-10.33 Linux kernel image for version 2.6.17 on 64-
ii linux-image-powerpc 2.6.17.10 Linux kernel image on PowerPC.
pn linux-image-powerpc64-smp <none> (no description available)
un linux-kernel-log-daemon <none> (no description available)
ii linux-powerpc 2.6.17.10 Complete Linux kernel on PowerPC.
pn linux-powerpc64-smp <none> (no description available)
ii linux-restricted-modules-2.6.17-10-powerpc 2.6.17.5-10 Non-free Linux 2.6.17 modules on PowerPC
ii linux-restricted-modules-2.6.17-10-powerpc64-smp 2.6.17.5-10 Non-free Linux 2.6.17 modules on PowerPC 64-
ii linux-restricted-modules-common 2.6.17.5-10 Non-free Linux 2.6.17 modules helper script
ii linux-restricted-modules-powerpc 2.6.17.10 Restricted Linux modules on PowerPC.
ii linux-restricted-modules-powerpc64-smp 2.6.17.10 Restricted Linux modules on PowerPC 64-bit S
ii linux-sound-base 1.0.11-5ubuntu1 base package for ALSA and OSS sound systems
un linux-source-2.6.17 <none> (no description available)

Revision history for this message
Martin Pitt (pitti) wrote :

With http://people.ubuntu.com/~cjwatson/tmp/ubiquity-testing.diff applied, /var/lib/ubiquity/remove-kernels contains 'linux-image-2.6.17-10-powerpc64-smp' and 'linux-image-powerpc64-smp'. However, the installed system still has all (image/headers/restricted-modules) the powerpc64-smp kernels installed, and there's only an initramfs for the 64smp kernel.

Revision history for this message
Martin Pitt (pitti) wrote :

Adding milestone, since this completely breaks all 32 bit powerpc installs.

Revision history for this message
Colin Watson (cjwatson) wrote :

With any luck:

ubiquity (1.2.3) edgy; urgency=low

  [ Colin Watson ]
  * Fix incorrect loop variable reuse in do_remove, and attempt multiple
    broken package resolution passes while removing packages (closes: Malone
    #66406).
  * Detect existing HFS bootstrap partitions during automatic partitioning
    and take account of them while validating mountpoints (closes: Malone
    #66384).
  * Fix crash on keyboard page if you select a layout with no variants.
  * Remove kernels before running update-initramfs so that we update the
    correct initramfs on powerpc. Make sure to fix up kernel/initrd symlinks
    after running update-initramfs, so that we have something to which to
    point the initrd symlink.

  [ Michael Vogt ]
  * Run fontconfig-voodoo to tweak fontconfig configuration for the selected
    language (closes: Malone #49334).

 -- Colin Watson <email address hidden> Mon, 16 Oct 2006 23:49:28 +0100

Changed in ubiquity:
assignee: nobody → kamion
importance: Undecided → High
status: Unconfirmed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

ubiquity (1.2.4) edgy; urgency=low

  * Use update-initramfs -c -k "$(uname -r)" rather than update-initramfs
    -u, as the latter gets very confused if we need to remove kernels, as on
    powerpc (really closes: Malone #66406).
  * Automatic update of included source packages: localechooser 1.20ubuntu8.

 -- Colin Watson <email address hidden> Tue, 17 Oct 2006 13:14:41 +0100

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.