Archaic wrote:
On Wed, Apr 05, 2006 at 01:57:12PM +0100, William Zhou wrote:
"Create some rules that work around broken sysfs attribute creation timing in linux-2.6.15:"

This is still in. Either it needs to be pulled, or the version needs to
refer to the entity. Alex?

It needs to be pulled, but there's another breakage reported:

http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m=114460333128844&w=2

Apply this kernel patch:
http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;h=2731570eba5b35a21c311dd587057c39805082f1;hp=dfb62998866ae2e298139164a85ec0757b7f3fc7;hb=9469d458b90bfb9117cbb488cfa645d94c3921b1;f=net/core/dev.c

The patch is also pasted below just in case if the URL is too long:

--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3042,11 +3042,11 @@ void netdev_run_todo(void)
switch(dev->reg_state) {
                case NETREG_REGISTERING:
+                       dev->reg_state = NETREG_REGISTERED;
                        err = netdev_register_sysfs(dev);
                        if (err)
                                printk(KERN_ERR "%s: failed sysfs registration 
(%d)\n",
                                       dev->name, err);
-                       dev->reg_state = NETREG_REGISTERED;
                        break;
case NETREG_UNREGISTERING:

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to