2012-04-05 12:35:21

by Janusz Dziedzic

[permalink] [raw]
Subject: compat-wireless-2012-04-04 - rmmod mac80211 and PC freeze

Hello,

I am using: compat-wireless-2012-04-04

I am doing such test:
- insmod compat.ko
- insmod cfg80211.ko
- insmod mac80211.ko

After that:
- rmmod mac80211

And have PC freeze.
Linux uw000950 2.6.35-32-generic #67~lucid1-Ubuntu SMP Tue Mar 6
17:48:20 UTC 2012 x86_64 GNU/Linux

Any idea what could be wrong, how to debug in case of such freeze?

BR
Janusz


2012-04-06 05:00:32

by Janusz Dziedzic

[permalink] [raw]
Subject: Re: compat-wireless-2012-04-04 - rmmod mac80211 and PC freeze

W dniu 5 kwietnia 2012 15:01 u?ytkownik Johannes Berg
<[email protected]> napisa?:
> On Thu, 2012-04-05 at 14:35 +0200, Janusz Dziedzic wrote:
>> Hello,
>>
>> I am using: compat-wireless-2012-04-04
>>
>> I am doing such test:
>> - insmod compat.ko
>> - insmod cfg80211.ko
>> - insmod mac80211.ko
>>
>> After that:
>> - rmmod mac80211
>>
>> And have PC freeze.
>> Linux uw000950 2.6.35-32-generic #67~lucid1-Ubuntu SMP Tue Mar 6
>> 17:48:20 UTC 2012 x86_64 GNU/Linux
>
> Works for me, but on 3.1.0.
>
>> Any idea what could be wrong, how to debug in case of such freeze?
>
> Not really. You could try the same thing from a console, rather than an
> X terminal window (that I'm guessing you're using since you saw no
> further info) and you may see some more details?
>
> johannes
>

Seems when run from console I see:
Kernel panic - not syncing: Fatal exception in interrupt
BUG: scheduling while atomic: rmmod/15474/0x10008803

Next a lot of information connected with dump.


BR
Janusz

2012-04-05 13:01:24

by Johannes Berg

[permalink] [raw]
Subject: Re: compat-wireless-2012-04-04 - rmmod mac80211 and PC freeze

On Thu, 2012-04-05 at 14:35 +0200, Janusz Dziedzic wrote:
> Hello,
>
> I am using: compat-wireless-2012-04-04
>
> I am doing such test:
> - insmod compat.ko
> - insmod cfg80211.ko
> - insmod mac80211.ko
>
> After that:
> - rmmod mac80211
>
> And have PC freeze.
> Linux uw000950 2.6.35-32-generic #67~lucid1-Ubuntu SMP Tue Mar 6
> 17:48:20 UTC 2012 x86_64 GNU/Linux

Works for me, but on 3.1.0.

> Any idea what could be wrong, how to debug in case of such freeze?

Not really. You could try the same thing from a console, rather than an
X terminal window (that I'm guessing you're using since you saw no
further info) and you may see some more details?

johannes


2012-04-06 20:09:34

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: compat-wireless-2012-04-04 - rmmod mac80211 and PC freeze

2012/4/5 Janusz Dziedzic <[email protected]>:
> W dniu 6 kwietnia 2012 07:16 użytkownik Janusz Dziedzic
> <[email protected]> napisał:
>> W dniu 6 kwietnia 2012 07:00 użytkownik Janusz Dziedzic
>> <[email protected]> napisał:
>>> W dniu 5 kwietnia 2012 15:01 użytkownik Johannes Berg
>>> <[email protected]> napisał:
>>>> On Thu, 2012-04-05 at 14:35 +0200, Janusz Dziedzic wrote:
>>>>> Hello,
>>>>>
>>>>> I am using: compat-wireless-2012-04-04
>>>>>
>>>>> I am doing such test:
>>>>> - insmod compat.ko
>>>>> - insmod cfg80211.ko
>>>>> - insmod mac80211.ko
>>>>>
>>>>> After that:
>>>>> - rmmod mac80211
>>>>>
>>>>> And have PC freeze.
>>>>> Linux uw000950 2.6.35-32-generic #67~lucid1-Ubuntu SMP Tue Mar 6
>>>>> 17:48:20 UTC 2012 x86_64 GNU/Linux
>>>>
>>>> Works for me, but on 3.1.0.
>>>>
>>>>> Any idea what could be wrong, how to debug in case of such freeze?
>>>>
>>>> Not really. You could try the same thing from a console, rather than an
>>>> X terminal window (that I'm guessing you're using since you saw no
>>>> further info) and you may see some more details?
>>>>
>>>> johannes
>>>>
>>>
>>> Seems when run from console I see:
>>> Kernel panic - not syncing: Fatal exception in interrupt
>>> BUG: scheduling while atomic: rmmod/15474/0x10008803
>>>
>>> Next a lot of information connected with dump.
>>>
>>>
>>
>> After second try:
>> BUG: unable to handle kernel paging request at ffffffff98d60d20
>> IP: update_curr+0x134/0x1e0
>> Thread overran stack, or stack corrupted
>> Process rmmod
>>
>
> Issue not reproducible with compat-wireless-2012-03-18.
> Seems introduced in compat-wireless-2012-04-03.

Since you are not loading drivers this may be due to new changes in
compat.git. You can bisect there, perhaps either
e4e6f33801d78ad3b71836ce8a3058235fdaa6ef or
80bf8a835893ae35db13e3ea6f5b984352019fbe.

Luis

2012-04-06 05:16:30

by Janusz Dziedzic

[permalink] [raw]
Subject: Re: compat-wireless-2012-04-04 - rmmod mac80211 and PC freeze

W dniu 6 kwietnia 2012 07:00 u?ytkownik Janusz Dziedzic
<[email protected]> napisa?:
> W dniu 5 kwietnia 2012 15:01 u?ytkownik Johannes Berg
> <[email protected]> napisa?:
>> On Thu, 2012-04-05 at 14:35 +0200, Janusz Dziedzic wrote:
>>> Hello,
>>>
>>> I am using: compat-wireless-2012-04-04
>>>
>>> I am doing such test:
>>> - insmod compat.ko
>>> - insmod cfg80211.ko
>>> - insmod mac80211.ko
>>>
>>> After that:
>>> - rmmod mac80211
>>>
>>> And have PC freeze.
>>> Linux uw000950 2.6.35-32-generic #67~lucid1-Ubuntu SMP Tue Mar 6
>>> 17:48:20 UTC 2012 x86_64 GNU/Linux
>>
>> Works for me, but on 3.1.0.
>>
>>> Any idea what could be wrong, how to debug in case of such freeze?
>>
>> Not really. You could try the same thing from a console, rather than an
>> X terminal window (that I'm guessing you're using since you saw no
>> further info) and you may see some more details?
>>
>> johannes
>>
>
> Seems when run from console I see:
> Kernel panic - not syncing: Fatal exception in interrupt
> BUG: scheduling while atomic: rmmod/15474/0x10008803
>
> Next a lot of information connected with dump.
>
>

After second try:
BUG: unable to handle kernel paging request at ffffffff98d60d20
IP: update_curr+0x134/0x1e0
Thread overran stack, or stack corrupted
Process rmmod

BR
Janusz


--
Janusz Dziedzic

2012-04-06 06:05:19

by Janusz Dziedzic

[permalink] [raw]
Subject: Re: compat-wireless-2012-04-04 - rmmod mac80211 and PC freeze

W dniu 6 kwietnia 2012 07:16 u?ytkownik Janusz Dziedzic
<[email protected]> napisa?:
> W dniu 6 kwietnia 2012 07:00 u?ytkownik Janusz Dziedzic
> <[email protected]> napisa?:
>> W dniu 5 kwietnia 2012 15:01 u?ytkownik Johannes Berg
>> <[email protected]> napisa?:
>>> On Thu, 2012-04-05 at 14:35 +0200, Janusz Dziedzic wrote:
>>>> Hello,
>>>>
>>>> I am using: compat-wireless-2012-04-04
>>>>
>>>> I am doing such test:
>>>> - insmod compat.ko
>>>> - insmod cfg80211.ko
>>>> - insmod mac80211.ko
>>>>
>>>> After that:
>>>> - rmmod mac80211
>>>>
>>>> And have PC freeze.
>>>> Linux uw000950 2.6.35-32-generic #67~lucid1-Ubuntu SMP Tue Mar 6
>>>> 17:48:20 UTC 2012 x86_64 GNU/Linux
>>>
>>> Works for me, but on 3.1.0.
>>>
>>>> Any idea what could be wrong, how to debug in case of such freeze?
>>>
>>> Not really. You could try the same thing from a console, rather than an
>>> X terminal window (that I'm guessing you're using since you saw no
>>> further info) and you may see some more details?
>>>
>>> johannes
>>>
>>
>> Seems when run from console I see:
>> Kernel panic - not syncing: Fatal exception in interrupt
>> BUG: scheduling while atomic: rmmod/15474/0x10008803
>>
>> Next a lot of information connected with dump.
>>
>>
>
> After second try:
> BUG: unable to handle kernel paging request at ffffffff98d60d20
> IP: update_curr+0x134/0x1e0
> Thread overran stack, or stack corrupted
> Process rmmod
>

Issue not reproducible with compat-wireless-2012-03-18.
Seems introduced in compat-wireless-2012-04-03.

BR
Janusz