From owner-freebsd-bugs Fri Jan 12 7:19:44 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id B188337B401 for ; Fri, 12 Jan 2001 07:19:26 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id QAA52661; Fri, 12 Jan 2001 16:19:23 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200101121519.QAA52661@freebsd.dk> Subject: Re: i386/24272: ATAPI CD open causes "ticks" on IDE drive In-Reply-To: <200101121220.f0CCK6D24635@freefall.freebsd.org> from Jan Grant at "Jan 12, 2001 04:20:06 am" To: Jan.Grant@bristol.ac.uk (Jan Grant) Date: Fri, 12 Jan 2001 16:19:23 +0100 (CET) Cc: freebsd-bugs@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Jan Grant wrote: > > As I said, it really does sound like the hard drive head is "ticking"; > there is a separate CD-rom activity light and both lights generally > only come on during activity of the appropriate device. > > Yes, the two devices _are_ on separate controllers. It may be that the > hardware causes both devices/controllers to jump on a tray-close; I'm > not a hardware expert. Hmm that patch shouldn't be able to do this, at any rate try this patch which removes the close-tray-on-open and is in the queue to be committed anyways: Index: atapi-cd.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/atapi-cd.c,v retrieving revision 1.48.2.8 diff -u -r1.48.2.8 atapi-cd.c --- atapi-cd.c 2001/01/07 16:55:20 1.48.2.8 +++ atapi-cd.c 2001/01/12 15:17:54 @@ -500,8 +500,6 @@ if (!(cdp = dev->si_drv1)) return ENXIO; - acd_eject(cdp, 1); - if (flags & FWRITE) { if (count_dev(dev) > 1) return EBUSY; -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message