Re: Request for Testing: TCP RACK

2024-03-18 Thread Mike Karels
On 18 Mar 2024, at 7:04, tue...@freebsd.org wrote: >> On 18. Mar 2024, at 12:42, Nuno Teixeira wrote: >> >> Hello all! >> >> It works just fine! >> System performance is OK. >> Using patch on main-n268841-b0aaf8beb126(-dirty). >> >> --- >> net.inet.tcp.functions_available: >> Stack

Re: 'poweroff' seems to (only) halt as of main-n267841-0b3f9e435f2b

2024-01-31 Thread Mike Karels
On 31 Jan 2024, at 7:18, Olivier Cochard-Labbé wrote: > On Tue, Jan 30, 2024 at 3:50 PM David Wolfskill > wrote: > >> The machines where I track head (& stable/14) daily get powered off once >> they have finished their work for the day; this is done via "poweroff". >> >> I noticed (this

Re: noatime on ufs2

2024-01-30 Thread Mike Karels
On 30 Jan 2024, at 15:48, Cy Schubert wrote: > In message om> > , Rick Macklem writes: >> On Tue, Jan 30, 2024 at 10:49=E2=80=AFAM Mike Karels wrot= >> e: >>> >>> On 30 Jan 2024, at 3:00, Olivier Certner wrote: >>> >>>> Hi Warner, &

Re: noatime on ufs2

2024-01-30 Thread Mike Karels
On 30 Jan 2024, at 3:00, Olivier Certner wrote: > Hi Warner, > >> I strongly oppose this notion to control this from loader.conf. Root is >> mounted read-only, so it doesn't matter. That's why I liked Mike's >> suggestion: root isn't special. > > Then in fact there is nothing to oppose. You've

Re: noatime on ufs2

2024-01-29 Thread Mike Karels
Not responding to a specific message, but following up on the thread: I am not sure a sysctl is a good mechanism for setting the mount default, especially if it is to be set via the kernel environment from /boot/loader.conf. That's an obscure place to find file system defaults. It also seems

Re: Removing fdisk and bsdlabel (legacy partition tools)

2024-01-24 Thread Mike Karels
On 24 Jan 2024, at 12:50, Rodney W. Grimes wrote: >> On Wed, Jan 24, 2024 at 8:45?AM Ed Maste wrote: >> >>> MBR (PC BIOS) partition tables were historically maintained with >>> fdisk(8), but gpart(8) has long been the preferred method for working >>> with partition tables of all types. fdisk has

Re: noatime on ufs2

2024-01-11 Thread Mike Karels
On 11 Jan 2024, at 7:30, Miroslav Lachman wrote: > On 11/01/2024 09:54, Tomoaki AOKI wrote: >> On Thu, 11 Jan 2024 08:36:24 +0100 >> Alexander Leidinger wrote: > > [..] > >>> There's one possibility which nobody talked about yet... changing the >>> default to noatime at install time in fstab /

Re: Proposal: Disable compression of newsyslog by default

2023-12-25 Thread Mike Karels
On 25 Dec 2023, at 2:12, Xin Li wrote: > On 2023-12-23 14:17, Mike Karels wrote: >> On 23 Dec 2023, at 15:23, Craig Leres wrote: >> >>> On 12/23/23 06:52, Konstantin Belousov wrote: >>>> This is strange change at best. I have no opinion about the disabling >

Re: Proposal: Disable compression of newsyslog by default

2023-12-23 Thread Mike Karels
On 23 Dec 2023, at 15:23, Craig Leres wrote: > On 12/23/23 06:52, Konstantin Belousov wrote: >> This is strange change at best. I have no opinion about the disabling >> of compression of the rotated logs by default, but we already have knobs >> to do that. Adding a knob that disables (or

Re: NFS exports of ZFS snapshots broken

2023-11-18 Thread Mike Karels
On 18 Nov 2023, at 21:19, Rick Macklem wrote: > On Sat, Nov 18, 2023 at 4:43 PM Mike Karels wrote: >> >> On 18 Nov 2023, at 17:23, Rick Macklem wrote: >> >>> On Sat, Nov 18, 2023 at 2:27 PM Mike Karels wrote: >>>> >>>> On 18 Nov 2023, a

Re: NFS exports of ZFS snapshots broken

2023-11-18 Thread Mike Karels
On 18 Nov 2023, at 17:23, Rick Macklem wrote: > On Sat, Nov 18, 2023 at 2:27 PM Mike Karels wrote: >> >> On 18 Nov 2023, at 15:58, Rick Macklem wrote: >> >>> On Sat, Nov 18, 2023 at 8:09 AM Rick Macklem wrote: >>>> >>>> On Fri, Nov 17, 202

Re: [Intel AlderLake] Read files to FAT32 or UFS partition cause data corrupt due to P-Core-Core

2023-09-18 Thread Mike Karels
On 18 Sep 2023, at 10:38, Michael Butler wrote: > On 8/8/23 13:50, Michael Butler wrote: >> On 8/8/23 10:56, Tomoaki AOKI wrote: >>> On Tue, 8 Aug 2023 17:02:32 +0300 >>> Konstantin Belousov wrote: >> >>  [ .. snip .. ] >> The workaround is switched on automatically, when kernel detects

Re: Looks like the kyua zfs tests likely are not used on aarch64 or other contexts with unsigned char

2023-09-10 Thread Mike Karels
On 10 Sep 2023, at 2:31, Mark Millard wrote: > kyua tests that use the: > > /usr/tests/sys/cddl/zfs/bin/mkfile > > program like so (for example): > > mkfile 500M /testpool.1861/bigfile.0 > > (which should be valid) end up with mkfile > instead reporting: > > Standard error: > Usage: mkfile [-nv]

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mike Karels
On 13 Aug 2023, at 15:19, Juraj Lutter wrote: >> On 13 Aug 2023, at 21:13, Mark Millard wrote: >> >> But the offical CI builds on amd64 do not have the problem. >> >> We still have not found what is different about your context from the >> standard context used for CI builds and snapshot builds,

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mike Karels
On 13 Aug 2023, at 10:00, Juraj Lutter wrote: >> On 13 Aug 2023, at 16:55, Mike Karels wrote: >> >> >> lib32 is not built until stage 4.3.1, after build and cross tools. I tested >> a build just now on amd64 with empty /usr/obj, and it worked (make -j$

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-13 Thread Mike Karels
On 13 Aug 2023, at 9:25, Juraj Lutter wrote: >> On 13 Aug 2023, at 14:42, Juraj Lutter wrote: >> >> Hi, >> >>> On 13 Aug 2023, at 00:17, Mike Karels wrote: >>> >>> On 12 Aug 2023, at 15:32, Juraj Lutter wrote: >>> >>> Did th

Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64

2023-08-12 Thread Mike Karels
On 12 Aug 2023, at 15:32, Juraj Lutter wrote: > Hi, > > recent 14.0-ALPHA1 sources is giving an error: > > Building > /usr/obj/usr/src/arm64.aarch64/obj-lib32/lib/libssp_nonshared/libssp_nonshared.o > Building /usr/obj/usr/src/arm64.aarch64/obj-lib32/lib/libgcc_eh/int_util.o > error: unable to

Re: confusion about root partition causes panic during startup

2023-07-22 Thread Mike Karels
Are you planning to commit the change to mountroot? Mike On 20 Jul 2023, at 21:37, Mike Karels wrote: > Mateusz Guzik wrote: >> On 7/20/23, Mike Karels wrote: >>> I installed an additional NVME drive on a system, and then booted. It >>> turns >&g

Re: confusion about root partition causes panic during startup

2023-07-20 Thread Mike Karels
Mateusz Guzik wrote: > On 7/20/23, Mike Karels wrote: > > I installed an additional NVME drive on a system, and then booted. It > > turns > > out that the new drive became nda0, renumbering the other drives. The > > loader > > found the correct partition to b

confusion about root partition causes panic during startup

2023-07-20 Thread Mike Karels
I installed an additional NVME drive on a system, and then booted. It turns out that the new drive became nda0, renumbering the other drives. The loader found the correct partition to boot (the only choice), and loaded the kernel correctly. However, /etc/fstab still had the old name (nvd1p2),

Re: Does kyua based testing need some hazmat/bindings/_openssl.abi3.so related updating?: Undefined symbol "ERR_GET_FUNC"

2023-07-10 Thread Mike Karels
On 10 Jul 2023, at 10:56, Mark Millard wrote: > The subject line's question was prompted by > . . ./hazmat/bindings/_openssl.abi3.so related notices > in a kyua report: > > # kyua report --verbose > --results-file=usr_obj_DESTDIRs_main-CA7-chroot_usr_tests.20230710-064632-752785 > 2>&1 | grep

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 Mike Karels
On 7 Jul 2023, at 11:38, Mark Millard wrote: > On Jul 7, 2023, at 07:36, Mark Millard wrote: > >> On Jul 7, 2023, at 06:50, Mike Karels wrote: >> >>> On 7 Jul 2023, at 6:06, John F Carr wrote: >>> >>>> On Jul 6, 2023, at 20:42, Mike Karel

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 Mike Karels
On 7 Jul 2023, at 6:06, John F Carr wrote: > 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 spac

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 Mike Karels
On 6 Jul 2023, at 18:53, John F Carr wrote: > The hang is caused by the sysctl call in tests/sys/kern/kern_copyin.c. The > function below hangs when called in a 32 bit ARM process running in a chroot > environment on a 64 bit ARM system. I will write up a bug report. > > static int >

Re: Surprise null root password

2023-05-26 Thread Mike Karels
On 26 May 2023, at 21:28, bob prohaska wrote: > It turns out all seven hosts in my cluster report > a null password for root in /usr/src/etc/master.passwd: > root::0:0::0:0:Charlie &:/root:/bin/sh > > Is that intentional? Well, it has been that way in FreeBSD since 1993, and in BSD since 1980

Re: Surprise null root password

2023-05-26 Thread Mike Karels
On 26 May 2023, at 12:35, bob prohaska wrote: > While going through normal security email from a Pi2 > running -current I was disturbed to find: > > Checking for passwordless accounts: > root::0:0::0:0:Charlie &:/root:/bin/sh > > The machine had locked up on a -j4 buildworld since > sending the

Re: ntpd fails on recent -current/arm64

2023-04-23 Thread Mike Karels
On 23 Apr 2023, at 6:47, Peter Jeremy wrote: > Somewhere between c283016-g607bc91d90a3 and c283077-g7f658f99f7ed, > some change in the kernel has made ntpd stop working on my arm64 test > box. (My amd64 test box is a couple of days behind so I'm not sure if > it's arm-specific). > > What I've

Re: Status of Alder and Raptor lake on FreeBSD Current

2023-04-12 Thread Mike Karels
On 12 Apr 2023, at 9:59, Dries Michiels wrote: > Hello current mailing list, > > I was wondering what the status of Alder/Raptor lake support is on FreeBSD? > Does it boot? Integrated graphics are supported from what I recall with the > newest drm drivers. -current and 13.2 boot and run on Alder

Re: Timekeeping problem in /usr/src on new RPI aarch64 snapshot

2023-02-25 Thread Mike Karels
On 25 Feb 2023, at 11:02, bob prohaska wrote: > On Sat, Feb 25, 2023 at 10:33:23AM -0600, Mike Karels wrote: >> On 25 Feb 2023, at 10:16, bob prohaska wrote: >> >>> On Sat, Feb 25, 2023 at 12:21:09AM +0100, Ronald Klop wrote: >>>> >>>> UFS stores t

Re: Timekeeping problem in /usr/src on new RPI aarch64 snapshot

2023-02-25 Thread Mike Karels
On 25 Feb 2023, at 10:16, bob prohaska wrote: > On Sat, Feb 25, 2023 at 12:21:09AM +0100, Ronald Klop wrote: >> >> UFS stores the current timestamp in the superblock of the FS on clean >> shutdown/unmount. On boot it reads the time from the timestamp in the >> superblock of the root FS. Of coarse

Re: An idea for swap partition size vs. swap space size in use handling

2023-01-22 Thread Mike Karels
On 22 Jan 2023, at 2:42, Mark Millard wrote: > On Jan 22, 2023, at 00:21, Mark Millard wrote: > >> On Jan 21, 2023, at 23:17, Poul-Henning Kamp wrote: >> >>> >>> Mark Millard writes: >>> It would be nice if I could have just one swap partition on a given boot media, one that

Re: dmesg content lifetime

2022-11-22 Thread Mike Karels
On 22 Nov 2022, at 9:34, Dan Mack wrote: > It disappears a piece at a time - the oldest entries disappear first. > However, it vanishes even when there are only 2-3 lines in it so I didn't > think capacity was in play as I expected. > > So for example I might see a rate-limit entry from someone

Re: How to disable ACPI? (on FreeBSD14 CURRENT)

2022-11-06 Thread Mike Karels
On 6 Nov 2022, at 16:47, Alexander Motin wrote: > Hi Louis, > > You should not try to disable ACPI these days. It was a recommendation in > some cases probably ~15 years ago, but for many years now modern systems > depend on ACPI for proper operation. I have no idea what causes crash in >

Re: trpt(8) to be decomissioned

2022-11-04 Thread Mike Karels
On 3 Nov 2022, at 22:48, Gleb Smirnoff wrote: > Hi, > > trpt(8) is utility to pull TCP debugging data from the kernel > in 4.2BSD. We still have it in the base, with corresponding > TCPDEBUG option in the kernel and SO_DEBUG socket option. > > At the same time we have much more powerful

Re: Status of Intel Hybrid CPU support (Alder Lake/Raptor Lake) support

2022-10-27 Thread Mike Karels
On 26 Oct 2022, at 22:29, Chen, Alvin W wrote: > Any body know the status to support P Core and E Core? > Now WA is: disable PCID. Disabling vm.pmap.pcid_enabled is the best workaround for now. There has been some progress in investigations in the background, but I don’t think there is a

Re: [Intel AlderLake] Read files to FAT32 or UFS partition cause data corrupt due to P-Core-Core

2022-02-19 Thread Mike Karels
On 18 Feb 2022, at 20:55, Tomoaki AOKI wrote: > Just a thought, but can it be the reason with timing (e.g., rendezvous > within (i)threads, hardware controlls without using hardware timer) > problem? > > On FreeBSD, IIUC, multi processor (multi core) implementation assumes > SMP (differs only

randomdev hangs during initial boot of -current on Raspberry Pi

2022-01-31 Thread Mike Karels
I hadn't updated my Raspberry Pi 4B running -current for a couple of months, so I booted the latest snapshot (Jan 27). It hangs when it does the "growfs" step, expanding the root partition and fs to fill the SD card. When it hangs, it prints this every 10 seconds or so: random:

Re: The future of the roff toolchain

2017-05-21 Thread Mike Karels
On 21 May 2017, at 15:36, Benjamin Kaduk wrote: On Sun, May 21, 2017 at 02:57:33PM +0200, Baptiste Daroussin wrote: What I want to propose now, it to render them as PDF (html?) once and push them somewhere (to be defined) as static document on our documentation website. Please doceng@

Re: default pager (csh)

2015-02-18 Thread Mike Karels
Kim Shrier k...@westryn.net wrote: On Feb 18, 2015, at 4:41 PM, Xin Li delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/18/15 15:18, Davide Italiano wrote: Hi, one of the first things I do when I install FreeBSD is to switch the default PAGER from

Re: simple task to speed up booting

2014-12-14 Thread Mike Karels
On Sun, 2014-12-14 at 10:32 +, Poul-Henning Kamp wrote: The rotating swirlie ('-/|\') in the loader accounts for a surprisingly large part of our boot time on systems with slow-ish serial consoles. I think right now it takes a step for each 512 byte read, reducing that to once