From: Tony C. <Ton...@re...> - 2006-08-14 22:55:37
|
Thanks for your help. Here is the console output at the end and just reboot itself: # mkd_load start mkd_load. sleeping... '/lib/modules/2.bdev is 0xc39fbf00 4.21-47.EL.rftsmbdev_get returns is 0x0 p/kernel/arch/i3kimage_alloc ok 86/kernel/mkexecminik commandline: dump_dev=0x300005 dump_pfn=0x37404 maxcpus=1 mem=16M ro console=tty0 console=ttyS0,19200n8 lpj=2367488 no-hlt dump_delay=590.o' is loaded. ***setup memory **** 0 25c00000 90 0 90000 25c90000 1 1 91000 25c91000 6f 0 100000 25d00000 19e 1 29e000 25e9e000 162 0 400000 25800000 400 0 800000 25400000 7 1 807000 25407000 3f9 0 c00000 25000000 400 0 mkexec: kernel image ok... '/boot/minik-2.6.9.bin' is loaded. . . . # echo 2 > /proc/mkexec/stats Kernel panic: Compulsory dump(stat of mkexec was set as 2). ------------[ cut here ]------------ kernel BUG at panic.c:217! invalid operand: 0000 mkexec vpnmod_smp.2.4.21.i686 fwmod_smp.2.4.21.i686 vpntmod_smp.2.4.21.i686 pser rft e1000 CPU: 1 EIP: 0060:[<c0129d6f>] Tainted: PF EFLAGS: 00010282 EIP is at panic [kernel] 0x6f (2.4.21-47.EL.rftsmp/i686) eax: f90c4510 ebx: 00000002 ecx: c0378fb0 edx: 000067dc esi: eaaea180 edi: ffffffea ebp: 00000002 esp: f1dabf60 ds: 0068 es: 0068 ss: 0068 Process bash (pid: 11210, stackpage=f1dab000) Stack: c02b5a83 c0481440 f1dabf7c 00000002 eaaea180 f90c3ede f90c5cf0 f1dabf8e 00000002 eaaea1a0 00000002 00320000 00000000 c0166697 eaaea180 b75f6000 00000002 eaaea1a0 f1daa000 00000007 f1daa000 00000002 b75f6000 bfffd758 Call Trace: [<f90c3ede>] f: 140 108 mkexec_write_stats [mkexec] 0xce [<f90c5cf0>] -. 136 -1 .rodata.str1.4 [mkexec] 0x1b4 [<c0166697>] f; 108 64 sys_write [kernel] 0x97 [<c02a506f>] -* 64 -1 no_timing [kernel] 0x7 Code: 0f 0b d9 00 98 5a 2b c0 b9 00 e0 ff ff 21 e1 8b 51 20 c1 e2 minik: Mini Kernel Dump Start. dump cpu = 0 St<ar0t>Kienrg nemiln ipa kneircn:e =l*==*F* a*l* *e xrceepatdyi otno== c=a at l image type 2.... l *** image->reboot_code_addr 37407000 *** image->start 00090a80 *** image->swap_page_addr 28ab2000 *** cpu_has_pae 00000001 *** new_addr 00000000....@ ../arch/i386/kernel/machine_mkexec.c *** start_addr 00090a80....@ ../arch/i386/kernel/machine_mkexec.c Note: I have added some more printk inside machine_mkexec.c and other files. The size of mini kernel is: # ls -l minik-2.6.9.bin -rwx------ 1 root root 1691782 Aug 11 17:59 minik-2.6.9.bin Do you think the loading and executing of mini-kernel is ok? Or the mini-kernel is not build properly. Apparently, no console output after that. Actually, the dump_delay flag is not working. It simply reboot after a while. Thanks again. Itsuro Oda wrote: > Hi, > > Can you show me console log ? > > Thanks. > Itsuro Oda > > On Fri, 11 Aug 2006 17:27:58 -0700 > Tony Chung <Ton...@re...> wrote: > > |