Hi,
When doing a scan or bringing up the bwi0 interface a uvm fault occurs.
This is always repeatable and nothing specific has to be set.
Have a boot dump from the same crash before this one if needed.
----
sudo ifconfig bwi0 scan
bwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:90:4b:72:9f:fd
priority: 4
groups: wlan
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid ""
uvm_fault(0xd211ab40, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at 0:uvm_fault(0xd211ab40, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at db_read_bytes+0x17: movzbl 0(%esi,%ecx,1),%eax
----
sudo ifconfig bwi0 up
uvm_fault(0xd211a090, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at 0:uvm_fault(0xd211a090, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at db_read_bytes+0x17: movzbl 0(%esi,%ecx,1),%eax
----
ps output
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
*15136 6265 15136 0 7 0x3 ifconfig
6265 1 6265 1000 3 0x8b pause ksh
18552 1 18552 0 3 0x80 poll cron
22718 11308 11308 95 3 0x90 kqread smtpd
15221 11308 11308 95 3 0x90 kqread smtpd
27655 11308 11308 95 3 0x90 kqread smtpd
29322 11308 11308 95 3 0x90 kqread smtpd
15526 11308 11308 95 3 0x90 kqread smtpd
321 11308 11308 103 3 0x90 kqread smtpd
11308 1 11308 0 3 0x80 kqread smtpd
29729 1 29729 0 3 0x80 select sshd
26808 17763 24559 83 3 0x90 poll ntpd
17763 24559 24559 83 3 0x90 poll ntpd
24559 1 24559 0 3 0x80 poll ntpd
23526 14092 14092 74 3 0x90 bpf pflogd
14092 1 14092 0 3 0x80 netio pflogd
17811 15746 15746 73 2 0x90 syslogd
15746 1 15746 0 3 0x80 netio syslogd
14555 1 14555 77 3 0x90 poll dhclient
16744 1 16744 0 3 0 biowait dhclient
5232 0 0 0 3 0x14200 pgzero zerothread
22289 0 0 0 3 0x14200 aiodoned aiodoned
8005 0 0 0 3 0x14200 syncer update
4115 0 0 0 3 0x14200 cleaner cleaner
31998 0 0 0 3 0x14200 reaper reaper
23513 0 0 0 3 0x14200 pgdaemon pagedaemon
5155 0 0 0 3 0x14200 bored crypto
25457 0 0 0 3 0x14200 pftm pfpurge
28643 0 0 0 3 0x14200 bored systqmp
10239 0 0 0 3 0x14200 bored systq
20780 0 0 0 3 0x40014200 idle0
5455 0 0 0 3 0x14200 kmalloc kmthread
1 0 1 0 3 0x82 wait init
0 -1 0 0 3 0x10200 scheduler swapper
----
trace output
ddb> trace
db_read_bytes(0,1,f116aae0,0,f116aaf0) at db_read_bytes+0x17
db_get_value(0,1,0,0,d09e187a) at db_get_value+0x38
db_disasm(0,0,d03cc480,d03cc4a5,d09b68d8,f116abb0,0,0,f116abb0) at db_disasm+0x
31
db_print_loc_and_inst(0,f116abc8,f116abd4,d03cc4a5,d09e186b) at db_print_loc_an
d_inst+0x3e
db_trap(6,0,58,0,f116ac10) at db_trap+0x89
kdb_trap(6,0,f116ac80,1,e) at kdb_trap+0xcc
trap() at trap+0x2e5
--- trap (number 0) ---
Bad frame pointer: 0xd0f69000
0:
----
dmesg
OpenBSD 5.7-beta (GENERIC) #714: Tue Feb 17 12:45:41 MST 2015
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am5x86 W/B 133/160 ("AuthenticAMD" 486-class)
cpu0: FPU
real mem = 66600960 (63MB)
avail mem = 53186560 (50MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 20/80/03, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 steppi
ng 1.1, CPU clock 133MHz, reset 40<SCP>
gpio0 at elansc0: 32 pins
bwi0 at pci0 dev 16 function 0 "Broadcom BCM4306" rev 0x02: irq 10, address 00:
90:4b:72:9f:fd
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 11, a
ddress 00:00:24:c4:e7:60
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 5, a
ddress 00:00:24:c4:e7:61
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 9, a
ddress 00:00:24:c4:e7:62
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFH-004G>
wd0: 1-sector PIO, LBA48, 3815MB, 7813120 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (cbaa94e16775c203.a) swap on wd0b dump on wd0b
uvm_fault(0xd211a090, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at 0: uvm_fault(0xd211a090, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at db_read_bytes+0x17: movzbl 0(%esi,%ecx,1),%eax
----
registers output
ddb> show registers
ds 0x10
es 0x10
fs 0x20
gs 0
edi 0xf116aae0
esi 0
ebp 0xf116aac4
ebx 0x1
edx 0xf116aae0
ecx 0
eax 0
eip 0xd055a447 db_read_bytes+0x17
cs 0x8
eflags 0x10246
esp 0xf116aaac
ss 0x10
db_read_bytes+0x17: movzbl 0(%esi,%ecx,1),%eax
----
Regards,
Michael