Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2010 08:56:53 +0200
From:      Bernhard Schmidt <bschmidt@techwires.net>
To:        Chris Ruiz <yr.retarded@gmail.com>
Cc:        freebsd-current Current <freebsd-current@freebsd.org>
Subject:   Re: recent ath changes related panic
Message-ID:  <AANLkTi=Y1BmGNUvj421XSRvuK8bnjG%2BzfeYmKQG6p-o5@mail.gmail.com>
In-Reply-To: <AANLkTindYRWP-puST=NUu7kWpqSbgKrW9prvpELHEjU3@mail.gmail.com>
References:  <AANLkTik1PuYiTXe8g8HAyf1SN8Um9ZfVOj_A1b%2BRPTwj@mail.gmail.com> <AANLkTindYRWP-puST=NUu7kWpqSbgKrW9prvpELHEjU3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--00c09f8a4d8ccce85d048e3bcd34
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 20, 2010 at 08:31, Bernhard Schmidt <bschmidt@techwires.net> wr=
ote:
> On Fri, Aug 20, 2010 at 01:04, Chris Ruiz <yr.retarded@gmail.com> wrote:
>> I run a PCI Atheros card in hostap mode on CURRENT.
>>
>> ath0@pci0:6:0:0: =A0 =A0 =A0 =A0class=3D0x020000 card=3D0x5a001385 chip=
=3D0x0013168c
>> rev=3D0x01 hdr=3D0x00
>> =A0 =A0vendor =A0 =A0 =3D 'Atheros Communications Inc.'
>> =A0 =A0device =A0 =A0 =3D '802.11a/b/g Wireless Adapter (AR2312)'
>> =A0 =A0class =A0 =A0 =A0=3D network
>> =A0 =A0subclass =A0 =3D ethernet
>>
>> Everything works fine with r211193 but with newer kernels I receive
>> the same panic related to the ath0 tasq.
>
>
> I guess this also happens with post-r211314 kernels?

Seems like I missed you wrap a few ieee80211_ratectl_node_init()
calls. Please try attached patch, it should fix it.


--=20
Bernhard

--00c09f8a4d8ccce85d048e3bcd34
Content-Type: text/x-diff; charset=US-ASCII; name="node_init.diff"
Content-Disposition: attachment; filename="node_init.diff"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gd2ostx50

SW5kZXg6IHN5cy9uZXQ4MDIxMS9pZWVlODAyMTFfbm9kZS5jCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5cy9u
ZXQ4MDIxMS9pZWVlODAyMTFfbm9kZS5jCShyZXZpc2lvbiAyMTE1MjQpCisrKyBzeXMvbmV0ODAy
MTEvaWVlZTgwMjExX25vZGUuYwkod29ya2luZyBjb3B5KQpAQCAtODE3LDggKzgxNyw3IEBAIGll
ZWU4MDIxMV9zdGFfam9pbihzdHJ1Y3QgaWVlZTgwMjExdmFwICp2YXAsIHN0cnVjCiAJaWYgKGll
ZWU4MDIxMV9pc2VycF9yYXRlc2V0KCZuaS0+bmlfcmF0ZXMpKQogCQluaS0+bmlfZmxhZ3MgfD0g
SUVFRTgwMjExX05PREVfRVJQOwogCWllZWU4MDIxMV9ub2RlX3NldHVwdHhwYXJtcyhuaSk7Ci0J
aWYgKHZhcC0+aXZfY2FwcyAmIElFRUU4MDIxMV9DX1JBVEVDVEwpCi0JCWllZWU4MDIxMV9yYXRl
Y3RsX25vZGVfaW5pdChuaSk7CisJaWVlZTgwMjExX3JhdGVjdGxfbm9kZV9pbml0KG5pKTsKIAog
CXJldHVybiBpZWVlODAyMTFfc3RhX2pvaW4xKGllZWU4MDIxMV9yZWZfbm9kZShuaSkpOwogfQpJ
bmRleDogc3lzL25ldDgwMjExL2llZWU4MDIxMV9zdGEuYwo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMvbmV0
ODAyMTEvaWVlZTgwMjExX3N0YS5jCShyZXZpc2lvbiAyMTE1MjQpCisrKyBzeXMvbmV0ODAyMTEv
aWVlZTgwMjExX3N0YS5jCSh3b3JraW5nIGNvcHkpCkBAIC0xNTk3LDggKzE1OTcsN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TgwMjEx
X0NfUkFURUNUTCkKKwkJdmFwLT5pdl9yYXRlLT5pcl9ub2RlX2luaXQobmkpOwogfQogCiBzdGF0
aWMgdm9pZCBfX2lubGluZQo=
--00c09f8a4d8ccce85d048e3bcd34--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=Y1BmGNUvj421XSRvuK8bnjG%2BzfeYmKQG6p-o5>