Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2001 16:19:23 +0100 (CET)
From:      Soren Schmidt <sos@freebsd.dk>
To:        Jan.Grant@bristol.ac.uk (Jan Grant)
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: i386/24272: ATAPI CD open causes "ticks" on IDE drive
Message-ID:  <200101121519.QAA52661@freebsd.dk>
In-Reply-To: <200101121220.f0CCK6D24635@freefall.freebsd.org> from Jan Grant at "Jan 12, 2001 04:20:06 am"

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




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