From nobody Wed Jan 24 12:25:49 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TKjq13Zx5z589V5 for ; Wed, 24 Jan 2024 12:25:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TKjq11hV6z4RZ2 for ; Wed, 24 Jan 2024 12:25:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706099149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1wGUiV19EMeFmzAGPSK0vPBOLPQkWpO0/kg9F6tYVG4=; b=Mk8YKELAwq3pDx4zS3NNCh5zcVAt4N7a8v2t7jffSCAB39MEtwAOpN+gWIKXyhSLTdNKnY 2RP/GD+CDbegHY0k6KiMFhJmNr+wzljqu+Fr7m+FP7O2NiWWcCzxWKMKCymvDMF4JhfyFj Ilb0GdbNzV0vomV12IbPiAy+Tqimr7/AomNkEkCSXQXmURtv3ftNMdZCauUNTSTUmUlDbb BKRM+h3AVObt0wgkAULP2222cBGEiD3Bm5gjzr+Ng8dEvawUoL1edXLcYHnl1y900qZjup lD4fmkaKgmqJS8lnh/5aOL8CupCNy2KOAsQsJ5JE3GKSscGYS63KHJA/rwJtRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706099149; a=rsa-sha256; cv=none; b=j/1KzMwGhZaS8EHtRPOZV1xuAuvHBgyeMheNraPXgwabnl99gHI1JNDYA+N3Z9hGYngh0x HSd0VnF/IR2H6PfXlcBsHwfygwUbjqmyJVMtFMbqW3Z5NTWQymSJvtqj71nvBQ7IDYosW5 /JrRWmPwwoNQ4LEzcZm6PCxA4AKd+bcNzdBAceTh6F+B8C1GslT4p9KFwiRBTp5vh+syvd WA0tB+xDJZCCl5tF5ZivB13bOZWcErVFsG0lJscNL+8DShDCWX58Du+P2r31LnMAyKAnmp /+acDOtK9hBtidfAb2bQUf0RC9T55qruHhSUguiAprBFs9UsTEAv0yFdVAt+Tg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TKjq10lGBzDjg for ; Wed, 24 Jan 2024 12:25:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40OCPnqX099604 for ; Wed, 24 Jan 2024 12:25:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40OCPnGR099595 for ports-bugs@FreeBSD.org; Wed, 24 Jan 2024 12:25:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Wed, 24 Jan 2024 12:25:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pen@lysator.liu.se X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243530 --- Comment #3 from Peter Eriksson --- 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.=