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

URL not working (kernels) #2

Open
EnriqM opened this issue Jun 6, 2017 · 8 comments
Open

URL not working (kernels) #2

EnriqM opened this issue Jun 6, 2017 · 8 comments
Labels

Comments

@EnriqM
Copy link

EnriqM commented Jun 6, 2017

Excuse me, I'm trying to install all the work you've done here. The issue I have is the next:

# Get the Rtai4.0 patched kernel headers
wget https://googledrive.com/host/$folder_id/$headers

# Get the Rtai4.0 patched kernel image
wget https://googledrive.com/host/$folder_id/$image

When trying that a error 404 appears to me. The same would happen if I try with your links at bitbucket:

# Determine if x86 or x64 (x86_x64)
_platform=$(uname -m) 

# Get the Rtai4.0 patched kernel headers
wget http://perso.ensta-paristech.fr/~hoarau/rtmeka-kern/$_platform/linux-headers-rt.deb

# Get the Rtai4.0 patched kernel image
wget http://perso.ensta-paristech.fr/~hoarau/rtmeka-kern/$_platform/linux-image-rt.deb

Could you upload them again, please? I've tried to do my own kernel, but it doesn't work no matter how hard I try

@graiola
Copy link
Collaborator

graiola commented Jun 6, 2017

@ahoarau @francoisferland do you still have the files?

in case the files went missing, you can patch the kernel by yourself :

rtai-5.0

good luck!

@ahoarau
Copy link
Owner

ahoarau commented Jun 6, 2017

Thanks for pointing out the issue.
I've updated the links :

# Get the Rtai4.0 patched kernel headers
https://drive.google.com/open?id=0ByavWcVYC8lWWExlSlBLMjRaSW8

# Get the Rtai4.0 patched kernel image
https://drive.google.com/open?id=0ByavWcVYC8lWdERoazdNU285V2s

But you should really consider compiling the kernel yourself with the latest version of RTAI. It apparently solves many hang cases.

@ahoarau ahoarau added the bug label Jun 6, 2017
@EnriqM
Copy link
Author

EnriqM commented Jun 7, 2017

Thanks for reuploading the kernel, but it doesn't work when installing RTAI following the thread. This part doesn't work too, as long as the package doesn't have the file named autogen.sh

cd ~/RTAI
 ./autogen.sh
make menuconfig
# Configure the Number of cpus you have, and uncheck oneshot timer
make

It doesn't build, no matter how many times I try it.

I'll try what @graiola said, compiling RTAI 5.0 but changing the configuration as @ahoarau wrote here. I'll inform here if it works.

@ahoarau
Copy link
Owner

ahoarau commented Jun 7, 2017

Did you check the 4.0 branch?

@EnriqM
Copy link
Author

EnriqM commented Jun 8, 2017

I couldn't make it with RTAI 5.0 and kernel 3.18, but it wouldn't work because of the Ethercat drivers, patched for kernels 3.10 and before.

I finally made it with RTAI 4.1 (RTAI 4.0 doesn't include patch for kernel 3.10), compiling my own kernel and linking correctly (this is a thing that a lot of tutorials don't make correctly)

@ahoarau
Copy link
Owner

ahoarau commented Jun 8, 2017

You could rename those lines to match you kernel :
https://github.com/ahoarau/ethercat-drivers/blob/master/Makefile.am#L138:L139
And just rename the corresponding files.

@EnriqM
Copy link
Author

EnriqM commented Jun 19, 2017

All right, nothing works, I'm done.
A week lost: despite is apparently well explained, is not working for me. Compiling the "mekabot" packages gave me a lot of errors of libraries. After fixing them one by one, it prompted me a lot of WARNINGS, like this in Travis-ci.

WARNING: "rt_drg_on_name" [/home/travis/build/ahoarau/mekabot/build/m3core/src/m3rt/ethercat/m3ec.ko] undefined!

After that, I installed (catkin legacy didn't compile either). Finally I run
# run the realtime server
m3rt_server_run

But a kernel panic (error with watchdogs and CPU went off) stopped me there :)

I think I'd need a special configuration for the kernel to work just for me, I mean, for the hardware I'm using. ATM I have computer with Ubuntu 12.04 and RTAI, which actually works to controll the Meka (just the 2 arms), but I'm unable to upgrade to Ubuntu 14.04 + ROS Indigo + MoveIt!

@ahoarau
Copy link
Owner

ahoarau commented Jun 19, 2017

Hello @EnriqM , very sorry to hear that nothing is working. It's pretty hard to debug when not next to the hardware. We should exchange emails and continue from there here's mine : hoarau.robotics AT gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants