NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/42552: smartd reports "not capable of SMART self-check"
On Thu, Dec 31, 2009 at 09:25:01AM +0000, leo%marco.de@localhost wrote:
> >Description:
> Two days ago I installed smartmontools on my system. Now I'm getting
> Dec 31 08:26:24 zork smartd[5883]: Device: /dev/wd2d, not
> capable of SMART self-check
> Dec 31 08:26:25 zork smartd[5883]: Device: /dev/wd2d, failed to
> read SMART Attribute Data
> Dec 31 08:26:26 zork smartd[5883]: Device: /dev/wd2d, Read
> SMART Self Test Log Failed
> reports from smartd, while smartctl doesn't show any problems.
> Using google I found, that linux users had a similar problem two years
> ago. It was caused by a kernel bug. Maybe we have a similar problem.
> See
> http://article.gmane.org/gmane.linux.ide/20799/raw
Maybe we need to set r_error to 0 in all cases. Can you try the attached
patch ?
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Index: ahcisata_core.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/ahcisata_core.c,v
retrieving revision 1.18.4.1
diff -u -p -u -r1.18.4.1 ahcisata_core.c
--- ahcisata_core.c 19 Feb 2009 20:30:15 -0000 1.18.4.1
+++ ahcisata_core.c 4 Jan 2010 16:58:14 -0000
@@ -825,6 +825,7 @@ ahci_cmd_complete(struct ata_channel *ch
ata_c->r_count = 0;
ata_c->r_sector = 0;
ata_c->r_cyl = 0;
+ ata_c->r_error = 0;
if (chp->ch_status & WDCS_BSY) {
ata_c->flags |= AT_TIMEOU;
} else if (chp->ch_status & WDCS_ERR) {
Home |
Main Index |
Thread Index |
Old Index