Hello Jim,

 On Friday, April 4, 2008 at 22:34:40 -0400, James R. Van Zandt wrote:

> One a Sony Vaio VGN-TXN27N, adjtimex hangs when run as
>     adjtimex -c --verbose
>     opened /dev/rtc for reading
>     waiting for CMOS update-ended interrupt

 And discussing bug #460065 on Friday, April 4, 2008 at 22:54:08 -0400,
 James R. Van Zandt wrote:

> I plan to use select() to eliminate the hang, then fall back to port
> I/O.

Any progress on that? I'm a little bit confused because the 1.24 code
still uses read() and can block, while the Changelog says:

| 2008-02-01  James R. Van Zandt  <[EMAIL PROTECTED]>
|
|       * adjtimex.c: (cmos_read_time): use select() to avoid blocking even
|       if /dev/rtc never becomes readable.

And when read() alarms or select() timeouts, the fallback should better
be the busywait_second_change() method, purely using the /dev/rtc device
driver. The port I/O method cannot be used on some machines.


The install blocking grave bug #477637 is the same as this one: CCing
Julian. Thank you for the report.


Alain.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to