From owner-freebsd-bugs Mon Dec 18 11:30:43 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA14273 for bugs-outgoing; Mon, 18 Dec 1995 11:30:43 -0800 (PST) Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA14250 Mon, 18 Dec 1995 11:30:36 -0800 (PST) Message-Id: <199512181930.LAA14250@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: Host localhost.cdrom.com [127.0.0.1] didn't use HELO protocol To: Martin Sapsed cc: freebsd-questions@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: Problem with FreeBSD 2.1.0-RELEASE In-reply-to: Your message of "Mon, 18 Dec 1995 17:08:19 GMT." Date: Mon, 18 Dec 1995 11:30:36 -0800 From: "Justin T. Gibbs" Sender: owner-bugs@FreeBSD.ORG Precedence: bulk > >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 ===========================================