Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2024 12:25:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243530] sysutils/cciss_vol_status: Does not display physical drives on FreeBSD 12.1
Message-ID:  <bug-243530-7788-Lxbdi6v4zr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243530-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243530-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243530

--- Comment #3 from Peter Eriksson <pen@lysator.liu.se> ---
Created attachment 247922
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247922&action=
=3Dedit
Patch to solve numerous issues in cciss_vol_status

This patch solves a number of issues, and cleans up formatting of the outpu=
t a
little bit.

1. Fixes a number of bitwise comparisions that uses "&&" but really should =
be
using "&".

2. Fixes a buffer overrun where the code writes to byte[41] (ie 42) in a 41
byte buffer...

3. Solves the "missing disks" problem - it seems the CISS HBA puts any disks
with 4K native sector sizes in the "non-disk" list, even though they work
perfectly fine with FreeBSD (when the controller is used as an HBA - they w=
on't
work when used as a RAID controller).=20

4. Adds a "-D" option which prints a little bit more info than "-V".

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243530-7788-Lxbdi6v4zr>