Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Looking for various wifi hardware

On Fri, 29 Oct 2021 at 10:33, Martin Husemann <> wrote:
> On Thu, Oct 28, 2021 at 02:00:23PM +0100, Chavdar Ivanov wrote:
> > > This page points to the
> > > page, which shows
> > >
> > > hg clone
> >
> > After I got it, I tried to build kernel and modules; the modules build
> > failed in some usb-based module; I then tried just to build a kernel
> > (all that after 'hg up wifi' reported some 260 modified files). The
> > failure was in  src-draft/sys/dev/ic/an.c and the error messages all
> Not all drivers have been converted yet (else we would quickly merge
> the branch ;-})
> The wiki page cited by Patrick above says "not ready for general testing",
> and that is true.
> But:
> has instructions what you need to exclude from evbarm kernels, I guess
> I should add the similar list from the SEVEN_WIFI kernel config and instead
> switch over to use GENERIC for testing on amd64 too.

I tried first with GENERIC, but could not find a way to exclude the failing
/home/xci/src-draft/sys/dev/ic/arn5008.c:855:37: error: passing
argument 1 of 'ieee80211_notify_michael_failure' from incompatible
pointer type [-Werror=incompatible-pointer-types]
/home/xci/src-draft/sys/dev/ic/arn5008.c:871:7: error: 'struct
ieee80211com' has no member named 'ic_stats'; did you mean 'ic_sta'?
/home/xci/src-draft/sys/dev/ic/arn5008.c:932:41: error: macro
"ieee80211_input" passed 5 arguments, but takes just 4

Then I noticed there was a TESTWIFI configuration; I had to comment
out some 8 or so lines, as either the devices were unknown or they
could not attach to the corresponding busses; this now failed with:

#      link  TESTWIFI/netbsd
/home/xci/hg/src-draft/../tools/bin/x86_64--netbsd-ld -Map
--cref -T netbsd.ldscript -Ttext 0xffffffff80200000 -e start -z
max-page-size=0x200000 -X -o netbsd ${SYSTEM_OBJ:[@]:Nswapnetbsd.o}
${EXTRA_OBJ} vers.o swapnetbsd.o
ioconf.o:(.rodata+0x130): undefined reference to `stripattach'

This is all on amd64 -current from yesterday.

> Martin


Home | Main Index | Thread Index | Old Index