On Fri, 2008-10-31 at 12:56 +0000, Ian Campbell wrote: > > > The installtion itself worked great but d-i failed to install an > > appropriate kernel for Xen Paravirt so the system failed to boot. > > To fix this up I mounted the partition in the dom0 and installed the > > correct kernel. d-i installed linux-image-2.6.26-1-486 while it > > should have picked linux-image-2.6.26-1-xen-686 (this also pulls in > > libc6-xen via a Recommends). Seems base-installer/kernel/i386.sh > > needs an detect_xen_paravirt? > > d-i should have installed the 686-bigmem image when running under Xen > due to the use of the 686-bigmem kernel for the Xen variant of the > installer. I'll investigate why this didn't happen.
It seems to be down to: > > /proc/cpuinfo: vendor_id : CentaurHauls which due to the changeset below which will cause the installer to choose the -486 kernel. Strangely the 686 kernel seems to work for you in dom0 and domU but I guess you were just lucky somehow? Or is the changeset below too general? Ian. commit 66aeb43385f358ea05f23413d4de014529a243ef Author: lunar <[EMAIL PROTECTED]> Date: Sun Aug 17 00:11:12 2008 +0000 Use -486 flavour for all CentaurHauls processors As they lack long NOP instructions, -686 kernels since 2.6.22+ fail to boot on these processors even if they claim 686 compatibility. (Closes: #492751) git-svn-id: svn+ssh://svn.debian.org/svn/d-i/[EMAIL PROTECTED] 48c42b26-1dd6-0310-b98f-a58d8bce7237 diff --git a/packages/base-installer/debian/changelog b/packages/base-installer/debian/changelog index 7f66c6d..5025d2f 100644 --- a/packages/base-installer/debian/changelog +++ b/packages/base-installer/debian/changelog @@ -4,6 +4,11 @@ base-installer (1.94) UNRELEASED; urgency=low * Allow to select driver inclusion policy for initramfs-tools Closes: #494466 + [ Jérémy Bobbio ] + * i386: Use -486 flavour for all CentaurHauls processors. As they lack long + NOP instructions, -686 kernels since 2.6.22+ fail to boot on these + processors even if they claim 686 compatibility. Closes: #492751 + -- Christian Perrier <[EMAIL PROTECTED]> Sat, 16 Aug 2008 19:50:35 -0300 base-installer (1.93) unstable; urgency=low diff --git a/packages/base-installer/kernel/i386.sh b/packages/base-installer/kernel/i386.sh index 6204765..e0a607d 100644 --- a/packages/base-installer/kernel/i386.sh +++ b/packages/base-installer/kernel/i386.sh @@ -34,17 +34,10 @@ arch_get_kernel_flavour () { esac ;; " CentaurHauls") - case "$FAMILY" in - " 6") - case "$MODEL" in - " 9"|" 10") echo 686$BIGMEM ;; - *) echo 486 ;; - esac - ;; - *) - echo 486 ;; - esac - ;; + # x86 VIA Nehemiah CentaurHauls does not boot with -686 + # since 2.6.22+ since they lack long NOP instructions. + # See: http://lkml.org/lkml/2008/7/22/263 + echo 486 ;; *) echo 486 ;; esac -- Ian Campbell Current Noise: Ramesses - Ramesses Part 3 The cost of feathers has risen, even down is up! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]