Hallo,
ich habe den Kernel 2.4.9 kompiliert und installiert aber beim booten gibts Kernel
panic!
Fehlerausgabe
1. bei Boot-Process
2. bei Init-Prozess
Es sieht so aus als würde der Bootprozess den Init-Prozess nicht richtig
ausführen.
Warum bootet der kernel nicht?
Wo könnte der Fehler liegen?
Vielen Dank im vorraus, ich sitze an diesem Kernel schon seit Wochen!
beim Booten:
Init 2.82 booting
Unable to handle kernel NULL pointer dereference at virtual address
0000002e
printing eip: x 1 000001
c0106fe6
* pde 0 = 00000000
00ps:0000 , c e=c1419000)
CPU: 0 1 0 0 0 4 0000104 c14118000
EID: 0010:[<c0106fe6>]
eax: cf99fc4 weitere Register
....
Process boot /pid:16, Stackpage:cf993000)
Stack: cffa8240 cf
Dann noch 2 weitere Unable to handle .... bei virtual address 2f und 37
und natürlich:
Kernel panic: Attempted to kill Init!
nach:
make mrproper
make dep && make clean
make bzImage
Kernel mit 895 KB
"nach: make modules"
gcc -D__KERNEL__ -I/tmp/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferr
ed-stack-boundary=2 -march=athlon -DMODULE -DEXPORT_SYMTAB -c cpuid.c
gcc -D__KERNEL__ -I/tmp/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferr
ed-stack-boundary=2 -march=athlon -DMODULE -DEXPORT_SYMTAB -c microcode.c
make: Leaving directory `/tmp/linux/arch/i386/kernel'
make -C arch/i386/mm
CFLAGS="-D__KERNEL__ -I/tmp/linux/include -Wall -Wstrict-prototypes -Wno-tri
graphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpre
ferred-stack-boundary=2 -march=athlon -DMODULE" MAKING_MODULES=1 modules
make: Entering directory `/tmp/linux/arch/i386/mm'
make: Nothing to be done for `modules'.
make: Leaving directory `/tmp/linux/arch/i386/mm'
make -C arch/i386/lib
CFLAGS="-D__KERNEL__ -I/tmp/linux/include -Wall -Wstrict-prototypes -Wno-tri
graphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpre
ferred-stack-boundary=2 -march=athlon -DMODULE" MAKING_MODULES=1 modules
make: Entering directory `/tmp/linux/arch/i386/lib'
make: Nothing to be done for `modules'.
make: Leaving directory `/tmp/linux/arch/i386/lib'
linux:/tmp/linux #
"nach modules_install:"
make -C arch/i386/kernel modules_install
make: Entering directory `/tmp/linux/arch/i386/kernel'
mkdir -p /lib/modules/2.4.9/kernel/arch/i386/kernel/
cp msr.o cpuid.o microcode.o /lib/modules/2.4.9/kernel/arch/i386/kernel/
make: Leaving directory `/tmp/linux/arch/i386/kernel'
make -C arch/i386/mm modules_install
make: Entering directory `/tmp/linux/arch/i386/mm'
make: Nothing to be done for `modules_install'.
make: Leaving directory `/tmp/linux/arch/i386/mm'
make -C arch/i386/lib modules_install
make: Entering directory `/tmp/linux/arch/i386/lib'
make: Nothing to be done for `modules_install'.
make: Leaving directory `/tmp/linux/arch/i386/lib'
cd /lib/modules/2.4.9; \
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.9; fi
linux:/tmp/linux #
"dann hab ich Kernel nach /boot verschoben und die initrd erzeugt,denn
Ramdisk ist einkompiliert."
linux:/boot # mk_initrd -k vmlinuz.moe -i initrd.moe
using "/dev/hdd1" as root device (mounted on "/" as "reiserfs")
creating initrd "/boot/initrd.moe" for kernel "/boot/vmlinuz.moe" (2.4.9)
- insmod reiserfs (lib/modules/2.4.9/kernel/fs/reiserfs/reiserfs.o)
- insmod ide-scsi (lib/modules/2.4.9/kernel/drivers/scsi/ide-scsi.o)
- splash picture (1024x768)
linux:/boot #
Kernel bootet nicht
Re: Kernel bootet nicht
Hi, der kernel bootet schon.. nur crasht er schnell
Probier mal was anderes als init..
z.B. bei lilo sowas wie
'linux init=/bin/sh' , so wird kein init gestartet und du hast gleich eine shell, wo du etwas rumtesten kannst .. (ramcheck?!)
bye
Probier mal was anderes als init..
z.B. bei lilo sowas wie
'linux init=/bin/sh' , so wird kein init gestartet und du hast gleich eine shell, wo du etwas rumtesten kannst .. (ramcheck?!)
bye