Looking for various wifi hardware

2021-10-27 Thread Martin Husemann
Hey folks,

I am still working on wlan enhancements and would like to get more different
chipsets localy testable in my hands.

I have a list of all our wlan drivers and the ones I have already marked
here:

https://wiki.NetBSD.org/Driver_state_matrix/

As you can see I lack most of the USB chipsets, mostly because it is
not easy to order "by chipset name". If you have any pointers, please
contact me off-list.

I'm also interested in PCI and PCIe cards (but only have limited test
slots available).

If you happen to have any spare pcmcia or cardbus cards and could ship them
within Europe (and don't need them back) please also contact me off-list.

Martin


Re: Raspberry Pi camera under NetBSD current

2021-10-27 Thread Michael van Elst
dty...@anduin.org.uk (Dave Tyson) writes:

>I have been trying to get the raspberry pi camera to work on a model B under a 
>recent current snapshot. 

> NetBSD 9.99.88 (RPI) #0: Fri Sep 24 18:47:29 UTC 2021
> mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/evbarm/compile/RPI

>As standard booting off the sdcard works fine with the default config.txt,
>but to use the camera you need to modify this to add  start_x=1 and set the 
>gpu mem to 128.  With the changed options you need different microcode files 
>in the /boot partition start_x.elf and fixup_x.dat. NetBSD doesn't supply 
>these, but I pulled versions from the git repository.

>The problem is that the system boots, but fails to attach the sdcard and thus 
>cannot find root,


I just tried this with an older 9.99.81 installation on a RPI3b+
and a recent snapshot of the firmware files (around August) and
NetBSD boots without a problem.

Trying to access the camera with raspistill however ends in a crash
in the vchiq driver.



Re: Raspberry Pi camera under NetBSD current

2021-10-27 Thread Dave Tyson
On Wednesday 27 Oct 2021 18:28:31 Michael van Elst wrote:
> dty...@anduin.org.uk (Dave Tyson) writes:
> >I have been trying to get the raspberry pi camera to work on a model B
> >under a recent current snapshot.
> >
> > NetBSD 9.99.88 (RPI) #0: Fri Sep 24 18:47:29 UTC 2021
> > mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/evbarm/compile/RPI
> >
> >As standard booting off the sdcard works fine with the default config.txt,
> >but to use the camera you need to modify this to add  start_x=1 and set the
> >gpu mem to 128.  With the changed options you need different microcode
> >files in the /boot partition start_x.elf and fixup_x.dat. NetBSD doesn't
> >supply these, but I pulled versions from the git repository.
> >
> >The problem is that the system boots, but fails to attach the sdcard and
> >thus cannot find root,
> 
> I just tried this with an older 9.99.81 installation on a RPI3b+
> and a recent snapshot of the firmware files (around August) and
> NetBSD boots without a problem.
> 
> Trying to access the camera with raspistill however ends in a crash
> in the vchiq driver.

Thanks for the data point. I guess there may be significant differences in the 
microcode files between the RPI1B and RPI3b+, but at least the kernel loaded 
OK for you so the sdcard driver works. I have turned on debugging for the 
broadcom sdcard hooks and got a few hints as to where the problem lies - but 
need to look closely at the source to pin point the failure. Of course, even 
if I can get further I may still suffer the same crash with raspistill. 
FreeBSD works OK and I can get pictures, so I know it is achievable.

Dave 


WDCTL_RST failed for drive 0

2021-10-27 Thread Jun Ebihara
on booting amd64/(Bay Trail),
autoconfiguration error: ahcisata0 port 0: setting WDCTL_RST failed for drive 0
occurs.

between
NetBSD 9.99.91 (GENERIC) #0: Tue Oct 12 19:57:53 UTC 2021 OK
NetBSD 9.99.92 (GENERIC) #0: Mon Oct 25 20:32:38 UTC 2021 Failed 

ahcisata0 port 0: device present, speed: 3.0Gb/s
+autoconfiguration error: ahcisata0 port 0: setting WDCTL_RST failed for drive 0
 wd0 at atabus0 drive 0
-wd0: 
-wd0: drive supports 16-sector PIO transfers, LBA48 addressing
-wd0: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512 bytes/sect x 3907029168 
sectors (4096 bytes/physsect; first aligned sector: 8)
-wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), 
WRITE DMA FUA, NCQ (32 tags)
-wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) 
(using DMA), NCQ 
(31 tags)

+acpibut0 at acpi0 (PWRB, PNP0C0C): 737803] autoconfiguration error: ahcisata0 
port 0: setting WDCTL_RST failed for drive 0
+wd0: autoconfiguration error: IDENTIFY failed
+wd0: fixing 0 sector size

--
Jun Ebihara


daily CVS update output

2021-10-27 Thread NetBSD source update


Updating src tree:
P src/distrib/sets/lists/comp/shl.mi
P src/external/cddl/osnet/dist/lib/libzpool/common/kernel.c
P src/lib/libc/net/getaddrinfo.c
P src/lib/libc/sys/__sigaction14_sigtramp.c
P src/lib/libc/time/localtime.c
P src/share/mk/bsd.README
P src/share/mk/bsd.lib.mk
P src/sys/arch/aarch64/aarch64/netbsd32_machdep.c
P src/sys/arch/aarch64/aarch64/sig_machdep.c
P src/sys/arch/aarch64/include/signal.h
P src/sys/arch/alpha/alpha/compat_16_machdep.c
P src/sys/arch/amd64/amd64/netbsd32_machdep.c
P src/sys/arch/amd64/amd64/netbsd32_machdep_16.c
P src/sys/arch/amd64/include/signal.h
P src/sys/arch/arm/arm/compat_16_machdep.c
P src/sys/arch/hppa/hppa/locore.S
P src/sys/arch/hppa/hppa/sig_machdep.c
cvs update: `src/sys/arch/hppa/hppa/sigcode.S' is no longer in the repository
P src/sys/arch/i386/i386/compat_16_machdep.c
P src/sys/arch/m68k/m68k/compat_16_machdep.c
P src/sys/arch/mips/mips/compat_16_machdep.c
P src/sys/arch/mips/mips/netbsd32_machdep.c
P src/sys/arch/mips/mips/netbsd32_machdep_16.c
P src/sys/arch/powerpc/include/pcb.h
P src/sys/arch/powerpc/include/signal.h
P src/sys/arch/powerpc/powerpc/compat_16_machdep.c
P src/sys/arch/powerpc/powerpc/sig_machdep.c
P src/sys/arch/sh3/sh3/compat_16_machdep.c
P src/sys/arch/sparc/sparc/compat_16_machdep.c
P src/sys/arch/sparc/sparc/machdep.c
P src/sys/arch/sparc64/sparc64/compat_16_machdep.c
P src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
P src/sys/arch/sparc64/sparc64/netbsd32_machdep_16.c
P src/sys/arch/vax/include/signal.h
P src/sys/arch/vax/vax/sig_machdep.c
P src/sys/arch/x86/pci/dwiic_pci.c
P src/sys/arch/x86/x86/cpu_topology.c
P src/sys/compat/linux/arch/amd64/linux_machdep.c
P src/sys/compat/linux/common/linux_signal.c
P src/sys/conf/Makefile.kern.inc
P src/sys/dev/pci/ichsmb.c
P src/sys/dev/pci/if_vioif.c
P src/sys/dev/pci/pcidevs
P src/sys/dev/pci/pcidevs.h
P src/sys/dev/pci/pcidevs_data.h
P src/sys/dev/pci/virtio.c
P src/sys/dev/pci/virtio_pci.c
P src/sys/dev/pci/virtiovar.h
P src/sys/kern/kern_sig.c
P src/sys/kern/sys_sig.c
P src/sys/lib/libkern/Makefile.libkern
P src/sys/sys/signal.h
P src/sys/uvm/pmap/pmap_tlb.c
P src/tests/usr.bin/pwhash/t_pwhash.sh
P src/usr.sbin/cpuctl/arch/i386.c

Updating xsrc tree:


Killing core files:




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  47551932 Oct 28 03:03 ls-lRA.gz