RTAI kernel disconnects Internet
25 Mar 2016 21:15 #72158
by jwsigler
Replied by jwsigler on topic RTAI kernel disconnects Internet
I now have my display resolution back. It seems that when I installed the rtai kernel the install loaded some generic display driver for my AMD radeon onboard display. After searching for AMD radeon display drivers for linux on the internet, I instead went to "system settings", "Software & Updates" and then I clicked on the "additional drivers" tab on top on the page. Under this tab I found proprietary video drivers for the AMD which I loaded and that fixed my resolution problem. There is an "open source" driver for the AMD display, but in linux not everything has to be "open source". AMD does make display drivers for their display devices and these drivers are going to be proprietary; and that is ok. Although AMD display drivers are proprietary and AMD is not going to release the source code for their display driver, they do provide it to you for free and I did not have to open the tray on the CD player and insert a quarter.
Now, the only thing I have left to do is figure out how to install linuxcnc on my Unbuntu 14.04 x64 with a 3.10.32-rtai kernel. Can not wait to get linuxcnc up and then modify the gui to make use of my LCD's touchscreen capabilities. I still plan on having some physical buttons (like emergency stop) on my cnc vertical mill upgrade, but it will be cool to design virtual buttons within the linuxcnc display.
Now, the only thing I have left to do is figure out how to install linuxcnc on my Unbuntu 14.04 x64 with a 3.10.32-rtai kernel. Can not wait to get linuxcnc up and then modify the gui to make use of my LCD's touchscreen capabilities. I still plan on having some physical buttons (like emergency stop) on my cnc vertical mill upgrade, but it will be cool to design virtual buttons within the linuxcnc display.
Please Log in or Create an account to join the conversation.
26 Mar 2016 02:59 #72167
by fast1
Replied by fast1 on topic RTAI kernel disconnects Internet
Dear geoffs:
Here is the output.
lsmod output from working kernal.
fast1@fast1:~$ lsmod
Module Size Used by
bnep 19107 2
rfcomm 59026 0
bluetooth 356727 10 bnep,rfcomm
parport_pc 32114 0
ppdev 17423 0
intel_rapl 18676 0
x86_pkg_temp_thermal 13936 0
intel_powerclamp 14415 0
nouveau 992203 4
snd_hda_codec_hdmi 45939 4
coretemp 13352 0
kvm 400782 0
ttm 85965 1 nouveau
drm_kms_helper 49282 1 nouveau
drm 249595 6 nouveau,ttm,drm_kms_helper
crc32_pclmul 13006 0
snd_hda_codec_realtek 60189 1
snd_hda_intel 43526 5
snd_hda_codec 169866 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
i2c_algo_bit 13316 1 nouveau
aesni_intel 18196 0
snd_seq_midi 13132 0
ablk_helper 13357 1 aesni_intel
snd_rawmidi 25198 1 snd_seq_midi
mxm_wmi 12893 1 nouveau
snd_seq_midi_event 14475 1 snd_seq_midi
cryptd 19821 1 ablk_helper
snd_hwdep 13276 1 snd_hda_codec
snd_seq 55716 2 snd_seq_midi,snd_seq_midi_event
snd_pcm 90501 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
wmi 18827 2 nouveau,mxm_wmi
snd_seq_device 14137 3 snd_seq_midi,snd_rawmidi,snd_seq
lrw 13127 1 aesni_intel
aes_i586 16995 1 aesni_intel
snd_timer 29023 2 snd_seq,snd_pcm
psmouse 97680 0
snd 61383 21 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_seq_midi,snd_rawmidi,snd_hwdep,snd_seq,snd_pcm,snd_seq_device,snd_timer
video 19330 1 nouveau
xts 12778 1 aesni_intel
soundcore 12600 1 snd
serio_raw 13230 0
gf128mul 14503 2 lrw,xts
snd_page_alloc 18398 2 snd_hda_intel,snd_pcm
mei_me 18234 0
shpchp 32265 0
mei 71468 1 mei_me
lpc_ich 16987 0
mac_hid 13077 0
lp 13359 0
parport 40945 3 parport_pc,ppdev,lp
hid_generic 12492 0
usbhid 47442 0
hid 92101 2 hid_generic,usbhid
alx 32016 0
mdio 13559 1 alx
pata_acpi 12886 0
fast1@fast1:~$
lsmod of real time kernal
fast1@fast1:~$ lsmod
Module Size Used by
fuse 64267 2
bnep 17186 2
rfcomm 36117 0
snd_hda_codec_hdmi 30386 4
bluetooth 166348 10 bnep,rfcomm
rfkill 18403 3 bluetooth
snd_hda_codec_realtek 53766 1
snd_hda_intel 25789 5
snd_hda_codec 79439 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
parport_pc 21896 0
ppdev 12591 0
snd_hwdep 12911 1 snd_hda_codec
snd_pcm_oss 39969 0
snd_mixer_oss 21708 1 snd_pcm_oss
snd_seq_midi 12745 0
snd_pcm 69181 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_rawmidi 22279 1 snd_seq_midi
snd_seq_midi_event 13125 1 snd_seq_midi
snd_seq 43338 2 snd_seq_midi,snd_seq_midi_event
snd_timer 22188 2 snd_pcm,snd_seq
snd_seq_device 12981 3 snd_seq_midi,snd_rawmidi,snd_seq
appletalk 26884 0
coretemp 12771 0
crc32c_intel 12625 0
ipx 26267 0
p8023 12405 1 ipx
snd 46731 22 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
nouveau 726542 3
ttm 54921 1 nouveau
drm_kms_helper 26601 1 nouveau
drm 169993 5 nouveau,ttm,drm_kms_helper
aesni_intel 17746 0
cryptd 14126 1 aesni_intel
i2c_algo_bit 12648 1 nouveau
aes_i586 16648 1 aesni_intel
i2c_core 23097 4 nouveau,drm_kms_helper,drm,i2c_algo_bit
mxm_wmi 12468 1 nouveau
power_supply 13320 1 nouveau
soundcore 12891 1 snd
snd_page_alloc 12842 2 snd_hda_intel,snd_pcm
aes_generic 37067 2 aesni_intel,aes_i586
wmi 17148 2 nouveau,mxm_wmi
evdev 17099 7
button 12818 1 nouveau
shpchp 30674 0
video 17461 1 nouveau
psmouse 67176 0
microcode 17386 0
serio_raw 12734 0
lp 12767 0
parport 35208 3 parport_pc,ppdev,lp
ext4 270189 1
mbcache 12899 1 ext4
jbd2 54294 1 ext4
crc16 12328 2 bluetooth,ext4
sd_mod 43403 3
sr_mod 21529 0
crc_t10dif 12333 1 sd_mod
cdrom 38893 1 sr_mod
usbhid 39608 0
hid 72252 1 usbhid
ata_generic 12440 0
ata_piix 25279 2
fan 12595 0
thermal_sys 17699 2 video,fan
xhci_hcd 80023 0
libata 152992 2 ata_generic,ata_piix
scsi_mod 125436 3 sd_mod,sr_mod,libata
ehci_hcd 43561 0
usbcore 124257 4 usbhid,xhci_hcd,ehci_hcd
usb_common 12339 1 usbcore
fast1@fast1:~$
Thank you so much for your interest and help.
Fayette Sims
Here is the output.
lsmod output from working kernal.
fast1@fast1:~$ lsmod
Module Size Used by
bnep 19107 2
rfcomm 59026 0
bluetooth 356727 10 bnep,rfcomm
parport_pc 32114 0
ppdev 17423 0
intel_rapl 18676 0
x86_pkg_temp_thermal 13936 0
intel_powerclamp 14415 0
nouveau 992203 4
snd_hda_codec_hdmi 45939 4
coretemp 13352 0
kvm 400782 0
ttm 85965 1 nouveau
drm_kms_helper 49282 1 nouveau
drm 249595 6 nouveau,ttm,drm_kms_helper
crc32_pclmul 13006 0
snd_hda_codec_realtek 60189 1
snd_hda_intel 43526 5
snd_hda_codec 169866 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
i2c_algo_bit 13316 1 nouveau
aesni_intel 18196 0
snd_seq_midi 13132 0
ablk_helper 13357 1 aesni_intel
snd_rawmidi 25198 1 snd_seq_midi
mxm_wmi 12893 1 nouveau
snd_seq_midi_event 14475 1 snd_seq_midi
cryptd 19821 1 ablk_helper
snd_hwdep 13276 1 snd_hda_codec
snd_seq 55716 2 snd_seq_midi,snd_seq_midi_event
snd_pcm 90501 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
wmi 18827 2 nouveau,mxm_wmi
snd_seq_device 14137 3 snd_seq_midi,snd_rawmidi,snd_seq
lrw 13127 1 aesni_intel
aes_i586 16995 1 aesni_intel
snd_timer 29023 2 snd_seq,snd_pcm
psmouse 97680 0
snd 61383 21 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_seq_midi,snd_rawmidi,snd_hwdep,snd_seq,snd_pcm,snd_seq_device,snd_timer
video 19330 1 nouveau
xts 12778 1 aesni_intel
soundcore 12600 1 snd
serio_raw 13230 0
gf128mul 14503 2 lrw,xts
snd_page_alloc 18398 2 snd_hda_intel,snd_pcm
mei_me 18234 0
shpchp 32265 0
mei 71468 1 mei_me
lpc_ich 16987 0
mac_hid 13077 0
lp 13359 0
parport 40945 3 parport_pc,ppdev,lp
hid_generic 12492 0
usbhid 47442 0
hid 92101 2 hid_generic,usbhid
alx 32016 0
mdio 13559 1 alx
pata_acpi 12886 0
fast1@fast1:~$
lsmod of real time kernal
fast1@fast1:~$ lsmod
Module Size Used by
fuse 64267 2
bnep 17186 2
rfcomm 36117 0
snd_hda_codec_hdmi 30386 4
bluetooth 166348 10 bnep,rfcomm
rfkill 18403 3 bluetooth
snd_hda_codec_realtek 53766 1
snd_hda_intel 25789 5
snd_hda_codec 79439 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
parport_pc 21896 0
ppdev 12591 0
snd_hwdep 12911 1 snd_hda_codec
snd_pcm_oss 39969 0
snd_mixer_oss 21708 1 snd_pcm_oss
snd_seq_midi 12745 0
snd_pcm 69181 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_rawmidi 22279 1 snd_seq_midi
snd_seq_midi_event 13125 1 snd_seq_midi
snd_seq 43338 2 snd_seq_midi,snd_seq_midi_event
snd_timer 22188 2 snd_pcm,snd_seq
snd_seq_device 12981 3 snd_seq_midi,snd_rawmidi,snd_seq
appletalk 26884 0
coretemp 12771 0
crc32c_intel 12625 0
ipx 26267 0
p8023 12405 1 ipx
snd 46731 22 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
nouveau 726542 3
ttm 54921 1 nouveau
drm_kms_helper 26601 1 nouveau
drm 169993 5 nouveau,ttm,drm_kms_helper
aesni_intel 17746 0
cryptd 14126 1 aesni_intel
i2c_algo_bit 12648 1 nouveau
aes_i586 16648 1 aesni_intel
i2c_core 23097 4 nouveau,drm_kms_helper,drm,i2c_algo_bit
mxm_wmi 12468 1 nouveau
power_supply 13320 1 nouveau
soundcore 12891 1 snd
snd_page_alloc 12842 2 snd_hda_intel,snd_pcm
aes_generic 37067 2 aesni_intel,aes_i586
wmi 17148 2 nouveau,mxm_wmi
evdev 17099 7
button 12818 1 nouveau
shpchp 30674 0
video 17461 1 nouveau
psmouse 67176 0
microcode 17386 0
serio_raw 12734 0
lp 12767 0
parport 35208 3 parport_pc,ppdev,lp
ext4 270189 1
mbcache 12899 1 ext4
jbd2 54294 1 ext4
crc16 12328 2 bluetooth,ext4
sd_mod 43403 3
sr_mod 21529 0
crc_t10dif 12333 1 sd_mod
cdrom 38893 1 sr_mod
usbhid 39608 0
hid 72252 1 usbhid
ata_generic 12440 0
ata_piix 25279 2
fan 12595 0
thermal_sys 17699 2 video,fan
xhci_hcd 80023 0
libata 152992 2 ata_generic,ata_piix
scsi_mod 125436 3 sd_mod,sr_mod,libata
ehci_hcd 43561 0
usbcore 124257 4 usbhid,xhci_hcd,ehci_hcd
usb_common 12339 1 usbcore
fast1@fast1:~$
Thank you so much for your interest and help.
Fayette Sims
Please Log in or Create an account to join the conversation.
26 Mar 2016 06:08 #72171
by geoffs
Replied by geoffs on topic RTAI kernel disconnects Internet
I can't see in either list that there is a Realtek ethernet driver loaded.
You'll have to do as Arceye suggested a few posts back.
You'll have to do as Arceye suggested a few posts back.
The following user(s) said Thank You: fast1
Please Log in or Create an account to join the conversation.
26 Mar 2016 06:41 #72172
by jwsigler
Replied by jwsigler on topic RTAI kernel disconnects Internet
FAst1,
You might try seeing if you can get internet working by simply loading Ubuntu 14.04 by itself using the generic kernel. If that works, then look up the topic TOPIC: ISO install of LinuxCNC on Debian 8 & Mint LMDE 2 and download the iso file that they are talking about which will load a rtai kernel into your Ubuntu 14.04 and then it loads Linuxcnc. They do not say their iso will work on Ubuntu 14.04 x64, but so far as I can tell, it is working on my machine. I can get Linuxcnc to open and it runs on the display. I still have to figure out if, if so, where the iso loaded all the setup type programs to define the machine constant for my cnc mill. I also want to figure out if it loaded the basic latency test program and I cane check that too. If all that works, then I will plug in my mill and see if the mill actually works. I have a small Sherline 4 axis mill that I will test it out on first before I hook it up to my full size mill.
You might try seeing if you can get internet working by simply loading Ubuntu 14.04 by itself using the generic kernel. If that works, then look up the topic TOPIC: ISO install of LinuxCNC on Debian 8 & Mint LMDE 2 and download the iso file that they are talking about which will load a rtai kernel into your Ubuntu 14.04 and then it loads Linuxcnc. They do not say their iso will work on Ubuntu 14.04 x64, but so far as I can tell, it is working on my machine. I can get Linuxcnc to open and it runs on the display. I still have to figure out if, if so, where the iso loaded all the setup type programs to define the machine constant for my cnc mill. I also want to figure out if it loaded the basic latency test program and I cane check that too. If all that works, then I will plug in my mill and see if the mill actually works. I have a small Sherline 4 axis mill that I will test it out on first before I hook it up to my full size mill.
The following user(s) said Thank You: fast1
Please Log in or Create an account to join the conversation.
26 Mar 2016 14:39 #72183
by fast1
Replied by fast1 on topic RTAI kernel disconnects Internet
JWSingler:
Thank you very much.
I will give your suggestion a try. I have been using Linux only for about a week now
so I still am pretty slow. If I can get the Linuxcnc to run the latency is not so important
to my application. I developed my own little servo controller board that communicates
usb. I want to get into the Linuxcnc source and output way point and velocity data. This
will give me lots of flexibility. I have lots of old mills and lathes I need to retrofit for my shop.
One of the interesting thing about this board is that it as interferometry interface that will allow
me to calibrate the primary process I want to achieve.
I think your suggestion is a very practical way to proceed. I am very interested in giving it
a try and will let you know how I do.
Thank you again,
Fayette
Thank you very much.
I will give your suggestion a try. I have been using Linux only for about a week now
so I still am pretty slow. If I can get the Linuxcnc to run the latency is not so important
to my application. I developed my own little servo controller board that communicates
usb. I want to get into the Linuxcnc source and output way point and velocity data. This
will give me lots of flexibility. I have lots of old mills and lathes I need to retrofit for my shop.
One of the interesting thing about this board is that it as interferometry interface that will allow
me to calibrate the primary process I want to achieve.
I think your suggestion is a very practical way to proceed. I am very interested in giving it
a try and will let you know how I do.
Thank you again,
Fayette
Please Log in or Create an account to join the conversation.
26 Mar 2016 14:49 #72184
by fast1
Replied by fast1 on topic RTAI kernel disconnects Internet
geoffs:
Thank you so much,
I think I am going to try Mr Singlers method and if I can't do that will come back to this.
I would like to have a later Ubuntu installed. I have been unable to load some of the packages
I need into the 12.04 and think maybe the newer version would fix some of those problems as
well as the network module.
I genuinely appreciate your help. Will let you know how this comes out.
Thank you,
Fayette
Thank you so much,
I think I am going to try Mr Singlers method and if I can't do that will come back to this.
I would like to have a later Ubuntu installed. I have been unable to load some of the packages
I need into the 12.04 and think maybe the newer version would fix some of those problems as
well as the network module.
I genuinely appreciate your help. Will let you know how this comes out.
Thank you,
Fayette
Please Log in or Create an account to join the conversation.
26 Mar 2016 18:35 - 26 Mar 2016 18:36 #72188
by jwsigler
Replied by jwsigler on topic RTAI kernel disconnects Internet
Well my system kind of works.
I started by installing Ubuntu 14.04 x64 and verified that I had all my devices working (internet, display, touchscreen). After some false starts, I went with the iso install listed in TOPIC: ISO install of LinuxCNC on Debian 8 & Mint LMDE 2 . All you need to do is copy the iso file onto your Ubuntu machine in the specified folder and then open up terminal (cntl-alt-T), set terminal to root mode, ("sudo -s") and then type in each of the instructions listed in the post to run the iso. This approach loads 3.18.13 rt10mah realtime kernel into Ubuntu 14.04 and then installs linuxcnc 2.7.4.25.
I got linuxcnc to open and I even selected the default setup for my 4 axis Sherline mill and the mill runs the default routine to mill the word "linuxcnc". The down side is that I am getting occasional messages that Ubuntu has encounter a system error. Unfortunately while I can display the error details on my screen, I can not cut and paste them here for others to review. I cleared the errors and restart linuxcnc and so far I have not gotten a second error message. It is going to take more testing to identify these errors and figure out how to fix them. Of course I am running Ubuntu 14.04 64 bit and that may be some of the problem (the 64 bit thing). I will be out of the shop for a week. I am going to study up on Ubuntu 14.04 while away so I can at least understand that side of working with linux and I will occasionally be check back in online.
Good Luck. John
I started by installing Ubuntu 14.04 x64 and verified that I had all my devices working (internet, display, touchscreen). After some false starts, I went with the iso install listed in TOPIC: ISO install of LinuxCNC on Debian 8 & Mint LMDE 2 . All you need to do is copy the iso file onto your Ubuntu machine in the specified folder and then open up terminal (cntl-alt-T), set terminal to root mode, ("sudo -s") and then type in each of the instructions listed in the post to run the iso. This approach loads 3.18.13 rt10mah realtime kernel into Ubuntu 14.04 and then installs linuxcnc 2.7.4.25.
I got linuxcnc to open and I even selected the default setup for my 4 axis Sherline mill and the mill runs the default routine to mill the word "linuxcnc". The down side is that I am getting occasional messages that Ubuntu has encounter a system error. Unfortunately while I can display the error details on my screen, I can not cut and paste them here for others to review. I cleared the errors and restart linuxcnc and so far I have not gotten a second error message. It is going to take more testing to identify these errors and figure out how to fix them. Of course I am running Ubuntu 14.04 64 bit and that may be some of the problem (the 64 bit thing). I will be out of the shop for a week. I am going to study up on Ubuntu 14.04 while away so I can at least understand that side of working with linux and I will occasionally be check back in online.
Good Luck. John
Last edit: 26 Mar 2016 18:36 by jwsigler.
Please Log in or Create an account to join the conversation.
26 Mar 2016 21:52 #72197
by fast1
Replied by fast1 on topic RTAI kernel disconnects Internet
I installed it on Mint LMDE 2 and everything
seems to work wonderfully. At least I have the network and Linuxcnc seems to
work.
Thanks again,
Fayette
seems to work wonderfully. At least I have the network and Linuxcnc seems to
work.
Thanks again,
Fayette
Please Log in or Create an account to join the conversation.
07 Apr 2016 04:26 #72893
by jwsigler
Replied by jwsigler on topic RTAI kernel disconnects Internet
Well after trying for two days to get rid of the system error in Ubuntu 14 with the RTAI kernel and Linuxcnc installed, I gave up. The error may not have affected LinuxCNC, but there was no way of telling for sure so why take a chance when this computer is going in a full size vertical mill. I tried loading Debian 8 x64 with the ISO installation of LinuxCNC but could not get the drivers to load for my Radeon display driver. Here again I did get the LinuxCNC loaded and it would drive my little Sherline 4 axis mill, but every time I started the computer I got an error message about missing Radeon drivers. Again it may not have been an issue with LinuxCNC, but why take a chance and it was annoying. In the end I switched over to Mint LMDE2 x64 with the KDE interface and everything loaded right up the first time. I have internet, my full resolution display, my touchscreen, and no error messages during startup. I am not a big fan of the Mint GUI, but once I get this computer integrated into my retrofitted mill I am going to set the system up so that on boot up it goes directly into LinuxCNC. If I want to surface the internet or write a letter, I will use my regular desktop computer. I just ordered the Mesa 7i77 - 6i25 setup to interface this computer with the existing servos, relays, and sensors on my Tree 325, so as soon as the board arrives I will start the retrofit.
Please Log in or Create an account to join the conversation.
Time to create page: 0.086 seconds