mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Bristow <paul@paulbristow.net>
To: Miles Lane <miles.lane@attbi.com>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Dont understand hdc=ide-scsi behaviour.
Date: Fri, 20 Sep 2002 20:44:38 +0200	[thread overview]
Message-ID: <3D8B6C96.6080406@paulbristow.net> (raw)
In-Reply-To: <1032533179.4526.102.camel@firehose.megapathdsl.net>

Use the line
    hdc=ide-scsi hdd=ide-floppy

and all should be well, even if using ide-floppy as a module

Miles Lane wrote:

>On Thu, 2002-09-19 at 23:46, Brad Hards wrote:
>  
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>On Fri, 20 Sep 2002 07:08, Reg Clemens wrote:
>>    
>>
>>>I dont understand the behaviour of kernel 2.4.18 (and probably all others)
>>>when I put the line
>>>		hdc=ide-scsi
>>>on the load line.
>>>
>>>I would EXPECT to get the ide-scsi driver for hdc (my cdwriter) but instead
>>>get it for BOTH hdc and hdd, the cdwriter and the zip drive.
>>>
>>>After starting this way (with hdc=ide-scsi), I find that
>>>	/dev/cdrom2 -> /dev/scd0
>>>and that to access the zip drive I have to use /dev/sda1 (or /dev/sda4)
>>>      
>>>
>>There are two slightly different things happening, I think.
>>
>>1. When you say hdc=ide-scsi, you are telling the IDE system that you don't 
>>want to use the normal IDE interfaces to userland (such as ide-cdrom), but 
>>instead want all access to this device to be accessed through the SCSI 
>>midlayer (and associated SCSI interfaces, like the sg and scd drivers). So 
>>ide-scsi becomes the driver, instead of ide-cdrom. You should be able to see 
>>this in /proc/ide/hdc/driver
>>
>>2. ide-scsi is greedy, and will grab any IDE device without a driver. ATAPI 
>>floppy devices (hopefully) like your zip drive need the IDE floppy device 
>>driver, which is probably not loaded. What does CONFIG_BLK_DEV_IDEFLOPPY 
>>equal in your kernel config?
>>    
>>
-- 

Paul

Email:	paul@paulbristow.net
Web:	http://paulbristow.net
ICQ:	11965223



      parent reply	other threads:[~2002-09-20 18:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 21:08 Reg Clemens
2002-09-20  0:04 ` Allan Duncan
2002-09-20  5:51 ` Andre Hedrick
2002-09-20  6:46 ` Brad Hards
2002-09-20 14:46   ` Miles Lane
2002-09-20  7:59     ` Brad Hards
2002-09-20 18:44     ` Paul Bristow [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=3D8B6C96.6080406@paulbristow.net \
    --to=paul@paulbristow.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miles.lane@attbi.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

all inboxes | Powered by JetHome®