Date: Mon, 29 Nov 1999 16:06:42 -0500 From: "J. Maynard Gelinas" <mgelinas@bbn.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: Multiple LUN support with Adaptec-789x controller Message-ID: <199911292106.QAA02231@bbn.com> In-Reply-To: Your message of "Mon, 29 Nov 1999 15:43:10 EST." <199911292043.PAA02157@bbn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Found the answer... sorry to bother the list:
12.5.2.3.6. Multiple LUN devices
In some cases you come across devices that use multiple logical units (LUNs)
on a single SCSI ID. In most cases FreeBSD only probes devices for LUN 0. An
example are so called bridge boards
that connect 2 non-SCSI harddisks to a SCSI bus (e.g. an Emulex MD21 found in
old Sun systems).
This means that any devices with LUNs != 0 are not normally found during
device probe on system boot. To work around this problem you must add an
appropriate entry in /sys/scsi/scsiconf.c
and rebuild your kernel.
Look for a struct that is initialized like below:
{
T_DIRECT, T_FIXED, "MAXTOR", "XT-4170S", "B5A",
"mx1", SC_ONE_LU
}
For you Mumbletech BRIDGE2000 that has more than one LUN, acts as a SCSI disk
and has firmware revision 123 you would add something like:
{
T_DIRECT, T_FIXED, "MUMBLETECH", "BRIDGE2000", "123",
"sd", SC_MORE_LUS
}
The kernel on boot scans the inquiry data it receives against the table and
acts accordingly. See the source for more info.
>
> DUH -- I should have noted that it's running FreeBSD-3.3:
>
> ocean# dmesg | more
> Copyright (c) 1992-1999 FreeBSD Inc.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
> FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:40:35 GMT 1999
> jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC
> Timecounter "i8254" frequency 1193182 Hz
> CPU: Pentium III (451.02-MHz 686-class CPU)
> [...]
>
> > Hello,
> > I've got a FreeBSD box with an Adaptec-789x controller, SCSI RAID array,
> > and various unrelated cards attached to the system bus.
> >
> > ahc0: <Adaptec 2940 Ultra2 SCSI adapter> rev 0x00 int a irq 10 on pci0.18.0
> > ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
> >
> > OK, so the problem I've got is that I can't seem to get the kernel to detect
> > the RAID, even though the Adaptec SCSI BIOS recognizes the array during boot.
> > The RAID is set to ID 1 on LUN 1, and there's a boot disk on ID 0, LUN 0.
> > Here's the drive detection output:
> >
> > Waiting 15 seconds for SCSI devices to settle
> > pass1 at ahc0 bus 0 target 5 lun 0
> > pass1: <JMR ELEC FORTRA SERIES. 1.00> Fixed Processor SCSI-2 device
> > pass1: 3.300MB/s transfers
> > changing root device to da0s1a
> > da0 at ahc0 bus 0 target 0 lun 0
> > da0: <IBM DNES-309170Y SA30> Fixed Direct Access SCSI-3 device
> > da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
> > Enabledda0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
> > xl0: selecting MII, 100Mbps, half duplex
> > xl0: selecting MII, 100Mbps, full duplex
> >
> > So, what I think is going on here is that the ahc driver either doesn't
> > handle multiple LUN support, or it needs to be configured for such. Otherwise,
> > I'm at a loss...
> >
> > Any suggestions? TIA!
> > --Maynard
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911292106.QAA02231>
