Check out this presentation on linuxvm.org:

Help! My (Virtual) Penguin Is Sick!
http://linuxvm.org/present/SHARE108/S9248ps.pdf

There's a section on VMDUMP, which will give you a kernel memory dump.
You'll need to convert it using 'vmconvert', which is available in the
s390utils package.  This is assuming you're using DASD.  If it's a
zFCP-only setup, the process is a little different.

-Brad

On Mon, 2007-07-30 at 13:57 -0400, Morris, Kevin J. (LNG-DAY) wrote:
> We have a linux guest that frequently encounters a kernel panic, effectively 
> killing the box.  Thankfully, we have IBM Operations Manager and can trap the 
> HCP message and instantly reboot the box once it hits the disabled wait 
> state.  We are running the latest RHEL4 maintenance on this guest and would 
> like to provide a dump to RedHat.  How can we trigger/capture a dump when the 
> kernel panics?
> 
> Below is the console log for this guest at the time of the panic:
> 
> 07/30/2007 05:49:55 kernel BUG at mm/filemap.c:2245! 
> 07/30/2007 05:49:55 illegal operation: 0001 Ý#1¨ 
> 07/30/2007 05:49:55 CPU:    1    Not tainted 
> 07/30/2007 05:49:55 Process chmod (pid: 15271, task: 000000005b94ccb0, ksp: 
> 000000005eb1beb8) 
> 07/30/2007 05:49:55 Krnl PSW : 0700000180000000 000000000006cf98 
> (generic_file_aio_write+0x60/0x134
> 07/30/2007 05:49:55  
> 07/30/2007 05:49:55  Ý<000000000002ff7e>¨ sysc_noemu+0x10/0x16 
> 07/30/2007 05:49:55  Ý<00000200000c0700>¨ 0x200000c0700 
> 07/30/2007 05:49:55  
> 07/30/2007 05:49:55  <0>Kernel panic - not syncing: Fatal exception: 
> panic_on_oops 
> 07/30/2007 05:49:55 00: HCPGSP2629I The virtual machine is placed in CP mode 
> due to a SIGP stop from CPU 01.
> 07/30/2007 05:49:55 01: HCPGIR450W CP entered; disabled wait PSW 00020001 
> 80000000 00000000 00018A66
> 07/30/2007 05:49:55 CP SEND TPC3675  IPL CMS PARM AUTOCR
> 
> Thanks,
> Kevin Morris
> LexisNexis, a division of Reed Elsevier Inc.
> z/OS System Engineering
> 
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
-- 
Brad Hinson <[EMAIL PROTECTED]>
Sr. Support Engineer Lead, System z
Red Hat, Inc.
(919) 754-4198

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to