Re: 32 bit linux-2.6.24-git8 user_regs_structchange breaks opening kdump crashfiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Joe Porter" <joe.porter@xxxxxxxx> wrote:

> On Tue, 2008-11-18 at 14:05 -0500, Dave Anderson wrote:
> > Hi Joe,
> > 
> > Can you verify that the attached patch works with your kdump?
> > 
> > Thanks,
> >    Dave
> > 
> 
> Hi Dave,
> 
> The 2.6.25 kernel I built using "make defconfig" DID NOT exhibit this
> bug.
> 
> The 2.6.25 kernel I built using "make oldconfig" DOES have the bug.
> 
> So this could happen in any distro with the right combination of
> kernel config options
> (I would think after 2.6.25).
> 
> I'll see if I can work out what options trigger this.
> 
> I suspect it's either the CPU optimization choice or some SMP or
> real-timey option.
> 
> I'll let you know what I find out.
> 
> In the meantime your patch was sufficient to get around this.

Excellent -- thanks for your patience and time spent on this.
The fix is queued for the next release.

Thanks,
  Dave

> 
> 
> Below I show crash-4.0-7.4 failing and then your patched
> crash-4.0-7.4:
> 
> 
> [root@beebo 11-18-08.1647.31]# /usr/src/crash-4.0-7.4.orig/crash
> vmcore vmlinux
> 
> crash 4.0-7.4
> Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008  Red Hat, Inc.
> Copyright (C) 2004, 2005, 2006  IBM Corporation
> Copyright (C) 1999-2006  Hewlett-Packard Co
> Copyright (C) 2005, 2006  Fujitsu Limited
> Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.
> Copyright (C) 2005  NEC Corporation
> Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.
> Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.
> This program 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.  Enter "help copying" to see the conditions.
> This program has absolutely no warranty.  Enter "help warranty" for
> details.
> 
> GNU gdb 6.1
> Copyright 2004 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 "i686-pc-linux-gnu"...
> 
> please wait... (determining panic task)
> crash: invalid structure member offset: user_regs_struct_ebp
>        FILE: netdump.c  LINE: 687  FUNCTION: get_netdump_panic_task()
> 
> [/usr/src/crash-4.0-7.4.orig/crash] error trace: 80e0a0d => 8154325 =>
> 814fe0b => 813ec91
> 
>   813ec91: OFFSET_verify+126
>   814fe0b: get_netdump_panic_task+1196
>   8154325: get_kdump_panic_task+11
>   80e0a0d: get_dumpfile_panic_task+153
> 
> [root@beebo 11-18-08.1647.31]#
> 
> -----------------------------------------------------------------------------------------
> 
> [root@beebo 11-18-08.1647.31]# /usr/src/crash-4.0-7.4.patched/crash
> vmcore vmlinux
> 
> crash 4.0-7.4
> Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008  Red Hat, Inc.
> Copyright (C) 2004, 2005, 2006  IBM Corporation
> Copyright (C) 1999-2006  Hewlett-Packard Co
> Copyright (C) 2005, 2006  Fujitsu Limited
> Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.
> Copyright (C) 2005  NEC Corporation
> Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.
> Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.
> This program 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.  Enter "help copying" to see the conditions.
> This program has absolutely no warranty.  Enter "help warranty" for
> details.
> 
> GNU gdb 6.1
> Copyright 2004 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 "i686-pc-linux-gnu"...
> 
>       KERNEL: vmlinux
>     DUMPFILE: vmcore
>         CPUS: 8
>         DATE: Tue Nov 18 16:46:59 2008
>       UPTIME: 00:01:30
> LOAD AVERAGE: 0.85, 0.33, 0.12
>        TASKS: 148
>     NODENAME: beebo
>      RELEASE: 2.6.25-oldconfig
>      VERSION: #1 SMP PREEMPT Tue Nov 18 16:31:40 EST 2008
>      MACHINE: i686  (3657 Mhz)
>       MEMORY: 4 GB
>        PANIC: "SysRq : Trigger a crashdump"
>          PID: 5504
>      COMMAND: "crashme"
>         TASK: f6f1b400  [THREAD_INFO: f7072000]
>          CPU: 5
>        STATE: TASK_RUNNING (SYSRQ)
> 
> crash>

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux