From owner-freebsd-hackers Thu Feb 8 04:00:19 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA18277 for hackers-outgoing; Thu, 8 Feb 1996 04:00:19 -0800 (PST) Received: from hda.com (hda.com [199.232.40.182]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA18272 for ; Thu, 8 Feb 1996 04:00:15 -0800 (PST) Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id HAA29813; Thu, 8 Feb 1996 07:04:24 -0500 From: Peter Dufault Message-Id: <199602081204.HAA29813@hda.com> Subject: Re: Is there a FreeBSD automounter? To: imp@village.org (Warner Losh) Date: Thu, 8 Feb 1996 07:04:23 -0500 (EST) Cc: daveh@ntanet.net, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199602080422.VAA11483@rover.village.org> from "Warner Losh" at Feb 7, 96 09:22:40 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > > : well, maybe its just me, but > : actually having several cdroms mounted at once > : on this machine causes instability. > > I've had no problems here, but maybe there is something wrong with the > drivers/kernel that you are using. I'm using 2.0R, and it seems stable > enough... Maybe 2.1R or -current has some flakiness in it that I > wouldn't be seeing... > > Warner I think 2.0R and 2.1R has the bug - are you using all 7 drives? Bruce submitted a patch to fix the problem and it is committed to the recent kernels in -stable and -current. If you have this in cd.c: > if(cd->dkunit > 0) { you have the bug. I tested it out with this: if(cd->dkunit >= 0) { dk_xfer[cd->dkunit]++; dk_seek[cd->dkunit]++; /* don't know */ dk_wds[cd->dkunit] += bp->b_bcount >> 6; } #if defined(SCSI_CDBUG_NOISE) else if (cd->dkunit) { printf("cd: Would have clobberred the kernel.\n"); } #endif Set SCSI_CDBUG_NOISE and you'll see how often you are trashing things. -- Peter Dufault Real-Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267