ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: [7200] problem with fsck

To:
Subject: Re: [ts-7000] Re: [7200] problem with fsck
From: Razvan-Ionut Stoian <>
Date: Sun, 8 Jun 2008 10:12:51 -0700 (PDT)
I remember I had the same problem when I made an ARM image in QEMU. Do you have  an  RTC module on your SBC? If not, try to disable  the "check filesystem" script in /etc/rc1.d/ by mounting the CF externally.

R

--- On Sat, 6/7/08, research_labs80 <> wrote:
From: research_labs80 <>
Subject: [ts-7000] Re: [7200] problem with fsck
To:
Date: Saturday, June 7, 2008, 11:55 PM

Hi Razvan,

yes i've tried with /dev/hda1 (as in the manual)
but with this happens the same, te continuous rebooting... now that i
check again :)

i copy again the messages, now with the /dev/hda1 config on fstab:
------------ --------- --------- --------- --------- --------- -
hda: SanDisk SDCFH-256, CFA DISK drive


ide0 at 0x8d000000-0x8d0000 07,0x88400006 on irq 32


hda: attached ide-disk driver.


hda: task_no_data_ intr: status=0x51 { DriveReady SeekComplete Error }


hda: task_no_data_ intr: error=0x04 { DriveStatusError }


hda: 501760 sectors (257 MB) w/1KiB Cache, CHS=980/16/32


Partition check:


/dev/ide/host0/ bus0/target0/ lun0: p1


TS-7200 flash: Found 1 x16 devices at 0x0 in 16-bit bank


Intel/Sharp Extended Query Table at 0x0031


Using buffer write method


cfi_cmdset_0001: Erase suspend on write enabled


Creating 3 MTD partitions on "TS-7200 flash":


0x00000000-0x000200 00 : "TS-BOOTROM"


0x00020000-0x006200 00 : "Linux"


0x00620000-0x008000 00 : "RedBoot"


NET4: Linux TCP/IP 1.0 for NET4.0


IP Protocols: ICMP, UDP, TCP, IGMP


IP: routing cache hash table of 512 buckets, 4Kbytes


TCP: Hash tables configured (established 2048 bind 4096)


Sending DHCP requests .., OK


IP-Config: Got DHCP answer from 192.168.1.1, my address is
192.168.1.103

IP-Config: Complete:


device=eth0, addr=192.168. 1.103, mask=255.255. 255.0,
gw=192.168.1. 1,

host=192.168. 1.103, domain=(...) , nis-domain=( none),


bootserver=192. 168.1.1, rootserver=192. 168.1.1, rootpath=


NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.


NetWinder Floating Point Emulator V0.97 (double precision)


/dev/ide/host0/ bus0/target0/ lun0: p1


/dev/ide/host0/ bus0/target0/ lun0: p1


VFS: Mounted root (ext2 filesystem).


Mounted devfs on /dev


Freeing init memory: 72K


INIT: version 2.86 booting


Creating extra device nodes...done.


Started device management daemon v1.3.25 for /dev


/dev/ide/host0/ bus0/target0/ lun0: p1


Checking root file system...


fsck 1.37 (21-Mar-2005)


e2fsck 1.37 (21-Mar-2005)


/dev/hda1 has gone 49710 days without being checked, check forced.


Pass 1: Checking inodes, blocks, and sizes


Pass 2: Checking directory structure


Pass 3: Checking directory connectivity


Pass 3A: Optimizing directories


Pass 4: Checking reference counts


Pass 5: Checking group summary information





/dev/hda1: ***** FILE SYSTEM WAS MODIFIED *****


/dev/hda1: ***** REBOOT LINUX *****


/dev/hda1: 15066/62744 files (0.6% non-contiguous) , 233305/250864
blocks




fsck corrected errors on the root partition, but requested that


the system be rebooted (exit code 3).





Automatic reboot in 5 seconds.





flushing ide devices: hda


Restarting system.
------------ --------- --------- --------- --------- --------- -

again, the system restarts.

i occupy the /dev/ide/host0/ bus0/target0/ lun0/part1 because i didn't
find the /dev/hda1 on the filesystem, but it seems to reference the
same device.

i particularly bother with the message: /dev/hda1 has gone 49710 days
without being checked, check forced.

when i put the date command on my system, i get:

$date
Wed Dec 31 21:00:50 BRT 1969

too old for a ARM9 SBC! XD

i try with the TS-NVRAM (only connect to the TS7200, i don't have a
manual to do any far) and doesn't keep the current date,

also try with NTP, and neither too.

any ideas?

--- In .com, Razvan-Ionut Stoian
<razvan_ionut_ .> wrote:
>
> Hi,
>
> your entry in fstab looks different from mine.
> I mean the line containing the / partition looks like this:
> /dev/hda1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
/&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ext2&nbsp;&nbsp; &nbsp;
defaults&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 1 1
> where "hda1" is the CF card.
> &nbsp;
> R
>
> --- On Sat, 6/7/08, research_labs80 wrote:
> From: research_labs80
> Subject: [ts-7000] [7200] problem with fsck
> To: .com
> Date: Saturday, June 7, 2008, 2:49 PM
>
>
>
>
>
>
>
>
>
>
>
> i used the TS7200, with a debian dist (debian-sarge-
256MB- 05-01-2006)
>
>
>
> i mounted this on a NFS, and it's ok (after a fighting with the
>
> kernel, but that's solved now)
>
>
>
> i try to copy this on a CF Sandisk 256 MB, mounting this like:
>
>
>
> $ sudo mount /dev/...(device) /media/cfdisk
>
>
>
> in my PC i have fsck 1.40.8 (13-Mar-2008)
>
>
>
> then i copy the debian content on the flash, and unmounted it.
>
>
>
> with fconfig i define the boot on the CF:
>
> load -r -v -b 0x00218000 -m disk hda1:/boot/vmlinux. bin
>
> exec -c "console=ttyAM0, 115200 ip=dhcp root=/dev/hda1"
>
>
>
> after the initial messages, this appear on the console:
>
>
>
> ------------ --------- --------- --------- --------- --------- -
>
> Creating extra device nodes...done.
>
>
>
>
>
> Started device management daemon v1.3.25 for /dev
>
>
>
>
>
> /dev/ide/host0/ bus0/target0/ lun0: p1
>
>
>
>
>
> Checking root file system...
>
>
>
>
>
> fsck 1.37 (21-Mar-2005)
>
>
>
>
>
> e2fsck 1.37 (21-Mar-2005)
>
>
>
>
>
> /dev/ide/host0/ bus0/target0/ lun0/part1 has gone 49710 days without
>
> being checked, check forced.
>
>
>
> Pass 1: Checking inodes, blocks, and sizes
>
>
>
>
>
> Pass 2: Checking directory structure
>
>
>
>
>
> Pass 3: Checking directory connectivity
>
>
>
>
>
> Pass 3A: Optimizing directories
>
>
>
>
>
> Pass 4: Checking reference counts
>
>
>
>
>
> Pass 5: Checking group summary information
>
>
>
>
>
>
>
>
>
>
>
> /dev/ide/host0/ bus0/target0/ lun0/part1: ***** FILE SYSTEM WAS MODIFIED
>
> *****
>
>
>
> /dev/ide/host0/ bus0/target0/ lun0/part1: ***** REBOOT LINUX *****
>
>
>
>
>
> /dev/ide/host0/ bus0/target0/ lun0/part1: 15066/62744 files (0.6%
>
> non-contiguous) , 233305/250864 blocks
>
>
>
>
>
>
>
>
>
> fsck corrected errors on the root partition, but requested that
>
>
>
>
>
> the system be rebooted (exit code 3).
>
>
>
>
>
>
>
>
>
>
>
> Automatic reboot in 5 seconds.
>
> ------------ --------- --------- --------- --------- --------- -
>
>
>
> in fstab i define the fs as:
>
> /dev/ide/host0/ bus0/target0/ lun0/part1 / ext2
defaults,noatime, async 1 1
>
>
>
> i run fsck on the PC, and on the TS7200, and there is no errors, i
>
> suppose the problem is in the date, but i don't know how to fix that...
>
>
>
> anybody can help?
>


__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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