lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E75C4FECC27A44E9F7E0737D71946900F686DB5@xmb-sjc-21e.amer.cisco.com>
Date:	Tue, 15 May 2012 11:35:57 -0700
From:	"Andre Hedrick (anhedric)" <anhedric@...co.com>
To:	"Alan Cox" <alan@...rguk.ukuu.org.uk>
Cc:	<linux-kernel@...r.kernel.org>
Subject: RE: CFA 4.0 patch

Hi Alan,

You betcha, otherwise I would not have a case.

STEC configed to MWDMA4 (Max reported as UDMA/66)

-> ShowCFDriveInfo()
CompactFlash Identify Drive (0xEC)
Word 0: 0x044A
Word 1: 0x07C2
Word 2: 0x0000
Word 3: 0x0010
Word 4: 0x0000
Word 5: 0x0200
Word 6: 0x003F
Word 7: 0x001E
Word 8: 0x8BE0
Word 9: 0x0000
Word 10: 0x2053

Viking configed to MWDMA2 (Max reported as MWDMA2)

-> ShowCFDriveInfo()
CompactFlash Identify Drive (0xEC)
Word 0: 0x044A
Word 1: 0x07AA
Word 2: 0x0000
Word 3: 0x0010
Word 4: 0x0000
Word 5: 0x0240
Word 6: 0x003F
Word 7: 0x001E
Word 8: 0x2D60
Word 9: 0x0000
Word 10: 0x564D

Now I only have data for the 0x044A case, but it is on par with the CFA
4.0 spec that I can send you if you want a copy.

Oh yeah, just so you know I am coming out of retirement and tinkering
with the other insanity, security.

Cheers,
Andre

Linux Former-ATA/SATA guy
      ^^^^^^
      Changed just for you friend.

-----Original Message-----
From: Alan Cox [mailto:alan@...rguk.ukuu.org.uk] 
Sent: Tuesday, May 15, 2012 7:38 AM
To: Andre Hedrick (anhedric)
Cc: linux-kernel@...r.kernel.org
Subject: Re: CFA 4.0 patch

> 044Ah: This is the alternate value of Word 0 turns on ATA device and
> turns off Removable Media and Removable Device while 	preserving all
> Retired bits in the word.
> 
> 0040h: This is the alternate value of Word 0 turns on ATA device and
> turns off Removable Media and Removable Device while 	zeroing all
> Retired bits in the word
> 
> Cheers,
> Andre
> --------------------
> The Linux X-ATA/SATA guy
      ^former ;)


> --- linux-2.6.32.orig/include/linux/ata.h	Mon May 14 15:48:24 2012
> +++ linux-2.6.32/include/linux/ata.h	Mon May 14 15:51:42 2012
> @@ -819,6 +819,10 @@
>  {
>  	if (id[ATA_ID_CONFIG] == 0x848A)	/* Traditional CF */
>  		return 1;
> +	if (id[ATA_ID_CONFIG] == 0x044A)	/* Alternative CF w/
> removable turned off, preserving retired bits */
> +		return 1;
> +	if (id[ATA_ID_CONFIG] == 0x0040)	/* Alternative CF w/
> removable turned off, zeroing retired bits*/
> +		return 1;

Do you have test case hardware for this that fails the other checks.
I've
never ever come across any. I don't believe it exists at this point.

Also 2.6.32 is some years ago 8)

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ