[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Kernel build failure



Bob Chiodini wrote:

On Fri, 2004-01-30 at 11:37, David Rigler wrote:

Hello

i used yum to download the kernel source which is linux-2.4.22-1.2149.nptl. i then copied config-2.4.22-1.2149.nptl from
/boot to /usr/src/linux-2.4/.config. Ran 'make oldconfig', 'make bzImage' ... etc BUT it does not produce a working kernel. During boot
'jbd' and 'ext3' modules complain about wrong version. The're for ....2149.nptl not the new ...2149.nptlcustom


The one possible strange thing is that 'make modules_install' ends
like this

mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}\
pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.22-1.2149.nptlcustom; fi
[root TESTBOX linux-2.4]#


as if that last line wasnt executed ?? and the script bombed ??

Any ideas whats going on ??



David,

Possibly the initrd is not being built.  Did you run mkinitrd after
building the new kernel?  Something like:

mkinitrd -v -f /boot/initrd-2.4.22-1.2149.nptl.img \
2.4.22-1.2149.nptlcustom

Bob...
---
Bob Chiodini
Senior Engineer
ASRC Aerospace
M/S ASRC-18
Kennedy Space Center, FL 32899
321-867-6313 (voice)
321-867-6300 (fax)
bob chiodini ksc nasa gov



thanks Bob that was the answer. (No mention of that in the README)


Dave





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]