Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2001 11:27:11 GMT
From:      jan.grant@bristol.ac.uk
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/24272: ATAPI CD open causes "ticks" on IDE drive
Message-ID:  <200101121127.f0CBRBw06516@tribble.ilrt.bris.ac.uk>

next in thread | raw e-mail | index | archive | help

>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: <Intel PIIX4 ATA33 controller> 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 <WDC AC38400L> [16383/16/63] at ata0-master UDMA33
acd0: CDROM <SAMSUNG CD-ROM SCR-3231> 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.

>Fix:

Haven't located the exact problem in source.

>Release-Note:
>Audit-Trail:
>Unformatted:


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?200101121127.f0CBRBw06516>