[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#309909: kernel-image-2.6-686-smp: acpi + rtc causes hang on debian boot



On Fri, May 20, 2005 at 01:55:07PM +0200, juan wrote:
> Package: kernel-image-2.6-686-smp
> Severity: important
> 
> 
> open /dev/rtc hangs for ever, a simple fix is to boot without acpi.
> since the init process uses hwclock, the system is hung forever on boot

Smells like a dell box with a broken rtc. 
Please try adding the --directisa option to your
invocation of hwclock and see if that helps.
Or prehaps replace hwclock with a script that
calls the original binary with --directisa

e.g.

mv /sbin/hwclock /sbin/hwclock.i.love.dell
echo 'exec /sbin/hwclock --directisa $@' > /sbin/hwclock
chmod 755 /sbin/hwclock

I believe that newer versions of hwclock implent a timeout 
mechanism to get around this problem, wherby it tries to
access the rtc, if after a short time there is no response 
it tries the --directisa codepath.

Can you let me know if this resolves your problem?
If it does then unfortunately what you have is a hardware
bug and the rtc maintaner has advised me that he is
quite comfortable with the current userspace workarounds
available and has no intention to play games in the kernel
to get around this. In short he doesn't believe its a
kernel bug, and I tend to agree.

-- 
Horms



Reply to: