2007/8/6, Alan Stern <stern@rowland.harvard.edu>:
I also have same problem. It is caused by
http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm2/b...
The patch below may not be good fix. But it shows what is problem.
Index: 2.6-mm/include/linux/freezer.h
===================================================================
--- 2.6-mm.orig/include/linux/freezer.h
+++ 2.6-mm/include/linux/freezer.h
@@ -149,13 +149,13 @@ static inline void set_freezable(void)
#define wait_event_freezable_timeout(wq, condition, timeout) \
({ \
- long __ret = timeout; \
+ long ____ret = timeout; \
do { \
- __ret = wait_event_interruptible_timeout(wq, \
+ ____ret = wait_event_interruptible_timeout(wq, \
(condition) || freezing(current), \
- __ret); \
+ ____ret); \
} while (try_to_freeze()); \
- __ret; \
+ ____ret; \
})
#else /* !CONFIG_PM_SLEEP */
static inline int frozen(struct task_struct *p) { return 0; }
-