![]() | |||||||||||||
Messages in this thread |
Hi at system shutdown when hwclock --systohc is called there's a might_sleep error dump from the kernel in do_page_fault. I found that the problem is when hwclock uses direct cmos access when there's no RTC support in kernel and only when hwclock is compiled with -O3 hwclock does an atomic access achieved with __asm__ cli and sti. Is this a hwclock bug? I suppose the kernel is not responsible for userland disabling interrupts ... putting delays and printfs in hwclock either makes the dump show a different backtrace (although still with 2 do_page_faults) or results in no dump at all. 2.6.0-test1 and test2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 13:47 [from the cache] ©2003-2008 | |||||||||||||