On 7 March 2015 at 01:18, Michael <lesniewskis...@gmail.com> wrote:
>> I think this is how a null-pointer call shows up in ddb.
>>
>> Does the diff below help?
>>
> <snip>
>
> Perfect! That stopped the uvm_fault occuring, scanning now works well;
> however when actually connecting to an AP I get a number of
> bwi0: watchdog timeout
> I will re-add in the debug code that Stefan provided before and post
> another dmesg tomrrow unless different debug code would be needed for
> a watchdog timeout error?

So here is the mentioned bootup/dmesg output with Stefans debug patch,
where the <snip> in this output is, is just me typing in the command
to shutdown as it is quite hard to work with the system with the
number of messages being printed. After the snip is the bit of output
before a shutdown with a different timeout message, wasn't sure if it
was related but figure it'd be better to include it.
Let me know if you need anything further.

>> OpenBSD/i386 BOOT 3.26
boot>
booting hd0a:/bsd: 9785820+1068236 [72+409696+404353]=0xb20c70
entry point at 0x200120

[ using 814536 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.7 (GENERIC) #8: Sat Mar  7 13:49:51 NST 2015
    r...@lucy.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz ("GenuineIntel"
686-class) 2 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,CNXT-ID,PERF
real mem  = 804675584 (767MB)
avail mem = 779149312 (743MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 01/07/04, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev.
2.3 @ 0xf76a0 (62 entries)
bios0: vendor Dell Computer Corporation version "A13" date 01/07/2004
bios0: Dell Computer Corporation Latitude C840
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP
acpi0: wakeup devices LID_(S3) PBTN(S4) PCI0(S3) UAR1(S3) USB0(S1)
USB1(S1) USB2(S1) MODM(S3) PCIE(S3) MPCI(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (PCIE)
acpiprt3 at acpi0: bus -1 (MPCI)
acpicpu0 at acpi0acpicpu0: struck PSS entry, core frequency equals  last
acpicpu0: struck PSS entry, core frequency equals  last
acpicpu0: invalid _PSS length
: C2
acpipwrres0 at acpi0: PADA, resource for ADPT
acpitz0 at acpi0: critical temperature is 94 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
bios0: ROM list: 0xc0000/0xf800 0xcf800/0x800!
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x04
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x04
pci1 at ppb0 bus 1
1:0:0: mem address conflict 0x80000000/0x20000
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce4 440 Go" rev 0xa3
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801CA/CAM USB" rev 0x02: irq 11
uhci1 at pci0 dev 29 function 2 "Intel 82801CA/CAM USB" rev 0x02: irq 11
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x42
pci2 at ppb1 bus 2
xl0 at pci2 dev 0 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq
11, address 00:0b:db:1e:b3:e4
exphy0 at xl0 phy 24: 3Com internal media interface
cbb0 at pci2 dev 1 function 0 "TI PCI4451 CardBus" rev 0x00: irq 11
cbb1 at pci2 dev 1 function 1 "TI PCI4451 CardBus" rev 0x00: irq 11
"TI PCI4451 FireWire" rev 0x00 at pci2 dev 1 function 2 not configured
bwi0 at pci2 dev 3 function 0 "Broadcom BCM4306" rev 0x02: irq 11
bwi0: bwi_power_on
bwi0: regwin: type 0x800, rev 2, vendor 0x4243
bwi0: BBP id 0x4306, BBP rev 0x2, BBP pkg 0
bwi0: nregwin 6, cap 0x0000002a
bwi0: regwin: type 0x812, rev 4, vendor 0x4243
bwi0: has TX stats
bwi0: regwin: type 0x80d, rev 1, vendor 0x4243
bwi0: regwin: type 0x807, rev 1, vendor 0x4243
bwi0: regwin: type 0x804, rev 7, vendor 0x4243
bwi0: regwin: type 0x812, rev 4, vendor 0x4243
bwi0: ignore second MAC
bwi0: bwi_power_on
bwi0: bus rev 0
bwi0: PCI is enabled
bwi0: card flags 0x000f
bwi0: 0th led, act 2, lowact 0
bwi0: 1th led, act 5, lowact 0
bwi0: 2th led, act 4, lowact 0
bwi0: 3th led, act 0, lowact 0
bwi0: MAC was already disabled
bwi0: PHY is linked
bwi0: PHY type 2, rev 1, ver 1
bwi0: RF manu 0x17f, type 0x2050, rev 2
bwi0: bus rev 0
bwi0: PHY is linked
bwi0: 30bit bus space
bwi0: max txpower from sprom: 57 dBm
bwi0: invalid antenna gain in sprom
bwi0: ant gain 8 dBm
bwi0: region/domain max txpower 76 dBm
bwi0: max txpower 57 dBm
bwi0: sprom idle tssi: 0x003e
bwi0: TSSI-TX power map:
71 71 70 70 70 70 70 69
69 69 69 69 68 68 68 67
67 67 66 66 66 66 65 65
65 64 64 64 63 63 63 62
61 61 61 60 59 59 58 57
57 55 55 54 53 52 51 50
49 48 47 44 43 42 39 37
35 32 29 26 22 18 14 8
bwi0: idle tssi0: 62
bwi0: bus rev 0
bwi0: bwi_power_off
bwi0: locale: 0
, address 00:90:4b:72:9f:fd
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 4 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0x20
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801CAM LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801CAM IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: <Hitachi HTS541680J9AT00>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N102> ATAPI
5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
auich0 at pci0 dev 31 function 5 "Intel 82801CA/CAM AC97" rev 0x02:
irq 11, ICH3 AC97
ac97: codec id 0x4352595b (Cirrus Logic CS4205 rev 3)
ac97: codec features mic channel, tone, simulated stereo, bass boost,
20 bit DAC, 18 bit ADC, SRS 3D
audio0 at auich0
"Intel 82801CA/CAM Modem" rev 0x02 at pci0 dev 31 function 6 not configured
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
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
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pms0: ALPS Dualpoint, version 0x2222
wsmouse1 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (baedea217d05b050.a) swap on wd0b dump on wd0b
Automatic boot in progress: starting file system checks.
/dev/wd0a (baedea217d05b050.a): file system is clean; not checking
/dev/wd0k (baedea217d05b050.k): file system is clean; not checking
/dev/wd0d (baedea217d05b050.d): file system is clean; not checking
/dev/wd0f (baedea217d05b050.f): file system is clean; not checking
/dev/wd0g (baedea217d05b050.g): file system is clean; not checking
/dev/wd0h (baedea217d05b050.h): file system is clean; not checking
/dev/wd0j (baedea217d05b050.j): file system is clean; not checking
/dev/wd0i (baedea217d05b050.i): file system is clean; not checking
/dev/wd0e (baedea217d05b050.e): file system is clean; not checking
setting tty flags
pf enabled
machdep.allowaperture: 0 -> 2
starting network
bwi0: bwi_init_statechg
bwi0: bwi_stop
bwi0: bwi_power_on
bwi0: bbp atten: 0, rf atten: 3, ctrl1: 2, ctrl2: 65535
bwi0: bus rev 0
bwi0: MAC is disabled
bwi0: MAC was already disabled
bwi0: PHY is linked
bwi0: bus rev 0
bwi0: PHY is unlinked
bwi0: RF calibration value: 0x003e
bwi0: bwi_rf_lo_update_11g
bwi0: bus rev 0
bwi0: PHY is linked
bwi0: loaded firmware file ucode4.fw
bwi0: loaded firmware file pcm4.fw
bwi0: loaded firmware file b0g0initvals2.fw
bwi0: firmware rev 0x0127, patch level 0x000e
bwi0: IV count 438
bwi0: base tssi 49
bwi0: bwi_mac_set_ackrates
bwi0: bwi_power_on
bwi0: bwi_mac_updateslot
bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: no link .....bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
.bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
.bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
.bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
.bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
.bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
 sleeping
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_encap
bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
xl0: no link .....bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
.bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
.bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi0: watchdog timeout
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
.bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
.bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
..bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
 sleeping
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
savecore: no corbwi_intr
bwi0: intr status 0x00008000
e dump
checkingbwi_intr
bwi0: intr status 0x00008000
 quotas:bwi_intr
bwi0: intr status 0x00008000
 done.
bwi_intr
bwi0: intr status 0x00008000
clearing /tmp
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
starting network daemons: sshd smtpd sndiod.
starting local dbwi_intr
bwi0: intr status 0x00008000
aemons: apmd cron.
bwi0: bwi_updateslot
bwi0: bwi_mac_updateslot
Sat Mar  7 15:27bwi_intr
bwi0: intr status 0x00008000
:42 NST 2015
bwi_intr
bwi0: intr status 0x00008000
bwi_intr

<snip>

syncing disks... bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
bwi_intr
bwi0: intr status 0x00008000
done
bwi0: bwi_stop
bwi0: wait for TX ring(1) stable timed out
bwi0: bus rev 0
bwi0: bwi_power_off

Reply via email to