Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 1996 07:04:23 -0500 (EST)
From:      Peter Dufault <dufault@hda.com>
To:        imp@village.org (Warner Losh)
Cc:        daveh@ntanet.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Is there a FreeBSD automounter?
Message-ID:  <199602081204.HAA29813@hda.com>
In-Reply-To: <199602080422.VAA11483@rover.village.org> from "Warner Losh" at Feb 7, 96 09:22:40 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> : 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



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