At this point in your process, did you
1) do a reset using the reset button?
or
2) did you do a login as root, shutdown the system, then reset
the system?
If you did #1, then this can hurt the filesystem. With Linux/Unix
you must do an unmount or a proper shutdown or your filesystem
may be hurt.
>
> Debian GNU/Linux 3.0 ts7200 ttyAM0
>
> ts7200 login:
>
> 9. After a reset, the board produces:
>
> >> TS-BOOTROM, Rev 1.05 - built 16:48:05, Mar 1 2005
> >> Copyright (C) 2005, Technologic Systems
> >> TS-7200: Rev E0 CPU, Rev C PLD, 32MB SDRAM
ld_ts7200 wrote:
> Hi Everyone,
>
> I'm new to both linux and the TS-7200.
>
> I'm trying to create a Debian build on a SanDisk 512Mb CF.
>
> However the build always works first time and any subsequent boots
> fail (big time). To generate the build, I used the following steps:
>
> 1. fdisk, produced:
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 1023 507377 83 Linux
>
> 2. mkfs.ext2 /dev/sda1 -O none
>
> 3. mount /dev/sda1 /media/usbdisk
>
> 4. tar -C /media/usbdisk -xvf debian256-3-7-2005.tar
>
> 5. umount /dev/sda1
>
> 6. fsck /dev/sda1, produced:
> fsck 1.37 (21-Mar-2005)
> e2fsck 1.37 (21-Mar-2005)
> /dev/sda1: clean, 19600/126976 files, 232758/507376 blocks
>
> 7. Alter the fconfig's boot script:
>
> fis load vmlinux
> exec -c "console=ttyAM0,115200 ip=192.168.10.50 root=/dev/hda1"
>
> 8. Booting produces (sorry for the exessive trace):
>
> >> TS-BOOTROM, Rev 1.05 - built 16:48:05, Mar 1 2005
> >> Copyright (C) 2005, Technologic Systems
> >> TS-7200: Rev E0 CPU, Rev C PLD, 32MB SDRAM
>
> +IDE failed to identify unit 0 - wrote: b0, read: 0
> Ethernet eth0: MAC address 00:d0:69:40:16:b9
> IP: 192.168.0.50/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 15:40:53, Mar
>
> 8 2005
>
> Platform: TS-7200 Board (ARM920T) Rev A
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
>
> RAM: 0x00000000-0x02000000, [0x00044c28-0x01fdd000] available
> FLASH: 0x60000000 - 0x61000000, 128 blocks of 0x00020000 bytes
> == Executing boot script in 0.100 seconds - enter ^C to abort
> RedBoot> fis load vmlinux
> RedBoot> exec -c "console=ttyAM0,115200 ip=192.168.10.50
>
> root=/dev/hda1"
> Using base address 0x00218000 and length
> 0x(\0xa8\0x08\0x08\0x04\0xffLinux version
> 2.4.26-vrs1-cirrus-1-2-1-ts8 (gcc version
> 3.3.4)
> #2 Mon Mar 7 10:59:07 MST 2005
> 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 2 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> On node 3 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: console=ttyAM0,115200 ip=192.168.10.50
> root=/dev/hda1
> Calibrating delay loop... 99.94 BogoMIPS
> Memory: 8MB 8MB 8MB 8MB = 32MB total
> Memory: 28656KB available (1236K code, 298K data, 56K 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
> about to do sbc_setinfo
> 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: HYPERSTONE FLASH DISK, CFA DISK drive
> ide0 at 0x8d000000-0x8d000007,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: 1014816 sectors (520 MB) w/0KiB Cache, CHS=1023/16/62
> 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-0x00020000 : "TS-BOOTROM"
> 0x00020000-0x00e20000 : "Linux"
> 0x00e20000-0x01000000 : "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)
> enable_irq(39) unbalanced from c02c2b18
> IP-Config: Guessing netmask 255.255.255.0
> IP-Config: Complete:
> device=eth0, addr=192.168.10.50, mask=255.255.255.0,
> gw=255.255.255.255,
> host=192.168.10.50, domain=, nis-domain=(none),
> bootserver=255.255.255.255, rootserver=255.255.255.255,
>
> 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: 56K
> INIT: version 2.84 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.27 (8-Mar-2002)
> e2fsck 1.27 (8-Mar-2002)
> /dev/hda1: clean, 19600/126976 files, 232757/507376 blocks
> Calculating module dependencies... done.
> Loading modules: usb-ohci-ep93xx usb.c: registered new driver
> usbdevfs
> usb.c: registered new driver hub
> usb-ohci.c: USB OHCI at membase 0xe0020000, IRQ 56
> usb.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found
> hub.c: 3 ports detected
> fat vfat
> Checking all file systems...
> fsck 1.27 (8-Mar-2002)
> none on /dev/pts type devpts (rw,gid=5,mode=620)
> Starting hotplug subsystem: usb.
> Running 0dns-down to make sure resolv.conf is ok...done.
> Cleaning: /etc/network/ifstate.
> Setting up IP spoofing protection: rp_filter.
> Configuring network interfaces: done.
> Starting portmap daemon: portmap.
> Running ntpdate to synchronize clock.
> Recovering nvi editor sessions... done.
> INIT: Entering runlevel: 2
> Starting system log daemon: syslogd.
> Starting hotplug subsystem: usb.
> Starting kernel log daemon: klogd.
> Starting NFS common utilities: statd.
> Starting internet superserver: inetd.
> Not starting NFS kernel daemon: No exports.
> Starting OpenBSD Secure Shell server: sshd.
> Starting deferred execution scheduler: atd.
> Starting periodic command scheduler: cron.
> Starting web server: apache.
>
> Debian GNU/Linux 3.0 ts7200 ttyAM0
>
> ts7200 login:
>
> 9. After a reset, the board produces:
>
> >> TS-BOOTROM, Rev 1.05 - built 16:48:05, Mar 1 2005
> >> Copyright (C) 2005, Technologic Systems
> >> TS-7200: Rev E0 CPU, Rev C PLD, 32MB SDRAM
>
> +IDE failed to identify unit 0 - wrote: b0, read: 0
> Ethernet eth0: MAC address 00:d0:69:40:16:b9
> IP: 192.168.0.50/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 15:40:53,
> Mar
> 8 2005
>
> Platform: TS-7200 Board (ARM920T) Rev A
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
>
> RAM: 0x00000000-0x02000000, [0x00044c28-0x01fdd000] available
> FLASH: 0x60000000 - 0x61000000, 128 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 ip=192.168.10.50
> root=/dev/hda1"
> Using base address 0x00218000 and length
> 0x(\0x08\0x08\0x08D\0xffLinux version
> 2.4.26-vrs1-cirrus-1-2-1-ts8 (gcc version
> 3.3.4)
> #2 Mon Mar 7 10:59:07 MST 2005
> 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 2 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> On node 3 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: console=ttyAM0,115200 ip=192.168.10.50
> root=/dev/hda1
> Calibrating delay loop... 99.94 BogoMIPS
> Memory: 8MB 8MB 8MB 8MB = 32MB total
> Memory: 28656KB available (1236K code, 298K data, 56K 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
> about to do sbc_setinfo
> 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: HYPERSTONE FLASH DISK, CFA DISK drive
> ide0 at 0x8d000000-0x8d000007,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: 1014816 sectors (520 MB) w/0KiB Cache, CHS=1023/16/62
> 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-0x00020000 : "TS-BOOTROM"
> 0x00020000-0x00e20000 : "Linux"
> 0x00e20000-0x01000000 : "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)
> enable_irq(39) unbalanced from c02c2b18
> IP-Config: Guessing netmask 255.255.255.0
> IP-Config: Complete:
> device=eth0, addr=192.168.10.50, mask=255.255.255.0,
>
> gw=255.255.255.255,
> host=192.168.10.50, domain=, nis-domain=(none),
> bootserver=255.255.255.255, rootserver=255.255.255.255,
> 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
> EXT2-fs warning: mounting unchecked fs, running e2fsck is
> recommended
> VFS: Mounted root (ext2 filesystem).
> Mounted devfs on /dev
> Freeing init memory: 56K
> INIT: version 2.84 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.27 (8-Mar-2002)
> e2fsck 1.27 (8-Mar-2002)
> /dev/hda1 was not cleanly unmounted, check forced.
> Pass 1: Checking inodes, blocks, and sizes
> Inode 12 has a bad extended attribute block 123142. Clear? yes
>
> Inode 12, i_blocks is 4, should be 2. Fix? yes
>
> Inode 13 has a bad extended attribute block 123142. Clear? yes
>
> Inode 13, i_blocks is 4, should be 2. Fix? yes
>
> and so on....
>
> >From the trace, do I need to unmount the hda1 (CF) drive before
> powering off?
>
> If so, does this mean the CF build is not suitable for embedded
> applications where power disruptions may occur?
>
> Many thanks,
>
> Lee
>
>
>
>
>
> SPONSORED LINKS
> Computer internet security
> <http://groups.yahoo.com/gads?t=ms&k=Computer+internet+security&w1=Computer+internet+security&w2=Linux+os&w3=Computer+internet+business&w4=Computer+internet+access&w5=Computer+internet+privacy+securities&w6=Computer+internet+help&c=6&s=178&.sig=pCSzZQGwc0GSbM6DZ0DGng>
>
> Linux os
> <http://groups.yahoo.com/gads?t=ms&k=Linux+os&w1=Computer+internet+security&w2=Linux+os&w3=Computer+internet+business&w4=Computer+internet+access&w5=Computer+internet+privacy+securities&w6=Computer+internet+help&c=6&s=178&.sig=DDrcEduicdOIsW3YtShGZg>
>
> Computer internet business
> <http://groups.yahoo.com/gads?t=ms&k=Computer+internet+business&w1=Computer+internet+security&w2=Linux+os&w3=Computer+internet+business&w4=Computer+internet+access&w5=Computer+internet+privacy+securities&w6=Computer+internet+help&c=6&s=178&.sig=RPF22h0XC3eTC2joLSlOUQ>
>
>
> Computer internet access
> <http://groups.yahoo.com/gads?t=ms&k=Computer+internet+access&w1=Computer+internet+security&w2=Linux+os&w3=Computer+internet+business&w4=Computer+internet+access&w5=Computer+internet+privacy+securities&w6=Computer+internet+help&c=6&s=178&.sig=lmy0IGMkIRl_GhxpgNfSFA>
>
> Computer internet privacy securities
> <http://groups.yahoo.com/gads?t=ms&k=Computer+internet+privacy+securities&w1=Computer+internet+security&w2=Linux+os&w3=Computer+internet+business&w4=Computer+internet+access&w5=Computer+internet+privacy+securities&w6=Computer+internet+help&c=6&s=178&.sig=w6JfR87cWp7mB6pPfOzTpg>
>
> Computer internet help
> <http://groups.yahoo.com/gads?t=ms&k=Computer+internet+help&w1=Computer+internet+security&w2=Linux+os&w3=Computer+internet+business&w4=Computer+internet+access&w5=Computer+internet+privacy+securities&w6=Computer+internet+help&c=6&s=178&.sig=uCb2yaaSfpj2Gpfcz4daxw>
>
>
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
> * Visit your group "ts-7000
> <http://groups.yahoo.com/group/ts-7000>" on the web.
>
> * To unsubscribe from this group, send an email to:
>
> <=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|