public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* IDE-SCSI grabs too many drives
@ 2003-01-04  8:21 Andrew S. Johnson
  2003-01-05  0:15 ` J.A. Magallon
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew S. Johnson @ 2003-01-04  8:21 UTC (permalink / raw)
  To: linux-kernel

I have append="hdc=ide-scsi" in my lilo.conf file,
but when I modprobe ide-scsi, it grabs both the
CD-RW and the DVD-ROM:

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
   Vendor: HP        Model: CD-Writer+ 9100   Rev: 1.0c
   Type:   CD-ROM                             ANSI SCSI revision: 02
   Vendor: RAITE     Model: RDR-108H          Rev: 1.7
   Type:   CD-ROM                             ANSI SCSI revision: 02

Shouldn't it just make only hdc a SCSI drive?

If I unload ide-scsi and modprobe ide-cd instead, I get this:

hdc: ATAPI 32X CD-ROM CD-R/RW drive, 4096kB Cache, UDMA(33)
hdd: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(33)

Of course, I can't burn CD's with this configuration.

I want the CD-RW as a SCSI drive, and the DVD-ROM as an IDE drive.

For some reason, mplayer only works when the DVD-ROM is an IDE
device.  If I try to use the SCSI equivalent, it hangs.

So, how do I get hdc as a SCSI drive, and hdd as an IDE drive?

Any and all help will be appreciated.

Andy Johnson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IDE-SCSI grabs too many drives
  2003-01-04  8:21 Andrew S. Johnson
@ 2003-01-05  0:15 ` J.A. Magallon
  0 siblings, 0 replies; 4+ messages in thread
From: J.A. Magallon @ 2003-01-05  0:15 UTC (permalink / raw)
  To: linux-kernel


On 2003.01.04 Andrew S. Johnson wrote:
> I have append="hdc=ide-scsi" in my lilo.conf file,
> but when I modprobe ide-scsi, it grabs both the
> CD-RW and the DVD-ROM:
> 

I think the correct param is "hdc=scsi", with incorrect param and no
ide-cd loaded, probably ide-scsi grabs anything it can...

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.21-pre2-jam2 (gcc 3.2.1 (Mandrake Linux 9.1 3.2.1-2mdk))

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IDE-SCSI grabs too many drives
       [not found] ` <fa.g96qm0v.1q1m9id@ifi.uio.no>
@ 2003-01-05  4:52   ` Andrew S. Johnson
  2003-01-05  8:28   ` Andrew S. Johnson
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew S. Johnson @ 2003-01-05  4:52 UTC (permalink / raw)
  To: linux-kernel



J.A. Magallon wrote:
> On 2003.01.04 Andrew S. Johnson wrote:
> 
>>I have append="hdc=ide-scsi" in my lilo.conf file,
>>but when I modprobe ide-scsi, it grabs both the
>>CD-RW and the DVD-ROM:
>>
> 
> 
> I think the correct param is "hdc=scsi", with incorrect param and no
> ide-cd loaded, probably ide-scsi grabs anything it can...
> 

Actually, I guessed on my own, and this solves it:

append="hdc=ide-scsi hdd=ide-cd" in lilo.conf

In rc.modules:

/sbin/modprobe ide-scsi
/sbin/modprobe ide-cd

Gives this in dmesg:

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
   Vendor: HP        Model: CD-Writer+ 9100   Rev: 1.0c
   Type:   CD-ROM                             ANSI SCSI revision: 02
hdd: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(33)

I don't actually know if the hdd=ide-cd does anything for the ide-cd
module, other than keep the ide-scsi module from grabbing it.  Does
anyone know?

Thanks,

Andy Johnson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IDE-SCSI grabs too many drives
       [not found] ` <fa.g96qm0v.1q1m9id@ifi.uio.no>
  2003-01-05  4:52   ` IDE-SCSI grabs too many drives Andrew S. Johnson
@ 2003-01-05  8:28   ` Andrew S. Johnson
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew S. Johnson @ 2003-01-05  8:28 UTC (permalink / raw)
  To: linux-kernel

J.A. Magallon wrote:
> On 2003.01.04 Andrew S. Johnson wrote:
> 
>>I have append="hdc=ide-scsi" in my lilo.conf file,
>>but when I modprobe ide-scsi, it grabs both the
>>CD-RW and the DVD-ROM:
>>
> 
> 
> I think the correct param is "hdc=scsi", with incorrect param and no
> ide-cd loaded, probably ide-scsi grabs anything it can...
> 

Actually, I guessed on my own, and this solves it:

append="hdc=ide-scsi hdd=ide-cd" in lilo.conf

In rc.modules:

/sbin/modprobe ide-scsi
/sbin/modprobe ide-cd

Gives this in dmesg:

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
   Vendor: HP        Model: CD-Writer+ 9100   Rev: 1.0c
   Type:   CD-ROM                             ANSI SCSI revision: 02
hdd: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(33)

I don't actually know if the hdd=ide-cd does anything for the ide-cd
module, other than keep the ide-scsi module from grabbing it. 
Conversely, the ide-cd module only grabs hdd even when the ide-scsi
module is not loaded (making hdc free).  So it appears to do something.

As it turns out, the latest version of cdrtools (2.0) supports ATAPI 
drives directly.  I tested this by burning an ISO, reading it back, and 
comparing the md5sums.  So the whole ide-scsi exersice looks to be
academic at this point.

Have fun,

Andy Johnson


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-05  8:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.ft06krv.t2sv1p@ifi.uio.no>
     [not found] ` <fa.g96qm0v.1q1m9id@ifi.uio.no>
2003-01-05  4:52   ` IDE-SCSI grabs too many drives Andrew S. Johnson
2003-01-05  8:28   ` Andrew S. Johnson
2003-01-04  8:21 Andrew S. Johnson
2003-01-05  0:15 ` J.A. Magallon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox