> -----Original Message-----
> From: Vivek Goyal [mailto:[EMAIL PROTECTED]
> Sent: 2007年1月12日 18:11
> To: Welterlen Benoit
> Cc: Horms; [email protected]; Zou, Nanhai
> Subject: Re: [Fastboot] kdump on ia64 with 2.6.20-rc4 > no vmcore ?
> 
> On Fri, Jan 12, 2007 at 09:52:36AM +0100, Welterlen Benoit wrote:
> > TCP: Hash tables configured (established 16384 bind 8192)
> > TCP reno registered
> > checking if image is initramfs... it is
> > Freeing initrd memory: 3776kB freed
> > perfmon: version 2.0 IRQ 238
> > perfmon: Montecito PMU detected, 27 PMCs, 35 PMDs, 12 counters (47 bits)
> > PAL Information Facility v0.5
> > perfmon: added sampling format default_format
> > perfmon_default_smpl: default_format v2.0 registered
> > Total HugeTLB memory allocated, 0
> > VFS: Disk quotas dquot_6.5.1
> > Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
> > _*Kdump: vmcore not initialized*_
> > io scheduler noop registered
> > io scheduler anticipatory registered (default)
> > io scheduler deadline registered
> > io scheduler cfq registered
> > EFI Time Services Driver v0.4
> > [drm] Initialized drm 1.1.0 20060810
> > Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
> > disabled
> > ...
> >
> > So I have no more error messages. The error can occurs anywhere.
> > I have dumped the old memory at the trusted elfcorehdr : 1572608K.
> > How can I analyse this data ? Where are define the ELF headers ?
> >
> 
> Elf headers are created in user space by kexec-tools utility.
> 
> I am not sure where the problem is. I think to begin with you can
> put some printk() messages in fs/proc/vmcore.c file. Especially the
> code under parse_crash_elf_headers().
> 
> One suspect is
> 
> read_from_oldmem(e_ident, EI_NIDENT, &addr, 0);
> 
> Due to some problem reading the ELF header might have failed. If not then
> you need to continue to parse_crash_elf64_headers() to trace from where
> it is returning with an error code.
> 
  Yes, the most suspicious place is read_from_oldmem I think.
  elf core header is prepared in kexec tools crashdump-ia64.c, the core header 
address is passed to the crash-kernel through a "elfcorehdr=" kernel parameter. 
  Thanks
  Zou Nan hai

_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to