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>] [day] [month] [year] [list]
Message-ID: <4FAB9DFC.4040403@mvista.com>
Date:	Thu, 10 May 2012 14:52:44 +0400
From:	Sergei Shtylyov <sshtylyov@...sta.com>
To:	"Thang Q. Nguyen" <tqnguyen@....com>
CC:	Jeff Garzik <jgarzik@...ox.com>, linux-kernel@...r.kernel.org,
	linux-ide@...r.kernel.org
Subject: Re: [PATCH 3/5] sata_dwc: Add support ATAPI transfer

Hello.

On 10-05-2012 14:12, Thang Q. Nguyen wrote:

> Thanks for quick response,
> I do not mean user use fdisk command on CD/DVD. However, whenever using 'fdisk
> -l' command, the system will access each first sector on each SCSI device
> (including CD/DVD on it) and the DMA transfer on blank CD/DVD will not return
> any data.

    Shouldn't the drive return error status in this case?

> The timeout is detected and error handler will be called.

    But user may also run 'hdparm -t' or even 'dd' with offset on a drive. 
Have you tried your workaround with those?

> Using PIO on some first sectors will avoid the issue.

> Regards,
> Thang Nguyen -

MBR, Sergei
--
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