LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-11-2003, 05:22 PM   #1
SandyLiu
LQ Newbie
 
Registered: May 2003
Posts: 8

Rep: Reputation: 0
Help on install tape drive in RedHat Linux 8.0


Hi All,

I want to install an old Sun's tape drive (72-144 Gbyte 4mm DDS-3 Autoloader) in my new dell server (OS: RedHat Linux 8.0).

I added a SCSI card (AHA-2940) and connected the tape drive with the SCSI card by some cable. When I restart the server, the system automatically detect the new hardware (the scsi controller card).

After this, I tried to install mt tape utilities
$ mt -f /dev/st0 status
$ /dev/st0 no such device

The system does not recognize the tape drive. I am wondering anything I need to do in order for the system to recognize the tape drive.

I am a newbie to linux and I really appreciate your suggestions! Thanks!

Sandy
 
Old 05-12-2003, 01:15 AM   #2
ifconfig
LQ Newbie
 
Registered: May 2003
Posts: 23

Rep: Reputation: 15
You can first go to /proc to see if there is the device detect
or you can lspci

dmesg|grep SCSI

Hope this can help
 
Old 05-12-2003, 07:03 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
See what modules SCSI modules are being loaded with lsmod. You should have:
scsi_mod
st
sd_mod
 
Old 05-12-2003, 08:54 PM   #4
SandyLiu
LQ Newbie
 
Registered: May 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I tried lsmod, and I can see
sd_mod 13552 12
scsi_mod 107144 3 [sg megaraid sd_mod]

But there is no st. Does that mean that st module has not been loaded? What do I need to do? Thanks for suggestions!
 
Old 05-12-2003, 09:09 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The first thing to check would be
to see whether the device is recognized
by the adaptec as such...
less /proc/scsi

If it's there, and the scsi_mod is loaded,
try
modprobe st
(as root)

Cheers,
Tink
 
Old 05-12-2003, 09:15 PM   #6
SandyLiu
LQ Newbie
 
Registered: May 2003
Posts: 8

Original Poster
Rep: Reputation: 0
How could I tell whether the device is recognized from $less /proc/scci ?

The output of this command is
total 0
dr-xr-xr-x 4 root root 0 May 12 19:23 ./
dr-xr-xr-x 118 root root 0 May 12 09:03 ../
dr-xr-xr-x 2 root root 0 May 12 19:23 megaraid/
-r--r--r-- 1 root root 0 May 12 19:23 scsi
dr-xr-xr-x 2 root root 0 May 12 19:23 sg/


Sorry for this stupid question but I am really a newbie in Linux.
Thanks!

Sandy
 
Old 05-12-2003, 09:20 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by SandyLiu
How could I tell whether the device is recognized from $less /proc/scci ?

The output of this command is
total 0
dr-xr-xr-x 4 root root 0 May 12 19:23 ./
dr-xr-xr-x 118 root root 0 May 12 09:03 ../
dr-xr-xr-x 2 root root 0 May 12 19:23 megaraid/
-r--r--r-- 1 root root 0 May 12 19:23 scsi
dr-xr-xr-x 2 root root 0 May 12 19:23 sg/


Sorry for this stupid question but I am really a newbie in Linux.
Thanks!

Sandy
No worries ...

That's the output of
ls /proc/scsi
not
less /proc/scsi

less /proc/scsi
could look like this:
Code:
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST51080N         Rev: 0943
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: SEAGATE  Model: ST51080N         Rev: 0943
  Type:   Direct-Access                    ANSI SCSI revision: 02
:)

Cheers,
Tink
 
Old 05-12-2003, 09:27 PM   #8
SandyLiu
LQ Newbie
 
Registered: May 2003
Posts: 8

Original Poster
Rep: Reputation: 0
That is the output of $less /proc/scsi in my computer. Kind of weird. Is there any other way to check this information besides this command?

I really appreciate your suggestion. Thanks!

Sandy
 
Old 05-12-2003, 09:39 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Oh doh ... I apologise.

try
less /proc/scsi/scsi

:/

/me is tired ... :}

Cheers,
Tink
 
Old 05-12-2003, 09:39 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
You can manually create those devices if you like

cd /dev

mknod st0 c 9 0

mknod nst0 c 9 128
 
Old 05-12-2003, 09:52 PM   #11
SandyLiu
LQ Newbie
 
Registered: May 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks, Tinkster. The output of $less /proc/scsi/scsi from my computer is:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: MegaRAID Model: LD0 RAID5 69356R Rev: 2.01
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 04 Id: 06 Lun: 00
Vendor: PE/PV Model: 1x6 SCSI BP Rev: 0.29
Type: Processor ANSI SCSI revision: 02

It seems the system does not recognize the device.

Hi, Michaelk, st0 already exists under /dev. But when I tried
$mt -f /dev/st0 status

It pops up "no such devices" :-(

Kind of weird. Thanks for you guys' kindly suggestions:-)

Sandy
 
Old 05-12-2003, 10:00 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Now it all bubbles down to SCSI-id,
termination & cable-issues ...

Good luck!

Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install a Sony SDX-420 IDE Tape Drive rmdoyle75 Linux - Hardware 0 11-11-2003 10:54 AM
Help on install tape drive in RedHat Linux 8.0 SandyLiu Linux - Newbie 3 05-10-2003 10:33 PM
how to add tape drive to redhat 8.0? chanys Linux - General 2 03-05-2003 04:34 PM
Tape Drive on RedHat Zyanid Linux - Hardware 0 08-23-2002 03:22 AM
install tape drive on Redhat 7.3 wangxiuy Linux - Hardware 3 07-25-2002 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration