eth1394 has problems with persistent-net with kernel 2.6.21
Hi!
As eth1394 had some "small" change in Kernel 2.6.21, it now has no parent-device, and thus no DRIVERS="?*". So the generated rule for persistent-net does no longer apply, and we get the known sympthoms of devices called "eth?_rename" and 30sec timeout at boot.
The relevant change to that driver:
--- linux-2.6.20/drivers/ieee1394/eth1394.c 2007-02-21 18:17:20.000000000
+0100
+++ linux-2.6.21/drivers/ieee1394/eth1394.c 2007-04-27 @@ -585,7 +584,10
@@
}
SET_MODULE_OWNER(dev);
+#if 0
+ /* FIXME - Is this the correct parent device anyway? */
SET_NETDEV_DEV(dev, &host->device);+#endif
priv = netdev_priv(dev);
Matthias
Signature · 11 lines
Matthias Schwarzott (zzam) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 4 lines · Matthias Schwarzott
As eth1394 had some "small" change in Kernel 2.6.21, it now has no parent-device, and thus no DRIVERS="?*". So the generated rule for persistent-net does no longer apply, and we get the known sympthoms of devices called "eth?_rename" and 30sec timeout at boot.
Let's just say that this sucks.
Signature · 12 lines
ciao, Marco ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Marco d'Itri
Quoted 4 lines · Matthias Schwarzott
As eth1394 had some "small" change in Kernel 2.6.21, it now has no parent-device, and thus no DRIVERS="?*". So the generated rule for persistent-net does no longer apply, and we get the known sympthoms of devices called "eth?_rename" and 30sec timeout at boot.
Let's just say that this sucks.
Full ack, eth1394 should not be autoloaded! Perhaps we add it to the modules blacklist for next gentoo udev ebuild. But well, this is no solution for people using it really. Should we in this case remove the DRIVERS="?*" ?
Matthias
Signature · 11 lines
Matthias Schwarzott (zzam) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Matthias Schwarzott
Full ack, eth1394 should not be autoloaded! Perhaps we add it to the modules blacklist for next gentoo udev ebuild.
I do not consider this to be a valid solution.
Quoted 2 lines
But well, this is no solution for
people using it really. Should we in this case remove the DRIVERS="?*" ?
No, because this will breaks many more cases (at least VLANs and some wireless drivers IIRC).
Signature · 12 lines
ciao, Marco ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 10 lines · Matthias Schwarzott
Quoted 7 lines · Marco d'Itri
Quoted 4 lines · Matthias Schwarzott
As eth1394 had some "small" change in Kernel 2.6.21, it now has no parent-device, and thus no DRIVERS="?*". So the generated rule for persistent-net does no longer apply, and we get the known sympthoms of devices called "eth?_rename" and 30sec timeout at boot.
Let's just say that this sucks.
Full ack, eth1394 should not be autoloaded! Perhaps we add it to the modules blacklist for next gentoo udev ebuild.
There should be not need for that, since eth1394 won't be autoloaded anymore at controller initialization in future kernel releases (and it's already this way in -mm kernel):
http://lkml.org/lkml/2007/4/29/361
Signature · 11 lines
Olivier Blin - Mandriva ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 6 lines · Marco d'Itri
Quoted 2 lines · Matthias Schwarzott
But well, this is no solution for
people using it really. Should we in this case remove the DRIVERS="?*" ?No, because this will breaks many more cases (at least VLANs and some wireless drivers IIRC).
I just mean removing it in this special case, for ieee1394 devices. Not for all rules.
Matthias
Signature · 11 lines
Matthias Schwarzott (zzam) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Matthias Schwarzott
I just mean removing it in this special case, for ieee1394 devices. Not for all rules.
This can be done, but the real problem is automatically updating the existing rules files on upgrades.
Signature · 12 lines
ciao, Marco ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Matthias Schwarzott
Hi!
As eth1394 had some "small" change in Kernel 2.6.21, it now has no parent-device, and thus no DRIVERS="?*". So the generated rule for persistent-net does no longer apply, and we get the known sympthoms of devices called "eth?_rename" and 30sec timeout at boot.
This bugzilla-entry tracks that problem:
http://bugs.gentoo.org/show_bug.cgi?id7199
Matthias
Signature · 11 lines
Matthias Schwarzott (zzam) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel