[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475

--- Comment #8 from Konstantin Belousov  ---
https://reviews.freebsd.org/D21777

-- 
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 240787] netgraph/ng_bridge: Unlimited limit of links

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240787

Bug ID: 240787
   Summary: netgraph/ng_bridge: Unlimited limit of links
   Product: Base System
   Version: 12.0-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: l...@donnerhacke.de

Created attachment 207757
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207757&action=edit
remove fixed limit for links on netgraph/ng_bridge

The netgraph node ng_bridge has a compile time limit for the number of links,
it can handle.

This patch removes this limit by allocating more links when needed (assuming
sequential assignment).

Please note, that this patch is preliminary. It's only done to allow an
incremental review of the development.

A large number of links require further changes to the code in order to handle
all cases efficient. This includes:
 + replacement of the central "priv->link" table by hook private data
 + replacement of foreach loops by a linked list over looped hooks

In consequence the current requirement to use a compact, sequential assignment
of "link%d" hooks can be replaced by arbitrary naming conventions.

How should I provide the additional patches? A large patch (overwriting the
previous one) or by a series of patches?

-- 
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 240787] netgraph/ng_bridge: Replace NG_BRIDGE_MAX_LINKS with auto-incrementing (Unlimited) links

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240787

Kubilay Kocak  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|n...@freebsd.org
  Flags||mfc-stable11?,
   ||mfc-stable12?
   Keywords||needs-qa
Summary|netgraph/ng_bridge: |netgraph/ng_bridge: Replace
   |Unlimited limit of links|NG_BRIDGE_MAX_LINKS with
   ||auto-incrementing
   ||(Unlimited) links
   Severity|Affects Only Me |Affects Some People
 Status|New |Open
 CC||n...@freebsd.org

--- Comment #1 from Kubilay Kocak  ---
Could this be made into a run-time tunable (sysctl), at least as a
simplification while auto-incrementing design is worked on/reviewed ?

-- 
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 240729] ThinkPad T420s - suspend/resume does not work

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240729

p...@nomadlogic.org changed:

   What|Removed |Added

 CC||p...@nomadlogic.org

--- Comment #5 from p...@nomadlogic.org ---
I can also confirm this is hanging on my kabylake amd64 system.  was working
fine with 12-STABLE before the beta tag was cut, and after upgrading the
12.1-BETA1 suspend/resume no longer works.  Verified it is not due to the
i915kms DRM driver as i have same issue when that kmod is not loaded.  Also,
unable to get any debug info out of system when it hangs as well.

-- 
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 240700] [META] FreeBSD 12.1-RELEASE blockers

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240700

Mark Johnston  changed:

   What|Removed |Added

 Depends on||240729


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240729
[Bug 240729] ThinkPad T420s - suspend/resume does not work
-- 
You are receiving this mail because:
You are on the CC list 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 240729] ThinkPad T420s - suspend/resume does not work

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240729

Mark Johnston  changed:

   What|Removed |Added

 Blocks||240700
 CC||ma...@freebsd.org


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240700
[Bug 240700] [META] FreeBSD 12.1-RELEASE blockers
-- 
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 220507] resizewin(1) doesn't work with vt(4)

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220507

Ed Maste  changed:

   What|Removed |Added

 CC||e...@freebsd.org

--- Comment #4 from Ed Maste  ---
(In reply to Conrad Meyer from comment #3)
vt and sc are used only for the video (e.g., VGA or UEFI framebuffer) console;
serial doesn't use either. teken is the terminal emulator which interprets
escape codes and it already implements the "small subset of responses."

Presumably all that needs to be done to address this PR is to add a vt
tf_respond.

-- 
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 240729] ThinkPad T420s - suspend/resume does not work

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240729

--- Comment #6 from Andriy Gapon  ---
(In reply to pete from comment #5)
Knowing the exact revision of last working 12-STABLE could be of help.

-- 
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 240798] nvmecontrol perftest is broken

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240798

Bug ID: 240798
   Summary: nvmecontrol perftest is broken
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: stefanr...@yahoo.com

Recent changes in perftest.c /sbin/nvmecontrol/perftest.c have broken the tool.
The settings for the test (threads, size) are not set into the ioctl struct and
there is check failure where you always need to add -f something or else it wil
not accept your parameters.

--- /sbin/nvmecontrol/perftest.c
146c146
<   if (opt.flags == NULL || opt.op == NULL)
---
>   if (opt.op == NULL)
148c148
<   if (strcmp(opt.flags, "refthread") == 0)
---
>   if (opt.flags != NULL && strcmp(opt.flags, "refthread") == 0)
165a166,167
> io_test.num_threads = opt.threads;
> 
173a176,181
>   if (opt.size < 0){
>   fprintf(stderr, "Invalid size.\n");
>   arg_help(argc, argv, f);
>   }
> 
>   io_test.size=opt.size;

-- 
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 240757] freebsd-update: Add upgradesready and showconfig commands, new exit codes

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240757

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

Author: grembo
Date: Tue Sep 24 20:49:33 UTC 2019
New revision: 352662
URL: https://svnweb.freebsd.org/changeset/base/352662

Log:
  freebsd-update: Add `updatesready' and `showconfig' commands

  `freebsd-update updatesready' can be used to check if there are any pending
  fetched updates that can be installed.

  `freebsd-update showconfig' writes freebsd-update's configuration to
  stdout.

  This also changes the exit code of `freebsd-update install' to 2 in case
  there are no updates pending to be installed and there wasn't a fetch phase
  in the same invocation. This allows scripts to tell apart these error
  conditions without breaking existing jail managers.

  See freebsd-update(8) for details.

  PR:   240757, 240177, 229346
  Reviewed by:  manpages (bcr), sectam (emaste), yuripv
  Differential Revision:https://reviews.freebsd.org/D21473

Changes:
  head/usr.sbin/freebsd-update/freebsd-update.8
  head/usr.sbin/freebsd-update/freebsd-update.sh

-- 
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 240757] freebsd-update: Add upgradesready and showconfig commands, new exit codes

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240757

Michael Gmelin  changed:

   What|Removed |Added

 Status|New |Closed
   Assignee|b...@freebsd.org|gre...@freebsd.org
 Resolution|--- |FIXED

-- 
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 240798] nvmecontrol perftest is broken

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240798

--- Comment #1 from olev...@olevole.ru ---
This patch should only fix the optional arguments, right?

With/without patch I still get null values for nvme perftest on FreeBSD
current:

% uname -a
FreeBSD test.my.domain 13.0-CURRENT FreeBSD 13.0-CURRENT r351591 GENERIC  amd64

% nvmecontrol perftest -n 12 -o read -s 16384 -t 30 nvme0ns1 -f refthread
Threads:  0 Size:  0  READ Time:  30 IO/s:   0 MB/s:0

% nvmecontrol devlist
 nvme0: SAMSUNG MZPLL3T2HMLS-3
nvme0ns1 (3052360MB)


% nvmecontrol identify nvme0
Controller Capabilities/Features

Vendor ID:   144d
Subsystem Vendor ID: 144d
Serial Number:   S3GYNA0K900015
Model Number:SAMSUNG MZPLL3T2HMLS-3
Firmware Version:GPNA5B3Q
Recommended Arb Burst:   8
IEEE OUI Identifier: 38 25 00
Multi-Path I/O Capabilities: Multiple controllers, Multiple ports
Max Data Transfer Size:  131072 bytes
Controller ID:   0x0021
Version: 1.2.0

Admin Command Set Attributes

Security Send/Receive:   Not Supported
Format NVM:  Supported
Firmware Activate/Download:  Supported
Namespace Managment: Supported
Device Self-test:Not Supported
Directives:  Not Supported
NVMe-MI Send/Receive:Not Supported
Virtualization Management:   Not Supported
Doorbell Buffer Config:  Not Supported
Get LBA Status:  Not Supported
Sanitize:Not Supported
Abort Command Limit: 8
Async Event Request Limit:   16
Number of Firmware Slots:3
Firmware Slot 1 Read-Only:   Yes
Per-Namespace SMART Log: No
Error Log Page Entries:  256
Number of Power States:  1
Total NVM Capacity:  3200631791616 bytes
Unallocated NVM Capacity:0 bytes
Host Buffer Preferred Size:  0 bytes
Host Buffer Minimum Size:0 bytes

NVM Command Set Attributes
==
Submission Queue Entry Size
  Max:   64
  Min:   64
Completion Queue Entry Size
  Max:   16
  Min:   16
Number of Namespaces:32
Compare Command: Not Supported
Write Uncorrectable Command: Supported
Dataset Management Command:  Supported
Write Zeroes Command:Supported
Save Features:   Supported
Reservations:Supported
Timestamp feature:   Not Supported
Verify feature:  Not Supported
Fused Operation Support: Not Supported
Format NVM Attributes:   Crypto Erase, Per-NS Erase, Per-NS Format
Volatile Write Cache:Not Present

-- 
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 240729] ThinkPad T420s - suspend/resume does not work

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240729

--- Comment #7 from p...@nomadlogic.org ---
(In reply to Andriy Gapon from comment #6)
yea that was a big oversight on my end.  I was being silly and didn't create a
new bootenv when installing beta1.  I will rectify this tonight and update the
ticket with hopefully a useful last known working rev.

-- 
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 240798] nvmecontrol perftest is broken

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240798

--- Comment #2 from Stefan Rink  ---
(In reply to olevole from comment #1)
On FreeBSD 12 with the patched nvmecontrol from current I get;

root@SuperBSD:/tmp/sbin # ./nvmecontrol perftest -n 12 -o read -s 16384 -t 30
nvme0ns1
Threads: 12 Size:  16384  READ Time:  30 IO/s:  202591 MB/s: 3165
root@SuperBSD:/tmp/sbin # ./nvmecontrol perftest -n 12 -o read -s 16384 -t 30
nvme0ns1 -f refthread
Threads: 12 Size:  16384  READ Time:  30 IO/s:  202780 MB/s: 3168


Looks like the threads and size is still 0 in your test, did the patch apply
correctly?

-- 
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 240798] nvmecontrol perftest is broken

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240798

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

Author: imp
Date: Wed Sep 25 00:24:57 UTC 2019
New revision: 352665
URL: https://svnweb.freebsd.org/changeset/base/352665

Log:
  After my comnd changes, the number of threads and size weren't set. In
  addition, the flags are optional, but were made to be mandatory. Set
  these things, as well as santiy check the specified size.

  Submitted by: Stefan Rink
  PR: 240798

Changes:
  head/sbin/nvmecontrol/perftest.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 240798] nvmecontrol perftest is broken

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240798

Kubilay Kocak  changed:

   What|Removed |Added

 Status|New |In Progress
   Assignee|b...@freebsd.org|i...@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 237538] [patch] cron: add log suppression and mail suppression for successful runs

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237538

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

Author: kevans
Date: Wed Sep 25 02:37:42 UTC 2019
New revision: 352668
URL: https://svnweb.freebsd.org/changeset/base/352668

Log:
  cron: add log suppression and mail suppression for successful runs

  This commit adds two new extensions to crontab, ported from OpenBSD:
  - -n: suppress mail on succesful run
  - -q: suppress logging of command execution

  The -q option appears decades old, but -n is relatively new. The
  original proposal by Job Snijder can be found here [1], and gives very
  convincing reasons for inclusion in base.

  This patch is a nearly identical port of OpenBSD cron for -q and -n
  features. It is written to follow existing conventions and style of the
  existing codebase.

  Example usage:

  # should only send email, but won't show up in log
  * * * * * -q date

  # should not send email
  * * * * * -n date

  # should not send email or log
  * * * * * -n -q date

  # should send email because of ping failure
  * * * * * -n -q ping -c 1 5.5.5.5

  [1]: https://marc.info/?l=openbsd-tech&m=152874866117948&w=2

  PR:   237538
  Submitted by: Naveen Nathan 
  Reviewed by:  bcr (manpages)
  MFC after:1 week
  Differential Revision:https://reviews.freebsd.org/D20046

Changes:
  head/usr.sbin/cron/cron/cron.h
  head/usr.sbin/cron/cron/do_command.c
  head/usr.sbin/cron/cron/popen.c
  head/usr.sbin/cron/crontab/crontab.5
  head/usr.sbin/cron/lib/entry.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 237538] [patch] cron: add log suppression and mail suppression for successful runs

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237538

Kyle Evans  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|kev...@freebsd.org
 CC||kev...@freebsd.org
  Flags||mfc-stable11?,
   ||mfc-stable12?

--- Comment #8 from Kyle Evans  ---
Committed... apologies for the delay in review. Will MFC to stable/1{1,2}.

-- 
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 240778] lacking support for Lenovo Thinkpad T490

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240778

Kubilay Kocak  changed:

   What|Removed |Added

 Status|New |Open
 Depends on||229120
   See Also||https://bugs.freebsd.org/bu
   ||gzilla/show_bug.cgi?id=2270
   ||44
   Assignee|b...@freebsd.org|go...@freebsd.org

--- Comment #3 from Kubilay Kocak  ---
Pending feedback from reporter


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229120
[Bug 229120] acpi_ibm: Add support for newer Thinkpad models with id LEN0268
-- 
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"