kexec

Xiangfu Liu xiangfu at sharism.cc
Thu Sep 15 02:20:24 EDT 2011


On 09/12/2011 06:25 PM, Andrea Bolognani wrote:
> On Sun, Sep 11, 2011 at 02:45:02PM +0400, Yury Bushmelev wrote:
>
>> >  If system boot ok you may check dmesg or /proc/cmdline for
>> >  test_kexec_cmdline tag.
>> >  If system does not boot, you can't check w/o serial console, imho.
> No luck: it still hangs.
>
> I’m going to abandon the kexec route for now; if anyone feels like
> tracking this down and fixing it please keep us posted.
>

Hi

seems we meet different errors.
I will try to enable the "Built-in kernel command line" and try again

Linux version 2.6.37.6 -->Linux version 2.6.37.6
Linux version 2.6.37.6 -->Linux version 3.0
Linux version 3.0 -->Linux version 2.6.37.6
   the screen stop after exec 'kexec -e', no more message
   more info about this may relate to :http://en.qi-hardware.com/irclogs/qi-hardware_2011-03-03.log.html#t09:12


Linux version 3.0 -->Linux version 3.0
   the screen keep output kernel message. end with:
   Kernel panic - not syncing VFS: Unable to mount root fs on unknown-block(0.0)


the images I used is under:
   http://downloads.qi-hardware.com/people/xiangfu/tmp/linux-2.6-kexec/
   http://downloads.qi-hardware.com/people/xiangfu/tmp/linux-3.0-kexec/


More Serial console logs:
==== Linux version 2.6.37.6 -->Linux version 2.6.37.6  ====
[   13.220000] tun: Universal TUN/TAP device driver, 1.6
[   13.250000] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[   13.620000] fuse init (API version 7.15)
[   33.920000] Starting new kernel
[   33.920000] Will call new kernel at 003199e0
[   33.920000] Bye ...
[    0.000000] Linux version 2.6.37.6 (xiangfu at fidelio) (gcc version 4.5.4 20110526 (prerelease) (Linaro GCC 4.5-2011.06-0) ) #1 PREEMPT Wed Sep 14 05:02:30 CEST 2011
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0ad0024f (Ingenic JZRISC)
[    0.000000] Determined physical RAM map:
[    0.000000] Kernel panic - not syncing: Incorrect memory mapping !!!


==== Linux version 2.6.37.6 -->Linux version 3.0  ====
[   37.470000] Starting new kernel
[   37.480000] Will call new kernel at 00310ff0
[   37.480000] Bye ...
[    0.000000] Linux version 3.0.0 (xiangfu at macbook) (gcc version 4.5.4 20110526 (prerelease) (Linaro GCC 4.5-2011.06-0) ) #1 PREEMPT Wed Sep 14 15:34:11 CST 2011
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0ad0024f (Ingenic JZRISC)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 8128
[    0.000000] Kernel command line:
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Memory: 27920k/32768k available (3111k kernel code, 4848k reserved, 1015k data, 160k init, 0k highmem)
[    0.000000] NR_IRQS:190
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled, bootconsole disabled

==== Linux version 3.0 -->Linux version 2.6.37.6 ====
[   35.060000] Starting new kernel
[   35.070000] Will call new kernel at 003199e0
[   35.070000] Bye ...
[    0.000000] Linux version 2.6.37.6 (xiangfu at fidelio) (gcc version 4.5.4 20110526 (prerelease) (Linaro GCC 4.5-2011.06-0) ) #1 PREEMPT Wed Sep 14 05:02:30 CEST 2011
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0ad0024f (Ingenic JZRISC)
[    0.000000] Determined physical RAM map:
[    0.000000] Kernel panic - not syncing: Incorrect memory mapping !!!


==== Linux version 3.0 -->Linux version 3.0 ====

[   38.520000] Starting new kernel
[   38.530000] Will call new kernel at 00310ff0
[   38.530000] Bye ...
[    0.000000] Linux version 3.0.0 (xiangfu at macbook) (gcc version 4.5.4 20110526 (prerelease) (Linaro GCC 4.5-2011.06-0) ) #1 PREEMPT Wed Sep 14 15:34:11 CST 2011
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0ad0024f (Ingenic JZRISC)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 8128
[    0.000000] Kernel command line:
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Memory: 27920k/32768k available (3111k kernel code, 4848k reserved, 1015k data, 160k init, 0k highmem)
[    0.000000] NR_IRQS:190
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled, bootconsole disabled




More information about the discussion mailing list


interactive