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.

Problem in booting latest OMAP35x Linux PSP 02.01.01.08 2.6.29-rc3 kernel uImage on OMAP35x EVM

Other Parts Discussed in Thread: OMAP3530

Dear experts,

I am getting the following errors while booting the uImage which is build using the latest OMAP35x Linux PSP 02.01.01.08 2.6.29-rc3 kernel source.

I had flashed the u-boot, x-loader and ramdisk images which has taken from this release version.

I had given the following boot args in u-boot prompt as:

setenv bootargs mem=128M console=ttyS0,115200n8 noinitrd ip=<board_IP_address> rw root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock,rsize=4096,wsize=4096,proto=tc

The filesys is taken from this same PSP package.

Can anybody suggests me to solve this error

<6>Freeing init memory: 156K
Freeing init memory: 156K
INIT: version 2.86 booting
Starting udev<3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
<3>end_request: I/O error, dev mtdblock0, sector 0
<3>Buffer I/O error on device mtdblock0, logical block 0
Buffer I/O error on device mtdblock0, logical block 0
<3>uncorrectable error : uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 8
<3>end_request: I/O error, dev mtdblock0, sector 8
<3>Buffer I/O error on device mtdblock0, logical block 1
Buffer I/O error on device mtdblock0, logical block 1
<3>uncorrectable error : uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 16
<3>end_request: I/O error, dev mtdblock0, sector 16
<3>Buffer I/O error on device mtdblock0, logical block 2
Buffer I/O error on device mtdblock0, logical block 2
<3>uncorrectable error : uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 24
<3>end_request: I/O error, dev mtdblock0, sector 24
<3>Buffer I/O error on device mtdblock0, logical block 3
Buffer I/O error on device mtdblock0, logical block 3
<3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
<3>end_request: I/O error, dev mtdblock0, sector 0
<3>Buffer I/O error on device mtdblock0, logical block 0
Buffer I/O error on device mtdblock0, logical block 0
 and populating dev cachetar: can't open '/etc/dev.tar': Permission denied
mv: cannot rename '/tmp/uname': Permission denied
Remounting root file system...
root: mount: mounting rootfs on / failed: No such file or directory
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
/etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache: Permission denied
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... udhcpc (v1.13.2) started
Sending discover...

 

  • Haven't see this error myself.

    1) Do you see any NAND related errors when the u-boot comes up?

    2) Can you also try to compile out NAND driver (just for test purpose) and see if it helps?

    I am not very sure about the errors in initscript. Just wanted to confirm if you extracted the filesystem tarball with root permissions (as "root' or via sudo).

    Best regards,
    Sanjeev

  • Hi,

    Thanks for your reply to my query

    I always extracting filesystem tarball with root permissions only.

    Previously, I had used images/fs/nfs.tar.gz which is in PSP-SDK-02.01.01.08 directory.

    Now, I had changed this to targetfs/nfs.tar.gz from dvsdk_3_00_00_36 directory. And done memory adjustments in initenv.txt file as per the guidelines provided in dvsdk getting started guide.

    Also removed "proto=tcp" from bootargs command.

    Now, it is booting successfully and I am getting the following boot messages:

    But still, errors are there related to buffer I/O "Buffer I/O error on device mtdblock0, logical block 0"

    Could you please give me suggestions to rectify this problem if you have faced this ?

    And also why it is booting after removing proto=tcp command?

     

    VFS: Mounted root (nfs filesystem) on device 0:12.
    VFS: Mounted root (nfs filesystem) on device 0:12.
    <6>Freeing init memory: 156K
    Freeing init memory: 156K
    <6>udevd version 124 started
    udevd version 124 started
    <3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
    <3>end_request: I/O error, dev mtdblock0, sector 0
    <3>Buffer I/O error on device mtdblock0, logical block 0
    Buffer I/O error on device mtdblock0, logical block 0
    <3>uncorrectable error : uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 8
    <3>end_request: I/O error, dev mtdblock0, sector 8
    <3>Buffer I/O error on device mtdblock0, logical block 1
    Buffer I/O error on device mtdblock0, logical block 1
    <3>uncorrectable error : uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 16
    <3>end_request: I/O error, dev mtdblock0, sector 16
    <3>Buffer I/O error on device mtdblock0, logical block 2
    Buffer I/O error on device mtdblock0, logical block 2
    <3>uncorrectable error : uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 24
    <3>end_request: I/O error, dev mtdblock0, sector 24
    <3>Buffer I/O error on device mtdblock0, logical block 3
    Buffer I/O error on device mtdblock0, logical block 3
    <3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
    <3>end_request: I/O error, dev mtdblock0, sector 0
    <3>Buffer I/O error on device mtdblock0, logical block 0
    Buffer I/O error on device mtdblock0, logical block 0
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    /etc/rc5.d/S99omap-demo: line 4: can't create /sys/class/display_control/omap_disp_control/ch0_output: nonexistent directory

    output set to DVI...

    <6>CMEMK module: built on May 28 2009 at 08:15:22
    CMEMK module: built on May 28 2009 at 08:15:22
    <6>  Reference Linux version 2.6.29
      Reference Linux version 2.6.29
    <6>  File /db/rtree/install/trees/products/davincisw-h36x/imports/dvsdk_COMMON/dvsdk_3_00_00_36/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
      File /db/rtree/install/trees/products/davincisw-h36x/imports/dvsdk_COMMON/dvsdk_3_00_00_36/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    ioremap_nocache(0x85800000, 16777216)=0xc9000000
    ioremap_nocache(0x85800000, 16777216)=0xc9000000
    <6>allocated heap buffer 0xc9000000 of size 0xea000
    allocated heap buffer 0xc9000000 of size 0xea000
    <6>cmem initialized 7 pools between 0x85800000 and 0x86800000
    cmem initialized 7 pools between 0x85800000 and 0x86800000
    <1>DSPLINK Module (1.61.03) created on Date: Apr 16 2009 Time: 18:31:36
    DSPLINK Module (1.61.03) created on Date: Apr 16 2009 Time: 18:31:36
    <6>SDMAK module: built on May 28 2009 at 08:15:24
    SDMAK module: built on May 28 2009 at 08:15:24
    <6>  Reference Linux version 2.6.29
      Reference Linux version 2.6.29
    <6>  File /db/rtree/install/trees/products/davincisw-h36x/imports/dvsdk_COMMON/dvsdk_3_00_00_36/linuxutils_2_23_01/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
      File /db/rtree/install/trees/products/davincisw-h36x/imports/dvsdk_COMMON/dvsdk_3_00_00_36/linuxutils_2_23_01/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
    Demo interface started at level 0.

    .-------.                                          
    |       |                  .-.                     
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'

    The Angstrom Distribution arago ttyS0

    Arago 2009.03 arago ttyS0

    arago login: root
    root@arago:~#

  • HemanthPuttaramaShetty said:

    And also why it is booting after removing proto=tcp command?

    Not sure. Did anything changed on your NFS server? May be change to the NFS configuration OR change in the params (/etc/exports).

    HemanthPuttaramaShetty said:

    But still, errors are there related to buffer I/O "Buffer I/O error on device mtdblock0, logical block 0"

    Could you please give me suggestions to rectify this problem if you have faced this ?

    Did you try compiling out the NAND driver from kernel configuration?

    HemanthPuttaramaShetty said:

    Now, I had changed this to targetfs/nfs.tar.gz from dvsdk_3_00_00_36 directory. And done memory adjustments in initenv.txt file as per the guidelines provided in dvsdk getting started guide.

    I haven't personally worked on the DVSDK myself. But will try to get some details.

    Best regards,

    Sanjeev

  • Thanks for your reply.

    As per your suggestion, I will try to compile the NAND driver from kernel configuration and see its result.

    Thanks,

    Hemanth P Shetty

  • Hello Hemanth,

     

    Did you resolve this problem?

     

    I am also seeing these issues

    "<3>uncorrectable error : uncorrectable error : <3>end_request: I/O error, dev mt
    dblock0, sector 0"

    with the dvsdk 3.00.01.42.

     

    simon

     

  • Hello Simon,

    I had modified the intenv-micron.txt file (if your board is of type samsung, change intenv-samsung.txt file)

    Refer omap3530_dvsdk_GettingStartedGuide file to modify this.

    And I had given the following boot arguments in u-boot prompt:

    setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=<ip address of your board> root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock,proto=tcp mem=88M omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y

    I had used the filesys given in targetfs directory in dvsdk_3_00_00_36 folder.

    Now, the boot starts without any errors and entered into my filesystem successfully.

    Also loaded all the modules and I am able to run dvsdk demos without any problem.

     

    Regards,

    Hemanth Kumar P

     

     

  • Hello Hemanth,

     

    Thanks for your reply.  I have also made these changes to my bootargs, but  I am still seeing the mtd errors :(

    Did you also reflash xloader, uboot, kernel or the filesystem?  With the reflash-micron.txt script?

     

    I have been using the filesystem from the SDK package.  I will try the file system from the dvsdk.

    Thanks, again.

     

    Simon

  • Hello Hemanth,

     

    I needed to modify the udev intitialization to remove these errors.  The change is shown in this thread:

    http://e2e.ti.com/forums/p/10158/40194.aspx#40194

    Simon