LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-01-2003, 10:29 PM   #1
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Rep: Reputation: 30
Hard drive not recognized


Hardware
micon 200mhz p-pro x 2
Adaptec Scsi card
drive 0, id 0 - 9gb seagate
drive 1, id 2 - 4.5gb ibm

When I boot both drives are recognized by the adaptec bios but only drive 0 was picked up by linux (Redhat 7.3) on installation.
I installed on just drive 0 now labeled appropriately /dev/sda.
No when linux boots, it detects both drives on startup but I cannot acess drive 1. I tried fdisk /dev/sdb but it can't find the drive. MS DOS FDISK recognizes both drives.

ideas?

Thanks.
 
Old 02-01-2003, 11:45 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Re: Hard drive not recognized

Quote:
Originally posted by te_conway
When I boot both drives are recognized by the adaptec bios but only drive 0 was picked up by linux (Redhat 7.3) on installation.
I installed on just drive 0 now labeled appropriately /dev/sda.
No when linux boots, it detects both drives on startup but I cannot acess drive 1. I tried fdisk /dev/sdb but it can't find the drive. MS DOS FDISK recognizes both drives.

ideas?
I suppose it's possible that the IBM drive is jumpered to require a signal from the SCSI adapter before it'll spin up. If the Adaptec hasn't been configured to send that signal, you might see the drive listed when the Adaptec initializes but the drive will never be brought online. If you can, power cycle the system (or HW reset it; either one) and press Ctrl-A when the Adaptec banner appears. Check the configuration to see that the start up signal is being sent to the device at ID 2. BTW, which Adaptec adapter are we talking about anyway? If this is an older Adaptec you might have to change a jumper on the board to do this. Not sure why MS-DOS would see the second drive.
 
Old 02-02-2003, 07:57 AM   #3
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Original Poster
Rep: Reputation: 30
The drive does spinup, you can hear it and the contrller is set to spin up the drives. The conroller is an AHA-2940UW with the latest bios.

The 1st drive is UW scsi, the second is older scsi 2 but it is recognized by the controller, and linux too when it checks for scsi devices.
 
Old 02-02-2003, 01:46 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally posted by te_conway
The drive does spinup, you can hear it and the contrller is set to spin up the drives. The conroller is an AHA-2940UW with the latest bios.

The 1st drive is UW scsi, the second is older scsi 2 but it is recognized by the controller, and linux too when it checks for scsi devices.
And fdisk /dev/sdb doesn't work? That's just weird.

Does anything under /proc/scsi look amiss?

I have had some really old DEC SCSI-2 2GB drives not work properly on the same model SCSI adapter. Could be a similar problem I guess.
 
Old 02-03-2003, 08:54 AM   #5
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Original Poster
Rep: Reputation: 30
Looks like a disk issue, I couldn't verify the disk with scsi utilites. I replaced it with another disk I had of the same size and it worked.

I do have another question, actually 2.

linux fdisk id's my disk with 553 cylinders and allows a max of 63 sectors/track. The drive docs have it with 5583 cyl and 150 sectors/track. It seems OK and the size is correct. Wierd.

Also, after partition and mkfs i needed to add a mount point.
I added a directory /mnt/newdir and was able to mount the drive but is there a way to mount the drive so it's reflected as just /newdir and not /mnt/newdir like all the other mappings?

thanks
 
Old 02-03-2003, 11:39 AM   #6
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Rep: Reputation: 30
To mount it under /newdir do the following:

mkdir /newdir

Change /etc/fstab to show mountpoint as /newdir

Then you're all set.

dbp
 
Old 02-03-2003, 02:29 PM   #7
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
With odd scsi behavior double check termination, I've had windows chug along fine (well slow, but no errors) with a mis terminated scsi bus but linux was having problems until I fixed it.
 
Old 02-03-2003, 04:23 PM   #8
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally posted by Darin
With odd scsi behavior double check termination, I've had windows chug along fine (well slow, but no errors) with a mis terminated scsi bus but linux was having problems until I fixed it.
Good point. The original post was about a aha2940UW. I have one of those and I don't think it alerts you about incorrect termination. If memory serves, the 29160s do during the bus scan at initialization. (Now I remember why I prefer cables with the termination rather than having to jumper that last device. :-) )

Rick
 
  


Reply



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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
copied hard drive install not completely recognized theFez Linux - Hardware 2 05-14-2005 10:41 AM
second hard drive not recognized (can't mount) aducarrab Linux - Newbie 7 01-17-2005 08:25 PM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 01:47 AM
USB Hard Drive not recognized? TriviallyTravis Linux - Newbie 1 10-07-2004 03:45 AM

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

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