Page MenuHomeFreeBSD
Feed Advanced Search

May 22 2017

royger committed rS318631: xen/netfront: don't drop the RX lock in xn_rxeof.
xen/netfront: don't drop the RX lock in xn_rxeof
May 22 2017, 11:34 AM

May 19 2017

royger committed rS318523: xen/netfront: don't drop the ring RX lock with inconsistent ring state.
xen/netfront: don't drop the ring RX lock with inconsistent ring state
May 19 2017, 8:20 AM
royger committed rS318520: xen/blkfront: correctly detach a disk with active users.
xen/blkfront: correctly detach a disk with active users
May 19 2017, 8:11 AM
royger closed D10772: xen/blkfront: correctly detach a disk with active users by committing rS318520: xen/blkfront: correctly detach a disk with active users.
May 19 2017, 8:11 AM
royger added a comment to D10738: bsdinstall: mount is not needed for the ZFS install case.

Thanks for the review, I've fixed the comments and I would like to push this ASAP, since it will allow me to build FreeBSD install images on the Xen CI loop without any external patches. Long term I think it would be better to add an "unmount" argument to zfsboot, but that can be done later.

May 19 2017, 8:06 AM
royger updated the diff for D10738: bsdinstall: mount is not needed for the ZFS install case.

Fix Devin's comments.

May 19 2017, 8:04 AM

May 18 2017

royger added a reviewer for D10738: bsdinstall: mount is not needed for the ZFS install case: tsoome.
May 18 2017, 4:05 PM
royger updated the diff for D10738: bsdinstall: mount is not needed for the ZFS install case.

Use zpool export instead of zfs unmount -a

May 18 2017, 4:04 PM
royger added a comment to D10774: Add a new Xen section to the Virtualization chapter of the handbook.

Thanks you very much! The handbook looks fantastic, only some minor comments.

May 18 2017, 3:28 PM

May 17 2017

royger created D10772: xen/blkfront: correctly detach a disk with active users.
May 17 2017, 2:05 PM

May 16 2017

royger closed D10746: seabios: update to 1.10.2 by committing rP441003: seabios: update to 1.10.2.
May 16 2017, 3:19 PM
royger committed rP441003: seabios: update to 1.10.2.
seabios: update to 1.10.2
May 16 2017, 3:19 PM
royger committed rS318347: MCF r310418: xen: fix IPI setup with EARLY_AP_STARTUP.
MCF r310418: xen: fix IPI setup with EARLY_AP_STARTUP
May 16 2017, 9:39 AM

May 15 2017

royger created D10746: seabios: update to 1.10.2.
May 15 2017, 5:45 PM
royger created D10739: bsdinstall: do not use a dialog in the scripted install error path.
May 15 2017, 1:14 PM
royger created D10738: bsdinstall: mount is not needed for the ZFS install case.
May 15 2017, 1:14 PM
royger created D10737: bsdinstall: fetch the sets in the scripted install.
May 15 2017, 1:13 PM
royger created D10736: bsdinstall: do not use distextract in scripted mode.
May 15 2017, 1:13 PM
royger created D10735: bsdinstall: fix the checksum step to work without a tty for non-interactive.
May 15 2017, 1:13 PM
royger abandoned D10734: bsdinstall: fix the checksum step to work without a tty for non-interactive.
May 15 2017, 1:11 PM
royger created D10734: bsdinstall: fix the checksum step to work without a tty for non-interactive.
May 15 2017, 1:11 PM
royger abandoned D10693: bsdinstall: add the distfetch step to the scripted install.

This is not suitable because distextract requires a TTY in order to run, a new set of patches is coming...

May 15 2017, 1:10 PM

May 12 2017

royger created D10693: bsdinstall: add the distfetch step to the scripted install.
May 12 2017, 9:38 AM

May 11 2017

royger committed rP440618: MFH: r440559.
MFH: r440559
May 11 2017, 8:17 AM

May 10 2017

royger committed rP440559: xen: XSA-{213,214,215}.
xen: XSA-{213,214,215}
May 10 2017, 12:55 PM

May 9 2017

royger committed rS318019: MFC r316754: loader/multiboot: fix multiboot loading.
MFC r316754: loader/multiboot: fix multiboot loading
May 9 2017, 9:53 AM

Apr 26 2017

royger added a comment to D10477: avoid deadlock between suspend and a user space process.

In any case, the patch is incorrect, there's a race. Consider the following scenario:

Apr 26 2017, 8:32 AM

Apr 24 2017

royger added a comment to D10477: avoid deadlock between suspend and a user space process.

I've asked several times before requesting the EN that you test stable/10, stable/11 and HEAD to make sure they where working fine, and I was told that everything was working fine and that all issues where fixed, yet here we are, we requested a set of ENs and it's still not working properly.

Apr 24 2017, 2:28 PM

Apr 13 2017

royger committed rS316754: loader/multiboot: fix multiboot loading.
loader/multiboot: fix multiboot loading
Apr 13 2017, 9:59 AM

Apr 4 2017

royger committed rP437733: MFH: r437732.
MFH: r437732
Apr 4 2017, 1:48 PM
royger committed rP437732: xen: apply XSA-212.
xen: apply XSA-212
Apr 4 2017, 1:33 PM

Mar 31 2017

royger committed rS316330: MFC r315402:.
MFC r315402:
Mar 31 2017, 10:26 AM

Mar 30 2017

royger committed rP437275: MFH: r437205.
MFH: r437205
Mar 30 2017, 8:26 AM

Mar 29 2017

royger committed rS316140: xen/netfront: release resources on removal.
xen/netfront: release resources on removal
Mar 29 2017, 3:36 PM
royger committed rP437205: xen: apply XSA-206.
xen: apply XSA-206
Mar 29 2017, 3:12 PM
royger closed D10163: xen: apply XSA-206 by committing rP437205: xen: apply XSA-206.
Mar 29 2017, 3:12 PM

Mar 28 2017

royger created D10163: xen: apply XSA-206.
Mar 28 2017, 12:53 PM

Mar 21 2017

royger committed rS315676: MFC r314840:.
MFC r314840:
Mar 21 2017, 9:39 AM
royger committed rS315675: MFC r314841:.
MFC r314841:
Mar 21 2017, 9:27 AM
royger added a comment to D9832: dhclient: skip UDP checksum validation if Rx checksum offload is in effect.

The mbuf(9) man page specifically says this:

If a particular network interface just indicates success or failure of TCP or UDP checksum validation without returning the exact value of the checksum to the host CPU, its driver can mark CSUM_DATA_VALID and CSUM_PSEUDO_HDR in csum_flags, and set csum_data to 0xFFFF hexadecimal to indicate a valid checksum. It is a peculiarity of the algorithm used that the Internet checksum calculated over any valid packet will be 0xFFFF as long as the original checksum field is included.

@royger 's proposed patch @ https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180335&action=diff&headers=0#b/sys/dev/xen/netfront/netfront.c_sec1 fixes the Xen netfront driver to conform to this recommendation in the mbuf(9) man page.

However, m->m_pkthdr.csum_data == 0xFFFF only helps udp_input() that I previously cited to "validate" that the received UDP checksum is "correct":

if (uh->uh_sum) {
        u_short uh_sum;
        if ((m->m_pkthdr.csum_flags & CSUM_DATA_VALID) &&
            !cscov_partial) {
                if (m->m_pkthdr.csum_flags & CSUM_PSEUDO_HDR)
                        uh_sum = m->m_pkthdr.csum_data; // this will be 0xffff with the Xen netfront driver change
                        ...
                uh_sum ^= 0xffff;  // This will make uh_sum '0'
        }
        if (uh_sum) { // This will be false as a result of the above, so packet won't be dropped. But the UDP checksum in the packet payload won't have been modified at all
                UDPSTAT_INC(udps_badsum);
                m_freem(m);
                return (IPPROTO_DONE);
        }

So in other words, my proposed patch in this review won't work.

Mar 21 2017, 8:43 AM
royger committed rS315668: MFC r314840:.
MFC r314840:
Mar 21 2017, 8:38 AM
royger committed rS315667: MFC r314841:.
MFC r314841:
Mar 21 2017, 8:36 AM
royger committed rS315666: MFC r314094:.
MFC r314094:
Mar 21 2017, 8:34 AM
royger committed rS315665: MFC r314842:.
MFC r314842:
Mar 21 2017, 8:30 AM
royger committed rP436570: MFH: r436536.
MFH: r436536
Mar 21 2017, 8:24 AM

Mar 20 2017

royger committed rP436536: xen: update to 4.7.2.
xen: update to 4.7.2
Mar 20 2017, 10:42 AM
royger closed D9926: xen: update to 4.7.2 by committing rP436536: xen: update to 4.7.2.
Mar 20 2017, 10:42 AM

Mar 17 2017

royger added a comment to D9832: dhclient: skip UDP checksum validation if Rx checksum offload is in effect.

FWIW, this was fixed not long ago in isc-dhcp with the following commit:

Mar 17 2017, 6:22 PM
royger added a comment to D9832: dhclient: skip UDP checksum validation if Rx checksum offload is in effect.

Can folks please take a quick look at https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180307&action=diff to see if that is a more acceptable patch?

Mar 17 2017, 6:12 PM

Mar 16 2017

royger committed rS315403: MFC r308126:.
MFC r308126:
Mar 16 2017, 9:41 AM
royger committed rS315402: x86/srat: fix parsing of APIC IDs > MAX_APIC_ID.
x86/srat: fix parsing of APIC IDs > MAX_APIC_ID
Mar 16 2017, 9:33 AM

Mar 15 2017

royger changed the repository for D9926: xen: update to 4.7.2 from rS FreeBSD src repository - subversion to rP FreeBSD ports repository.
Mar 15 2017, 10:32 AM
royger updated the diff for D9926: xen: update to 4.7.2.

Add fix for XSA-211

Mar 15 2017, 10:17 AM

Mar 10 2017

royger added a comment to D9832: dhclient: skip UDP checksum validation if Rx checksum offload is in effect.

Ping?

Mar 10 2017, 3:35 AM
royger updated the diff for D9926: xen: update to 4.7.2.

Fix compile issues with clang 4.0. Now both xen-kernel and tools compile with clang 4.0 from HEAD.

Mar 10 2017, 3:18 AM

Mar 9 2017

royger created D9926: xen: update to 4.7.2.
Mar 9 2017, 3:23 AM

Mar 7 2017

royger closed D9831: xen/netfront: fix inbound packet flags for checksum offload by committing rS314842: xen/netfront: fix inbound packet flags for checksum offload.
Mar 7 2017, 9:19 AM
royger committed rS314842: xen/netfront: fix inbound packet flags for checksum offload.
xen/netfront: fix inbound packet flags for checksum offload
Mar 7 2017, 9:19 AM
royger committed rS314841: xenstore: fix suspension when using the xenstore device.
xenstore: fix suspension when using the xenstore device
Mar 7 2017, 9:18 AM
royger committed rS314840: xen: add support for canceled suspend.
xen: add support for canceled suspend
Mar 7 2017, 9:17 AM

Feb 28 2017

royger added a reviewer for D9832: dhclient: skip UDP checksum validation if Rx checksum offload is in effect: glebius.
Feb 28 2017, 8:48 AM
royger updated D9832: dhclient: skip UDP checksum validation if Rx checksum offload is in effect.
Feb 28 2017, 8:46 AM
royger retitled D9832: dhclient: skip UDP checksum validation if Rx checksum offload is in effect from to dhclient: skip UDP checksum validation if Rx checksum offload is in effect.
Feb 28 2017, 8:43 AM
royger retitled D9831: xen/netfront: fix inbound packet flags for checksum offload from to xen/netfront: fix inbound packet flags for checksum offload.
Feb 28 2017, 8:41 AM

Feb 27 2017

royger committed rS314340: xen/gntdev: prevent unsynchronized accesses to the map entry.
xen/gntdev: prevent unsynchronized accesses to the map entry
Feb 27 2017, 3:31 PM

Feb 24 2017

royger committed rS314198: MFC r313871.
MFC r313871
Feb 24 2017, 10:20 AM
royger committed rP434704: MFH: r434661.
MFH: r434661
Feb 24 2017, 10:16 AM

Feb 23 2017

royger accepted D9766: Fix the xnb(4) unit tests.

dev.xnb.0.unit_test_results: 53 Tests Passed

Feb 23 2017, 4:45 PM
royger added a comment to D9234: Misc Coverity fixes in xnb(4).

Oh, right. This is the actual output, looks like 1 test failed:

Feb 23 2017, 3:43 PM
royger accepted D9234: Misc Coverity fixes in xnb(4).

This is the output I get:

Feb 23 2017, 2:53 PM
royger committed rS314138: xen/gndev: use UOFF_TO_IDX instead of OFF_TO_IDX.
xen/gndev: use UOFF_TO_IDX instead of OFF_TO_IDX
Feb 23 2017, 1:14 PM
royger committed rP434661: xen: fix build after XSA-209.
xen: fix build after XSA-209
Feb 23 2017, 9:50 AM

Feb 22 2017

royger added a comment to D9234: Misc Coverity fixes in xnb(4).

Sorry to ask, but how should I test it?

Feb 22 2017, 10:57 AM
royger committed rS314094: xen/timer: mark the Xen PV timer as not safe for suspension.
xen/timer: mark the Xen PV timer as not safe for suspension
Feb 22 2017, 9:22 AM
royger committed rS314093: MFC r313771.
MFC r313771
Feb 22 2017, 8:50 AM
royger committed rP434569: MFH: r434523.
MFH: r434523
Feb 22 2017, 8:43 AM

Feb 21 2017

royger committed rP434523: xen: XSA-209.
xen: XSA-209
Feb 21 2017, 12:25 PM

Feb 17 2017

royger accepted D9648: Merge i386 and amd64 mtrr drivers..

LGTM

Feb 17 2017, 3:41 PM
royger accepted D9648: Merge i386 and amd64 mtrr drivers..

D9630 is now committed, feel free to push this.

Feb 17 2017, 12:49 PM
royger committed rS313871: x86: fix MTRR initialization if EARLY_AP_STARTUP is used.
x86: fix MTRR initialization if EARLY_AP_STARTUP is used
Feb 17 2017, 12:48 PM
royger closed D9630: x86: fix MTRR initialization if EARLY_AP_STARTUP is used by committing rS313871: x86: fix MTRR initialization if EARLY_AP_STARTUP is used.
Feb 17 2017, 12:48 PM
royger accepted D9648: Merge i386 and amd64 mtrr drivers..

Thanks for doing this (I was planning to do it this weekend), LGTM. Just a minor comment regarding a repeated code chunk. In any case feel free to commit with or without that fixed, it's a general improvement after all.

Feb 17 2017, 12:08 PM

Feb 16 2017

royger updated the test plan for D9630: x86: fix MTRR initialization if EARLY_AP_STARTUP is used.
Feb 16 2017, 12:06 PM
royger retitled D9630: x86: fix MTRR initialization if EARLY_AP_STARTUP is used from to x86: fix MTRR initialization if EARLY_AP_STARTUP is used.
Feb 16 2017, 12:06 PM

Feb 15 2017

royger closed D9609: bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip by committing rS313771: bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip.
Feb 15 2017, 2:35 PM
royger committed rS313771: bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip.
bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip
Feb 15 2017, 2:35 PM
royger retitled D9609: bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip from to bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip.
Feb 15 2017, 11:36 AM

Feb 14 2017

royger committed rP434071: MFH: r434070.
MFH: r434070
Feb 14 2017, 10:25 AM
royger committed rP434070: xen: fix build failure after XSA-208.
xen: fix build failure after XSA-208
Feb 14 2017, 10:23 AM

Feb 11 2017

royger committed rP433847: MFH: r433792.
MFH: r433792
Feb 11 2017, 8:44 AM

Feb 10 2017

royger committed rP433792: xen: apply XSA-209.
xen: apply XSA-209
Feb 10 2017, 2:09 PM

Dec 22 2016

royger committed rS310418: xen: fix IPI setup with EARLY_AP_STARTUP.
xen: fix IPI setup with EARLY_AP_STARTUP
Dec 22 2016, 4:10 PM
royger committed rP429150: MFH: r429074.
MFH: r429074
Dec 22 2016, 9:52 AM

Dec 21 2016

royger committed rP429074: xen: apply XSA-202.
xen: apply XSA-202
Dec 21 2016, 12:28 PM

Dec 20 2016

royger committed rP428983: MFH: r428950.
MFH: r428950
Dec 20 2016, 9:42 AM

Dec 19 2016

royger committed rP428950: xen-kernel: add fix for XSA-204.
xen-kernel: add fix for XSA-204
Dec 19 2016, 4:34 PM

Dec 16 2016

royger committed rP428669: MFH: r428628.
MFH: r428628
Dec 16 2016, 10:35 AM

Dec 15 2016

royger committed rP428628: xen-tools: fix path of xenstore device.
xen-tools: fix path of xenstore device
Dec 15 2016, 5:28 PM

Dec 14 2016

royger committed rP428553: -n MFH:.
-n MFH:
Dec 14 2016, 9:55 AM

Dec 13 2016

royger committed rP428496: xen: apply XSA-200.
xen: apply XSA-200
Dec 13 2016, 3:20 PM