LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-20-2005, 05:05 PM   #1
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Rep: Reputation: 45
Scsi DLT drive not detected but works on windows


Hi Guys/Gals.

I have a SCSI tape drive that I got from work + cables + card. Put it in my XP machine and all works fine, So I took down my home server and put it on that, but it can't see the tape drive.
Running : CentOS release 3.6 (Final)
lspci shows it :

00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:06.0 Ethernet controller: Macronix, Inc. [MXIC] MX987x5 (rev 25)
00:07.0 LSI Logic / Symbios Logic 53c875 (rev 04)
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0c.0 RAID bus controller: Promise Technology, Inc. PDC20276 (MBFastTrak133 Lite) (rev 01)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)

but cat /proc/scsi/scsi says :
Attached devices: none

I'm running :
2.4.21-37.EL #1 i686 athlon i386

Any help would be really cool before I loose the rest of my hair !! why oh why does it not work...

Keith..
 
Old 12-20-2005, 05:18 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,568

Rep: Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865
Are any SCSI modules loading? Check the output of lsmod for:
sym53c8xx
scsi_mod
sr_mod
sd_mod
st

If not you can load the drivers with the modprobe command.

I assume you have reconnected the cables and drive the same as with the XP PC and the SCSI controller recognizes the drive during its scan at boot up.
 
Old 12-21-2005, 03:36 AM   #3
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Original Poster
Rep: Reputation: 45
Hi michaelk.

Scsi_mod and st where the only ones loaded, so I added the rest in by hand :

Module Size Used by Not tainted
sd_mod 14032 0 (unused)
sr_mod 17368 0 (unused)
sym53c8xx 67028 0 (unused)
diskdumplib 5004 0 [sym53c8xx]

scsi_mod 105836 6 [sd_mod sr_mod sym53c8xx st sg ide-scsi]




mt -f /dev/st0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x1a (DLT 20GB).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN

and :
cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: Quantum Model: DLT4000 Rev: CD3C
Type: Sequential-Access ANSI SCSI revision: 02




Where can I add these modules so that they are there on reboot ?
And just out of curiosity do you know why/how they where missing?

Thanks again anyway for your help I wouldn't have even looked at the kernel modules.

Keith - Still with hair......
 
Old 12-21-2005, 06:40 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,568

Rep: Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865
Quote:
Where can I add these modules so that they are there on reboot ?
And just out of curiosity do you know why/how they where missing?
kudzu i.e. the plug n play utility is not running or didn't properly detect the new hardware would be a first guess.

You can add the modules to the /etc/modprobe.conf file.
 
Old 12-21-2005, 04:17 PM   #5
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Original Poster
Rep: Reputation: 45
thanks again for your help. I'll add the modules in. The kudzu program did detect the new hadrware the first time the computer booted and I said yes to adding the new hardware but It must have been lying...

Thanks

Keith.
 
Old 12-22-2005, 05:45 AM   #6
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Original Poster
Rep: Reputation: 45
/etc/modprobe.conf did not exist so I created it, but nothing happend after reboot? I had to re add the modules by hand.
 
Old 12-22-2005, 06:09 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,568

Rep: Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865
For some reason I thought you were running a 2.6 kernel. Look for a /etc/modules.conf file.
 
Old 12-22-2005, 06:30 AM   #8
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Original Poster
Rep: Reputation: 45
I had a quick google but could really find / or I missed the point.

my file currently has :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller2 ehci-hcd
alias usb-controller1 ehci-hcd
alias usb-controller3 usb-uhci
alias sound-slot-0 via82cxxx_audio
alias eth0 8139too
alias eth1 tulip
alias scsi_hostadapter sym53c8xx

How do I add them in (Sorry It might sound silly to you, but I'm a lost a bit here)

Keith.
 
Old 12-22-2005, 06:49 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,568

Rep: Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865
Actually sd_mod is for scsi disks and sr-mod is for CDROM drives so you really do not need them. When you reboot is the tape drive recognized?
 
Old 12-22-2005, 04:58 PM   #10
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Original Poster
Rep: Reputation: 45
no but as soon as I modprobe sym53c8xx it sits there for a few secs then when i cat /proc/scsi/scsi the tape drive appears.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB thumb drive detected by usb but not by scsi ashlock Linux - Hardware 6 06-02-2005 02:58 PM
tar command and dlt drive LuvdemHeels Red Hat 0 11-24-2004 03:29 PM
SCSI, DAT and DLT tape jimmy2002 Linux - Hardware 4 04-20-2004 07:02 AM
DLT 40 How do I access this tape drive? chr15t0 Linux - Hardware 1 02-14-2003 10:13 AM
Linux with SCSI DLT drive AMilroy Linux - General 0 07-09-2001 11:01 AM

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

All times are GMT -5. The time now is 11:36 PM.

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