LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Scsi DLT drive not detected but works on windows (https://www.linuxquestions.org/questions/linux-hardware-18/scsi-dlt-drive-not-detected-but-works-on-windows-395022/)

FragInHell 12-20-2005 05:05 PM

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..

michaelk 12-20-2005 05:18 PM

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.

FragInHell 12-21-2005 03:36 AM

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......

michaelk 12-21-2005 06:40 AM

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.

FragInHell 12-21-2005 04:17 PM

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.

FragInHell 12-22-2005 05:45 AM

/etc/modprobe.conf did not exist so I created it, but nothing happend after reboot? I had to re add the modules by hand.

michaelk 12-22-2005 06:09 AM

For some reason I thought you were running a 2.6 kernel. Look for a /etc/modules.conf file.

FragInHell 12-22-2005 06:30 AM

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.

michaelk 12-22-2005 06:49 AM

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?

FragInHell 12-22-2005 04:58 PM

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.


All times are GMT -5. The time now is 11:41 AM.