Re: Files not deleted via update procedure: rescue/gbde usr/include/machine/fiq.h usr/lib/include/machine/fiq.h usr/share/man/man4/CAM.4.gz

2024-07-31 Thread John Baldwin
r you but isn't installed anymore. -- John Baldwin

Re: aesni_load present in /boot/loader.conf on arm64

2024-07-31 Thread John Baldwin
ally ossl should replace aesni and armv8crypto IMO). Side topic: the ossl(4) manpage in main is stale and needs to be updated to reflect armv7 and powerpc64 support. I'm not sure yet if it supports AES-GCM for armv8 as well. -- John Baldwin

Re: armv7-on-aarch64 stuck at urdlck

2024-07-24 Thread John F Carr
> On Jul 24, 2024, at 06:50, Konstantin Belousov wrote: > > On Wed, Jul 24, 2024 at 12:34:57PM +0200, m...@freebsd.org wrote: >> >> >> On 24.07.2024 12:24, Konstantin Belousov wrote: >>> On Tue, Jul 23, 2024 at 08:11:13PM +, John F Carr wrote: &g

Re: armv7-on-aarch64 stuck at urdlck

2024-07-23 Thread John F Carr
2. The function is static inline size_t round_up(size_t size) { if (size % _thr_page_size != 0) size = ((size / _thr_page_size) + 1) * _thr_page_size; return size; } The body can be condensed to return (size + _thr_page_size - 1) & ~(_thr_page_size - 1); This is shorter in both lines of code and instruction bytes. John Carr

Re: armv7-on-aarch64 stuck at urdlck: I got a replication of the "ampere2" bulk build hangup problem on a Windows DevKit 2023

2024-07-22 Thread John F Carr
hat > such matters here. > > But Michal Meloun's report indicated not using builds > done on amd64 as well. ("Tegra" models and examples of > ARMv7-A and of ARMv8-A.) > > For John Carr, I do not know if amd64 based builds of > the world were system

Re: 41dfea24eec panics during ata attach on ESXi VM

2024-06-05 Thread John Baldwin
nd `devctl enable ata0` reproduced the issue: ata0: at channel 0 on atapci0 This should be fixed now by commit 56b822a17cde5940909633c50623d463191a7852. Sorry for the breakage. -- John Baldwin

Re: Deprecating smbfs(5) and removing it before FreeBSD 14

2024-06-04 Thread John Hixson
oving it into kernel space. - John signature.asc Description: PGP signature

Re: Deprecating smbfs(5) and removing it before FreeBSD 14

2024-06-04 Thread John Hixson
ting SMBv2/3. > Unfortunately I don't know anybody else trying to do this tremendous work. > I am working on a from scratch implementation of smbfs. I do not have any kind of time estimate since it is in my spare time. I chose this route after spending considerable time looking at Apple and Solaris implementations and wanting something without all of the legacy 1.0 crap. I do have a very minimal working FUSE version at this point, but there is much to do, and even more to abide by the various specifications. I just thought I'd share in case anyone is interested. - John signature.asc Description: PGP signature

Re: gcc behavior of init priority of .ctors and .dtors section

2024-06-04 Thread John Baldwin
e beginning. If this is indeed the issue, switching to a -devel GCC port should fix it. FWIW, the devel/freebsd-gcc* ports have passed this flag to GCC's configure for a long time (since we made the switch in clang). -- John Baldwin

Kernel build broken without "options KTRACE"

2024-03-06 Thread John Nielsen
Getting a set but not used warning for “td” in sys/kern/kern_condvar.c when doing a buildkernel for a config file without “options KTRACE”. I failed to copy the full error message/line numbers but I will reproduce this evening if needed. JN

Re: Recent commits reject RPi4B booting: pcib0 vs. pcib1 "rman_manage_region: request" leads to panic [now fixed]

2024-02-15 Thread John Kennedy
On Wed, Feb 14, 2024 at 06:19:04PM -0800, Mark Millard wrote: > Your changes have the RPi4B that previously got the > panic to boot all the way instead. Details: > > I have updated my pkg base environment to have the > downloaded kernels (and kernel source) with your > changes and have booted with

Re: Recent commits reject RPi4B booting: pcib0 vs. pcib1 "rman_manage_region: request" leads to panic [now fixed]

2024-02-15 Thread John Baldwin
st of pkg base materials. Question: Are any of the changes to be MFC'd at some point? If I do I will merge a large batch at once, and probably adjust the order. For example, I'll merge the pci_host_generic changes before pci_pci changes so that stable branches will be bisectable. -- John Baldwin

Re: Recent commits reject RPi4B booting: pcib0 vs. pcib1 "rman_manage_region: request" leads to panic

2024-02-14 Thread John Baldwin
y be 64-bit. BAR == a range of memory or I/O port addresses decoded by a device, usually mapped to a register bank, but sometimes mapped to internal memory (e.g. a framebuffer) Window == a range of memory or I/O port addresses decoded by a bridge for which transactions are passed across the bridge to be handled by a child device. -- John Baldwin

Re: Recent commits reject RPi4B booting: pcib0 vs. pcib1 "rman_manage_region: request" leads to panic

2024-02-14 Thread John Baldwin
On 2/14/24 9:57 AM, Mark Millard wrote: On Feb 14, 2024, at 08:08, John Baldwin wrote: On 2/12/24 5:57 PM, Mark Millard wrote: On Feb 12, 2024, at 16:36, Mark Millard wrote: On Feb 12, 2024, at 16:10, Mark Millard wrote: On Feb 12, 2024, at 12:00, Mark Millard wrote: [Gack: I was

Re: Recent commits reject RPi4B booting: pcib0 vs. pcib1 "rman_manage_region: request" leads to panic

2024-02-14 Thread John Baldwin
On 2/14/24 8:42 AM, Warner Losh wrote: On Wed, Feb 14, 2024 at 9:08 AM John Baldwin wrote: On 2/12/24 5:57 PM, Mark Millard wrote: On Feb 12, 2024, at 16:36, Mark Millard wrote: On Feb 12, 2024, at 16:10, Mark Millard wrote: On Feb 12, 2024, at 12:00, Mark Millard wrote: [Gack: I

Re: Recent commits reject RPi4B booting: pcib0 vs. pcib1 "rman_manage_region: request" leads to panic

2024-02-14 Thread John Baldwin
Feb 12, 2024, at 10:41, Mark Millard wrote: On Feb 12, 2024, at 09:32, John Baldwin wrote: On 2/9/24 8:13 PM, Mark Millard wrote: Summary: pcib0: mem 0x7d50-0x7d50930f irq 80,81 on simplebus2 pcib0: parsing FDT for ECAM0: pcib0: PCI addr: 0xc000, CPU addr: 0x6, Size

Re: Recent commits reject RPi4B booting: pcib0 vs. pcib1 "rman_manage_region: request" leads to panic

2024-02-12 Thread John Baldwin
iated with the faulting instruction pointer (as long as it isn't in a kernel module), e.g. for gdb you would use 'gdb /boot/kernel/kernel' and then 'l *', e.g. from above: 'l *0x80acb962' -- John Baldwin

Re: Recent commits reject RPi4B booting: pcib0 vs. pcib1 "rman_manage_region: request" leads to panic

2024-02-12 Thread John Baldwin
for a child BAR, but I wouldn't expect rman_manage_region to fail. Logging the return value from rman_manage_region would be the first step I think to see which error value it is returning. Probably I should fix pci_host_generic.c to handle translation properly however. I can work on a patch for that. -- John Baldwin

Re: Alder lake supported? (graphics)

2024-01-16 Thread John D Groenveld
In message , Chris writes: >I upgraded to an alder lake based machine and installed 14. >But I can't seem to get the intel graphics loaded (drm-515-kmod). >It simply freezes at load. Shot in the dark: # pkg delete drm-515-kmod && pkg install drm-510-kmod && kldload i915kms John groenv...@acm.org

Re: How to upgrade an EOL FreeBSD release or how to make it working again

2024-01-15 Thread John F Carr
t least a little value in getting it to work because the armv6 code is bit rotting and will go away entirely unless people use it. John Carr > On Jan 15, 2024, at 10:59, Mario Marietto wrote: > > Hello to everyone. > > I'm trying to install FreeBSD 14 natively on my ARM

Re: ZFS problems since recently ?

2024-01-10 Thread John Kennedy
On Tue, Jan 02, 2024 at 05:51:32PM -0500, Alexander Motin wrote: > Please see/test: https://github.com/openzfs/zfs/pull/15732 . Looks like that has landed in current: commit f552d7adebb13e24f65276a6c4822bffeeac3993 Merge: 13720136fbf a382e21194c Author: Martin Matuska

Re: ZFS problems since recently ?

2024-01-04 Thread John Kennedy
On Tue, Jan 02, 2024 at 08:02:04PM -0800, John Kennedy wrote: > On Tue, Jan 02, 2024 at 05:51:32PM -0500, Alexander Motin wrote: > > On 01.01.2024 08:59, John Kennedy wrote: > > > ... > > >My poudriere build did eventually fail as well: > > > ... > &g

Re: ZFS problems since recently ?

2024-01-02 Thread John Kennedy
On Tue, Jan 02, 2024 at 05:51:32PM -0500, Alexander Motin wrote: > On 01.01.2024 08:59, John Kennedy wrote: > > ... > >My poudriere build did eventually fail as well: > > ... > > [05:40:24] [01] [00:17:20] Finished devel/gdb@py39 | gdb-13.2_1: Success &g

Re: ZFS problems since recently ?

2024-01-01 Thread John Kennedy
On Mon, Jan 01, 2024 at 02:27:17PM +0100, Kurt Jaeger wrote: > > On Mon, Jan 01, 2024 at 06:43:58AM +0100, Kurt Jaeger wrote: > > > markj@ pointed me in > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276039 > > > to > > > https://github.com/openzfs/zfs/pull/15719 > > > > > > So it will p

Re: ZFS problems since recently ?

2024-01-01 Thread John Kennedy
On Mon, Jan 01, 2024 at 08:42:26AM -0800, John Kennedy wrote: > Applying the two ZFS kernel patches fixes that issue: commit 09af4bf2c987f6f57804162cef8aeee05575ad1d (zfs: Fix SPA sysctl handlers) landed too. root@bsd15:~ # sysctl -a | grep vfs.zfs.

Re: ZFS problems since recently ?

2024-01-01 Thread John Kennedy
On Mon, Jan 01, 2024 at 06:43:58AM +0100, Kurt Jaeger wrote: > > > I can crash mine with "sysctl -a" as well. > > markj@ pointed me in > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276039 > to > https://github.com/openzfs/zfs/pull/15719 > > So it will probably be fixed sooner or later. >

Re: ZFS problems since recently ?

2024-01-01 Thread John Kennedy
On Mon, Jan 01, 2024 at 02:27:17PM +0100, Kurt Jaeger wrote: > Do you have >vfs.zfs.dmu_offset_next_sync=0 I didn't initially, I do now. Like I said, I haven't been following that one 100%. I know it isn't block-clone per say, so much as some underlying problem it pokes with a pointy s

Re: ZFS problems since recently ?

2024-01-01 Thread John Kennedy
On Mon, Jan 01, 2024 at 06:43:58AM +0100, Kurt Jaeger wrote: > markj@ pointed me in > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276039 > to > https://github.com/openzfs/zfs/pull/15719 > > So it will probably be fixed sooner or later. > > The other ZFS crashes I've seen are still an issue

Re: ZFS problems since recently ?

2023-12-31 Thread John Kennedy
> I can crash mine with "sysctl -a" as well. Smaller test, this is sufficient to crash things: root@bsd15:~ # sysctl vfs.zfs.zio vfs.zfs.zio.deadman_log_all: 0 vfs.zfs.zio.dva_throttle_enabled: 1 vfs.zfs.ziopanic: sbuf_clear makes no sense on sbuf 0xf8002c8

Re: ZFS problems since recently ?

2023-12-31 Thread John Kennedy
On Sun, Dec 31, 2023 at 07:34:45PM +0100, Kurt Jaeger wrote: > Hi! > > Short overview: > - Had CURRENT system from around September > - Upgrade on the 23th of December > - crashes in ZFS, see > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261538 > for details > - Reinstalled from scratch

Re: make installworld fails because /usr/include/c++/v1/__tuple is a file

2023-12-13 Thread John Baldwin
On 12/10/23 8:43 AM, Dimitry Andric wrote: On 10 Dec 2023, at 15:11, Herbert J. Skuhra wrote: On Sun, Dec 10, 2023 at 01:22:38PM +, John F Carr wrote: On arm64 running CURRENT from two weeks ago I updated to c711af772782 Bump __FreeBSD_version for llvm 17.0.6 merge and built and

make installworld fails because /usr/include/c++/v1/__tuple is a file

2023-12-10 Thread John F Carr
On arm64 running CURRENT from two weeks ago I updated to c711af772782 Bump __FreeBSD_version for llvm 17.0.6 merge and built and installed from source. make installworld failed: install: target directory `/usr/include/c++/v1/__tuple/' does not exist That pathname is a file: -r--r--r--

Re: How do I update the kernel of FreeBSD-CURRENT

2023-11-29 Thread John Nielsen
On Nov 29, 2023, at 12:21 PM, Manoel Games wrote: > > I am a new FreeBSD user, and I am using FreeBSD-CURRENT. How do I update the > FreeBSD-CURRENT kernel, and is it done through pkg? I installed > FreeBSD-CURRENT without src. As a new user you should probably run a supported release version,

Re: bhyve -G

2023-11-15 Thread John Baldwin
On 11/15/23 3:06 PM, Bakul Shah wrote: On Nov 15, 2023, at 7:57 AM, John Baldwin wrote: On 10/9/23 5:21 PM, Bakul Shah wrote: Any hints on how to use bhyve's -G option to debug a VM kernel? I can connect to it from gdb with "target remote :" & bhyve stops the VM initia

Re: [HEADS-UP] Quick update to 14.0-RELEASE schedule

2023-11-15 Thread John Baldwin
ly published if the CI is green as that would give us greater confidence of "we believe these are good" before they are uploaded for publishing. -- John Baldwin

Re: bsdinstall/scriptedpart could not run ;-(

2023-11-15 Thread John Baldwin
ript as follows, then parttion editor run at terminal. My guess is something to do with commit 23099099196548550461ba427dcf09dcfb01878d, though I don't see how it could work any differently in this case as the only change to part_config there was to return if if geom_gettree fails, and if it fails, provider_for_name would presumably have failed anyway. -- John Baldwin

Re: bhyve -G

2023-11-15 Thread John Baldwin
pping (basically stepping via temporary breakpoints) when debugging the kernel this way. -- John Baldwin

Re: KTLS thread on 14.0-RC3

2023-10-31 Thread John Baldwin
); ``` Seems 14.0 only create one KTLS thread. IIRC 13.2 create one thread per core. That part should not be different. There should always be one thread per core. -- John Baldwin

15/14 upgrades break old sudo, maybe bump PAM's shlib?

2023-09-09 Thread John Baldwin
AM. Note also that if we did this, we would want to do it for 14.0 as 13.x -> 14 upgrades are affected in the same way. -- John Baldwin

Re: user problems when upgrading to v15

2023-09-09 Thread John Baldwin
No, the conflict markers are not placed in the versions in /etc. However, etucpdate does refuse to do a "new" upgrade until you resolve all the conflicts from your previous upgrade to ensure that conflicted upgrades aren't missed. -- John Baldwin

sscanf change prevents build of CURRENT

2023-08-30 Thread John F Carr
I had a problem yesterday and today rebuilding a -CURRENT system from source: --- magic.mgc --- ./mkmagic magic magic, 4979: Warning: Current entry does not yet have a description for adding a MIME type mkmagic: could not find any valid magic files! The cause was an sscanf call unexpecte

Re: shell hung in fork system call

2023-07-10 Thread John F Carr
> On Jul 9, 2023, at 19:59, Konstantin Belousov wrote: > > On Sun, Jul 09, 2023 at 11:36:03PM +0000, John F Carr wrote: >> >> >>> On Jul 9, 2023, at 19:25, Konstantin Belousov wrote: >>> >>> On Sun, Jul 09, 2023 at 10:41:27PM +00

Re: shell hung in fork system call

2023-07-09 Thread John F Carr
> On Jul 9, 2023, at 19:25, Konstantin Belousov wrote: > > On Sun, Jul 09, 2023 at 10:41:27PM +0000, John F Carr wrote: >> Kernel and system at a146207d66f320ed239c1059de9df854b66b55b7 plus some >> irrelevant local changes, four 64 bit ARM processors, make.conf sets &

shell hung in fork system call

2023-07-09 Thread John F Carr
Kernel and system at a146207d66f320ed239c1059de9df854b66b55b7 plus some irrelevant local changes, four 64 bit ARM processors, make.conf sets CPUTYPE?=cortex-a57. I typed ^C while /bin/sh was starting a pipeline and my shell got hung in the middle of fork(). >From the terminal: # git log --one

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-07 Thread John F Carr
On Jul 6, 2023, at 20:42, Mike Karels wrote: > > > Thanks for isolating this. Let me know when you have the bug number. > I just tested a fix (the compat code drops the reference on the current > address space an extra time, probably freeing it). > > Mike The bug was introduced in January, 20

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-06 Thread John F Carr
> On Jun 25, 2023, at 20:16, Mark Millard wrote: > > Using the likes of: > > FreeBSD-14.0-CURRENT-arm64-aarch64-ROCK64-20230622-b95d2237af40-263748.img > and: > FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20230622-b95d2237af40-263748.img > > I have shown the following behavior after setting up

Re: aarch64 main-n263493-4e8d558c9d1c-dirty (so: 2023-Jun-10) Kyuafile run: "Fatal data abort" crash during vnet_register_sysinit

2023-06-26 Thread John F Carr
> On Jun 26, 2023, at 04:32, Mark Millard wrote: > > On Jun 24, 2023, at 17:25, Mark Millard wrote: > >> On Jun 24, 2023, at 14:26, John F Carr wrote: >> >>> >>>> On Jun 24, 2023, at 13:00, Mark Millard wrote: >>>> >>

Re: twe(4) removed

2023-06-25 Thread John Nielsen
> On Jun 24, 2023, at 4:16 AM, Marcin Cieslak wrote: > > I just noticed that I had to remove "device twe" > from my kernel configuration when rebuilding my -CURRENT today. > > Is there any problem with this driver that makes it difficult > to keep around? > > Believe or not, I still rent a mach

Re: aarch64 main-n263493-4e8d558c9d1c-dirty (so: 2023-Jun-10) Kyuafile run: "Fatal data abort" crash during vnet_register_sysinit

2023-06-24 Thread John F Carr
> On Jun 24, 2023, at 13:00, Mark Millard wrote: > > The running system build is a non-debug build (but > with symbols not stripped). > > The HoneyComb's console log shows: > > . . . > GEOM_STRIPE: Device stripe.IMfBZr destroyed. > GEOM_NOP: Device md0.nop created. > g_vfs_done():md0.nop[READ

Re: Support for more than 256 CPU cores

2023-05-08 Thread John Baldwin
userspace to always use a dynamically sized mask. This could perhaps be done in an API-preserving manner by making cpuset_t an opaque wrapper type in userland and requiring CPU_* to indirect to functions in libc, etc. That's a fair bit more work however. -- John Baldwin

Re: morse(6) sound

2022-10-28 Thread John-Mark Gurney
those to a frequency and necessary delay. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

Re: How to Enable support for IPsec deprecated algorithms: 3DES, MD5-HMAC

2022-10-04 Thread John Baldwin
moved enc_xform_des for example. -- John Baldwin

Re: pkg: Newer FreeBSD version for package... but why?

2022-07-13 Thread John Baldwin
00063 and uname -U also reports 1400063. FWIW, this was a cross-build, maybe that played a role too. If you do a NO_CLEAN=yes build, we don't relink binaries just because crt*.o changed (where the note is stored). -- John Baldwin

Re: BLAKE3 unstability?

2022-07-12 Thread John Baldwin
ug in how it manages saved FPU contexts and reuses a context? If so, I would just suggest that ZFS switch to using FPU_KERN_NOCTX instead which runs all SSE type code in a critical section to disable preemption but avoids having to allocate and manage FPU contexts. -- John Baldwin

Re: Accessibility in the FreeBSD installer and console

2022-07-07 Thread John Kennedy
On Thu, Jul 07, 2022 at 10:11:52PM +0200, Klaus Küchemann wrote: > > Am 07.07.2022 um 19:32 schrieb Hans Petter Selasky : > > The only argument I've heard from some non-sighted friends about not using > > FreeBSD natively is that ooh, MacOSX is so cool. It starts speaking from > > the start if I

Re: Accessibility in the FreeBSD installer and console

2022-07-07 Thread John Kennedy
On Thu, Jul 07, 2022 at 10:11:52PM +0200, Klaus Küchemann wrote: > > Am 07.07.2022 um 19:32 schrieb Hans Petter Selasky : > > The only argument I've heard from some non-sighted friends about not using > > FreeBSD natively is that ooh, MacOSX is so cool. It starts speaking from > > the start if I

Re: Posting Netiquette [ref: Threads "look definitely like" unreadable mess. Handbook project.]

2022-07-01 Thread John-Mark Gurney
n] MUA should tag the post appropriately and each MUA be able to convert as needed between them. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." signature.asc Description: PGP signature

Re: Profiled libraries on freebsd-current

2022-05-04 Thread John Baldwin
On 5/4/22 1:38 PM, Steve Kargl wrote: On Wed, May 04, 2022 at 01:22:57PM -0700, John Baldwin wrote: On 5/4/22 12:53 PM, Steve Kargl wrote: On Wed, May 04, 2022 at 11:12:55AM -0700, John Baldwin wrote: I don't know the entire FreeBSD ecosystem. Do people use FreeBSD on embedded systems

Re: Profiled libraries on freebsd-current

2022-05-04 Thread John Baldwin
On 5/4/22 12:53 PM, Steve Kargl wrote: On Wed, May 04, 2022 at 11:12:55AM -0700, John Baldwin wrote: On 5/2/22 10:37 AM, Steve Kargl wrote: On Mon, May 02, 2022 at 12:32:25PM -0400, Ed Maste wrote: On Sun, 1 May 2022 at 11:54, Steve Kargl wrote: diff --git a/gcc/config/freebsd-spec.h b/gcc

Re: Profiled libraries on freebsd-current

2022-05-04 Thread John Baldwin
sume libthr style threads, and I think GCC can safely do the same. -- John Baldwin

Re: 'set but unused' breaks drm-*-kmod

2022-04-27 Thread John Baldwin
x27;t exists in 13.0 so I couldn't apply those in every branch. I build this directly on -current. I'm guessing that these are what triggered this behaviour: commit 8b83d7e0ee54416b0ee58bd85f9c0ae7fb3357a1 Author: John Baldwin Date: Mon Apr 18 16:06:27 2022 -0700 Make -Wunused

Can't build with INVARIANTS but not WITNESS

2022-04-27 Thread John F Carr
My -CURRENT kernel has INVARIANTS (inherited from GENERIC) but not WITNESS: include GENERIC ident STRIATUS nooptions WITNESS nooptions WITNESS_SKIPSPIN My kernel build fails: /usr/home/jfc/freebsd/src/sys/kern/vfs_lookup.c:102:13: error: variable 'line' set but not used [-Werror,-

Re: ktrace on NFSroot failing?

2022-03-25 Thread John Baldwin
byte foo.core instead of a valid core dump. -- John Baldwin

Re: Buildworld fails with external GCC toolchain

2022-02-14 Thread John Baldwin
view not merged yet is https://reviews.freebsd.org/D34147. It is work to keep it working though and I hadn't worked on it again until recently. -- John Baldwin

Re: Dragonfly Mail Agent (dma) in the base system

2022-01-27 Thread John Baldwin
local mail accounts to forward cron periodic e-mails just fine. It even supports STARTTLS and SMTP AUTH. I haven't tried using it for simple local delivery to /var/mail/root. -- John Baldwin

Re: git: 5e6a2d6eb220 - main - Reapply: move libc++ from /usr/lib to /lib [add /usr/lib/libc++.so.1 -> ../../lib/libc++.so.1 ?]

2022-01-03 Thread John Baldwin
On 1/1/22 9:00 AM, Ed Maste wrote: On Fri, 31 Dec 2021 at 18:04, John Baldwin wrote: However, your point about libcxxrt.so.1 is valid. It needs to also be moved to /lib if libc++.so.1 is moved to /lib. libcxxrt.so.1 has always been in /lib. Oh, I was thrown off by the .so indirection for

Re: git: 5e6a2d6eb220 - main - Reapply: move libc++ from /usr/lib to /lib [add /usr/lib/libc++.so.1 -> ../../lib/libc++.so.1 ?]

2021-12-31 Thread John Baldwin
On 12/31/21 2:59 PM, Mark Millard wrote: On 2021-Dec-31, at 14:28, Mark Millard wrote: On 2021-Dec-30, at 14:04, John Baldwin wrote: On 12/30/21 1:09 PM, Mark Millard wrote: On 2021-Dec-30, at 13:05, Mark Millard wrote: This asks a question in a different direction that my prior reports

Re: git: 5e6a2d6eb220 - main - Reapply: move libc++ from /usr/lib to /lib [add /usr/lib/libc++.so.1 -> ../../lib/libc++.so.1 ?]

2021-12-30 Thread John Baldwin
nk against both of those libraries when -lc++ is encountered. I have finally reproduced Cy's build error locally and am testing my fix. If it works I'll commit it. -- John Baldwin

Re: smr inp breaks some jail use cases and panics with i915kms don't switch to the console anymore

2021-12-14 Thread John Baldwin
On 12/14/21 9:40 AM, Gleb Smirnoff wrote: On Tue, Dec 14, 2021 at 09:28:07AM -0800, John Baldwin wrote: J> > AFAIK, today it will always panic only with WITNESS. Without WITNESS it would J> > pass through mtx_lock as long as the mutex is not locked. J> J> Yes, but the default

Re: smr inp breaks some jail use cases and panics with i915kms don't switch to the console anymore

2021-12-14 Thread John Baldwin
On 12/13/21 12:25 PM, Gleb Smirnoff wrote: On Mon, Dec 13, 2021 at 11:56:35AM -0800, John Baldwin wrote: J> > J> So there are two things here. The root issue is that the devel/apr1 port J> > J> runs a configure test for TCP_NDELAY being inherited by accepted sockets. J>

Re: smr inp breaks some jail use cases and panics with i915kms don't switch to the console anymore

2021-12-14 Thread John Baldwin
my laptop had a rather annoying beep whose volume I couldn't control that I actually prefer to have off normally. On further reflection, the beep I was looking for for bad input may actually be an xscreensaver thing for an invalid character to unlock the screen vs a sysbeep anyway. -- John Baldwin

Re: RFC: What to do about Allocate in the NFS server for FreeBSD13?

2021-12-14 Thread John Baldwin
ormally changes to the VOP/VFS are not MFC'd. However, in this case, it might be ok to do so, since it is unlikely there is an out of source tree file system with a custom VOP_ALLOCATE() method? I do not see much wrong with #2, this is what I would do myself. I also think this is fine. -- John Baldwin

Re: smr inp breaks some jail use cases and panics with i915kms don't switch to the console anymore

2021-12-13 Thread John Baldwin
On 12/13/21 9:35 AM, Gleb Smirnoff wrote: Hi John, On Mon, Dec 13, 2021 at 07:45:07AM -0800, John Baldwin wrote: J> So there are two things here. The root issue is that the devel/apr1 port J> runs a configure test for TCP_NDELAY being inherited by accepted sockets. J> This te

smr inp breaks some jail use cases and panics with i915kms don't switch to the console anymore

2021-12-13 Thread John Baldwin
r it had most recently drawn and the machine looked hung. (The fact that that sysbeep is off so I couldn't tell if typing in commands was doing anything vs emitting errors probably didn't improve trying to diagnose the hang as "sitting in ddb" initially, though I don't know if DDB itself emits a beep for invalid commands, etc.) -- John Baldwin

Re: Make etcupdate bootstrap requirement due to previous mergemaster usage more clear in handbook

2021-12-08 Thread John Baldwin
are used for dry-run and actual run. (Not looked into the code. Just a thought.) So the new changes always build a temporary tree (vs trying to build /var/db/etupdate/current in place). For -n it should be that it just doesn't change /var/db/etcupdate/current at the end, but if it did the move anyway that would explain the bug you are seeing. That does indeed look broken. Please file a PR as a reminder for me to fix it. -- John Baldwin

Re: Make etcupdate bootstrap requirement due to previous mergemaster usage more clear in handbook

2021-12-08 Thread John Baldwin
say "r" with "File still has conflicts, are you sure?", so it will only install a file to /etc with those changes if you have explicitly confirmed you want it. -- John Baldwin

Re: failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-04 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Thu, Dec 02, 2021 at 15:43 -0800: > David Chisnall wrote this message on Thu, Dec 02, 2021 at 10:34 +: > > On 02/12/2021 09:51, Dimitry Andric wrote: > > > Apparently the "block runtime" is supposed to provide the actual objec

Re: failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-02 Thread John-Mark Gurney
link. I can't seem to find any docs on clang about how to properly compile code that uses blocks, so, unless someone points me to docs on how to compile blocks enable programs, I'll just patch libpru to not use blocks since it seems like blocks is well supported. I don't want to f

failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-01 Thread John-Mark Gurney
mand failed with exit code 1 (use -v to see invocation) What is the correct fix? It seems like atexit.c or the linker should be fixed, as pructl doesn't use atexit_b at all. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

Re: amd64 (example) main [so: 14]: delete-old check-old delete-old-libs missing a bunch of files?

2021-12-01 Thread John Baldwin
ESTDIRs/main-amd64-poud/usr/tests/usr.sbin/sa: v2-sparc64-sav.in Only in /usr/obj/DESTDIRs/main-amd64-poud/usr/tests/usr.sbin/sa: v2-sparc64-u.out Only in /usr/obj/DESTDIRs/main-amd64-poud/usr/tests/usr.sbin/sa: v2-sparc64-usr.in I'll commit fixes for some of these. -- John Baldwin

Re: make cleandiry tries to access /lib/geom

2021-11-24 Thread John Baldwin
re/i18n/esdb/ISO-8859 (cleandir) 678 ===> tests/sys/cddl/zfs/tests/cli_root/zfs_clone (cleandir) I think Jess has a possible fix. This is some regression added in the build system several months ago. -- John Baldwin

Re: "Khelp module "ertt" can't unload until its refcount drops from 1 to 0." after "All buffers synced."?

2021-11-22 Thread John Baldwin
e it was already there in February, this is not the case. Will try to reproduce this, but wasn't able up to now. The congestion control changes just probably exacerbated the bug by adding a new reference on this module, just as they exposed the bug with khelp using the wrong SYSINIT subsystem. -- John Baldwin

Re: cross-compiling for i386 on amd64 fails

2021-11-16 Thread John Baldwin
stopped in /usr/src/cddl/lib/libavl My guess is that this was fixed by git: 9e9c651caceb - main - cddl: fix missing ZFS library dependencies -- John Baldwin

Re: Problems with getting a crash dump

2021-11-08 Thread John Kennedy
On Mon, Nov 08, 2021 at 07:08:31PM +, Alexander wrote: > Hello, I am currently using FreeBSD 14.0-CURRENT and I found a bug that > triggers a kernel panic. I wanted to make a kernel crash dump to further > investigate the issue, but after a few tries I still did not manage to do it. > I started

Re: LAN ure interface problem

2021-10-29 Thread John-Mark Gurney
te, even via power_off/power_on commands. Sorry that I don't have a solution for you. The closest that I could suggest is to try to drop the USB id from the ure driver or switch it's mode to try the ucdce driver instead. I've seen that it's been

Re: git: 2f7f8995367b - main - libdialog: Bump shared library version to 10. [ the .so.10 is listed in mk/OptionalObsoleteFiles.inc ?]

2021-10-27 Thread John Baldwin
.so.2 No, these lines are for removing the current versions of the libraries if you do 'make delete-old WITHOUT_DIALOG=yes'. They weren't bumped previously when I bumped them for ncurses (probably my fault). -- John Baldwin

Re: main changed DIALOG_STATE, DIALOG_VARS, and DIALOG_COLORS but /usr/lib/libdialog.so.? naming was not adjusted? (crashes in releng/13 programs on main [so: 14] can result)

2021-10-22 Thread John Baldwin
/include/dialog.h:extern DIALOG_VARS dialog_vars; /usr/include/dialog.h:extern DIALOG_COLORS dlg_color_table[]; Then we need to bump libdialog's so version to 10? (I don't think libdialog has symbol versioning) -- John Baldwin

Re: ELF binary type "0" not known. (while compiling buildworld on risc-v/qemu)

2021-09-27 Thread John Baldwin
177io 0pf+0w I'm curious if this is a know issue either in Qemu or in FreeBSD for risc-v or if I'm doing anything wrong here? It is a known issue with how we brand FreeBSD/riscv binaries. Jess (cc'd) has a WIP review with a possible fix IIRC. -- John Baldwin

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-22 Thread John Baldwin
proposal happen. Again just in case: THIS IS NOT A PROPOSAL TO REMOVE CSH FROM BASE! I think this is fine. I would also be fine with either removing 'toor' from the default password file or just leaving it as-is for POLA. (I would probably prefer removing it outright.) -- John Baldwin

Re: rescue/sh check failed, installation aborted

2021-08-23 Thread John Baldwin
s no 'make buildworld' output in /usr/obj (as if you had run 'make cleanworld' up above where you list 'make clean') -- John Baldwin

Re: etcupdate: Failed to build new tree

2021-07-14 Thread John Baldwin
t; /tmp/etc.diff (etcupdate diff doesn't show any diffs.) Today I've just updated current and etcupdate -p gives: "Failed to build new tree" What might be wrong? You can look in /var/db/etcupdate/log to check for errors. -- John Baldwin

Re: CURRENT: acpi_wakecode.S error: unknown -Werror warning specifier: '-Wno-error-tautological-compare'

2021-06-22 Thread John Baldwin
MPILER=yes' to force your builds to use the clang 11 included in stable/13 instead of the host clang 12. You could also MFC the fixes from head to use -Wno-error= instead of -Wno-error-. -- John Baldwin

Re: etcupdate warning: "No previous tree to compare against, a sane comparison is not possible."

2021-06-22 Thread John Baldwin
to update to stock versions you can use 'etcupdate revert /path/to/file'. Otherwise, you can use the patch generated by 'etcupdate diff' either as a guide to manually update files to remove unwanted differences, or as input to patch -R. -- John Baldwin

Re: drm-kmod kernel crash fatal trap 12

2021-06-15 Thread John Baldwin
On 6/15/21 11:22 AM, Bakul Shah wrote: On Jun 15, 2021, at 9:03 AM, John Baldwin wrote: On 6/10/21 8:13 AM, Bakul Shah wrote: On Jun 10, 2021, at 7:13 AM, Thomas Laus wrote: The drm-kmod module is the latest from the pkg server. It all worked this past Monday after the recent drm-kmod

Re: drm-kmod kernel crash fatal trap 12

2021-06-15 Thread John Baldwin
-kmod /usr/local/sys/modules Now it gets compiled every time you do make buildkernel. If things break you can do a git pull in the drm-kmod dir and rebuild. This is what I do now as well. I think this is probably the sanest approach to use on HEAD at least. -- John Baldwin

Re: Files in /etc containing empty VCSId header

2021-06-08 Thread John Baldwin
On 6/7/21 12:58 PM, Ian Lepore wrote: On Mon, 2021-06-07 at 13:53 -0600, Warner Losh wrote: On Mon, Jun 7, 2021 at 12:26 PM John Baldwin wrote: On 5/20/21 9:37 AM, Michael Gmelin wrote: Hi, After a binary update using freebsd-update, all files in /etc contain "empty" VCS Id he

Re: Files in /etc containing empty VCSId header

2021-06-07 Thread John Baldwin
elieve we might eventually remove them in the future, but doing so right now would introduce a lot of churn and the conversion to git had enough other churn going on. -- John Baldwin

RFT: improvements to if_cdce driver

2021-06-02 Thread John-Mark Gurney
2.5G device. So, other non-RealTek devices would be great to test with. Let me know if you have any issues with the change! Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

Re: tuning a zfs-mounted /var

2021-05-23 Thread John-Mark Gurney
you should just create a new dataset for the database instead of reuse /var's dataset, that way the fixed record size does not cause problems for the rest of /var... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

Re: etcupdate -p: No previous tree to compare against, a sane comparison is not possible. (was: Review D28062 …)

2021-04-26 Thread John Baldwin
On 4/24/21 4:42 AM, Graham Perrin wrote: On 21/04/2021 18:19, John Baldwin wrote: On 4/17/21 12:52 PM, Graham Perrin wrote: 2) <https://reviews.freebsd.org/D28062#change-5KzY5tEtVUor> line 2274 etcupdate -p I get:   > No previous tree to compare against, a sane comparison is not

  1   2   3   4   5   6   7   8   9   10   >