should bsdinstall work?

2021-05-04 Thread tech-lists
Hi, I've been trying to set up a boot-from-usb3 raspberry pi 4. I thought i'd be able to do this by booting into latest current snapshot image for arm64 rpi (written to microsd), and then running bsdinstall as root. I can select the auto-zfs option then select the usb3 disk as installation desti

Re: should bsdinstall work?

2021-05-04 Thread tech-lists
Hi, On Tue, May 04, 2021 at 04:35:17PM -0400, Nathan Whitehorn wrote: Where are you trying to install to? Usually the assumption is that the microsd images *are* the installed system rather than a tool you use to install a system. I'm trying to install -current (or stable/13 or releng/13.0) t

Re: should bsdinstall work?

2021-05-04 Thread tech-lists
On Tue, May 04, 2021 at 07:33:40PM -0700, Chris wrote: Doesn't bsdinstall allow choosing different means of fetching the dist files? iirc it gives an ftp list. I tried with ftp.uk and ftp.de.freebsd.org. Last I remember using it, I was able to choose ftp http(s), etc... Making, or using an a

Re: should bsdinstall work?

2021-05-05 Thread tech-lists
On Wed, May 05, 2021 at 04:48:13AM +0100, tech-lists wrote: On Tue, May 04, 2021 at 07:33:40PM -0700, Chris wrote: Doesn't bsdinstall allow choosing different means of fetching the dist files? iirc it gives an ftp list. I tried with ftp.uk and ftp.de.freebsd.org. Last I remember using

Re: should bsdinstall work?

2021-05-05 Thread tech-lists
On Tue, May 04, 2021 at 02:37:30PM -0700, Mark Millard via freebsd-current wrote: As I remember, I had to use bsdinstall's DISTRIBUTIONS environment variable to pick what to download in order to get MANIFEST to download. Otherwise I got just the 2 files (base.txz and kernel.txz) and the complai

Re: should bsdinstall work?

2021-05-05 Thread tech-lists
On Wed, May 05, 2021 at 04:37:12PM +0200, Daniel Dowse wrote: Hello J. you can try to run bsdinstall with script option. Create a file name it e.g rpi.bsdinstall and put export DISTRIBUTIONS="kernel.txz base.txz" export BSDINSTALL_DISTSITE="https://download.freebsd.org/ftp/releases/arm64/13.0-

Re: Building ZFS-based VM images

2021-05-06 Thread tech-lists
On Thu, May 06, 2021 at 09:17:30AM -0600, Alan Somers wrote: It's easy to build a UFS-based VM image just by setting WITH_VMIMAGES in release.conf and running release.sh. But what about ZFS-based images? What's the easiest way to build a ZFS-based VM image, using a pool layout similar to what th

Re: tuning a zfs-mounted /var

2021-05-22 Thread tech-lists
On Sat, May 22, 2021 at 09:13:52PM +0200, Michael Gmelin wrote: Make sure your pool (or at least the /var file system) has compression=lz4 and that atime is off, beyond that I wouldn’t bother to try to optimize manually there, unless you run a database like MySQL in /var/db/…, in which case se

Re: OpenZFS imports, status update

2021-06-08 Thread tech-lists
Hi, On Tue, Jun 08, 2021 at 04:52:43PM -0600, Warner Losh wrote: Top posting... You can do a 'git remote purge freebsd' to reset the branch names, then you'll be able to do a normal pull. This doesn't work for me. I use the anonssh method of updating the tree % git remote -v origin ssh://an

Re: OpenZFS imports, status update

2021-06-08 Thread tech-lists
On Tue, Jun 08, 2021 at 05:02:15PM -0600, Warner Losh wrote: On Tue, Jun 8, 2021 at 4:58 PM Michael Tuexen < michael.tue...@macmic.franken.de> wrote: > On 9. Jun 2021, at 00:52, Warner Losh wrote: > > Top posting... > > You can do a 'git remote purge freebsd' to reset the branch names, then >

Re: OpenZFS imports, status update

2021-06-08 Thread tech-lists
On Wed, Jun 09, 2021 at 03:14:01AM +0200, tue...@freebsd.org wrote: Try: git remote prune freebsd unfortunately that didn't work either. In the end I rm -rf'd src and just cloned the repo again -- J. signature.asc Description: PGP signature

15s wait for prompt for sudo su - on -current

2021-06-13 Thread tech-lists
Hi, context is main-n247177-dab84426a68 # uname -KU 1400018 1400018 # uname -mn rpi4 arm64 disk is usb3-connected spinning rust. OS is on microsd I'm seeing, recently, a roughly 15s wait for the prompt to return after sudo su - sudo is aliased to doas The problem does not happen on stable/13-

Re: 15s wait for prompt for sudo su - on -current

2021-06-13 Thread tech-lists
On Sun, Jun 13, 2021 at 04:35:18PM +0100, Graham Perrin wrote: On 13/06/2021 15:21, tech-lists wrote: Hi, context is main-n247177-dab84426a68 <https://cgit.freebsd.org/src/log/?qt=range&q=dab84426a68&h=main> # uname -KU 1400018 1400018 # uname -mn rpi4 arm64 disk is

Re: 15s wait for prompt for sudo su - on -current

2021-06-13 Thread tech-lists
On Sun, Jun 13, 2021 at 12:48:11PM -0400, Allan Jude wrote: During the 15 seconds of waiting, press control+t a bunch of times, what is the waitchan? % sudo su - load: 0.11 cmd: git 79703 [running] 0.81r 0.67u 0.12s 8% 141608k load: 0.11 cmd: git 79703 [running] 1.42r 1.28u 0.14s 13% 161384k

Re: 15s wait for prompt for sudo su - on -current

2021-06-14 Thread tech-lists
On Sun, Jun 13, 2021 at 09:16:58PM +0200, Michael Gmelin wrote: On 13. Jun 2021, at 20:50, Ronald Klop wrote: What do you have configured as prompt? Or shell startup script? Does it contain a call to git? I agree that this smells like a prompt that calls "git status" or something simila

Re: observations on Ryzen 5xxx (Zen 3) processors

2022-01-04 Thread tech-lists
Hello, On Wed, Dec 22, 2021 at 02:42:48PM +0200, Andriy Gapon wrote: There have been some reports on strange / unexpected things with Ryzen 5xxx processors. I think I have seen 5950X, 5900X and 5800X mentioned, not sure about others. Thanks for this. I'm evaluating a ryzen 5600G. Here's hwin

Re: observations on Ryzen 5xxx (Zen 3) processors

2022-01-04 Thread tech-lists
On Tue, Jan 04, 2022 at 02:06:43PM +, tech-lists wrote: Hello, On Wed, Dec 22, 2021 at 02:42:48PM +0200, Andriy Gapon wrote: There have been some reports on strange / unexpected things with Ryzen 5xxx processors. I think I have seen 5950X, 5900X and 5800X mentioned, not sure about others

Re: observations on Ryzen 5xxx (Zen 3) processors

2022-01-04 Thread tech-lists
On Tue, Jan 04, 2022 at 07:20:08PM -0500, mike tancsa wrote: I would for sure try a clean src.conf first and use that as a baseline.  Also, someome mentioned trying machdep.idle=spin In /boot/loader.conf But removing your src.conf optimizations would be the first place to try Yeah, tried th

Re: observations on Ryzen 5xxx (Zen 3) processors

2022-01-04 Thread tech-lists
Next thing to try is I guess to turn hyperthreading off -- J. signature.asc Description: PGP signature

POLLHUP detected on devd socket

2022-01-22 Thread tech-lists
Hi, context is a usb3-booting rpi4 running main-n252544-7406ec4ea99 I see this in /var/log/daemon.log: Jan 22 13:24:54 redacted zfsd[886]: POLLHUP detected on devd socket. Jan 22 13:24:54 redacted zfsd[886]: Disconnecting from devd. Jan 22 13:24:54 redacted zfsd[886]: ConnectToDevd: Connecting

Re: POLLHUP detected on devd socket

2022-01-23 Thread tech-lists
On Sun, Jan 23, 2022 at 04:10:40PM +1030, Daniel O'Connor wrote: Is it reproducible? ie can you trigger it post boot? It is very strange that devd dying would kill anything else running - I have stopped and started it a lot while testing devd scripts and I haven't seen anything else break.

Re: POLLHUP detected on devd socket

2022-01-27 Thread tech-lists
On Sun, Jan 23, 2022 at 10:38:09PM +0300, Dima Panov wrote: Will try to play with zfsd disabled, as suggested. since reporting the issue and disabling zfsd, the problem has not re-occurred so far at this time (28th Jan) -- J. signature.asc Description: PGP signature

Re: POLLHUP detected on devd socket

2022-01-31 Thread tech-lists
On Fri, Jan 28, 2022 at 02:54:25AM +, tech-lists wrote: On Sun, Jan 23, 2022 at 10:38:09PM +0300, Dima Panov wrote: Will try to play with zfsd disabled, as suggested. since reporting the issue and disabling zfsd, the problem has not re-occurred so far at this time (28th Jan) It&#

Re: Chasing OOM Issues - good sysctl metrics to use?

2022-04-22 Thread tech-lists
Hi, On Thu, Apr 21, 2022 at 07:16:42PM -0700, Pete Wright wrote: hello - on my workstation running CURRENT (amd64/32g of ram) i've been running into a scenario where after 4 or 5 days of daily use I get an OOM event and both chromium and firefox are killed.  then in the next day or so the syste

bsdinstall partition error when installing to nvme

2022-04-22 Thread tech-lists
Hi, Attempting to install from: FreeBSD-14.0-CURRENT-amd64-20220421-b91a48693a5-254961-memstick.img to brand-new hardware, the installer failed at the stage after where one selects partition schema (so, GPT in this case) and UFS filesystem with an error like (sorry to be paraphrasing this from

Re: bsdinstall partition error when installing to nvme

2022-04-22 Thread tech-lists
Hi Glen, On Fri, Apr 22, 2022 at 09:36:45PM +, Glen Barber wrote: This may be related to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263473 Do you think it'd be useful to the ticket if I added my error? My context was a little different (current/14 and bsdinstall) thanks, -- J.

Re: bsdinstall partition error when installing to nvme

2022-04-22 Thread tech-lists
On Fri, Apr 22, 2022 at 10:16:07PM +, Glen Barber wrote: Yes, please do, in case it is indeed related. done! thanks, -- J. signature.asc Description: PGP signature

Re: bsdinstall partition error when installing to nvme

2022-04-23 Thread tech-lists
Hello, On Sat, Apr 23, 2022 at 07:51:10AM +0200, Alfonso S. Siciliano wrote: Thank you for the report, Reading "autopart failed -5", probably you chose "Auto UFS Guided Disk", Yes, this is true, it's what was tried first. I found a problem with Auto Partitioning in CURRENT. This should s

<    1   2