From owner-freebsd-bugs@FreeBSD.ORG Thu May 26 12:00:10 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10EFE16A451 for ; Thu, 26 May 2005 12:00:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84DA943D54 for ; Thu, 26 May 2005 12:00:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4QC07lW083229 for ; Thu, 26 May 2005 12:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4QC071V083228; Thu, 26 May 2005 12:00:07 GMT (envelope-from gnats) Resent-Date: Thu, 26 May 2005 12:00:07 GMT Resent-Message-Id: <200505261200.j4QC071V083228@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andriy Gapon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A1A216A41F for ; Thu, 26 May 2005 11:52:23 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AE7C43D93 for ; Thu, 26 May 2005 11:52:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4QBqFqu082236 for ; Thu, 26 May 2005 11:52:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4QBqFEV082234; Thu, 26 May 2005 11:52:15 GMT (envelope-from nobody) Message-Id: <200505261152.j4QBqFEV082234@www.freebsd.org> Date: Thu, 26 May 2005 11:52:15 GMT From: Andriy Gapon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/81496: acd (atapicd) device lacks devstat X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 12:00:11 -0000 >Number: 81496 >Category: kern >Synopsis: acd (atapicd) device lacks devstat >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: Thu May 26 12:00:06 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andriy Gapon >Release: 5.4-RELEASE >Organization: >Environment: 5.4-RELEASE i386 6.0-CURRENT i386 >Description: acd device does not register itself as a geom disk with create_disk() Soeren said a long while ago that there are some reasons for that: http://www.mail-archive.com/freebsd-current@freebsd.org/msg33834.html I am not sure how valid those reasons are, because cd device is a geom disk and it essentially implements very similar interface although for a different bus. I don't want to venture further in acd vs. geom disk situation, but not being a geom disk acd doesn't have get automatic devstat bookkeeping (as cd, ad etc do). It doesn't have any devstat bookkeeping of its own too. >How-To-Repeat: On a system with ATAPI CDROM and atapicd device in kernel do the following: 1. sysctl kern.disks - acd* won't show up in the list returned 2. iostat -d - acd* won't be there 3. inspect atapi-cd.c sources >Fix: sorry, no patch at this time >Release-Note: >Audit-Trail: >Unformatted: