[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] mount: Mounting proc on /proc failed: No such file or directory



Hi Everyone!
I'am working on a HydraXC-10 Board with a spartan 3 xc3s100 ft256.
After booting, i'm getting so many stranges things.
1- "mount: Mounting proc on /proc failed: No such file or directory"
i've checked in the /etc/rc scripts and all seems ok.
---------/etc/rc script-------
# cat /etc/rc
#!/bin/sh

PATH=/bin:/sbin:/usr/bin:/usr/sbin
TZ=JST-9

echo "Mounting proc: "
mount -t proc proc /proc

echo "Mounting var: "
mount -t ramfs none /var

echo "Populating /var: "
mkdir /var/run/ &&
mkdir /var/tmp/ &&
chmod 777 /var/tmp

echo "Running local start scripts."
for i in /etc/rc.d/S*
do
  if [ -x $i ]; then
    /bin/sh $i
  fi
done

2-
# after doing a ls, i have this output
ls: ./ÿÿûÿÿÿÿûïßÿÿÿÿÿÿýÿÿßþ½÷ÿ¿ÿëÿÿÿ¿ûÿÿúÿïï÷ÿþÿÿÿÿþÿÿ~ÿÿÿÿÿÿÿÿÿÿÿÿÿÿþûÿÿÿûÿÿ
ÿÿþÿÿÿÿÿïÿÿÿÿÿÿValue too large for defined data type
bin   dev   etc   home  lib   mnt   tmp   usr   var
3- by doing "ifconfig eth0" i got this
# ifconfig eth0
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
eth0      Link encap:Ethernet  HWaddr 00:00:C0:A3:E5:44
          inet addr:192.168.10.54  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          Interrupt:3

There is something going wrong on my systems, but i don't know what.
Have someone experiencing this????
The whole terminal output is provided by end of this message
Any ideas, suggestions are welcome
Thanks
Jislaine Silatsa


----------------Terminal ouput------------------

# HydraXC BIOS 1.0.1.a
MAC: 00147A110009
Status:
File: DOWNLOAD.BIT
Loading FPGA
Loading O/S...
¬°Linux version 2.4.32-uc0 (root@linux) (gcc version 3.4.1 ( Xilinx EDK 8.1 Bui
ld EDK_I.17 121005 )) #1 Di Apr 18 17:01:16 CEST 2006
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line:
Console: xmbserial on UARTLite
Calibrating delay loop... 49.66 BogoMIPS
Memory: 16MB = 16MB total
Memory: 13984KB available (1090K code, 1122K data, 48K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Microblaze UARTlite serial driver version 1.00
ttyS0 at 0xffff2000 (irq = 1) is a Microblaze UARTlite
Starting kswapd
xgpio #0 at 0xFFFF5000 mapped to 0xFFFF5000
Xilinx GPIO registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
eth0: using fifo mode.
eth0: Xilinx EMAC #0 at 0xC0000000 mapped to 0xC0000000, irq=3
eth0: id 0.0a; block id 0, type 0
uclinux[mtd]: RAM probe address=0x8014909c size=0xe1000
uclinux[mtd]: root filesystem index=0
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 48K
Mounting proc:
mount: Mounting proc on /proc failed: No such file or directory
Mounting var:
Populating /var:
Running local start scripts.
Mounting /etc/config:
Populating /etc/config:
flatfsd: Nonexistent or bad flatfs (-48), creating new one...
flatfsd: Failed to write flatfs (-48): No such device
flatfsd: Created 5 configuration files (210 bytes)
Setting hostname:
Setting up interface lo:
Setting up interface eth0:
Starting thttpd:

uclinux-auto login:
uclinux-auto login: root
Password:
# ls
ls: ./ÿÿûÿÿÿÿûïßÿÿÿÿÿÿýÿÿßþ½÷ÿ¿ÿëÿÿÿ¿ûÿÿúÿïï÷ÿþÿÿÿÿþÿÿ~ÿÿÿÿÿÿÿÿÿÿÿÿÿÿþûÿÿÿûÿÿ
ÿÿþÿÿÿÿÿïÿÿÿÿÿÿÿ÷ÿ¿ÿûÿÿÿÿÿ¿÷ÿ÷ÿÿ÷¿ÿÿÿÿÿÿÿûÿÿÿÿýÿï÷ÿÿ: Value too large for defin
ed data type
bin   dev   etc   home  lib   mnt   tmp   usr   var
# ifconfig eth0
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
eth0      Link encap:Ethernet  HWaddr 00:00:C0:A3:E5:44
          inet addr:192.168.10.54  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          Interrupt:3

#
# cat /etc/rc
#!/bin/sh

PATH=/bin:/sbin:/usr/bin:/usr/sbin
TZ=JST-9

echo "Mounting proc: "
mount -t proc proc /proc

echo "Mounting var: "
mount -t ramfs none /var

echo "Populating /var: "
mkdir /var/run/ &&
mkdir /var/tmp/ &&
chmod 777 /var/tmp

echo "Running local start scripts."
for i in /etc/rc.d/S*
do
  if [ -x $i ]; then
    /bin/sh $i
  fi
done


#