From owner-freebsd-hackers Sat Mar 1 05:53:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA05733 for hackers-outgoing; Sat, 1 Mar 1997 05:53:13 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id FAA05728 for ; Sat, 1 Mar 1997 05:53:11 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id OAA04251; Sat, 1 Mar 1997 14:52:59 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id OAA01133; Sat, 1 Mar 1997 14:41:33 +0100 (MET) Message-ID: Date: Sat, 1 Mar 1997 14:41:32 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: rhwang@bigpanda.com (Richard Hwang) Cc: hackers@freebsd.org Subject: Re: [Q]: multiple lun probe not working on aic7880 References: <199702271634.LAA08156@lonewolf.hostworld.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199702271634.LAA08156@lonewolf.hostworld.com>; from Richard Hwang on Feb 27, 1997 11:34:35 -0500 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Richard Hwang wrote: > I am trying to get FreeBSD to probe for multiple luns on a aic7880 > controller on a Dell PowerEdge 4100 server connected to a CMD Daytona > RAIDarray (SCSI ID 0), but it only ever finds the 2G partition on lun 0, > and can't find the 10G partition on lun1. FreeBSD seems to ignore > the fact that lun 1 exists. That's since there are too many broken devices that erroneously respond on LUNs > 0 even though they shouldn't. This policy is enforced in /sys/scsi/scsiconf.c with the following entry: #if NSD > 0 { T_DIRECT, T_DIRECT, T_FIXED, "*", "*", "*", "sd", SC_ONE_LU }, #endif /* NSD */ So now, go into this file, and add a record for your disk array saying it actually can do more than one LUN correctly: { T_DIRECT, T_DIRECT, T_FIXED, "CMD TECH", "DAYTONA", "*", "sd", SC_MORE_LUS }, If it works, let us know. (freebsd-scsi@freebsd.org is a better name of a list for this, or even better, use send-pr.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)