kern/81497: ad and da do not set interface type in devstat entry

Andriy Gapon avg at
Thu May 26 05:20:09 PDT 2005

>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:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 26 12:20:00 GMT 2005
>Originator:     Andriy Gapon
>Release:        5.4-RELEASE
5.4-RELEASE i386
6.0-CURRENT i386
(scsi) cd device driver pre-creates devstat entry before
calling geom disk_create() and sets device type to
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
1. on a system with ad or da or both disks do the following:
iostat -d -t SCSI
iostat -d -t IDE

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

no patch at this time, sorry

More information about the freebsd-bugs mailing list