Re: ipw2200 device naming problems in 2.6.20-rc2-git1

From: Brice Goglin
Date: Sun Dec 31 2006 - 06:58:43 EST


Robert Hancock wrote:
> Having some intermittent problems using my ipw2200 wireless card on
> 2.6.20-rc2-git1 (may affect earlier versions as well) under Fedora
> Core 6 i386. It appears that sometimes on bootup the interface gets
> named with a junk name like __tmp32284835 and it doesn't show up in
> ifconfig. rmmod/insmod on ipw2200 fixes the problem and it shows up as
> eth1 again. I don't think this problem happened with Fedora 2.6.18
> kernels..
>

I've seen some problems like this with kernels <= 2.6.19. But it is now
fixed since the following commit (merged in rc1 IIRC). The symptoms were
that it the interface was getting a strange name (something like
"eth0_tmp") when udev was renaming it with DRIVERS=="?*" in the rule.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389250. I removed
DRIVERS from the rule to avoid the problem, but the following commit was
definitely fixing the problem at this point. I didn't check again recently.

Brice



commit 1901fb2604fbcd53201f38725182ea807581159e
Author: Kay Sievers <kay.sievers@xxxxxxxxxx>
Date: Sat Oct 7 21:55:55 2006 +0200

Driver core: fix "driver" symlink timing

Create the "driver" link before the child device may be created by
the probing logic. This makes it possible for userspace (udev), to
determine the driver property of the parent device, at the time the
child device is created.

Signed-off-by: Kay Sievers <kay.sievers@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/