Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2004 22:29:45 +0800 (CST)
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        Peter Schuller <peter.schuller@infidyne.com>
Cc:        current@freebsd.org
Subject:   Re: Page fault in kernel mode; unable to dump core; reproducable
Message-ID:  <040616221957E.97810@www.mmlab.cse.yzu.edu.tw>
In-Reply-To: <200406152240.21398.peter.schuller@infidyne.com>
References:  <200406132237.08445.peter.schuller@infidyne.com> <200406152240.21398.peter.schuller@infidyne.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Jun 2004, Peter Schuller wrote:
> > That's what I saw on my T40. However, this only happens if I boot with a
> > GENERIC kernel instead of a custom one.
>
> This is a T40p, though I am not using GENERIC. I presume there is some
> specific driver/feature that is causing it, that I happen to have loaded and
> you don't.

Feel free to take a look at my dmesg output if you're interested in:

	http://www.mmlab.cse.yzu.edu.tw/~avatar/dmesg-acpi.txt
	http://www.mmlab.cse.yzu.edu.tw/~avatar/dmesg-noacpi.txt

> > I'm not sure about that; however, I can get the backtrace reliably by
> > issuing a 'panic' command in DDB.
>
> Hmm, ok. Do I need to do anything during compilation to enable this then
> perhaps? I found some instructions Googling but those were extremely old and
> applicable to the new build system. However I then checked the handbook and I
> didn't see it mentioned.

I use following DDB related settings in the kernel configuration file:

makeoptions	DEBUG=-g
options		DDB
options		DDB_TRACE

Then a "config -g conf_file" follows the usual kernel building commands
are enough to generate a kernel with debugging symbol.

> > Perhaps this is also related to the thread "Thinkpad panic woes (was Re:
> > CDRW causes Thinkpad T41 to panic)" about two weeks ago?
> >
> > http://lists.freebsd.org/pipermail/freebsd-current/2004-June/028173.html
>
> Maybe. While I tried the PS2 solution once, I have i enabled at the moment
> (firstly I want the CD-ROM working and secondly if Windows were to break I
> would no longer be able to boot from CD nor re-enable the drive bay).

I haven't tried the PS2 utility, yet; however, accroding to some other T40
users, detach the CD-ROM from device bay or reduce the retry counter in
ata-all.c seems like a possible workaround.



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