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.

AM4376: Yocto ti-linux-kernel access

Part Number: AM4376

Hi,

a customer has problems accessing the ti-linux-kernel 

This is the source revision their linux-ti-staging points to : SRCREV = "a5602579fd857f04dda1ae292a7c8dea6b6e011a"

 

WARNING: linux-ti-staging-4.4.57+gitAUTOINC+a5602579fd-r3a do_fetch: Failed to fetch URL git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=ti-lsk-linux-4.4.y, attempting MIRRORS if available

ERROR: linux-ti-staging-4.4.57+gitAUTOINC+a5602579fd-r3a do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:

Cloning into bare repository '/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/downloads/git2/git.ti.com.ti-linux-kernel.ti-linux-kernel.git'...

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

 

ERROR: linux-ti-staging-4.4.57+gitAUTOINC+a5602579fd-r3a do_fetch: Function failed: Fetcher failure for URL: 'git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=ti-lsk-linux-4.4.y'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/tmp/work/ocs_am437x-poky-linux-gnueabi/linux-ti-staging/4.4.57+gitAUTOINC+a5602579fd-r3a/temp/log.do_fetch.31341

ERROR: Task 50 (/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/../yocto/meta-ti/recipes-kernel/linux/linux-ti-staging_4.4.bb, do_fetch) failed with exit code '1'

This apparently worked before last Friday. Is there anything about this git tree that changed since last week?

I did check a regular git clone and checkout of that branch, and everything seems to work. But somehow with Yocto it fails to access correctly.

Thanks!

--Gunter

  • /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P {/home/user_name/}'sources.openembedded.org/git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz'

    http://sources.openembedded.org/git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz:

    2020-09-08 10:58:16 ERROR 404: Not Found.

     

    Log:

     

    DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/downloads 'sources.openembedded.org/git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz'

    DEBUG: Running export PATH="/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yocto/scripts:/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/tmp/sysroots/ocs-am437x/usr/bin/crossscripts:/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/tmp/sysroots/x86_64-linux/usr/sbin:/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/tmp/sysroots/x86_64-linux/usr/bin:/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/tmp/sysroots/x86_64-linux/sbin:/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/tmp/sysroots/x86_64-linux/bin:/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yocto/scripts:/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yocto/bitbake/bin:/home/prvelpur1035/.vscode-server/bin/a0479759d6e9ea56afa657e454193f72aef85bd0/bin:/home/prvelpur1035/bin:/home/prvelpur1035/.vscode-server/bin/a0479759d6e9ea56afa657e454193f72aef85bd0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/prvelpur1035"; /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/downloads 'sources.openembedded.org/git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz'

    DEBUG: Mirror fetch failure for url http://sources.openembedded.org/git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz (original url: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=ti-lsk-linux-4.4.y)

    DEBUG: Fetcher failure: Fetch command failed with exit code 8, output:

    http://sources.openembedded.org/git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz:

    2020-09-06 15:50:58 ERROR 404: Not Found.

     

    ERROR: Fetcher failure: Fetch command failed with exit code 128, output:

    Cloning into bare repository '/home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/downloads/git2/git.ti.com.ti-linux-kernel.ti-linux-kernel.git'...

    fatal: The remote end hung up unexpectedly

    fatal: early EOF

    fatal: index-pack failed

  • Gunter,

    Have you tried multiple times? And the problem just arose on Friday?

    Praveen, it does seem that that mirror no longer has the necessary sources. I'm not sure why they would have been dropped.

    Thanks.

  • Hi Ron,

    right, the customer reported this issue last Friday and they have been able to build before. They have tried many times since then.

    The following does not work, and produces a 404 error.

    DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/prvelpur1035/rel_1.1.16/msocs-rackmanager-bsp/yoctoBuilds/downloads 'sources.openembedded.org/git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz'

    This is a very urgent issue for the customer.

    Regards,

    --Gunter

  • Gunter, since we have not been able to reproduce this problem, I'm closing this issue for now. Please let us know if you need further support.

  • Hi Ron,

    you are correct, we cannot reproduce the issue on the TI side.

    Documenting the test to show we can clone Linux 4.4 correctly from git.ti.com ti-linux-kernel.git

     

    [] deleted git.ti.com.ti-linux-kernel.ti-linux-kernel.git from downloads/git2, to force a new cloning of the kernel

    Latitude-E7450:~/oe/tisdk/downloads/git2$ ls git.ti.com.ti-linux-kernel.ti-linux-kernel.git*

    git.ti.com.ti-linux-kernel.ti-linux-kernel.git.done

     

    git.ti.com.ti-linux-kernel.ti-linux-kernel.git:

    branches  config  description  HEAD  hooks  info  objects  packed-refs  refs

     

    [] deleted arago-tmp-external-linaro-toolchain directory, to make sure the yocto build needs to start fresh

    Latitude-E7450:~/oe/tisdk/build/arago-tmp-external-linaro-toolchain$ ls

    buildstats  cache  deploy  log  sstate-control  stamps  work  work-shared

     

    [] configured with oelayersetup.sh yocto to a state with 4.4 kernels. Now linux-ti-staging_4.4.bb is available

    Latitude-E7450:~/oe/tisdk/sources/meta-ti/recipes-kernel/linux$ ls

    cmem.inc  linux-ti-staging-4.4     linux-ti-staging-4.9     linux-ti-staging-rt-4.4     linux-ti-staging-rt-4.9     linux-ti-staging-systest-4.4     linux-ti-staging-systest-4.9     setup-defconfig.inc

    files     linux-ti-staging_4.4.bb  linux-ti-staging_4.9.bb  linux-ti-staging-rt_4.4.bb  linux-ti-staging-rt_4.9.bb  linux-ti-staging-systest_4.4.bb  linux-ti-staging-systest_4.9.bb  ti-uio.inc

     

     

    [] now run the bitbake for the linux-ti-staging_4.4.bb, which clones the git tree into downloads/git2 as well as build/arago...

     

    Latitude-E7450:~/oe/tisdk/build$ MACHINE=am437x-evm bitbake -b linux-ti-staging_4.4.bb

     

    This runs the git clone ...

    Then look at the log below

     

    Latitude-E7450:~/oe/tisdk/build/arago-tmp-external-linaro-toolchain/log/cooker/am437x-evm$ cat console-latest.log 

    WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.

     

    Build Configuration:

    BB_VERSION        = "1.32.0"

    BUILD_SYS         = "x86_64-linux"

    NATIVELSBSTRING   = "Ubuntu-18.04"

    TARGET_SYS        = "arm-linux-gnueabi"

    MACHINE           = "am437x-evm"

    DISTRO            = "arago"

    DISTRO_VERSION    = "2017.12"

    TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"

    TARGET_FPU        = "hard"

    meta-processor-sdk = "HEAD:92db4d8023d88ab59fab2953e7447ec0bd5a6db1"

    meta-ros          = "HEAD:e2566402ab108a19634354a934788109422cf409"

    meta-arago-distro 

    meta-arago-extras = "HEAD:5b2a44b0c4d989133bc13d59398fd10375d351bb"

    meta-browser      = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"

    meta-openamp      = "HEAD:8a214032bfb7e8124bc1485c70c69f7d60abb819"

    meta-qt5          = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"

    meta-networking   

    meta-ruby         

    meta-python       

    meta-oe           

    meta-gnome        

    meta-multimedia   = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"

    meta-ti           = "HEAD:3dc08477529b31ce887bb22a08201a843ded48f0"

    meta-linaro-toolchain 

    meta-optee        = "HEAD:d73e794c7e7ebb1cc5bf495a52a72b26fb118250"

    meta              = "HEAD:39fd8c129e2bff7f2f1649b7f6e036ccc50fd5d8"

     

    NOTE: Executing SetScene Tasks

    NOTE: Running setscene task 5 of 9 (/home/gunter/oe/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.4.bb:do_populate_lic_setscene)

    NOTE: Running setscene task 9 of 9 (/home/gunter/oe/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.4.bb:do_create_srcipk_setscene)

    NOTE: recipe linux-ti-staging-4.4.54+gitAUTOINC+ecd4eada6f-r3a.arago5: task do_populate_lic_setscene: Started

    NOTE: recipe linux-ti-staging-4.4.54+gitAUTOINC+ecd4eada6f-r3a.arago5: task do_create_srcipk_setscene: Started

    NOTE: recipe linux-ti-staging-4.4.54+gitAUTOINC+ecd4eada6f-r3a.arago5: task do_populate_lic_setscene: Succeeded

    NOTE: recipe linux-ti-staging-4.4.54+gitAUTOINC+ecd4eada6f-r3a.arago5: task do_create_srcipk_setscene: Succeeded

    NOTE: Executing RunQueue Tasks

    NOTE: Running task 1 of 22 (/home/gunter/oe/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.4.bb:do_fetch)

    NOTE: recipe linux-ti-staging-4.4.54+gitAUTOINC+ecd4eada6f-r3a.arago5: task do_fetch: Started

    NOTE: recipe linux-ti-staging-4.4.54+gitAUTOINC+ecd4eada6f-r3a.arago5: task do_fetch: Succeeded

     

     

    Now the ti-linux-kernel git trees are visible here

     

    Latitude-E7450:~/oe/tisdk/downloads/git2/git.ti.com.ti-linux-kernel.ti-linux-kernel.git$ ls

    branches  config  description  HEAD  hooks  info  objects  packed-refs  refs

     

    Latitude-E7450:~/oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am437x_evm-linux-gnueabi/linux-ti-staging/4.4.54+gitAUTOINC+ecd4eada6f-r3a.arago5/git$ ls

    arch                 block  COPYING  crypto         drivers   fs       init  Kbuild   kernel  MAINTAINERS  mm   README          samples  security  ti_config_fragments  usr

    backported-features  certs  CREDITS  Documentation  firmware  include  ipc   Kconfig  lib     Makefile     net  REPORTING-BUGS  scripts  sound     tools                virt

     

     

    This proves that we can clone ti-linux-kernel 4.4 from the TI git server, from within Yocto.

    Regards,

    --Gunter