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"



The following reply was made to PR kern/42552; it has been noted by GNATS.

From: Matthias Pfaller <leo%marco.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/42552: smartd reports "not capable of SMART self-check"
Date: Mon, 04 Jan 2010 20:07:50 +0100

 This is a multi-part message in MIME format.
 --------------020708050409060500090803
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Manuel Bouyer wrote:
 > The following reply was made to PR kern/42552; it has been noted by GNATS.
 >
 > From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
 > netbsd-bugs%NetBSD.org@localhost
 > Subject: Re: kern/42552: smartd reports "not capable of SMART self-check"
 > Date: Mon, 4 Jan 2010 17:59:43 +0100
 >
 >  --cNdxnHkX5QqsyA0e
 >  Content-Type: text/plain; charset=us-ascii
 >  Content-Disposition: inline
 >  
 >  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
 >  --
 >  
 >  --cNdxnHkX5QqsyA0e
 >  Content-Type: text/plain; charset=us-ascii
 >  Content-Disposition: attachment; filename=diff
 >  
 >  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) {
 >  
 >  --cNdxnHkX5QqsyA0e--
 >  
 >   
 I have installed a kernel with this patch, but I can't reboot at the 
 moment. I have an "atactl setstandby 3600" in my /etc/rc.local, so maybe 
 the drives are in standby, when the error occurs.
 
 regards, Matthias
 
 
 --------------020708050409060500090803
 Content-Type: text/plain;
  name="smartd.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="smartd.txt"
 
 Jan  4 06:26:25 zork smartd[5883]: Device: /dev/wd2d, not capable of SMART 
self-check 
 Jan  4 06:26:26 zork smartd[5883]: Device: /dev/wd2d, failed to read SMART 
Attribute Data 
 Jan  4 06:26:27 zork smartd[5883]: Device: /dev/wd2d, Read SMART Self Test Log 
Failed 
 Jan  4 06:26:28 zork smartd[5883]: Device: /dev/wd2d, Read SMART Error Log 
Failed 
 Jan  4 06:26:34 zork smartd[5883]: Device: /dev/wd3d, not capable of SMART 
self-check 
 Jan  4 06:26:35 zork smartd[5883]: Device: /dev/wd3d, failed to read SMART 
Attribute Data 
 Jan  4 06:26:36 zork smartd[5883]: Device: /dev/wd3d, Read SMART Self Test Log 
Failed 
 Jan  4 06:26:37 zork smartd[5883]: Device: /dev/wd3d, Read SMART Error Log 
Failed 
 Jan  4 08:26:23 zork smartd[5883]: Device: /dev/wd2d, not capable of SMART 
self-check 
 Jan  4 08:26:24 zork smartd[5883]: Device: /dev/wd2d, failed to read SMART 
Attribute Data 
 Jan  4 08:26:25 zork smartd[5883]: Device: /dev/wd2d, Read SMART Self Test Log 
Failed 
 Jan  4 08:26:26 zork smartd[5883]: Device: /dev/wd2d, Read SMART Error Log 
Failed 
 Jan  4 08:26:32 zork smartd[5883]: Device: /dev/wd3d, not capable of SMART 
self-check 
 Jan  4 08:26:33 zork smartd[5883]: Device: /dev/wd3d, failed to read SMART 
Attribute Data 
 Jan  4 08:26:34 zork smartd[5883]: Device: /dev/wd3d, Read SMART Self Test Log 
Failed 
 Jan  4 08:26:35 zork smartd[5883]: Device: /dev/wd3d, Read SMART Error Log 
Failed 
 
 --------------020708050409060500090803--
 


Home | Main Index | Thread Index | Old Index