Hi All,
We recently purchased two ROACH boards from Digicom and we seem to be
experiencing a bit of an issue. Upon trying to boot to the SD card on
either, several processes don't come up, complaining of "Stale NFS
handle". If I configure eth0, I can start it that once but it will not
initialize by default. Attached is a copy of a dump from minicom via
serial.
The only command I am using in uboot is mmcboot. In addition, I'm using
the SD cards as they arrived (which seems to have the correct
filesystem/format). Should I be doing something else in addition to
mount the SD card?
Finally, I saw a similar thread in the archive (here)
<http://www.mail-archive.com/[email protected]/msg00612.html>.
Any advice? Thank you very much!
--Ryan
[!p[?3;4l[4l>[0m(B[?1h=[H[2J[0m(B[7m[57;1H[K[?12l[?25h[?25l
[?12l[?25h[?12l[?25h[57;34HNOR[1;1H[57;1H[?25l CTRL-A Z for help
|115200 8N1 | NOR | Minicom 2.3 | VT102 | Offline
[57;62H[?12l[?25h[1;1H[8;62H[?25l[0m(B+-----------------------+[9;62H|
|[10;62H| Initializing Modem |[11;62H|
|[12;62H+-----------------------+[10;83H[?25l[?12l[?25h[8;1H
[9;1H
[10;1H
[11;1H
[12;1H
[1;1H[0m(B[7m
[0m(BWelcome to minicom 2.3
OPTIONS: I18n
Compiled on Nov 23 2010, 13:27:13.
Port /dev/ttyS0[7;16H[8;16HPress CTRL-A Z for help on special keys
AT S7=45 S0=0 L1 V1 X4 &C1 E1 Q0
LOGIN INCORRECT
ROACH LOGIN:
U-Boot 2008.10-svn3231 (Jul 15 2010 - 14:58:38)
CPU: AMCC PowerPC 440EPx Rev. A at 533.333 MHz (PLB=133, OPB=66, EBC=66 MHz)
Security/Kasumi support
Bootstrap Option C - Boot ROM Location EBC (16 bits)
32 kB I-Cache 32 kB D-Cache
Board: Roach
I2C: ready
DTT: 1 FAILED INIT
DRAM: (spd v1.3) dram: notice: ecc ignored
1 GB
FLASH: 64 MB
USB: Host(int phy) Device(ext phy)
Net: ppc_4xx_eth0
Roach Information
Serial Number: 040308
Monitor Revision: 10.1.1843
CPLD Revision: 8.0.1588
type run netboot to boot via dhcp+tftp+nfs
type run soloboot to run from flash without network
type run mmcboot to boot using filesystem on mmc/sdcard
type run usbboot to boot using filesystem on usb
type run bit to run tests
Hit any key to stop autoboot: 10 9 8 7 6 5 4 3
2 1 0
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at fc000000 ...
Image Name: Linux-2.6.25-svn2382-dirty3
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1399105 Bytes = 1.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
id mach(): done[53;16H
MMU:enter[54;10H
MMU:hw init[55;12H
MMU:mapin[56;10H
MMU:setio[1;56r[56;1H
[1;57r[56;1H[56;10H
MMU:exit[1;56r[56;1H
[1;57r[56;1H[56;9H
setup_arch: enter[1;56r[56;1H
[1;57r[56;1H[56;18H
setup_arch: bootmem[1;56r[56;1H
[1;57r[56;1H[56;20H
ocp: exit[1;56r[56;1H
[1;57r[56;1H[56;10H
arch: exit[1;56r[56;1H
[1;57r[56;1H[56;11H
Linux version 2.6.25-svn2382-dirty3 (marc@seif) (gcc version 4.0.0 (DENX ELDK
4.0 4.0.0)) #23 Tue Nov 10 15:30:48 SAST 2009
[1;56r[56;1H
[1;57r[56;1HAMCC PowerPC 440EPx Roach Platform
[1;56r[56;1H
[1;57r[56;1HZone PFN ranges:
[1;56r[56;1H
[1;57r[56;1H DMA 0 -> 262143
[1;56r[56;1H
[1;57r[56;1H Normal 262143 -> 262143
[1;56r[56;1H
[1;57r[56;1HMovable zone start PFN for each node
[1;56r[56;1H
[1;57r[56;1Hearly_node_map[1] active PFN ranges
[1;56r[56;1H
[1;57r[56;1H 0: 0 -> 262143
[1;56r[56;1H
[1;57r[56;1HBuilt 1 zonelists in Zone order, mobility grouping on. Total
pages: 260096
[1;56r[56;1H
[1;57r[56;1HKernel command line: console=ttyS0,115200
mtdparts=physmap-flash.0:1792k(linux),256k@0x1c0000(fdt),8192k@0x200000(root),54656k@0xa00000(usr),256k@[56;146H0[56;146Hx[56;146H3[56;146Hf[56;146H6[56;146H0[56;146H0[56;146H0[56;146H0[56;146H([56;146He[56;146Hn[56;146Hv[56;146H)[56;146H,[56;146H3[56;146H8[56;146H4[56;146Hk[56;146H@[56;146H0[56;146Hx[56;146H3[56;146Hf[56;146Ha[56;146H0[56;146H0[56;146H0[56;146H0[56;146H([56;146Hu[56;146Hb[56;146Ho[56;146Ho[56;146Ht[56;146H)[56;146Hf[56;146Hd[56;146Ht[56;146H_[56;146Ha[56;146Hd[56;146Hd[56;146Hr[56;146H=[56;146H0[56;146Hx[56;146Hf[56;146Hc[56;146H1[56;146Hc[56;146H0[56;146H0[56;146H0[56;146H0[56;146H
[56;146Hr[56;146Ho[56;146Ho[56;146Ht[56;146H=[56;146Hb[56;146H3[56;146H0[56;146H1[56;146H
[56;146Hr[56;146Hw[56;146H
[56;146Hr[56;146Ho[56;146Ho[56;146Ht[56;146Hd[56;146He[56;146Hl[56;146Ha[56;146Hy[56;146H=[56;146H1[56;146H
[1;56r[56;1H
[1;57r[56;1HPID hash table entries: 4096 (order: 12, 16384 bytes)
[1;56r[56;1H
[1;57r[56;1Hconsole [ttyS0] enabled
[1;56r[56;1H
[1;57r[56;1HDentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[1;56r[56;1H
[1;57r[56;1HInode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[1;56r[56;1H
[1;57r[56;1HMemory: 1036416k available (2092k kernel code, 728k data, 132k
init, 0k highmem)
[1;56r[56;1H
[1;57r[56;1HMount-cache hash table entries: 512
[1;56r[56;1H
[1;57r[56;1HBORPH version CVS-$Revision: 1.10 $ Initialized
[1;56r[56;1H
[1;57r[56;1Hnet_namespace: 152 bytes
[1;56r[56;1H
[1;57r[56;1HNET: Registered protocol family 16
[1;56r[56;1H
[1;57r[56;1H [1;56r[56;1H
[1;57r[56;1H[56;14H
PCI: Probing PCI hardware
[1;56r[56;1H
[1;57r[56;1HSCSI subsystem initialized
[1;56r[56;1H
[1;57r[56;1Husbcore: registered new interface driver usbfs
[1;56r[56;1H
[1;57r[56;1Husbcore: registered new interface driver hub
[1;56r[56;1H
[1;57r[56;1Husbcore: registered new device driver usb
[1;56r[56;1H
[1;57r[56;1HNET: Registered protocol family 2
[1;56r[56;1H
[1;57r[56;1HIP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[1;56r[56;1H
[1;57r[56;1HTCP established hash table entries: 131072 (order: 8, 1048576
bytes)
[1;56r[56;1H
[1;57r[56;1HTCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[1;56r[56;1H
[1;57r[56;1HTCP: Hash tables configured (established 131072 bind 65536)
[1;56r[56;1H
[1;57r[56;1HTCP reno registered
[1;56r[56;1H
[1;57r[56;1Hhwrtype_roach version CVS-$Revision: 1.1 $ registered
[1;56r[56;1H
[1;57r[56;1HJFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[1;56r[56;1H
[1;57r[56;1Hio scheduler noop registered (default)
[1;56r[56;1H
[1;57r[56;1HSerial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
disabled
[1;56r[56;1H
[1;57r[56;1Hserial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A
[1;56r[56;1H
[1;57r[56;1Hserial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A
[1;56r[56;1H
[1;57r[56;1Hserial8250: ttyS2 at MMIO 0x0 (irq = 35) is a 16550A
[1;56r[56;1H
[1;57r[56;1Hserial8250: ttyS3 at MMIO 0x0 (irq = 36) is a 16550A
[1;56r[56;1H
[1;57r[56;1Hbrd: module loaded
[1;56r[56;1H
[1;57r[56;1HPPC 4xx OCP EMAC driver, version 3.54
[1;56r[56;1H
[1;57r[56;1Hmal0: initialized, 2 TX channels, 2 RX channels
[1;56r[56;1H
[1;57r[56;1Hrgmii0: input 0 in RGMII mode
[1;56r[56;1H
[1;57r[56;1Heth0: emac0, MAC 02:00:00:04:03:08
[1;56r[56;1H
[1;57r[56;1Heth0: found Generic MII PHY (0x1e)
[1;56r[56;1H
[1;57r[56;1Hrgmii0: input 1 in RGMII mode
[1;56r[56;1H
[1;57r[56;1Hemac1: can't find PHY!
[1;56r[56;1H
[1;57r[56;1Htun: Universal TUN/TAP device driver, 1.6
[1;56r[56;1H
[1;57r[56;1Htun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[1;56r[56;1H
[1;57r[56;1HDriver 'sd' needs updating - please use bus_type methods
[1;56r[56;1H
[1;57r[56;1Hphysmap platform flash device: 04000000 at fc000000
[1;56r[56;1H
[1;57r[56;1Hphysmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
[1;56r[56;1H
[1;57r[56;1H Amd/Fujitsu Extended Query Table at 0x0040
[1;56r[56;1H
[1;57r[56;1Hphysmap-flash.0: CFI does not contain boot bank location.
Assuming top.
[1;56r[56;1H
[1;57r[56;1Hnumber of CFI chips: 1
[1;56r[56;1H
[1;57r[56;1Hcfi_cmdset_0002: Disabling erase-suspend-program due to code
brokenness.
[1;56r[56;1H
[1;57r[56;1Hmtd: bad character after partition (f)
[1;56r[56;1H
[1;57r[56;1H6 cmdlinepart partitions found on MTD device physmap-flash.0
[1;56r[56;1H
[1;57r[56;1HCreating 6 MTD partitions on "physmap-flash.0":
[1;56r[56;1H
[1;57r[56;1H0x00000000-0x001c0000 : "linux"
[1;56r[56;1H
[1;57r[56;1H0x001c0000-0x00200000 : "fdt"
[1;56r[56;1H
[1;57r[56;1H0x00200000-0x00a00000 : "root"
[1;56r[56;1H
[1;57r[56;1H0x00a00000-0x03f60000 : "usr"
[1;56r[56;1H
[1;57r[56;1H0x03f60000-0x03fa0000 : "env"
[1;56r[56;1H
[1;57r[56;1H0x03fa0000-0x04000000 : "uboot"
[1;56r[56;1H
[1;57r[56;1Hppc-soc-ehci ppc-soc-ehci.0: PPC-SOC EHCI
[1;56r[56;1H
[1;57r[56;1Hppc-soc-ehci ppc-soc-ehci.0: new USB bus registered, assigned bus
number 1
[1;56r[56;1H
[1;57r[56;1Hppc-soc-ehci ppc-soc-ehci.0: irq 26, io mem 0xe0000300
[1;56r[56;1H
[1;57r[56;1Hppc-soc-ehci ppc-soc-ehci.0: USB 2.0 started, EHCI 1.00, driver
10 Dec 2004
[1;56r[56;1H
[1;57r[56;1Husb usb1: configuration #1 chosen from 1 choice
[1;56r[56;1H
[1;57r[56;1Hhub 1-0:1.0: USB hub found
[1;56r[56;1H
[1;57r[56;1Hhub 1-0:1.0: 1 port detected
[1;56r[56;1H
[1;57r[56;1Husb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[1;56r[56;1H
[1;57r[56;1Husb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[1;56r[56;1H
[1;57r[56;1Husb usb1: Product: PPC-SOC EHCI
[1;56r[56;1H
[1;57r[56;1Husb usb1: Manufacturer: Linux 2.6.25-svn2382-dirty3 ehci_hcd
[1;56r[56;1H
[1;57r[56;1Husb usb1: SerialNumber: PPC-SOC EHCI
[1;56r[56;1H
[1;57r[56;1HInitializing USB Mass Storage driver...
[1;56r[56;1H
[1;57r[56;1Husbcore: registered new interface driver usb-storage
[1;56r[56;1H
[1;57r[56;1HUSB Mass Storage support registered.
[1;56r[56;1H
[1;57r[56;1Hi2c /dev entries driver
[1;56r[56;1H
[1;57r[56;1HIBM IIC driver v2.1
[1;56r[56;1H
[1;57r[56;1Hibm-iic0: using standard (100 kHz) mode
[1;56r[56;1H
[1;57r[56;1Hibm-iic1: using standard (100 kHz) mode
[1;56r[56;1H
[1;57r[56;1Hrmon: found Roach Monitor - Rev 10.1.1843
[1;56r[56;1H
[1;57r[56;1Hrmon_sensors: initialized 23 sensors
[1;56r[56;1H
[1;57r[56;1Hrmon 0-000f: rtc core: registered rmon as rtc0
[1;56r[56;1H
[1;57r[56;1Hroach_mmc: Roach MMC/SD driver
[1;56r[56;1H
[1;57r[56;1Hrmmc: initialized mmc
[1;56r[56;1H
[1;57r[56;1HTCP cubic registered
[1;56r[56;1H
[1;57r[56;1HNET: Registered protocol family 1
[1;56r[56;1H
[1;57r[56;1HNET: Registered protocol family 17
[1;56r[56;1H
[1;57r[56;1Hrmmc: performing card initialization
[1;56r[56;1H
[1;57r[56;1HRPC: Registered udp transport module.
[1;56r[56;1H
[1;57r[56;1HRPC: Registered tcp transport module.
[1;56r[56;1H
[1;57r[56;1Hrmon 0-000f: setting system clock to 2012-05-08 04:00:20 UTC
(1336449620)
[1;56r[56;1H
[1;57r[56;1HWaiting 1sec before mounting root device...
[1;56r[56;1H
[1;57r[56;1Hmmc0: new SD card at address aaaa
[1;56r[56;1H
[1;57r[56;1Hmmcblk0: mmc0:aaaa SD02G 1931264KiB
[1;56r[56;1H
[1;57r[56;1H mmcblk0: p1
[1;56r[56;1H
[1;57r[56;1HEXT2-fs warning: mounting unchecked fs, running e2fsck is
recommended
[1;56r[56;1H
[1;57r[56;1HVFS: Mounted root (ext2 filesystem).
[1;56r[56;1H
[1;57r[56;1HFreeing unused kernel memory: 132k init
[1;56r[56;1H
[1;57r[56;1HINIT: version 2.86 booting
[1;56r[56;1H
[1;57r[56;1HActivating swap...done.
[1;56r[56;1H
[1;57r[56;1HSetting the system clock..
[1;56r[56;1H
[1;57r[56;1HCleaning up ifupdown....
[1;56r[56;1H
[1;57r[56;1HLoading kernel modules...FATAL: Could not load
/lib/modules/2.6.25-svn2382-dirty3/modules.dep: No such file or directory
[1;56r[56;1H
[1;57r[56;1HLoading device-mapper support.
[1;56r[56;1H
[1;57r[56;1HChecking file systems...fsck 1.40-WIP (14-Nov-2006)
[1;56r[56;1H
[1;57r[56;1Hdone.
[1;56r[56;1H
[1;57r[56;1HSetting kernel variables...done.
[1;56r[56;1H
[1;57r[56;1HMounting local filesystems...done.
[1;56r[56;1H
[1;57r[56;1HActivating swapfile swap...done.
[1;56r[56;1H
[1;57r[56;1Hfind: ./sshd.pid: Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hfind: ./motd: Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hfind: ./ntpd.pid: Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hrm: cannot remove `./sshd.pid': Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hrm: cannot remove `./motd': Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hrm: cannot remove `./ntpd.pid': Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1H* bootclean: Failure cleaning /var/run.
[1;56r[56;1H
[1;57r[56;1HSetting up networking.../etc/rcS.d/S39ifupdown: line 85:
/etc/network/run/ifstate: Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1H* Failure initializing /etc/network/run/ifstate
[1;56r[56;1H
[1;57r[56;1H failed!
[1;56r[56;1H
[1;57r[56;1HConfiguring network interfaces...ifup: failed to open statefile
/etc/network/run/ifstate: Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hfailed.
[1;56r[56;1H
[1;57r[56;1Hfind: ./sshd.pid: Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hfind: ./motd: Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hfind: ./ntpd.pid: Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hrm: cannot remove `./sshd.pid': Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hrm: cannot remove `./motd': Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hrm: cannot remove `./ntpd.pid': Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1H* bootclean: Failure cleaning /var/run.
[1;56r[56;1H
[1;57r[56;1H/etc/rcS.d/S55bootmisc.sh: line 43: /var/run/motd: Stale NFS file
handle
[1;56r[56;1H
[1;57r[56;1H/etc/rcS.d/S55bootmisc.sh: line 44: /var/run/motd: Stale NFS file
handle
[1;56r[56;1H
[1;57r[56;1Hmv: accessing `/var/log//dmesg.1.gz': Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hchown: failed to get attributes of `/var/log/dmesg': Stale NFS
file handle
[1;56r[56;1H
[1;57r[56;1Hchmod: failed to get attributes of `/var/log/dmesg': Stale NFS
file handle
[1;56r[56;1H
[1;57r[56;1H/etc/rcS.d/S55bootmisc.sh: line 50: /var/log/dmesg: Stale NFS
file handle
[1;56r[56;1H
[1;57r[56;1Hchgrp: cannot access `/var/log/dmesg': Stale NFS file handle
[1;56r[56;1H
[1;57r[56;1Hrm: cannot remove `/var/lib/urandom/random-seed': Stale NFS file
handle
[1;56r[56;1H
[1;57r[56;1HINIT: Entering runlevel: 2
[1;56r[56;1H
[1;57r[56;1H 8 May 04:00:28 ntpdate[477]: no servers can be used, exiting
[1;56r[56;1H
[1;57r[56;1Heth0: interrupt coalescing (RX:count=8 time=1000, TX:count=8
time=1000)
[1;56r[56;1H
[1;57r[56;1Heth0: link is up, 100 FDX
[1;56r[56;1H
[1;57r[56;1HStarting OpenBSD Secure Shell server: sshdstart-stop-daemon: open
pidfile /var/run/sshd.pid: Stale NFS file handle (Stale NFS file handle)
[1;56r[56;1H
[1;57r[56;1HStarting NTP server: ntpdstart-stop-daemon: open pidfile
/var/run/ntpd.pid: Stale NFS file handle (Stale NFS file handle)
[1;56r[56;1H
[1;57r[56;1H failed!
[1;56r[56;1H
[1;57r[56;1Htcpborphserver: starting
[1;56r[56;1H
[1;57r[56;1H[1;56r[56;1H
[1;57r[56;1HDebian GNU/Linux 4.0 roach ttyS0
[1;56r[56;1H
[1;57r[56;1H[1;56r[56;1H
[1;57r[56;1Hroach login: