Michael Leone on Sat, 10 Mar 2001 14:00:22 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] SCSI tape question


On 10 Mar 2001 12:41:02 -0500, Beldon wrote:
> > 
> > Try "cdrecord --scanbus" (as root or sudo); it will list all SCSI
> > devices found, and their ID numbers. This will tell you if it's seen.
> > Also, look in syslog, where it loads up your SCSI adapter ... usually,
> > it shows all devices found that are attached to said SCSI adapter.
> 
> "cdrecord: command not found"

Odd. I thought RH installed that by default. Wouldn't have mentioned it
otherwise.


> I don't have any SCSI CD or disk drives-- tape only.  This utility you 
> mention looks like it's for a CD device.  Since CD's are block devices, would 
> this even work if I had it?

Perhaps not.  But the --scanbus option lists all devices on all SCSI
buses.
(you need to tell cdrecord which device is the CD recorder).  Even if
you don't have a SCSI CD, it should still show all devices. Which is
what you wanted to see - whether your tape was recognized.

Cdrecord 1.9 (i586-mandrake-linux-gnu) Copyright (C) 1995-2000 Jörg
Schilling
Linux sg driver version: 2.1.39
Using libscg version 'schily-0.1'
scsibus0:
        0,0,0     0) *
        0,1,0     1) 'IOMEGA  ' 'ZIP 100         ' 'J.03' Removable Disk
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) 'PLEXTOR ' 'CD-R   PX-W124TS' '1.05' Removable
CD-ROM
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

Which shows me that all my SCSI devices (I have only the 2) are seen by
the system. Even the non-CD ones, like the ZIP.
(the middle number is the SCSI ID of that device)

Better yet - look in syslog:

Mar  4 14:17:37 minas-aran kernel: scsi0 : AdvanSys SCSI 3.3D: PCI Ultra
16 CDB: IO B000/F, IRQ 11
Mar  4 14:17:37 minas-aran kernel: scsi : 1 host.
Mar  4 14:17:37 minas-aran kernel:   Vendor: IOMEGA    Model: ZIP 100
Rev: J.03
Mar  4 14:17:37 minas-aran kernel:   Type:   Direct-Access
ANSI SCSI revision: 02
Mar  4 14:17:37 minas-aran kernel: Detected scsi removable disk sda at
scsi0, channel 0, id 1, lun 0
Mar  4 14:17:37 minas-aran kernel:   Vendor: PLEXTOR   Model: CD-R
PX-W124TS  Rev: 1.05
Mar  4 14:17:37 minas-aran kernel:   Type:   CD-ROM
ANSI SCSI revision: 02
Mar  4 14:17:37 minas-aran kernel: Detected scsi CD-ROM sr0 at scsi0,
channel 0, id 4, lun 0
Mar  4 14:17:37 minas-aran kernel: scsi : detected 2 SCSI generics 1
SCSI cdrom 1 SCSI disk total.
Mar  4 14:17:37 minas-aran kernel: sr0: scsi3-mmc drive: 32x/32x writer
cd/rw xa/form2 cdda tray

This shows that it found my AdvanSys SCSI adapter; and then lists all
devices attached to that adapter, along with the device names attached
(sda, sr0, etc). It should find ANY devices, block or not, I would
think.

You did either compile in support for SCSI tape drives, or compile it as
a module, and load it?






> 
> -- 
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GIT/MU/CS/PA d s:++ a C++ UA$ P+++ L++>++++ E W++ N++ o-- K w--- O- M+ V-- PS+
> PE Y+ PGP+ t+ 5-- X- R* !tv b++ DI++ D+ G++ e+ h--- r+++ y++++
> -----END GEEK CODE BLOCK-------
> For translation:  http://www.kluge.net/ungeek.html
> 
> 
> ______________________________________________________________________
> Philadelphia Linux Users Group       -      http://www.phillylinux.org
> Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
> General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug
> 
> 



-- 
 
------------------------------------------------------------------
Michael J. Leone                  Registered Linux user #201348 
<mailto:turgon@mike-leone.com>    ICQ: 50453890
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF

You've got your glory, you've paid for it all
You take your pension in loneliness and alcohol
                     Billy Squier, "Everybody wants you"



______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug