ts-7000
[Top] [All Lists]

[ts-7000] Re: TS7260 fsck and sdcard question

To:
Subject: [ts-7000] Re: TS7260 fsck and sdcard question
From: "charliem_1216" <>
Date: Fri, 29 Feb 2008 01:50:46 -0000
--- In  "Jayne Dickinson" <> 
wrote:
>
> 
> > > Try 'tune2fs -T now /dev/yourdevice' (after setting the 
correct time &
> > > date) or 'tune2fs -i 0 /dev/yourdevice'.
> > > 
> > > For more details:  man tune2fs and,
> > > http://tech.groups.yahoo.com/group/ts-7000/message/9012
> > > http://tech.groups.yahoo.com/group/ts-7000/message/8500
> > > 
> > > Regards, ......... Charlie
> > >
> > Charlie,
> > 
> > Great...I'll give it a whirl and let you know...Geesh! Thanks
> > so much for your help!
> > 
> > BRB, Jayne
> >
> Charlie,
> 
> I'm back and I did the following ...
> tune2fs -T now /dev/sdcard0/disc0/part3
> reboot
> 

Was the time set correctly when you ran tune2fs -T now?  You should 
see output similar to:
tune2fs 1.40.4 (31-Dec-2007)
Setting time filesystem last checked to Thu Feb 28 20:32:50 2008

To be sure, you can also run 'dumpe2fs -h /dev/yourdevice'.  This 
will show you lots of info, including Last Checked, Checked 
Interval, Mount count and  Mount Interval.

> and here's a snippet from the reboot log
> 
> Checking root file system...
> fsck 1.37 (21-Mar-2005)
> e2fsck 1.37 (21-Mar-2005)
> /dev/sdcard0/disc0/part3 has gone 35772 days without being 
checked,
> check forced.
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> /dev/sdcard0/disc0/part3: 17273/121440 files (0.8% 
non-contiguous),
> 263037/484608 blocks
> Cleaning up ifupdown...done.
> 
> 
> It's a better timestamp than before ... getting closer...
> Here's the current date:
> 
> $ date
> Thu Feb 28 13:16:58 MST 2008

Yes, that's now, but what was it when e2fsck kicked off?  Your init 
scripts may be running fsck before the RTC is accessed.  I don't 
know what kernel or distro you're using, but if you need a module to 
access the RTC, and your modules are on /dev/yourdevice, the RTC may 
not be available until after /dev/yourdevice is fsck'd and is 
mounted.  

You could wrangle with this, using an initrd or building the RTC 
driver into the kernel, but it's probably easier just to turn off 
time dependent fs checking, with tune2fs -i 0 /dev/yourdevice.  
(note that's a zero, not an oh).
> 
> Here's the local timezone info
> etc$ more timezone
> US/Arizona
> 
> Here's the hardware clock info
> :sbin# hwclock --show
> Thu Feb 28 13:20:48 2008  -0.970000 seconds
> 
> 
> How can I tell the RTC module is installed?

Look through your boot log: dmesg |less

Regards, ...... Charlie

> Jayne
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU