Page MenuHomeFreeBSD

imp (Warner Losh)
User

Projects (6)

User Details

User Since
Jun 2 2014, 4:20 PM (558 w, 4 d)

Recent Activity

Yesterday

imp accepted D48979: flash: add w25n (nand flash) support.

OK. This is fine.

Fri, Feb 14, 11:49 PM
imp requested review of D49016: cam: Update scsi_all.h to reflect 30 years of evolution.
Fri, Feb 14, 10:25 PM

Thu, Feb 13

imp added inline comments to D48990: fix devctl core file name.
Thu, Feb 13, 3:22 PM

Sun, Feb 9

imp added a comment to D47478: zfsboot: Add an option to edit the ZFS pool creation options..

Yea. We only allow pushing to the ssh endpoint

Sun, Feb 9, 7:56 PM
imp committed rG36f1db7a37ae: loader.conf: Document boot_verbose (authored by imp).
loader.conf: Document boot_verbose
Sun, Feb 9, 6:24 PM
imp accepted D48880: csh: Remove gethost dependency on tc.const.h.
Sun, Feb 9, 12:28 AM

Sat, Feb 8

imp committed rG80d0d1614cdc: cam/cd: The SAW_MEDIA flag duplicates VALID_MEDIA (authored by imp).
cam/cd: The SAW_MEDIA flag duplicates VALID_MEDIA
Sat, Feb 8, 9:44 PM
imp committed rG82fc49a0bebf: cam/da: Only mark pack as valid if we know the size in daopen (authored by imp).
cam/da: Only mark pack as valid if we know the size in daopen
Sat, Feb 8, 9:44 PM
imp committed rGf8de2be7d920: cam/da: Call cam_periph_invalidate on ENXIO in dadone (authored by imp).
cam/da: Call cam_periph_invalidate on ENXIO in dadone
Sat, Feb 8, 9:44 PM
imp closed D48841: cam/cd: The SAW_MEDIA flag duplicates VALID_MEDIA.
Sat, Feb 8, 9:43 PM
imp closed D48688: cam/da: Only mark pack as valid if we know the size in daopen.
Sat, Feb 8, 9:43 PM
imp closed D48689: cam/da: Call cam_periph_invalidate on ENXIO in dadone.
Sat, Feb 8, 9:43 PM

Fri, Feb 7

imp added a comment to D48798: ctld: replace macros with enums.
In D48798#1115132, @jhb wrote:

FYI, one hiccup with this plan is that yacc only generates C code. I am working on creating a dedicated C API to sit between parse.y and ctld.c so that the rest of ctld can be C++. Blech.

Fri, Feb 7, 9:18 PM
imp committed rGd235f19d1bf1: mdoc.7/MANUAL STRUCTURE: add HARDWARE (authored by ziaee).
mdoc.7/MANUAL STRUCTURE: add HARDWARE
Fri, Feb 7, 7:03 PM
imp added a comment to D48892: usr.bin/m4: Improve compatibility with GNU m4..

Any sendmail configs affected?

Fri, Feb 7, 6:37 PM

Thu, Feb 6

imp committed rG4e2301260da5: cam/da: explain why we have to refetch bp here. (authored by imp).
cam/da: explain why we have to refetch bp here.
Thu, Feb 6, 6:43 PM
imp committed rG25105fa029da: cam/cd: Simplify to remove invalid flag (authored by imp).
cam/cd: Simplify to remove invalid flag
Thu, Feb 6, 6:43 PM
imp closed D48840: cam/cd: Simplify to remove invalid flag.
Thu, Feb 6, 6:43 PM
imp closed D48839: cam/da: Add some comments about 28/0 asc.
Thu, Feb 6, 6:43 PM
imp committed rGd8c9f53922c6: cam/da: Add some comments about 28/0 asc (authored by imp).
cam/da: Add some comments about 28/0 asc
Thu, Feb 6, 6:43 PM
imp abandoned D48844: cam/da: Remove redundant bp assignment.

When the selected delete method isn't supported, and we retry with others, we can make bp go NULL since we requeue the command so it's reprocessed in dastart again. different delete methods have different limitations on size, so we can't just transform it to something else or fail the I/O.

Thu, Feb 6, 6:36 PM
imp abandoned D48842: cam/da: Minor rework of sf bits for errors.

Dropping this for now. I needed it for the read retry rework, but since I'm stepping away from that for now, I'll drop this too.

Thu, Feb 6, 6:15 PM
imp abandoned D48843: cam/da: Allow read-retry to be disabled.

So this isn't quite right, so I'm going to abandon.

Thu, Feb 6, 6:14 PM
imp committed rG2a777f20309f: ota: Merge One True Awk 20250116 bsd-feature 2dce54b053d4 (authored by imp).
ota: Merge One True Awk 20250116 bsd-feature 2dce54b053d4
Thu, Feb 6, 3:11 PM

Wed, Feb 5

imp committed rGdd78d987cb38: ota: Merge One True Awk 20250116 bsd-feature 2dce54b053d4 (authored by imp).
ota: Merge One True Awk 20250116 bsd-feature 2dce54b053d4
Wed, Feb 5, 8:44 PM
imp committed rGe32b2740f7b6: awk: Update to 20250116 bsd-feature 2dce54b053d4 (authored by imp).
awk: Update to 20250116 bsd-feature 2dce54b053d4
Wed, Feb 5, 4:24 PM
imp committed rGd90e14fc18e8: mptutil: Capture CAM errors from bus rescan (authored by ngie).
mptutil: Capture CAM errors from bus rescan
Wed, Feb 5, 5:28 AM
imp added a reverting change for rG2d17f44a5ae6: rc.d: Add hastd as a prereq for devd: rGe3898d552c98: Revert "rc.d: Add hastd as a prereq for devd".
Wed, Feb 5, 5:28 AM
imp committed rGe3898d552c98: Revert "rc.d: Add hastd as a prereq for devd" (authored by imp).
Revert "rc.d: Add hastd as a prereq for devd"
Wed, Feb 5, 5:28 AM
imp committed rGf52154a2044a: hptrr: Better error recovery (authored by imp).
hptrr: Better error recovery
Wed, Feb 5, 1:38 AM
imp committed rG2d17f44a5ae6: rc.d: Add hastd as a prereq for devd (authored by imp).
rc.d: Add hastd as a prereq for devd
Wed, Feb 5, 12:48 AM
imp committed rG5b900bd26ab4: mpt: replace mpt_prt with mpt_lprt in mpt_cam.c (authored by Fuqian Huang <huangfq.daxian@gmail.com>).
mpt: replace mpt_prt with mpt_lprt in mpt_cam.c
Wed, Feb 5, 12:48 AM
imp committed rGd9beef938ae7: mpt: print req->index rather than the pointer itself in mpt.c (authored by Fuqian Huang <huangfq.daxian@gmail.com>).
mpt: print req->index rather than the pointer itself in mpt.c
Wed, Feb 5, 12:48 AM
imp added a comment to D47169: CONTRIBUTING: Explain Routes of Contributing.

Submission to bugzilla is required for any policy defined my Porters Handbook to apply. I've asked this question before without getting any answer but do we have some kind of unified agreement that we're to accept PRs at all from GitHub from portmgr or people involved with ports?

Wed, Feb 5, 12:41 AM · docs, Ports Committers

Tue, Feb 4

imp accepted D48836: mtree: Add missing libxo/encoder path.
Tue, Feb 4, 7:23 PM
imp accepted D48837: mtree: Add missing ossl-modules entry.
Tue, Feb 4, 7:23 PM
imp accepted D48838: mtree: Add missing flua/freebsd/sys entry.
Tue, Feb 4, 7:23 PM
imp added a comment to D48843: cam/da: Allow read-retry to be disabled.

Note: There's no good interface for this. I was thinking of having a global tunable kern.cam.da.no_read_retry and a similar per-drive sysctl/tunable.

Tue, Feb 4, 6:41 PM
imp requested review of D48844: cam/da: Remove redundant bp assignment.
Tue, Feb 4, 6:40 PM
imp requested review of D48842: cam/da: Minor rework of sf bits for errors.
Tue, Feb 4, 6:38 PM
imp requested review of D48843: cam/da: Allow read-retry to be disabled.
Tue, Feb 4, 6:38 PM
imp requested review of D48841: cam/cd: The SAW_MEDIA flag duplicates VALID_MEDIA.
Tue, Feb 4, 6:38 PM
imp requested review of D48840: cam/cd: Simplify to remove invalid flag.
Tue, Feb 4, 6:38 PM
imp added reviewers for D48839: cam/da: Add some comments about 28/0 asc: mav, ken.
Tue, Feb 4, 6:36 PM
imp requested review of D48839: cam/da: Add some comments about 28/0 asc.
Tue, Feb 4, 6:36 PM
imp committed rGf8ef49c324c9: cam/da: Document what an 'invalid pack' means. (authored by imp).
cam/da: Document what an 'invalid pack' means.
Tue, Feb 4, 6:32 PM
imp committed rG43693fffc07e: cam/periph: Use a bool for a bool (authored by imp).
cam/periph: Use a bool for a bool
Tue, Feb 4, 6:32 PM
imp closed D48687: cam/da: Document what an 'invalid pack' means..
Tue, Feb 4, 6:32 PM
imp committed rG5c04086a61ac: cam: Fix off by one error in ASC/ASCQ lookup (authored by imp).
cam: Fix off by one error in ASC/ASCQ lookup
Tue, Feb 4, 6:32 PM
imp closed D48685: cam: Fix off by one error in ASC/ASCQ lookup.
Tue, Feb 4, 6:32 PM
imp closed D48684: cam: Fail ASC 0x40.
Tue, Feb 4, 6:32 PM
imp committed rG692e5f6ba63e: cam: Fail ASC 0x40 (authored by imp).
cam: Fail ASC 0x40
Tue, Feb 4, 6:32 PM
imp committed rGf5cebe73940c: cam/xpt: Put all messages on one line (authored by imp).
cam/xpt: Put all messages on one line
Tue, Feb 4, 6:32 PM
imp added a comment to D48689: cam/da: Call cam_periph_invalidate on ENXIO in dadone.
In D48689#1110732, @mav wrote:

This change require DA_FLAG_PACK_INVALID to be reliable avoid false periph invalidations. I am not sure current asc == 0x3a covers all the cases, I have feeling that 0x28/0x00 Not ready to ready change, medium may have changed is even more widespread case of media change and so pack invalidation.

Tue, Feb 4, 6:27 PM
imp updated the diff for D48687: cam/da: Document what an 'invalid pack' means..

Clarify comments with mav@'s input.

Tue, Feb 4, 6:00 PM
imp accepted D47835: nanobsd: Always define the partition index.
Tue, Feb 4, 3:32 AM

Mon, Feb 3

imp committed rGfdaf7d0fe10c: umass: Print quirks with %b (authored by imp).
umass: Print quirks with %b
Mon, Feb 3, 5:29 PM
imp accepted D48800: gstat: Sync usage/synopsis + tag SPDX.
Mon, Feb 3, 10:29 AM
imp accepted D48802: kernel: Print SOURCE_DATE_EPOCH in UTC.
Mon, Feb 3, 4:16 AM
imp accepted D48803: stand: Use SOURCE_DATE_EPOCH in newvers.sh.
Mon, Feb 3, 4:15 AM

Sun, Feb 2

imp added a comment to D48794: Fix kernel build with GEOM_LABEL and no FFS.

Gleb added a stopgap in rGe1ebda4458bb but I don't like it because we will have vfs.ffs node in MINIMAL kernel.

Sun, Feb 2, 5:55 PM
imp committed rG6f659c9a49a0: pci: Change device to function (authored by imp).
pci: Change device to function
Sun, Feb 2, 5:26 PM
imp committed rGd889926162b4: isci: Remove dead code (authored by imp).
isci: Remove dead code
Sun, Feb 2, 5:19 PM
imp committed rG5a8caf9bfae2: bce: make compile with BCE_DEBUG (authored by imp).
bce: make compile with BCE_DEBUG
Sun, Feb 2, 4:59 PM
imp committed rG5deab77bb6d1: bce: Fix register dumping to skip blank area (authored by imp).
bce: Fix register dumping to skip blank area
Sun, Feb 2, 4:59 PM
imp committed rGead758a67a6b: pms: Fix always true condition (authored by Svyatoslav <razmyslov@viva64.com>).
pms: Fix always true condition
Sun, Feb 2, 4:38 PM

Sat, Feb 1

imp added a comment to D48763: kernel: Add `%pV` to kernel's printf format string.
In D48763#1112606, @bz wrote:
In D48763#1112273, @imp wrote:

It would be better, imho, *NOT* to pollute the base FreeBSD with this junky API.

+1

Instead, I'd create a wrapper for linux printf that re-writes format to at least convert pV to Vp and implement 'V' as a proper modifier. that would be much safer, less invasive and also allow us to have other, weird things from. Linux if we have to should some other format crazy happen in the future that's more likely to break things.

It's a bit more tricky unfortunately if we want something which works on device_printf() etc. It'll need a "conversion intermediate" for the fmt string for quite a few functions and macros but that's definitively doable, just tedious but can also happen incrementally.

Sat, Feb 1, 6:04 PM
imp added a comment to D48794: Fix kernel build with GEOM_LABEL and no FFS.

This will cause libufs to fail to build. Also, ffs_subr.c is supposed to contain all the kernel functionality needed by filesystem utilities. And ffs_oldfscompat_inode_read() is one of those functions.

I propose just doing this change instead

diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c
index e2b09da86ae5..ef488185e026 100644
--- a/sys/ufs/ffs/ffs_subr.c
+++ b/sys/ufs/ffs/ffs_subr.c
@@ -405,9 +405,12 @@ ffs_oldfscompat_write(struct fs *fs)
  */
 static int prttimechgs = 0;
 #ifdef _KERNEL
+#include "opt_dontuse.h" /* Check to see if FFS is in this kernel */
+#ifdef FFS
 SYSCTL_DECL(_vfs_ffs);
 SYSCTL_INT(_vfs_ffs, OID_AUTO, prttimechgs, CTLFLAG_RWTUN, &prttimechgs, 0,
 	"print UFS1 time changes made to inodes");
+#endif /* FFS */
 #endif /* _KERNEL */
 bool
 ffs_oldfscompat_inode_read(struct fs *fs, union dinodep dp, time_t now)
Sat, Feb 1, 5:43 PM
imp accepted D48790: nanobsd: Add a provisional populate_part function.
Sat, Feb 1, 5:37 PM
imp accepted D48781: nanobsd: Add uname/gname to the spec.

I'm agnostic on the wrapping... I tend to use a 120ish limit myself, though I know that drives people nuts. Others in the project regularly commit > 80 < 100 lines and have for ~decades. kib is the only one that's still objecting.

Sat, Feb 1, 5:29 PM
imp added inline comments to D48783: nanobsd: Prefer tgt_dir2symlink() to create symlinks.
Sat, Feb 1, 5:27 PM
imp added inline comments to D48783: nanobsd: Prefer tgt_dir2symlink() to create symlinks.
Sat, Feb 1, 5:26 PM
imp accepted D48791: nanobsd: Add a provisional populate /cfg function.
Sat, Feb 1, 4:55 AM
imp accepted D48790: nanobsd: Add a provisional populate_part function.
Sat, Feb 1, 4:55 AM
imp accepted D48789: nanobsd: Add a nano_makefs function.
Sat, Feb 1, 4:53 AM
imp accepted D48788: nanobsd: Switch the / partition in fstab.
Sat, Feb 1, 4:53 AM
imp accepted D48787: nanobsd: Add a NANO_TIMESTAMP variable.
Sat, Feb 1, 4:52 AM
imp accepted D48786: nanobsd: Add a function to create directories.
Sat, Feb 1, 4:49 AM
imp accepted D48785: nanobsd: Prefer tgt_touch() instead of touch.
Sat, Feb 1, 4:48 AM
imp accepted D48784: nanobsd: Set the proper mode for /tmp.
Sat, Feb 1, 4:48 AM
imp accepted D48783: nanobsd: Prefer tgt_dir2symlink() to create symlinks.
Sat, Feb 1, 4:46 AM
imp accepted D48782: nanobsd: Make tgt_dir2symlink() take a mode.
Sat, Feb 1, 4:45 AM
imp accepted D48781: nanobsd: Add uname/gname to the spec.
Sat, Feb 1, 4:44 AM
imp accepted D48780: nanobsd: Prefer nano_umount to umount.
Sat, Feb 1, 4:42 AM
imp accepted D48779: libopencsd: Remove extra slashes.
Sat, Feb 1, 4:40 AM
imp accepted D48778: csu tests: Remove extra slash.
Sat, Feb 1, 4:40 AM

Fri, Jan 31

imp added a comment to D48751: linuxkpi: Include <linux/{types,io}.h> from <video/vga.h>.
In D48751#1112293, @imp wrote:

Also, please do *NOT* commit this (or any other) with *WHY* as the subject line of the commit message. each commit should have a single line at the top that describes the whole commit.
This is true for the whole series. Also I think I saw a *HOW* heading, that should be omitted as well and the context should make it clear to match our usual practice.

I’m sorry, I did not notice your message before pushing the patches… I use the revision title as the commit’s first line. When I put why/how headers, there are in the "body" of the commit message.

From now on, I will not include these headers.

Fri, Jan 31, 4:44 PM
imp accepted D48766: physmem: Move the ram0 device earlier in the boot.
Fri, Jan 31, 3:16 PM
imp added a comment to D48751: linuxkpi: Include <linux/{types,io}.h> from <video/vga.h>.

Also, please do *NOT* commit this (or any other) with *WHY* as the subject line of the commit message. each commit should have a single line at the top that describes the whole commit.
This is true for the whole series. Also I think I saw a *HOW* heading, that should be omitted as well and the context should make it clear to match our usual practice.

Fri, Jan 31, 2:49 PM
imp accepted D48760: linuxkpi: Add several headers to reproduce namespace pollution.
Fri, Jan 31, 2:46 PM
imp requested changes to D48763: kernel: Add `%pV` to kernel's printf format string.
Fri, Jan 31, 2:46 PM
imp added a comment to D48763: kernel: Add `%pV` to kernel's printf format string.

Yea, this is a stupid API that flies in the face of years and years of how printf works. The modifiers never follow the main format specifier.
It would break a driver than wnated to say "Memory used: %pV %pP" to signify Virtual and Physical addresses of something, though it's likely rare.
It would be better, imho, *NOT* to pollute the base FreeBSD with this junky API.
Instead, I'd create a wrapper for linux printf that re-writes format to at least convert pV to Vp and implement 'V' as a proper modifier. that would be much safer, less invasive and also allow us to have other, weird things from. Linux if we have to should some other format crazy happen in the future that's more likely to break things.

Fri, Jan 31, 2:39 PM
imp accepted D48218: nvme/nvmf: Add NVME_GET_CONTROLLER_DATA ioctl to fetch cached cdata.
Fri, Jan 31, 12:31 AM

Wed, Jan 29

imp added inline comments to D48715: arm64: Hook up efi_rt_arch_call in efirt.ko.
Wed, Jan 29, 5:12 PM
imp added inline comments to D48715: arm64: Hook up efi_rt_arch_call in efirt.ko.
Wed, Jan 29, 4:57 PM
imp accepted D48715: arm64: Hook up efi_rt_arch_call in efirt.ko.
Wed, Jan 29, 4:18 PM

Tue, Jan 28

imp committed rGc64b3f32a570: umass: Add comment for ASC/ASCQ 24h/00h INVALID FIELD IN CDB (authored by imp).
umass: Add comment for ASC/ASCQ 24h/00h INVALID FIELD IN CDB
Tue, Jan 28, 8:10 PM
imp accepted D48708: Makefile: Fix several issues with bmake upgrade.

Only thing I'm at all nervous about is removing stale bmake.. but it's recoverable if in error, so I'm not that nervous.

Tue, Jan 28, 7:39 PM

Mon, Jan 27

imp abandoned D48686: cam: Implement ascq ranges correctly.

Bah! You're right. Punting on this one.

Mon, Jan 27, 5:13 PM
imp added a comment to D48689: cam/da: Call cam_periph_invalidate on ENXIO in dadone.
In D48689#1110732, @mav wrote:

This change require DA_FLAG_PACK_INVALID to be reliable avoid false periph invalidations. I am not sure current asc == 0x3a covers all the cases, I have feeling that 0x28/0x00 Not ready to ready change, medium may have changed is even more widespread case of media change and so pack invalidation.

Mon, Jan 27, 4:40 PM