Comment 41 for bug 802626

Revision history for this message
Seth Jennings (spartacus06) wrote :

I also am experiencing the 60 second delay on startup with -14 and not with -13. According to the Ubuntu to Mainline map, 3.0.0-13.22 maps to 3.0.6 and 3.0.0-14.23 maps to 3.0.9. I bisected the commits over that range and determined that reverting the following commit corrects this issue:

7b59e3e29e1a28ad40892dd2115175e2702f1153 kobj_uevent: Ignore if some listeners c
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 70af0a7..ad72a03 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -282,7 +282,7 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_ac
                                                            kobj_bcast_filter,
                                                            kobj);
                        /* ENOBUFS should be handled in userspace */
- if (retval == -ENOBUFS)
+ if (retval == -ENOBUFS || retval == -ESRCH)
                                retval = 0;
                } else
                        retval = -ENOMEM;

This comment on related defect 818177 references the lkml.org post where the patch was submitted.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/818177/comments/67

It seems like there might be a history of this bug before -13, but this commit definitely exposed it more.

The fix for 818177 is already released for Precise but is still just committed for Oneiric.