LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Boot problems in Debian (Etch) (https://www.linuxquestions.org/questions/linux-general-1/boot-problems-in-debian-etch-407888/)

ocdj 01-25-2006 01:16 PM

Boot problems in Debian (Etch)
 
I'm having a problem (I think kernel related) booting my system:

When I try to boot into my system I get an error when mounting my root partition that the last write and mount times are in the future. I am prompted to run fsck manually and date gives me a time 3 hours in the past... I think this might be a cpu frequency scaling issue or something but I'm not sure and I haven't come across any possibilities yet. Running fsck and setting the mount and write times back 3 hours allows me to boot but this is obviously not a nice solution. This only happens if the machine is rebooted within 3 hours of the last boot of course.

Some statistics:

Debian Etch
Dell Inspiron 600m
Kernel 2.6.12
Root partition is ex3

haertig 01-25-2006 01:54 PM

This probably just means your clock/timezone is set wrong. Nothing more sinister than that. Lot's of info on how to manage this on the web. I just went to Google and searched variations of these words: "linux date clock time wrong incorrect". Came up with the following hits (amongst many others):

http://www.tldp.org/HOWTO/Clock.html

http://www.linuxsa.org.au/tips/time.html

http://www.linux.com/guides/sag/x2804.shtml

http://tldp.org/HOWTO/TimePrecision-HOWTO/

On your system, also run "man date" and "man hwclock" for additional info.

moosedaddy 01-25-2006 01:56 PM

I know this seems like a lame answer but if you shut down the computer over night the problem will be gone.

ocdj 01-25-2006 02:08 PM

I can't see any problems with my clock settings, they are on the correct time and timezone. However, before the system clock is set to the hardware clock's time during boot is when I get this error.

cuiq 01-25-2006 02:18 PM

When I had this problem it was because of one thing.
My computer needed a new battery (CR2032). Once it was replaced I had to run fsck once again and all has been well since.

ocdj 01-25-2006 02:22 PM

Would there be any lag in the hardware clock if the battery were dying? I haven't been paying too close attention to it but every time I check either with hwclock or in bios before booting it looks correct.


All times are GMT -5. The time now is 10:03 PM.