Page MenuHomeFreeBSD

ken (Ken Merry)
User

Projects

User Details

User Since
Jan 23 2015, 10:35 PM (530 w, 2 d)

Recent Activity

Feb 14 2025

ken added a comment to D49016: cam: Update scsi_all.h to reflect 30 years of evolution.

Fine with me...but are we not actually putting the text of the license in the file anymore?

Feb 14 2025, 10:30 PM

Jan 25 2025

ken accepted D48684: cam: Fail ASC 0x40.
Jan 25 2025, 8:48 PM
ken added a comment to D48689: cam/da: Call cam_periph_invalidate on ENXIO in dadone.

The purpose of invalidating the pack in the da(4) driver is to deal with removable media. If the removable disk is pulled while the device is open, the pack is invalidated. Getting through a successful open again clears the flag.

Jan 25 2025, 8:37 PM

Jul 16 2024

ken closed D45688: Add isp(4) fwload_only loader tunable.
Jul 16 2024, 9:25 PM · cam
ken closed D45660: Fix isp(4) device probing with 9.x firmware.
Jul 16 2024, 9:25 PM · cam
ken committed rG12f7f57bc07d: Add an isp(4) tunable to default to ispfw(4) firmware. (authored by ken).
Add an isp(4) tunable to default to ispfw(4) firmware.
Jul 16 2024, 8:39 PM
ken committed rG4c94657e168d: Fix the isp(4) driver with 9.x firmware. (authored by ken).
Fix the isp(4) driver with 9.x firmware.
Jul 16 2024, 8:39 PM
ken committed rG44ca5d40f367: Add an isp(4) tunable to default to ispfw(4) firmware. (authored by ken).
Add an isp(4) tunable to default to ispfw(4) firmware.
Jul 16 2024, 8:09 PM
ken committed rGff9458b30fc3: Fix the isp(4) driver with 9.x firmware. (authored by ken).
Fix the isp(4) driver with 9.x firmware.
Jul 16 2024, 8:08 PM
ken committed rG4c0c82355692: isp(4): Document support for new devices (authored by Joerg.Pulz_frm2.tum.de).
isp(4): Document support for new devices
Jul 16 2024, 8:02 PM

Jun 24 2024

ken committed rG31354813f3c6: Add an isp(4) tunable to default to ispfw(4) firmware. (authored by ken).
Add an isp(4) tunable to default to ispfw(4) firmware.
Jun 24 2024, 8:50 PM
ken committed rG137b004e2b7a: Fix the isp(4) driver with 9.x firmware. (authored by ken).
Fix the isp(4) driver with 9.x firmware.
Jun 24 2024, 8:50 PM
ken updated the diff for D45688: Add isp(4) fwload_only loader tunable.

Change fwload_only to fwload_force.

Jun 24 2024, 7:37 PM · cam
ken added a comment to D45660: Fix isp(4) device probing with 9.x firmware.
In D45660#1042762, @mav wrote:
In D45660#1042742, @ken wrote:

So here is what the debugging log message in isp_getpdb() shows. isp0 and isp1 are connected to LTO-6 tape drives via an 8Gb switch. isp2 is directly connected to an LTO-6 in loop mode:

isp0: Chan 0 handle 0x0 Port 0xfffc01 flags 0x0 curstate 77 laststate 77
isp0: Chan 0 handle 0x1 Port 0x011b26 flags 0x40a0 curstate 46 laststate 46
isp0: Chan 0 handle 0x7fe Port 0xfffffe flags 0x0 curstate 44 laststate 44
isp0: Chan 0 handle 0x7fe Port 0xfffffe flags 0x0 curstate 44 laststate 44
isp1: Chan 0 handle 0x0 Port 0xfffc01 flags 0x0 curstate 77 laststate 77
isp1: Chan 0 handle 0x1 Port 0x011a26 flags 0x40a0 curstate 46 laststate 46
isp1: Chan 0 handle 0x7fe Port 0xfffffe flags 0x0 curstate 44 laststate 44
isp1: Chan 0 handle 0x7fe Port 0xfffffe flags 0x0 curstate 44 laststate 44
isp2: Chan 0 handle 0x0 Port 0x000026 flags 0x40a0 curstate 46 laststate 46

So it seems the upper 4 bits can actually have different values, not some "non-NVMe" constant, as I thought. I am OK with this patch if it solves the issue, but it would definitely be good to understand what it is, in case there is something important.

Jun 24 2024, 5:53 PM · cam
ken added a comment to D45688: Add isp(4) fwload_only loader tunable.
In D45688#1042676, @mav wrote:

It seems a good tunable, except I am not getting the meaning of "only" there. Why not "always", "force" or something like that?

Jun 24 2024, 5:32 PM · cam
ken added a comment to D45660: Fix isp(4) device probing with 9.x firmware.
In D45660#1042675, @mav wrote:

None of QLogic documents I have know nothing about NVMe, and this state field is declared is byte there. I have no objections for this patch, but a bit curios what NVMe status do we see there for non-NVMe devices.

Jun 24 2024, 5:08 PM · cam

Jun 21 2024

ken updated the summary of D45688: Add isp(4) fwload_only loader tunable.
Jun 21 2024, 7:52 PM · cam
ken requested review of D45688: Add isp(4) fwload_only loader tunable.
Jun 21 2024, 7:51 PM · cam
ken added a project to D45660: Fix isp(4) device probing with 9.x firmware: cam.
Jun 21 2024, 7:40 PM · cam

Jun 20 2024

ken requested review of D45660: Fix isp(4) device probing with 9.x firmware.
Jun 20 2024, 2:55 PM · cam

Apr 15 2024

ken added a comment to D44719: ctl: Support NVMe requests in debug trace functions.

Looks like the copyright text is missing.

Apr 15 2024, 3:28 PM
ken accepted D44717: ctl: Add structure and related constants for NVMe commands.
Apr 15 2024, 3:23 PM
ken accepted D44722: ctl_backend_ramdisk: Add support for NVMe.
Apr 15 2024, 3:20 PM
ken accepted D44713: cam: Add a XPORT_NVMF for NVMe over Fabrics sims.
Apr 15 2024, 3:14 PM
ken accepted D44720: ctl: Support for NVMe commands.

Looks good, thank you for doing this! I'm glad to finally see CTL NVMe support going in.

Apr 15 2024, 3:11 PM

Jan 3 2024

ken committed rG789a2b4e5c7d: camcontrol: add support for Toshiba drive firmware update (authored by ken).
camcontrol: add support for Toshiba drive firmware update
Jan 3 2024, 3:36 PM
ken committed rGce6c84abe6c2: camcontrol: add support for Toshiba drive firmware update (authored by ken).
camcontrol: add support for Toshiba drive firmware update
Jan 3 2024, 3:34 PM
ken committed rG658a9820b0bf: camcontrol: Add a sense subcommand (authored by ken).
camcontrol: Add a sense subcommand
Jan 3 2024, 3:32 PM
ken committed rG31a363933e9a: camcontrol: Add a sense subcommand (authored by ken).
camcontrol: Add a sense subcommand
Jan 3 2024, 2:49 PM

Dec 29 2023

ken committed rGcd95f18c477c: camcontrol: add support for Toshiba drive firmware update (authored by ken).
camcontrol: add support for Toshiba drive firmware update
Dec 29 2023, 7:26 PM

Dec 28 2023

ken committed rG40a492d38ee1: camcontrol: Add a sense subcommand (authored by ken).
camcontrol: Add a sense subcommand
Dec 28 2023, 9:24 PM
ken closed D43225: Add a sense subcommand to camcontrol(8).
Dec 28 2023, 9:24 PM
ken updated the diff for D43225: Add a sense subcommand to camcontrol(8).
Dec 28 2023, 9:00 PM
ken added inline comments to D43225: Add a sense subcommand to camcontrol(8).
Dec 28 2023, 8:59 PM
ken requested review of D43225: Add a sense subcommand to camcontrol(8).
Dec 28 2023, 8:20 PM

Dec 27 2023

ken accepted D43204: sa: Make sa_param_table[] const and static.

This should be fine, thanks!

Dec 27 2023, 7:55 PM
ken accepted D43203: sa: Check for errors from copyout().

Looks fine to me, thanks!

Dec 27 2023, 7:47 PM

Dec 20 2023

ken committed rG5ffcdc96ac71: mpr, mps: Establish busdma boundaries for memory pools (authored by ken).
mpr, mps: Establish busdma boundaries for memory pools
Dec 20 2023, 3:45 PM
ken committed rG504e85ade103: mpr, mps: Establish busdma boundaries for memory pools (authored by ken).
mpr, mps: Establish busdma boundaries for memory pools
Dec 20 2023, 3:44 PM

Dec 14 2023

ken committed rG9e6e28bb8ea8: Add IBM TS1170 density codes and specs. (authored by ken).
Add IBM TS1170 density codes and specs.
Dec 14 2023, 9:02 PM
ken committed rGa9262d053b63: Add IBM TS1170 density codes and specs. (authored by ken).
Add IBM TS1170 density codes and specs.
Dec 14 2023, 9:00 PM
ken committed rG264610a86e14: mpr, mps: Establish busdma boundaries for memory pools (authored by ken).
mpr, mps: Establish busdma boundaries for memory pools
Dec 14 2023, 8:17 PM

Dec 13 2023

ken added inline comments to D43008: Establish 4GB boundaries for busdma in the mpr(4) and mps(4) driver.
Dec 13 2023, 7:21 PM
ken updated the diff for D43008: Establish 4GB boundaries for busdma in the mpr(4) and mps(4) driver.

Use BUS_SPACE_MAXSIZE_32BIT+1 to represent the 4GB boundary instead of 0x100000000.

Dec 13 2023, 7:20 PM

Dec 12 2023

ken updated the summary of D43008: Establish 4GB boundaries for busdma in the mpr(4) and mps(4) driver.
Dec 12 2023, 8:56 PM
ken updated the summary of D43008: Establish 4GB boundaries for busdma in the mpr(4) and mps(4) driver.
Dec 12 2023, 8:55 PM
ken updated the summary of D43008: Establish 4GB boundaries for busdma in the mpr(4) and mps(4) driver.
Dec 12 2023, 8:52 PM
ken requested review of D43008: Establish 4GB boundaries for busdma in the mpr(4) and mps(4) driver.
Dec 12 2023, 8:52 PM
ken committed rG70547544ce93: ocs_fc: IO timeout handling and error reporting fix. (authored by Ram Kishore Vegesna <ram@FreeBSD.org>).
ocs_fc: IO timeout handling and error reporting fix.
Dec 12 2023, 3:32 PM

Oct 31 2023

ken committed rG83823d063ab5: Add IBM TS1170 density codes and specs. (authored by ken).
Add IBM TS1170 density codes and specs.
Oct 31 2023, 7:30 PM
ken accepted D42411: cam: Make cam_debug macros atomic.

Good idea. Sbuf didn't exist back when the debug macros were written, this is an improvement.

Oct 31 2023, 1:36 PM
ken accepted D42402: cam/ata: Postpone removal of two compat sysctl until 15.

Looks good, thank you!

Oct 31 2023, 1:24 PM

Oct 30 2023

ken requested changes to D42402: cam/ata: Postpone removal of two compat sysctl until 15.

This makes it sound like unmapped I/O and rotating media support will be removed in FreeBSD 15.

Oct 30 2023, 3:25 PM

Oct 14 2023

ken accepted D42210: ctl: Use ctl_io_sbuf in ctl_process_done.
Oct 14 2023, 1:14 AM
ken accepted D42209: ctl: Make ctl_private.h more self-contained.
Oct 14 2023, 1:11 AM
ken accepted D42208: ctl: Make ctl_ha.h more self-contained.

Looks ok to me.

Oct 14 2023, 1:11 AM
ken accepted D42207: ctl: Make ctl_io.h more self-contained.
Oct 14 2023, 1:10 AM
ken accepted D42205: cam: Make <cam/scsi/scsi_all.h> more self-contained.

Looks good to me.

Oct 14 2023, 1:09 AM
ken accepted D42206: ctl: Make ctl.h more self-contained.

Looks fine to me.

Oct 14 2023, 1:08 AM

Jul 25 2023

ken added a comment to D41167: cam: Log errors from passthru commands.
In D41167#937442, @mav wrote:

My position traditionally was that user-space should handle and report its own errors by itself, but kernel should handle some system-wide. I agree that there may be some merits in this. Aside of reporting to devctl this should also properly re-broadcast Unit Attentions, which do not belong to specific command and so periph. As I can see, devctl should already receive device name to differentiate pass-through requests. I wonder it is could report some process identification too?

Jul 25 2023, 7:37 PM
ken accepted D41167: cam: Log errors from passthru commands.

I think this will be ok. It will give at least some avenue to report errors that go up via the pass(4) driver without additional console spamming.

Jul 25 2023, 7:33 PM

Jun 20 2023

ken accepted D40655: camdd: Remove set but unused variables..

Looks fine, thanks.

Jun 20 2023, 4:37 PM
ken accepted D40653: mt: Remove a set but unused variable..

Looks good to me, thanks.

Jun 20 2023, 4:35 PM

Apr 14 2023

ken accepted D39572: cam: Properly mask out the status bits to get completion code.

Looks ok to me.

Apr 14 2023, 2:24 PM

Dec 1 2022

ken accepted D37589: Allow any user to read the NFS stats, for example with nfsstat(1)..

This looks good to me.

Dec 1 2022, 9:35 PM

Oct 20 2022

ken committed rG2edc70060d1e: Fix mpr(4) panic during a firmware update. (authored by ken).
Fix mpr(4) panic during a firmware update.
Oct 20 2022, 3:03 PM
ken committed rG956f15e74d66: Fix mpr(4) panic during a firmware update. (authored by ken).
Fix mpr(4) panic during a firmware update.
Oct 20 2022, 3:00 PM

Oct 17 2022

ken committed rG11778fca4a83: Fix mpr(4) panic during a firmware update. (authored by ken).
Fix mpr(4) panic during a firmware update.
Oct 17 2022, 4:54 PM

Feb 25 2022

ken committed rG7c79905f67fd: Fix non-printable characters in NVMe model and serial numbers. (authored by ken).
Fix non-printable characters in NVMe model and serial numbers.
Feb 25 2022, 10:20 PM

Feb 18 2022

ken committed rG58df94091a3e: Fix non-printable characters in NVMe model and serial numbers. (authored by ken).
Fix non-printable characters in NVMe model and serial numbers.
Feb 18 2022, 9:34 PM
ken committed rGacbae1011ed2: Switch to using drive-supplied timeouts for the sa(4) driver. (authored by ken).
Switch to using drive-supplied timeouts for the sa(4) driver.
Feb 18 2022, 9:28 PM

Feb 10 2022

ken committed rG75900d1eb898: Switch to using drive-supplied timeouts for the sa(4) driver. (authored by ken).
Switch to using drive-supplied timeouts for the sa(4) driver.
Feb 10 2022, 1:42 PM

Feb 9 2022

ken committed rG3090d5045a1e: Fix non-printable characters in NVMe model and serial numbers. (authored by ken).
Fix non-printable characters in NVMe model and serial numbers.
Feb 9 2022, 10:13 PM
ken closed D33973: Fix non-printable characters in NVMe model and serial numbers..
Feb 9 2022, 10:13 PM

Jan 24 2022

ken updated the summary of D33973: Fix non-printable characters in NVMe model and serial numbers..
Jan 24 2022, 9:36 PM
ken updated the diff for D33973: Fix non-printable characters in NVMe model and serial numbers..

Create a cam_strvis_flag() function and use it in the NVMe code.

Jan 24 2022, 9:34 PM

Jan 20 2022

ken requested review of D33973: Fix non-printable characters in NVMe model and serial numbers..
Jan 20 2022, 8:18 PM
ken committed rG6d1a563281a9: Free UMA zones when a pass(4) instance goes away. (authored by ken).
Free UMA zones when a pass(4) instance goes away.
Jan 20 2022, 8:09 PM
ken committed rG2077f85a63f2: Free UMA zones when a pass(4) instance goes away. (authored by ken).
Free UMA zones when a pass(4) instance goes away.
Jan 20 2022, 8:07 PM

Jan 19 2022

ken added inline comments to D31809: Add tests for ses(4).
Jan 19 2022, 9:22 PM
ken accepted D31809: Add tests for ses(4).

I'm assuming this will need to run on a system with a SES device.

Jan 19 2022, 6:33 PM
ken accepted D31686: ses: minor cleanup.
Jan 19 2022, 6:29 PM

Jan 18 2022

ken committed rG6e8a2f040017: Update sa(4) comments and man page after review. (authored by ken).
Update sa(4) comments and man page after review.
Jan 18 2022, 6:59 PM
ken committed rGbcff64c54a74: Clarify loader tunable usage when tape drives arrive after boot. (authored by ken).
Clarify loader tunable usage when tape drives arrive after boot.
Jan 18 2022, 6:59 PM
ken closed D33883: Switch to using drive-supplied timeouts for the sa(4) driver..
Jan 18 2022, 6:58 PM
ken committed rG5719b5a1bb64: Switch to using drive-supplied timeouts for the sa(4) driver. (authored by ken).
Switch to using drive-supplied timeouts for the sa(4) driver.
Jan 18 2022, 6:58 PM
ken accepted D33925: mpr/mps: Remove write-only flag and callout.
Jan 18 2022, 4:09 PM
ken accepted D33925: mpr/mps: Remove write-only flag and callout.

Hmm, I guess that was removed somewhere along the way. I haven't seen discovery hangs lately, so this should be ok.

Jan 18 2022, 4:00 PM
ken updated the diff for D33883: Switch to using drive-supplied timeouts for the sa(4) driver..

Update sa(4) comments and man page after review.

Jan 18 2022, 3:50 PM

Jan 17 2022

ken added inline comments to D33883: Switch to using drive-supplied timeouts for the sa(4) driver..
Jan 17 2022, 5:53 PM

Jan 14 2022

ken added inline comments to D33883: Switch to using drive-supplied timeouts for the sa(4) driver..
Jan 14 2022, 9:52 PM
ken added inline comments to D33883: Switch to using drive-supplied timeouts for the sa(4) driver..
Jan 14 2022, 4:13 PM
ken updated the diff for D33883: Switch to using drive-supplied timeouts for the sa(4) driver..

Address documentation feedback, clarify that loader tunables will still be
used for tape drives that arrive after boot.

Jan 14 2022, 4:11 PM

Jan 13 2022

ken added inline comments to D33883: Switch to using drive-supplied timeouts for the sa(4) driver..
Jan 13 2022, 10:15 PM
ken requested review of D33883: Switch to using drive-supplied timeouts for the sa(4) driver..
Jan 13 2022, 9:17 PM
ken committed rGca2a7262df5e: Free UMA zones when a pass(4) instance goes away. (authored by ken).
Free UMA zones when a pass(4) instance goes away.
Jan 13 2022, 3:57 PM

Jan 7 2022

ken added a comment to D33783: cam: Include more statuses as errors for CAM_IO_STATS.
In D33783#764114, @imp wrote:
In D33783#764113, @rew wrote:

Does it make sense to include any of these additional errors for the CAM_IO_STATS in sys/cam/nvme/nvme_da.c and sys/cam/ata/ata_da.c?

nvme_da doesn't have these errors. ata_da already lists CAM_ATA_STATUS_ERROR. I needed to add it to SCSI because we do a lot with ATA passthrough commands that might result in this. I'm on the fence about adding CAM_SMP_STATUS_ERROR to ata_da.c, like I was in adding it here. It's more of a management thing and I've not audited all the commands both send to see if it's possible... CAM_SEL_TIMEOUT is generated by the ata SIMs, so maybe it should be on the list there (nvme_sim doesn't generate this).

Jan 7 2022, 7:23 PM
ken added a comment to D33783: cam: Include more statuses as errors for CAM_IO_STATS.

What's the difference between CAM_CMD_TIMEOUT and CAM_SEL_TIMEOUT ?

Jan 7 2022, 6:28 PM

Nov 3 2021

ken accepted D32803: scsi_cd: Improve TOC access validation.
Nov 3 2021, 6:46 PM

May 6 2021

ken added a comment to D29941: gmultipath: make physpath distinct from the underlying providers'.

Yep. That's wrong. In 14.0-CURRENT, the function that sets physpath is ses_set_physpath, in cam/scsi/scsi_enc_ses.c.

May 6 2021, 9:34 PM