public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Johannes Stezenbach <js@convergence.de>
Cc: Mike Black <mblack@csi-inc.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Hotswap IDE
Date: Fri, 06 Feb 2004 14:02:51 -0500	[thread overview]
Message-ID: <4023E4DB.5020801@tmr.com> (raw)
In-Reply-To: <20040205233934.GC10450@convergence.de>

Johannes Stezenbach wrote:
> Mike Black wrote:
> 
>>I use a removable IDE chassis to allow me to mirror my primary drive for offsite storage.
>>I'd like to hotswap the IDE but can't seem to get the drive to allow DMA access after restarting it.
>>A reboot is necessary for DMA access.
>>I'm using idectl from hdparm-5.4 which generates the following hdparm commands:
>>/sbin/hdparm -U 1 /dev/hda
>>/sbin/hdparm -R 0x170 0 0 /dev/hda
> 
> 
> I haven't tried myself, but Alan Cox did:
> 
> Linux 2.4.22-rc2-ac3
>  o       Finish off the core IDE hotplug support         (me)
>          | If your hardware supports it you can now
>          | hdparm -b0 /dev/hdc  change drive hdparm -b1 /dev/hdc
> 
> Maybe that works better than -U/-R ?

I suspect that both might not be a bad thing, set the bus down and 
unregister, then set the bus up and register. Order may be important!

Let me know if you try this, I have been contemplating using a hotswap 
drive for data transfer.

-- 
bill davidsen <davidsen@tmr.com>
   CTO TMR Associates, Inc
   Doing interesting things with small computers since 1979

      reply	other threads:[~2004-02-06 19:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-05 12:50 Hotswap IDE Mike Black
2004-02-05 23:39 ` Johannes Stezenbach
2004-02-06 19:02   ` Bill Davidsen [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=4023E4DB.5020801@tmr.com \
    --to=davidsen@tmr.com \
    --cc=js@convergence.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mblack@csi-inc.com \
    /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