Re: SATL support for hdparm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 14, 2009 at 07:20:20PM -0500, Mark Lord wrote:

> >> hdparm --verbose -B /dev/sdb
> >
> >	[root@heth hdparm-9.10]# ./hdparm --verbose -B 254 /dev/sdb
> >
> >	/dev/sdb:
> >	 setting Advanced Power Management level to 0xfe (254)
> >	outgoing cdb:  a1 06 20 05 fe 00 00 00 40 ef 00 00 00 00 00 00
> >	SG_IO: ATA_12 status=0x2, host_status=0x0, driver_status=0x8
> >	SG_IO: sb[]:  72 0b 00 00 00 00 00 0e 09 0c 00 04 00 fe 00 00 00 00 
> >	00 00 40 51 00 00 00 00 00 00 00 00 00 00
> >	SG_IO: desc[]:  09 0c 00 04 00 fe 00 00 00 00 00 00
> >	      ATA_12 stat=51 err=04 nsect=fe lbal=00 lbam=00 lbah=00 dev=40
> ..
> 
> Ahh.. there ya go.  Mmmm.. You *could* try again with hdparm-9.11
> (on Sourceforge now.. forgot to upload it earlier).
> 
> The difference being, 9.11 will use ATA_16 instead of ATA_12 by default for 
> SAT.
> Some enclosures care about that, but drives shouldn't care.

OK, that gives the same error:

	[root@heth hdparm-9.11]# ./hdparm -B 254 --verbose /dev/sdb

	/dev/sdb:
	 setting Advanced Power Management level to 0xfe (254)
	outgoing cdb:  85 06 20 00 05 00 fe 00 00 00 00 00 00 40 ef 00
	SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8
	SG_IO: sb[]:  72 0b 00 00 00 00 00 0e 09 0c 00 04 00 fe 00 00 00 00 00 00 40 51 00 00 00 00 00 00 00 00 00 00
	SG_IO: desc[]:  09 0c 00 04 00 fe 00 00 00 00 00 00
	      ATA_16 stat=51 err=04 nsect=fe lbal=00 lbam=00 lbah=00 dev=40
	I/O error, ata_op=0xef ata_status=0x51 ata_error=0x04
	 HDIO_DRIVE_CMD failed: Input/output error
	[root@heth hdparm-9.11]# 
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux