Kernel oops then panic when perform a soft reset on ppc64 box
Jin Qi Huang
huangjq at cn.ibm.com
Mon Feb 20 12:14:54 EST 2006
Hi all,
When I perform a soft reset on HMC console to a ppc64 box, the kernel oops
then panic, here is the procedure to reproduce it:
1. machine hardware environment:
# cat /proc/cpuinfo
processor : 0
cpu : POWER4 (gp)
clock : 1002.296504MHz
revision : 3.2
processor : 1
cpu : POWER4 (gp)
clock : 1002.296504MHz
revision : 3.2
timebase : 125287063
machine : CHRP IBM,7028-6C4
2. machine software environment:
# uname -a
Linux mcptest4 2.6.5-279 #2 SMP Thu Feb 9 21:21:11 UTC 2006 ppc64 ppc64
ppc64 GNU/Linux
3. on HMC console perform a soft reset:
$ chsysstate -m plinuxt4 -r lpar -n lpar1 -o reset
4. on the HMC virtual terminal give the kernel oops and panic message:
Oops: System Reset, sig: 0 [#1]
SMP NR_CPUS=32 PSERIES LPAR
NIP: C000000000013B5C XER: 0000000020000000 LR: C000000000013B9C
REGS: c00000000053fad0 TRAP: 0100 Not tainted (2.6.5-279 )
MSR: 8000000000009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK: c0000000005d3a20[0] 'swapper' THREAD: c00000000053c000 CPU: 0
GPR00: 0000000000000010 C00000000053FD50 C00000000071EAB8 C0000000BB1CD800
GPR04: 0000000000000007 0000000000000000 C00000000053FC30 0000000000000000
GPR08: 0000000000000000 0000000000000000 C00000000071D008 C00000000053C000
GPR12: 0000000042004028 C000000000541000 0000000000000000 0000000000000000
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20: 0000000000230000 0000000000000000 0000000000000000 0000000003A00000
GPR24: C000000000541000 C00000000071D008 C000000000539AF0 0000000000008000
GPR28: 0000000000000010 0000000000000008 C00000000053C000 C00000000053C010
NIP [c000000000013b5c] .default_idle+0x64/0xac
LR [c000000000013b9c] .default_idle+0xa4/0xac
Call Trace:
[c00000000053fd50] [c000000000013b9c] .default_idle+0xa4/0xac (unreliable)
[c00000000053fde0] [c00000000001398c] .cpu_idle+0x38/0x50
[c00000000053fe50] [c00000000000c49c] .rest_init+0x64/0x7c
[c00000000053fed0] [c0000000004ee5dc] .start_kernel+0x2b4/0x330
[c00000000053ff90] [c00000000000c394] .__setup_cpu_power3+0x0/0x4
<0>Fatal exception: panic in 5 seconds
et, sig: 0 [#2]
SMP NR_CPUS=32 PSERIES LPAR
NIP: C000000000013B5C XER: 0000000020000000 LR: C000000000013B9C
REGS: c0000000bff07b80 TRAP: 0100 Not tainted (2.6.5-279 )
MSR: 8000000000009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK: c00000000397c9b0[0] 'swapper' THREAD: c0000000bff04000 CPU: 1
GPR00: 0000000000000010 C0000000BFF07E00 C00000000071EAB8 C0000000BC181000
GPR04: 0000000000000007 0000000000000000 C0000000BFF07CE0 0000000000000000
GPR08: 0000000000000000 0000000000000000 C00000000071D008 C0000000BFF04000
GPR12: 0000000044004028 C000000000543000 0000000000000000 0000000000000000
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20: 0000000000000000 0000000000C00000 0000000000000000 0000000000000001
GPR24: 0000000000000001 0000000000000010 0000000000000568 000000000000041C
GPR28: 0000000000000010 0000000000000008 C0000000BFF04000 C0000000BFF04010
NIP [c000000000013b5c] .default_idle+0x64/0xac
LR [c000000000013b9c] .default_idle+0xa4/0xac
Call Trace:
[c0000000bff07e00] [c000000000013b9c] .default_idle+0xa4/0xac (unreliable)
[c0000000bff07e90] [c00000000001398c] .cpu_idle+0x38/0x50
[c0000000bff07f00] [c00000000003ed78] .start_secondary+0x148/0x1a8
[c0000000bff07f90] [c00000000000c03c] .enable_64b_mode+0x0/0x28
<0>Fatal exception: panic in 5 seconds
Kernel panic: Fatal exception
In idle task - not syncing
>From its kernel code, when user perform a soft reset, it creates a system
reset exception, then invoke the exception handler SystemResetException
and go to die, Does system must go to die when receive a soft reset?
thanks!
--
Regards,
Jin Qi Huang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20060220/a7024a8b/attachment.htm
More information about the Linuxppc64-dev
mailing list