Subject: bin/14113: "mlxctl -a status" doesn't work
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 10/01/2001 15:19:20
>Number:         14113
>Category:       bin
>Synopsis:       "mlxctl -a status" doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 01 07:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ben Harris
>Release:        20010827 with fix from bin/14086 applied
>Organization:
University of Cambridge Computing Service
>Environment:
NetBSD balrog 1.5X NetBSD 1.5X (GENERIC) #0: Tue Aug 28 06:33:30 PDT 2001
chs@pc:/usr/chs/netbsd/obj/usr/chs/netbsd/src/sys/arch/i386/compile/GENERIC
i386

>Description:
According to mlxctl(8), "mlxctl -a status" should display the status of
all drives on mlx0.  However:

balrog# ./mlxctl -a status
usage: mlxctl [-f dev] [-av] command [...]

>How-To-Repeat:
mlxctl -a status

>Fix:
It looks like specifying "-a" causes mlxctl to try to read the list of
disks on the current controller before it's opened a file descriptor on
it.  Thus, it concludes that there are no logical disks on the controller,
and gives a usage message.




>Release-Note:
>Audit-Trail:
>Unformatted: