Bug 153937

Summary: [ral] ralink panics the system (amd64 FreeBSD 8.x) when in hostap or adhoc.
Product: Base System Reporter: lenzi.sergio
Component: kernAssignee: Bernhard Schmidt <bschmidt>
Status: Closed FIXED    
Severity: Affects Only Me CC: avos, garga
Priority: Normal Keywords: crash, patch
Version: UnspecifiedFlags: koobs: mfc-stable10?
koobs: mfc-stable9?
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
file.diff none

Description lenzi.sergio 2011-01-12 19:40:07 UTC
trying to put if_ral (and so wlan) to work in ap mode, 
when the interface goes up and with an IP number, the sistem panics.
due to the ral driver does not initialize 
the ratectl struture neede by wlan_amrr
when in mode not client.

A fix follows (must be auditted)
by the gurus...

How-To-Repeat: kldload if_ral

ifconfig wlan create wlandev ral0 \
	wlanmode hostap \
	mode 11g
ifconfig wlan0 192.168.1.1
============================
the system panics
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-01-13 10:06:50 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-net

Over to maintainer(s).
Comment 2 Andriy Voskoboinyk freebsd_committer freebsd_triage 2016-02-21 16:24:27 UTC
Seems to be fixed in r217511.
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2016-02-23 06:12:43 UTC
Assign to committer that resolved in HEAD.

Im not sure if this change was MFC'd to stable/10 stable/9
Comment 4 Andriy Voskoboinyk freebsd_committer freebsd_triage 2016-02-23 08:03:45 UTC
(In reply to Kubilay Kocak from comment #3)
It was committed before r225736 ("Copy head to stable/9 as part of 9.0-RELEASE release cycle.").