Search Linux Wireless

Re: BUG at net/wireless/reg.c:2132 on PowerPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 8, 2009 at 6:17 PM, Pavel Roskin<proski@xxxxxxx> wrote:
> On Mon, 2009-06-08 at 19:19 -0400, Luis R. Rodriguez wrote:
>
>> Thank you for reporting this, try loading the system without ath5k present
>> (mv ath5k.ko ath5k.ignore is an easy way) then prior to loadin git in a window
>> get 'iw event' running.
>
> I'm sorry, but I managed to "fix" the problem without having a way to
> recreate it again.  I emptied /etc/udev/rules.d/70-persistent-net.rules
> and removed /etc/sysconfig/network-scripts/ifcfg-wlan0, and the problem
> is gone, but I didn't preserve the original files, and I cannot make the
> crash happen again.
>
> Also, it turns out that pciutils failed to upgrade to the Fedora 11
> version, and "lspci -v" was crashing.  After upgrading pciutils the BUG
> was gone, but downgrading it didn't make it reappear :-(
>
> I tried what you said, and that's what I get:
>
> # iw event
> phy #0: regulatory domain change: set to US by a driver request on phy0
> phy #1: regulatory domain change: set to US by a driver request on phy1
>
>>
>> -             BUG_ON(request_wiphy->regd);
>> +             /*
>> +              * Userspace could have sent two replies with only
>> +              * one kernel request.
>> +              */
>> +             if (request_wiphy->regd)
>> +                     return -EALREADY;
>
> I think it's a good idea.  Stupid userspace shouldn't cause kernel bugs.

Agreed.

  Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux