NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49932: "bioctl <dev> show disks" vs. "bioctl <dev> show"

>Number:         49932
>Category:       kern
>Synopsis:       bioctl <dev> show disks vs. bioctl <dev> show
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 26 09:20:00 +0000 2015
>Originator:     Havard Eidnes
>Release:        NetBSD 7.0_BETA of April 29 2015
System: NetBSD 7.0_BETA NetBSD 7.0_BETA (GENERIC) #0: Wed Apr 29 21:47:45 UTC 2015 amd64
Architecture: amd64
Machine: amd64
	It looks like "bioctl <device> show disks" consistently
	returns an error:

# bioctl mfi0 show disks
 Disk Model/Serial                   Status       Size       Location
bioctl: BIOCDISK_NOVOL: Invalid argument

	However, just "bioctl <device> show" lists both the logical
	volume and the disks:

# bioctl mfi0 show 
Volume Status       Size         Device/Label    Level Stripe
     0 Online       279G                mfi0    RAID 1    N/A  65535 seconds
   0:0 Online       279G         1:0.0 noencl <SEAGATE ST300MM0006     0003>
   0:1 Online       279G         1:1.0 noencl <SEAGATE ST300MM0006     0003>

	See above.

	By the looks of it, there's a missing handler for
	BIOCDISK_NOVOL in sys/dev/ic/mfi.c's mfi_ioctl() routine.

Home | Main Index | Thread Index | Old Index