FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 01-09-2010, 01:43 AM
d00fy
 
Default Crash-utility Digest, Vol 52, Issue 1

when I analyze the crash dump file(/proc/vmcore), crash utility show
> me this error message, What does it mean exactly?
> a bug or configuration error?
> grub.conf
> kernel /boot/vmlinuz-2.6.23 console=ttyS0,9600 root=/dev/sda2 ro quiet
> crashkernel=256M@16M
>
> load cmd:
> /sbin/kexec -p --command-line="root=/dev/sda2 irqpoll maxcpus=1 nousb"
> --initrd=/boot/initrd.img-2.6.23 /boot/vmlinuz-2.6.23
> crash:
> 4.1.1
> box:
> Intel(R) Pentium(R) 4 CPU 3.00GHz
> 4G RAM

> At what point did it happen?

>Dave

I insert a module which would trigger a kernel crash, in this module
I use request_irq(irq, myinterrupt, ...)to register a irq on the nic, and in the function myinterrupt I
just write something at somewhere (int *p = 00202020; *p = 10), the kernel would crash soon , but I cann't open the /proc/vmcore with crash utility after warm reboot, the error look like:
--> crash: invalid kernel virtual address: 5fb001 type: "pgd page"





--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 
Old 01-11-2010, 12:41 PM
Dave Anderson
 
Default Crash-utility Digest, Vol 52, Issue 1

----- "d00fy" <d00fy@163.com> wrote:

> > when I analyze the crash dump file(/proc/vmcore), crash utility show
> > me this error message, What does it mean exactly?
> > a bug or configuration error?
> > grub.conf
> > kernel /boot/vmlinuz-2.6.23 console=ttyS0,9600 root=/dev/sda2 ro quiet
> > crashkernel=256M@16M
> >
> > load cmd:
> > /sbin/kexec -p --command-line="root=/dev/sda2 irqpoll maxcpus=1 nousb"
> > --initrd=/boot/initrd.img-2.6.23 /boot/vmlinuz-2.6.23
> > crash:
> > 4.1.1
> > box:
> > Intel(R) Pentium(R) 4 CPU 3.00GHz
> > 4G RAM
>
> > At what point did it happen?
>
> >Dave
>
> I insert a module which would trigger a kernel crash, in this module
> I use request_irq(irq, myinterrupt, ...)to register a irq on the nic,
> and in the function myinterrupt I
> just write something at somewhere (int *p = 00202020; *p = 10), the
> kernel would crash soon , but I cann't open the /proc/vmcore with
> crash utility after warm reboot, the error look like:
> --> crash: invalid kernel virtual address: 5fb001 type: "pgd page"

Neither the kexec invocation details nor how you made the kernel crash
is of much consequence, but rather I was interested in when the crash
utility itself failed. In other words, was it during crash invocation,
or perhaps during a particular crash command? I'm guessing that it's
during invocation since you say it "can't open the /proc/vmcore"?

Anyway, if you still have a copy of the /proc/vmcore file and the relevant
vmlinux, please post the output of "crash -d4 vmlinux vmcore", and perhaps
I can help. If you rebooted without saving the /proc/vmcore file to disk,
then there's not much I can do.

Thanks,
Dave


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

Thread Tools




All times are GMT. The time now is 12:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org