Re: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen

2007-11-06 Thread Bruce Allen
All these are caused by smartd. Updating should fix the problem. Okay, but there is no newer smartd than what I'm using. (5.37) Bruce? Original thread can be read from... http://thread.gmane.org/gmane.linux.kernel/588972 The fixes were added in smartmontools CVS, but there hasn't been a

Re: [PATCH #upstream 1/2] libata: move command post processing to __ata_qc_complete()

2007-10-17 Thread Bruce Allen
BTW, while doing the TEST UNIT READY emulation patch for ATA (recently withdrawn from libata-dev.git#upstream), I found a problem with the interface that was difficult to get around: TEST UNIT READY simulation code really wants to look at the result TF of CHECK POWER MODE, even if ATA_ERR is

Re: [smartmontools-devel] smartd causing SATA timeouts on sleeping drives

2007-10-12 Thread Bruce Allen
Hmm, it sounds as if smartmontools should send a SRST to spin up the drive, but I do not know enough to be sure. Eh... Now that I think about it. I don't think there's a way to work around this from userland. smartmontools doesn't know the current power mode (sleeping drive doesn't even

Re: smartd causing SATA timeouts on sleeping drives

2007-10-10 Thread Bruce Allen
Tejun, Hmm, it sounds as if smartmontools should send a SRST to spin up the drive, but I do not know enough to be sure. Could I add you to the developers list and give you CVS write access? This might make it easier for you to fix the various little smartmontools problems like this that

Re: smartd causing SATA timeouts on sleeping drives

2007-10-10 Thread Bruce Allen
Andrew, I forgot to say 'thank you' for tracking this down. Thank you! Cheers, Bruce On Fri, 5 Oct 2007, Andrew Paprocki wrote: Tejun/Bruce, I tracked down the source of timeouts I have been frequently getting. It appears smartd is not properly handling drives that are spun down

Re: smartd causing SATA timeouts on sleeping drives

2007-10-10 Thread Bruce Allen
SNIP smartd should probably issue CHECK POWER MODE (0xe5) before issuing other commands. Bruce? Hi Tejun, Yes, this seems very reasonable. I hope you say 'yes' to my offer from five minutes ago. Cheers, Bruce - To unsubscribe from this list: send the line unsubscribe linux-ide in

Re: [smartmontools-support] sata_sil24 with port multiplier

2007-10-02 Thread Bruce Allen
Message- From: Bruce Allen [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 9:48 PM To: Tejun Heo Cc: Jon Chelton; Bruce Allen; Smartmontools Mailing List; linux-ide@vger.kernel.org Subject: Re: sata_sil24 with port multiplier All errors are interface CRC errors reported by device

Re: sata_sil24 with port multiplier

2007-09-28 Thread Bruce Allen
All errors are interface CRC errors reported by device on FPDMA_WRITE. It doesn't seem to have anything to do with SMART. In all cases, SError DIAG is reporting handshake error too (R_ERR received). I'm fairly sure these were actual hardware problems. You don't have to pay too much

Re: 2.6.22.6 sata_sil device errors timeouts

2007-09-27 Thread Bruce Allen
Hi Tejun, Thanks! Yes I meant HDIO_DRIVE_TASK. Please let me know what your tests reveal. Cheers, Bruce On Thu, 27 Sep 2007, Tejun Heo wrote: Bruce Allen wrote: Andrew: thanks for isolating this problem. Tejun: any thoughts? The STRANGE_BUFFER_LENGTH problem is fixed

Re: 2.6.22.6 sata_sil device errors timeouts

2007-09-18 Thread Bruce Allen
: It appears to be the '-o on' causing the problem. If I remove that, the errors go away. The strange part is that according to the smartctl documentation, my drives support it: # smartctl -c /dev/sda smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-7 Bruce Allen Home page is http

Re: 2.6.22.6 sata_sil device errors timeouts

2007-09-17 Thread Bruce Allen
ata5: EH complete # smartctl -i /dev/sda smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: Hitachi Deskstar T7K250 series Device Model: HDT722525DLA380 Serial Number

Re: 2.6.22.6 sata_sil device errors timeouts

2007-09-17 Thread Bruce Allen
This is what it is in smartd.conf: /dev/sda -d ata -a -o on -S on /dev/sdb -d ata -a -o on -S on /dev/sdc -d ata -a -o on -S on Thanks, -Andrew On 9/17/07, Bruce Allen [EMAIL PROTECTED] wrote: Hi Andrew, Please build the CVS version (unreleased) of smartmontools. The versions below are dated 2006/12/20

Re: HSM violation on bootup, ICH7 + ata_piix 2.6.22

2007-09-14 Thread Bruce Allen
Tejun: thanks for the CC. I'm clueless about what is at fault here. Eamonn: could you please build the latest version of smartmontools from CVS HEAD source and see if the problem exists in that version? Then write back. I don't think this will help but want to eliminate obvious things.