LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2003, 09:37 AM   #1
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Rep: Reputation: 15
Can't see second SCSI HD


This is a Linux only box. Put my old Windows data on the second drive with Partition Magic (Fat32), so I know both drives work and are visible under DOS. Installed Mandrake 9.2, went flawlessly except partitioner only saw sda and no sdb. After install, still no way to see second drive. Checked man pages for command line utils and tried querying the system in a number of ways, but it does not know about the second drive.

Any hints? Thanks!
 
Old 12-31-2003, 10:32 AM   #2
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
What manufacturer make the drive? Is the drive supported by Linux?
 
Old 12-31-2003, 10:59 AM   #3
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Original Poster
Rep: Reputation: 15
They're both old IBM caviar drives sda(8gb) sdb(4gb) hooked up to an adaptec 2940UW controller. I shouldn't think the OS would care, doesn't SCSI abstract that? This is the surfing machine for my wife, so it's scrounged parts.
 
Old 12-31-2003, 11:40 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,593

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
BAck to basics:
Does the controller card see the drive during its BIOS boot scan?
Is the SCSI terminator on the last drive on the ribbon cable?
Does the output of dmesg show anything for sdb?
Does cat /proc/scsi/scsi?
 
Old 12-31-2003, 11:45 AM   #5
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by michaelk
BAck to basics:
Does the controller card see the drive during its BIOS boot scan?
Is the SCSI terminator on the last drive on the ribbon cable?
Yes and Yes. Remember, it works if I boot to DOS and it worked in Windoze before I nuked windoze

Does the output of dmesg show anything for sdb?
Does cat /proc/scsi/scsi? [/B][/QUOTE]

I will try those last two. Can't answer til I get home. Anybody else have something I can look at, please chime in...

Thanks!
 
Old 12-31-2003, 12:49 PM   #6
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
When the kernel is loading you echo's on the screen, can you see the module for the drive loading? Did you check the system logs? Lets say you try this.

#mkdir /mnt/fat
#mount -t FAT32 /dev/sdb1 /mnt/fat
#df -k
 
Old 12-31-2003, 07:28 PM   #7
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Original Poster
Rep: Reputation: 15
dmesg output:

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940 Ultra SCSI adapter>
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

(scsi0:A:6): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
scsi0:A:6:0: Tagged Queuing enabled. Depth 253
Attached scsi disk sda at scsi0, channel 0, id 6, lun 0
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
Partition check:
/dev/scsi/host0/bus0/target6/lun0: p1 p2 < p5 p6 >

Maybe the BIOS settings for the drive are off enough for linux to say NOPE. Like I said, works under DOS and Windoze but not Linux. This looks the same as bootup time; just finds the first disk and stops looking....
 
Old 01-01-2004, 05:59 AM   #8
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
What distro are you using, could you mount the disk from the commandline?
 
Old 01-01-2004, 10:33 AM   #9
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Original Poster
Rep: Reputation: 15
Mandrake 9.2 and no, I can't mount from the command line or see the second drive with any utility. I'm going to go into the SCSI bios and reset the values. It's got to be something there.
 
Old 01-01-2004, 11:01 AM   #10
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Original Poster
Rep: Reputation: 15
Reset the scsi bios. Drive shows up as D: when the Adaptec bios shows up at boot time (did this before too).

Output of cat /proc/scsi/scsi after booting

Attached devices:
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02

There is no sdb in the system
 
Old 01-01-2004, 11:33 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,593

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
The only time I've had similar troubles like yours was when I was using a SCSI cable that was too long (external drives).
 
Old 01-01-2004, 04:53 PM   #12
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Original Poster
Rep: Reputation: 15
Still no luck: The drive is accessible from every other environment (DOS, windows, bios utilities), everything but Linux. If this was a termination or cable problem or driver problem, why would my system run? Linux is on the first SCSI drive!
 
Old 01-02-2004, 07:27 AM   #13
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
I'm no expert at this and I don't know Mandrake but I had similar problems with RH9. That is until I repartioned my SCSI drives. When I loaded RH9 the last time (took a few installs to find out where I was messing up) I kept trying to partion and format the drives as something other than ext3 or ext2. I went on to the forums and someone told me to make sure and go ahead and format them as ext3. I was trying to use NTFS. As soon as I did all the above they showed up correctly. I was using Disk Druid during the install. As far as my SCSI bios I just loaded the defaults. One question though what does your screen say during boot up before Linux loads? Does it show the drives being loaded then? Mine did and everything looked like it should be fine but Linux didn't recognise it until I did the correct partion and format. Wish you luck and a happy new year!
 
Old 01-02-2004, 07:37 AM   #14
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Original Poster
Rep: Reputation: 15
Only my main boot drive (sda) is visible at boot time. I tried the scsiadd command to scan for drives and even tried to add it using the device number, but it cannot detect it in the system.
 
Old 01-02-2004, 07:46 AM   #15
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
One thing I didn't mention before is that RH9 is very specific about what SCSI controllers you can use. I am not sure about your distro. One thing to check though. I know this may sound rudimentary, but have you checked all of the really basic stuff like cables, terminators, and the like? Where dos and win are somewhat forgiving, they are also loose. Remember that your are trying to use a real OS now and it may not be as forgiving. Start with the basics. I have always found (usually anyway) that it is something really stupid that I did/did not do correctly to make the screw up. Remember that it will only do what you tell it to do. Wish you luck!
 
  


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
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 09:01 PM
Scanner Umax 2200 (USB,SCSI) with AHA2940U scsi card problem in Suse 9.2 Pro nathanv117 SUSE / openSUSE 5 02-22-2005 02:06 PM
How can I access my scsi hdd from dev/scsi/host1/bus0/target0/lun0 ?? marius7sv Linux - Hardware 0 09-06-2004 10:40 AM
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 02:28 PM
allow non root users add devices to /proc/scsi/scsi ? ewto Linux - Newbie 5 10-14-2003 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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