Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 1998 19:49:27 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Ugo Paternostro <paterno@dsi.unifi.it>
Cc:        Nate Williams <nate@mt.sri.com>, freebsd-mobile@FreeBSD.ORG
Subject:   Re: Cirrus Logic PD6729
Message-ID:  <199801200249.TAA07257@mt.sri.com>
In-Reply-To: <XFMail.980120004815.paterno@dsi.unifi.it>
References:  <199801181911.MAA00697@mt.sri.com> <XFMail.980120004815.paterno@dsi.unifi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
> >> reboot, it boots ok once more, and so on (all the even boots end with a
> >> panic,
> >> but the odd ones work perfectly).
> > 
> > Interesting.  Any chance of getting a crash dump to see exactly where
> > the fault is occurring?
> 
> How do I obtain that? I wrote down the information that the kernel prints, if
> you like I can send them to you.

In /etc/rc.conf, add a swap partition which contains enough space to
dump out your entire memory to:
##############################################################
###  Miscellaneous administrative options  ###################
##############################################################

...
dumpdev="/dev/sd0s1b"   # Device name to crashdump to (if enabled).

Which is my primary swap partition and has more than enough space.
Then, if the kernel crashes, it dumps out the contents of memory to the
swap partition, and at the next reboot it will save this crash dump in
/var/dump (you may need to symlink that to a spot that has more disk
space).  Then, you can run gdb -k kernel.0 vmcore.0 and get a stack
trace of the crash.

> > It's possible that the 'poll' is causing the panic.  Try disabling the
> > poll of the PCCARD controller in /sys/pccard/pcic.c.  A cut-paste
> > uni-diff is appended below (don't apply it, it won't work).
..> 
> It seems that I (still) have a problem. Don't you think I should disable the
> interrupts generated from the chip?

Yes, the above comment was implied that both the interrupts *and* the
poll should both be disabled.



Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801200249.TAA07257>