Re: USB defunc on Shuttle DS57U

2019-08-29 Thread Stefan Sperling
On Thu, Aug 29, 2019 at 12:15:24PM +0200, Marcus MERIGHI wrote: > >Synopsis:USB defunc on Shuttle DS57U > >Category:system,amd64 > >Environment: > System : OpenBSD 6.6 > Details : OpenBSD 6.6-beta (GENERIC.MP) #262: Wed Aug 28 18:44:56 > MDT 2019 >

Re: OpenBSD 6.6 snapshot #262 - no USB mouse

2019-08-29 Thread Stefan Sperling
Kernel #262 is known to be broken. Compile your own from -current sources or wait for the next snapshot.

Re: problem with athn driver

2019-10-14 Thread Stefan Sperling
On Sun, Oct 13, 2019 at 08:40:22PM +0200, victor wrote: >     I fixed the problem by means of compiling the kernel, but replacing > first athn.c file from OpenBSD 6.5 release for the older one in OpenBSD 6.4 > release. >     The problem disappears completeley and Wifi works properly. >     So I

Re: problem with athn driver

2019-10-15 Thread Stefan Sperling
On Tue, Oct 15, 2019 at 07:37:20AM +0200, victor wrote: > I can try compiling and testing any other file revision in my laptop if you > think this can help you to narrow down the problem. Just tell me which one. I cannot tell you which one it is. I *need to know* which one it is. You have a system

Re: Connection issues when connected via Wifi

2019-10-21 Thread Stefan Sperling
On Mon, Oct 21, 2019 at 05:42:17PM +, mailinglists wrote: > > Synopsis: Connection issues when connected via Wifi > > Category: network > > Environment: > > System : OpenBSD 6.6 > Details : OpenBSD 6.6 (GENERIC.MP) #372: Sat Oct 12 10:56:27 MDT > 2019 >

Re: Connection issues when connected via Wifi

2019-10-22 Thread Stefan Sperling
On Mon, Oct 21, 2019 at 07:50:45PM +, mailinglists wrote: > Thank you for the fast reply. There's a few things that look odd: > NameMtu Network Address Ipkts IfailOpkts Ofail > Colls > athn0 150060:e3:27:1c:fc:cb66790 1431066427 0 > 0 > at

Re: Connection issues when connected via Wifi

2019-10-22 Thread Stefan Sperling
On Tue, Oct 22, 2019 at 05:05:24PM +, mailinglists wrote: > Hello, > > thank you very much for your support. > With your explanation I found the causer. > It is my WiFi Repeater (Fritz!Wlan Repeater 1160). > If I connecting directly to my AP, the connection works fine and > "netstat -W iwn" is

Re: iwx: Firmware for Intel Wi-Fi 6 AX211 couldn't be loaded

2023-07-26 Thread Stefan Sperling
On Wed, Jul 26, 2023 at 02:45:29PM +, Miguel Landaeta wrote: > >Synopsis:iwx: Firmware for Intel Wi-Fi 6 AX211 couldn't be loaded > iwx0: using firmware iwx-so-a0-gf-a0-77 Can you tell me which firmware image the Linux kernel is loading for your device? Perhaps OpenBSD is misdetecting thi

Re: iwm fails with supported device under OpenBSD 7.3

2023-08-24 Thread Stefan Sperling
On Wed, Aug 23, 2023 at 07:25:48PM -0600, Matthew Webb wrote: > I configured debug to dump the driver status, shown in messages attached. > I've also included the pcidump for the network adapter. Thanks. > I found a potentially related discussion about the iwx driver: > https://www.mail-archive.c

Re: iwm fails with supported device under OpenBSD 7.3

2023-08-25 Thread Stefan Sperling
On Fri, Aug 25, 2023 at 12:14:45AM -0600, Matthew Webb wrote: > Thank you Stefan for the discussion. > > FWIW, I have now installed another operating system (Arch Linux) on my > computer alongside OpenBSD 7.3, and the wireless network adapter works > correctly and without issue, so it appears that

Re: AX211 wifi firmware load issue

2023-11-23 Thread Stefan Sperling
On Thu, Nov 23, 2023 at 12:46:24PM +, Stuart Henderson wrote: > and here are kernel messages with IWX_DEBUG defined > > iwx0: L1 Disabled - LTR Enabled > iwx0: ucode type 0 section 0 > iwx0: ucode type 0 section 1 > iwx0: ucode type 0 section 2 > iwx0: ucode type 0 section 3 > iwx0: ucode type

Re: AX211 wifi firmware load issue

2023-11-24 Thread Stefan Sperling
On Thu, Nov 23, 2023 at 08:26:32PM +, Stuart Henderson wrote: > On 2023/11/23 19:38, Stefan Sperling wrote: > > It is possible that our driver is trying to use an incompatible > > firmware image on this particular device. Which firmware file name > > is loaded by the iwlwi

Re: netstart fails to parse complex wpa2 passphrases

2023-11-25 Thread Stefan Sperling
On Sat, Nov 25, 2023 at 08:20:47AM -0700, Theo de Raadt wrote: > What you are asking for is too difficult to do. > > netstart is a shell script. shell script arguments are not 8 bit clean, > because the the sh language has many meta & escape characters. > > Your configuration exceeds what can be

Re: Wireless bug iwx -current

2023-12-13 Thread Stefan Sperling
On Wed, Dec 13, 2023 at 12:10:25PM +0100, Gabriel Brito wrote: > Hello, > > I just upgraded to current (7.4 GENERIC.MP#1485 amd64) and can no longer > connect to a wireless networks using iwx - I tried with two different > networks. > > Sorry for the lack of further information - don't know what

Re: iwx0 repeatedly goes offline with "unhandled firmware response 0x3fd"

2023-12-21 Thread Stefan Sperling
On Wed, Dec 20, 2023 at 02:00:36PM -0800, Greg Steuck wrote: > I'm sending this with the subject of the bug reported before in hope it will > join > the thread even though I'm seeing this with an iwm(4) interface. I'm > running a Nov 3 snap of -current. > > The messages seem mostly harmless as th

Re: Supported iwn device is not configured on ARM64

2024-01-16 Thread Stefan Sperling
On Tue, Jan 16, 2024 at 02:38:58PM +0800, Kevin Lo wrote: > The below diff fixes clang warning about possible unaligned access. > With that fixed, iwm(4) works as expected on my Rock 3A. > > iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless-AC 9260" rev 0x29, > msix > iwm0: hw rev 0x320, fw

Re: iwx obtains IP via DHCP but no traffic

2024-02-16 Thread Stefan Sperling
On Fri, Feb 16, 2024 at 03:22:07AM +0100, Kirill A. Korinsky wrote: > Thus, disabling 5Ghz does help. that lead me to dig an issue on network > settings > side. After poking around I've discovered that settings which triggers an > issue > is "Minimum Data Rate Control" inside Unifi UI. It has set

Re: iwx obtains IP via DHCP but no traffic

2024-02-16 Thread Stefan Sperling
On Fri, Feb 16, 2024 at 11:45:30AM +0100, Kirill A. Korinsky wrote: > Stefan, > > On Fri, 16 Feb 2024 10:13:50 +0100, > Stefan Sperling wrote: > > > > If your AP still announces 6M even while you've disabled this rate in > > settings, > > then the AP is

Re: iwx obtains IP via DHCP but no traffic

2024-02-16 Thread Stefan Sperling
On Fri, Feb 16, 2024 at 11:25:51AM +, Stuart Henderson wrote: > Also: regardless of whether it really makes sense for a given network, > sometimes a network operator will do this anyway and as a user you have > no control over it - and based on Kirill's description this seems a > regression sin

Re: bwfm: no rx after changing lladdr

2024-02-18 Thread Stefan Sperling
On Sat, Feb 17, 2024 at 06:27:40PM -1000, Todd Carson wrote: > > On a Raspberry Pi 4 running a recent snapshot, I found that the built-in > bwfm interface would fail to receive non-broadcast traffic after > changing the MAC address with ifconfig (for example by having > "lladdr random" in hostname

Re: bwfm: no rx after changing lladdr

2024-02-19 Thread Stefan Sperling
On Sun, Feb 18, 2024 at 11:21:15AM -1000, Todd Carson wrote: > > Thanks for the pointers; updated diff below to set the MAC in > bwfm_init() if preinit has already run. > > Works on boot with "lladdr random" as the first line in hostname.bwfm0, > and also changing the lladdr after boot with ifcon

Re: iwx obtains IP via DHCP but no traffic

2024-02-25 Thread Stefan Sperling
On Sun, Feb 25, 2024 at 05:19:33PM +0100, Kirill A. Korinsky wrote: > Well, > > I just rebooted to a new snapshot, and WiFi has been future degradated. > > I do run a MPD sync in background which downloads some files via HTTP, > but I may run before, and it never creates an issue. > > Meanwhile

Re: iwx obtains IP via DHCP but no traffic

2024-02-25 Thread Stefan Sperling
On Sun, Feb 25, 2024 at 10:17:37PM +0100, Kirill A. Korinsky wrote: > On Sun, 25 Feb 2024 17:32:46 +0100, > Stefan Sperling wrote: > > > > I have less than 2ms ping latency to my 5 GHz AP over iwx. > > So this is probably not an issue in iwx but something else. >

Re: iwx obtains IP via DHCP but no traffic

2024-02-26 Thread Stefan Sperling
On Mon, Feb 26, 2024 at 11:40:35AM +0100, Kirill A. Korinsky wrote: > all of this seems like a strong indicator that the issue is inside iwx You don't need to try hard to convince me that there could be a bug in iwx. Yes, there will always be bugs in iwx. Many have been fixed already but there wil

Re: iwx obtains IP via DHCP but no traffic

2024-02-26 Thread Stefan Sperling
On Mon, Feb 26, 2024 at 10:17:20PM +0100, Kirill A. Korinsky wrote: > On Mon, 26 Feb 2024 12:39:12 +0100, > Stefan Sperling wrote: > > > > On Mon, Feb 26, 2024 at 11:40:35AM +0100, Kirill A. Korinsky wrote: > > > all of this seems like a strong indicator that the iss

Re: iwx obtains IP via DHCP but no traffic

2024-03-13 Thread Stefan Sperling
On Wed, Mar 13, 2024 at 12:05:59AM +0100, Kirill A. Korinsky wrote: > On Tue, 27 Feb 2024 08:45:44 +0100, > Stefan Sperling wrote: > > > > > Anyway, I'll keep debug enabled for the case if frimeware error happens. > > > > Yes, that would still be interesting

Re: urndis driver broken on Thinkpad T21 (i386)

2024-03-22 Thread Stefan Sperling
On Fri, Mar 22, 2024 at 01:30:26PM +0100, be...@stuerz.xyz wrote: > >Synopsis:urndis driver doesn't work on Thinkpad T21 (i386) > >Category:i386 > >Environment: > System : OpenBSD 7.4 > Details : OpenBSD 7.4 (GENERIC) #2: Fri Dec 8 15:41:12 MST 2023 >

Re: dwqe ifconfig down panic

2024-03-27 Thread Stefan Sperling
On Tue, Mar 26, 2024 at 11:05:49PM +0100, Patrick Wildt wrote: > On Fri, Mar 01, 2024 at 12:00:29AM +0100, Alexander Bluhm wrote: > > Hi, > > > > When doing flood ping transmit from a machine and simultaneously > > ifconfig down/up in a loop, dwqe(4) interface driver crashes. > * Don't run TX/RX

Re: dwqe ifconfig down panic

2024-03-28 Thread Stefan Sperling
On Wed, Mar 27, 2024 at 02:08:27PM +0100, Stefan Sperling wrote: > On Tue, Mar 26, 2024 at 11:05:49PM +0100, Patrick Wildt wrote: > > On Fri, Mar 01, 2024 at 12:00:29AM +0100, Alexander Bluhm wrote: > > > Hi, > > > > > > When doing flood ping transm

Re: deassoc attack, or, trapped in S_RUN forever?

2024-04-22 Thread Stefan Sperling
On Mon, Apr 22, 2024 at 10:46:50AM +0200, Peter J. Philipp wrote: > Hi, > > I have a shortage of RJ45 adapters so I had to expose one host on wifi, for > this I set up an access point of type "AVM Fritz!Box 7390" with latest > firmware > from last year. > > Soon I started facing deauth attacks

Re: iwx obtains IP via DHCP but no traffic

2024-04-22 Thread Stefan Sperling
On Sun, Apr 21, 2024 at 06:31:39PM +0200, Kirill A. Korinsky wrote: > Greeting, > > finally I've catch something. I not sure is it the same error or not, but it > seems right to share anyway. > > It was get from snapshot which was installed about 3 days ago. > > Apr 21 10:59:40 matebook /bsd:

Re: problem with qwx on thinkpad arm

2024-04-28 Thread Stefan Sperling
On Sun, Apr 28, 2024 at 01:46:22PM +0200, BESSOT Jean-Michel wrote: > Hello > > qwx does not work after the last snapshot. > > There is an error message in dmesg that I send. > > If you need more information feel free to ask. > > bye > qwx0: could not allocate DP SRNG DMA memory Does this err

Re: iwm regression in 7.5 amd64

2024-04-28 Thread Stefan Sperling
On Sun, Apr 28, 2024 at 09:45:42PM +0200, Mizsei Zoltán wrote: > >Synopsis:iwm regression in 7.5 amd64 > >Category:amd64 > >Environment: > System : OpenBSD 7.5 > Details : OpenBSD 7.5 (GENERIC.MP) #82: Wed Mar 20 15:48:40 MDT 2024 > > dera...@amd

Re: iwm regression in 7.5 amd64

2024-04-29 Thread Stefan Sperling
On Mon, Apr 29, 2024 at 08:05:31PM +0200, Mizsei Zoltán wrote: > Yes, it is a general speed regression. Reboot didn1t help. Firmware is > up-to-date, and AFAIK nothing else changed. The bottleneck is there in cli > aswell, not just in Firefox. > > -- ext The only possibility I can think of is t

Re: iwm regression in 7.5 amd64

2024-04-29 Thread Stefan Sperling
On Mon, Apr 29, 2024 at 10:26:15PM +0200, Stefan Sperling wrote: > Then send me the pcap file off-list. > Received, off-list, thanks! The config looks fine. Channel 48, HT secondary channel below at 44, 80 MHz VHT center channel 42. This is a valid config that will pass the tests we ad

Re: rt_ifa_del NULL deref

2022-08-24 Thread Stefan Sperling
On Wed, Aug 24, 2022 at 03:14:35PM +0200, Alexander Bluhm wrote: > What are you doing with the machine? Forwarding, IPv6, Stress test? > Do you have network interfaces with multiple network queues? It is a build box, which also serves snapshots over http. I am the only user of the httpd server so

Re: rt_ifa_del NULL deref

2022-09-03 Thread Stefan Sperling
On Sat, Aug 27, 2022 at 11:32:24PM +0300, Vitaliy Makkoveev wrote: > > On 27 Aug 2022, at 22:03, Alexander Bluhm wrote: > > > > On Sat, Aug 27, 2022 at 03:14:15AM +0300, Vitaliy Makkoveev wrote: > >>> On 27 Aug 2022, at 00:04, Alexander Bluhm wrote: > >>> > >>> Anyone willing to test or ok this

Re: rt_ifa_del NULL deref

2022-09-05 Thread Stefan Sperling
On Sun, Sep 04, 2022 at 07:34:04PM +0300, Vitaliy Makkoveev wrote: > I suspect missing netlock in the config path or within timeout handler, > but exclusive netlock assertion makes sense. > > Also, we could have "double protection" here, like we have for > `if_list'. I mean we hold both kernel and

Re: re(4) drivers not working

2022-09-16 Thread Stefan Sperling
On Fri, Sep 16, 2022 at 08:27:59AM +0200, Adam Szewczyk wrote: > Checked on actual hardware it seems to work fine. So I report it also to > Qubes and Xen Project, but marmarek (head of qubes development team) > suggest that it can be a problem with driver itself: > "I'm not sure if that's relevant,

Re: re(4) drivers not working

2022-09-16 Thread Stefan Sperling
On Fri, Sep 16, 2022 at 09:58:44AM +0200, Adam Szewczyk wrote: > My mistake in creating a bug for wireless it should be iwm (copied wrong > file name in a hurry). Is that are you wrote about iwx also true for iwm? At this low level the drivers are equivalent. > Sorry for the trouble. I just want

Re: Ldomctl generates defective config after OBSD 6.3 on T1000.

2022-11-12 Thread Stefan Sperling
On Fri, Nov 11, 2022 at 06:46:31PM +, Andrew Grillet wrote: > I was unable to compile and test the diff - compile times exceeded a week > on a T1000, and > then I took ill. > > I now confirm that this problems is present on 7.2 and appears to affect my > T5120 as well. > I can create configs w

Re: rt_ifa_del NULL deref

2022-11-15 Thread Stefan Sperling
On Tue, Nov 15, 2022 at 03:07:05PM +0100, Leah Neukirchen wrote: > > I hit the same issue on a 7.2-RELEASE system, which was idle and had > roughly 3 weeks of uptime. > > Stopped at rt_ifa_del+0x39: movb 0x1b6(%rax),%bl > Same backtrace as in parent message. > > The system is virtualized on QEMU

Re: iwx(4) randomly stopped connecting to Wi-Fi

2022-12-27 Thread Stefan Sperling
On Tue, Dec 27, 2022 at 06:50:55PM +, Jeremy Potter wrote: > One clue that I do have is that every time I restarted my Wi-Fi, the kernel > log > printed something along the lines of: > > iwx0: unhandled firmware response 0x5f4/0x200c Response 0x5f4 is a "monitor notification" sent by f

Re: WiFi iwm0 crash

2023-01-02 Thread Stefan Sperling
On Sun, Jan 01, 2023 at 05:54:55PM -0800, Epix Gamor wrote: > # ISSUE > OpenBSD crashes when I try to do my WiFi. > > # WHAT I DID TO GET THE ISSUE > I installed a fresh copy of OpenBSD on my machine and the first thing > I did was to permit doas and then I want to set up my WiFi. > I’m setting up

Re: iwx(4) panic on resume after hibernation

2023-02-11 Thread Stefan Sperling
On Sat, Feb 11, 2023 at 03:40:48PM +0300, Vitaliy Makkoveev wrote: > >Synopsis:iwx(4) panic on resume after hibernation > >Category:hibernate/resume > >Environment: > System : OpenBSD 7.2 > Details : OpenBSD 7.2-current (GENERIC.MP) #1021: Sun Feb 5 > 09:52:50 MST 202

Re: iwx(4) panic on resume after hibernation

2023-02-13 Thread Stefan Sperling
On Sat, Feb 11, 2023 at 06:32:31PM +0300, Vitaliy Makkoveev wrote: > Unfortunately the diff doesn't help. I attached photos with debug > information and panic report. Based on the command code in the firmware trace the error seems to be caused by the driver sending this command: #define IWX_ADD_S

Re: iwx0 fatal firmware error - Status: 0x239, OpenBSD 7.3 #1122 2023-March-19

2023-04-03 Thread Stefan Sperling
On Mon, Apr 03, 2023 at 06:24:38PM +, miko...@kucharski.name wrote: > Apr 3 16:42:56 x1c /bsd: iwx0: begin background scan > Apr 3 16:42:57 x1c /bsd: iwx0: Start UMAC Error Log Dump: > Apr 3 16:42:57 x1c /bsd: iwx0: Status: 0x239, count: 7 > Apr 3 16:42:57 x1c /bsd: iwx0: 0x20002806 | ADVA

Re: panic: rw_enter: vmmaplk locking agaist myself

2023-06-29 Thread Stefan Sperling
On Thu, Jun 29, 2023 at 10:59:32AM +0200, Martin Pieuchot wrote: > On 28/06/23(Wed) 15:47, Moritz Buhl wrote: > > Dear bugs@, > > > > with the following snapshot I had two panics on my x270 recently. > > This is a bug in iwm(4) suggesting a missing SPL protection. > > > sysctl kern.version > > k

Re: panic: rw_enter: vmmaplk locking agaist myself

2023-06-29 Thread Stefan Sperling
On Thu, Jun 29, 2023 at 11:31:33AM +0200, Martin Pieuchot wrote: > On 29/06/23(Thu) 11:17, Stefan Sperling wrote: > > > > iwm_intr already runs at IPL_NET. What else would be required? > > Are we sure all accesses to `ic_tree' are run under KERNEL_LOCK()+splnet()? A q

Re: iwm frequent 'device timeout' error

2024-05-30 Thread Stefan Sperling
On Thu, May 30, 2024 at 09:55:00AM +0200, a...@alexis-fouilhe.fr wrote: > >Synopsis:iwm frequent 'device timeout' error > >Category:kernel > >Environment: > System : OpenBSD 7.5 > Details : OpenBSD 7.5 (GENERIC.MP) #55: Mon Mar 4 21:59:07 MST 2024 >

Re: bug with qwx

2024-06-10 Thread Stefan Sperling
On Sun, Jun 09, 2024 at 09:58:52AM +0200, BESSOT Jean-Michel wrote: > Hi > > I got the bug in the dmesg and the network doesn’t work. The bug disappeared > after a reboot. Maybe it is already fixed, the snapshot is two weeks old. > > Bye As previously discussed with you here: https://marc.info/?

Re: iwx: fatal firmware error

2024-07-22 Thread Stefan Sperling
On Sat, Jul 20, 2024 at 12:48:47AM +0100, Kirill A. Korinsky wrote: > Jul 19 11:59:10 matebook /bsd: iwx0: 0x2010350B | ADVANCED_SYSASSERT According to intel linux devs this error means we already allocated a BAID for this STA/TID and are trying to add it again. Our driver must have some race cond

Re: thinkpad t15 ax201 iwx losing connectivity after sleep

2021-04-26 Thread Stefan Sperling
On Mon, Apr 26, 2021 at 07:15:41PM +, r...@ameretat.dev wrote: > This is on current, various snapshots from first install several days > ago through today. I can trigger this mostly reliably by sleeping the > machine (zzz). It goes away if I ifconfig iwx0 down/up, or even if I > turn debug on/o

Re: panic: ieee80211_encrypt: key unset for sw crypto: 0 on 6.8-beta

2021-04-27 Thread Stefan Sperling
On Tue, Apr 27, 2021 at 06:36:32PM +, Mikolaj Kucharski wrote: > I got it again, but had official snapshot, so I don't have more info > than I had in the past, but I would like to share it anyway.. > ddb{0}> show panic > ieee80211_encrypt: key unset for sw crypto: 0 It would be nice to have m

Re: panic: ieee80211_encrypt: key unset for sw crypto: 0 on 6.8-beta

2021-04-27 Thread Stefan Sperling
On Tue, Apr 27, 2021 at 11:32:49PM +0200, Stefan Sperling wrote: > On Tue, Apr 27, 2021 at 06:36:32PM +, Mikolaj Kucharski wrote: > > I got it again, but had official snapshot, so I don't have more info > > than I had in the past, but I would like to share it anyway.. >

Re: 6.9amd64 athn(4) AR7010+AR9280 & AR9271 USB WiFi don't work in AP mode (frames corruption)

2021-05-05 Thread Stefan Sperling
On Wed, May 05, 2021 at 06:14:52PM +, Martin wrote: > Hi list, > > I use AR9280 PCIe card in AP mode for about two years in Lenovo x230 laptop > (whitelist removed). Works perfectly. > > After moving to a modern laptop there is no ability to install PCIe card into > it. > I tried to use one

Re: 6.9amd64 athn(4) AR7010+AR9280 & AR9271 USB WiFi don't work in AP mode (frames corruption)

2021-05-06 Thread Stefan Sperling
On Thu, May 06, 2021 at 01:17:48PM +, Martin wrote: > After some testing the issue is quite more complicated than expected. > > 1. Using USB dongles as AP allow connections from any device with relatively > 'old' WiFi modules installed (clients with Intel, Atheros). It works smoothly > with

Re: iwm: Fatal firmware error (could not add sta (error 35))

2021-05-07 Thread Stefan Sperling
On Thu, May 06, 2021 at 11:28:34AM +0200, Matthias Schmidt wrote: > >Synopsis:Fatal firmware error with iwm > >Environment: > System : OpenBSD 6.9 > Details : OpenBSD 6.9-current (GENERIC.MP) #4: Wed May 5 11:06:38 > MDT 2021 > > dera...@amd64.open

Re: panic: ieee80211_encrypt: key unset for sw crypto: 0 on 6.8-beta

2021-05-08 Thread Stefan Sperling
On Fri, May 07, 2021 at 10:02:56PM +, Mikolaj Kucharski wrote: > On Tue, Apr 27, 2021 at 11:32:49PM +0200, Stefan Sperling wrote: > > On Tue, Apr 27, 2021 at 06:36:32PM +, Mikolaj Kucharski wrote: > > > I got it again, but had official snapshot, so I don't have mor

Re: panic: ieee80211_encrypt: key unset for sw crypto: 0 on 6.8-beta

2021-05-08 Thread Stefan Sperling
On Fri, May 07, 2021 at 10:27:36PM +, Mikolaj Kucharski wrote: > Yes, I see ieee80211_encap: data frame for node... messages in > dmesg. Two dmesgs, from two PC Engines machines, in two different > locations, 150+km apart, below. > > Uptime of 12 minutes as hostap from pce-0041: > athn0: AR92

Re: panic: ieee80211_encrypt: key unset for sw crypto: 0 on 6.8-beta

2021-05-11 Thread Stefan Sperling
On Sun, May 09, 2021 at 08:28:14PM +, Mikolaj Kucharski wrote: > ..and in case timestamps may give a bit more clue, here is example from > one of the accesspoints: Yes, this is insightful: > # grep -F ieee80211_encap /var/log/messages > 2021-05-09T11:35:31.155Z pce-0041 /bsd: ieee80211_encap:

Re: iwm: Fatal firmware error (could not add sta (error 35))

2021-05-11 Thread Stefan Sperling
On Sun, May 09, 2021 at 02:24:08PM +0200, Matthias Schmidt wrote: > I had the Laptop running over the weekend and generated a lot of network > traffic. As you can see from the logs below, the error occurred again, > however, in a much lower frequency. Also the device recovered itself so > it was

Re: iwm: Fatal firmware error (could not add sta (error 35))

2021-05-11 Thread Stefan Sperling
On Tue, May 11, 2021 at 11:44:17AM +0200, Stefan Sperling wrote: > Can you please run with this and let me know if it changes anything? I have finally managed to reproduce the problem locally by playing around with forced background scans and roaming. This patch is a superset of the previ

Re: Strange behavior of 'sh /etc/netstart tun1' which assigns IPv4 to tun0 instead of tun1

2021-05-13 Thread Stefan Sperling
On Thu, May 13, 2021 at 10:43:59AM +, Martin wrote: > Hi list, > > 'sh /etc/netstart tun1' assign IPv4 address from '/etc/hostname.tun1' to > 'tun0' interface which must be IPv6 only instead of 'tun1' as argument of > netstart. > > # ifconfig tun0 > tun0: flags=8051< mtu 1500 > descrip

Re: iwm: Fatal firmware error (could not add sta (error 35))

2021-05-14 Thread Stefan Sperling
On Fri, May 14, 2021 at 02:39:15PM +0200, Matthias Schmidt wrote: > I am now running > > OpenBSD 6.9-current (GENERIC.MP) #17: Wed May 12 11:14:50 MDT 2021 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > which contains your described fix. Since then I occasionally

Re: Netgear AC1200 WiFi USB adapter comes up as ugen "Realtek A6150" rev 2.10/2.10 addr 9

2021-05-31 Thread Stefan Sperling
On Mon, May 31, 2021 at 06:10:22PM +0200, Peter N. M. Hansteen wrote: > I was hoping one of the existing realtek wifi drivers might do the trick > but apparently not, as of right now. > > Sendbug, pcidump and usbdevs output attached. None of the 11ac realtek adapters are supported yet. They need

Re: Netgear AC1200 WiFi USB adapter comes up as ugen "Realtek A6150" rev 2.10/2.10 addr 9

2021-05-31 Thread Stefan Sperling
On Mon, May 31, 2021 at 07:04:57PM +0200, Peter N. M. Hansteen wrote: > yes, the only reason I do not use that at the moment is that for some reason > that interface is unable to load the firmware correctly (possibly needing a > variant we have not encountered earlier). What I get is > > wx0: firm

Re:

2021-07-08 Thread Stefan Sperling
On Thu, Jul 08, 2021 at 04:00:15PM +0200, land...@asia.com wrote: > >Synopsis: > >Category: > >Environment: > System : OpenBSD 6.9 > Details : OpenBSD 6.9 (GENERIC) #4: Mon Jun 7 08:20:14 MDT 2021 > > r...@syspatch-69-amd64.openbsd.org:/usr/src/

Re: panic: config_detach: forced detach of iwm0 failed (45)

2021-08-08 Thread Stefan Sperling
On Sat, Aug 07, 2021 at 08:59:33PM -0700, Bryan Linton wrote: > On 2021-08-07 16:05:34, Bryan Linton wrote: > > >Synopsis: The system randomly panics with the message: panic: > > >config_detach: forced detach of iwm0 failed (45) > > >Category: system > > >Environment: > > System : Open

Re: panic: ieee80211_encrypt: key unset for sw crypto: 0 on 6.8-beta

2021-08-11 Thread Stefan Sperling
On Tue, Aug 10, 2021 at 10:47:45PM +, Mikolaj Kucharski wrote: > Just got kernel panic, with above change committed while ago, panic says > now: > > ieee80211_encrypt: key unset for sw crypto: id=0 cipher=0 flags=0x0 This looks like we're trying to use a key which has been zeroed out. I am no

Re: Firefox 88.0.1 needs codecs, impossible to watch videos/movies.

2021-09-12 Thread Stefan Sperling
On Sun, Sep 12, 2021 at 03:03:30PM +, macondo wrote: > http://www.fmovies.toerror code 102630 > http://www.aljazeera.comerror code: media_err_src_not_supported > http://www.bbc.comsame > >From Firefox:To play video you may need to install the required video codecs. This should fix it: pkg_add

Re: loosing wifi connecton

2021-09-24 Thread Stefan Sperling
On Sun, Sep 19, 2021 at 03:10:01PM +0200, BESSOT Jean-Michel wrote: > Hello > > Here is the problem, I loose the wifi connection after some time on my > computer . Mostly when I use a cvs -q up -Pd or a  pkg_add -ui.. I get the > error message: > > iwm0: device timeout > > It gets back after som

Re: loosing wifi connecton

2021-09-24 Thread Stefan Sperling
On Fri, Sep 24, 2021 at 06:34:42PM +0200, BESSOT Jean-Michel wrote: > Hello > > I didi test your patch. I run a bkg_add -ui without timeout error now. I > continue to test to see if it wasn't luck but your patch probably fixed the > bug. > > Thank you > > bye Thanks, I have committed the patch.

Re: panic: ieee80211_encrypt: key unset for sw crypto: 0 on 6.8-beta

2021-09-25 Thread Stefan Sperling
On Sat, Sep 25, 2021 at 02:03:40AM +, Mikolaj Kucharski wrote: > I've added more info, probably mainly for myself. I'm not sure where to > go with this information yet. We need to figure out what makes this code use a group key which has been cleared. Please add printfs for lines of code whic

Re: revert to pre-fragattack iwm firmware to fix hw rev 0x210 / AC 7265 on X1 gen3

2021-10-03 Thread Stefan Sperling
On Sun, Oct 03, 2021 at 09:35:37AM +0200, Landry Breuil wrote: > Hi, > > i've been having iwm(4) instability on a X1 Gen3 issues since july > (symptom/reproducer: unable to fetch base70.tgz, stalls after 100Mb and link > goes down, ifconfig up/down/reassoc 'resolves' it - pkg_add -u also fails >

Re: iwm sporadically disconnects since OpenBSD 7.0

2021-10-17 Thread Stefan Sperling
On Sun, Oct 17, 2021 at 08:46:47PM +0200, Richard Ulmer wrote: > >Synopsis:iwm sporadically disconnects WI-FI connection > >Category:system > >Environment: > System : OpenBSD 7.0 > Details : OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT > 2021 >

Re: iwm sporadically disconnects since OpenBSD 7.0

2021-10-17 Thread Stefan Sperling
On Mon, Oct 18, 2021 at 12:07:43AM +0200, Stefan Sperling wrote: > On Sun, Oct 17, 2021 at 08:46:47PM +0200, Richard Ulmer wrote: > > >Synopsis: iwm sporadically disconnects WI-FI connection > > >Category: system > > >Environment: > > System : OpenB

Re: iwm sporadically disconnects since OpenBSD 7.0

2021-10-18 Thread Stefan Sperling
On Mon, Oct 18, 2021 at 07:14:57PM +0200, Richard Ulmer wrote: > > Something else you could try is downgrading the firmware image. > > This can be done without patching the kernel by swapping out the > > firmware file: > > > > mv /etc/firmware/iwm-7265D-29 /etc/firmware/iwm-7265D-29.orig > > c

Re: installboot fails where upgrading to 5.3 (and 5.2) with softraid RAID 1

2013-05-14 Thread Stefan Sperling
On Sun, May 12, 2013 at 05:27:31PM +0200, giann...@neomedia.it wrote: > I had to go to "/dev" and execute "sh /dev/MAKEDEV" with all the sd0, sd1, > sd2, sd3, sd4 (maybe only sd2 was required), and then restart the upgrade > script. That's somewhat expected. The installer doesn't support softra

Re: installboot fails where upgrading to 5.3 (and 5.2) with softraid RAID 1

2013-05-14 Thread Stefan Sperling
On Tue, May 14, 2013 at 12:16:57PM +0200, Federico Giannici wrote: > Apart from the MAKEDEV of the missing disk devices, the upgrade > script apparently worked correctly in two amd64 PCs with softraid 1 > boot. Yes, I believe that works. installboot will already handle what's needed so the upgrade

Re: ls(1) prints non-ascii characters as the character '?'

2013-08-30 Thread Stefan Sperling
On Fri, Aug 30, 2013 at 02:45:25PM +0200, Piotr Durlej wrote: > ls(1) prints non-ascii characters as the character '?' despite of > LC_ALL and/or LC_CTYPE being set in the environment. > > Here is a diff: > > http://www.durlej.net/diffs/ls.diff That patch doesn't work for multibyte characters.

malloc panic during shutdown on amd64

2013-10-10 Thread Stefan Sperling
I got the panic below on a -current amd64 system. It happened after triggering a shutdown from the menu in GNOME 3.10. It looks like a use after free and I haven't got the faintest idea what the reason could be. I'm copying it here in case it means anything to anyone. The system was built from -c

Re: athn0: device timeout with the last 2 snapshots

2013-11-14 Thread Stefan Sperling
On Thu, Nov 14, 2013 at 09:25:40PM +0100, vigdis+o...@chown.me wrote: > >Synopsis:athn timeout Category: athn timeout Environment: > System : OpenBSD 5.4 Details : OpenBSD 5.4-current > (GENERIC.MP) #150: Thu Nov 14 00:30:57 MST 2013 > dera...@amd64.openbsd.org:/usr/

panic in rt_missmsg()

2013-11-30 Thread Stefan Sperling
This happened shortly after unplugging a cardbus ral(4) card without bringing it down first. vm_fault(0xd0af91a0, 0xd41f2000, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rt_missmsg+0x79:movzwl 0x58(%ebx),%eax ddb{0}> trace rt_missmsg(5, f5c7de14,802,d41f2030,0) at rt_missms

net80211 panic: bogus xmit rate 9 setup

2013-11-30 Thread Stefan Sperling
I have already fixed a similar problem before: revision 1.72 date: 2012/08/17 14:49:17; author: stsp; state: Exp; lines: +2 -1; Fix possible panic while switching from STA mode into hostap/ibss modes. ieee80211_create_ibss() resets the set of supported rates but fai

Re: missing packets when not in promiscuous mode

2014-01-10 Thread Stefan Sperling
On Sun, Jan 05, 2014 at 11:35:51AM +0100, Petr Hoffmann wrote: > >Synopsis: missing packets when not in promiscuous mode > >Category: kernel > >Environment: > System : OpenBSD 5.4 > Details : OpenBSD 5.4-stable (GENERIC.MP) #0: Thu Jan 2 > 07:25:09 CET 2014 >

Re: missing packets when not in promiscuous mode

2014-01-16 Thread Stefan Sperling
Ping. I haven't heard from Petr yet. Does anyone else want to review/test/ok this? On Fri, Jan 10, 2014 at 01:20:41PM +0100, Stefan Sperling wrote: > On Sun, Jan 05, 2014 at 11:35:51AM +0100, Petr Hoffmann wrote: > > >Synopsis: missing packets when not in promiscuous m

<    1   2   3   4   5