From owner-freebsd-bugs Thu Jul 5 16:10:12 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 81E7837B40A for ; Thu, 5 Jul 2001 16:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f65NA2i54636; Thu, 5 Jul 2001 16:10:02 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 37F2837B40C for ; Thu, 5 Jul 2001 16:08:16 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f65N8GR54467; Thu, 5 Jul 2001 16:08:16 -0700 (PDT) (envelope-from nobody) Message-Id: <200107052308.f65N8GR54467@freefall.freebsd.org> Date: Thu, 5 Jul 2001 16:08:16 -0700 (PDT) From: Peter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/28742: CD_BUFFER_BLOCKS used in ide ioctl CDIOCREADAUDIO defined with different values.. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28742 >Category: kern >Synopsis: CD_BUFFER_BLOCKS used in ide ioctl CDIOCREADAUDIO defined with different values.. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 05 16:10:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Peter >Release: 4.3R >Organization: >Environment: FreeBSD queeg 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon Apr 23 22:24:10 CEST 2001 troot@queeg:/misc/usr_obj/usr/src/sys/QUEEG i386 >Description: CD_BUFFER_BLOCKS defined as 13 in sys/dev/ata/atapi-cd.c 8 in sys/i386/isa/wd_cd.c 1) Depending on compile race it may be defined differently 2) The limit is 27 (inclusive) what I remember. From the fact that the dma manage to transfer a maximum of 27 * 2352 bytes blocks in one 64k max transfer. (Might be different issue with PCI-IDE dunno) More frames (buffers), will allow more continous block reads per jitter correction. Thus higher efficiency. (basepath /usr/src) >How-To-Repeat: read sources :) >Fix: Common define for CD_BUFFER_BLOCKS. And define it as 27. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message