Date: Thu, 26 May 2005 11:52:15 GMT From: Andriy Gapon <avg@icyb.net.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/81496: acd (atapicd) device lacks devstat Message-ID: <200505261152.j4QBqFEV082234@www.freebsd.org> Resent-Message-ID: <200505261200.j4QC071V083228@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505261152.j4QBqFEV082234>