Kernel Installation Error

Kernel Installation Error

This question is not answered

Hi,

 

I am close to installing all the software but I am having a problem installing the kernel onto the leopard board.  I am getting a kernel panic error, but it is not due to the problem discussed at http://elinux.org/RidgeRun_LeopardBoard_SDK_Hints#.27Kernel_panic.27_Unable_to_mount_root_fs_when_using_NFS because I am running the patch it says to run.  The output is below:

 

[42949415.310000] i2c_davinci i2c_davinci.1: controller timed out                                                                       
[42949416.310000] i2c_davinci i2c_davinci.1: controller timed out                                                                       
[42949416.330000] ALSA device list:                                                                                                     
[42949416.340000]   #0: Leopard Board (tlv320aic3x)                                                                                     
[42949416.340000] TCP cubic registered                                                                                                  
[42949416.350000] NET: Registered protocol family 17                                                                                    
[42949416.350000] RPC: Registered udp transport module.                                                                                 
[42949416.360000] RPC: Registered tcp transport module.                                                                                 
[42949416.370000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)                                                               
[42949416.970000] eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1                                                                       
[42949417.980000] IP-Config: Complete:                                                                                                  
[42949417.980000]      device=eth0, addr=192.168.1.50, mask=255.255.255.0, gw=255.255.255.255,                                          
[42949417.990000]      host=192.168.1.50, domain=, nis-domain=(none),                                                                   
[42949417.990000]      bootserver=255.255.255.255, rootserver=129.93.12.179, rootpath=                                                  
[42949418.000000] Looking up port of RPC 100003/2 on 129.93.12.179                                                                      
[42949448.010000] rpcbind: server 129.93.12.179 not responding, timed out                                                               
[42949448.010000] Root-NFS: Unable to get nfsd port number from server, using default                                                   
[42949448.020000] Looking up port of RPC 100005/1 on 129.93.12.179                                                                      
[42949478.030000] rpcbind: server 129.93.12.179 not responding, timed out                                                               
[42949478.030000] Root-NFS: Unable to get mountd port number from server, using default                                                 
[42949508.040000] Root-NFS: Server returned error -5 while mounting /opt/DM355SDK789311/fs/fs                                           
[42949508.040000] VFS: Unable to mount root fs via NFS, trying floppy.                                                                  
[42949508.050000] VFS: Cannot open root device "nfs" or unknown-block(2,0)                                                              
[42949508.060000] Please append a correct "root=" boot option; here are the available partitions:                                       
[42949508.070000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)  

Anyway to debug or fix the problem?

 

Thanks,

Adrian

All Replies
  • All

    I have the same problem as above. Does anybody have any good ideas of how to resolve?

    Many thanks

    James

  • Hello.

    You have to set correctly bootargs variables on the target:

    - "rootserver" - should be equal to your host IP address

    - "ip" - this is target ip and it should be from the same subnet as like "rootserver"

    After that you have to be sure that NFS server is running on your host and the file "/etc/exports" contains your shared directory with target file-system.

  • I just received my Leopardboard DM365 and am trying to build the EVAL SDK.  I am getting the following error:

    eric@eric-laptop:~/LeopardBoardDM365sdkEVAL2011Q2$ make

     Ridgerun Linux SDK

     Board configuration: Leopard Board DM365

     Multi-core machine, using 1 out of 2 cores for building

     Processing toolchain...

       Build complete

     Processing kernel...

     Kernel: arch/arm/boot/Image is ready

     Kernel: arch/arm/boot/zImage is ready

       Build complete

     Processing fs...

       Building Apps.defs

       Checking for host packages required by the SDK target applications...

       Host machine has all required packages.

       Entering host-apps...

       Entering apps...

         Checking dependencies for alsa-lib-1.0.24

         Compiling and installing alsa-lib-1.0.24...

         Checking dependencies for alsa-utils-1.0.24.2

           Checking dependencies for ncurses-5.7

           Compiling and installing ncurses-5.7...

         Compiling and installing alsa-utils-1.0.24.2...

         Checking dependencies for busybox

         Compiling and installing busybox...

    applets/usage.c: In function ‘main’:

    applets/usage.c:52: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result

    applets/applet_tables.c: In function ‘main’:

    applets/applet_tables.c:138: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result

    applets/usage_pod.c: In function ‘main’:

    applets/usage_pod.c:74: warning: format not a string literal and no format arguments

         Checking dependencies for dhcp-4.1.2

         Compiling and installing dhcp-4.1.2...

         Checking dependencies for dropbear-0.53

           Checking dependencies for zlib-1.2.5

           Compiling and installing zlib-1.2.5...

           Checking dependencies for sysvinit

           Compiling and installing sysvinit...

         Compiling and installing dropbear-0.53...

         Checking dependencies for gettext-0.18.1.1

         Compiling and installing gettext-0.18.1.1...

         Checking dependencies for glib-2.26.1

           Checking dependencies for libiconv-1.13.1

           Compiling and installing libiconv-1.13.1...

         Compiling and installing glib-2.26.1...

         Checking dependencies for gst-plugins-bad-0.10.21

           Checking dependencies for gstreamer-0.10.32

             Checking dependencies for libxml2-2.7.8

             Compiling and installing libxml2-2.7.8...

           Compiling and installing gstreamer-0.10.32...

           Checking dependencies for liboil-0.3.17

           Compiling and installing liboil-0.3.17...

           Checking dependencies for gst-plugins-base-0.10.32

           Compiling and installing gst-plugins-base-0.10.32...

           Installing generated gstreamer plugins...

         Compiling and installing gst-plugins-bad-0.10.21...

           Installing generated gstreamer plugins...

         Checking dependencies for gst-plugins-good-0.10.25

         Compiling and installing gst-plugins-good-0.10.25...

           Installing generated gstreamer plugins...

         Checking dependencies for gst-plugins-ugly-0.10.17

         Compiling and installing gst-plugins-ugly-0.10.17...

           Installing generated gstreamer plugins...

         Checking dependencies for gst-rtsp-server-0.10.8

         Compiling and installing gst-rtsp-server-0.10.8...

         Checking dependencies for jpeg-8c

         Compiling and installing jpeg-8c...

         Checking dependencies for libpng-1.5.0

         Compiling and installing libpng-1.5.0...

           Source code for libpng-1.5.0 not found, fetching it...

     Trying to download from download.sourceforge.net/.../libpng-1.5.0.tar.gz to /home/eric/LeopardBoardDM365sdkEVAL2011Q2/downloads...

     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                    Dload  Upload   Total   Spent    Left  Speed

     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

    curl: (22) The requested URL returned error: 404

    ERROR: Source package can not be found at download.sourceforge.net/.../libpng-1.5.0.tar.gz

    If the website is available and the package has been deleted or moved,

    contact RidgeRun for support.

    make[3]: *** [fetcher_verified] Error 255

    Error building libpng-1.5.0

    make[2]: *** [dependency_build] Error 1

    make[1]: *** [apps_build] Error 1

    make: *** [fs_build] Error 2

    eric@eric-laptop:~/LeopardBoardDM365sdkEVAL2011Q2$

    I downloaded/installed libpng-1.5.0 and I still get the same error.  Any ideas of what stupid mistake I am making?

    Thanks for the help!

    E

  • ebecker,

    I ran into the same issue today - the link to libpng-1.5.0.tar.gz must be bad.  

    I was able to solve the issue by simply downloading libpng-1.5.0.tar.gz from sourceforge and placing the uninstalled tarball in the ~/LeopardBoardDM365sdkEVAL2011Q2/downloads directory.  When building, it found the tarball in the directory, extracted and installed it rather than going to look for it elsewhere.  

    Hope this helps!

    cg

    www.finitemagic.com