From owner-freebsd-bugs Fri Jan 12 4: 0:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7627F37B402 for ; Fri, 12 Jan 2001 04:00:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0CC06s13704; Fri, 12 Jan 2001 04:00:06 -0800 (PST) (envelope-from gnats) Date: Fri, 12 Jan 2001 04:00:06 -0800 (PST) Message-Id: <200101121200.f0CC06s13704@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Soren Schmidt Subject: Re: i386/24272: ATAPI CD open causes "ticks" on IDE drive Reply-To: Soren Schmidt Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/24272; it has been noted by GNATS. From: Soren Schmidt To: jan.grant@bristol.ac.uk Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: i386/24272: ATAPI CD open causes "ticks" on IDE drive Date: Fri, 12 Jan 2001 12:55:58 +0100 (CET) It seems jan.grant@bristol.ac.uk wrote: > > >Number: 24272 > >Category: i386 > >Synopsis: ATAPI CD "open" causes "ticks" as ATA drive is pinged > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Jan 12 03:30:00 PST 2001 > >Closed-Date: > >Last-Modified: > >Originator: jan grant > >Release: FreeBSD 4.2-STABLE i386 > >Organization: > ILRT, University of Bristol > >Environment: > 4-stable cvsupped yesterday > > FreeBSD tribble.ilrt.bris.ac.uk 4.2-STABLE FreeBSD 4.2-STABLE #0: Thu Jan 11 21:14:50 GMT 2001 cmjg@tribble.ilrt.bris.ac.uk:/external/usr.obj/usr/src/sys/JAN i386 > > Relevant lines from dmesg: > atapci0: port 0x14a0-0x14af at device 7.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > ad0: 8063MB [16383/16/63] at ata0-master UDMA33 > acd0: CDROM at ata1-master using PIO4 > > A GENERIC kernel with the following additions: > > #Sound... > device pcm > > >Description: > > (I'm a KDE-1 user) kscd was running (no CD in the tray). The system produced an > insistent "ticking" sound once per second. This appeared to be caused by the > IDE drive on the primary master springing into life (the drive-in-use light > flashes once per second or so). > > Looking at recent logs (prior to this the last CVSUP was about 10 days ago) > this may have been introduced at about the same time the "close tray on open" > changes were made (you need nimble fingers to get a CD into the drive with > kscd trying to open it! :-) - this may be a problem with kscd repeatedly > trying to open the CD but I'd imagine most desktop CD players operate after > a similar fashion) > > I don't really care about the CD tray behaviour; but the system seems to > be pinging the ATA drive on the main controller for every attempted CD open. > This is the problem! > > >How-To-Repeat: > > CVSUP to stable as of 11 jan 2001 and run kscd on a machine with an ATA drive on > IDE primary master, ATAPI CD on primary slave. Hmm, if kscd is polling the drive once a second, and you have both disk and CDROM on the primary, I'd bet those blinking lights are from accesses to the CDROM and not the disk... However in you probemessages above disk and CDROM are located on seperate controllers, so now what gives ? -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message