Code Monkey home page Code Monkey logo

Comments (6)

cocasema avatar cocasema commented on May 28, 2024 1

Removing incomplete /usr/src/kernel directory and re-running patchUbuntu script helped me to proceed further.

from installlibrealsense.

i-chaochen avatar i-chaochen commented on May 28, 2024

Thanks for pointing it out! I am facing the same problem here!

But even I downgrade bzip2, I re-run patchUbuntu.sh. I got the following error. Any idea how to resolve this? Thanks!

$ ./patchUbuntu.sh
Jetson Model: jetson-nano
Jetson L4T: 32.1.0
buildModules and Kernel previously installed
Proposed source path: /usr/src/kernel/kernel-4.9
==== Kernel source appears to already be installed ===============
Patching and configuring kernel
Configuring Kernel for librealsense
Current working directory: /usr/src/kernel/kernel-4.9
bash: scripts/config: No such file or directory
make: *** No rule to make target ‘olddefconfig’. Stop.

from installlibrealsense.

i-chaochen avatar i-chaochen commented on May 28, 2024

Removing incomplete /usr/src/kernel directory and re-running patchUbuntu script helped me to proceed further.

Yes. It works! Thanks!

But my SD-card only has 32G, and patch this kernel ate all my space....and after I reboot (it succeed after all space has used) I cannot get into the system…it displayed a few lines and it becomes black screen.

I will change a bigger SD card and try again.

from installlibrealsense.

goliasjd avatar goliasjd commented on May 28, 2024

I had encountered the previous error above and was able to fix it with the solution given, but now I am experiencing a follow up error while running the patchUbuntu script. Here's the return:

/usr/src/kernel/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c: In function ‘process_ctrl_msg’:
/usr/src/kernel/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c:867:11: error: ‘msg.msg_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   else if (msg.msg_id == CTRL_MSG_LINK_DOWN_ACK)
           ^
cc1: all warnings being treated as errors
scripts/Makefile.build:335: recipe for target 'drivers/net/ethernet/nvidia/pcie/tegra_vnet.o' failed
make[5]: *** [drivers/net/ethernet/nvidia/pcie/tegra_vnet.o] Error 1
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia/pcie' failed
make[4]: *** [drivers/net/ethernet/nvidia/pcie] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia' failed
make[3]: *** [drivers/net/ethernet/nvidia] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet' failed
make[2]: *** [drivers/net/ethernet] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2

that appears in the middle of the return, and at the end of the output:

Make did not successfully build
Please fix issues and retry build

Googling returns very little on the subject and absolutely nothing Realsense related. Any ideas on how to solve this?

from installlibrealsense.

JayEssEss avatar JayEssEss commented on May 28, 2024

Hello when trying to build the kernel module I also run into the above error. Even after downgrading to the suggested version.

sudo apt install bzip2=1.0.6-8.1 libbz2-1.0=1.0.6-8.1

When the script is executed, two erroneous actions are displayed.
errortext.txt

The first one mentioning a corrupted Tar public_sources/kernel_src.tbz2, the Second one after a few Modules.

I hope you can help me solve this problem.

from installlibrealsense.

cocasema avatar cocasema commented on May 28, 2024

A fix to bzip2 CRC issue pushed today to Ubuntu repositories.

from installlibrealsense.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.