[lkml]   [2003]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjecthwclock causes __might_sleep dump

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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.022 / U:1.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site