Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection time out during kernel patch #51

Closed
2Reeko opened this issue Mar 3, 2016 · 4 comments
Closed

Connection time out during kernel patch #51

2Reeko opened this issue Mar 3, 2016 · 4 comments

Comments

@2Reeko
Copy link

2Reeko commented Mar 3, 2016

During installation I get a time out error while trying to shallow clone the linux repo.
Specifically at this step:

Run the following script to patch uvcvideo.ko
./scripts/patch-uvcvideo-4.4.sh v4.4-wily (note the argument provided to this version of the script)
This script involves shallow cloning the Linux source repository (100mb), and may take a while

I get the terminal print out saying :

Shallow cloning Linux source repository... (~100GB, make take a while)

So I assume it is an issue in the git clone line in the script.

# Obtain Linux Kernel sources
echo "Shallow cloning Linux source repository... (~100GB, make take a while)"
git clone --verbose git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack linux-$LINUX_BRANCH --branch $THE_BRANCH --depth 1
cd linux-$LINUX_BRANCH

Everything up to this point worked as expected during the install. I thought there might be a newer patch than 4.4 but there doesn't seem to be. Any ideas?

Thanks,

Christian

Required Info
Camera Model R200
Firmware Version N/A
Operating System & Version Ubuntu 14.04.4 x64
Kernel Version (Linux Only) 4.4
Build System installation script
@ddiakopoulos
Copy link
Contributor

Connectivity issues can be hard to debug with git. Are you behind a firewall? For immediate next steps, try upgrading your git version through apt-get and trying again. Also try modifying the script to remove the shallow option and perhaps also the branch option.

@2Reeko
Copy link
Author

2Reeko commented Mar 6, 2016

Just to update, I got around this issue. My company has a firewall that filters the git port. My git version was up to date. I modified the script from

git clone --verbose git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack linux-$LINUX_BRANCH --branch $THE_BRANCH --depth 1

to

git clone --verbose https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack linux-v4.4-wily

The download was over 1 GiB but all seems fine now.

Thanks for the help,

Christian

@pancx
Copy link

pancx commented Mar 15, 2016

Have you completed it? I modified the script as you did. But after the downloading, it turned out that
ERROR 407: Proxy Authentication Required
I have already set the proxy, or it wouldn't to download, didn't it? Would you have some ideas about this?
thanks.

@2Reeko
Copy link
Author

2Reeko commented Mar 15, 2016

I didn't want to use a proxy because of authentication issues like this. I used nmap to check if the ports used for git and http were filtered/blocked and found that my firewall allows http but filters git. I then modified the patch-uvcvideo-4.4 script as above and everything worked fine.
Having a stab in the dark at your current problem/error message, it seems like your firewall allowed the http communication and started the download but the username and password for the proxy website you used got rejected or wasn't entered. I'd suggest trying the modified script without the proxy settings or doing the git clone at home then copying the folder into your librealsense folder at work and running the rest of the script.
Hope this helps you find a solution.

@pancx pancx mentioned this issue Mar 17, 2016
furushchev pushed a commit to furushchev/librealsense that referenced this issue Jul 17, 2016
Updated artifacts to reflect 'stable' tag
furushchev pushed a commit to furushchev/librealsense that referenced this issue Jul 17, 2016
Added support for realsense_navigation ROS project
dorodnic pushed a commit that referenced this issue Jan 9, 2019
Merge from librealsense/Development
nhershko pushed a commit to nhershko/librealsense that referenced this issue Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants