Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 1995 11:30:36 -0800
From:      "Justin T. Gibbs" <gibbs@freefall.freebsd.org>
To:        Martin Sapsed <m.sapsed@bangor.ac.uk>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: Problem with FreeBSD 2.1.0-RELEASE 
Message-ID:  <199512181930.LAA14250@freefall.freebsd.org>
In-Reply-To: Your message of "Mon, 18 Dec 1995 17:08:19 GMT." <Pine.OSF.3.90.951218105438.10176A-100000@thunder> 

next in thread | previous in thread | raw e-mail | index | archive | help
>
>Hi all,
>
>I'm have loaded FreeBSD 2.1.0-RELEASE onto a P75 which I want to use as a 
>cd-rom server. It has 16 mb RAM and 18 Panasonic quad speed SCSI cd-rom 
>drives connected to 3 Adaptec Ultra 2940 PCI SCSI cards. I have rebuilt 
>the kernel using the config file below and created devices (by adding the 
>extra numbers to the line in MAKEDEV), a sample of which appear below 
>also. I can access the first few cd drives (tried nos 1 and 2 
>particularly) and can access the other drives as far as mounting them (ro 
>and cd9660) and cd'ing to them is concerned but prolonged access to them 
>(du on a large-ish CD) produces various errors like (the numbers in [ ] 
>are basically the same error printout but with 2 differences). 

This is probably your problem.  I found this in cd.c:

#define CDUNIT(DEV)      ((minor(DEV)&0xF8) >> 3)    /* 5 bit unit */

It should be:

#define CDUNIT(DEV)	((minor(DEV) >> 11) | ((minor(DEV)&0xF8) >> 3))

This is probably a general problem in the SCSI code.

--
Justin T. Gibbs
===========================================
  FreeBSD: Turning PCs into workstations
===========================================



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