Dear Mr Phil,
Very Thanks for your reply,
1) WHen I am booting up the system I am getting message uncomprressing Linux
message.
2) I modified the bootrags to bootargs.
3) The Character 'M' is displaying at the mem=120M due to the minicom window
size.
I have setup the things with the modification of bootargs again. ( setenv).
WHen I boot it , I got the following log message:
/////////////////////////////////
DaVinci EVM # boot
## Booting image at 02050000 ...
Image Name: Linux-2.6.10_mvl401-davinci_evm
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1333196 Bytes = 1.3 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK
Starting kernel ...
Linux version 2.6.10_mvl401-davinci_evm ([EMAIL PROTECTED]) (gcc version 3.4.3
(MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #2 Mon Aug 7 14:58:21 PDT 2006
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200n8 noinitrd rw
ip=10.65.102.141:10.65.102.157:10.65.102.157:255.255.255.0:::off root=/dev/nfs
nfsroot=10.65.102.157:/home/Ramesh/workdir/filesys,MPID hash table entries: 512
(order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 120MB = 120MB total
Memory: 118784KB available (2271K code, 480K data, 136K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
Registering platform device 'musb_hdrc'. Parent at platform
DaVinci I2C DEBUG: 12:15:02 Aug 1 2006
Registering platform device 'i2c'. Parent at platform
usbcore: registered new driver usbfs
usbcore: registered new driver hub
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Aug 1 2006 12:14:38 Installing.
Registering platform device 'davincifb.0'. Parent at platform
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Registering platform device 'ti_davinci_emac'. Parent at platform
TI DaVinci EMAC: MAC address is 00:0e:99:02:5c:53
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
netconsole: not configured, aborting
i2c /dev entries driver
Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
DaVinci v4l2 capture driver V1.0 loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: TOSHIBA MK4032GAX, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22
hda: max request size: 1024KiB
hda: 78140160 sectors (40007 MB), CHS=16383/255/63
hda: hda1 hda2
ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio
mice: PS/2 mouse device common for all mice
musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0]
musb_hdrc: USB Host mode controller at c8060000 using PIO, IRQ 12
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Registering platform device 'davinci-audio.0'. Parent at platform
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Complete:
device=eth0, addr=10.65.102.141, mask=255.255.255.0, gw=10.65.102.157,
host=10.65.102.141, domain=, nis-domain=(none),
bootserver=10.65.102.157, rootserver=10.65.102.157, rootpath=
Looking up port of RPC 100003/2 on 10.65.102.157
portmap: server 10.65.102.157 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 10.65.102.157
portmap: server 10.65.102.157 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 10.65.102.157 not responding, timed out
Root-NFS: Server returned error -5 while mounting /home/Ramesh/workdir/filesys
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
/////////////////////////////////////////////
Now I am concentrating reading about following error lines..
Looking up port of RPC 100003/2 on 10.65.102.157
portmap: server 10.65.102.157 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Please provide me some idea for fixing this issue.
Thanks
Ramesh
From: Phil Quiney [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2008 11:50 PM
To: Ramesh Rajagopal; [email protected]
Subject: RE: DVEVM 6446 NFS Mount issue
Hi
You need to check the initial output from the kernel to check the bootargs are
getting passed in correctly. It appears on the screen very soon after the
'uncompressing Linux...' message.
At one point you have incorrectly typed 'bootrags' instead of 'bootargs'. I am
also wondering what the stray 'M' character is (probably a ^M from a DOS view
of things).
The fact that VFS is mounting the hard disk suggests that the kernel is not
being passed the correct NFS arguments.
If the system is running then you can also get to the boot arguments by doing a
'cat /proc/cmdline'.
Regards
Phil Q
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Ramesh Rajagopal
Sent: Mon 09/06/2008 01:10
To: [email protected]
Subject: DVEVM 6446 NFS Mount issue
Hi all,
I am using Redha Linux Enterprise 4.
I am working with TI DMEVM 6446 evaluation board.
I am trying to create NFS and to mount on the target system.
I am using the SPRUE66B document for reference,
I have done the follwing things,
1) Install the monta vista linux onto the Host PC
2)Done the following things
host $ cp -a
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/* .
host $ chown -R <useracct> opt
3) in etc/exports edit the following thing
/home/<useracct>/workdir/filesys
*(rw,no_root_squash,no_all_squash,sync)
4) set the following in the target
EVM # setenv nfshost <IP ADDRESS OF YOUR NFS HOST>
EVM # setenv rootpath <DIRECTORY_TO_MOUNT>
EVM # setenv bootargs console=ttyS0,115200n8 noinitrd rw
ip=dhcp root=/dev/nfs
nfsroot=$(nfshost):$(rootpath),nolock mem=120M
5) create the project in
/home/Ramesh/workdir/filesys/opt
// print the target env
bootdelay=3
baudrate=115200
bootfile="uImage"
setenv=nfshost 10.65.102.101
bootargs=console=ttyS0,115200n8 noinitrd rw ip=10.65.103.111 root=/dev/nfs
nfsroot=10.65.103.111:home/Ramesh/workdir/filesysMbootcmd=bootm 0x2050000
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:5c:53
videostd=ntsc
nfshost=10.65.103.111
rootpath=/home/Ramesh/workdir/filesys
bootrags=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs
nfsroot=10.65.103.111:home/Ramesh/workdir/filesys, nolock M
Environment size: 513/131068 bytes
then boot the target.
I am not able to see in the target /opt/( my project)
When I boot the target, I am not sure the NFS is mounted or not.
But I felt that NFS is not mounted on to the target.
I am getting the following messages.
///////////////////////////////////////////////////////////////////
IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.65.102.141
IP-Config: Complete:
device=eth0, addr=10.65.102.141, mask=255.255.255.0, gw=10.65.102.254,
host=10.65.102.141, domain=wpgholdings.com, nis-domain=(none),
bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 136K
INIT: version 2.85 booting
Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
Activating swap...done.
Remounting root filesystem...done.
Calculating module dependencies
Loading modules:
Starting checking all file systems: fsck
fsck 1.35 (28-Feb-2004)
Starting mounting local filesystems: mount nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Disable TCP/IP Explicit Congestion Notification: done.
Starting network interfaces: done.
Starting hotplug subsystem:
pci
pci [success]
usb
usb [success]
isapnp
isapnp [success]
ide
ide [success]
input
input [success]
scsi
scsi [success]
done.
Starting portmap daemon: portmap.
Cleaning: /tmp /var/lock /var/run done.
Setting pseudo-terminal access permissions...done.
Updating /etc/motd...done.
INIT: Entering runlevel: 3
Starting system log daemon: syslogd klogd.
Starting NFS common utilities: statd lockd.
Starting internet superserver: inetd.
cmemk: module license '(c) Texas Instruments' taints kernel.
cmem initialized 4 pools between 0x87800000 and 0x88000000
dsplinkk: no version for "struct_module" found: kernel tainted.
DDR_START 0x8fa00000 DDR_SIZE 0x400000
Starting web server ...
thttpd
DVT-DSA proc module 1.0 initialized
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
Starting MontaVista target tools daemon: mvltdmvltd version 2.1 MontaVista
Software,Inc.
.
MontaVista(R) Linux(R) Professional Edition 4.0 (0501140)
10.65.102.141 login:
///////////////////////////////////////////////////
Please refer the Red color in the above message.
May You give me some idea to test how to test the NFS>:
Thanks
Ramesh,.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source