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: <459A9C30.20204@gmail.com>
Date:	Wed, 03 Jan 2007 02:53:52 +0900
From:	Tejun Heo <htejun@...il.com>
To:	Mark Lord <lkml@....ca>
CC:	Jens Axboe <jens.axboe@...cle.com>,
	Rene Herman <rene.herman@...il.com>,
	Alan Cox <alan@...rguk.ukuu.org.uk>,
	linux-kernel@...r.kernel.org, Linus Torvalds <torvalds@...l.org>
Subject: Re: 2.6.20-rc2+: CFQ halving disk throughput.

Mark Lord wrote:
> Tejun Heo wrote:
>>
>> OT but care to make -i and -I work equivalently?  Such that -i reports
>> more detailed info and user can dump stored id block.
> 
> hdparm -I works just fine now.

No objection there.

> hdparm -i requires the HDIO_GET_IDENTITY ioctl() from drivers/ide,
> to retrieve the "boot time" copy of the identify block, before any
> mods are made by the driver.  But in recent years, drivers/ide has
> broken it, in that it tries to maintain the "boot time" copy in sync
> with the on-drive copy.  Kinda makes -i pointless.
> 
> Is there a way to retrieve the libata cached copy of the ID block?
> How?

Just implemented and posted patch for HDIO_GET_IDENTITY in an attempt to
access ATAPI IDENTIFY block using hdparm.

>> Support for IDENTIFY PACKET DEVICE would be nice too.
> 
> It already does that, using HDIO_DRIVE_CMD to retrieve it
> in the same way as for regular IDENTIFY DEVICE commands.

Hmmm... My hdparm doesn't seem to do that.

# hdparm -V
hdparm v6.9
# hdparm -I /dev/sr0

/dev/sr0:
 HDIO_DRIVE_CMD(identify) failed: Input/output error

Am I missing something?

> In hdparm-7.0, I'll have it use ATA passthrough when possible
> for most/all commands.

Glad to hear.

Happy new year.

-- 
tejun
-
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