LinuxQuestions.org
Visit Jeremy's Blog.
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-24-2003, 05:24 AM   #1
maccy
LQ Newbie
 
Registered: Apr 2003
Location: Leicester, UK
Distribution: Red Hat 7.3, Solaris 7, Tru64
Posts: 13

Rep: Reputation: 0
Red face RAID setup


Hey folks,

I'm attempting to get my new IDE-SCSI hardware RAID to be recognised on my
Red Hat 7.3 box, without much success. The SCSIselect utility quite
happily sees the device, but I don't get the usual device detection (via
the card BIOS) upon boot.

Although the SCSIselect utility tells me the device is not a disk drive.

Some dmesg output for your info :-

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
<Adaptec 2940 Ultra SCSI adapter>
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
The HBA was detected just fine. Do I have to tinker with the kernel?
Current kernel is 2.4.18-27.7.x.

Any suggestions anyone? Any advice muchly appreciated!

Maccy


The RAID device has an IFT-7200 controller . I set it to SCSI device 1
(and I've tried numerous different settings, cables and cards). The device
was pre-configured to RAID-5 at the factory.
 
Old 04-25-2003, 04:47 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Try looking through the kernel options and see if your card is mentioned in either the SCSI section or the RAID section.

If not - try and get some more hardware info from the vendor and see if it's not just a 're-branded' card from a major MFR or a card based upon a common RAID controller infrastructure (ie: i960)
 
Old 04-25-2003, 05:42 AM   #3
maccy
LQ Newbie
 
Registered: Apr 2003
Location: Leicester, UK
Distribution: Red Hat 7.3, Solaris 7, Tru64
Posts: 13

Original Poster
Rep: Reputation: 0
I'm using an identical card just fine in another RH 7 box using LILO but not with RAID. The card is definitely detected, according to dmesg. The driver file seems to be present in /proc/scsi/aic7xxx but /proc/scsi/scsi says I have no devices attached.

Any other ideas?
 
Old 04-25-2003, 05:55 AM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
The aic7xxx module is just the adaptecx scsi module, not the raid controller.
 
Old 04-25-2003, 05:59 AM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
I couldn't find that particular card in the kernel configs. If you think this may be an Adaptec card see the following snippet.
From the kernel help...

Code:
CONFIG_SCSI_DPT_I2O:

  │ This driver supports all of Adaptec's I2O based RAID controllers as
  │ well as the DPT SmartRaid V cards.  This is an Adaptec maintained
  │ driver by Deanna Bonds.  See drivers/scsi/README.dpti.

  │ This driver is also available as a module ( = code which can be
  │ inserted in and removed from the running kernel whenever you want).
  │ If you want to compile it as a module, say M here and read
  │ Documentation/modules.txt.  The module will be called
  │ dpt_i2o.o.
What do you get when you punch in 'lspci -vb' ?
 
Old 04-25-2003, 06:02 AM   #6
maccy
LQ Newbie
 
Registered: Apr 2003
Location: Leicester, UK
Distribution: Red Hat 7.3, Solaris 7, Tru64
Posts: 13

Original Poster
Rep: Reputation: 0
I get :-
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25)
Flags: bus master, medium devsel, latency 120
Memory at e8000000 (32-bit, prefetchable)
Memory at efdff000 (32-bit, prefetchable)
I/O ports at da00 [disabled]
Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 120
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000b000-0000cfff
Memory behind bridge: efe00000-efefffff
Prefetchable memory behind bridge: dfc00000-e7cfffff

00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-756 [Viper] IDE (rev 07) (prog-if 8a [Master SecP PriP])
Flags: bus master, medium devsel, latency 32
I/O ports at f000
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ACPI (rev 03)
Flags: medium devsel

00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB (rev 06) (prog-if 10 [OHCI])
Flags: bus master, medium devsel, latency 16, IRQ 5
Memory at efffd000 (32-bit, non-prefetchable)

00:08.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 01)
Subsystem: Adaptec AHA-2940UW SCSI Host Adapter
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at de00 [disabled]
Memory at effff000 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 1

00:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Mana
01:05.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Rage Fury Pro/Xpert 2000 Pro
Flags: bus master, stepping, 66Mhz, medium devsel, latency 64, IRQ 11
Memory at e0000000 (32-bit, prefetchable)
I/O ports at c800
Memory at efefc000 (32-bit, non-prefetchable)
Capabilities: [50] AGP version 2.0
Capabilities: [5c] Power Management version 2
gement NIC
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at dc00
Memory at efffef80 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 2


Many thanks for your continued help on this.
 
Old 04-25-2003, 06:33 AM   #7
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Hm. Weird. I don't see any SCSI controllers here.

Just to make things clear here - you have a SCSI controller (either built-in or in a PCI slot) AND you also have a SCSI RAID controller. Is that correct?
 
Old 04-25-2003, 06:34 AM   #8
maccy
LQ Newbie
 
Registered: Apr 2003
Location: Leicester, UK
Distribution: Red Hat 7.3, Solaris 7, Tru64
Posts: 13

Original Poster
Rep: Reputation: 0
00:08.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 01)

You didn't notice this?

That's correct. Adaptec HBA and IFT SCSI RAID controller
 
Old 04-25-2003, 07:17 AM   #9
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
My bad - I meant RAID Controllers. You only show a SCSI host adapter which is not a RAID controller. I've been typing too many four-letter words this morning.
 
Old 04-28-2003, 07:56 AM   #10
maccy
LQ Newbie
 
Registered: Apr 2003
Location: Leicester, UK
Distribution: Red Hat 7.3, Solaris 7, Tru64
Posts: 13

Original Poster
Rep: Reputation: 0
So because my IFT controller (within the RAID box) is not getting detected, do you think there is a hardware (card or cable) compatibility issue?
 
Old 04-30-2003, 09:48 AM   #11
maccy
LQ Newbie
 
Registered: Apr 2003
Location: Leicester, UK
Distribution: Red Hat 7.3, Solaris 7, Tru64
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry, maybe I wasn't being clear enough. I have a PCI SCSI HBA - Adaptec, and the RAID controller is within the RAID device. My PC connects to the RAID box using Single-Ended SCSI cable.

Maccy
 
Old 04-30-2003, 12:02 PM   #12
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Ahhh. OK. That changes things a bit. Do you have any SCSI devices onboard? If so are they terminated properly?

Can you manage the RAID box from BIOS? If not how do you set that rig up?
 
Old 05-01-2003, 03:24 AM   #13
maccy
LQ Newbie
 
Registered: Apr 2003
Location: Leicester, UK
Distribution: Red Hat 7.3, Solaris 7, Tru64
Posts: 13

Original Poster
Rep: Reputation: 0
The RAID box is the only device connected to the single HBA I have. There are no onboard SCSI facilities on the PC.

I can interrogate the RAID box on the front panel, i.e. change its SCSI ID and change RAID level etc. but it had RAID-5, which is what I want, pre-configured by my supplier.

As I say, 'IFT' shows up in the SCSIselect utility of the card but the RAID doesn't get detected anywhere else, i.e. as a disk, as a SCSI device. dmesg doesn't mention it at all.
 
Old 05-04-2003, 03:28 AM   #14
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
OK i've been readaing up on this rig. It appears to be an ATA-to-SCSI RAID box that takes ATA drives and makes them avaiable through some hardware voodoo to the SCSI RAID controller. From there it's supposed to present itself as a SCSI device to the host computer.

After browsing the .pdf documentation the situation you are in is not much clearer to me.

So let's confirm that the following things are working;

1) The device has a SCSI ID and that ID is not being used by any other SCSI device (including your onboard controller).

2) The device is terminated properly; ie: if it is the last SCSI device on the chain it should be terminated.

3) Your controller is terminated properly.

4) You can see your onboard Adaptec controller as a functional SCSI device in Linux. You have a kernel built for SCSI or you have the correct modules loaded for the onboard controller. If you have the proc filesystem running you should see a directory like this '/proc/scsi/aic7xxx'

What does 'fdisk -l' report?
 
Old 05-07-2003, 10:33 AM   #15
maccy
LQ Newbie
 
Registered: Apr 2003
Location: Leicester, UK
Distribution: Red Hat 7.3, Solaris 7, Tru64
Posts: 13

Original Poster
Rep: Reputation: 0
>From there it's supposed to present itself as a SCSI device to >the host computer.

That's right.

>So let's confirm that the following things are working;
>1) The device has a SCSI ID and that ID is not being used by >any other SCSI device (including your onboard controller).

Yes, the device is set to SCSI ID1, the card is 7. There are no other SCSI devices attached to my PC.

>2) The device is terminated properly; ie: if it is the last SCSI >device on the chain it should be terminated.

That's correct, it is terminated. I have also tried differing terminators.

>3) Your controller is terminated properly.

I assume it is, at least it should have been at the factory(?)

>4) You can see your onboard Adaptec controller as a >functional SCSI device in Linux. You have a kernel built for >SCSI or you have the correct modules loaded for the onboard >controller. If you have the proc filesystem running you should >see a directory like this '/proc/scsi/aic7xxx'

Yep, its there.

>What does 'fdisk -l' report?

sh-2.05a# /sbin/fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 2480 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 6 48163+ 83 Linux
/dev/hda2 1411 2480 8594775 83 Linux
/dev/hda3 7 643 5116702+ 83 Linux
/dev/hda4 644 1410 6160927+ f Win95 Ext'd (LBA)
/dev/hda5 644 1280 5116671 83 Linux
/dev/hda6 1281 1410 1044193+ 82 Linux swap

Partition table entries are not in disk order

Maccy
 
  


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
Raid 1 setup Odins_Son Linux - General 3 06-30-2005 11:51 PM
RAID setup nic55 Linux - Newbie 0 02-07-2005 06:28 AM
need help with a RAID setup Ekj530 Linux - Newbie 1 08-13-2003 02:15 PM
RAID-1 Setup ? Breezwell Linux - Software 4 11-06-2001 09:03 AM
RAID setup syxxpac023 Linux - Software 3 10-03-2001 11:11 AM


All times are GMT -5. The time now is 05:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration