Bug 204071 - Kernel Panic when trying to setup HOSTAP mode
Summary: Kernel Panic when trying to setup HOSTAP mode
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: CURRENT
Hardware: mips Any
: --- Affects Some People
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-27 17:35 UTC by Byter
Modified: 2015-10-27 23:14 UTC (History)
1 user (show)

See Also:


Attachments
Kernel log (11.74 KB, text/x-log)
2015-10-27 17:35 UTC, Byter
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Byter 2015-10-27 17:35:35 UTC
Created attachment 162511 [details]
Kernel log

Running following commands on a Crambola2 device results in a kernel panic.

FreeBSD github version: 30317d5cf3f3...
Built with Freebsd-wifi-build: 66420e420...

Attaching kernel log.


# ifconfig wlan0 create wlandev ath0 wlanmode hostap
ath_hal_reg_write: reg=0x000080e0, val=0xffffff3b, pm=1
ath_hal_reg_write: reg=0x000080e4, val=0x0000ffff, pm=1
wlan0: bpf attached
wlan0: bpf attached
wlan0: Ethernet address: c4:93:00:00:23:fd
# ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 ssid freebsdap mode 11g channel 1
Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode)
[ thread pid 0 tid 100029 ]
Stopped at      mipsNN_pdcache_wbinv_range_32+0x24:     cache   s5,a0,0
db> trace
Tracing pid 0 tid 100029 td 0x806d0000
db_trace_thread+30 (?,?,?,?) ra c4b6b7c800000018 sp 0 sz 0
8008c808+114 (0,?,ffffffff,?) ra c4b6b7e000000020 sp 100000000 sz 1
8008bee0+388 (?,?,?,?) ra c4b6b800000000a8 sp 0 sz 0
db_command_loop+70 (?,?,?,?) ra c4b6b8a800000018 sp 0 sz 0
8008eaf8+f4 (?,?,?,?) ra c4b6b8c0000001a8 sp 0 sz 0
kdb_trap+110 (?,?,?,?) ra c4b6ba6800000030 sp 0 sz 0
trap+14f8 (?,?,?,?) ra c4b6ba98000000c0 sp 0 sz 0
MipsKernGenException+134 (0,1000,5,1) ra c4b6bb58000000c8 sp 100000001 sz 1
mipsNN_pdcache_wbinv_range_32+24 (?,?,?,?) ra c4b6bc2000000000 sp 0 sz 0
pid 0
db>
Comment 1 Adrian Chadd freebsd_committer freebsd_triage 2015-10-27 23:14:11 UTC
hi!

Fixed in r290082.

Thanks!