[Bug 272787] Add asmc support for MacBookPro10,1 and MacMini6,2

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272787

--- Comment #1 from James  ---
Used this patch on a mid-2012 MBP Retina running 14-STABLE to adjust the fan
speeds. Quite pleased to find it as the unit runs a bit too warm without the
battery.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 279122] /boot/kernel/kernel: "not stripped"

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279122

Warner Losh  changed:

   What|Removed |Added

 CC||i...@freebsd.org

--- Comment #1 from Warner Losh  ---
It breaks kernel panics: they are useless w/o symbols.
It breaks all the data we harvest from the kernel by reading it directly,
though most of those things are sysctl'd, but some reporting would be affected.
I'm glad it works for you, but I think that it's a really bad idea to do by
default.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 261440] vt newcons breaks suspend/resume for all graphics cards that do not use KMS drivers

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261440

--- Comment #5 from Stefan B.  ---
(In reply to Ed Maste from comment #4)
Not yet, had no time yet, but testing again with 14 and current is on my todo
list, as I have read some reports that suspend/resume now works with Nvidia+vt.
As I would like to drop SC from my scripts to not have to maintain different
handling for two consoles SC (for Nvidia+Matrox) and vt (Intel, AMD).

So I need to also test whether the proposed fix for Matrox (see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270509#c29) works, and
whether it is already committed/incorporated, as Matrox is a very common
onboard graphics chip for Supermicro and other server boards.

I will set up a dedicated test PC for these graphics card tests and report
back.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 233356] vt(4) doesn't support rc.conf parameters saver= or blanktime=

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233356

Ed Maste  changed:

   What|Removed |Added

Summary|12.0-RC1 vt(4) doesn't  |vt(4) doesn't support
   |support rc.conf parameters  |rc.conf parameters saver=
   |saver=  or  blanktime=  |or  blanktime=
Version|12.0-STABLE |CURRENT

--- Comment #3 from Ed Maste  ---
Source code link has gone stale, it is supposed to be a link to the
unimplemented CONS_BLANKTIME:

case CONS_BLANKTIME:
/* XXX */
return (0);

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 261440] vt newcons breaks suspend/resume for all graphics cards that do not use KMS drivers

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261440

--- Comment #4 from Ed Maste  ---
(In reply to Stefan B. from comment #3)
Any update?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 276206] Setting kern.vty="sc" will hang the loader boot process, but vt(4) says we can do that

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276206

Ed Maste  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|ema...@freebsd.org
 Status|New |In Progress

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 276206] Setting kern.vty="sc" will hang the loader boot process, but vt(4) says we can do that

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276206

--- Comment #8 from Ed Maste  ---
https://reviews.freebsd.org/D45357 for a vt(4) man page update to note this

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 276206] Setting kern.vty="sc" will hang the loader boot process, but vt(4) says we can do that

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276206

Ed Maste  changed:

   What|Removed |Added

 CC||ema...@freebsd.org

--- Comment #7 from Ed Maste  ---
Note that this is documented in syscons(4):

 Note that the syscons driver is not compatible with systems booted via
 UEFI(8).  Forcing use of syscons on such systems will result in no usable
 console.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 279270] WITHOUT_UNDEFINED_VERSION fails with WITHOUT_NIS

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279270

Ed Maste  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|ema...@freebsd.org
 Status|New |In Progress

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 279270] WITHOUT_UNDEFINED_VERSION fails with WITHOUT_NIS

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279270

--- Comment #2 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=61639bb3fc5abe0bb7b096e643b51c30703ac432

commit 61639bb3fc5abe0bb7b096e643b51c30703ac432
Author: Ed Maste 
AuthorDate: 2024-05-24 17:27:29 +
Commit: Ed Maste 
CommitDate: 2024-05-24 20:47:37 +

libc: move NIS xdr_* symbols from rpc's to yp's Symbol.map

To fix WITHOUT_NIS build.  Building yp_xdr.c is gated by MK_NIS.

PR: 279270
Reported by:peterj
Reported by:matteo
Reported by:Michael Dexter's Build Option Survey run
Reviewed by:brooks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45347

 lib/libc/rpc/Symbol.map | 31 ---
 lib/libc/yp/Symbol.map  | 32 
 2 files changed, 32 insertions(+), 31 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 279270] WITHOUT_UNDEFINED_VERSION fails with WITHOUT_NIS

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279270

Ed Maste  changed:

   What|Removed |Added

 CC||ema...@freebsd.org

--- Comment #1 from Ed Maste  ---
I had a go at this via these two:
https://reviews.freebsd.org/D45346
https://reviews.freebsd.org/D45345

D45346 may still make sense to support similar cases that may come up in the
future, but for this issue moving them to the existing lib/libc/yp/Symbol.map
sounds like the right thing.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 279225] pfctl(8) displays the name of the anchors incompletely

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279225

Kristof Provost  changed:

   What|Removed |Added

 CC||k...@freebsd.org
   Assignee|b...@freebsd.org|k...@freebsd.org
 Status|New |In Progress

--- Comment #1 from Kristof Provost  ---
I see what's broken here and have a fix pending.

I suspect I need to fix another bug too (basically,
cfa1a13087096fe93d7a2976015ccda243476a64 needs to be done for nat rules too) so
I can write a decent test case, so it may be a few more days.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 279270] WITHOUT_UNDEFINED_VERSION fails with WITHOUT_NIS

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279270

Bug ID: 279270
   Summary: WITHOUT_UNDEFINED_VERSION fails with WITHOUT_NIS
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: pet...@freebsd.org

Commit 4510f2ca9170927309a423274e03f1eb8e27da27 changed the linker default to
fail if undefined symbols are found during shared library creation.  If
WITHOUT_NIS is specified, linking libc.so.7 fails:
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_domainname'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_keydat'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_mapname'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_peername'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_valdat'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypbind_binding' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypbind_resp'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypbind_resptype' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypbind_setdom' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypmap_parms'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypmaplist'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_yppush_status' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_yppushresp_xfr' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypreq_key'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypreq_nokey'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypreq_xfr'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypreqtype'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_yprequest'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresp_all'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypresp_key_val' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypresp_maplist' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol
'xdr_ypresp_master' failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresp_order'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresp_val'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresp_xfr'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresponse'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypresptype'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypstat'
failed: symbol not defined
ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_ypxfrstat'
failed: symbol not defined

These symbols are listed in /usr/src/lib/libc/rpc/Symbol.map but defined in
yp_xdr.c, which is built from /usr/src/include/rpcsvc/yp.x via
/usr/src/lib/libc/yp/Makefile.inc

I believe the fix is to move those symbols into /usr/src/lib/libc/yp/Symbolmap

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 271826] FreeBSD is disastrously slow on a PowerMac G5, freezing at every command

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271826

--- Comment #21 from Denis Ahrens  ---
If anyone can build a kernel without c583b02587 to test I can try that. Since
12.4 has not even working packages anymore I can't do anything.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 279203] killpg(): Forking fast leads to livelock

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279203

Michael Gmelin  changed:

   What|Removed |Added

  Flags|needs_errata?   |needs_errata?(secteam@FreeB
   ||SD.org)
 CC||sect...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 279268] [patch] xdm dies when pressing CTRL-C if pam_xdg.so is used

2024-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279268

Bug ID: 279268
   Summary: [patch] xdm dies when pressing CTRL-C if pam_xdg.so is
used
   Product: Base System
   Version: 14.0-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: m...@fbsd2.e4m.org

Created attachment 250918
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250918=edit
patch

After updating to latest 14.1 BETA xdm crashed when Ctrl-C was pressed on the
logon screen. Running xdm in debug mode showed:

SetPrompt(0, , LOGIN_PROMPT_NOT_SHOWN(0))
SetPrompt(1, , LOGIN_PROMPT_NOT_SHOWN(0))
pam_msg: PAM_PROMPT_ECHO_ON (2): '   Login:'
SetPrompt(0,Login:, LOGIN_PROMPT_ECHO_ON(1))
RedrawFail('Login incorrect or forbidden by policy', 0)
dispatching :0
RedrawFail('Login incorrect or forbidden by policy', 0)

(CTRL-C now)

GreetDone: , (password is 0 long)
REMANAGE_DISPLAY
Done dispatch :0
xdm error (pid 8751): pam_authenticate failure: Conversation failure
Unsecure display :0
Greet connection closed
Manager wait returns pid: 8751 sig 11 core 0 code 0
Display exited with unknown status 2816

I fixed it with the attached patch (not knowing if this is correct :-)).
Apparently pam_get_item() can return NULL in  but pam_xdg.c continues with
it...

-- 
You are receiving this mail because:
You are the assignee for the bug.