I'm not sure what I'm doing wrong but a new 2.6.12 kernel that I built in lbe keeps bailing out on startup with:

'Kernel panic - not syncing: No init found. Try passing init= option to kernel.'

This is the /tftpboot/lts/2.6.12-ltsp-1/pxelinux.cfg/default:
---------------
prompt 0
label linux
  kernel bzImage-2.6.12-ltsp-1
  append init=/linuxrc rw root=/dev/ram0 initrd=initrd-2.6.12-ltsp-1.gz
---------------

That's the same as the working kernels.

The lbe package.def looks like this:

---------------
VERSION       = 1.1
KERNEL_VER    = 2.6.12
EXTRAVERSION  = ltsp-1
KERNEL_NAME   = ${KERNEL_VER}-${EXTRAVERSION}
RELEASE       = 0
PKG1COMPONENT = kernel_core
PKG1NAME      = ltsp_kernel_${KERNEL_VER}

PKG1       = linux-${KERNEL_VER}.tar.bz2
MD5SUM1    = c5d2a1b62e1dad502c871bba267337d5

SOURCE1    = ${TARBALL_SOURCE}/${PKG1},                         \
             ftp://ftp.kernel.org/pub/linux/kernel/v2.6/${PKG1}

UNPACK1    = bunzip2 < ${TARBALL} | tar xf -

PREPATCH1 = gzip -dc <../supermount-2.0.4-2.6.12-madgus.patch.gz | patch -p1

SOURCEDIR  = linux-${KERNEL_VER}

BUILDDIR   = linux-${KERNEL_VER}

CONFIGURE  = cp ../config .config &&                            \
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -${EXTRAVERSION}/" Makefile

BUILD      = CPUS=${CPUS} ../build_kernel ${KERNEL_VER} ${EXTRAVERSION}

CLEAN      = rm -rf  ${BUILDDIR} ${SOURCEDIR}
---------------

Any clues what to try next?

Jim -- By the way, I've built lbe with and without the i686 to i386 changes in lbe/crosscomp-src/glibc and gcc-full and the difference in build time was insignificant on my system. Then again maybe this is causing the problem? I don't think so, but I'll try it again and report back.

--Dan


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
     https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to