Page MenuHomeFreeBSD
Feed Advanced Search

Feb 7 2015

rpaulo added inline comments to D1786: Update xz to 5.2.0..
Feb 7 2015, 3:07 AM
rpaulo updated the diff for D1786: Update xz to 5.2.0..

Fix the prebuild libs dependency.

Feb 7 2015, 2:50 AM

Feb 6 2015

rpaulo updated the diff for D1786: Update xz to 5.2.0..

Fix /rescue.

Feb 6 2015, 11:15 PM
rpaulo updated the diff for D1786: Update xz to 5.2.0..

Forgot to link liblzma with pthread.
Add a few more files to the build.

Feb 6 2015, 6:39 PM
rpaulo updated the diff for D1786: Update xz to 5.2.0..

Add lzma.h to ObsoleteFiles.inc.

Feb 6 2015, 5:45 AM
rpaulo retitled D1786: Update xz to 5.2.0. from to Update xz to 5.2.0..
Feb 6 2015, 5:30 AM
rpaulo accepted D1757: drop libelf dependency for USDT probes.
Feb 6 2015, 2:16 AM

Feb 4 2015

rpaulo closed D1771: Update leinigen to 2.5.1..

Closed by commit rP378420 (authored by @rpaulo).

Feb 4 2015, 8:55 PM
rpaulo retitled D1771: Update leinigen to 2.5.1. from to Update leinigen to 2.5.1..
Feb 4 2015, 7:27 AM
rpaulo accepted D1757: drop libelf dependency for USDT probes.
Feb 4 2015, 6:55 AM

Jan 28 2015

rpaulo accepted D1682: Preserve hard & symbolic links when modifying source file.
Jan 28 2015, 7:24 AM
rpaulo accepted D1687: ARMv7 counters.

Not sure why there was no context available.

Jan 28 2015, 5:15 AM

Jan 15 2015

rpaulo closed D1529: Add devel/gitinspector..

Closed by commit rP377097 (authored by @rpaulo).

Jan 15 2015, 3:51 PM
rpaulo updated the test plan for D1529: Add devel/gitinspector..
Jan 15 2015, 4:12 AM
rpaulo updated the diff for D1529: Add devel/gitinspector..

Fixed the install without LANG set.

Jan 15 2015, 12:01 AM

Jan 14 2015

rpaulo retitled D1529: Add devel/gitinspector. from to Add devel/gitinspector..
Jan 14 2015, 10:38 PM

Jan 11 2015

rpaulo added inline comments to D1499: Marry mbuf(9) and queue(3)..
Jan 11 2015, 8:01 PM
rpaulo accepted D1489: Add poweroff(2) support to Beaglebone-black.

The code looks good, but I'm not familiar with the RTC hardware. Still, I'll mark it as reviewed.

Jan 11 2015, 6:54 AM

Jan 10 2015

rpaulo added inline comments to D1483: Inline struct m_hdr in struct mbuf, change mbuf array lengths to [0], add assertions.
Jan 10 2015, 11:51 PM

Jan 9 2015

rpaulo accepted D1471: Use M_SIZE() in m_align().
Jan 9 2015, 3:14 PM

Jan 7 2015

rpaulo accepted D1454: Reduce device-driver and protocol-stack use of MLEN, MHLEN, and MCLBYTES.
Jan 7 2015, 11:05 PM

Jan 4 2015

rpaulo added a comment to D1428: readelf: Handle note types from different operating systems.
In D1428#5, @emaste wrote:
In D1428#3, @rpaulo wrote:

This looks odd. Why are we relying on magic numbers instead of constants/enums like before?

Some of the constants in the previous version are Linux-specific, and don't exist in our ELF headers.

We could make up our own constants (e.g. NT_LINUX_AUXV) but it doesn't seem like that would provide much value. The same constant name may have different values on different OSes.

Jan 4 2015, 6:02 AM
rpaulo added a comment to D1428: readelf: Handle note types from different operating systems.

This looks odd. Why are we relying on magic numbers instead of constants/enums like before?

Jan 4 2015, 3:23 AM

Dec 31 2014

rpaulo accepted D1404: Change the RSS IPv6 hash API to pass a pointer to the address, not the address..
Dec 31 2014, 8:36 PM

Dec 22 2014

rpaulo accepted D1352: In m_clrprotoflags() cleanup the entire mbuf chain..

In the commit log, I wouldn't use the pronoun "the" but instead you could make it clear you're talking about m_clrprotoflags().

Dec 22 2014, 6:11 PM

Dec 21 2014

rpaulo accepted D1349: Update the i.MX kernels to use the platform code..

Reviewed.

Dec 21 2014, 7:57 PM

Dec 20 2014

rpaulo closed D1025: BCM2835 cpufreq driver..
Dec 20 2014, 10:20 PM
rpaulo accepted D1025: BCM2835 cpufreq driver..

Committed.

Dec 20 2014, 10:20 PM
rpaulo accepted D1346: Start to clean up the ARM kernel configs.

Some developers have disabled PREEMPTION to work around problems in the drivers, but I agree it should be re-enabled and those drivers should be fixed.

Dec 20 2014, 10:19 PM

Dec 14 2014

rpaulo closed D1307: Move ofw_cpu to sys/dev so it can be used by ARM..

Closed by commit rS275779 (authored by @rpaulo).

Dec 14 2014, 10:42 PM

Dec 13 2014

rpaulo retitled D1307: Move ofw_cpu to sys/dev so it can be used by ARM. from to Move ofw_cpu to sys/dev so it can be used by ARM..
Dec 13 2014, 7:26 PM

Dec 12 2014

rpaulo closed D1298: libpru is for FreeBSD 10+..

Closed by commit rP374569 (authored by @rpaulo).

Dec 12 2014, 5:16 AM
rpaulo retitled D1298: libpru is for FreeBSD 10+. from to libpru is for FreeBSD 10+..
Dec 12 2014, 2:37 AM

Dec 6 2014

rpaulo closed D1271: New port: devel/pructl.

Closed by commit rP374085 (authored by @rpaulo).

Dec 6 2014, 3:09 AM

Dec 5 2014

rpaulo retitled D1271: New port: devel/pructl from to New port: devel/pructl.
Dec 5 2014, 7:50 PM
rpaulo closed D1266: New port: devel/libpru..

Closed by commit rP374069 (authored by @rpaulo).

Dec 5 2014, 6:07 PM
rpaulo updated the test plan for D1266: New port: devel/libpru..
Dec 5 2014, 7:49 AM
rpaulo added inline comments to D1266: New port: devel/libpru..
Dec 5 2014, 12:00 AM

Dec 4 2014

rpaulo retitled D1266: New port: devel/libpru. from to New port: devel/libpru..
Dec 4 2014, 11:58 PM

Dec 1 2014

rpaulo abandoned D1251: Test, please ignore..
Dec 1 2014, 7:42 PM
rpaulo retitled D1251: Test, please ignore. from to Test, please ignore..
Dec 1 2014, 7:40 PM

Nov 24 2014

rpaulo closed D1183: Import libgpio..

Closed by commit rS274987 (authored by @rpaulo).

Nov 24 2014, 9:49 PM

Nov 20 2014

rpaulo added a reviewer for D1183: Import libgpio.: imp.
Nov 20 2014, 6:03 AM
rpaulo added a reviewer for D1183: Import libgpio.: adrian.
Nov 20 2014, 6:03 AM

Nov 19 2014

rpaulo added a comment to D1183: Import libgpio..
In D1183#5, @loos wrote:

Are we going to change gpioctl(1) to use libgpio ?

Thanks Rui!

Nov 19 2014, 5:00 PM

Nov 18 2014

rpaulo accepted D1188: Fix clang 3.5.0 warning in libngatm.
Nov 18 2014, 7:20 PM
rpaulo added a reviewer for D1183: Import libgpio.: stas.
Nov 18 2014, 6:17 AM
rpaulo retitled D1183: Import libgpio. from to Import libgpio..
Nov 18 2014, 6:16 AM

Nov 16 2014

rpaulo accepted D1174: Allow i2c bus speed to be configured via hints, FDT data, and sysctl..
Nov 16 2014, 7:21 PM
rpaulo accepted D1175: libdtrace: fix function name truncation.
Nov 16 2014, 5:02 AM

Nov 7 2014

rpaulo added a comment to D1025: BCM2835 cpufreq driver..
In D1025#11, @ian wrote:

The other thing that bothers me about this driver is that typically frequency and voltage are scaled together... first voltage is increased, then frequency, to scale up. When scaling back, first frequency is reduced, then voltage. I see one line of code in the cpufreq set routine that lowers voltage, nothing that ever increases it except manual controls by the user.

Nov 7 2014, 6:30 AM

Nov 2 2014

rpaulo closed D1021: Change the default option from mDNSResponder to avahi in kdelibs4..

D1031 will fix this.

Nov 2 2014, 4:39 PM

Nov 1 2014

rpaulo added inline comments to D1025: BCM2835 cpufreq driver..
Nov 1 2014, 11:37 PM
rpaulo added a comment to D938: Don't check M_EXT on mbufs returned by m_getjcl().

It might be better to put these reviews under 'network'.

Nov 1 2014, 7:29 PM
rpaulo updated the diff for D1025: BCM2835 cpufreq driver..

New diffs from Aoyama-san.

Nov 1 2014, 1:52 AM
rpaulo accepted D1054: Start to allow platforms other than U-Boot to use the FDT code in loader.
Nov 1 2014, 1:44 AM
rpaulo accepted D1016: DS3231 i2c RTC driver.

Only minor comments.

Nov 1 2014, 1:42 AM

Oct 31 2014

rpaulo added a comment to D1031: x11/kdelibs4 - honour ZEROCONF port option.
In D1031#4, @rakuco wrote:

Make sure the style of CMAKE_ARGS is consistent with the rest of the file (i.e. replace ON/OFF with On/Off).

Plus we tend to group all variables related to an option (so AVAHI_LIB_DEPENDS/AVAHI_CMAKE_* then the corresponding MDNSRESPONDER_* variables).

And don't bump PORTREVISION — there is no need for rebuilding the package.

Are you sure? Looking at kdelibs's dnssd/CMakeLists.txt, we were indeed never building the mDNSResponder backend at all, even with our MDNSRESPONDER option defaulting to on. Since we hard-depend on net/avahi-app, HAVE_AVAHI in CMakeLists.txt was always set and we were always building the Avahi code.

However, taking one step back this also means that we've never built the mDNSResponder backend at all, at least for a long time (this can be partially verified by looking at the beefy{1,2} logs for the port). The detection code in kdelibs was added in 2007, and our dependency on net/avahi-app has always existed (since area51 r3659).

This could very well be an argument in favor of removing the MDNSRESPONDER option altogether (it's not clear to me how it was ever used even though miwi added it as a missing dependency in area51 r3671).

Oct 31 2014, 3:50 PM

Oct 30 2014

rpaulo added a comment to D1025: BCM2835 cpufreq driver..
In D1025#4, @loos wrote:

I tried to build this code but it fails with:

cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc -I. -I/data/rpi/head/src/sys -I/data/rpi/head/src/sys/contrib/altq -I/data/rpi/head/src/sys/contrib/libfdt -I/data/rpi/head/src/sys/gnu/dts/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -funwind-tables -ffreestanding -gdwarf-2 -mfpu=none -mllvm -arm-enable-ehabi -Werror /data/rpi/head/src/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
/data/rpi/head/src/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c:161:19: error: use of undeclared identifier 'BCM2835_MBOX_CHAN_PROP'

MBOX_WRITE(mbox, BCM2835_MBOX_CHAN_PROP, (uint32_t)sc->dma_phys);
                 ^

/data/rpi/head/src/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c:162:18: error: use of undeclared identifier 'BCM2835_MBOX_CHAN_PROP'

MBOX_READ(mbox, BCM2835_MBOX_CHAN_PROP, &err);
                ^

2 errors generated.

Oct 30 2014, 2:38 AM
rpaulo added a comment to D1025: BCM2835 cpufreq driver..

Overall it's good. We just need to make it more FreeBSD source code friendly.

Oct 30 2014, 1:51 AM
rpaulo retitled D1025: BCM2835 cpufreq driver. from to BCM2835 cpufreq driver..
Oct 30 2014, 1:11 AM

Oct 29 2014

rpaulo added a comment to D1021: Change the default option from mDNSResponder to avahi in kdelibs4..
In D1021#13, @makc wrote:

I would like to hear the reason for this change. Currently only three ports depend on avahi-libdns (and one of them the avahi meta port), while mDNSResponder is used by 25 ports + 450 kde ports via kdelibs. This change will cause package conflicts, particularly between kde ports and cups ports.

Oct 29 2014, 3:24 PM

Oct 28 2014

rpaulo added a comment to D1021: Change the default option from mDNSResponder to avahi in kdelibs4..
In D1021#7, @rakuco wrote:

Thanks. Someone pointed out on IRC that Avahi might not be a fully functional replacement for mDNSResponder. I have no idea about the accuracy of this information, do you? And is there something in mDNSResponder that's actively causing problems at the moment other than that it is not maintained anymore?

Oct 28 2014, 9:52 PM
rpaulo added a comment to D1021: Change the default option from mDNSResponder to avahi in kdelibs4..
In D1021#3, @rakuco wrote:

It would be helpful to understand why you want to do this though. Is it because mDNSResponder is unmaintained? If it is, why not remove the MDNSRESPONDER option altogether?

Oct 28 2014, 9:27 PM
rpaulo updated D1021: Change the default option from mDNSResponder to avahi in kdelibs4..
Oct 28 2014, 9:25 PM
rpaulo retitled D1021: Change the default option from mDNSResponder to avahi in kdelibs4. from to Change the default option from mDNSResponder to avahi in kdelibs4..
Oct 28 2014, 8:08 PM

Oct 24 2014

rpaulo added a comment to D1000: Backend changes to add interrupt support to GPIO pins on bcm2835_gpio (RPi).

There are a bunch of empty lines that you might want to remove.

Oct 24 2014, 9:38 PM
rpaulo added a comment to D914: Add M_FLOWID to M_COPYFLAGS.

What if the packet was encapsulated? Does the flag get copied over to the inner packet? If it does, then that's a bug because the flowid needs to be recalculated.

Oct 24 2014, 7:10 PM
rpaulo accepted D999: Add basic support to GPIO interrupts on gpiobus and ofw_gpiobus.
Oct 24 2014, 4:08 AM

Oct 20 2014

rpaulo accepted D978: fix some bugs in bsd.dep.mk dtrace rules.

I'm not sure how make anchors work and I've run into this problem before, so if it fixes it, great.
Right now, this code only lets you work with one DTrace script. I had some ideas on how to improve that, but I never worked on them.

Oct 20 2014, 9:19 PM

Oct 18 2014

rpaulo accepted D943: Rework the Ti GPIO code to allow for the OMAP4 and AM335X attachments to both be present..
Oct 18 2014, 5:33 PM
rpaulo closed D965: Add a driver for the TI watchdog..

Closed by commit rS273257 (authored by @rpaulo).

Oct 18 2014, 4:59 PM
rpaulo updated the diff for D965: Add a driver for the TI watchdog..

Fixing the compatible string.

Oct 18 2014, 4:39 PM
rpaulo updated the diff for D965: Add a driver for the TI watchdog..

Fixing the previous revision.

Oct 18 2014, 4:37 PM
rpaulo updated the diff for D965: Add a driver for the TI watchdog..

Changes based on review comments.

Oct 18 2014, 4:37 PM
rpaulo added inline comments to D965: Add a driver for the TI watchdog..
Oct 18 2014, 4:29 PM
rpaulo added a reviewer for D965: Add a driver for the TI watchdog.: ARM.
Oct 18 2014, 7:47 AM
rpaulo retitled D965: Add a driver for the TI watchdog. from to Add a driver for the TI watchdog..
Oct 18 2014, 7:46 AM

Oct 16 2014

rpaulo closed D956: Update leiningen to 2.5.0.

Closed by commit rP371024 (authored by @rpaulo).

Oct 16 2014, 10:24 PM
rpaulo retitled D956: Update leiningen to 2.5.0 from to Update leiningen to 2.5.0.
Oct 16 2014, 7:33 PM
rpaulo accepted D943: Rework the Ti GPIO code to allow for the OMAP4 and AM335X attachments to both be present..
Oct 16 2014, 5:33 AM

Oct 14 2014

rpaulo accepted D944: Add a sysctl to allow disabling the monitoring thread..
Oct 14 2014, 5:14 AM

Oct 12 2014

rpaulo accepted D936: Remove SOC_OMAP3, nobody appears to be willing to bring it up to an acceptable level of support.

Some #defines are still unused, but good for now.

Oct 12 2014, 11:43 PM
rpaulo added a comment to D937: Add an AC line monitor so power_profile can work.

What happens if you remove the battery? Shouldn't the thread have some condition variable to let it terminate?

Oct 12 2014, 4:12 PM
rpaulo requested changes to D936: Remove SOC_OMAP3, nobody appears to be willing to bring it up to an acceptable level of support.

There are more references to OMAP3 in other files. For example: ti/omap4/omap4_prcm_clks.c (fix the comments?), ti/ti_cpuid.c (does it even compile now?), ti/ti_mmchs.c, ti/ti_prcm.c, ti/ti_prcm.h, ti/ti_sdhci.c, ti/ti_sdma.c, ti/usb/omap_ehci.c and ti/usb/omap_usb.h.

Oct 12 2014, 4:10 PM

Oct 9 2014

rpaulo accepted D924: Add missing dtrace UDP multicast receive probes.
Oct 9 2014, 2:33 PM

Oct 8 2014

rpaulo accepted D879: A connection in TIME_WAIT state before calling close() did not actually received any RST. Do not set error to ECONNRESET in this case then..

Makes sense to me.

Oct 8 2014, 4:37 PM

Oct 3 2014

rpaulo removed a reviewer for D461: Murmur3 implementation by des@ to replace Jenkins hash: rpaulo.
Oct 3 2014, 6:40 PM
rpaulo added a comment to D872: Implement more aeabi float functions.

I've reviewed this, but I think it needs to be reviewed by someone else more experienced in VFP.

Oct 3 2014, 6:30 PM
rpaulo accepted D891: hook up DTrace's userland CTF support.

This looks great, thanks! Symbol lookup caching has been in my TODO for a while, so I'd be grateful if you could do that :-)

Oct 3 2014, 6:23 PM

Oct 2 2014

rpaulo accepted D880: dtrace(1) handle SIGPIPE, and handle signals when listing probes.
Oct 2 2014, 1:36 AM

Sep 30 2014

rpaulo accepted D876: Remove MK_ARM_EABI.
Sep 30 2014, 2:47 PM

Sep 23 2014

rpaulo added a comment to D805: Fix IP forwarding when the FIB number is changed in a PFIL hook..

Did you generate this patch with arc? There's no context available.

Sep 23 2014, 12:32 AM

Sep 19 2014

rpaulo accepted D506: Merge PLPMTU blackhole detection from xnu..
Sep 19 2014, 6:01 PM

Sep 18 2014

rpaulo accepted D506: Merge PLPMTU blackhole detection from xnu..
Sep 18 2014, 8:17 PM
rpaulo added a comment to D506: Merge PLPMTU blackhole detection from xnu..
In D506#95, @sbruno wrote:
In D506#94, @rpaulo wrote:
In D506#93, @sbruno wrote:
In D506#92, @rpaulo wrote:
In D506#91, @sbruno wrote:

Yep, no argument there. True in both the ipv6 and ipv4 case because of the default values that are being chosen for the tuneables. This will not be the case if the users choose different values based on their networks. So I think the code is still correct.

Then I don't understand the choice of default values if this is a no-op by default. I'm fine with it if you plan to fix it in the future.

I'm trying to think if there's a case where the user enables the blackhole functionality and the value of the blackhole mss would NOT be less than the default mss. I think that this code might be more of a safety check. If the user sets a blackhole value that its way out of bounds in the large direction, this would catch it and set it to the default.

To me, that's how it was supposed to be in the first place. First drop to the blackhole MSS and then drop to the minimum MSS. The blackhole MSS could be 1200.

If I read the original revisions in XNu, there's no way that could have happened as the code clear the PMTU flag on the first pass. It would never fall back down the blackhole detection code path to try and use the minmss value.

Perhaps that's a bug and we should try and take two attempts (set blackhole mss to something not the minimum like 1200) and try to let the code be more robust?

Sep 18 2014, 8:17 PM
rpaulo accepted D795: Add macros to simplify access to the system registers.

I think it's a good cleanup and it's easy to verify that nothing changed.

Sep 18 2014, 7:26 PM
rpaulo added a comment to D506: Merge PLPMTU blackhole detection from xnu..
In D506#93, @sbruno wrote:
In D506#92, @rpaulo wrote:
In D506#91, @sbruno wrote:

Yep, no argument there. True in both the ipv6 and ipv4 case because of the default values that are being chosen for the tuneables. This will not be the case if the users choose different values based on their networks. So I think the code is still correct.

Then I don't understand the choice of default values if this is a no-op by default. I'm fine with it if you plan to fix it in the future.

I'm trying to think if there's a case where the user enables the blackhole functionality and the value of the blackhole mss would NOT be less than the default mss. I think that this code might be more of a safety check. If the user sets a blackhole value that its way out of bounds in the large direction, this would catch it and set it to the default.

Sep 18 2014, 7:16 PM
rpaulo added a comment to D506: Merge PLPMTU blackhole detection from xnu..
In D506#91, @sbruno wrote:

Yep, no argument there. True in both the ipv6 and ipv4 case because of the default values that are being chosen for the tuneables. This will not be the case if the users choose different values based on their networks. So I think the code is still correct.

Sep 18 2014, 6:48 PM
rpaulo added inline comments to D506: Merge PLPMTU blackhole detection from xnu..
Sep 18 2014, 6:33 PM