Hallo zusammen,
ich habe gestern zum ersten Mal selbst einen Kernel kompiliert nach dieser Anleitung: http://www.pur3gaming.com/showthread.php?t=5 Ich habe mich für den Patched 2.6.23.9 Kernel entschieden. Nur zum kompilieren habe ich andere Befehle verwendet, weil unter Suse 10.3 Befehle wie make-kpkg und dpkg nicht verfügbar sind. Ich habe den Kernel und die Module mit "make all" kompiliert und anschliessend die module mit "make modules_install" installiert. Mit "make bzImage" habe ich das Image erstellt und habe anschliessend die Dateien in den /boot Ordner kopiert
cp ./arch/i386/boot/bzImage /boot/vmlinuz-2.6.23.9-rt13
cp ./System.map /boot/System.map-2.6.23.9-rt13
Die Ramdisk habe ich so erstellt:
Den Bootloader (Grub) habe ich auch angepasst:
# Modified by YaST2. Last modification on Sun May 4 17:15:21 CEST 2008
default 0
timeout 8
serial --unit=0 --speed=57600
terminal serial
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3
root (hd0,0)
kernel /boot/vmlinuz-2.6.23.9-rt13 root=/dev/hda3 selinux=0 resume=/dev/hda2 desktop console=tty0 console=ttyS0,57600 resume=/dev/hda2 splash=silent showopts
initrd /boot/initrd-2.6.23.9-rt13
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3
root (hd0,0)
kernel /vmlinuz root=/dev/hda3 showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /initrd
Alles anzeigen
Wenn ich versuche das System normal zu booten erhalte ich immer folgende Fehlermeldung beim Booten:
Using IPI No-Shortcut mode
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
*****************************************************************************
* *
* REMINDER, the following debugging option is turned on in your .config: *
* *
* CONFIG_FUNCTION_TRACE *
* *
* it may increase runtime overhead and latencies. *
* *
*****************************************************************************
Freeing unused kernel memory: 324k freed
BUG: unable to handle kernel paging request at virtual address 3c0f2ffc
printing eip:
c016eaed
*pde = 00000000
stopped custom tracer.
Oops: 0000 [#1]
SMP
Modules linked in:
CPU: 0
EIP: 0060:[<c016eaed>] Not tainted VLI
EFLAGS: 00010206 (2.6.23.9-rt13-default #2)
EIP is at handle_mm_fault+0xdc/0x7c7
eax: 3c0f2000 ebx: c1000000 ecx: 00000ffc edx: 00000007
esi: dff7f5c0 edi: 3c0f2ffc ebp: c1ac3e08 esp: c1ac3d94
ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068 preempt:00000000
Process swapper (pid: 1, ti=c1ac2000 task=c1ac1670 task.ti=c1ac2000)
Stack: dff81e40 dff80bfc bffffff6 defd5240 c1ac3ea8 c1ac3e60 c01813ae c1ac3dc4
c1ac3e4c 00000001 00000ffc dff80bfc c04141c0 00000044 00000000 c011f605
c1ac3e08 c016cf8e dff81e40 bffffff6 00000001 bffff000 00000001 c0170e0d
Call Trace:
[<c01069bc>] show_trace_log_lvl+0x35/0x54
[<c0106a88>] show_stack_log_lvl+0xad/0xba
[<c0106c96>] show_registers+0x201/0x306
[<c0106ec8>] die+0x12d/0x285
[<c011ec3b>] do_page_fault+0x5a8/0x6a9
[<c0306162>] error_code+0x72/0x80
[<c016f439>] get_user_pages+0x261/0x333
[<c01852cb>] get_arg_page+0x56/0xa1
[<c01853ef>] copy_strings+0xd9/0x190
[<c01854dc>] copy_strings_kernel+0x36/0x47
[<c0186a5e>] do_execve+0xff/0x1de
[<c010384c>] sys_execve+0x40/0x8e
[<c01052ff>] syscall_call+0x7/0xb
=======================
Code: 0c ba 07 00 00 00 c1 e0 05 8d 04 03 e8 db e9 fa ff 90 8b 4d 10 c1 e9 0a 81 e1 fc 0f 00 00 89 cf 89 4d b4 01 c7 0f 84 d9 06 00 00 <8b> 1f f6 c3 81 0f 85 cf 05 00 00 85 db 0f 85 58 02 00 00 8b 55
EIP: [<c016eaed>] handle_mm_fault+0xdc/0x7c7 SS:ESP 0068:c1ac3d94
Kernel panic - not syncing: Attempted to kill init!
[<c01069bc>] show_trace_log_lvl+0x35/0x54
[<c01076be>] show_trace+0x2c/0x2e
[<c01076e9>] dump_stack+0x29/0x2b
[<c01293c3>] panic+0x5c/0x11c
[<c012c366>] do_exit+0x77/0x7bd
[<c0106fe9>] die+0x24e/0x285
[<c011ec3b>] do_page_fault+0x5a8/0x6a9
[<c0306162>] error_code+0x72/0x80
[<c016f439>] get_user_pages+0x261/0x333
[<c01852cb>] get_arg_page+0x56/0xa1
[<c01853ef>] copy_strings+0xd9/0x190
[<c01854dc>] copy_strings_kernel+0x36/0x47
[<c0186a5e>] do_execve+0xff/0x1de
[<c010384c>] sys_execve+0x40/0x8e
[<c01052ff>] syscall_call+0x7/0xb
=======================
Alles anzeigen
Für eure Hilfe bin ich euch sehr dankbar.
- Mfg fipu