Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 10:52:11 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        current@freebsd.org
Subject:   Re: ATA/ATAPI related panic
Message-ID:  <Pine.BSF.4.21.0212051047130.13488-100000@root.org>
In-Reply-To: <20021205175901.GA21388@fourtytwo.gamesoc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Dec 2002, Bruce Cran wrote:
> On Tue, Dec 03, 2002 at 10:40:03AM -0800, Nate Lawson wrote:
> > On Tue, 3 Dec 2002, Bruce Cran wrote:
> > > I've had a problem with my DVD and CDRW drives under FreeBSD from 4.5
> > > onwards.   In released prior to 4.7 I used to get panics, I think when the system had heavy I/O loads, such as when building world - I thought this may have been due to the VIA controller.   I installed DP2, and on one of the
> > > boots, got:
> > > 
> > > acd0: REQUEST_SENSE command timeout - resetting
> > > ata1: resetting devices
> > > 
> > > Fatal trap 12: page fault while in kernel mode
> > > fault trap address = 0x0
> > > fault code = Supervisor read, page not present
> > > instruction pointer = 0x8:0xc0151ca2
> > > stack pointer = 0x10:0xd68e3c5c
> > > frame pointer = 0x10:0xd68e3c70
> > > code segment = base 0x0, limit 0xfffff, type = 0x16
> > > 		= DPL 0, pres 1, def32 l, gran 1
> > > 
> > > processor eflags = interrupt enable resume, IOPL=0
> > > current process = 13 (swi6:clock)
> > > trap number = 12
> > > panic : page fault
> > 
> > This is a null ptr deref, most likely in the kern proc that calls
> > the timeout handlers (since curproc is clock int.)  No idea what would
> > cause this.
> 
> Is there anything I could do to help diagnose the problem?  I don't
> think it's a problem with my hardware because both Linux and Windows run
> perfectly with no errors.   I'd really love to make FreeBSD 5 my main
> OS, but if it's going to be like 4.5 and 4.6 where I kept getting
> panics, reboots and error messages, I'm not going to be able to.

Do you also use ahc(4) or ahd(4)?  A bug was recently fixed where it would
corrupt timeout handlers.  If not, please build "options DDB" into your
kernel and report what it says when you type "trace" after the panic.

As far as your OS choice, we're doing our best.  5-CURRENT has been very
solid for me on a few boxes and unstable on others.  There are a lot of
edge cases in pc hw and we have a lot of new code to deal with.

-Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0212051047130.13488-100000>