login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
11
Re: Determine version of kernel that produced vmcore
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Bernhard Walle
Subject:
Re: Determine version of kernel that produced vmcore
Date: Wednesday, July 11, 2007 - 1:58 am
* Vivek Goyal <vgoyal@in.ibm.com> [2007-07-11 08:07]:
quoted text
> On Tue, Jul 10, 2007 at 07:52:01PM +0300, Dan Aloni wrote: > > On Tue, Jul 10, 2007 at 08:09:04AM -0400, Neil Horman wrote: > > > On Tue, Jul 10, 2007 at 12:18:17PM +0530, Vivek Goyal wrote: > > > > On Fri, Jul 06, 2007 at 05:58:04PM +0300, Dan Aloni wrote: > > > > > On Fri, Jul 06, 2007 at 03:28:14PM +0200, Bernhard Walle wrote: > > > > > > Hello, > > [...] > > > > > It contains enough information in order to make a compact kernel > > > > > dump (makedumpinfo needs to go over the struct page arrays). As > > > > > you see, it also contains the kernel version. > > > > > > > > > > > > > But this will not solve Bernhard's problem where looking at a vmcore > > > > he wants to know which vmlinux (kernel version with time stamp) has > > > > generated this vmcore. So adding a ELF NOTE should help. > > > > > > > I think an ELF note would be a fine idea. > > > > Okay, so here's an implemenation. > > > > See the attached proof-of-concept patches to the kernel-side kexec and > > kexec-tools (might need some cleanup though). Next to follow, a patch > > to makedumpfile. With these patches a new "LINUX" elf note generated > > by the kernel in the format that makedumpfile expects and is being > > passed on by the kexec util to the kdump kernel. > > > > As a bonus, with this patch you don't even have to compile the kernel > > with debug information in order for the filtering to work. > > > > This implementation looks interesting. No need of debug compiled > vmlinux for dump filtering purposes. No run time vmlinux binary modifications > as suggested by your previous mails. People can export kernel CONFIG info > like PAGESIZE etc with the help of this ELF note and any tool which is > processing kernel core file can benifit from this. No guesses required for > determining the page size of crashed kernel.
I also like way of implementing it. :) Thanks, Bernhard -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Determine version of kernel that produced vmcore
, Bernhard Walle
, (Fri Jul 6, 6:28 am)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Fri Jul 6, 7:58 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Mon Jul 9, 2:21 am)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Mon Jul 9, 4:41 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Mon Jul 9, 1:49 pm)
Re: Determine version of kernel that produced vmcore
, Ken'ichi Ohmichi
, (Mon Jul 9, 8:13 pm)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Mon Jul 9, 9:45 pm)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Mon Jul 9, 11:36 pm)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Mon Jul 9, 11:48 pm)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Tue Jul 10, 1:14 am)
Re: Determine version of kernel that produced vmcore
, Neil Horman
, (Tue Jul 10, 5:02 am)
Re: Determine version of kernel that produced vmcore
, Neil Horman
, (Tue Jul 10, 5:09 am)
Re: Determine version of kernel that produced vmcore
, Neil Horman
, (Tue Jul 10, 5:12 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Tue Jul 10, 5:52 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Tue Jul 10, 5:59 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Tue Jul 10, 6:05 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Tue Jul 10, 6:20 am)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Tue Jul 10, 8:00 am)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Tue Jul 10, 9:52 am)
Re: Determine version of kernel that produced vmcore
, Neil Horman
, (Tue Jul 10, 10:17 am)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Tue Jul 10, 10:35 am)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Tue Jul 10, 11:26 am)
Re: Determine version of kernel that produced vmcore
, Neil Horman
, (Tue Jul 10, 12:00 pm)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Tue Jul 10, 1:36 pm)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Tue Jul 10, 11:07 pm)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Wed Jul 11, 12:32 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Wed Jul 11, 1:58 am)
Re: Determine version of kernel that produced vmcore
, Neil Horman
, (Wed Jul 11, 4:57 am)
Re: Determine version of kernel that produced vmcore
, Ken'ichi Ohmichi
, (Wed Jul 11, 6:43 am)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Thu Jul 12, 8:43 pm)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Thu Jul 12, 8:58 pm)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Fri Jul 13, 12:49 am)
Re: Determine version of kernel that produced vmcore
, Ken'ichi Ohmichi
, (Fri Jul 13, 4:05 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Fri Jul 13, 6:15 am)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Sun Jul 15, 9:19 pm)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Mon Jul 16, 4:57 am)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Mon Jul 16, 5:25 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Mon Jul 16, 5:27 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Mon Jul 16, 5:28 am)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Mon Jul 16, 5:36 am)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Mon Jul 16, 8:50 pm)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Tue Jul 17, 1:17 am)
Re: Determine version of kernel that produced vmcore
, Ken'ichi Ohmichi
, (Wed Jul 18, 7:07 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Wed Jul 18, 4:10 pm)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Thu Jul 19, 7:12 am)
Re: Determine version of kernel that produced vmcore
, Don Zickus
, (Thu Jul 19, 9:39 am)
Re: Determine version of kernel that produced vmcore
, Bernhard Walle
, (Thu Jul 19, 9:49 am)
Re: Determine version of kernel that produced vmcore
, Don Zickus
, (Thu Jul 19, 9:59 am)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Sun Jul 22, 10:01 pm)
Re: Determine version of kernel that produced vmcore
, Ken'ichi Ohmichi
, (Mon Jul 23, 4:47 am)
Re: Determine version of kernel that produced vmcore
, Dan Aloni
, (Mon Jul 23, 6:02 am)
Re: Determine version of kernel that produced vmcore
, Vivek Goyal
, (Mon Jul 23, 8:58 am)
Re: Determine version of kernel that produced vmcore
, Ken'ichi Ohmichi
, (Mon Jul 23, 11:40 pm)
Re: Determine version of kernel that produced vmcore
, Ken'ichi Ohmichi
, (Mon Jul 23, 11:49 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Adrian Bunk
[RFC: 2.6 patch] remove the broken SUN_AURORA driver
David Howells
Re: [PATCH 5/5]bluetooth:hci_bcsp Fix operation on 'bcsp->msgq_txseq' may be un...
Francis Moreau
Re: Disk geometry from /sys
Eberhard Moenkeberg
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Christoph Lameter
Re: [bug] SLUB + mm/slab.c boot crash in -rc9
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Frans Pop
'git gc --aggressive' effectively unusable
Lynn Lin
Re: clearcase migration to git
git-commits-head
:
Linux Kernel Mailing List
[ARM] unconditionally define __virt_to_phys and __phys_to_virt
Linux Kernel Mailing List
ACPICA: Fix to allow zero-length ASL field declarations
Linux Kernel Mailing List
tracing: Simplify trace_option_write()
Linux Kernel Mailing List
ARM: Add Versatile Express SMP support
Linux Kernel Mailing List
hwmon: (lm77) Convert to a new-style i2c driver
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
David Miller
Re: [PATCH] IPv6: preferred lifetime of address not getting updated
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Mark McLoughlin
Re: [PATCH 2/3] virtio: fix delayed xmit of packet and freeing of old packets.
openbsd-misc
:
Samuel Baldwin
Re: Forum engine
Robert
disklabel - cylinder rounding
nixlists
Re: Which laptops do the developers use?
Marcin
Re: 4.6 reboots x336 ibm server(s)
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Colocation donated by:
Syndicate