1 Oct 2008 05:50
Re: exception Emask 0x0 SAct 0x1 / SErr 0x0 action 0x2 frozen
Mr. James W. Laferriere <babydr <at> baby-dragons.com>
2008-10-01 03:50:09 GMT
2008-10-01 03:50:09 GMT
Hello Justin , On Tue, 30 Sep 2008, Justin Piszcz wrote: > On Tue, 30 Sep 2008, Tom Mortensen wrote: > >> Don't know if this is the original poster's problem, but if the drive >> is spun down, then enabling SMART or trying to read SMART attributes >> causes the drive to spin up and the command is delayed until this has >> occurred. >> >> The fix is to increase the timeout given to scsi_execute() in >> drivers/ata/libata-scsi.c. >> >> ie, current code (2.6.26.5) is: >> >> /* Good values for timeout and retries? Values below >> from scsi_ioctl_send_command() for default case... */ >> cmd_result = scsi_execute(scsidev, scsi_cmd, data_dir, argbuf, >> argsize, >> sensebuf, (10*HZ), 5, 0); >> >> Should be changed to: >> >> /* Good values for timeout and retries? Values below >> from scsi_ioctl_send_command() for default case... */ >> cmd_result = scsi_execute(scsidev, scsi_cmd, data_dir, argbuf, >> argsize, >> sensebuf, (30*HZ), 5, 0); >> >> Using a 1TB Hitachi hard drive, this command times out because it(Continue reading)
RSS Feed