DragonFly kernel List (threaded) for 2010-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Kernel Dump when accessing second drive
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.
From the logs before the panic
May 15 15:53:37 backup_a kernel: ad6: TIMEOUT - READ_DMA retrying (1
retry left) LBA=49814018
May 15 15:53:38 backup_a kernel: ad6: WARNING - READ_DMA soft error (ECC
corrected) LBA=49871650
May 15 15:53:38 backup_a kernel: ad6: WARNING - READ_DMA UDMA ICRC error
(retrying request) LBA=49871682
May 15 15:53:38 backup_a kernel: ad6: timeout waiting to issue command
May 15 15:53:38 backup_a kernel: ad6: error issuing READ_DMA command
May 15 15:53:39 backup_a kernel: ad6: WARNING - READ_DMA UDMA ICRC error
(retrying request) LBA=49871682
May 15 15:53:39 backup_a kernel: ad6: FAILURE - READ_DMA
status=5<CORRECTABLE,ERROR>
error=61<UNCORRECTABLE,MEDIA_CHANGED,ILLEGAL_LENGTH> LBA=49871682
May 15 15:53:39 backup_a kernel: ad6: WARNING - READ_DMA soft error (ECC
corrected) LBA=12671810
May 15 15:53:39 backup_a kernel: ad6: WARNING - READ_DMA soft error (ECC
corrected) LBA=12671842
May 15 15:53:39 backup_a kernel: ad6: WARNING - READ_DMA soft error (ECC
corrected) LBA=12671906
May 15 15:55:42 backup_a syslogd: kernel boot file is /boot/kernel
May 15 15:55:42 backup_a kernel: ad6: FAILURE - device detached
May 15 15:55:42 backup_a kernel: subdisk6: detached
May 15 15:55:42 backup_a kernel: ad6: detached
Does this mean the controller is reporting the disk is gone?
Dylan
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]