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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-11-2003, 05:22 PM
|
#1
|
LQ Newbie
Registered: May 2003
Posts: 8
Rep:
|
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
|
|
|
05-12-2003, 01:15 AM
|
#2
|
LQ Newbie
Registered: May 2003
Posts: 23
Rep:
|
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
|
|
|
05-12-2003, 07:03 AM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,743
|
See what modules SCSI modules are being loaded with lsmod. You should have:
scsi_mod
st
sd_mod
|
|
|
05-12-2003, 08:54 PM
|
#4
|
LQ Newbie
Registered: May 2003
Posts: 8
Original Poster
Rep:
|
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!
|
|
|
05-12-2003, 09:09 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
05-12-2003, 09:15 PM
|
#6
|
LQ Newbie
Registered: May 2003
Posts: 8
Original Poster
Rep:
|
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
|
|
|
05-12-2003, 09:20 PM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
05-12-2003, 09:27 PM
|
#8
|
LQ Newbie
Registered: May 2003
Posts: 8
Original Poster
Rep:
|
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
|
|
|
05-12-2003, 09:39 PM
|
#9
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Oh doh ... I apologise.
try
less /proc/scsi/scsi
:/
/me is tired ... :}
Cheers,
Tink
|
|
|
05-12-2003, 09:39 PM
|
#10
|
Moderator
Registered: Aug 2002
Posts: 26,743
|
You can manually create those devices if you like
cd /dev
mknod st0 c 9 0
mknod nst0 c 9 128
|
|
|
05-12-2003, 09:52 PM
|
#11
|
LQ Newbie
Registered: May 2003
Posts: 8
Original Poster
Rep:
|
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
|
|
|
05-12-2003, 10:00 PM
|
#12
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Now it all bubbles down to SCSI-id,
termination & cable-issues ...
Good luck!
Cheers,
Tink
|
|
|
All times are GMT -5. The time now is 03:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|