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 04-22-2006, 01:16 AM   #1
zaoka
Member
 
Registered: Jan 2005
Distribution: I learn Ubuntu :)
Posts: 64

Rep: Reputation: 15
SCSI drives me crazy... please help


I purchased Seagate hard drive that use 80 pin interface used for hot swap systems.

Because I plan to use it as internal drive I purchased adapter that convert 80 pin connector to 68pin one.

This is adapter: http://i14.ebayimg.com/03/i/06/d4/5c/8f_1_b.JPG

The problem is that SCSI card Adaptec AAA-131U2 or Adaptec 29160N does not detect my hard drive at all.

Hard drive is Seagate ST150176LC. It is brand new, never used before.

I used ribon cable that have 3 connectors, one for card and 2 for drives.
I also tried to add one more drive but my card just can not detect them.

What I am missing?

I am not sure do I have to setup some terminations on my drive or...?

Can anybody help?
Ask if need more informations.

Thanks
 
Old 04-22-2006, 02:11 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I did the same thing on a couple of drive for a computer at work. I had the same problem, and if memory serves, it was a matter of selecting the LUN number. As I remember it, the controller was at LUN 7. Either above or below 7 didn't work, but changing it on the other side of 7 they were detected.

I hope this works, as this was years ago, it is hard to remember the exact details.
 
Old 04-22-2006, 02:36 PM   #3
fuzzyash
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184

Rep: Reputation: 30
I'm much the same as jschiwal, as it's been a while since I've done this but from what I remember, SCSI ID (or LUN) 0,0 is the ID number of the controller card & the drives that you connect to it are sequenced from there.

Like as follows :

LUN 0,0 --> controller card
LUN 0,1 --> 1st drive (the one plugged into the cable closest to the controller card)
LUN 0,2 --> 2nd drive (the next on the cable)
LUN 0,3 --> 3rd drive .......


You get the picture!

The order above is not absolutely critical as long as the first drive is not 0,0 & every consecutive drive has a HIGHER LUN than the last! ALSO, I FORGET IF THE 1st DRIVE PLUGS INTO THE CABLE CLOSEST TO THE CONTROLLER CARD OR IF IT SHOULD BE THE LAST ONE!!! SIMPLY TRY THEM BOTH!

So for your drives to work you will have to figure out how to set the jumpers (terminations) for each drive to define it's LUN (SCSI ID) This info should be either on the drives themselves or at the manufactures website.

Other things to check for are that the scsi modules are loaded, the generic ones that are necessary are :

sg
scsi_mod


& the correct driver module for the controller card will also need to be loaded, this will differ from card to card. Without the two generic modules, sg & scsi_mod, you won't get anywhere!

Then check dmesg for scsi entries with :

Code:
 dmesg | grep scsi
Are you running an older 2.4 kernel or a newer 2.6 kernel? as they have slightly different ways of configuring scsi.

Which distro are you running??

Post the results of the above questions even if you figure it out for yourself. Once these questions have answers we can dig a little deeper & hopefully get things working as they should!

An excellent place for you to start learning about scsi is at http://www.tldp.org/index.html
 
Old 04-22-2006, 04:20 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,367

Rep: Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154
LUN has nothing to do with cable connector position. It is assigned via jumpers and in the case of the OPs on the adapter. The sheet of paper in the posted picture shows the jumper assignments for each ID. Typically the controller is assigned 7. I believe this card can handle 15 devices so above or below 7 does not matter but I would assign the drives 0 and 1.

The drives do not have a built in terminator so you will need to attach one to the unused connector on the cable. With out the terminator the controller may not see the hard drive. Are you using an LVD SCSI cable too?

Check the SCSI controller BIOS settings. Is it set to scan devices at boot time etc. etc.
 
Old 04-23-2006, 02:20 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I was commenting on my experience, so there may be a difference in the controller LUN number in his case. And yes, I moved jumpers on the scsi adapter card to change the LUN number. Checking that a terminator is installed at the end of the cable was a good point that I forgot to mention.

Last edited by jschiwal; 04-23-2006 at 07:23 AM.
 
Old 04-23-2006, 11:52 AM   #6
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Termination problem is the most likely culprit, as has already been stated. I have a number of those drives; you do need to put an active terminator on the cable.
 
  


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
Suse 10 and SCSI drives dougp25 SUSE / openSUSE 2 02-28-2006 10:49 AM
my hp 3535 usb printer drives me crazy edemark SUSE / openSUSE 3 04-01-2005 11:46 PM
install drives me crazy Loki 7 Fedora 1 03-04-2005 04:59 PM
SCSI drives 4steve44 Linux - Hardware 7 10-26-2004 01:35 AM
wireless drives me crazy nakkaya Linux - Hardware 1 08-23-2003 12:01 AM

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

All times are GMT -5. The time now is 11:06 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