Re: Error message from device_rename in drivers/base/core.c

From: David Miller
Date: Wed Aug 08 2007 - 00:37:51 EST


From: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
Date: Tue, 07 Aug 2007 23:17:23 -0500

> I am getting the following error message from drivers/base/core.c:
>
> net eth1: device_rename: sysfs_create_symlink failed (-17)
>
> Upon investigation, the call generating the error is renaming 'eth1' to 'eth1'. The following patch
> suppresses the error.

I think this check belongs in udev not in the kernel. Thankfully
this message at least tells us it is happening, please don't
remove it.

I'm pretty sure it's UDEV doing this, and it should not try to rename
a netdevice to what it already is named.
-
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/