Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: "Robin H. Johnson" <robbat2@gentoo.org>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: [PATCH v2] libata: disable a disk via libata.force params
Date: Mon, 16 Dec 2013 12:43:30 -0500	[thread overview]
Message-ID: <20131216174330.GL32509@htj.dyndns.org> (raw)
In-Reply-To: <1387215079-29897-1-git-send-email-robbat2@gentoo.org>

On Mon, Dec 16, 2013 at 09:31:19AM -0800, Robin H. Johnson wrote:
> A user on StackExchange had a failing SSD that's soldered directly onto
> the motherboard of his system. The BIOS does not give any option to
> disable it at all, so he can't just hide it from the OS via the BIOS.
> 
> The old IDE layer had hdX=noprobe override for situations like this, but
> that was never ported to the libata layer.
> 
> This patch implements a disable flag for libata.force.
> Example use:
> libata.force=2.0:disable
> 
> [v2 of the patch, removed the nodisable flag per Tejun Heo]
> 
> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
> X-URL: http://unix.stackexchange.com/questions/102648/how-to-tell-linux-kernel-3-0-to-completely-ignore-a-failing-disk
> X-URL: http://askubuntu.com/questions/352836/how-can-i-tell-linux-kernel-to-completely-ignore-a-disk-as-if-it-was-not-even-co
> X-URL: http://superuser.com/questions/599333/how-to-disable-kernel-probing-for-drive

Applied to libata/for-3.13-fixes w/ stable cc'd and minor description
edits.

Thanks.

-- 
tejun

      reply	other threads:[~2013-12-16 17:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-08  0:56 [PATCH] libata: provide the ability to disable a disk via the params Robin H. Johnson
2013-12-12 13:39 ` Tejun Heo
2013-12-12 20:22   ` Robin H. Johnson
2013-12-12 20:36     ` Levente Kurusa
2013-12-12 20:47       ` Robin H. Johnson
2013-12-13 21:15       ` Tejun Heo
2013-12-16 17:31 ` [PATCH v2] libata: disable a disk via libata.force params Robin H. Johnson
2013-12-16 17:43   ` Tejun Heo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131216174330.GL32509@htj.dyndns.org \
    --to=tj@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robbat2@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox