- Boot into first kernel
- Load second kernel (kexec kernel) using kexec -l: kexec -l <kexec-kernel>
- Invoke kexec reboot: kexec -e

Result:
-------

- System boots up successfully
dmesg o/p of kexec-ed kernel :

llm15:/home/sharada/kexec-tools-1.101-kdump7/objdir/build/sbin # ./kexec -l ~sharada/linux-2.6.16-rc4-test/vmlinux-2
get memory ranges:2
Warning: append= option is not passed. Using the first kernel root partition
Modified cmdline:root=/dev/sda6
segment[0].mem:0x7d9000 memsz:8114176
segment[1].mem:0xf96000 memsz:36864
segment[2].mem:0x1effee000 memsz:69632
llm15:/home/sharada/kexec-tools-1.101-kdump7/objdir/build/sbin # ./kexec -e
Starting new kernel
Page orders: linear mapping = 24, others = 12
Found legacy serial port 1 for /pci@400000000110/isa@3/serial@i2f8
  port=2f8, taddr=3fd300002f8, irq=ffffffffffffffff, clk=1843200, speed=0
Found legacy serial port 0 for /pci@400000000110/isa@3/serial@i3f8
  port=3f8, taddr=3fd300003f8, irq=ffffffffffffffff, clk=1843200, speed=0
Found legacy serial port 2 for /pci@400000000110/isa@3/serial@i898
  port=898, taddr=3fd30000898, irq=ffffffffffffffff, clk=1843200, speed=0
Starting Linux PPC64 #14 SMP Wed Feb 22 18:57:36 IST 2006
-----------------------------------------------------
ppc64_pft_size                = 0x0
ppc64_interrupt_controller    = 0x2
platform                      = 0x100
physicalMemorySize            = 0x200000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0xc0000001f0000000
htab_hash_mask                = 0xfffff
-----------------------------------------------------
[boot]0100 MM Init
[boot]0100 MM Init Done
Linux version 2.6.16-rc4 (sharada@llm15) (gcc version 4.1.0 20060109 (prerelease) (SUSE Linux)) #14 SMP Wed Feb 22 18:57:36 IST 2006
[boot]0012 Setup Arch
No ramdisk, default root is /dev/sda2
PPC64 nvram contains 81920 bytes
Using default idle loop
Top of RAM: 0x200000000, Total RAM: 0x200000000
Memory hole size: 0MB
[boot]0015 Setup Done
Built 1 zonelists
Kernel command line: root=/dev/sda6
[boot]0020 XICS Init
[boot]0021 XICS Done
PID hash table entries: 4096 (order: 12, 131072 bytes)
time_init: decrementer frequency = 150.098170 MHz
time_init: processor frequency   = 1200.000000 MHz
Page orders: linear mapping = 24, others = 12
Found legacy serial port 1 for /pci@400000000110/isa@3/serial@i2f8
  port=2f8, taddr=3fd300002f8, irq=ffffffffffffffff, clk=1843200, speed=0
Found legacy serial port 0 for /pci@400000000110/isa@3/serial@i3f8
  port=3f8, taddr=3fd300003f8, irq=ffffffffffffffff, clk=1843200, speed=0
Found legacy serial port 2 for /pci@400000000110/isa@3/serial@i898
  port=898, taddr=3fd30000898, irq=ffffffffffffffff, clk=1843200, speed=0
Starting Linux PPC64 #14 SMP Wed Feb 22 18:57:36 IST 2006
-----------------------------------------------------
ppc64_pft_size                = 0x0
ppc64_interrupt_controller    = 0x2
platform                      = 0x100
physicalMemorySize            = 0x200000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0xc0000001f0000000
htab_hash_mask                = 0xfffff
-----------------------------------------------------
[boot]0100 MM Init
[boot]0100 MM Init Done
Linux version 2.6.16-rc4 (sharada@llm15) (gcc version 4.1.0 20060109 (prerelease) (SUSE Linux)) #14 SMP Wed Feb 22 18:57:36 IST 2006
[boot]0012 Setup Arch
No ramdisk, default root is /dev/sda2
PPC64 nvram contains 81920 bytes
Using default idle loop
Top of RAM: 0x200000000, Total RAM: 0x200000000
Memory hole size: 0MB
[boot]0015 Setup Done
Built 1 zonelists
Kernel command line: root=/dev/sda6
[boot]0020 XICS Init
[boot]0021 XICS Done
PID hash table entries: 4096 (order: 12, 131072 bytes)
time_init: decrementer frequency = 150.098170 MHz
time_init: processor frequency   = 1200.000000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Memory: 8065008k/8388608k available (5152k kernel code, 322976k reserved, 2228k
data, 540k bss, 324k init)
Mount-cache hash table entries: 256
Processor 1 found.
Processor 2 found.
Processor 3 found.
Brought up 4 CPUs
migration_cost=415
NET: Registered protocol family 16
PCI: Probing PCI hardware
Failed to request PCI IO region on PCI domain 0000
Using INTC for W82c105 IDE controller.
IOMMU table initialized, virtual merging enabled
ISA bridge at 0000:00:03.0
mapping IO 3fd30000000 -> d000080000000000, size: 100000
mapping IO 3fd40000000 -> d000080000100000, size: 100000
mapping IO 3fd50000000 -> d000080000200000, size: 100000
mapping IO 3fca0000000 -> d000080000300000, size: 100000
mapping IO 3fcb0000000 -> d000080000400000, size: 100000
PCI: Probing PCI hardware done
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
RTAS daemon started
audit: initializing netlink socket (disabled)
audit(1140688649.667:1): initialized
Total HugeTLB memory allocated, 0
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Using unsupported 640x480 display at 3fdec000000, depth=8, pitch=640
Console: switching to colour frame buffer device 80x30
fb0: Open Firmware frame buffer device on /pci@400000000112/pci@2,6/pci@1/display@0
HVSI: registered 0 devices
Generic RTC Driver v1.07
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial8250.0: ttyS2 at I/O 0x898 (irq = 10) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 6.3.9-k2
Copyright (c) 1999-2005 Intel Corporation.
pcnet32.c:v1.31c 01.Nov.2005 tsbogend@alpha.franken.de
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
e100: eth0: e100_probe: addr 0x3fd88030000, irq 101, MAC addr 00:02:55:CF:3E:98
e100: eth1: e100_probe: addr 0x3fde8030000, irq 133, MAC addr 00:02:55:CF:3E:99
e100: eth2: e100_probe: addr 0x3fc80030000, irq 179, MAC addr 00:0D:60:0B:3A:B8
PCI: Unable to reserve mem region #3:20000@3fcc0000000 for device 0004:01:01.0
e100: 0004:01:01.0: e100_probe: Cannot obtain PCI resources, aborting.
e100: probe of 0004:01:01.0 failed with error -16
drivers/net/ibmveth.c: ibmveth: IBM i/pSeries Virtual Ethernet Driver 1.03
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
W82C105: IDE controller at PCI slot 0000:00:03.1
W82C105: chipset revision 5
W82C105: 100% native mode on irq 102
    ide0: BM-DMA at 0xf040-0xf047, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf048-0xf04f, BIOS settings: hdc:DMA, hdd:DMA
hda: HL-DT-ST CD-ROM GCR-8482B, ATAPI CD/DVD-ROM drive
hda: selected PIO 4 (120ns) (0240)
hda: DMA enabled
ide0 at 0xf000-0xf007,0xf012 on irq 102
hda: ATAPI 48X CD-ROM drive, 128kB Cache, (U)DMA
Uniform CD-ROM driver Revision: 3.20
sym0: <1010-66> rev 0x1 at pci 0000:41:01.0 irq 103
sym0: No NVRAM, ID 7, Fast-80, LVD, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.2.2
 target0:0:8: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 31)
  Vendor: IBM       Model: IC35L036UCDY10-0  Rev: S28G
  Type:   Direct-Access                      ANSI SCSI revision: 03
 target0:0:8: tagged command queuing enabled, command queue depth 16.
 target0:0:8: Beginning Domain Validation
 target0:0:8: asynchronous
 target0:0:8: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 31)
 target0:0:8: Domain Validation skipping write tests
 target0:0:8: Ending Domain Validation
 target0:0:9: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 31)
  Vendor: IBM       Model: IC35L036UCDY10-0  Rev: S28G
  Type:   Direct-Access                      ANSI SCSI revision: 03
 target0:0:9: tagged command queuing enabled, command queue depth 16.
 target0:0:9: Beginning Domain Validation
 target0:0:9: asynchronous
 target0:0:9: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 31)
 target0:0:9: Domain Validation skipping write tests
 target0:0:9: Ending Domain Validation
 target0:0:10: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 31)
  Vendor: IBM       Model: IC35L036UCDY10-0  Rev: S28G
  Type:   Direct-Access                      ANSI SCSI revision: 03
 target0:0:10: tagged command queuing enabled, command queue depth 16.
 target0:0:10: Beginning Domain Validation
 target0:0:10: asynchronous
 target0:0:10: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 31)
 target0:0:10: Domain Validation skipping write tests
 target0:0:10: Ending Domain Validation
 target0:0:11: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 31)
  Vendor: IBM       Model: IC35L036UCDY10-0  Rev: S28G
  Type:   Direct-Access                      ANSI SCSI revision: 03
 target0:0:11: tagged command queuing enabled, command queue depth 16.
 target0:0:11: Beginning Domain Validation
 target0:0:11: asynchronous
 target0:0:11: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 31)
 target0:0:11: Domain Validation skipping write tests
 target0:0:11: Ending Domain Validation
  Vendor: IBM       Model: HSBPD4E  PU3SCSI  Rev: 0018
  Type:   Enclosure                          ANSI SCSI revision: 02
 target0:0:15: Beginning Domain Validation
 0:0:15:0: phase change 6-7 6@40040ba0 resid=4.
 target0:0:15: asynchronous
 target0:0:15: Ending Domain Validation
sym1: <1010-66> rev 0x1 at pci 0000:41:01.1 irq 104
sym1: No NVRAM, ID 7, Fast-80, LVD, parity checking
sym1: SCSI BUS has been reset.
scsi1 : sym-2.2.2
sym2: <875> rev 0x3 at pci 0001:21:01.0 irq 117
sym2: No NVRAM, ID 7, Fast-20, SE, parity checking
sym2: SCSI BUS has been reset.
scsi2 : sym-2.2.2
sym3: <875> rev 0x3 at pci 0001:61:01.0 irq 121
sym3: No NVRAM, ID 7, Fast-20, SE, parity checking
sym3: SCSI BUS has been reset.
scsi3 : sym-2.2.2
ipr: IBM Power RAID SCSI Device Driver version: 2.1.2 (February 8, 2006)
ipr 0003:61:01.0: Found IOA with IRQ: 185
ipr 0003:61:01.0: Initializing IOA.
ipr 0003:61:01.0: Starting IOA initialization sequence.
ipr 0003:61:01.0: Adapter firmware version: 0208002F
ipr 0003:61:01.0: IOA initialized.
scsi4 : IBM 5702 Storage Adapter
  Vendor: IBM       Model: ST336607LC        Rev: C50H
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: IBM       Model: ST336607LC        Rev: C50H
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: IBM       Model: HSBPD6X2 PU4SCSI  Rev: 0018
  Type:   Enclosure                          ANSI SCSI revision: 02
scsi: unknown device type 31
  Vendor: IBM       Model: 5702001           Rev: 0150
  Type:   Unknown                            ANSI SCSI revision: 00
ipr 0004:61:01.0: Found IOA with IRQ: 201
ipr 0004:61:01.0: Initializing IOA.
ipr 0004:61:01.0: Starting IOA initialization sequence.
ipr 0004:61:01.0: Adapter firmware version: 0208002F
ipr 0004:61:01.0: IOA initialized.
scsi5 : IBM 5702 Storage Adapter
  Vendor: IBM       Model: ST336607LC        Rev: C50H
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: IBM       Model: ST336607LC        Rev: C50H
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: IBM       Model: HSBPD6X1 PU4SCSI  Rev: 0018
  Type:   Enclosure                          ANSI SCSI revision: 02
scsi: unknown device type 31
  Vendor: IBM       Model: 5702001           Rev: 0150
  Type:   Unknown                            ANSI SCSI revision: 00
st: Version 20050830, fixed bufsize 32768, s/g segs 256
SCSI device sda: 71096640 512-byte hdwr sectors (36401 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write through
SCSI device sda: 71096640 512-byte hdwr sectors (36401 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write through
 sda: sda1 sda2 < sda5 sda6 sda7 >
sd 0:0:8:0: Attached scsi disk sda
SCSI device sdb: 71096640 512-byte hdwr sectors (36401 MB)
sdb: Write Protect is off
SCSI device sdb: drive cache: write through
SCSI device sdb: 71096640 512-byte hdwr sectors (36401 MB)
sdb: Write Protect is off
SCSI device sdb: drive cache: write through
 sdb:
sd 0:0:9:0: Attached scsi disk sdb
SCSI device sdc: 71096640 512-byte hdwr sectors (36401 MB)
sdc: Write Protect is off
SCSI device sdc: drive cache: write through
SCSI device sdc: 71096640 512-byte hdwr sectors (36401 MB)
sdc: Write Protect is off
SCSI device sdc: drive cache: write through
 sdc: unknown partition table
sd 0:0:10:0: Attached scsi disk sdc
SCSI device sdd: 71096640 512-byte hdwr sectors (36401 MB)
sdd: Write Protect is off
SCSI device sdd: drive cache: write through
SCSI device sdd: 71096640 512-byte hdwr sectors (36401 MB)
sdd: Write Protect is off
SCSI device sdd: drive cache: write through
 sdd: sdd1 sdd3
sd 0:0:11:0: Attached scsi disk sdd
SCSI device sde: 71096640 512-byte hdwr sectors (36401 MB)
sde: Write Protect is off
SCSI device sde: drive cache: write through w/ FUA
SCSI device sde: 71096640 512-byte hdwr sectors (36401 MB)
sde: Write Protect is off
SCSI device sde: drive cache: write through w/ FUA
 sde: sde1 sde2 sde4 < sde5 sde6 >
sd 4:0:8:0: Attached scsi disk sde
SCSI device sdf: 71096640 512-byte hdwr sectors (36401 MB)
sdf: Write Protect is off
SCSI device sdf: drive cache: write through w/ FUA
SCSI device sdf: 71096640 512-byte hdwr sectors (36401 MB)
sdf: Write Protect is off
SCSI device sdf: drive cache: write through w/ FUA
 sdf: sdf1
sd 4:0:9:0: Attached scsi disk sdf
SCSI device sdg: 71096640 512-byte hdwr sectors (36401 MB)
sdg: Write Protect is off
SCSI device sdg: drive cache: write through w/ FUA
SCSI device sdg: 71096640 512-byte hdwr sectors (36401 MB)
sdg: Write Protect is off
SCSI device sdg: drive cache: write through w/ FUA
 sdg:
sd 5:0:8:0: Attached scsi disk sdg
SCSI device sdh: 71096640 512-byte hdwr sectors (36401 MB)
sdh: Write Protect is off
SCSI device sdh: drive cache: write through w/ FUA
SCSI device sdh: 71096640 512-byte hdwr sectors (36401 MB)
sdh: Write Protect is off
SCSI device sdh: drive cache: write through w/ FUA
 sdh:
sd 5:0:9:0: Attached scsi disk sdh
sd 0:0:8:0: Attached scsi generic sg0 type 0
sd 0:0:9:0: Attached scsi generic sg1 type 0
sd 0:0:10:0: Attached scsi generic sg2 type 0
sd 0:0:11:0: Attached scsi generic sg3 type 0
 0:0:15:0: Attached scsi generic sg4 type 13
sd 4:0:8:0: Attached scsi generic sg5 type 0
sd 4:0:9:0: Attached scsi generic sg6 type 0
 4:0:15:0: Attached scsi generic sg7 type 13
 4:255:255:255: Attached scsi generic sg8 type 31
sd 5:0:8:0: Attached scsi generic sg9 type 0
sd 5:0:9:0: Attached scsi generic sg10 type 0
 5:0:15:0: Attached scsi generic sg11 type 13
 5:255:255:255: Attached scsi generic sg12 type 31
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
atkbd.c: keyboard reset failed on isa0060/serio1
md: raid1 personality registered for level 1
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
   8regs     :  3301.000 MB/sec
   8regs_prefetch:  2545.000 MB/sec
   32regs    :  2895.000 MB/sec
   32regs_prefetch:  2534.000 MB/sec
raid5: using function: 8regs (3301.000 MB/sec)
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
input: AT Raw Set 2 keyboard as /class/input/input0
oprofile: using ppc64/power4 performance monitoring.
Netfilter messages via NETLINK v0.30.
NET: Registered protocol family 2
IP route cache hash table entries: 524288 (order: 10, 4194304 bytes)
TCP established hash table entries: 1048576 (order: 12, 16777216 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 1048576 bind 65536)
TCP reno registered
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: sda6: orphan cleanup on readonly fs
EXT3-fs: sda6: 3 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 324k freed
INIT: version 2.86 booting
.
.
.
.
Welcome to SUSE LINUX Enterprise Server 9.90 Beta2 (ppc) - Kernel 2.6.16-rc4 (ttyS0).
 
llm15 login: