[SOLVED] Rebuilding master broke Mesa hm2_eth

More
9 years 8 months ago #88191 by rodw
I reinstalles Linixcnc master this morning to get a new version of gmocappy after Norbert fixed a bug I found.
I had to make it using sudo and this casued some permissions issues which I resolved.

Using run in place, Linuxcnc fails when loading hm2_eth as follows:
Code:
m2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 libkmod: ERROR ../libkmod/libkmod-config.c:686 kmod_config_parse: /etc/modprobe.d/8192cu.conf line 2: ignoring bad line starting with '/sys/bus/usb/drivers/rtl8192cu/new_id' modprobe: ERROR: could not insert 'ip_tables': Operation not permitted iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. hm2_eth: ERROR: Failed to create iptables chain hm2-eth-rules-outputhm2_eth: WARNING: Unable to restrict other access to the hm2-eth device. This means that other software using the same network interface can violate realtime guarantees. See hm2_eth(9) for more information. hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:10:40:6c ioctl SIOCSARP: Operation not permitted hm2_eth: rtapi_app_main: Operation not permitted (-1) ./my_LinuxCNC_machine.hal:22: waitpid failed /home/plasma/linuxcnc-dev/bin/rtapi_app hm2_eth ./my_LinuxCNC_machine.hal:22: /home/plasma/linuxcnc-dev/bin/rtapi_app exited without becoming ready ./my_LinuxCNC_machine.hal:22: insmod for hm2_eth failed, returned -1 Shutting down and cleaning up LinuxCNC... Running HAL shutdown script hm2: unloading

The bad conf file is to do with my USB wifi installation and id based on this link
wikidevi.com/wiki/ASUS_USB-N10_Nano

So my copy of LCNC is broken and I can't work out how to fix this. It worked before the upgrade.

Please Log in to join the conversation.

More
9 years 8 months ago #88193 by rodw
I found that
Code:
rmmod 8192cu
Removes the wifi driver and allows Linuxcnc to start
But it would be nice to have internet

Please Log in to join the conversation.

More
9 years 8 months ago #88194 by rodw
I deleted the problematic .conf file and the problem went away and Wifi is back on again. I suspect Linux Mint supports my driver natively.

Please Log in to join the conversation.

More
9 years 8 months ago #88196 by rodw
Ooops, spoke too soon. Still have the issue

Please Log in to join the conversation.

More
9 years 8 months ago #88201 by cncnoob1979
Sounds like you are having a bad day!

As far as linuxcnc is concerned all the "program" and files therein should be only in your RIP. Have you tried to do a new git pull with linuxcnc-dev1 or another name and try another rip? The rip is self contained and should not have a bearing on your issue.

The wifi driver problem is interesting.. Are you having a problem with linux mint loading the wrong driver or two drivers at the same time?

Please Log in to join the conversation.

More
9 years 8 months ago #88204 by rodw
cncnoob, thanks your advice on the other thread helped me solve this. I took ownership of all my home directory content from root, did a make clean and another make and it is all working again. Now only if I could get the last 5 hours of my life back!

I could not understand why rebuilding lcnc broke internal stuff. I have no idea how root got ownership in the first place.

Please Log in to join the conversation.

More
9 years 8 months ago #88205 by cncnoob1979
My thought would be that since the build process is in your home folder, the process generated the files with root ownership therefore taking permissions from you and making them root.

Yeah, sudo in root folder has given me fits before... I have done clean installs because I messed up building software and it was much easier to just start again. Glad you go it going!

Please Log in to join the conversation.

More
9 years 8 months ago #88209 by PCW

I had to make it using sudo and this casued some permissions issues which I resolved.


This can cause endless pain and suffering

I dont think there is ever a reason to build a RIP version of LinuxCNC as root
(other than the make setuid part)

Please Log in to join the conversation.

More
9 years 8 months ago #88216 by rodw

PCW wrote: This can cause endless pain and suffering


It did that!

PCW wrote: I dont think there is ever a reason to build a RIP version of LinuxCNC as root
(other than the make setuid part)


Yes, I don't understand why root had stolen my permissions which prevented me from running make in the first place. Anyway, its fixed now!

Please Log in to join the conversation.

More
9 years 7 months ago #89462 by jCandlish
For some silly reason hm2_eth thinks it is a network administer, and plays with ipv6 settings and iptables, in a very non-robust manner.

Why?

Please Log in to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum