From owner-freebsd-questions Wed Feb 1 18:01:06 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id SAA09020 for questions-outgoing; Wed, 1 Feb 1995 18:01:06 -0800 Received: from hda.com (hda.com [199.232.40.182]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id SAA09014 for ; Wed, 1 Feb 1995 18:01:03 -0800 Received: (dufault@localhost) by hda.com (8.6.9/8.3) id VAA15601; Wed, 1 Feb 1995 21:00:19 -0500 From: Peter Dufault Message-Id: <199502020200.VAA15601@hda.com> Subject: Re: too many scsi disks To: mccrory@gamma.lanl.gov (Roy A. Mccrory) Date: Wed, 1 Feb 1995 21:00:17 -0500 (EST) Cc: questions@FreeBSD.org In-Reply-To: <199502011616.JAA01637@7dragons.fc.dna.mil> from "Roy A. Mccrory" at Feb 1, 95 09:16:48 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 2301 Sender: questions-owner@FreeBSD.org Precedence: bulk Roy A. Mccrory writes: > > Hello. > I am trying to add a Toshiba cd-rom to my system and get a 'too > many scsi disks" message. I can't find anything about is in the > Dec bsdfaq nnor in the Usenet archive at minnie. Here is the info > from "dmesg". > > > FreeBSD 1.1.5.1(RELEASE) (VIDRAGONS) #0: Fri Jan 27 08:40:29 MST 1995 > mccrory@7dragons:/usr/src/sys/compile/7DRAGONS > CPU: i486DX (486-class CPU) > > > > aha0: reading board settings, dma=5 int=11 (bus speed defaulted) > aha0 at 0x330-0x333 irq 11 drq 5 on isa > aha0 waiting for scsi devices to settle > aha0 targ 0 lun 0: type 0(direct) fixed SCSI1 > aha0 targ 0 lun 0: > sd0: 510MB (1045242 total sec), 1546 cyl, 11 head, 61 sec, bytes/sec 512 > aha0 targ 1 lun 0: type 0(direct) fixed SCSI2 > aha0 targ 1 lun 0: > sd1: 520MB (1065036 total sec), 2493 cyl, 5 head, 85 sec, bytes/sec 512 > aha0 targ 5 lun 0: type 0(direct) fixed SCSI2 > aha0 targ 5 lun 0: > Too many scsi disks..(3 > 2) reconfigure kernel <--------*********** > aha0 targ 6 lun 0: type 1(sequential) removable SCSI1 > aha0 targ 6 lun 0: > st0: density code 0x0, drive empty > > Your kernel has a maximum of two SCSI disks. For 1.1.5 you'll have to increase the number of scsi disks in /sys/i386/conf/VIDRAGONS, that is, add something like this: > device sd0 > device sd1 > device sd2 Then "config VIDRAGONS; cd /sys/compile/VIDRAGONS; make depend; make" BUT the bigger mystery to me is why that Toshiba CD rom is coming on line as a type 0 direct access device. It should come on as a type 5 read only device. As an example, here is my NEC CD-ROM: > aha0 targ 2 lun 0: type 5(readonly) removable SCSI2 > aha0 targ 2 lun 0: > cd0: cd present.[223153 x 2048 byte records] I'm afraid you won't be able to use that CDROM even if you add another device; the wrong device driver is talking to it and I'm not sure you'll be able to use it. Peter -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267 -- Formerly hd@world.std.com. E-mail problems? Tell hdslip@iii.net