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.

look for Anshuman Saxena.Could you help me? some error in IPNC boot

Hello Anshuman:

You know I used Davinci DM368IPNC-IMX036-A175(TMS320DM368)   dvsdk_2_10_01_18 ipnc release and linux-2.6.18_pro500

when I using tftpboot, I encountered the error "nfs: server 192.168.10.98 not responding, still trying"

Maybe:

1. "killall" command kill the NFS server?

2* Network congestion  * Overloaded server  * Packets (input or output) dropped by a bad NIC or driver....?


Could you give me any solution?

thanks for your visit

 any help would be great!

Best regards

Amy

 

the boot diary are below:

=====================================

DM36x initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
   DONE
Jumping to entry point at 0x81080000.

 DM368_IPNC_UBL_1.0.0

U-Boot 1.3.4 (Apr 20 2010 - 11:42:44) DM368-IPNC-1.0.0

I2C:   ready
DRAM:  128 MB
NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
128 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock :- 432MHz
DDR Clock :- 340MHz
Ethernet PHY: GENERIC @ 0x01
Hit any key to stop autoboot:  0
DM368 IPNC :>printenv
bootdelay=4
baudrate=115200
bootfile="uImage"
bootcmd=nand read 0x82000000 0x700000 0xD00000; nboot 0x80700000 0 0x500000; bootm 0x80700000
ethaddr=00:00:00:00:ff:01
nfsroot=/home/dvdev/ipnc/target/filesys
filesize=1C0584
fileaddr=80700000
ipaddr=192.168.10.99
rootpath=/home/dvdev/ipnc/target/filesys
nfshost=192.168.10.98
serverip=192.168.10.98
bootargs=console=ttyS1,115200n8 noinitrd rw ip=192.168.10.99 root=/dev/nfs nfsroot=192.168.10.98:/home/dvdev/ipnc/target/filesys
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.3.4 (Apr 20 2010 - 11:42:44) DM368-IPNC-1.0.0

Environment size: 576/131068 bytes


DM368 IPNC :>tftpboot 0x80700000 uImage.080803
TFTP from server 192.168.10.98; our IP address is 192.168.10.99
Filename 'uImage.080803'.
Load address: 0x80700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################################
done
Bytes transferred = 1868808 (1c8408 hex)
DM368 IPNC :>bootm
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.18_pro500-davinci_IPNC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1868744 Bytes =  1.8 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Linux version 2.6.18_pro500-davinci_IPNC_DM368_2.0.0-g3f0c5a95-dirty (root@dvdev-desktop) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Mon Aug 8 09:24:18 CST 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM368 IPNC
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000
PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428
PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000
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: 32768
Kernel command line: console=ttyS1,115200n8 noinitrd rw ip=192.168.10.99 root=/dev/nfs nfsroot=192.168.10.98:/home/dvdev/ipnc/target/filesys
PID hash table entries: 1024 (order: 10, 4096 bytes)
Clock event device timer0_0 configured with caps set: 07
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: 128MB = 128MB total
Memory: 125824KB available (3213K code, 656K data, 176K 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: 104 gpio irqs
MUX: initialized GPIO20
MUX: initialized I2C_SCL
Generic PHY: Registered new driver
ch0 default output "COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
SCSI subsystem initialized
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()!<6>
 ***davinci_spi_board_init_End(0)!<5>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
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Aug  8 2011 09:31:32 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
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 0xfbc20000 (irq = 40) is a 16550A
serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Davinci EMAC MII Bus: probed
MAC address is deadbeaf
TI DaVinci EMAC Linux version updated 4.0
Linux video capture interface: v2.00
Trying to register davinci display video device.
layer=c071d800,layer->video_dev=c071d960
Trying to register davinci display video device.
layer=c071d600,layer->video_dev=c071d760
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
i2c /dev entries driver
nand_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Creating 7 MTD partitions on "nand_davinci.0":
0x00000000-0x00300000 : "bootloader"
0x00300000-0x00500000 : "params"
0x00500000-0x00700000 : "kernel"
0x00700000-0x02700000 : "filesystem"
0x02700000-0x02900000 : "data1"
0x02900000-0x02d00000 : "Calibration"
0x02d00000-0x08000000 : "data2"
nand_davinci nand_davinci.0: hardware revision: 2.3
MUX: initialized SPI0_SCLK
MUX: initialized SPI0_SDO)
dm_spi.0: davinci SPI Controller driver at 0xc8866000 (irq = 42) use_dma=0
rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: proc
rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: dev (254:0)
rtc_davinci_dm365 rtc_davinci_dm365.0: rtc core: registered rtc_davinci_dm365 as rtc0
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
CQ0093 Voice Codec 0.1
asoc: cq93vc <-> davinci-vcif mapping ok
ALSA device list:
  #0: On-chip voice codec (cq93vc)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 03:34:24 (946697664)
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
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
      device=eth0, addr=192.168.10.99, mask=255.255.255.0, gw=255.255.255.255,
     host=192.168.10.99, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=192.168.10.98, rootpath=
Looking up port of RPC 100003/2 on 192.168.10.98
Looking up port of RPC 100005/1 on 192.168.10.98
VFS: Mounted root (nfs filesystem).
Freeing init memory: 176K
INIT: version 2.86 booting
0
udev requires a mounted sysfs, not started.
 failed!
CSL: Module install successful, device major num = 253
CSL: Module version 0.10.00, built on Aug  8 2011 08:44:14
I2C: Module install successful, device major num = 252
DMA: Module install successful, device major num = 251
DRV: Module install successful
DRV: Module built on Aug  8 2011 08:44:18
DRV: EDMACC.QUEPRI  = 00000777
DRV: SYSTEM.MSTPRI0 = 00550011
DRV: SYSTEM.MSTPRI1 = 00000444
DRV: ISP.BCR        = 00000002
DRV: SYSTEM.MISC = 00000399
CMEMK module: built on Aug  8 2011 at 08:43:40
  Reference Linux version 2.6.18
  File /home/dvdev/ipnc/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x83200000) overlaps kernel (0x80000000 -> 0x88000000)
CMEMK Error: Failed to request_mem_region(0x83200000, 81788928)
insmod: EDMAK module: built on Aug  8 2011 at 08:43:43
cannot insert `cmemk.ko': Bad ad  Reference Linux version 2.6.18
dress (-1): Bad   File /home/dvdev/ipnc/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
address
IRQK module: built on Aug  8 2011 at 08:43:45
  Reference Linux version 2.6.18
  File /home/dvdev/ipnc/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
ln: rtc: File exists
Creat queue id:0
queue id:0
Creat queue id:32769
queue id:32769
FileMngThread created
queue id:32769
AlramThread created
Share memory init success
IPNC_DM368_2.0.0-g3f0c5a95-dirty (root@dvdev-desktop) (gcc vers
Creat queue id:65538
queue id:65538
queue id:65538

CPU is DM368
DEMOCFG Value   : 0
Videocodecmode  : 0
Videocodecres   : 3
./av_server.out FD OSD DM368 AEWB APPRO2A AUDIO 8000 1080P H264 5000000 VBR AUTO MENUOFF &
Check_device_version : DEVICE VER = 1 !!
Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw,sync)
Setting up networking ...
 AVSERVER UI: Initializing.
ApproDrvInit: 7
CMEM Error: init: major version mismatch between interface and driver.
CMEM Error:     needs driver version 0x2300000, got 0x400a16f0
Error: ApproDrvInit fail
SystemInit success
Schedule manager init success
DRV_SyncRst: module = 47, domain = 0, state = 0
DRV_SyncRst: module = 47, domain = 0, state = 3
 
 CLK Hz,
 ARM   Hz =  432000000
 DDR   Hz =  340000000
 VPSS  Hz =  340000000
 IMCOP Hz =  340000000
 
CMEM Error: init: major version mismatch between interface and driver.
CMEM Error:     needs driver version 0x2300000, got 0x1db124
 ERROR  (drv.c|DRV_init|43): CMEM init
 ERROR  (drv.c|DRV_init|107): DRV_init()
 ERROR  (avServerApi.c|AVSERVER_init|534): DRV_init()
 ERROR  (avServerUi.c|UI_start|53): AVSERVER_init()
.
Starting hotplug subsystem:
   pci    
** can't synthesize pci hotplug events
   pci      [failed]
   usb    
   usb      [success]
   isapnp 
   isapnp   [success]
   ide    
   ide      [success]
   input  
   input    [success]
   scsi   
   scsi     [success]
done.
Starting portmap daemon: portmap.
Starting internet superserver: inetd.
io scheduler deadline registered
io scheduler cfq registered
i2c_emac: exports duplicate symbol davinci_get_macaddr (owned by kernel)
insmod: cannot insert `/opt/ipnc/modules/i2c-emac.ko': Invalid module format (-1): Exec format error
 sbulla: unknown partition table
exportfs: exports duplicate symbol find_exported_dentry (owned by kernel)
insmod: cannot insert `/opt/ipnc/modules/exportfs.ko': Invalid module format (-1): Exec format error
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
insmod: cannot insert `/opt/ipnc/modules/nfsd.ko': Device or resource busy (-1): Device or resource busy
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
CSLIP: code copyright 1989 Regents of the University of California
netconsole: not configured, aborting
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
kobject_add failed for emac_davinci with -EEXIST, don't try to register things with the same name in the same directory.
insmod: cannot insert `/opt/ipnc/modules/davinci_emac.ko': File exists (-1): File exists
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
usbcore: registered new driver usbfs
usbcore: registered new driver hub
musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Peripheral mode controller at c88f2000 using DMA, IRQ 12
Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)
 sbulla: unknown partition table
mkdosfs 3.0.6 (04 Oct 2009)
unable to get drive geometry, using default 255/63
/dev/sbulla has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
Root directory contains 512 slots.
Volume ID is 5d72ec7e, no volume label.
queue id:0
umount: /mnt/mmc: not mounted
killall: dhcpcd: no process killed
rm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directory
nfs: RPC call returned error 101
nfs: RPC call returned error 101
net_search_gateway:eth0, 1A8C0, 0, 1
nfs: server 192.168.10.98 not responding, still trying
nfs: server 192.168.10.98 not responding, still trying

======================

 

  • From the log it looks like your cmem.ko insmod operation has failed, this means that your bootsargs does not have mem=48M option which makes the cmem to fail.

    Also, from the log it tells that your UBL is 1.0.0 version , please use the latest which is 1.1.0

    Also, for imx036 release, there is a latest release available at appro site which is 2.60.xx, are you using that?

    Regards,

     

    Raghu