Re: ntpd constraint don't use v6 when v6 is only there after ntpd start-up

2023-11-30 Thread Paul de Weerd
Moerbeek wrote: | On Wed, Nov 29, 2023 at 07:43:57PM +0100, Otto Moerbeek wrote: | | > On Wed, Nov 29, 2023 at 11:57:15AM +0100, Otto Moerbeek wrote: | > | > > On Wed, Nov 29, 2023 at 08:49:55AM +0100, Otto Moerbeek wrote: | > > | > > > On Tue, Nov 28, 2023 at 04:1

ntpd constraint don't use v6 when v6 is only there after ntpd start-up

2023-11-28 Thread Paul de Weerd
Hi all, I have a few APU's I'm using to experiment with some stuff. I found all of them unable to sync with NTP because they don't have IPv4 connectivity to the outside world. Digging a bit deeper, it turns out that v6 is only configured after ntpd is started. This means the constraints cannot

Re: i386 kernels broken on ALIX machines: identifycp_0x75b: rdmsr

2023-08-16 Thread Paul de Weerd
Hi Jonathan, On Wed, Aug 16, 2023 at 04:37:45PM +1000, Jonathan Gray wrote: | I'm not sure when AMD added the MSR. | family 0fh is Athlon 64, which has microcode updates. | | Index: sys/arch/i386/i386/machdep.c | === | RCS file: /cvs

i386 kernels broken on ALIX machines: identifycp_0x75b: rdmsr

2023-08-15 Thread Paul de Weerd
I still have a bunch of old ALIX machines (with ancient AMD Geode CPUs). They have recently been broken, resulting in: Using drive 0, partition 3. Loading.. probing: pc0 com0 com1 pci mem[640K 255M a20=on] disk: hd0+ >> OpenBSD/i386 BOOT 3.65 switching console to com0 >> OpenBSD/i386 BOOT 3.

X crashes during suspend on AMD Ryzen 9 7950X

2023-06-22 Thread Paul de Weerd
Hi all, I'm seeing X crashes during suspend on my machine. Xorg.log.old has: -- [ 897.180] (EE) Fatal server error: [ 897.180] (EE) can't switch keyboard to raw mode. Enable support for it in the kernel or use for example:

Re: acme-client: name resolution error when specifying a port in the api url

2023-06-04 Thread Paul de Weerd
Have you tried redirecting port 443 to port 8443 thru pf? This way, you could even make it only redirect specific clients to 8443, and, in theory, still run a https webserver for other clients. Cheers, Paul 'WEiRD' de Weerd On Sun, Jun 04, 2023 at 05:56:47PM +0200, Ronald Heggenberger wrote: |

Re: Process (pid 1) got signal 31 on PC Engines APU2

2023-06-02 Thread Paul de Weerd
Thanks Claudio, On Fri, Jun 02, 2023 at 07:03:49PM +0200, Claudio Jeker wrote: | The problem here is that this signal is sent before init installed its | signal handlers. So this is ultra early. | Now I think there are two places where this can be triggered: | dev/acpi/acpi.c:prsig

Process (pid 1) got signal 31 on PC Engines APU2

2023-06-02 Thread Paul de Weerd
Hi all, On my APUs I'm seeing "Process (pid 1) got signal 31" just before the init starts /etc/rc. I booted single user and see it there too: > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (425cdd38685451a6.a) swap on sd0b dump on sd0b > Process (pid 1) got signal 31 > E

Re: "No O/S" after installing on old ALIX

2023-05-25 Thread Paul de Weerd
responded on- and off-list for suggestions and experiences! Paul 'WEiRD' de Weerd On Sat, Apr 29, 2023 at 09:42:03PM +0200, Paul de Weerd wrote: | The 4GB CF card in an old ALIX machine failed. I swapped the card | with a new (32GB) one and reinstalled, but now during boot I get:

Can't find image information.

2023-05-18 Thread Paul de Weerd
Hi all, After just upgrading to the latest snapshot (Build date: 1684372926 - Thu May 18 01:22:06 UTC 2023), I got this while trying to go into UKC at boot: >> OpenBSD/amd64 BOOTX64 3.64 boot> boot -c Passphrase: booting sr0a:/bsd: 17192268+4129800+360480+0+1228800 [1334458+128+1317432+1010422]

Re: "No O/S" after installing on old ALIX

2023-05-02 Thread Paul de Weerd
Hi Giovanni, On Tue, May 02, 2023 at 11:18:31AM +0200, giova...@paclan.it wrote: | On 4/29/23 21:42, Paul de Weerd wrote: | > The 4GB CF card in an old ALIX machine failed. I swapped the card | > with a new (32GB) one and reinstalled, but now during boot I get: | > | Afaik old Soe

"No O/S" after installing on old ALIX

2023-04-29 Thread Paul de Weerd
The 4GB CF card in an old ALIX machine failed. I swapped the card with a new (32GB) one and reinstalled, but now during boot I get: --- booting from local storage --- PC Engines ALIX.2 v0.99 640 KB Base Memory 261120 KB Extended Memory 01F0 Master 848A SDCFXS-

Re: lost ugold humidity sensor after upgrade

2023-04-18 Thread Paul de Weerd
On Tue, Apr 18, 2023 at 03:52:02PM +, Miod Vallat wrote: | > After updating my RPi4 to a newer snap, it lost its humidity sensor. | > | > dmesg from before and after the update both detect this: | > | > uhidev1 at uhub1 port 2 configuration 1 interface 1 "RDing TEMPERHUM1V1.2" rev 2.00/0.01

Re: lost ugold humidity sensor after upgrade

2023-04-18 Thread Paul de Weerd
38.69% (RH) (and seeing Raf's e-mail just now, I realize I could've confirmed it on a faster machine...) Cheers, Paul On Tue, Apr 18, 2023 at 09:56:46AM +0200, Paul de Weerd wrote: | After updating my RPi4 to a newer snap, it lost its humidity sensor. | | dmesg from before and after th

lost ugold humidity sensor after upgrade

2023-04-18 Thread Paul de Weerd
After updating my RPi4 to a newer snap, it lost its humidity sensor. dmesg from before and after the update both detect this: uhidev1 at uhub1 port 2 configuration 1 interface 1 "RDing TEMPERHUM1V1.2" rev 2.00/0.01 addr 3 uhidev1: iclass 3/1 ugold0 at uhidev1 ugold0: 2 sensors type si7006 (tempe

Re: audio(4) output doesn't work yet on ASUS ProArt X670E-CREATOR WIFI mainboard (ALC1220 CODEC)

2023-03-21 Thread Paul de Weerd
On Tue, Mar 21, 2023 at 04:58:17PM +0100, Andreas Bartelt wrote: | > | Not sure, but the problem with MSI seems to be more common on | > | laptops. If this is actually the case, this might be related to | > | power-management or alike. | > | > So I have the same motherboard as Andreas and am also

Re: audio(4) output doesn't work yet on ASUS ProArt X670E-CREATOR WIFI mainboard (ALC1220 CODEC)

2023-03-21 Thread Paul de Weerd
On Mon, Mar 06, 2023 at 06:46:51PM +0100, Alexandre Ratchov wrote: | On Mon, Mar 06, 2023 at 06:29:11PM +0100, Andreas Bartelt wrote: | > > : | > > :IIRC MSI was disabled to fix lock ups. Please run with your diff for | > > :few days and pay attention on lock ups that require a reboot of the | > >

Re: stuck after attaching scsibus at softraid0

2023-03-21 Thread Paul de Weerd
On Sun, Mar 19, 2023 at 04:26:28PM +0100, Paul de Weerd wrote: | On Sun, Mar 19, 2023 at 01:23:54PM +0100, Paul de Weerd wrote: | | Hi Jonathan, | <-- SNIP --> | | irq123/ahci100 | | irq145/amdgpu0 26031 | | irq124

Re: stuck after attaching scsibus at softraid0

2023-03-19 Thread Paul de Weerd
On Sun, Mar 19, 2023 at 01:23:54PM +0100, Paul de Weerd wrote: | Hi Jonathan, <-- SNIP --> | irq123/ahci100 | irq145/amdgpu0 26031 | irq124/xhci300 | irq125/xhci400 |

Re: stuck after attaching scsibus at softraid0

2023-03-19 Thread Paul de Weerd
Hi Jonathan, On Sun, Mar 19, 2023 at 03:49:47PM +1000, Jonathan Matthew wrote: | > [weerd@pom] $ time ktrace disklabel sd1 > /dev/null | > 3m00.18s real 0m00.00s user 0m00.20s system | > | > So disk access is SUPER SLOW for some reason. But it does work - the | > disklabel it showed

Re: stuck after attaching scsibus at softraid0

2023-03-15 Thread Paul de Weerd
Hi folks, So, Klemens (kn@) contacted me off-list and helped me make some progress with this issue. Turns out, attaching an sd(4) device to the ahci1 controller, results in this behavior. (note that dmesg also lists an ahci0, but there's only four SATA ports on the motherboard and they all end u

stuck after attaching scsibus at softraid0

2023-03-14 Thread Paul de Weerd
Hi all, I'm stuck trying to install a new system. After attachting a scsibus to softraid0, nothing happens .. the machine just sits there. Inserting a USB device results in the kernel finding and attaching that, but no "root at sd0a" or (for bsd.rd) "root at rd0a". Booting verbosely (setting ver

Re: Caps Lock influences yubikey

2023-02-07 Thread Paul de Weerd
Hi Stuart, On Tue, Feb 07, 2023 at 12:37:32PM +, Stuart Henderson wrote: | On 2023/02/07 12:13, Paul de Weerd wrote: | > Should yubikey really depend on the caps lock state of an (external) | > keyboard? Would it make sense to lower the case of any password | | there's comp

Caps Lock influences yubikey

2023-02-07 Thread Paul de Weerd
On my laptop, i'm using a yubikey to authenticate (by setting ":auth=yubikey,passwd:\" in /etc/login.conf). Works well on console, in xdm and for xlock. However, when my keyboard's Caps Lock is on, yubikey authentication fails and xlock complains 'Caps Lock is on'. Should yubikey really depend o

Re: panic: kernel diagnostic assertion "timo || _kernel_lock_held()" failed

2022-12-06 Thread Paul de Weerd
Hi Vitaliy, Thanks - this fixes the panic for me. Paul On Tue, Dec 06, 2022 at 11:33:06PM +0300, Vitaliy Makkoveev wrote: | On Tue, Dec 06, 2022 at 07:56:13PM +0100, Paul de Weerd wrote: | > I was playing with the USB NIC that's in my (USB-C) monitor. As soon | > as I do traff

panic: kernel diagnostic assertion "timo || _kernel_lock_held()" failed

2022-12-06 Thread Paul de Weerd
I was playing with the USB NIC that's in my (USB-C) monitor. As soon as I do traffic over the interface, I get a kernel panic: panic: kernel diagnostic assertion "timo || _kernel_lock_held()" failed: file "/usr/src/sys/kern/kern_synch.c", line 127 This is the hostname.if(5) file for ure0: ---

Several issues on old Dell Inspiron 2500 laptop

2022-12-05 Thread Paul de Weerd
Hi all, I came across an ancient (~20 years old) Dell Inspiron 2500 laptop in my stash of old hardware. It ran 6.6, but had issues with all forms of networking, so I upgraded by writing a CD (luckily, I found an empty one) with install72.iso from the latest snap. The network issues persists with

Re: kernel protection fault during boot on vmm(4) VM running on AMD EPYC cpu with tsc_identify in trace

2022-11-06 Thread Paul de Weerd
the super quick fix! Paul On Mon, Oct 31, 2022 at 02:15:00PM +0100, Paul de Weerd wrote: | On Mon, Oct 31, 2022 at 07:39:01AM -0500, Scott Cheloha wrote: | | You get a #GP in your VM when trying to rdmsr(MSR_HWCR). My guess is | | we need to expand the MSR read bitmap for SVM. | | | | This patch

Re: kernel protection fault during boot on vmm(4) VM running on AMD EPYC cpu with tsc_identify in trace

2022-10-31 Thread Paul de Weerd
On Mon, Oct 31, 2022 at 07:39:01AM -0500, Scott Cheloha wrote: | You get a #GP in your VM when trying to rdmsr(MSR_HWCR). My guess is | we need to expand the MSR read bitmap for SVM. | | This patch compiles, but I can't test it. Does it fix the panic? To test this patch, I'd have to upgrade the

Re: kernel protection fault during boot on vmm(4) VM running on AMD EPYC cpu with tsc_identify in trace

2022-10-31 Thread Paul de Weerd
) tsc_frequency = tsc_freq_msr(ci); if (tsc_frequency > 0) delay_init(tsc_delay, 5000); Obviously not a fix, but at least a smoking gun. Paul On Mon, Oct 31, 2022 at 12:43:50PM +0100, Paul de Weerd wrote: | Hi folks, | | I just upgraded a VM on my AMD EPYC host.

kernel protection fault during boot on vmm(4) VM running on AMD EPYC cpu with tsc_identify in trace

2022-10-31 Thread Paul de Weerd
Hi folks, I just upgraded a VM on my AMD EPYC host. I get the following protection fault during boot: ddb> bo re rebooting... Using drive 0, partition 3. Loading.. probing: pc0 com0 mem[638K 3838M 256M a20=on] disk: hd0+ >> OpenBSD/amd64 BOOT 3.55 \ com0: 115200 baud switching console to co

Re: high interrupt load from acpi0 on Jasper Lake N5105

2022-10-30 Thread Paul de Weerd
On Fri, Oct 28, 2022 at 01:15:08PM +0200, Sebastian Oswald wrote: | >Glad to hear it worked. | > | >Hypothetically... I were to work on building a sysctl like: | > | >kern.acpi.mask_gpes=0x6f,0x42 | > | >for people to enjoy normal OS operation before they get their | >firmware fixes, would that be

Re: high interrupt load from acpi0 on Jasper Lake N5105

2022-10-18 Thread Paul de Weerd
On Mon, Oct 17, 2022 at 09:52:05PM +0100, Igor Petruk wrote: | It did not quite work in acpi_attach. I assume it is either because later | on all GPEs are enabled and disabled multiple times. | Or maybe because the struct is passed to another thread almost | at the end of acpi_attach. | | When I a

panic during unmount due to "dangling vnode"

2022-08-01 Thread Paul de Weerd
A machine I use for backup purposes panic'd: panic: unmount: dangling vnode Stopped at db_enter+0x10: popq%rbp TIDPIDUID PRFLAGS PFLAGS CPU COMMAND * 91656 7546 0 0x2 01K umount 31094 31563 0 0x14000 0x42000 softclock

ucom(4) stopped working on armv7

2022-05-10 Thread Paul de Weerd
Hi all, I've been using a small CuBox-i armv6 machine to serve as serial console server for my home router for years. It uses a uplcom(4) USB to serial adapter for that connection. I don't use it frequently (the home router has been very stable), but just found out that it stopped working: [we

Re: crash on booting GENERIC.MP since upgrade to Jan 18 snapshot

2022-02-01 Thread Paul de Weerd
On Wed, Feb 02, 2022 at 10:41:06AM +1100, Jonathan Gray wrote: | > does this diff to provide stolen memory data help? | | I have committed this minus the printf change | would still be interested to hear if it helps Just to publicly confirm - this fixes the panics I was seeing on my Dell XPS 13 t

Re: wireguard-related mbuf panic (was: Re: panic: ieee80211_has_seq(wh) assertion failed)

2022-01-19 Thread Paul de Weerd
On Tue, Jan 18, 2022 at 01:51:45PM +0100, Alexander Bluhm wrote: | On Tue, Jan 18, 2022 at 12:59:25PM +0100, Christian Ehrhardt wrote: | > If so, any volunteers to commit this? | | Done. Thanks for fixing this. Just to close the loop on this topic. I've now transferred well over a terabyte wort

Re: wireguard-related mbuf panic (was: Re: panic: ieee80211_has_seq(wh) assertion failed)

2022-01-12 Thread Paul de Weerd
On Wed, Jan 12, 2022 at 10:50:50AM +0100, Christian Ehrhardt wrote: | So here is what happens: | - The iwx(4) (and the iwm(4) driver for that matter) receive multiple | IP packets in an aggregated WLAN packet. All of these packets | live in the same mbuf cluster. | - The iwx(4) driver uses m_co

wireguard-related mbuf panic (was: Re: panic: ieee80211_has_seq(wh) assertion failed)

2022-01-11 Thread Paul de Weerd
at wg_input+0x17a udp_sbappend() at udp_sbappend+0x78 ... Does this mean there's a problem with the call to m_pullup in wg_input (if_wg.c:2031)? Again, many thanks to stsp@ and Christian for their patience, diffs, help and suggestions. Paul On Mon, Jan 10, 2022 at 10:05:14AM +0100, Paul de Weer

Re: panic: ieee80211_has_seq(wh) assertion failed

2022-01-10 Thread Paul de Weerd
up to see if I can find more clues, but if anyone has any suggestions on what to try next, please share! Thanks, Paul On Mon, Nov 08, 2021 at 01:57:53PM +0100, Paul de Weerd wrote: | Hi all, | | After upgrading my laptop to a newer snapshot this weekend, I started | getting panics. I was runni

Re: uvn_flush: obj=0xfffffd838db602e8, offset=0x0. error during pageout.

2021-12-20 Thread Paul de Weerd
On Mon, Dec 20, 2021 at 06:05:51PM +0100, Mark Kettenis wrote: | > So the system didn't crash or panic, but it was spending all its time | > writing output to the console (at 9600 baud...). After a long pause, | > I was able to briefly interact with the system again (move mouse, | > toggle numlock

uvn_flush: obj=0xfffffd838db602e8, offset=0x0. error during pageout.

2021-12-20 Thread Paul de Weerd
While watching a video under firefox, I experienced what appeared to be a halt of the system: the system no longer responded to keyboard/mouse (no keyboard led activity), or to the network. As I have a RPi connected to the serial port, I logged in there to find that it was logging a lot of uvn_flu

Re: SunBlade 100: X segfault with onboard ati rage adapter (machfb)

2021-12-06 Thread Paul de Weerd
Hi Ted, On Mon, Dec 06, 2021 at 01:23:49PM -0700, Ted Bullock wrote: | btw, is there a tool in base that I can use to grab a screenshot of | what X is showing? Try xwd(1). You can view its output with xwud(1), but there are also several tools in ports that allow you to read these dumps, I use gr

Re: httpd(8) crash on amd64 -current

2021-11-11 Thread Paul de Weerd
Hi Claudio, This prevents undeadly.org from crashing when I send it the query I got from Florian. Thanks a lot! Paul On Thu, Nov 11, 2021 at 04:41:21PM +0100, Claudio Jeker wrote: | On Thu, Nov 11, 2021 at 04:29:58PM +0100, Otto Moerbeek wrote: | > On Thu, Nov 11, 2021 at 04:13:37PM +0100, Flor

Re: panic: ieee80211_has_seq(wh) assertion failed

2021-11-08 Thread Paul de Weerd
Hi Stefan, On Mon, Nov 08, 2021 at 02:35:16PM +0100, Stefan Sperling wrote: | Unfortunately, I cannot make any sense of this. | | There were no new changes in iwx(4) since Oct 15. If the Oct 31 snap | was working fine then your problem is not related to driver-side changes. Hmm, I may have gotte

panic: ieee80211_has_seq(wh) assertion failed

2021-11-08 Thread Paul de Weerd
Hi all, After upgrading my laptop to a newer snapshot this weekend, I started getting panics. I was running OpenBSD 7.0-current (GENERIC.MP) #60: Sun Oct 31 13:27:05 MDT 2021 before the upgrade. Hand-typed from a picture I took: panic: kernel diagnostic assertion "ieee80211_has_seq(hw)" failed

Re: raspberry pi 4 model b: xhci0: host system error

2021-11-06 Thread Paul de Weerd
2021/11/05 09:32, Paul de Weerd wrote: | > Linking brcmfmac43455-sdio.raspberrypi,4-model-b.txt (which is what is | > used with u-boot, I believe) to this name in /etc/firmware fixed bwfm0 | > for me (although performance isn't great, but that's also the case | > when usi

Re: raspberry pi 4 model b: xhci0: host system error

2021-11-05 Thread Paul de Weerd
I recently got an RPi4 for a project at home and had the same error. On Tue, Nov 02, 2021 at 02:09:29PM +, Klemens Nanni wrote: | After reading through openbsd-arm after sthen's suggestion I only tried | u-boot.bin from 6.9-release* and that lets 7.0-current xhci(4) attach. | | * U-Boot 2

Re: Dell XPS 13 9305 can't suspend

2021-10-22 Thread Paul de Weerd
On Fri, Oct 22, 2021 at 08:06:50AM -0700, Mike Larkin wrote: | > Apologies for not making that clear initially: suspend fails. The | > machine just continues humming along nicely. Either by closing the | > lid, or running 'zzz' manually. | | "humming along nicely" meaning "nothing happens at all

Re: Dell XPS 13 9305 can't suspend

2021-10-22 Thread Paul de Weerd
Hi Mike, On Fri, Oct 22, 2021 at 08:01:04AM -0700, Mike Larkin wrote: | So, suspend fails, or resume fails? Apologies for not making that clear initially: suspend fails. The machine just continues humming along nicely. Either by closing the lid, or running 'zzz' manually. Cheers, Paul -- >+

Dell XPS 13 9305 can't suspend

2021-10-22 Thread Paul de Weerd
Hi all, My new laptop is a Dell XPS 13 9305. Everything seems to work great, except for suspend (hibernate *does* work): o storage (nvme) o wireless (iwx) o audio (azalia) o camera (uvideo) o trackpad (ims) o cardreader (sdmmc) o X (inteldr

usb regression on armv7 after upgrade to 7.0

2021-09-22 Thread Paul de Weerd
Hi all, While trying to test 7.0 on a bunch of machines, I upgraded my armv7 machine (a CuBox) that I use for console access to my home router. There's a uplcom(4) that stopped working after upgrading to the latest snapshot: cu: open("/dev/cuaU0"): Input/output error After downgrading the kernel

__mp_lock_spin: 0xffffffff822d1120 lock spun out

2021-09-15 Thread Paul de Weerd
Hi all, After some off-list advice from Patrick to enable MP_LOCKDEBUG in order to debug the hangs I reported [1], I did exactly that and was running a self-built kernel for some time. This morning, I wanted to upgrade to the latest snapshot so I also cvs up'd and rebuilt my kernel with MP_LOCKDE

full system hang - no ddb output

2021-09-13 Thread Paul de Weerd
Hi all, I'm experiencing occassional crashes where the system becomes fully unresponsive. Nothing is written to ddb (after a few times, I redirected console output to the serial port and have a machine listening full time), there is no response on the network, not to the keyboard (caps lock etc L

SOLVED (Was: Re: missing NVMe block device)

2021-08-24 Thread Paul de Weerd
On Tue, Aug 24, 2021 at 08:31:09PM +0200, Mark Kettenis wrote: | > | I don't see any trace of it. What server model is this? Is this by | > | any chance a dual socket server with only one socket populated? | > | > Well, it's SuperMicro, so it's all a bit hazy. At any rate, the | > motherboard i

Re: missing NVMe block device

2021-08-24 Thread Paul de Weerd
Hi Mark, On Tue, Aug 24, 2021 at 06:15:50PM +0200, Mark Kettenis wrote: | > Perhaps it's because it lives behind a riser card, on a PCIe to NVMe | > adapter (SuperMicro's AOC-SLG3-2M2) - this because the motherboard | > only takes M.2 SSD's upto 80mm, but the Intel SSD I have is 110mm | > (Intel S

missing NVMe block device

2021-08-24 Thread Paul de Weerd
hi all, I have a new machine where the kernel doesn't detect an NVMe block device. I'm not sure what to look for in dmesg/pcidump, but it seems to not appear at all. The only devices that are 'not configured' don't seem likely candidates: "AMD 17h IOMMU" rev 0x00 at pci0 dev 0 function 2 not co

Re: jot(1) randomness with larger numbers

2021-08-01 Thread Paul de Weerd
This has now been committed, but it got me to wonder - why is there no 64-bit variant of arc4random_uniform(3)? Of course not to solve this one issue, but I've wanted to use the wider version in the past and then resorted to implementing the 64-bit variant in my own program. Below diff (tested on

Re: VM panic'ed in _rb_remove

2021-07-11 Thread Paul de Weerd
ocal VMs). This machine does not have NFS mounts, but is NFS server for the local network (serving the amd64 snap to local machines). Paul On Wed, Jul 07, 2021 at 08:46:18AM +0200, Paul de Weerd wrote: | Hi all, | | This morning I found one of my vmm VMs at the ddb> prompt. Mail, logs |

VM panic'ed in _rb_remove

2021-07-06 Thread Paul de Weerd
Hi all, This morning I found one of my vmm VMs at the ddb> prompt. Mail, logs and the ps output from ddb all suggest this was during the daily(8) run of security(8): i did get the daily mail, but not the one from security (I was expecting one, as the machine was upgraded a few hours earlier). Th

Re: panic: init died (signal 10, exit 0)

2021-07-06 Thread Paul de Weerd
Hi Alexander, Thanks for the reminder. I've tested your patch and it does seem to help: I've not seen the panics at reboot since it's been applied (it does reappear when I forget to install my own kernel after a snapshot upgrade and I boot into the snapshot kernel again). Thanks for working on t

panic: init died (signal 10, exit 0)

2021-06-07 Thread Paul de Weerd
Hi all, I've got a couple of VMs that I update quite frequently. I use a script to automate the update (in place untarring of the various sets) on each VM, and have another script on the host that iterates over the VMs and upgrades each sequentially, orchestrating the process. After the orchestr

Re: vi segfault on set w=0

2021-04-13 Thread Paul de Weerd
Hi Erik, On Mon, Apr 12, 2021 at 07:08:40PM +0300, Erik Ruotsalainen wrote: | Hi all, | | well, here's one obvious fix, at least: Thanks .. your fix prevents the problem and works for me. For some reason it's now harder to reproduce (simply starting vi without arguments and setting w to 0 doesn

Re: Raspberry Pi 3B+ panic on changing video0 permissions for motion

2021-03-08 Thread Paul de Weerd
Can you try a beefier power supply? I've had weird crashes on a RPi3 with a logitech video camera whenever I tried to take pictures (using fswebcam). I replaced the power supply with one that could deliver more Amps, and the crashes were gone. (this is some time ago by now, haven't used that set

Re: sysupgrade after upgrade shuts down VM

2020-09-24 Thread Paul de Weerd
I can confirm what Theo is seeing. On my workstation with a test VM running the latest snapshot I get: Welcome to the OpenBSD/amd64 6.8 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s # reboot syncing disks... done vmmci0: powerdown rebooting... Using drive 0, partition 3.

vi segfault on set w=0

2020-09-21 Thread Paul de Weerd
Hi all, Due to a typo, I got vi to segfault. Where I wanted to type ":set wl=0", I missed the L and went ":set w=0". This resulted in a segfault and a core dump on one machine. gdb on the core helpfully gave me: #0 0x0e9cb1e3a81e in ?? () from /usr/bin/vi #1 0x0e9cb1e3774f in ?? () f

Re: RaspberryPi 3 Stopped at data_abort+0x68:

2020-07-05 Thread Paul de Weerd
Hi Jonathan, On Mon, Jul 06, 2020 at 01:21:19PM +1000, Jonathan Gray wrote: | You likely had the U-Boot boot order changed on your previous sd card. | To change it again break into U-Boot when booting and do: | | Hit any key to stop autoboot: 0 | U-Boot> setenv boot_targets usb0 mmc0 pxe dhcp |

Re: RaspberryPi 3 Stopped at data_abort+0x68:

2020-07-05 Thread Paul de Weerd
Hi Mark, On Sat, Jul 04, 2020 at 05:39:26PM +0200, Mark Kettenis wrote: | > Is there something else I should have or do? | | Yes. You need to actually install the firmware onto the uSD card or | USB device that your Pi boots from. At this point there is no easy | way to do that though. Well, t

Re: RaspberryPi 3 Stopped at data_abort+0x68:

2020-07-04 Thread Paul de Weerd
Hi Mark, Thanks for the reply and the diff! On Sat, Jul 04, 2020 at 12:19:59AM +0200, Mark Kettenis wrote: | That probably means Paul is using somewhat broken firmware. pkg_info says I have: raspberrypi-firmware-1.20200212 Raspberry Pi firmware Is there something else I should have or do? | A

Re: RaspberryPi 3 Stopped at data_abort+0x68:

2020-07-03 Thread Paul de Weerd
Hi Mark, On Fri, Jul 03, 2020 at 02:14:32PM +0200, Mark Kettenis wrote: | > Date: Fri, 3 Jul 2020 13:37:19 +0200 | > From: Paul de Weerd | > | > [ CC:'ing Mark ] | > | > My first guess hit the spot: after reverting Mark's commit, my RPi3 | > boots again, please f

Re: RaspberryPi 3 Stopped at data_abort+0x68:

2020-07-03 Thread Paul de Weerd
rt 4 configuration 1 interface 0 "SanDisk Ultra Fit" rev 2.10/1.00 addr 5 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: removable serial.07815583320220107303 sd0: 29327MB, 512 bytes/sector, 60062500 sectors vscsi0 at root scsib

Re: RaspberryPi 3 Stopped at data_abort+0x68:

2020-07-03 Thread Paul de Weerd
interrupts across CPUs on arm64. > > ok patrick@, deraadt@, dlg@ So I'll try reverting that one first. Thanks, Paul On Thu, Jul 02, 2020 at 09:27:33PM +0200, Paul de Weerd wrote: | I've just tried to update my RPi3 to the latest snapshot. Now when | the system boots, i get 831 lin

RaspberryPi 3 Stopped at data_abort+0x68:

2020-07-02 Thread Paul de Weerd
I've just tried to update my RPi3 to the latest snapshot. Now when the system boots, i get 831 lines of type 0x2 pa 0x39a03000 va 0x39a03000 pages 0x100 attr 0x8 type 0x6 pa 0x39b03000 va 0x21c2796000 pages 0x1 attr 0x8008 type 0x2 pa 0x39b04000 va 0x39b04000 pages 0x2a attr 0x8 type

Re: uvn_flush: WARNING; changes to page may be lost!

2020-06-09 Thread Paul de Weerd
On Tue, Jun 09, 2020 at 03:36:47PM +0200, Mark Kettenis wrote: | > Any idea what may be going wrong here? Next step is for me to try to | > find the breaking snapshot by trying the archive at hostserver. | | One of your filesystems is (almost) full. | | What you're seeing is what happens when a

uvn_flush: WARNING; changes to page may be lost!

2020-06-09 Thread Paul de Weerd
Hi all, I've done a round of upgrades on some of my systems, including my GPD Win. The upgrade went fine, but shortly after going multi-user the system becomes unresponsive and starts scrolling these two lines continually: uvn_flush: WARNING; changes to page may be lost! uvn_flush: obj=0x0, offs

Re: heads up: amd64 snap

2020-03-16 Thread Paul de Weerd
On Mon, Mar 16, 2020 at 08:35:29AM +0100, Otto Moerbeek wrote: | On Mon, Mar 16, 2020 at 08:17:05AM +0100, Paul de Weerd wrote: | | > Hi Otto, | > | > Please disregard - this obviously was a fluke. My machine now boots | > properly with boot 3.47 after re-running installboot for t

Re: heads up: amd64 snap

2020-03-16 Thread Paul de Weerd
skbd1: disconnecting from wsdisplay0 | > wskbd1 detached | > ukbd0 detached | > uhidev0 detached | > ugold0 detached | > uhidev1 detached | > uhidev0 at uhub0 port 3 configuration 1 interface 0 "RDing TEMPERHUM1V1.2" rev 2.00/0.01 addr 2 | > uhidev0: iclass 3/1, 1 re

Re: heads up: amd64 snap

2020-03-15 Thread Paul de Weerd
erface 1 "RDing TEMPERHUM1V1.2" rev 2.00/0.01 addr 2 uhidev1: iclass 3/1 ugold0 at uhidev1 ugold0: 2 sensors type si7006 (temperature and humidity) uhub4 detached uhub5 detached uhub4 at uhub0 port 5 configuration 1 interface 0 "Texas Instruments product 0x8044" rev 2.10/1.

Re: Time-out like behaviour for ICMP port unreachable errors

2019-10-30 Thread Paul de Weerd
Hi Alexandr, I've tested this and can confirm it works. Attempted TCP sessions get an immediate 'Connection refused' error after the first ICMP port unreachable error. Personally, I like it. Thank you for the quick fix! Paul On Wed, Oct 30, 2019 at 05:56:38PM +0100, Alexandr Nedvedicky wrote:

Re: Time-out like behaviour for ICMP port unreachable errors

2019-10-30 Thread Paul de Weerd
Hi Alexandr, On Wed, Oct 30, 2019 at 10:14:09AM +0100, Alexandr Nedvedicky wrote: | Hello Paul, | | interesting exercise it has never come to my mind to try something like that. | I did poke to RFCs and found 1122 [1]. I'm not RFC guru so I hope this | partcular one is not superseded or updated b

Time-out like behaviour for ICMP port unreachable errors

2019-10-27 Thread Paul de Weerd
While trying to debug a networking problem, I ran into an unexpected behaviour: when the kernel receives an ICMP port unreach error, it keeps trying the connection until it times out (but still says "connection refused" as an error). On VM test1 I have this in /etc/pf.conf: block return-rst prot

Re: change in ntpd behavior

2019-10-27 Thread Paul de Weerd
On Wed, Oct 23, 2019 at 01:00:59PM +0200, Paul de Weerd wrote: | So, before I was also using tsc. I've now changed to acpihpet0 and | will see if that helps at all. I still see a lot of clock adjustments after having switched to acpihpet0: 1 despair ntpd[57871]: adjusting local clock

Re: change in ntpd behavior

2019-10-23 Thread Paul de Weerd
Hi Mark, Claudio, Thanks for your replies. On Wed, Oct 23, 2019 at 12:07:22PM +0200, Mark Kettenis wrote: | This may be a consequence of the timecounter choice. Did the output | of kern.timecounter change on this machine? | | What is the output of sysctl kern.timecounter in this state? On Wed,

Re: change in ntpd behavior

2019-10-23 Thread Paul de Weerd
On Wed, Oct 23, 2019 at 11:43:25AM +0200, Otto Moerbeek wrote: | On Wed, Oct 23, 2019 at 11:17:02AM +0200, Paul de Weerd wrote: | | > Hi Otto, | > | > On Wed, Oct 23, 2019 at 10:58:24AM +0200, Otto Moerbeek wrote: | > | I could * this has to do with the logging changes. Previ

Re: change in ntpd behavior

2019-10-23 Thread Paul de Weerd
Hi Otto, On Wed, Oct 23, 2019 at 10:58:24AM +0200, Otto Moerbeek wrote: | I could * this has to do with the logging changes. Previously, debug | messages could disappear because of wrong logging setup. In non -v | mode, only big adjustments are logged. Sadly you stripped those | numbers away so i

change in ntpd behavior

2019-10-23 Thread Paul de Weerd
Hi all, While scanning my logs for something unrelated, I came across this message from ntpd (note that I have ntpd_flags set to '-v' in /etc/rc.conf.local): 2019-10-21T02:03:50.143Z despair ntpd[57871]: adjusting local clock by 5.579152s I found it weird, because the machine had been up for alm

Re: Recurring panic in _rb_remove

2019-07-31 Thread Paul de Weerd
njobs that use vnconfig. Paul | Paul de Weerd wrote: | | > Hi all, | > | > Seeing a recurring panic on my local router. It's also acting as a | > backup and fileserver (serving OpenBSD snapshots to internal hosts). | > The panic is: | > | > uvm_fault(0xfd86fc8ab

Recurring panic in _rb_remove

2019-07-30 Thread Paul de Weerd
Hi all, Seeing a recurring panic on my local router. It's also acting as a backup and fileserver (serving OpenBSD snapshots to internal hosts). The panic is: uvm_fault(0xfd86fc8abee8, 0x8, 0, 1) -> e kernel: page fault trap, code=0 Stopped at _rb_remove+0x3c8: movq0x8(%rdi),%r

atascsi_disk_sync_done: timeout during suspend

2019-06-18 Thread Paul de Weerd
Hi all, I've started using zzz to suspend my workstation (i.e. NOT a laptop). I thought it worked a charm, but I've noticed two issues (probably related). The first suspend is quick. I hit 'zzz' and a couple of seconds later my machine is at rest, with the led in the power button slowly blinking

FIXED Re: time is slow in vmm(4) vm (reprise)

2018-09-06 Thread Paul de Weerd
Mike, On Wed, Sep 05, 2018 at 02:20:36PM -0700, Mike Larkin wrote: | I cut out the rest of the HZ=50 discussion. For modern systems this isn't | a problem anymore, or at least shouldn't be. Just set the timesource to | tsc in the VM and you should be fine. Thank you very much for the suggestion -

time is slow in vmm(4) vm (reprise)

2018-09-05 Thread Paul de Weerd
Hi all, Last year in May, i wrote to bugs@ about vmm VMs having slow time[1]. Mike Larkin replied that this was a known issue[2], so I mostly ignored it, thinking things would improve over time. And indeed they have: these days, the play VM I have on my home workstation runs time at normal speed.

Re: sshd logging WARNING: line XX disappeared in /etc/moduli, giving up

2018-06-25 Thread Paul de Weerd
Hi Todd, On Mon, Jun 25, 2018 at 03:43:46PM -0600, Todd C. Miller wrote: | Actually, it appears that the code accounts for which being one | less. The problem is the additional linenum++ introduced in rev | 1.64 along with the getline() changes. We should only be incrementing | linenum for each

sshd logging WARNING: line XX disappeared in /etc/moduli, giving up

2018-06-25 Thread Paul de Weerd
Hi all, Since upgrading my SSH jump host to the latest snap two days ago, its sshd has been logging these errors: 2018-06-25T19:47:35.716Z tuna.alm.weirdnet.nl tuna sshd[91261]: WARNING: line 6 disappeared in /etc/moduli, giving up As far as I can see, these are all caused by 'the internet' try

Re: fw_update won't delete old firmware

2018-06-24 Thread Paul de Weerd
On Sat, Jun 23, 2018 at 08:10:49PM +0100, Stuart Henderson wrote: | > But I'm not quite sure why it wouldn't delete the old firmware. | > | > Also, note that COMMENT references an intel(4) driver, but intel(4) is | > the manpage for the X driver for intel graphics adapters. As this | > COMMENT is

fw_update won't delete old firmware

2018-06-23 Thread Paul de Weerd
Hi all, I've just upgraded my home gateway to the latest snap. Uptime was over 4 months, so it was about time. While running fw_update, I got the following: # fw_update NOT deleting intel-firmware-20171117p0v0: use fwupdate -d intel-firmware-20171117p0v0->20180312v0: ok # pkg_info | grep firmwa

Re: boot stops in config_process_deferred_mountroot

2018-06-22 Thread Paul de Weerd
On Fri, Jun 22, 2018 at 04:04:17PM +0200, Paul de Weerd wrote: | On Fri, Jun 22, 2018 at 03:55:55PM +0200, Stefan Sperling wrote: | | On Fri, Jun 22, 2018 at 03:51:54PM +0200, Stefan Sperling wrote: | | > You could try chasing the problem into bwfm_attachhook() (if_bwfm_pc

Re: boot stops in config_process_deferred_mountroot

2018-06-22 Thread Paul de Weerd
On Fri, Jun 22, 2018 at 03:55:55PM +0200, Stefan Sperling wrote: | On Fri, Jun 22, 2018 at 03:51:54PM +0200, Stefan Sperling wrote: | > You could try chasing the problem into bwfm_attachhook() (if_bwfm_pci.c). | | Clarification: The attachhook function is in dev/ic/bwfm.c, but the | flow will end

boot stops in config_process_deferred_mountroot

2018-06-22 Thread Paul de Weerd
Hi all, Yesterday, I upgraded my GPD Win to the latest snap. I'm pretty sure I booted into it successfully, but can't be sure now that I'm running into this weird issue. Kernel starts booting, gives the 'root on sd0a (86ab0e9e00184c6c.a) swap on sd0b dump on sd0b' line and then nothing: init doe

Re: 6.3 (and -snapshot): panic: aml_rwgen: unregistered RegionSpace 0x5

2018-06-10 Thread Paul de Weerd
smouse1 at ums1 mux 0 uhidev3 at uhub0 port 3 configuration 1 interface 1 "vendor 0x0079 Mouce for Android" rev 2.00/1.00 addr 3 uhidev3: iclass 3/0 ukbd1 at uhidev3: 8 variable keys, 6 key codes wskbd1 at ukbd1 mux 1 wskbd1: connecting to wsdisplay0 ure0 at uhub0 port 4 configuration 1 i

Re: 6.3 (and -snapshot): panic: aml_rwgen: unregistered RegionSpace 0x5

2018-06-10 Thread Paul de Weerd
I'm getting the same panic after upgrading my GPD Win to -current. bsd.rd still boots fine, but bsd.mp gives panic: aml_rwgen: unregistered RegionSpace 0x8f After that, there's a stack trace and then I get dumped in ddb. The keyboard doesn't work in ddb (and the machine is tiny, doesn't have ser

  1   2   >