Re: IDE CD recorder, in machine with SCSI tape?

2001-11-03 Thread Aniartia
On Saturday 03 November 2001 01:37, Stan Brown wrote:
 NOw, acording to the CD Recording HOWTO, I should be able to run cdrecord
 -scanbus and see what my avaialble devise are. Unfortunately, on both
 machines it just reports 7 slots, one of which has the SCSI tape in it.

I've always had problems with cdrecord -scanbus I never seem to get the 
second scsi bus on my machines (where all the CD burners are) scaned but 
using cdrecord dev=1,4,0 speed=8 /path/to.iso works fine for my 8x4x24 Yam.

First off SCSI emulation is the second scsi bus (as the first bus is your 
real scsi card). I'd be guessing that a virtual scsi controler would at the 
first scsi device (1,0,0) so I'd try 1,1,0. What I would do is to try to burn 
a cd without a cd in the burner starting at 1,0,0 and increasing that second 
number (the device id), you'll either get something about the device not 
existing or it'll barf when it checks the media but before then you'll get a 
load of info about te burner.

HTH
Ani



Re: IDE CD recorder, in machine with SCSI tape?

2001-11-03 Thread Marc Wilson
On Fri, Nov 02, 2001 at 06:20:22PM -0800, Thomas Zimmerman wrote:
 As you have true scsi, you don't need ide-scsi. cdrecord -scanbus
 shouldtm pick up all of your scsi devices. That it doesn't makes me
 wonder if enabling your kernel to probe all LUNs will help. It is a
 kernel config question.

I'm sure you just missed the fact that the burner is IDE. :)

-- 
Marc Wilson
[EMAIL PROTECTED]
[EMAIL PROTECTED]



pgppx53Pt016I.pgp
Description: PGP signature


Re: IDE CD recorder, in machine with SCSI tape?

2001-11-03 Thread Marc Wilson
On Fri, Nov 02, 2001 at 08:37:40PM -0500, Stan Brown wrote:
 HP cd16ri CD recorder installed in machines with Aadaptec SCSI host card,
 each has exactly on device on the SCSI bus.

I think you said earlier that the CD-R was on hda?  And that it worked?
You can mount discs and all?

modules deleted

Ok, when you loaded ide-scsi, did it see the drive?  It should have logged
something saying that it had detected a drive to manage.

 NOw, acording to the CD Recording HOWTO, I should be able to run cdrecord
 -scanbus and see what my avaialble devise are. Unfortunately, on both
 machines it just reports 7 slots, one of which has the SCSI tape in it.

It should look like this (unused LUN's removed):

[19:26][pts/3][16][/home/mwilson]
# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
Linux sg driver version: 3.1.20
Using libscg version 'schily-0.5'
scsibus0:
0,5,0 5) 'ARCHIVE ' 'Python 02635-XXX' '567D' Removable Tape
0,6,0 6) 'TOSHIBA ' 'DVD-ROM SD-M1201' '1R08' Removable CD-ROM
scsibus1:
1,0,0   100) 'IOMEGA  ' 'ZIP 100 ' '14.A' Removable Disk
1,1,0   101) '_NEC' 'NR-7700A' '1.01' Removable CD-ROM
[19:26][pts/3][16][/home/mwilson]
# 

You see the normal SCSI bus on my NCR810 card first, with the tape drive
and the DVD, and then the simulated SCSI bus produced by ide-scsi that has
my Zip and my burner on it.

So.

It seems that something else is taking control of the device before
ide-scsi gets a chance to.  That's usually ide-cd, the normal IDE CDROM
driver in the kernel.  You need to either leave it out (since you can just
let ide-scsi do everything), or else tell it to ignore the burner.

Or make it a module, and load one or the other when you want them.  That
would pretty much mean that you'd have to load ide-scsi by hand when you
wanted it, unless you engaged in some trickery in /etc/modutils.

Try telling ide-cd to ignore the drive, first.  Add:

append=hda=ide-scsi

to your boot (in lilo.conf) and see then whether ide-scsi can control the
drive.

silly quote deleted, since it resolves to Digital Research being the
creators of Windows, rather than Microsoft

-- 
Marc Wilson
[EMAIL PROTECTED]
[EMAIL PROTECTED]



pgpVO6ubuF5Ho.pgp
Description: PGP signature


IDE CD recorder, in machine with SCSI tape?

2001-11-02 Thread Stan Brown
K, at this point i've tried this on 2 different machines. Here's the
scenarion

HP cd16ri CD recorder installed in machines with Aadaptec SCSI host card,
each has exactly on device on the SCSI bus. Both are Debian potato +
Progeny + 2.4x kernels ( one 2.4.3, and 1 2.4.9). On the machine at home I
have the folowing modules loaded:


Module  Size  Used by
sg 22832   0  (autoclean)
mousedev4496   0  (unused)
input   3904   0  [mousedev]
ide-scsi8112   0 
aic7xxx   117072   0 
scsi_mod   86368   3  [sg ide-scsi aic7xxx]
ne  6880   1 

NOw, acording to the CD Recording HOWTO, I should be able to run cdrecord
-scanbus and see what my avaialble devise are. Unfortunately, on both
machines it just reports 7 slots, one of which has the SCSI tape in it.

How can I make this scenarion work?

BTW on the machine at home the tape device is really a tape changer, and I
can control it using mtx, so I know the SCSI generic stuff is working
corectly.

Thanks for any sugestions.

-- 
Stan Brown [EMAIL PROTECTED]843-745-3154
Charleston SC.
-- 
Windows 98: n.
useless extension to a minor patch release for 32-bit extensions and
a graphical shell for a 16-bit patch to an 8-bit operating system
originally coded for a 4-bit microprocessor, written by a 2-bit 
company that can't stand for 1 bit of competition.
-
(c) 2000 Stan Brown.  Redistribution via the Microsoft Network is prohibited.



Re: IDE CD recorder, in machine with SCSI tape?

2001-11-02 Thread Thomas Zimmerman
On 02-Nov 08:37, Stan Brown wrote:
 K, at this point i've tried this on 2 different machines. Here's the
 scenarion
 
 HP cd16ri CD recorder installed in machines with Aadaptec SCSI host card,
 each has exactly on device on the SCSI bus. Both are Debian potato +
 Progeny + 2.4x kernels ( one 2.4.3, and 1 2.4.9). On the machine at home I
 have the folowing modules loaded:
 
 
 Module  Size  Used by
 sg 22832   0  (autoclean)
 mousedev4496   0  (unused)
 input   3904   0  [mousedev]
 ide-scsi8112   0 
 aic7xxx   117072   0 
 scsi_mod   86368   3  [sg ide-scsi aic7xxx]
 ne  6880   1 
 
 NOw, acording to the CD Recording HOWTO, I should be able to run cdrecord
 -scanbus and see what my avaialble devise are. Unfortunately, on both
 machines it just reports 7 slots, one of which has the SCSI tape in it.
 
 How can I make this scenarion work?

As you have true scsi, you don't need ide-scsi. cdrecord -scanbus
shouldtm pick up all of your scsi devices. That it doesn't makes me
wonder if enabling your kernel to probe all LUNs will help. It is a
kernel config question.

 
 BTW on the machine at home the tape device is really a tape changer, and I
 can control it using mtx, so I know the SCSI generic stuff is working
 corectly.

...and this shows that scsi works...

 
 Thanks for any sugestions.
 
 -- 
 Stan Brown [EMAIL PROTECTED]
 843-745-3154
 Charleston SC.
[snip]

Thomas

pgparHKjrTzs3.pgp
Description: PGP signature