Page MenuHomeFreeBSD
Feed Advanced Search

Nov 18 2019

imp accepted D21893: Add flua to the base system, install to /usr/libexec.
Nov 18 2019, 8:42 PM
imp added inline comments to D21893: Add flua to the base system, install to /usr/libexec.
Nov 18 2019, 5:54 PM

Nov 17 2019

imp created D22432: Add --esp/-E argument to print the currently booted ESP.
Nov 17 2019, 4:35 PM
imp added inline comments to D22425: libclang_rt: enable on powerpc*.
Nov 17 2019, 2:58 AM

Nov 16 2019

imp accepted D22383: Actually hook CAM_IO_STATS up to the build.

Looks good. Must have missed these bits when we upstreamed it.

Nov 16 2019, 6:57 PM
imp added a comment to D21893: Add flua to the base system, install to /usr/libexec.

If you moved lfs.[ch] to libexec/flua/modules, then a simple -I addition to CFLAGS and a .PATH would get the job done.

Nov 16 2019, 4:38 AM
imp accepted D21893: Add flua to the base system, install to /usr/libexec.

I don't like the lfs.h sharing detail, but it's fine enough we can work out after commit.

Nov 16 2019, 2:19 AM

Nov 15 2019

imp accepted D22374: TSX Asynchronous Abort Mitigation.

I'm cool with the sysctl/tunable naming.. Don't know about TAA enough to comment on the rest :)

Nov 15 2019, 11:35 PM
imp added inline comments to D22358: NTPD Circumvent ASLR.
Nov 15 2019, 4:33 AM
imp added inline comments to D22358: NTPD Circumvent ASLR.
Nov 15 2019, 4:21 AM
imp accepted D22147: Add freebsd-gcc6 port..
Nov 15 2019, 12:23 AM
imp added a comment to D22147: Add freebsd-gcc6 port..

I think this is ready to go as is. PLIST cleanups can wait IMO.

Nov 15 2019, 12:23 AM

Nov 14 2019

imp added inline comments to D22360: initial linker support userland-DTrace aarch64.
Nov 14 2019, 6:53 AM
imp accepted D22358: NTPD Circumvent ASLR.

Seems sane to me, but I'd feel better about getting it committed if others more deeply familiar with the aslr stuff give it their blessing.

Nov 14 2019, 3:20 AM
imp committed rS354700: armv6 soft float build fixed.
armv6 soft float build fixed
Nov 14 2019, 1:39 AM

Nov 13 2019

imp accepted D22352: armv6-soft build fixed.

This looks like a simple bug fix to me, so I'm inclined to let it in.

Nov 13 2019, 9:46 PM
imp accepted D22350: Refine r354661 to unbreak the GCC_BOOTSTRAP case..
Nov 13 2019, 8:20 PM
imp accepted D22337: Allow per-file lex and yacc options..

I love it now.

Nov 13 2019, 2:21 AM
imp committed rS354668: Fix a race between daopen and damediapoll.
Fix a race between daopen and damediapoll
Nov 13 2019, 1:59 AM

Nov 12 2019

imp added inline comments to D22337: Allow per-file lex and yacc options..
Nov 12 2019, 11:25 PM
imp added inline comments to D22337: Allow per-file lex and yacc options..
Nov 12 2019, 11:15 PM
imp added a comment to D22332: Force MK_CLANG_IS_CC on in XMAKE..

Hmmm, does this break native builds for gcc?

Nov 12 2019, 5:41 PM
imp accepted D22332: Force MK_CLANG_IS_CC on in XMAKE..
Nov 12 2019, 5:40 PM

Nov 11 2019

imp committed rS354623: Add asserts for some state transitions.
Add asserts for some state transitions
Nov 11 2019, 5:37 PM
imp committed rS354622: Update the softc state of the da driver before releasing the CCB..
Update the softc state of the da driver before releasing the CCB.
Nov 11 2019, 5:37 PM
imp committed rS354621: Require and enforce that dareprobe() has to be called with the periph lock held..
Require and enforce that dareprobe() has to be called with the periph lock held.
Nov 11 2019, 5:37 PM
imp committed rS354620: Fix panic message to indicate right action that was improper..
Fix panic message to indicate right action that was improper.
Nov 11 2019, 5:37 PM
imp closed D22295: Fix panic message to indicate right action that was improper..
Nov 11 2019, 5:37 PM
imp added a comment to D22295: Fix panic message to indicate right action that was improper..

I think what we're seeing is that we're running this with the queue unfrozen. This sometimes leads to the race I found because, I think, we run things twice: once in the ccb release path, and then again in the schedule path. The freezes and single stepping has always confused me. Part of the confusion is why we only see this sometimes... How does that come to be... The other is why does setting the state *SEEM* to fix this issue, because we should see double entry into the PROBERC state, rather than re-entry into the PROBEWC. I suspect this just never matter before the write-protect probing code was added since we always exited from PROBERC, race or no and there was no chance to actually race due to the DA_FLAGS_PROBED short-circuiting.

Nov 11 2019, 5:22 AM

Nov 10 2019

imp added a comment to D22288: arm64: busdma_bounce: fix BUS_DMA_ALLOCNOW + BOUNCE for non-paged aligned requests.

I add Scott long to reviewers

Nov 10 2019, 3:13 AM

Nov 9 2019

imp updated the test plan for D22295: Fix panic message to indicate right action that was improper..
Nov 9 2019, 7:41 PM
imp updated the test plan for D22295: Fix panic message to indicate right action that was improper..
Nov 9 2019, 7:38 PM
imp created D22295: Fix panic message to indicate right action that was improper..
Nov 9 2019, 7:32 PM
imp added inline comments to D20261: [PowerPC64] Use ld.bfd to build LIB32 and STAND - when using llvm.
Nov 9 2019, 6:49 PM · PowerPC

Nov 8 2019

imp added a comment to D20261: [PowerPC64] Use ld.bfd to build LIB32 and STAND - when using llvm.

I would definitely get this in even if we have to leave ld.bfd for 32-bit powerpc initially.

Nov 8 2019, 10:53 PM · PowerPC
imp added a comment to D22271: Create /etc/os-release file..

It would be nice to include some documentation. The systemd man page seems most useful and canonical, but it's LGPL. Maybe include a link to it in a comment in the generated file?

Nov 8 2019, 9:37 PM
imp updated the diff for D22271: Create /etc/os-release file..

Now with freshly-written man page.

Nov 8 2019, 9:33 PM
imp updated the diff for D22271: Create /etc/os-release file..

More review commentary addressed.

Nov 8 2019, 7:56 PM
imp accepted D22249: Show HBA path in 'diskinfo -v'..

Maybe give Warner a chance to provide any more feedback before we commit this.

Nov 8 2019, 7:49 PM
imp added inline comments to D22281: Cleanup Rockchip clocks implementation..
Nov 8 2019, 5:54 PM
imp added a comment to D22271: Create /etc/os-release file..
In D22271#487097, @manu wrote:

Does that needs a exp-run too ?
I guess that some ports currently test if this file exists at configure step and don't depend on the current port so this might affect them.

Nov 8 2019, 5:47 PM
imp updated the diff for D22271: Create /etc/os-release file..

Update per review comments
Update etc/defaults/rc.conf

Nov 8 2019, 5:46 PM
imp updated the summary of D22271: Create /etc/os-release file..
Nov 8 2019, 5:41 PM
imp added a comment to D22271: Create /etc/os-release file..

Also standard in Solaris, per bcran:

Nov 8 2019, 5:31 PM
imp added a comment to D22271: Create /etc/os-release file..

For those that are interested, the DragonFly commit is here http://gitweb.dragonflybsd.org/dragonfly.git/commit/9c172c374855a49366c18d9b34b978ce87a7fa2b

Nov 8 2019, 5:28 PM
imp added a comment to D22271: Create /etc/os-release file..
In D22271#487162, @manu wrote:

Thanks. So I guess that my next question is : how does this files affects those program ?
It is just cosmetic ? (like they will display FreeBSD instead of the default "Linux" string) or something else ?

Nov 8 2019, 5:21 PM
imp added a comment to D22271: Create /etc/os-release file..
In D22271#487094, @bapt wrote:

To be clear, I am validating the content of the file and the principle of a rc.d. Now I am wondering it is won't be better served by a port/package as it has a niche usage anyway (for now at least), and that will make it cover all supported version of FreeBSD straight away.

It will still be possible to move it to base later if we have a real need for it in base in the future

Nov 8 2019, 5:16 PM
imp added a comment to D22271: Create /etc/os-release file..
I'm not aware of it being checked at configure stage by anything -- if this were the case however, it would be even more important for it to be in base :)
Nov 8 2019, 5:13 PM
imp added inline comments to D22271: Create /etc/os-release file..
Nov 8 2019, 6:40 AM

Nov 7 2019

imp updated the diff for D22271: Create /etc/os-release file..

update per cem and brooks

Nov 7 2019, 9:25 PM
imp updated the summary of D22271: Create /etc/os-release file..
Nov 7 2019, 6:10 PM
imp added a comment to D22144: Introduce bsd.sysdir.mk to consolidate looking for the kernel..
In D22144#484006, @jhb wrote:

I guess the extra directories don't hurt. I'm less certain about the implications of the missing checks for an empty KERNBUILDDIR.

Same concerns but I like the change otherwise.

Nov 7 2019, 5:11 PM
imp added inline comments to D22144: Introduce bsd.sysdir.mk to consolidate looking for the kernel..
Nov 7 2019, 5:11 PM
imp accepted D22230: Add support for -0 to env(1).

These look good to me.
Thanks for integrating my feedback.

Nov 7 2019, 4:07 PM
imp added a comment to D22249: Show HBA path in 'diskinfo -v'..

I have the same problem - the most factually correct way would be "newbus parent node", but that would be completely unparseable to most of the users.

Any thoughts on merging those two attributes into a single string? I've mimicked the fields from struct ccb_pathinq, but I'm not sure if that's the right thing to do.

I'm struggling with this as well. How does "Controller" or perhaps "Drive controller" strike you? With the end result being something like "Controller device name" or "Controller device path". Open to suggestions.

Nov 7 2019, 3:33 PM
imp created D22271: Create /etc/os-release file..
Nov 7 2019, 5:10 AM

Nov 6 2019

imp accepted D22251: libcompat: build 32-bit rtld and ldd as part of "everything".
Nov 6 2019, 11:52 PM
imp closed D22246: Remove obsolete addition of MACHINE_CPUARCH.
Nov 6 2019, 6:54 PM
imp committed rS354408: Remove obsolete addition of MACHINE_CPUARCH.
Remove obsolete addition of MACHINE_CPUARCH
Nov 6 2019, 6:54 PM
imp accepted D22147: Add freebsd-gcc6 port..

Nothing caught my eye, though the PLIST is getting to be rather long and a bit of a PITA to deal with :(

Nov 6 2019, 6:44 PM
imp committed rS354393: Replace current with stable/10.
Replace current with stable/10
Nov 6 2019, 2:34 PM
imp committed rS354392: Update to indicate this is for stable/11, not current..
Update to indicate this is for stable/11, not current.
Nov 6 2019, 2:33 PM
imp committed rS354391: Change current to stable/12..
Change current to stable/12.
Nov 6 2019, 2:32 PM

Nov 5 2019

imp added a reviewer for D22246: Remove obsolete addition of MACHINE_CPUARCH: jhb.
Nov 5 2019, 5:54 PM
imp created D22246: Remove obsolete addition of MACHINE_CPUARCH.
Nov 5 2019, 5:53 PM

Nov 4 2019

imp added a comment to D22230: Add support for -0 to env(1).

It would be better to put

#define EXIT_CANCELED 125

and use that instead of the bare 125. I know we have other numbers elsewhere, but that's a good place to make this not a magic number.

Nov 4 2019, 4:59 PM
imp added inline comments to D22230: Add support for -0 to env(1).
Nov 4 2019, 3:56 PM
imp requested changes to D22194: Colored output for err(3).

teemo. Coding the ansi escape sequences is really a bad idea.

Nov 4 2019, 2:13 PM

Nov 2 2019

imp committed rS354242: Make valdiate_rx_req_id static inline because it uses other static.
Make valdiate_rx_req_id static inline because it uses other static
Nov 2 2019, 2:05 AM

Nov 1 2019

imp committed rS354240: We don't support configuring serial PCI cards in EFI. Make this clearer in the.
We don't support configuring serial PCI cards in EFI. Make this clearer in the
Nov 1 2019, 9:26 PM
imp added a comment to D22161: loader: fall back to term_emu on efi console with serial backend In case of efi console having serial backend (video + serial or only serial), we need to stick with old emulator till we can draw console..

OK. This compiles for me. This runs for me. I get funky characters on my serial console for the menu, though. I can't recall if that used to be the case or not.

Nov 1 2019, 8:56 PM
imp added a comment to D22212: truss: centralize pointer-constructing casts..
In D22212#485397, @cem wrote:

Anyway: I'm not keen on this kind of CHERI patch that just shuffles code around for CHERI's convenience with non-improvement or negative impact to FreeBSD.

Nov 1 2019, 4:00 PM

Oct 30 2019

imp accepted D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Oct 30 2019, 11:30 PM
imp accepted D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Oct 30 2019, 10:46 PM
imp committed rS354205: Remove redundant hw sysctl declaration. gcc CI complains, but clang doesn't..
Remove redundant hw sysctl declaration. gcc CI complains, but clang doesn't.
Oct 30 2019, 8:08 PM
imp accepted D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Oct 30 2019, 7:56 PM
imp added a comment to D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..

I don't see anything wrong. the discussion that bdrewery and I were having was that there may be a more optimal way.

Oct 30 2019, 7:56 PM
imp committed rS354204: Move all the sys/dev/[a-j]* that are common to files.x86.
Move all the sys/dev/[a-j]* that are common to files.x86
Oct 30 2019, 7:54 PM
imp committed rS354203: Remove duplicate lines..
Remove duplicate lines.
Oct 30 2019, 7:53 PM
imp accepted D22192: Use the new cam_sim_alloc_dev function to properly initialize SIM.
Oct 30 2019, 7:44 PM · arm64
imp added inline comments to D22191: sys/ddb: Add hardware breakpoint support to ddb.
Oct 30 2019, 7:43 PM
imp added a comment to D22193: Add kern.geom.part.separator..

There's likely others, but I've not grepped them up yet.

Oct 30 2019, 6:46 PM
imp added a comment to D22193: Add kern.geom.part.separator..
/*
  * Fill in the devid, now that we've labeled the disk.
  */
 (void) snprintf(buf, sizeof (buf), "%ss%d", path, slice);
 if ((fd = open(buf, O_RDONLY)) < 0) {
         (void) fprintf(stderr,
             gettext("cannot open '%s': %s\n"),
             buf, strerror(errno));
         return (-1);
 }

is one example, this one is from cddl/contrib/opensolaris/cmd/zpool/zpool_vdev.c

Oct 30 2019, 6:44 PM
imp added a comment to D22193: Add kern.geom.part.separator..
In D22193#485062, @imp wrote:

There are lots of places in the system that will break when this is not '' . What are your plans on fixing those?

It’s empty by default; if user needs it I suppose it’s their responsibility to update paths in eg fstab. Or do you mean there are some scripts/binaries that hardcode it?

Oct 30 2019, 6:40 PM
imp added a comment to D22193: Add kern.geom.part.separator..

There are lots of places in the system that will break when this is not '' . What are your plans on fixing those?

Oct 30 2019, 5:57 PM
imp committed rS354192: Make hyperv keyboard work again..
Make hyperv keyboard work again.
Oct 30 2019, 5:18 PM

Oct 28 2019

imp accepted D22172: Update sysutils/intel-pcm as of 28-Oct-2019.
Oct 28 2019, 11:34 PM
imp added a comment to D22172: Update sysutils/intel-pcm as of 28-Oct-2019.

This looks good to me...
I'm unsure that we need both the intel-pcm and intel-pcm-devel ports... There's not a huge need for multiple versions and the could be merged (and I'd be happy to cede control to egypcio@)

Oct 28 2019, 11:34 PM

Oct 26 2019

imp added a comment to D20562: The efifat files are no longer used: remove the code to build them..
@tsoome wrote:

Hope this helps.

It does, thanks! However, I'm still not sure if I need to create startup.nsh or not. Quick googling suggests that one might get boot problems in some environments if this file is missing. Wiki page does not mention it.

Yes it is situational, I have never needed it myself.

Oct 26 2019, 2:06 AM

Oct 24 2019

imp added a comment to D22118: Add a kmod.opts.mk..

https://reviews.freebsd.org/D22144
is what I'm thinking. I think I have all the dirs in this one and found all the places we use it.
I've not test tested all the use cases....
so we can work out the sharing issues there.

Oct 24 2019, 6:17 PM
imp created D22144: Introduce bsd.sysdir.mk to consolidate looking for the kernel..
Oct 24 2019, 6:15 PM
imp added a comment to D22139: loader.efi: implement comconsole with UEFI SerialIO protocol.
In D22139#483902, @imp wrote:

I'll take a look at this... It looks OK.

But, the "port" changes from the I/O port to the UID if I'm reading things right, which is effectively a random number (on a machine it's stable, but it varies from machine to machine)

Are you sure it is random?, because we found out the handle order is not fixed and acpi uid seems to give better results - haven't heard unexpected port order so far.

Oct 24 2019, 6:11 PM
imp added inline comments to D22118: Add a kmod.opts.mk..
Oct 24 2019, 5:56 PM
imp added a comment to D22139: loader.efi: implement comconsole with UEFI SerialIO protocol.

I'll take a look at this... It looks OK.

Oct 24 2019, 4:32 PM
imp added inline comments to D22134: Building head on 11 needs libzstd.
Oct 24 2019, 3:51 PM
imp accepted D22135: Initialize verbosity and debug level from env.
Oct 24 2019, 1:19 AM

Oct 23 2019

imp committed rS353961: exit requires stdlib.h to be included to use..
exit requires stdlib.h to be included to use.
Oct 23 2019, 7:23 PM
imp added inline comments to D22118: Add a kmod.opts.mk..
Oct 23 2019, 5:03 PM
imp accepted D22127: Add missing M_NOWAIT flag.

This looks correct.
I agree with the IRC comment about a kassert in uma_zalloc for the flags, but that's not needed here.

Oct 23 2019, 4:36 PM
imp accepted D22126: Fix undefined behavior..

Looks good to me. It's one of the two ways that I saw to fix it, and this is likely faster than the other way (pass the limit to vspace()).

Oct 23 2019, 3:56 PM