This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NFS Help -- No Ethernet?

Hi all,

 

I am new to the forums and to TI Davinci. I am having some problems booting to the NFS from my device. Maybe someone can help point me in the right direction?

 

I have Windows running my TFTP server (IP 192.168.0.2). This works fine. I have a VM (Ubuntu 11.04) with the NFS, I can mount the NFS and it goes well from Linux (IP 192.168.0.50). All packages (DVSDK, C6X, etc) are fresh downloads and builds. I have followed the directions in the Gettings Started Guide, but I cannot seem to boot the NFS for some reason. My EVM is 192.168.0.100 and can ping both the TFTP and the Linux VM. TFTP goes well and starts the Linux boot, but then fails when it gets to mounting the NFS. Firewall is off, NFS is running. When I look at a wireshark capture, the EVM doesn't seem to even try to go out on the network and connect to the NFS. Anyone seen this before or could help point me in the right direction I would be greatly appreciative! I have been working on this and surfing the net for help for 3 days. Below is the following output from the boot process. I have also added rootdelay=5 to the following with no help.

 

printenv
bootdelay=3
baudrate=115200
ethaddr=00:0e:99:02:51:54
bootfile=uImage
nfhost=192.168.1.99
videostd=ntsc
rootpath=/home/user/workdir/filesys
ipgateway=192.168.0.1
nfshost=192.168.0.50
autoload=no
filesize=1ec0b0
fileaddr=80700000
gatewayip=192.168.0.1
netmask=255.255.255.0
ipaddr=192.168.0.100
serverip=192.168.0.2
bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.0.100:192.168.0.50:192.168.0.1:255
.255.255.0:::off eth=00:0e:99:02:51:54 root=/dev/nfs nfsroot=192.168.0.50:/home/user/work
dir/filesys,nolock rootdelay=5 mem=120M
bootcmd=tftpboot 0x80700000 uImage;bootm
stdin=serial
stdout=serial
stderr=serial

Environment size: 603/131068 bytes
Ruiva-Dm6446-0012# ping 192.168.0.2
host 192.168.0.2 is alive
Ruiva-Dm6446-0012# ping 192.168.0.50
host 192.168.0.50 is alive
Ruiva-Dm6446-0012# boot
TFTP from server 192.168.0.2; our IP address is 192.168.0.100
Filename 'uImage'.
Load address: 0x80700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####
done
Bytes transferred = 2017372 (1ec85c hex)
## Booting image at 80700000 ...
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2017308 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux......................................................................
............................................................... done, booting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (user@ubuntu) (gcc version 4.2.0 (Mont
aVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Fri Nov 25 01:32:23 EST 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM6443 variant 0x1
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
Built 1 zonelists.  Total pages: 30720
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.0.100:102.168.0.50:192
.168.0.1:255.255.255.0:::off eth=00:0e:99:02:51:54 root=/dev/nfs nfsroot=192.168.0.50:/ho
me/user/workdir/filesys,nolock mem=120M
TI DaVinci EMAC: Kernel Boot params Eth address: 00:0e:99:02:51:54
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 03
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: 117376KB available (3457K code, 689K data, 172K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
DaVinci: 71 gpio irqs
WARNING: both IDE and NOR flash are enabled, but share pins.
        Disable IDE for NOR support.
ch0 default output "COMPOSITE", mode "NTSC"
MUX: initialized LOEEN
MUX: initialized LFLDEN
VPBE Encoder Initialized
LogicPD encoder initialized
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
davinci_spi_board_init: NO spi support
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Nov 26 2011 23:31:37 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
davincifb davincifb: dm_osd0_fb: 720x480x16@0,0 with framebuffer size 675KB
davincifb davincifb: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
davincifb davincifb: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
davincifb davincifb: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
davincifb davincifb.0: dm_osd0_fb: Failed to obtain ownership of OSD window.
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
netconsole: not configured, aborting
TI DaVinci EMAC: MAC address is 57:c0:48:7d:57:c0
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
Linux video capture interface: v2.00
vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
Trying to register davinci display video device.
layer=c7491600,layer->video_dev=c7491760
Trying to register davinci display video device.
layer=c7491400,layer->video_dev=c7491560
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded

 Davici AEW Driver cannot be loaded
 VIDEO PORT is not enabledData Flow path from CCDC is disabled

 Davinci AF driver cannot be loaded
 VIDEO PORT is not enabled
 CCDC needs to be configured<6>i2c /dev entries driver
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
MUX: initialized HDIREN
MUX: initialized ATAEN
    ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
Palm Chip BK3710 IDE Register Fail
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c805e000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
rtc_davinci_evm rtc_davinci_evm: rtc intf: proc
rtc_davinci_evm rtc_davinci_evm: rtc intf: dev (254:0)
rtc_davinci_evm rtc_davinci_evm: rtc core: registered rtc_davinci_evm as rtc0
rtc0: hours 12-23 are misreported as duplicate hours 00-11
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC)
.
ASoC version 0.13.1
MUX: initialized MCBSP
AIC3X Audio Codec 0.1
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
  #0: DaVinci EVM (aic3x)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
rtc_davinci_evm rtc_davinci_evm: hctosys: invalid date/time
usb 1-1: new high speed USB device using musb_hdrc and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 2 ports detected
IP-Config: Complete:
      device=eth0, addr=192.168.0.100, mask=255.255.255.0, gw=192.168.0.1,
     host=192.168.0.100, domain=, nis-domain=(none),
     bootserver=102.168.0.50, rootserver=192.168.0.50, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.50
portmap: server 192.168.0.50 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.0.50
portmap: server 192.168.0.50 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 192.168.0.50 not responding, timed out
Root-NFS: Server returned error -5 while mounting /home/user/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)

 

Thanks for any help and pointing me in the right direction.

 

also, Maybe this is easier somehow if I can boot to a local filesystem stored in NAND? Anyone know how I might go about doing that?

 

Thanks

 

Tim

  • Hi,

     

    >>portmap: server 192.168.0.50 not responding, timed out

    The Portmap operation where the timeout is happening is contacting the portmap daemon on your Linux IP.

    Have you checked, that it is running? You can use "rpcinfo -p " to check it. 

    Also, are you running the nfs daemon on your Linux host. Try exportfs -a and check if you see the directory with fs exported.

    Can you mount the nfs filesystem from other computers? You may have to export it to them, but that may be easier to debug, because you can enter commands on them...

     

    Do you have any kind of firewall on your Linux Host. If yes, disable i and test.

     

    >>also, Maybe this is easier somehow if I can boot to a local filesystem stored in NAND? Anyone know how I might go about doing that?

    http://processors.wiki.ti.com/index.php/UG:_DaVinci_PSP_Installation_on_DM644x_EVM#Booting_Linux_Kernel_from_NAND_flash

     

     

    Regards

    Gururaja

     

  • Hi Gururaja,

     

    Yes, portmap looks good on host. did export of the file system. NFS is running, firewall is off. I can mount the fs as well on a computer. The thing that I really notice is that I don't see the EVM even trying to get to the NFS. I do a wireshark capture, but don't see the EVM even trying to do anything across the network after TFTP the uImage. I added the rootdelay in an attempt to possibly fix this, but that did not. It really just seems like the Ethernet does not get a link after the TFTP process. Any thoughts or options to compile the kernel with to maybe see more of what is happening?

     

    Thanks

     

    Tim

  • Hi,

    Can you boot the boot using non-nfs mode & then ping the linux host to see if the connection is fine. Also once in linux console, try to mount the nfs filesystem through "mount -t nfs" option.

    Regards

    Gururaja

  • Hi Gururaja,

     

    I am using this EVM: http://focus.ti.com/dsp/docs/thirdparty/catalog/devtoolsproductfolder.tsp?actionPerformed=productFolder&productId=8017

     

    So there is no hard drive. I will need to follow your steps to building and putting into NAND before I can try regular boot process. I will give this a try and then post back. If you can think of anything else that might be wrong....

  • I have made it a little further, but maybe someone has seen this happen and can help the rest of the way. Now TFTP and NFS are on the same server 192.168.0.50. Thanks.

     

     

    TFTP from server 192.168.0.50; our IP address is 192.168.0.100

    Filename

    'uImage'.

    Load address: 0x80700000

    Loading: *\0x08#################################################################

    \0x09 ##

    ############################################################

    ###

    \0x09 #####################################################

    ############

    \0x09 ############################################

    #####################

    \0x09 ###################################

    ##############################

    \0x09 ##########################

    #######################################

    \0x09 #######

    done

    Bytes transferred = 2028552 (1ef

    408 hex)

     

    ## Booting image at 80700000 ...

    Image Name: Linux-2.6.18_

    pro500-davinci_evm-

    Image Type: ARM Linux Kernel Image (uncompressed)

    Data Size: 2028488 Bytes = 1.9 MB

    Load Address: 80008000

    Entry Point: 80008000

    Verifying Checksum ...

    OK

     

    OK

     

    Starting kernel ...

     

    Uncompressing Linux............

    ............................................................

    ............................................................

    .. done, booting the kernel.

     

    Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (tim@tim-dev) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 20

    08-08-30)) #1 PREEMPT Thu Dec 1 21:50:31 CST 2011

    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

    Machine: DaVinci EVM

    Memory policy: ECC disabled, Data cache writeback

    DaVinci DM6443 variant 0x1

    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

    Built 1 zonelists. Total pages: 30208

    Kernel command line: video=davincifb:vid0=0,2500K:vid1=0,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=ntsc console=ttyS0,115200n8 noinitrd rw ip=192.168.0.100:192.168.0.52:192.168.0.1:255.255.255.0:::off eth=00:0e:99:02:51:54 root=/dev/nfs nfsroot=192.168.0.50:/home/tim/project/ruiva-dm6446-dvsdk2/workdir/filesys,nolock mem=118M

    TI DaVinci EMAC: Kernel Boot params Eth address: 00:0e:99:02:51:54

    PID hash table entries: 512 (order: 9, 2048 bytes)

    Clock event device timer0_0 configured with caps set: 03

    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: 118MB = 118MB total

    Memory: 115200KB available (3473K code, 694K data, 172K init)

    Security Framework v1.0.0 initialized

    Capability LSM initialized

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    NET: Registered protocol family 16

    DaVinci: 71 gpio irqs

    WARNING: both IDE and NOR flash are enabled, but share pins.

    \0x09Disable IDE for NOR support.

    WARNING: both NAND and NOR flash are enabled, but share pins.

    \0x09Disable NAND for NOR support.

    : failed to get UART2 clock

    ch0 default output "COMPOSITE", mode "NTSC"

    MUX: initialized LOEEN

    MUX: initialized LFLDEN

    VPBE Encoder Initialized

    LogicPD encoder initialized

    SCSI subsystem initialized

    usbcore: registered new driver usbfs

    usbcore: registered new driver hub

    NET: Registered protocol family 2

    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

    TCP established hash table entries: 4096 (order: 2, 16384 bytes)

    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

    TCP: Hash tables configured (established 4096 bind 2048)

    TCP reno registered

    Initializing DaVinci McBSP system

    MUX: initialized MCBSP

    davinci_spi_board_init: NO spi support

    VFS: Disk quotas dquot_6.5.1

    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

    squashfs: version 3.1 (2006/08/19) Phillip Lougher

    JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.

    yaffs Dec 1 2011 21:45:25 Installing.

    SGI XFS with no debug enabled

    Initializing Cryptographic API

    io scheduler noop registered

    io scheduler anticipatory registered (default)

    LTT : ltt-facilities init

    LTT : ltt-facility-core init in kernel

    davincifb davincifb: dm_osd0_fb: Initial window configuration is invalid.

    davincifb davincifb: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 2025KB

    davincifb davincifb: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 2500KB

    davincifb davincifb: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB

    davincifb davincifb: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 2500KB

    davincifb davincifb.0: dm_osd0_fb: Failed to obtain ownership of OSD window.

    DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec

    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled

    serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a 16550A

    serial8250.0: ttyS1 at MMIO map 0x1c20800 mem 0xfec20800 (irq = 42) is a 16550A

    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize

    netconsole: not configured, aborting

    TI DaVinci EMAC: MAC address is 00:0e:99:02:51:54

    TI DaVinci EMAC Linux version updated 4.0

    TI DaVinci EMAC: Installed 1 instances.

    Linux video capture interface: v2.00

    vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded

    Trying to register davinci display video device.

    layer=c0be2600,layer->video_dev=c0be2760

    Trying to register davinci display video device.

    layer=c0be2400,layer->video_dev=c0be2560

     

    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded

    i2c /dev entries driver

    TLV320AIC23 I2C version 1.8 (10-Feb-2006)

    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

     

    ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio

     

    Palm Chip BK3710 IDE Register Fail

    nand_davinci nand_davinci.0: Using soft ECC

    NAND device: Manufa

    cturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit)

    Scanning device for bad blocks

     

    Creating 4 MTD partitions on "nand_davinci.0":

    0x00000000-0x000

    40000 : "bootloader"

    0x00040000-0x00060000 : "params"

    0x00060000-0x00460000 : "kernel"

    0x00460000-0x10000000 : "filesystem"

    nand_davinci nand_davinci.0: hardware revision: 2.1

    Initializing USB Mass Storage driver...

    usbcore: registered new driver usb-storage

    USB Mass Storage support registered.

    usbcore: registered new driver usbhid

    drivers/usb/input/hid-core.c: v2.6:USB HID core driver

    musb_hdrc: version 6.0, cppi-dma, host, debug=0

    musb_hdrc musb_hdrc: No DMA interrupt line

    musb_hdrc: USB Host mode controller at c7866000 using DMA, IRQ 12

    musb_hdrc musb_hdrc: MUSB HDRC host driver

    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1

    usb usb1: configuration #1 chosen from 1 choice

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 1 port detected

    mice: PS/2 mouse device common for all mice

    rtc_davinci_evm rtc_davinci_evm: rtc intf: proc

    rtc_davinci_evm rtc_davinci_evm: rtc intf: dev (254:0)

    rtc_davinci_evm rtc_davinci_evm: rtc core: registered rtc_davinci_evm as rtc0

    rtc0: hours 12-23 are misreported as duplicate hours 00-11

    davinci-mmc davinci-mmc.0: Supporting 4-bit mode

    davinci-mmc davinci-mmc.0: Using DMA mode

    aic33 mclk=27MHz

    davinci mcbsp&aic33 initializing...

    aic33:set left mic volume to: 50 set right mic volume to: 50

    set left volume to: 50 set right volume to: 50

    aic33: Enabling line in

    set left igain to:50 Set right igain to: 50

    set left ogain to: 100 Set right ogain to: 100

    aic33:set left mic volume to: 50 set right mic volume to: 50

    set left

    volume to: 50 set right volume to: 50

    aic33: Enabling line in

    set left igain to:50 Set right igain to: 50

    set left ogain to: 100 Set right ogain to: 100

    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).

    ASoC version 0.13.1

    AIC3X Audio Codec 0.1

    ALSA device list:

    No soundcards found.

    IPv4 over IPv4 tunneling driver

    TCP bic registered

    NET: Registered protocol family 1

    NET: Registered protocol family 17

    \0x08Time: timer0_1 clocksource has been installed.

    Clock event device timer0_0 configured with caps set: 08

    Switched to high resolution mode on CPU 0

    usb 1-1: new high speed USB device using musb_hdrc and address 2

    rtc_davinci_evm rtc_davinci_evm: hctosys: invalid date/time

     

    usb 1-1: configuration #1 chosen from 1 choice

    hub 1-1:1.0: USB hub found

    hub 1-1:1.0: 2 ports

    detected

     

    IP-Config: Complete:

    device=eth0, addr=192.168.0.100, mask=255.255.255.0, gw=192.168.0.1,

     

    host=192.168.0.100, domain=, nis-domain=(none),

    bootserver=192.168.0.52, rootserver=192.168.0.50, rootpath=

    Looking up port of RPC 100003/2 on 192.168.0.50

     

    Looking up port of RPC 100005/1 on 192.168.0.50

    VFS: Mounted roo

    t (nfs filesystem).

    Freeing init memory: 172K

     

     

    INIT: version 2.86 booting

     

     

     

    Starting the hotplug events dispatcher: udevd

    .

    Synthesizing the initial hotplug events...done.

     

    Waiting for /dev to be fully populated...

    done.

     

    Activating swap...done.

    Remounting root filesystem...

    done.

    Calculating module dependencies

     

    nfs: server 192.168.0.50 not responding, still trying

     

    nfs: server 192.168.0.50 not responding, still trying

     

    nfs: server 192.168.0.50 not responding, still trying

     

  • Hi,

    I have seen such errors cause for which was IP address conflict. Can you check whether the IP 192.168.0.100 is assigned for anyone else?

    Regards, Sudhakar

  • Rajashekhara,

     

    I dont think there is a conflict. The only devices on the network are my EVM, my computer, and the switch that ties them together. I can change the IP address and see if that helps. I wouldn't suspect it though. Thanks for the help!

     

    Tim

  • Rajashekhara,

    Changing the IP did not fix the problem.... any other thoughts?

     

    Thanks

  • Searched about in this forum. A few hits:
    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/t/7390.aspx
    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/t/6205.aspx

    - Duplicate IP address. You've already checked that.
    - Duplicate MAC. Doubtful
    - Incompatible gigabit switch. Switch to 10/100.
    - Net config in targets rootfs /etc/network/interfaces is different than bootargs.

    Seems to be a lot of failure modes with NFS.

  • IP-Config: Complete:

    device=eth0, addr=192.168.0.100, mas

    k=255.255.255.0, gw=192.168.0.1,

    host=192.168.0.100, domain=, nis-domain=(none),

    bootserver=192.168.0.50, rootserver=192.168.0.50, rootpath=

    Looking up port of RPC 100003/2 on 192.168.0.50

     

    Looking up port of RPC 100005/1 on 192.168.0.50

     

    VFS: Mounted root (nfs filesystem).

    Freeing init memory: 172K

     

     

    INIT:

    version 2.86 booting

     

     

     

    Starting the hotplug events dispatcher: udevd

    .

    Synthesizing the initial hotplug events...

    done.

     

    Waiting for /dev to be fully populated...

    done.

     

    Activating swap...

    done.

    Remounting root filesystem...done.

     

    Calculating module dependencies

     

    nfs: server 192.168.0.50 not responding, still trying

     

    nfs: server 192.168.0.50 not responding, still trying

     

    nfs: server 192.168.0.50 not responding, still trying

  • Anyone else out there have any thoughts? Maybe someone from TI can shed some light on this?

     

    Firewall is stopped

    NFS is running and can mount the drive locally

    File system is exported correctly

    Seems that it mounts 2 times and on the second just stops after "Calculating module dependencies"

    Wireshark capture does not seem to show any "errors"

    filesystem has root ownership. root built file system.

    Data still being send from EVM to Host, but shows IP fragment not NFS.

    Tried Arago pre-built. root tar to directory, export directory. Same issue.

    Modified /etc/network/interfaces with

    auto eth0

    iface eth0 inet static and dhcp. Bot no go.

    DHCP gets and sets IP adderss to 192.168.0.100 (did this last night)

     

    Seems like after 2nd boot that the Linux Ethernet driver kicks in and looses the NFS for some reason?

     

    Been working on this for 2 weeks. Need some help or a work around to get going. Can I TFTP the filesystem using U-boot to flash and then run from there? How can I do this?

    Thanks

    Tim

  • Looks like not much more to try. Maybe try a slower 10/100 switch/router. Some notes here:

    http://processors.wiki.ti.com/index.php/UG:_DaVinci_PSP_Installation_on_DM644x_EVM

    You can try this interactively from U-Boot without making permanent changes:

    tftp 0x80700000 uImage
    tftp 0x82000000 arago-base-image-arago.ext2.gz
    setenv bootargs video=davincifb:vid0=0,2500K:vid1=0,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=ntsc console=ttyS0,115200n8 rw ip=192.168.0.100:192.168.0.52:192.168.0.1:255.255.255.0:::off eth=00:0e:99:02:51:54 root=/dev/ram0 rw initrd=0x82000000,4M mem=118M
    boot

    The above should allow the kernel to boot with a RAMDISK. Once up, you should be able to poke around to see why the network is not working. Note that any changes to the RAMDISK are lost on reset.

     

    EDIT: Oops. Removed noiinitrd from bootargs.

  • ok making some progress here....

    in module-init-tools I comment out:

    local RET ERROR=
        local action=$1
        local actionName=
       
        case "$action" in
            "load")
                log_success_msg "Calculating module dependencies"
                # $APP1 -a > /dev/null <-- comment here
                log_success_msg "Loading modules: "
                ;;
            "unload")
                log_success_msg "Unloading modules: "
                ;;
            *)
                log_failure_message "Bad action specified"
                exit 1
                ;;   

    then I get:



    Activating swap...done.

    Remounting root filesystem...

    done.

    Calculating module dependencies

    Loading modules:


    Checking all file systems: fsck


    fsck 1.40 (29-Jun-2007)


    Mounting local filesystems: mount nothing was mounted


    umount.nfs: /dev/root: not found or not mounted


    Setting up networking ...

    .

    /etc/network/options is deprecated.


    Setting up IP spoofing protection: rp_filter done.

    Disabling IP

    v4 packet forwarding: done.


    Disabling TCP/IP Explicit Congestion Notification: done.

    Starting network interfaces:

    done.

    dhcpcd.exe: interface eth0 has been configured with old IP=192.168.0.100

    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...

    .


    Cleaning: /tmp

    /var/lock /var/run

    done.

    Updating /etc/motd...

    done.



    nfs: server 192.168.0.50 not responding, still trying

    nfs: server 192.

    168.0.50 not responding, still trying

     

    I edit bootmisc.sh and comment out line at end:

    echo "before logged to dmesg"
    #dmesg > /var/log/dmesg
    echo "logged to dmesg"

    to move forward but now I am here:

    I edited nfs-common and added in some debug here (this is where it freezes):

    echo " statd - debug"
        start-stop-daemon --start --oknodo --quiet \
            --exec $PREFIX/sbin/rpc.statd -- $STATDOPTS
        echo " statd - debug"


    Calculating module dependencies

    Loading modules:

    Checking all

     file systems: fsck

    fsck 1.40 (29-Jun-2007)


    Mounting local filesystems: mount nothing was mounted


    umount.nfs: /dev/root: not found or not mounted


    Setting up networking ...

    .

    /etc/network/options is deprecated.


    Setting up IP spoofing protection: rp_filter done.

    Disabling IPv4 packet forwarding: done.



    Disabling TCP/IP Explicit Congestion Notification: done.

    Starting network interfaces:

    dhcpcd.exe: interface eth0 has been configured with old IP=192.168.0.100

    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...

    .


    Cleaning: /tmp

    /var/lock /var/run

    done.

    Updating /etc/motd...

    done.

    before logged to dmesg

    logged to dmesg



    INIT: Entering runlevel: 3




    Starting system log daemon:

    syslogd

    NET: Registered protocol family 10

    6WIND/LSIIT IPv6 multicast forwarding 0.1 plus PIM-SM/SSM with *BSD API

    lo: Disa

    bled Privacy Extensions

    IPv6 over IPv4 tunneling driver


    Mobile IPv6


     

    klogd

    .


    Starting NFS common utilities: statd statd - debug



    nfs: server 192.168.0.50 not responding, still trying



    Dont know what to do anymore.

    Thanks