Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ioctl invalid argument
On Wed, Oct 09, 2024 at 07:26:23AM +0000, pin wrote:
> On Wednesday, October 9th, 2024 at 8:27 AM, Martin Husemann <martin%duskware.de@localhost> wrote:
>
> > On Wed, Oct 09, 2024 at 05:58:13AM +0000, pin wrote:
> >
> > > Hi,
> > >
> > > Recently, every time I reboot my laptop or, restart wpa_supplicant I get:
> > >
> > > ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
> > > ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
> >
> >
> > This is strange - the only way I see it would happen is if the size of
> > the ieee80211req_del_key structure in your kernel would differ from the
> > version wpa_supplicant compiles.
>
> Hi Martin,
> Thank you for your reply
>
> > On amd64 for me the kernel uses (as expected) 7 bytes:
> >
> > gdb netbsd.gdb
> > [...]
> > (gdb) p sizeof(struct ieee80211req_del_key)
> > $1 = 7
> >
> >
> > and the same is true for wpa_supplicant:
> >
> > gdb wpa_supplicant
> > [...]
> > Reading symbols from wpa_supplicant...
> > Reading symbols from /usr/libdata/debug//usr/sbin/wpa_supplicant.debug...
> > (gdb) p sizeof(struct ieee80211req_del_key)
> > $1 = 7
> >
> >
> > Are you using some special compiler flags for either the kernel or userland?
>
> No, I always download a new image and use synsinst to upgrade.
> So both kernel and userland are default from the install image.
>
> gdb doesn't tell me anything as I don't have the debug set right now,
> on both cases I get
>
> No struct type named ieee80211req_del_key.
>
> Maybe, I should just upgrade using a more recent image.
> If this persists I could grab the debug set for that.
FWIW I see the same problem. (standard issue -current/amd64)
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index