Kernel Dump when accessing second drive
Dylan Reinhold
dylan at ocnetworking.com
Mon May 17 00:17:01 PDT 2010
On 05/16/2010 11:47 PM, YONETANI Tomokazu wrote:
358 ad_done(struct ata_request *request)
359 {
360 struct ad_softc *adp = device_get_ivars(request->dev);
361 struct bio *bp = request->bio;
362 struct buf *bbp = bp->bio_buf;
363
364 /* finish up transfer */
365 if ((bbp->b_error = request->result))
366 bbp->b_flags |= B_ERROR;
367 bbp->b_resid = bbp->b_bcount - request->donecount;
* 368 devstat_end_transaction_buf(&adp->stats, bbp);
I'm under the impression that the machine was panicked because
the interrupt was delivered after ad6 was detached for some reason.
ad_detach() in fact sets NULL to the device's ivars.
So probably you need to look into the log and find out why it was
detached in the first place.
Ah I think I was assuming the detach was from the panic, not causing the
panic.
More information about the Kernel
mailing list