[Bug 209055] make delete-old and WITHOUT_LEGACY_CONSOLE=true doesn't remove superfluous files

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209055

--- Comment #2 from philippe.mich...@sfr.fr ---
It seems it has been fixed at some point. At least, on the 11-STABLE version I
now use, a change similar to the patch I had attached to the PR has been
applied to tools/build/mk/OptionalObsoleteFiles.inc.

That said, I no longer use WITHOUT_LEGACY_CONSOLE since it breaks kernel builds
using the KBDMUX_DFLT_KEYMAP option (see sys/conf/files and the "kbdmuxmap.h
... compile-with kbdcontrol ..." line).

That is, whether you use legacy console or vt, to support other keyboards than
standard qwerty early enough for them to be available in single user mode, you
need kbdcontrol and the latter depends on LEGACY_CONSOLE.

I suppose this last point deserves a separate PR (maybe there is already one)
but when I stumbled on the issue I was just re-enabled the option.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230619] pf: tables use non SMP-friendly counters

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230619

Bug ID: 230619
   Summary: pf: tables use non SMP-friendly counters
   Product: Base System
   Version: 11.2-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: veg...@tuxpowered.net

Created attachment 196197
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196197&action=edit
Use counter(9) in pf tables.

Counters of pf tables are updated out of rule lock. That means state updates
might overwrite eachother. Furthermore there is allocation and freing counters
happening in lockless manner too.

Proposed patch modifies table counters behaviour. counter(9) facility is used
and table element counters are always allocated so that race conditions are
impossible now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230621] rc.subr wrong override for $command

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230621

Bug ID: 230621
   Summary: rc.subr wrong override for $command
   Product: Base System
   Version: 11.1-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: misc
  Assignee: b...@freebsd.org
  Reporter: eu...@freebsd.org
CC: do...@freebsd.org, port...@freebsd.org

/etc/rc.subr has run_rc_command() function used with base system and ports. The
function contains this code:

eval _override_command=\$${name}_program
command=${_override_command:-$command}

This code supposes that ${name} contents must have correct syntax for shell
variable. This is wrong for our Ports Collection having plenty of ports with
dash (-) in the ${name}. For such a port, ${name}_program expands to something
like: part1-part2_program with non-existing (empty) $part1 variable.

So, _override_command ends up with always-non-empty wrong value
"-part2_program". Therefore, the value of ${command} set by port's startup
script is always ignored due to code cited above and replaced with bad
"-part2_program" string that break it all.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230465] ixl: not working in netmap mode

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230465

--- Comment #2 from Charles Goncalves  ---
If I run pkt-gen with rate option then pkt-gen sends packets.

Like this: pkg-gen -f tx -R 15

If I change value greater than 150k i.e: 16 I got same error:

/pkt-gen -i ixl0 -f tx -R 16 
812.653021 main [2593] interface is ixl0
812.653078 main [2727] running on 1 cpus (have 8)
812.653279 extract_ip_range [468] range is 10.0.0.1:1234 to 10.0.0.1:1234
812.653296 extract_ip_range [468] range is 10.1.0.1:1234 to 10.1.0.1:1234
812.826944 main [2822] mapped 294020KB at 0x80160
Sending on netmap:ixl0: 8 queues, 1 threads and 1 cpus.
10.0.0.1 -> 10.1.0.1 (00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff)
812.827043 main [2919] Sending 512 packets every  0.00320 s
812.827085 start_threads [2274] Wait 2 secs for phy reset
814.836422 start_threads [2276] Ready...
814.836644 sender_body [1464] start, fd 3 main_fd 3
815.838007 main_thread [2364] 0.000 pps (0.000 pkts 0.000 bps in 1001364 usec)
0.00 avg_batch 0 min_space
816.134343 sender_body [1538] poll error on 3 ring 0-7
816.886366 main_thread [2364] 1.954 Kpps (2.048 Kpkts 983.040 Kbps in 1048359
usec) 341.33 avg_batch 9 min_space
817.061069 main_thread [2391] ouch, thread 0 exited with error
Sent 2048 packets 122880 bytes 6 events 60 bytes each in -1534269816.00
seconds.
Speed: -0.000 pps Bandwidth: -0.001 bps (raw -0.001 bps). Average batch: 341.33
pkts


And kernel log:
Aug 14 15:03:36 rt1 kernel: 816.016016 [1637] nm_txsync_prologueixl0
TX1: fail 'kring->nr_hwcur >= n || kring->rhead >= n || kring->rtail >= n ||
kring->nr_hwtail >= n' h 275 c 275 t -278400513 rh 274 rc 274 rt -278400513 hc
274 ht -278400513
Aug 14 15:03:36 rt1 kernel: 816.074020 [1758] netmap_ring_reinitcalled
for ixl0 TX1
Aug 14 15:03:36 rt1 kernel: 816.090925 [1783] netmap_ring_reinittotal 1
errors
Aug 14 15:03:36 rt1 kernel: 816.106519 [1787] netmap_ring_reinitixl0
TX1 reinit, cur 275 -> 274 tail -278400513 -> -278400513



These errors seem to be related to synchronization of HEAD/CUR/TAIL in netmap
ring

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230625] [patch] usr.sbin/efibootmgr: Add a possible reason for efi variables being not supported

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230625

Bug ID: 230625
   Summary: [patch] usr.sbin/efibootmgr: Add a possible reason for
efi variables being not supported
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: samy.mahmo...@gmail.com

Created attachment 196201
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196201&action=edit
efibootmgr.c svn diff

Hello,

FreeBSD users who recently upgraded their system and those who frequently
circumvent bsdinstall to automate their FreeBSD installation may still use BIOS
boot. Besides, the EFI loader and the EFI boot manager are new enough to need a
FreeBSD boot partition for an alternate boot method via BIOS.

In such cases and other situations, it is possible for a user to run efibootmgr
while their system has been booted via BIOS.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230625] [patch] usr.sbin/efibootmgr: add a possible reason for efi variables being not supported

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230625

Samy Mahmoudi  changed:

   What|Removed |Added

Summary|[patch] |[patch]
   |usr.sbin/efibootmgr: Add a  |usr.sbin/efibootmgr: add a
   |possible reason for efi |possible reason for efi
   |variables being not |variables being not
   |supported   |supported

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230625] [patch] usr.sbin/efibootmgr: add a possible reason for efi variables not being supported

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230625

Samy Mahmoudi  changed:

   What|Removed |Added

Summary|[patch] |[patch]
   |usr.sbin/efibootmgr: add a  |usr.sbin/efibootmgr: add a
   |possible reason for efi |possible reason for efi
   |variables being not |variables not being
   |supported   |supported

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230576] clean up the bectl(8) man page

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230576

Guangyuan Yang  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|y...@freebsd.org
 CC||y...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230635] [regression] Spam in console after r336593 (NFS mounted)

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230635

Bug ID: 230635
   Summary: [regression] Spam in console after r336593 (NFS
mounted)
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Keywords: regression
  Severity: Affects Only Me
  Priority: ---
 Component: misc
  Assignee: b...@freebsd.org
  Reporter: and...@bsdnir.info
CC: cperc...@freebsd.org, g...@freebsd.org

After https://svnweb.freebsd.org/base?view=revision&revision=336593
any make action starting spam errors (svn not work on NFS mounted
partitions)

svn: E155016: The working copy database at '/usr/src' is corrupt.
svn: E155016: The working copy database at '/usr/src' is corrupt.
make[2]: "/usr/src/release/Makefile.ec2" line 24: warning:
"/usr/local/bin/svn info --show-item last-changed-revision /usr/sr
c/release/.." returned non-zero status
svn: E155016: The working copy database at '/usr/src' is corrupt.
svn: E155016: The working copy database at '/usr/src' is corrupt.
make[2]: "/usr/src/release/Makefile.ec2" line 24: warning:
"/usr/local/bin/svn info --show-item last-changed-revision /usr/sr
c/release/.." returned non-zero status

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 229641] /usr/bin/printf (so also internal printf in sh) ignores width and precision in %b format

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229641

--- Comment #14 from commit-h...@freebsd.org ---
A commit references this bug:

Author: pfg
Date: Tue Aug 14 22:57:29 UTC 2018
New revision: 337823
URL: https://svnweb.freebsd.org/changeset/base/337823

Log:
  MFC r337458, r337618:
  Fix printf(1) ignores width and precision in %b format.

  The precision with the conversion specifier b is specified by POSIX: see
  point 7 in the reference documentation.

  Include fix from jilles@ to avoid breaking the testsuite.

  Reference:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html

  PR:   229641
  Reported by:  Rudolf Cejka
  Submitted by: Garrett D'Amore (illumos)

Changes:
_U  stable/11/
  stable/11/usr.bin/printf/printf.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230625] [patch] usr.sbin/efibootmgr: add a possible reason for efi variables not being supported

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230625

Mark Linimon  changed:

   What|Removed |Added

   Keywords||patch

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 209055] make delete-old and WITHOUT_LEGACY_CONSOLE=true doesn't remove superfluous files

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209055

Mark Linimon  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|lini...@freebsd.org
 Resolution|--- |Overcome By Events
 Status|New |Closed

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230621] rc.subr wrong override for $command

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230621

Mark Linimon  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|r...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230619] pf: tables use non SMP-friendly counters

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230619

Mark Linimon  changed:

   What|Removed |Added

   Keywords||patch
   Assignee|b...@freebsd.org|p...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 223392] [patch] Correct blist_free() comment

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223392

o...@j.email.ne.jp changed:

   What|Removed |Added

 Resolution|--- |Not A Bug
 Status|New |Closed

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 230635] [regression] Spam in console after r336593 (NFS mounted)

2018-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230635

--- Comment #1 from Colin Percival  ---
Do you have the later commits which check if /usr/src/.svn exists before
running svn?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"