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

Re: MIPS Qube always fscks root filesystem



On Thu, 15 Apr 2004, Goswin von Brederlow wrote:
> Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:
> > Erik de Castro Lopo wrote:
> >> If I reboot it immediately, it gets fscked again.
> >>
> >> Anybody got an idea why this is happening?
> >
> > Either the RTC backup battery is broken, or the RTC has some weird date
> > and is never updated correctly. The latter could be caused by running
> > woody's hwclock on a newer kernel (the ioctl format was changed).
>
> I have no RTC support so my clock is allways in 1970 on boot. Same
> thing happens. Setting the date to 2004 doesn't help either if its in
> the past (before the FS was umounted).
>
> I think fsck uses unsigned to compute the time between last mount and
> now and thus drops the minus sign. Or it gets an overflow somewhere.
>
> Its on my to-do list to check out but for now I just ntpdate to set
> the clock before I fsck as a workaround.

Or disable fsck at regular times using tune2fs.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



Reply to: