On Tue, Feb 13, 2007 at 04:00:36PM +0000, Ben Gamari wrote: > That being said, now come the problems. When I first loaded the driver, > I found that it had created two interfaces as mentioned in earlier > threads. On my machine these are named eth1 and wlan0_rename (can > someone confirm what the names are supposed to be and which interface > does what?). Strangely, it appears that wlan0_rename is the actual > wireless adapter as evidenced by the attached console session. In that
The "_rename" suffix is an indication that you have udev rules that are attempting to assign the same name to two different netdevs. Try to disable udev device renaming, or make the rules more specific. The attached kernel patch makes it easier to figure out what udev is trying to do in situations like yours. It keeps getting rejected from linux upstream, but that could change with enough encouragement. Jason --- Keep track about which network interface names were renamed after the network device driver printed its banner. Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> --- net/core/dev.c | 4 ++++ 1 file changed, 4 insertions(+) Index: linux-2.6.20-uml/net/core/dev.c =================================================================== --- linux-2.6.20-uml.orig/net/core/dev.c +++ linux-2.6.20-uml/net/core/dev.c @@ -754,7 +754,11 @@ else if (__dev_get_by_name(newname)) return -EEXIST; else + { + if (strncmp(newname, dev->name, IFNAMSIZ)) + printk(KERN_INFO "%s renamed to %s\n", dev->name, newname); strlcpy(dev->name, newname, IFNAMSIZ); + } err = class_device_rename(&dev->class_dev, dev->name); if (!err) { - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html