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

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

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: 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

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

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: 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

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: 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

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: 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

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
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-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-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-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 |

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: 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.

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: 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-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

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: 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

panic during alias configuration

2016-09-28 Thread Paul de Weerd
Hi all, I ran into this issue while manually configuring a set of aliases on bnx1. Command being run was `ifconfig bnx1 inet alias 255.255.255.255` (I was adding ~15 addresses, the first few succeeded but then the machine panic'd when adding the next one). ddb ps said 'softnet' was the active p

httpd errors out with 'too many open files'

2016-09-28 Thread Paul de Weerd
Hi, So, upgrading one of my webservers to -current (snapshot with kernel build #2498: Tue Sep 27 17:53:43 MDT 2016), my httpd suddenly failed to start. rcctl -d start httpd showed it's about hitting the open file limit, and trying to check the config confirmed that problem: [root@agony] # httpd

Re: httpd errors out with 'too many open files'

2016-09-28 Thread Paul de Weerd
Hi Reyk, On Wed, Sep 28, 2016 at 03:29:22PM +0200, Reyk Floeter wrote: | On Wed, Sep 28, 2016 at 03:00:20PM +0200, Paul de Weerd wrote: | > Hi, | > | > So, upgrading one of my webservers to -current (snapshot with kernel | > build #2498: Tue Sep 27 17:53:43 MDT 2016), my httpd sud

ntpd failing during runtime without indication why

2016-10-02 Thread Paul de Weerd
Since upgrading several machines to a more current snapshot (in an effort to keep up to date with LibreSSL fixes), I noticed ntpd started failing. Here's what I see on my laptop: Oct 2 17:50:15 drop doas: weerd ran command rcctl start ntpd as root from /home/weerd Oct 2 17:50:28 drop ntpd[170

Re: ntpd failing during runtime without indication why

2016-10-18 Thread Paul de Weerd
x27;WEiRD' de Weerd On Sun, Oct 02, 2016 at 06:37:04PM +0200, Sebastien Marie wrote: | Hi Paul, | | Just to saying that I saw this behaviour. More details below. | | On Sun, Oct 02, 2016 at 06:15:42PM +0200, Paul de Weerd wrote: | > | > Since upgrading several machines to a more current s

Crashes very early during boot

2016-11-01 Thread Paul de Weerd
Hi all, I just upgraded one of my machines to -current and was surprised that it didn't come back after reboot. Here's what I found on the serial console: >> OpenBSD/amd64 BOOT 3.33 boot> booting hd0a:/bsd: 6926928+2204680+258112+0+671744 [72+732792+486466]=0xac4d88 entry point at 0x1001000 [720

Re: Crashes very early during boot

2016-11-01 Thread Paul de Weerd
ype 1 at 0x1 for 3145728KB Low ram: 632KB High ram: 3136000KB Total free memory: 6282360KB Cheers, Paul On Tue, Nov 01, 2016 at 02:26:40PM +0100, Paul de Weerd wrote: | Hi all, | | I just upgraded one of my machines to -current and was surprised that | i

Re: Crashes very early during boot

2016-11-01 Thread Paul de Weerd
0x1323+0x323 r10 0x80014000+0x14000 r110 r12 0x819469d0+0x29c10 r13 0xffffff01bf7c9020 r14 0x81acac01+0xcac01 r15 0x81acac20+0xcac20 rip

Re: Crashes very early during boot

2016-11-02 Thread Paul de Weerd
vmm0 at mainbus0: VMX/EPT uplcom0 at uhub2 port 1 configuration 1 interface 0 "Prolific Technology Inc. USB-Serial Controller" rev 1.10/3.00 addr 2 ucom0 at uplcom0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at r

Re: Crashes very early during boot

2016-11-02 Thread Paul de Weerd
for the root shell. (Note that I have 10+ systems booting just fine with boot 3.33, so this is some really weird interaction with the hardware) Cheers, Paul 'WEiRD' de Weerd On Wed, Nov 02, 2016 at 10:15:23AM +0100, Paul de Weerd wrote: | Another quick update as I'm trying things

Re: ifconfig create

2017-01-03 Thread Paul de Weerd
On Tue, Jan 03, 2017 at 12:02:25PM +0100, Hrvoje Popovski wrote: | Hi all, | | it seems that pseudo-device can be created if you type whatever you want | after "c" in "create" parameter... Not just the 'c' in create: [root@pom] # ifconfig vlan30 vlan30: no such interface [root@pom] # ifconfig vl

changing lladdr on vlan(4) breaks rx-path

2015-12-22 Thread Paul de Weerd
Hi all, My ISP requires me to use different MAC addresses for internet and TV access. These services arrive at the demarc as two different ethernet VLANs, vlan4 (television) and vlan34 (internet), on one copper GE port. I can get a lease on vlan34 just fine, and have internet access. Then I cha

panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey == NULL" failed

2016-01-29 Thread Paul de Weerd
Yesterday I upgraded my home gateway to the latest snapshot available from my local mirror. After reboot, I get a panic as soon as networking starts: panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey == NULL" failed: file "../../../../net/pf.c", line 6569 Stopped at Debugger+0x

Re: panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey == NULL" failed

2016-01-29 Thread Paul de Weerd
port 2 configuration 1 interface 0 "Western Digital My Passport 0748" rev 2.10/10.19 addr 2 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd0 at scsibus2 targ 1 lun 0: SCSI4 0/direct fixed sd0: 1907697MB, 512 bytes/sector, 3906963456 sectors ses0 at scsibus2

Re: panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey == NULL" failed

2016-01-30 Thread Paul de Weerd
etwork needs the igmpproxy to run, and indeed I have: pass on vlan4 proto igmp allow-opts In my pf ruleset. Of course, I also have multicast=YES in /etc/rc.conf.local | On 2016/01/30 01:09, Paul de Weerd wrote: | > I've just confirmed this still happens with the latest snap (OpenB

Re: changing lladdr on vlan(4) breaks rx-path

2016-04-19 Thread Paul de Weerd
On Tue, Apr 19, 2016 at 11:56:45PM +1000, David Gwynne wrote: | On Tue, Dec 22, 2015 at 10:11:23PM +0100, Paul de Weerd wrote: | > Hi all, | > | > My ISP requires me to use different MAC addresses for internet and TV | > access. These services arrive at the demarc as two differ

panic: tsleep: not SONPROC

2015-04-22 Thread Paul de Weerd
I just found my laptop at the FDE passphrase prompt after leaving it to capture images from a webcam with fswebcam from ports. Turns out the machine had panicked, all the details I have are in the dmesg, but here's the interesting bits first: --

umsc(4) no longer works since t2k17 hackathon

2017-10-04 Thread Paul de Weerd
Hi all, I have a 4-port ST Lab umsc(4) device that used to work quite well for serial access to a set of machines. Unfortunately, after upgrading to 6.2-ish, it stopped working with the error: umcs0: unable to get number of ports Bisecting through a set of snapshot kernels, I found the problem

Re: umsc(4) no longer works since t2k17 hackathon

2017-10-04 Thread Paul de Weerd
On Wed, Oct 04, 2017 at 12:59:45PM -0700, Philip Guenther wrote: | > - if (!umcs_get_reg(sc, UMCS_GPIO, &data)) { | > + printf("%s: data before umcs_get_reg: %d\n", DEVNAME(sc), data); | > + umcs_get_reg(sc, UMCS_GPIO, &data); | > + printf("%s: data after umcs_get_reg: %d\n", DEVNAME(sc), d

Re: [BUG]: Serious bug in "cut"

2014-07-10 Thread Paul de Weerd
On Thu, Jul 10, 2014 at 09:50:22AM +0200, Steffen Schuler wrote: | The following command | | $ echo a,b | cut -d , -f 2,1 | prints | | a,b | | instead of | | b,a cut(1) doesn't reorder fields. Use awk(1) instead: $ echo a,b | awk -F, '{print $2 "," $1}' Paul 'WEiRD' de Weerd -- >+++

Re: Incorrect result for %s in strftime

2014-09-26 Thread Paul de Weerd
On Mon, Aug 18, 2014 at 10:21:50PM +0100, Stuart Henderson wrote: | On 2014/08/18 16:08, Daurnimator wrote: | > On 18 August 2014 16:01, Stuart Henderson wrote: | > > | > > That said, given that you have just found 3 implementations which have | > > the same (frankly IMHO sensible) behaviour, musl

doas -n fails even when no password would be requested

2017-02-14 Thread Paul de Weerd
Consider the following: 1 [weerd@despair] $ doas true 2 doas (we...@despair.weirdnet.nl) password: 3 [weerd@despair] $ doas true 4 [weerd@despair] $ doas -n true 5 doas: Authorization required I have 'persist' to allow doas to not prompt for a password on subse

Re: doas -n fails even when no password would be requested

2017-02-14 Thread Paul de Weerd
On Tue, Feb 14, 2017 at 04:29:56PM +0100, Sebastian Benoit wrote: | > Is this a bug in doas or in the manpage? | | The -n option helps to use doas non-interactively. | Its debateable wether 'persist' is useful with non-interactive usage, but | this fixes it: Thanks Benno, I'll test it later tonig

Re: doas -n fails even when no password would be requested

2017-02-14 Thread Paul de Weerd
Hi Ted, On Tue, Feb 14, 2017 at 11:37:30AM -0500, Ted Unangst wrote: | So the man page currently says "fail if doas would prompt for password." | although it would be more accurate to say "fail if does may prompt for a | password". The purpose of -n is to make sure a script will run with or withou

Re: doas -n fails even when no password would be requested

2017-02-14 Thread Paul de Weerd
On Tue, Feb 14, 2017 at 02:56:01PM -0500, Ted Unangst wrote: | Paul de Weerd wrote: | > Well, in my case I can simply not use doas -n and ensure my script | > works without prompting for passwords more than once (which is what I | > care about). However, I have to say that doas works

Re: doas -n fails even when no password would be requested

2017-02-15 Thread Paul de Weerd
On Tue, Feb 14, 2017 at 10:21:58PM +, Stuart Henderson wrote: | Is it something where you could start the script as root and drop to a | different user? Using `doas script` would then persist the doas ticket in my current shell after the script has finished. That's really about the only downs

Re: doas -n fails even when no password would be requested

2017-02-15 Thread Paul de Weerd
On Tue, Feb 14, 2017 at 09:00:37PM +0100, Otto Moerbeek wrote: | > However, do you need to use -n in this case? You've set things up so that the | > first invocation asks for a password and then it relies on persist throughout. | > So leave off of the -n? | | H, isn't that a big race conditi

losing ipv6 connectivity after some uptime

2017-03-06 Thread Paul de Weerd
Hi all, This weekend my workstation lost v6 connectivity. I didn't notice, as I wasn't around (social commitments), but my backup script did. Investigating this problem, it looks like ndp lost the entry for the default gateway: [weerd@pom] $ netstat -rnf inet6 | awk '/^default/' default

Re: losing ipv6 connectivity after some uptime

2017-03-06 Thread Paul de Weerd
Hi Martin, Thanks for the quick reply! On Mon, Mar 06, 2017 at 01:12:12PM +0100, Martin Pieuchot wrote: | > Deleting the expired entry doesn't seem very effective: | | It *is* effective since it solved your problem. A cached entry, like | the one referenced by your default route is no longer 'd

Re: losing ipv6 connectivity after some uptime

2017-03-06 Thread Paul de Weerd
On Mon, Mar 06, 2017 at 03:39:16PM +0100, Martin Pieuchot wrote: | On 06/03/17(Mon) 15:18, Paul de Weerd wrote: | > Hi Martin, | > [...] | > i.e. the machine is asking for the address of the default gateway, and | > the default gateway is responding just fine, but the answer is

Re: losing ipv6 connectivity after some uptime

2017-03-06 Thread Paul de Weerd
On Mon, Mar 06, 2017 at 04:39:16PM +0100, Paul de Weerd wrote: | Delete a few more times, things start working again. Rinse, lather, | repeat :) | | As these are machines I have at home (and they run softraid FDE), I | can't reboot into a new kernel easily to try your diff. But now tha

Re: losing ipv6 connectivity after some uptime

2017-03-07 Thread Paul de Weerd
On Tue, Mar 07, 2017 at 02:07:02PM +0100, Martin Pieuchot wrote: | On 06/03/17(Mon) 23:26, Alexander Bluhm wrote: | > On Mon, Mar 06, 2017 at 01:12:12PM +0100, Martin Pieuchot wrote: | > > Diff below should solve that by resetting the 'asked' counter and allow | > > our NDP code to generate a new N

Re: CVS: cvs.openbsd.org: src

2017-03-10 Thread Paul de Weerd
Hi Rafael, others, It looks like your commit to ip_mroute.[ch] from January 11th broke multicast forwarding. I found another thread that may suffer from the same problem: http://marc.info/?l=openbsd-bugs&m=148605155027668&w=2 - I'm CC:'ing the OP from that thread here (hope you don't mind :). On

Re: CVS: cvs.openbsd.org: src

2017-03-13 Thread Paul de Weerd
I can confirm Rafael's diff fixes the issues I was having with multicast. Thank you very much, Rafael! Paul On Mon, Mar 13, 2017 at 06:03:56PM +0100, Rafael Zalamena wrote: | On Fri, Mar 10, 2017 at 04:14:44PM +0100, Paul de Weerd wrote: | > Hi Rafael, others, | > | > It looks li

Re: ipv6 problem on 6.1-beta

2017-03-24 Thread Paul de Weerd
On Fri, Mar 24, 2017 at 03:29:28PM +0100, Martin Pieuchot wrote: | I believe this is a regression introduced in r1.206 of netinet6/nd6.c. That was a change made for a problem I reported, so I checked this new diff too. Works for me (but I wasn't experiencing Sebastien's problem). Thanks Martin!

"ioctl VIDIOC_STREAMON: Invalid argument" with Logitech C170

2017-03-28 Thread Paul de Weerd
Hi all, I'm trying to use a pretty simple (and cheap) webcam, a Logitech C170: uvideo1 at uhub1 port 4 configuration 1 interface 0 "vendor 0x046d Webcam C170" rev 2.00/28.25 addr 2 video1 at uvideo1 uaudio0 at uhub1 port 4 configuration 1 interface 2 "vendor 0x046d Webcam C170" rev 2.00/28.25 a

Re: "ioctl VIDIOC_STREAMON: Invalid argument" with Logitech C170

2017-03-28 Thread Paul de Weerd
Hi Jeremie, On Tue, Mar 28, 2017 at 09:50:57PM +0200, Jeremie Courreges-Anglas wrote: | Paul de Weerd writes: | | > Hi all, | > | > I'm trying to use a pretty simple (and cheap) webcam, a Logitech C170: | > | > uvideo1 at uhub1 port 4 configuration 1 interface 0 "vendor

Re: "ioctl VIDIOC_STREAMON: Invalid argument" with Logitech C170

2017-03-30 Thread Paul de Weerd
ed, Mar 29, 2017 at 08:15:33AM +0200, Paul de Weerd wrote: | Hi Jeremie, | | On Tue, Mar 28, 2017 at 09:50:57PM +0200, Jeremie Courreges-Anglas wrote: | | Paul de Weerd writes: | | | | > Hi all, | | > | | > I'm trying to use a pretty simple (and cheap) webcam, a Logitech C170: | |

tcpdump(8) tcp[tcpflags] doesn't support IPv6

2017-04-03 Thread Paul de Weerd
Hi all, When using tcpdump to look for SYNs, I came to the conclusion it doesn't support IPv6 in its tcp[tcpflags] support: [root@despair] # tcpdump -nvvs 1500 -i lo0 'port 443 and tcp[tcpflags] = tcp-syn' tcpdump: listening on lo0, link-type LOOP 09:25:56.616460 127.0.0.1.23653 > 127.0.0.1.443:

time runs at 50% inside a vmm host

2017-05-12 Thread Paul de Weerd
I've just started using VMM to do some testing and found this issue: [weerd@vm1] $ N=`awk '/^server/ {print $2}' /etc/ntpd.conf | head -1` [weerd@vm1] $ rdate -npv ${N}; time sleep 10; rdate -npv ${N} Fri May 12 11:41:07 CEST 2017 rdate: adjust local clock by 74.831786 seconds 0m10.05s real

Re: time runs at 50% inside a vmm host

2017-05-12 Thread Paul de Weerd
Hi Alexander, On Fri, May 12, 2017 at 03:54:12PM +0200, Alexander Bluhm wrote: | On Fri, May 12, 2017 at 01:00:22PM +0200, Paul de Weerd wrote: | > Is this a misconfiguration on my end or a bug? | | There is an easy way to detect this, run a loop in the guest system: | | root@q71:~# while sl

Re: time runs at 50% inside a vmm host

2017-05-12 Thread Paul de Weerd
On Fri, May 12, 2017 at 04:35:40PM +0200, Paul de Weerd wrote: | Thanks for your reply. Yours and an off-list reply both pointed at | the HZ parameter. I built a kernel with HZ=1000, and things now work | much better in the vm. I spoke too soon :-( Things do work better, but the clock is still

softraid i/o errors: which device causes them?

2017-05-19 Thread Paul de Weerd
Hi all, I've got a system with several softraid crypto devices mounted, and one seems to be having issues. dmesg shows several of these: softraid0: i/o error on block 1104 target 0 b_error 5 Is there a way to figure out which sd(4) device these come from? Or what b_error 5 is? Thanks, Paul

Re: softraid i/o errors: which device causes them?

2017-05-19 Thread Paul de Weerd
ixed sd25: 3815414MB, 512 bytes/sector, 7813969265 sectors softraid0: sd26 was not shutdown properly softraid0: sd26 was not shutdown properly sd26 at scsibus13 targ 13 lun 0: SCSI2 0/direct fixed sd26: 1907694MB, 512 bytes/sector, 3906959213 sectors softraid0: sd27 was not shutdown properly soft

Re: softraid i/o errors: which device causes them?

2017-05-22 Thread Paul de Weerd
On Fri, May 19, 2017 at 07:19:52PM -0400, Ted Unangst wrote: | Paul de Weerd wrote: | > Hi all, | > | > I've got a system with several softraid crypto devices mounted, and | > one seems to be having issues. dmesg shows several of these: | > | > softraid0: i/o error

panic while using uvideo on arm64 (RPi3)

2017-06-09 Thread Paul de Weerd
I'm getting a panic when trying to use fswebcam to grab an image from my webcam on a Raspberry Pi 3: panic: kernel diagnostic assertion "xfertype != UE_ISOCHRONOUS || xfer->nframes < DWC2_MAXISOCPACKETS" failed: file "/usr/src/sys/dev/usb/dwc2/dwc2.c", line 1306 Stopped at panic+0x158:

Re: panic while using uvideo on arm64 (RPi3)

2017-06-09 Thread Paul de Weerd
() at softintr_dispatch+0xa0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> Paul 'WEiRD' de Weerd On Fri, Jun 09, 2017 at 10:39:45AM +0200, Paul de Weerd wrote: | I'm getting a

Picking IPv6 default router during install

2017-06-09 Thread Paul de Weerd
Hi all, While installing a VM, I got some weird behavior: IPv6 prefix length for vio0? [64] 1) fe80:::__ff:fe__:%vio0: 4) ms 2) hlim=64 5) time=0.417 3) icmp_seq=1 IPv6 default router? (list #, IPv6 address or 'none') ? I tried to reproduce it with the

[sendbug] dhclient can't DHCPREQUEST using static route

2017-06-20 Thread Paul de Weerd
>Synopsis: dhclient can't DHCPREQUEST using static route >Category: system >Environment: System : OpenBSD 6.1 Details : OpenBSD 6.1-current (GENERIC.MP) #76: Sun May 21 22:37:18 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/

Re: [sendbug] dhclient can't DHCPREQUEST using static route

2017-06-21 Thread Paul de Weerd
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp vlan20 flags=3 port 22 ifpriority 0 ifcost 0 vlan21 flags=3 port 23 ifpriority 0 ifcost 0 ------ Thanks, Paul 'W

regression using vncviewer (net/ssvnc) on inteldrm

2017-07-11 Thread Paul de Weerd
Yesterday I upgraded my workstation to a current snapshot and noticed a big performance decrease in vncviewer. I have a session to a machine running macOS at 1920x1080 (my setup consists of 2x 1920x1080 monitors, vncviewer is run in full screen on one of the two screens). When vncviewer is on my a

Re: regression using vncviewer (net/ssvnc) on inteldrm

2017-07-14 Thread Paul de Weerd
On Thu, Jul 13, 2017 at 09:30:27PM +0100, Stuart Henderson wrote: | > > Section "Device" | > >Identifier "Intel Graphics" | > >Driver "intel" | > > EndSection | > | > Is this regression important enough to hold off the commit of the | > driver selection change until we have a better

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.

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 -

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: 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

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: 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

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: 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

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: 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

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

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: 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

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: 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

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

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

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

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

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

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: 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

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 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-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

  1   2   >