All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: BUG at net/wireless/reg.c:2132 on PowerPC
Date: Mon, 08 Jun 2009 20:41:58 -0400	[thread overview]
Message-ID: <1244508118.28215.2.camel@mj> (raw)
In-Reply-To: <4A2D9B23.20208@lwfinger.net>

On Mon, 2009-06-08 at 18:13 -0500, Larry Finger wrote:

> I don't know what is triggering the kernel BUG, but you have an error
> in your udev rules. The pertinent file is
> /etc/udev/rules.d/70-persistent-net.rules. Any rule that renames a
> wireless device should look like the following:
> 
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", \
> ATTR{address}=="00:90:4b:d2:1f:cd", ATTR{type}=="1", \
> KERNEL=="wlan*", NAME="wlan0"
> 
> The ATTR{address} should match the MAC address of the device, but the
> ATTR{type}=="1" is really important as it keeps the master device from
> being renamed, which is the usual cause of the presence of a name like
> wlanX_rename.

I actually removed 70-persistent-net.rules, but I think "1" was there.
The failed rename was due to /etc/sysconfig/network-scripts/ifcfg-wlan0
that was specifying the MAC address that must have conflicted with the
udev rules.

-- 
Regards,
Pavel Roskin

  reply	other threads:[~2009-06-09  0:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-08 22:59 BUG at net/wireless/reg.c:2132 on PowerPC Pavel Roskin
2009-06-08 23:13 ` Larry Finger
2009-06-09  0:41   ` Pavel Roskin [this message]
2009-06-08 23:19 ` Luis R. Rodriguez
2009-06-09  1:17   ` Pavel Roskin
2009-06-09  1:50     ` Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1244508118.28215.2.camel@mj \
    --to=proski@gnu.org \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.