From nobody@FreeBSD.org  Thu May 26 12:17:32 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9828B16A433
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 May 2005 12:17:32 +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 921E743D5D
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 May 2005 12:17:24 +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 j4QCHOCj093790
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 May 2005 12:17:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j4QCHOJO093774;
	Thu, 26 May 2005 12:17:24 GMT
	(envelope-from nobody)
Message-Id: <200505261217.j4QCHOJO093774@www.freebsd.org>
Date: Thu, 26 May 2005 12:17:24 GMT
From: Andriy Gapon <avg@icyb.net.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ad and da do not set interface type in devstat entry
X-Send-Pr-Version: www-2.3

>Number:         81497
>Category:       kern
>Synopsis:       ad and da do not set interface type in devstat entry
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 26 12:20:00 GMT 2005
>Closed-Date:    Thu Jun 07 12:14:23 UTC 2012
>Last-Modified:  Thu Jun 07 12:14:23 UTC 2012
>Originator:     Andriy Gapon
>Release:        5.4-RELEASE
>Organization:
>Environment:
5.4-RELEASE i386
6.0-CURRENT i386
>Description:
(scsi) cd device driver pre-creates devstat entry before
calling geom disk_create() and sets device type to
DEVSTAT_TYPE_CDROM|DEVSTAT_TYPE_IF_SCSI, which is perfect IMHO. On the
other hand, da and ad drivers rely on disk_create() to create a devstat
entry and it is created with device type DEVSTAT_TYPE_DIRECT, which is
not incorrect but is not complete either:
iostat -d -t SCSI or iostat -d -t IDE
wouldn't show any ad or da devices, only cd
>How-To-Repeat:
1. on a system with ad or da or both disks do the following:
iostat -d -t SCSI
iostat -d -t IDE

Result:
no ad/da devices are shown contrary to iostat(1) and reasonable expectations.

>Fix:
no patch at this time, sorry
>Release-Note:
>Audit-Trail:

From: Andriy Gapon <avg@freebsd.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: kern/81497: ad and da do not set interface type in devstat entry
Date: Sun, 05 Dec 2010 17:30:19 +0200

 This still a problem.
 Not sure If I want to do anything about it, though.
 -- 
 Andriy Gapon
State-Changed-From-To: open->closed 
State-Changed-By: avg 
State-Changed-When: Thu Jun 7 12:14:06 UTC 2012 
State-Changed-Why:  
The issue seems to be resolved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81497 
>Unformatted:
