Hi bluhm,

Find below the output from dmesg(8) after setting kern.splassert=2. I
hope it helps.

Best regards,

Xavi

--

OpenBSD 7.5 (GENERIC) #175: Wed Mar 20 16:33:37 MDT 2024
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
real mem  = 167198720 (159MB)
avail mem = 146935808 (140MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 04/10/00, BIOS32 rev. 0 @ 0xfd7b0, SMBIOS rev. 2.1 @ 
0xf28e0 (4 entries)
bios0: vendor TOSHIBA version "1.04.ROM" date 04/10/2000
bios0: TOSHIBA S1620CDS/4GB
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP
acpi0: wakeup devices MODM(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiec0 at acpi0
acpibtn0 at acpi0: LID_
acpibat0 at acpi0: BAT0 model "N5188 " serial 3658Q type NiMH  oem "TOSHIBA"
acpiac0 at acpi0: AC unit online
"PNP0A03" at acpi0 not configured
"PNP0A05" at acpi0 not configured
"PNP0501" at acpi0 not configured
acpicmos0 at acpi0
"PNP0C0B" at acpi0 not configured
acpicpu0 at acpi0: C1(@1 halt!)
acpipwrres0 at acpi0: PFAN, resource for FAN_
acpitz0 at acpi0: critical temperature is 94 degC
bios0: ROM list: 0xc0000/0xb800
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD-K6(tm)-III Processor ("AuthenticAMD" 586-class) 475 MHz, 05-0d-04
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX,3DNOW2,3DNOW
mtrr: K6-family MTRR support (2 registers)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Acer Labs M1541 PCI" rev 0x04
aliagp0 at pchb0
agp0 at aliagp0: aperture at 0xe0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Acer Labs M5243 AGP/PCI-PCI" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mach64" rev 0xdc
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cbb0 at pci0 dev 4 function 0 "TI PCI1420 CardBus" rev 0x00: irq 11
cbb1 at pci0 dev 4 function 1 "TI PCI1420 CardBus" rev 0x00: irq 11
pcib0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x0a
clct0 at pci0 dev 8 function 0 "Cirrus Logic CS4281 CrystalClear" rev 0x01: irq 
11
ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
audio0 at clct0
pciide0 at pci0 dev 15 function 0 "Acer Labs M5229 IDE" rev 0x20: DMA, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <SINTECHI HighSpeed SD to CF Adapter V1.0>
wd0: 1-sector PIO, LBA, 15001MB, 30723072 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <MITSUMI, CD-ROM SR242S !A, z04G> removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
vendor "Rockwell", unknown product 0x2013 (class communications subclass 
miscellaneous, rev 0x01) at pci0 dev 16 function 0 not configured
alipm0 at pci0 dev 17 function 0 "Acer Labs M7101 Power" rev 0x09: SMBus 
disabled
ohci0 at pci0 dev 19 function 0 "Acer Labs M5237 USB" rev 0x03: irq 9, version 
1.0, legacy support
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Acer Labs OHCI root hub" rev 
1.00/1.00 addr 1
zyd0 at uhub0 port 1 configuration 1 interface 0 "ZyDAS USB2.0 WLAN" rev 
2.00/48.10 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (07e6a4778851a3a7.a) swap on wd0b dump on wd0b
zyd0: HMAC ZD1211B, FW 47.25, RF AL2230, PA 0, address 00:02:72:65:7b:97
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
splassert: ieee80211_free_node: want 96 have 48
splassert: ieee80211_free_node: want 96 have 48
splassert: ieee80211_free_node: want 96 have 48
splassert: ieee80211_free_node: want 96 have 48
splassert: ieee80211_free_node: want 96 have 48
splassert: ieee80211_free_node: want 96 have 48
Starting stack trace...
splassert_check(60,30) at splassert_check+0x38
splassert_check(60,d0c24f92) at splassert_check+0x38
ieee80211_free_node(d17f3030,d1bc7000) at ieee80211_free_node+0x2c
ieee80211_node_choose_bss(d17f3030,0,f2743428) at ieee80211_node_choose_bss+0x89
ieee80211_end_scan(d17f3030) at ieee80211_end_scan+0x202
zyd_next_scan(d17f3000) at zyd_next_scan+0x18
softclock_process_tick_timeout(d17f45e0,0) at 
softclock_process_tick_timeout+0xe7
softclock(0) at softclock+0xe0
softintr_dispatch(0) at softintr_dispatch+0x7b
Xsoftclock() at Xsoftclock+0x12
Xspllower() at Xspllower+0xe
End of stack trace.
splassert: ieee80211_free_node: want 96 have 48
Starting stack trace...
splassert_check(60,30) at splassert_check+0x38
splassert_check(60,d0c24f92) at splassert_check+0x38
ieee80211_free_node(d17f3030,d1bc7000) at ieee80211_free_node+0x2c
ieee80211_node_choose_bss(d17f3030,0,f29c8040) at ieee80211_node_choose_bss+0x89
ieee80211_end_scan(d17f3030) at ieee80211_end_scan+0x202
zyd_next_scan(d17f3000) at zyd_next_scan+0x18
softclock_process_tick_timeout(d17f45e0,0) at 
softclock_process_tick_timeout+0xe7
softclock(0) at softclock+0xe0
softintr_dispatch(0) at softintr_dispatch+0x7b
Xsoftclock() at Xsoftclock+0x12
end of kernel
End of stack trace

On 10/7/24 20:57, Alexander Bluhm wrote:
> On Wed, Jul 10, 2024 at 05:47:23PM +0200, Xavier Del Campo Romero wrote:
>>      splassert: ieee80211_free_node: want 96 have 48
> 
> Set sysctl kern.splassert=2 then there will be stack trace in dmesg.
> With that information you problem will be easier to debug.
> 
> The splassert message shows a bug.  I don't know if it related to
> the dropped connection.
> 
> bluhm

Attachment: OpenPGP_0x84FF3612A9BF43F2.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to