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: <2354996.jDU4uRfO83@merkaba>
Date:	Thu, 25 Jun 2015 08:08:50 +0200
From:	Martin Steigerwald <martin@...htvoll.de>
To:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:	Jeff Chua <jeff.chua.linux@...il.com>,
	Andreas Mohr <andi@...as.de>,
	lkml <linux-kernel@...r.kernel.org>,
	Christoph Hellwig <hch@....de>
Subject: Re: Stop SSD from waiting for "Spinning up disk..."

Am Mittwoch, 24. Juni 2015, 18:41:52 schrieb Greg Kroah-Hartman:
> On Thu, Jun 25, 2015 at 07:55:45AM +0800, Jeff Chua wrote:
> > On Thu, Jun 25, 2015 at 12:28 AM, Greg Kroah-Hartman
> > 
> > <gregkh@...uxfoundation.org> wrote:
> > > On Thu, Jun 25, 2015 at 12:22:47AM +0800, Jeff Chua wrote:
> > >> Both sda and sdb have the same SSD model.
> > > 
> > > That's a bug in your USB bridge chip, odds are it is not reporting the
> > > value properly.  There's nothing the scsi core or USB stack can do
> > > about
> > > this, sorry.  Please complain to the hardware manufacturer.
> > 
> > There are workaround boot cmdline parameters for other things ... any
> > chance to consider  one to fix broken rotational option? I'm not sure
> > how many out there are broken, but I really would like a faster way to
> > access my USB SSD without waiting for the "disk spinup".
> 
> Just like module paramaters, boot command lines are not for device
> specific attributes, sorry.  Again, please contact the manufacturer to
> get this fixed.  We can't add a quirk for this bridge because it would
> not work if you really put a rotational disk behind it.

How about a way to override it in sysfs directly during runtime just for a 
device individually, like choosing an I/O scheduler for example?

> Given the cheap cost of these types of bridges, I recommend just getting
> one that works.

That is an option as well and may educate hardware manufacturers to look a 
bit better at the quality of those devices (at least then Linux market share 
in that market increases).

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
--
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