Bug 153937 - [ral] ralink panics the system (amd64 FreeBSD 8.x) when in hostap or adhoc.
Summary: [ral] ralink panics the system (amd64 FreeBSD 8.x) when in hostap or adhoc.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: amd64 Any
: Normal Affects Only Me
Assignee: Bernhard Schmidt
URL:
Keywords: crash, patch
Depends on:
Blocks:
 
Reported: 2011-01-12 19:40 UTC by lenzi.sergio
Modified: 2016-02-23 11:22 UTC (History)
2 users (show)

See Also:
koobs: mfc-stable10?
koobs: mfc-stable9?


Attachments
file.diff (738 bytes, patch)
2011-01-12 19:40 UTC, lenzi.sergio
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.").