ts-7000
[Top] [All Lists]

Re: [ts-7000] Problem copying flash card

To:
Subject: Re: [ts-7000] Problem copying flash card
From: Jim Jackson <>
Date: Mon, 17 May 2010 20:31:33 +0100 (BST)
Hi again,

On Mon, 17 May 2010, arquattr wrote:

> Hi, I'm trying to make a copy of the CF card for my TS7200 board but I 
> ran into the following errors:
>
> fsck.ext2: Filesystem has unsupported feature(s) (/dev/hda1)
> e2fsck: Get a newer version of e2fsck!

If you are following another thread, there may be a clue in something
Jamil Haider posted. He says he uses mke2fs -I 128 /dev/sda1 to create his
filesystem. If you look at a man page for a fairly modern mke2fs (aka 
mkfs.ext2) it says under the -I option description that by default it 
creates 256-byte inodes which are not mountable with 2.4 kernels


> I put the CF into a card reader on a PC running Fedora 10, and made a 
> copy of the entire contents to the hard drive.  I put in a new flash card 
> and formatted it to ext2 file system, and copied the files and folders to 
> the new card.  I see that dd is preferred for this, but the cards are 
> different size and I'm not clear on how to create and restore the image 
> for different partition sizes.
>
> Just doing a straight copy, it complains about the filesystem.  The complete 
> boot-up output is below.  Any ideas?
>
> Thanks,
> Angelo
>
>
>
>>> TS-BOOTROM, Rev 1.08 - built 10:44:37, May 26 2006
>>> Copyright (C) 2006, Technologic Systems
>>> TS-7200: Rev >E1 CPU, Rev C PLD, 32MB SDRAM, options ( RS485 )
>
> +IDE failed to identify unit 0 - wrote: b0, read: 0
> Ethernet eth0: MAC address 00:d0:69:40:66:ce
> IP: 192.168.0.110/255.255.255.0, Gateway: 192.168.0.1
> Default server: 192.168.0.1
>
> RedBoot(tm) bootstrap and debug environment [ROMRAM]
> Non-certified release, version current-TS_5 - built 11:24:54, Jun  7 2006
>
> Platform: TS-7200 Board (ARM920T) Rev A
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
>
> RAM: 0x00000000-0x02000000, [0x00044f88-0x01fdd000] available
> FLASH: 0x60000000 - 0x60800000, 64 blocks of 0x00020000 bytes each.
> == Executing boot script in 0.100 seconds - enter ^C to abort
> RedBoot> fis load vmlinux
> RedBoot> exec -c "console=ttyAM0,115200 root=/dev/hda1"
> Using base address 0x00218000 and length 0x000c0000
> Linux version 2.4.26-ts11  (gcc version 3.3.4) #215 Thu 
> Jun 8 14:30:17 MST 2006
> CPU: Arm920Tid(wb) revision 0
> Machine: ep9301
> On node 0 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> On node 1 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> On node 4 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> On node 5 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: console=ttyAM0,115200 root=/dev/hda1
> Console: colour dummy device 80x30
> Calibrating delay loop... 99.94 BogoMIPS
> Memory: 8MB 8MB 8MB 8MB = 32MB total
> Memory: 28500KB available (1320K code, 350K data, 72K init)
> Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
> Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
> Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
> CPU: Testing write buffer: pass
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> Starting kswapd
> devfs: v1.12c (20020818) Richard Gooch 
> devfs: boot_options: 0x1
> JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
> ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
> ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
> ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
> pty: 1024 Unix98 ptys configured
> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ enabled
> rtc: no TS-5620 RTC detected.
> ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
> Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
> ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
> Technologic Systems TS-7XXX IDE initialization - driver version 1.3, 6/21/04.
> hda: CF CARD 4GB, ATA DISK drive
> ide0 at 0x8d000000-0x8d000007,0x88400006 on irq 32
> hda: attached ide-disk driver.
> hda: 7372512 sectors (3775 MB) w/1KiB Cache, CHS=7314/16/63
> Partition check:
> /dev/ide/host0/bus0/target0/lun0: [PTBL] [914/128/63] 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-0x00020000 : "TS-BOOTROM"
> 0x00020000-0x00620000 : "Linux"
> 0x00620000-0x00800000 : "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)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> NetWinder Floating Point Emulator V0.97 (double precision)
> VFS: Mounted root (ext2 filesystem).
> Mounted devfs on /dev
> Freeing init memory: 72K
> INIT: version 2.84 booting
> Creating extra device nodes...done.
> Started device management daemon v1.3.25 for /dev
> Checking root file system...
> fsck 1.27 (8-Mar-2002)
> e2fsck 1.27 (8-Mar-2002)
> fsck.ext2: Filesystem has unsupported feature(s) (/dev/hda1)
> e2fsck: Get a newer version of e2fsck!
>
> fsck failed.  Please repair manually and reboot.  Please note
> that the root file system is currently mounted read-only.  To
> remount it read-write:
>
>   # mount -n -o remount,rw /
>
> CONTROL-D will exit from this shell and REBOOT the system.
>
> Give root password for maintenance
> (or type Control-D for normal startup):
> (none):~#
> (none):~# mount
> /dev/hda1 on / type ext2 (rw)
> proc on /proc type proc (rw)
> none on /dev/pts type devpts (rw,gid=5,mode=620)
> (none):~# umount /
> (none):~# e2fsck -p -f -c -y /dev/hda1
> e2fsck 1.27 (8-Mar-2002)
> e2fsck: Filesystem has unsupported feature(s) (/dev/hda1)
> e2fsck: Get a newer version of e2fsck!
> (none):~#
>
>
>


------------------------------------

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