Re: hwclock failure in x86.git

From: H. Peter Anvin
Date: Thu Jan 10 2008 - 20:14:29 EST


Kevin Winchester wrote:
H. Peter Anvin wrote:
Kevin Winchester wrote:
My first time building and booting the mm branch of x86.git was pretty
successful. The only error I noticed was the following in my dmesg:

hwclock[622] general protection ip:804b226 sp:bff43e30 error:0

I'm not sure exactly how to debug this. I could bisect, but there seems
to be some useful debug information in there, so there might be
something better to try first.

That's a userspace IP; it implies the userspace hwclock binary did something bad, or the kernel didn't permit it to do something it should have. The best thing to do would probably to strace hwclock and see what it did when it died.


Unfortunately, but the time I can get a chance to run hwclock, the
problem seems to have fixed itself. I tried booting into single user
mode, but `/etc/init.d/hwclock.sh restart` succeeds once I have my prompt.


The other thing you can do is to download the debug information and source code for hwclock from your particular distro, and find out exactly what operation inside the hwclock binary is triggering the segfault.

The only other option is to bisect.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/