Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 1997 08:34:04 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-scsi@FreeBSD.ORG
Cc:        nadav@barcode.co.il (Nadav Eiron), mira@rockwell.cz (Miroslav Kes), questions@FreeBSD.ORG
Subject:   Re: CD-ROM changer, mount : Device not configured
Message-ID:  <19971103083404.YN36880@uriah.heep.sax.de>
In-Reply-To: <34589E91.5102@barcode.co.il>; from Nadav Eiron on Oct 30, 1997 16:49:53 %2B0200
References:  <345889A6.BFC23171@rockwell.cz> <34589E91.5102@barcode.co.il>

next in thread | previous in thread | raw e-mail | index | archive | help
As Nadav Eiron wrote:

> > What does the message mean ??
> 
> That a CD changer is not supported this way. Just today preliminary
> support for CD changers went into FreeBSD 3.0-current.

You are absolutely wrong with this, Nadav.

The green support in -current is for *ATAPI* CD-ROM changers.

Miroslave, you need to make an entry in /sys/scsi/scsiconf.c.  The
reason why multi-LUN support is disabled by default is because too
many CD-ROM drive manufacturers don't adhere to the SCSI
specifications, and mistakenly make their devices respond to all LUNs,
causing a single drive to misprobe as 8 drives.

The following patch (relative to the version in FreeBSD 2.2.2) should
fix the problem.  Does anybody know whether *all* NAKAMICH MJ-* drives
might be CD-ROM changers?  This would allow to shortcut them.

Index: src/sys/scsi/scsiconf.c
===================================================================
RCS file: /home/ncvs/src/sys/scsi/scsiconf.c,v
retrieving revision 1.64.2.13
diff -u -u -r1.64.2.13 scsiconf.c
--- scsiconf.c	1997/05/03 22:24:50	1.64.2.13
+++ scsiconf.c	1997/11/03 07:30:51
@@ -385,6 +385,10 @@
 		T_READONLY, T_READONLY, T_REMOV, "NAKAMICH", "MJ-4*" ,"*",
 		"cd", SC_MORE_LUS
 	},
+	{
+		T_READONLY, T_READONLY, T_REMOV, "NAKAMICH", "MJ-5*" ,"*",
+		"cd", SC_MORE_LUS
+	},
 #endif /* !UKTEST */
 #endif	/* NCD */
 #if NWORM > 0

Miroslave, prosim napis mi dopis kdyby tento patch pracuje.  Dekuju.

-- 
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971103083404.YN36880>