- Boot first kernel with commandline parameter "crashkernel=128M@32M"
- Load second (kdump) kernel using kexec -p: kexec -p <second kernel>
- Invoke kdump reboot using sysrq: echo c > /proc/sysrq-trigger

Result:
-------

- System boots up successfully

- dmesg o/p of successfully booted kdump kernel:
llm15:/home/sharada/kexec-tools-1.101-kdump7/objdir/build/sbin # ./kexec -p ~sharada/linux-2.6.16-rc4-test/vmlinux-3
get memory ranges:2
Warning: append= option is not passed. Using the first kernel root partition
Modified cmdline: elfcorehdr=40724K savemaxmem=8192M root=/dev/sda6
segment[0].mem:0x2000000 memsz:8110080
segment[1].mem:0x27bc000 memsz:36864
segment[2].mem:0x27c5000 memsz:4096
segment[3].mem:0x27c6000 memsz:36864
segment[4].mem:0x9fef000 memsz:69632
llm15:/home/sharada/kexec-tools-1.101-kdump7/objdir/build/sbin #
llm15:/home/sharada/kexec-tools-1.101-kdump7/objdir/build/sbin # echo c > /proc/sysrq-trigger
SysRq : Trigger a crashdump
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 #15 SMP Wed Feb 22 19:04:12 IST 2006
-----------------------------------------------------
ppc64_pft_size                = 0x0
ppc64_interrupt_controller    = 0x2
platform                      = 0x100
physicalMemorySize            = 0xcaf1000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0xc000000009800000
htab_hash_mask                = 0x7fff
physical_start                = 0x2000000
-----------------------------------------------------
[boot]0100 MM Init
IO Hole assumed to be a000000 -> 2fd0efff
[boot]0100 MM Init Done
Linux version 2.6.16-rc4 (sharada@llm15) (gcc version 4.1.0 20060109 (prerelease) (SUSE Linux)) #15 SMP Wed Feb 22 19:04:12 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: 0xcaf1000
Memory hole size: 7989MB
[boot]0015 Setup Done
Built 1 zonelists
Kernel command line:  elfcorehdr=40724K savemaxmem=8192M root=/dev/sda6
[boot]0020 XICS Init
[boot]0021 XICS Done
PID hash table entries: 1024 (order: 10, 32768 bytes)
time_init: decrementer frequency = 150.098229 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 #15 SMP Wed Feb 22 19:04:12 IST 2006
-----------------------------------------------------
ppc64_pft_size                = 0x0
ppc64_interrupt_controller    = 0x2
platform                      = 0x100
physicalMemorySize            = 0xcaf1000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0xc000000009800000
htab_hash_mask                = 0x7fff
physical_start                = 0x2000000
-----------------------------------------------------
[boot]0100 MM Init
IO Hole assumed to be a000000 -> 2fd0efff
[boot]0100 MM Init Done
Linux version 2.6.16-rc4 (sharada@llm15) (gcc version 4.1.0 20060109 (prerelease) (SUSE Linux)) #15 SMP Wed Feb 22 19:04:12 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: 0xcaf1000
Memory hole size: 7989MB
[boot]0015 Setup Done
Built 1 zonelists
Kernel command line:  elfcorehdr=40724K savemaxmem=8192M root=/dev/sda6
[boot]0020 XICS Init
[boot]0021 XICS Done
PID hash table entries: 1024 (order: 10, 32768 bytes)
time_init: decrementer frequency = 150.098229 MHz
time_init: processor frequency   = 1200.000000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Memory: 114552k/207812k available (5152k kernel code, 114524k reserved, 2224k 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=3
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(1140690846.347: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
atkbd.c: keyboard reset failed on isa0060/serio1
md: raid0 personality registered for level 0
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     : 78898.000 MB/sec
   8regs_prefetch:     1.000 MB/sec
   32regs    :     1.000 MB/sec
   32regs_prefetch: 90853.000 MB/sec
raid5: using function: 32regs_prefetch (90853.000 MB/sec)
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
input: AT Raw Set 2 keyboard as /class/input/input0
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
oprofile: using ppc64/power4 performance monitoring.
Netfilter messages via NETLINK v0.30.
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 2, 16384 bytes)
TCP established hash table entries: 8192 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
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
.
.
.
.
SUSE LINUX Enterprise Server 9.90 Beta2 (ppc) - Kernel 2.6.16-rc4 (ttyS0).
 
 
llm15 login:

llm15:~ # gdb ~sharada/linux-2.6.16-rc4-test/vmlinux-1-dbg /proc/vmcore
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc64-suse-linux"...Using host libthread_db library
"/lib64/libthread_db.so.1".
 
#0  default_idle () at reg.h:636
636                     mtspr(SPRN_CTRLT, ctrl);
(gdb) info threads
* 4 process 0  default_idle () at reg.h:636
* 3 process 0  default_idle () at reg.h:636
  2 process 5256  0xc0000000000738a0 in crash_kexec (regs=0x0) at kexec.h:50
* 1 process 0  default_idle () at reg.h:636

(gdb) thread 1
[Switching to thread 4 (process 0)]#0  default_idle () at reg.h:636
636                     mtspr(SPRN_CTRLT, ctrl);
(gdb) bt
#0  default_idle () at reg.h:636
#1  0xc000000000017908 in cpu_idle () at idle_64.c:88
#2  0xc0000000000092f4 in rest_init () at main.c:403
#3  0xc0000000004d7744 in start_kernel () at main.c:546
#4  0xc000000000008574 in .start_here_common ()
Previous frame inner to this frame (corrupt stack?)
(gdb)

(gdb) thread 2
[Switching to thread 2 (process 5256)]#0  0xc0000000000738a0 in crash_kexec (
    regs=0x0) at kexec.h:50
50                      __asm__ __volatile__ (
(gdb) bt
#0  0xc0000000000738a0 in crash_kexec (regs=0x0) at kexec.h:50
#1  0xc00000000025df3c in sysrq_handle_crashdump (key=<value optimized out>,
    pt_regs=0x0, tty=0x0) at sysrq.c:103
#2  0xc00000000025e070 in __handle_sysrq (key=99, pt_regs=0x0, tty=0x0,
    check_mask=0) at sysrq.c:410
#3  0xc0000000000f9f48 in write_sysrq_trigger (file=<value optimized out>,
    buf=<value optimized out>, count=2, ppos=<value optimized out>)
    at proc_misc.c:688
#4  0xc0000000000af6c0 in vfs_write (file=0xc00000003fdaa880,
    buf=0xf7e6f000 <Address 0xf7e6f000 out of bounds>, count=0,
    pos=0xc0000001f9d7fe08) at read_write.c:316
#5  0xc0000000000afdd8 in sys_write (fd=<value optimized out>, buf=0x0,
    count=0) at read_write.c:369
#6  0xc0000000000086f8 in system_call ()
#7  0xc0000000000086f8 in system_call ()
Previous frame identical to this frame (corrupt stack?)
(gdb) info reg
r0             0x0      0
r1             0xc0000001f9d7f960       13835058063768811872
r2             0xc00000000074d260       13835058055289819744
r3             0xc0000001f9d7f9d0       13835058063768811984
r4             0x0      0
r5             0x0      0
r6             0xc0000001f9d7fbf8       13835058063768812536
r7             0xc0000000005a5ab8       13835058055288085176
r8             0xc0000000007b7e20       13835058055290256928
r9             0xc000000000783fa0       13835058055290044320
r10            0xc00000000075cd00       13835058055289883904
r11            0xc000000000783f98       13835058055290044312
r12            0x2c3c2090       742138000
r13            0xc000000000579c00       13835058055287905280
r14            0x0      0
r15            0x0      0
r16            0x100a0000       269090816
r17            0x100a2e48       269102664
r18            0x100a0000       269090816
r19            0x10070000       268894208
r20            0x0      0
r21            0x0      0
r22            0x10060000       268828672
---Type <return> to continue, or q <return> to quit---
r23            0x0      0
r24            0x9000000000009032       10376293541461659698
r25            0x0      0
r26            0x0      0
r27            0x63     99
r28            0x1      1
r29            0x0      0
r30            0xc0000000005b5148       13835058055288148296
r31            0xc0000001051dd000       13835058059662970880
pc             0xc0000000000738a0       13835058055282636960
cr             0x0      0
lr             0xc00000000025df3c       13835058055284645692
ctr            0xc00000000025df28       13835058055284645672
xer            0x0      0
(gdb) thread 3
[Switching to thread 4 (process 0)]#0  default_idle () at reg.h:636
636                     mtspr(SPRN_CTRLT, ctrl);
(gdb) bt
#0  default_idle () at reg.h:636
#1  0xc000000000017908 in cpu_idle () at idle_64.c:88
#2  0xc0000000000092f4 in rest_init () at main.c:403
#3  0xc0000000004d7744 in start_kernel () at main.c:546
#4  0xc000000000008574 in .start_here_common ()
Previous frame inner to this frame (corrupt stack?)
(gdb)
(gdb) thread 4
[Switching to thread 4 (process 0)]#0  default_idle () at reg.h:636
636                     mtspr(SPRN_CTRLT, ctrl);
(gdb) bt
#0  default_idle () at reg.h:636
#1  0xc000000000017908 in cpu_idle () at idle_64.c:88
#2  0xc0000000000092f4 in rest_init () at main.c:403
#3  0xc0000000004d7744 in start_kernel () at main.c:546
#4  0xc000000000008574 in .start_here_common ()
(gdb)
(gdb) inspect have_of
$1 = 1
(gdb) inspect htab_size_bytes
$3 = 134217728
(gdb)
(gdb) inspect htab_hash_mask
$4 = 1048575
(gdb)

llm15:~ # bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
ibase=10
obase=16
134217728
8000000
1048575
FFFFF