History log of /freebsd/sbin/camcontrol/camcontrol.8 (Results 1 – 25 of 252)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d1e652bf 16-Jun-2024 Gordon Bergling <gbe@FreeBSD.org>

camcontrol.8: Fix a typo in the manual page

- s/emtpy/empty/

MFC after: 3 days


Revision tags: release/14.1.0, release/13.3.0
# 9977fb80 12-Jan-2024 Yi-Chen Li <calvin0205@gapp.nthu.edu.tw>

camcontrol(8): Fix grammar: a ATA -> an ATA

Event: Advanced UNIX Programming Course (Fall'23) at NTHU.
Pull Request: https://github.com/freebsd/freebsd-src/pull/1030


# cd95f18c 29-Dec-2023 Kenneth D. Merry <ken@FreeBSD.org>

camcontrol: add support for Toshiba drive firmware update

Thanks to Toshiba for providing the SCSI spec for their latest
generation drives so I could confirm how they operate.

The firmware download

camcontrol: add support for Toshiba drive firmware update

Thanks to Toshiba for providing the SCSI spec for their latest
generation drives so I could confirm how they operate.

The firmware download works in a pretty standard way, so this
is a straightforward table addition.

sbin/camcontrol/camcontrol.8:
Document that Toshiba drives are supported for fwdownload,
and that it was tested on TOSHIBA MG10SFA22TE 22TB drives.

sbin/camcontrol/fwdownload.c:
Add TOSHIBA to the known SCSI vendors list for fwdownload.

Sponsored by: Spectra Logic
MFC after: 3 days

show more ...


# 40a492d3 28-Dec-2023 Kenneth D. Merry <ken@FreeBSD.org>

camcontrol: Add a sense subcommand

As the name suggests, this sends a SCSI REQUEST SENSE to a device,
and prints out decoded sense information. It can also print out a
hexdump of the sense data.

s

camcontrol: Add a sense subcommand

As the name suggests, this sends a SCSI REQUEST SENSE to a device,
and prints out decoded sense information. It can also print out a
hexdump of the sense data.

sbin/camcontrol/camcontrol.c:
Add the new sense subcommand.

sbin/camcontrol/camcontrol.8:
Document camcontrol sense.

Sponsored by: Spectra Logic
Reviewed by: mav
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D43225

show more ...


# f8f3b16b 26-Dec-2023 Che-Yu Chang <ccy36@gapp.nthu.edu.tw>

camcontrol(8): Fix typos

On line 748, "bigger than" is mistyped as "bigger then", and on line
765, "more than" is mistyped as "more then".

Event: Advanced UNIX Programming Course (Fall’23) at NTHU.

camcontrol(8): Fix typos

On line 748, "bigger than" is mistyped as "bigger then", and on line
765, "more than" is mistyped as "more then".

Event: Advanced UNIX Programming Course (Fall’23) at NTHU.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/949

show more ...


Revision tags: release/14.0.0
# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 409594ef 02-Jun-2023 Tom Hukins <tom@FreeBSD.org>

gpart(8): Improve manual page syntax

Fix various warnings from `mandoc -Tlint lib/geom/part/gpart.8`.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/702


# 2bcbf4d8 02-Jun-2023 Tom Hukins <tom@FreeBSD.org>

camcontrol(8): Use simpler language

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/702


# 2675b8bd 02-Jun-2023 Tom Hukins <tom@FreeBSD.org>

camcontrol(8): Add manual page cross references

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/702


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0
# c918f50f 05-Feb-2022 Wolfram Schneider <wosch@FreeBSD.org>

update external URL


Revision tags: release/12.3.0
# d4cf7dc0 20-Oct-2021 Felix Johnson <felix.the.red@gmail.com>

camcontrol(8): Clean up references to removed symbols

Patch the manpage to remove references to devq_openings and devq_queued.
Document the allocated tag that has been added in the same commit. The

camcontrol(8): Clean up references to removed symbols

Patch the manpage to remove references to devq_openings and devq_queued.
Document the allocated tag that has been added in the same commit. The
relevant code change was committed as r271588
(959ec2581b23aefebb3bae26c527c1b25834a9e3) by mav@.

PR: 223651
MFH after: 3 days
Reported by: Bertrand Petit <bsdpr@phoe.frmug.org>

show more ...


# 53cce2e7 18-Sep-2021 Warner Losh <imp@FreeBSD.org>

camcontrol: depop command

Implement and document the new depop command. This command manages drive elements
for drives that support it. Storage elements are typically heads. Element status
can be di

camcontrol: depop command

Implement and document the new depop command. This command manages drive elements
for drives that support it. Storage elements are typically heads. Element status
can be discovered. Elements may be removed or restored. And the status of any
current depop operation can be assessed.

depop -d elm will remove element elm and truncate available capacity.
depop -l will list the current drive elements and their current status.
depop -r elm will try to restore all retired elements and rebuild capacity.

Changing storage elements may reinitialize the drive. This operation will lose
data and may take hours to complete. Use the drive provided timeout for
operations by default.

Reviewed by: gbe (manpages)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D29018

show more ...


# 28b475b0 10-Apr-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

Cross-reference camcontrol(8) and zonectl(8) man pages.


Revision tags: release/13.0.0
# c17b2a79 20-Nov-2020 Gordon Bergling <gbe@FreeBSD.org>

camcontrol(8): Fix some warnings spotted by mandoc

- skipping paragraph macro: Pp before Bl


Revision tags: release/12.2.0
# 64440392 03-Oct-2020 Gordon Bergling <gbe@FreeBSD.org>

camcontrol(8): Bugfixes for some issues reported by mandoc

- new sentence, new line

MFC after: 1 week


Revision tags: release/11.4.0, release/12.1.0
# 09128776 07-Aug-2019 Alexander Motin <mav@FreeBSD.org>

Make `camcontrol modepage` support block descriptors.

It allows to read and write block descriptors alike to mode page parameters.
It allows to change block size or short-stroke HDDs or overprovisio

Make `camcontrol modepage` support block descriptors.

It allows to read and write block descriptors alike to mode page parameters.
It allows to change block size or short-stroke HDDs or overprovision SSDs.
Depenting on -P parameter the change can be either persistent or till reset.
In case of block size change device may need reformat after the setting.
In case of SSD overprovisioning format or sanitize may be needed to really
free the flash.

During implementation appeared that csio_encode_visit() can not handle
integers of more then 4 bytes, that makes 8-byte LBA handling awkward.
I had to split it into two 4-byte halves now.

MFC after: 1 week
Relnotes: yes
Sponsored by: iXsystems, Inc.

show more ...


# e341cfd2 30-Jul-2019 Alexander Motin <mav@FreeBSD.org>

Make `camcontrol modepage` to use 10 byte commands.

While old devices may not support 10 byte MODE SENSE/MODE SELECT commands,
new ones may not be able to report all mode pages with 6 byte commands.

Make `camcontrol modepage` to use 10 byte commands.

While old devices may not support 10 byte MODE SENSE/MODE SELECT commands,
new ones may not be able to report all mode pages with 6 byte commands.

This patch makes camcontrol by default start with 10 byte commands and
fall back to 6 byte on ILLEGAL REQUEST error, or 6 byte can be forced.

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.

show more ...


# a63915c2 28-Jul-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @r350386

Sponsored by: The FreeBSD Foundation


# c15a591c 25-Jul-2019 Alexander Motin <mav@FreeBSD.org>

Make `camcontrol sanitize` support also ATA devices.

ATA sanitize is functionally identical to SCSI, just uses different
initiation commands and status reporting mechanism.

While there, make kernel

Make `camcontrol sanitize` support also ATA devices.

ATA sanitize is functionally identical to SCSI, just uses different
initiation commands and status reporting mechanism.

While there, make kernel better handle sanitize commands and statuses.

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.

show more ...


# 512efccf 22-Jul-2019 Alexander Motin <mav@FreeBSD.org>

Unify BTL parsing for `camcontrol debug` and `reset`.

This makes `camcontrol debug` also allow peripheral device specification.

While there, make BTL parser more strict and switch from strtok() to

Unify BTL parsing for `camcontrol debug` and `reset`.

This makes `camcontrol debug` also allow peripheral device specification.

While there, make BTL parser more strict and switch from strtok() to
strsep().

MFC after: 2 weeks

show more ...


# 89b35a52 19-Jul-2019 Alexander Motin <mav@FreeBSD.org>

Add Accessible Max Address Configuration support to camcontrol.

AMA replaced HPA in ACS-3 specification. It allows to limit size of the
disk alike to HPA, but declares inaccessible data as indeterm

Add Accessible Max Address Configuration support to camcontrol.

AMA replaced HPA in ACS-3 specification. It allows to limit size of the
disk alike to HPA, but declares inaccessible data as indeterminate. One
of its practical use cases is to under-provision SATA SSDs for better
reliability and performance.

While there, fix HPA Security detection/reporting.

MFC after: 2 weeks
Relnotes: yes
Sponsored by: iXsystems, Inc.

show more ...


# d455c0d0 16-Jul-2019 Warner Losh <imp@FreeBSD.org>

Implement a devtype command.

List the device's protocol. The returned value is one of the following:
ata direct attach ATA or SATA device
satl a SATA device attached via SAS
scsi A parallel SCSI

Implement a devtype command.

List the device's protocol. The returned value is one of the following:
ata direct attach ATA or SATA device
satl a SATA device attached via SAS
scsi A parallel SCSI or SAS
nvme A direct attached NVMe device
mmcsd A MMC or SD attached device

Reviewed by: scottl@, rpokala@
Differential Revision: https://reviews.freebsd.org/D20950

show more ...


Revision tags: release/11.3.0
# 7648bc9f 13-May-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @347527

Sponsored by: The FreeBSD Foundation


# 3bed0179 23-Apr-2019 Steven Hartland <smh@FreeBSD.org>

Add ATA power mode support to camcontrol

Add the ability to report ATA device power mode with the cmmand 'powermode'
to compliment the existing ability to set it using idle, standby and sleep
comman

Add ATA power mode support to camcontrol

Add the ability to report ATA device power mode with the cmmand 'powermode'
to compliment the existing ability to set it using idle, standby and sleep
commands.

MFC after: 2 weeks
Sponsored by: Multiplay

show more ...


# 2aaf9152 18-Mar-2019 Alan Somers <asomers@FreeBSD.org>

MFHead@r345275


1234567891011