#linuxcnc-devel Logs

Feb 04 2023

#linuxcnc-devel Calendar

12:09 AM linuxcnc-build2: Build [#329](http://buildbot2.highlab.com/buildbot/#builders/11/builds/329) of `10-rip.debian-12-bookworm-rtpreempt-amd64` 8completed with warnings.
12:23 AM linuxcnc-build2: Build [#361](http://buildbot2.highlab.com/buildbot/#builders/13/builds/361) of `00-checkin` 3completed successfully.
02:52 AM pere: andypugh: btw, I suspect <URL: https://github.com/LinuxCNC/linuxcnc/pull/2253 > is ready for general consumtion.
03:01 AM chris is now known as Guest5923
09:08 AM linuxcnc-build2: Build [#335](http://buildbot2.highlab.com/buildbot/#builders/11/builds/335) of `10-rip.debian-12-bookworm-rtpreempt-amd64` 4failed.
09:27 AM linuxcnc-build2: Build [#367](http://buildbot2.highlab.com/buildbot/#builders/13/builds/367) of `00-checkin` 4failed.
09:44 AM -!- #linuxcnc-devel mode set to +v by ChanServ
09:59 AM linuxcnc-build2: Build [#336](http://buildbot2.highlab.com/buildbot/#builders/11/builds/336) of `10-rip.debian-12-bookworm-rtpreempt-amd64` 8completed with warnings.
10:12 AM linuxcnc-build2: Build [#368](http://buildbot2.highlab.com/buildbot/#builders/13/builds/368) of `00-checkin` 3completed successfully.
11:18 AM linuxcnc-build: build #6282 of 1520.rip-jessie-amd64 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1520.rip-jessie-amd64/builds/6282 blamelist: Hans Unzner <hansunzner@gmail.com>
11:18 AM linuxcnc-build: build #9652 of 1300.rip-precise-i386 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1300.rip-precise-i386/builds/9652 blamelist: Hans Unzner <hansunzner@gmail.com>
11:19 AM linuxcnc-build: build #6281 of 1530.rip-jessie-rtpreempt-amd64 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1530.rip-jessie-rtpreempt-amd64/builds/6281 blamelist: Hans Unzner <hansunzner@gmail.com>
11:19 AM linuxcnc-build: build #8877 of 1301.rip-precise-rtai-i386 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1301.rip-precise-rtai-i386/builds/8877 blamelist: Hans Unzner <hansunzner@gmail.com>
11:19 AM linuxcnc-build: build #9655 of 1306.rip-precise-amd64 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1306.rip-precise-amd64/builds/9655 blamelist: Hans Unzner <hansunzner@gmail.com>
11:19 AM linuxcnc-build: build #6279 of 1500.rip-jessie-i386 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1500.rip-jessie-i386/builds/6279 blamelist: Hans Unzner <hansunzner@gmail.com>
11:19 AM linuxcnc-build: build #6279 of 1510.rip-jessie-rtpreempt-i386 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1510.rip-jessie-rtpreempt-i386/builds/6279 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #8019 of 1404.rip-wheezy-rtpreempt-amd64 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1404.rip-wheezy-rtpreempt-amd64/builds/8019 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #4668 of 1610.rip-stretch-rtpreempt-i386 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1610.rip-stretch-rtpreempt-i386/builds/4668 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #2881 of 1660.rip-buster-python3 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1660.rip-buster-python3/builds/2881 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #4668 of 1630.rip-stretch-rtpreempt-amd64 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1630.rip-stretch-rtpreempt-amd64/builds/4668 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #6804 of 1903.clang-wheezy-amd64 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1903.clang-wheezy-amd64/builds/6804 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #7814 of 1403.rip-wheezy-amd64 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1403.rip-wheezy-amd64/builds/7814 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #7814 of 1400.rip-wheezy-i386 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1400.rip-wheezy-i386/builds/7814 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #7339 of 1402.rip-wheezy-rtpreempt-i386 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1402.rip-wheezy-rtpreempt-i386/builds/7339 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #6805 of 1902.clang-wheezy-rtai-i386 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1902.clang-wheezy-rtai-i386/builds/6805 blamelist: Hans Unzner <hansunzner@gmail.com>
11:20 AM linuxcnc-build: build #7490 of 1401.rip-wheezy-rtai-i386 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1401.rip-wheezy-rtai-i386/builds/7490 blamelist: Hans Unzner <hansunzner@gmail.com>
12:13 PM linuxcnc-build2: Build [#292](http://buildbot2.highlab.com/buildbot/#builders/23/builds/292) of `50-deb-uspace.debian-11-bullseye-amd64` 4failed.
12:14 PM linuxcnc-build2: Build [#286](http://buildbot2.highlab.com/buildbot/#builders/2/builds/286) of `50-deb-uspace.debian-12-bookworm-amd64` 4failed.
12:22 PM linuxcnc-build2: Build [#314](http://buildbot2.highlab.com/buildbot/#builders/3/builds/314) of `50-deb-uspace.debian-10-buster-amd64` 4failed.
12:34 PM linuxcnc-build: build #3042 of 1650.rip-buster-rtpreempt-rpi4 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1650.rip-buster-rtpreempt-rpi4/builds/3042 blamelist: Hans Unzner <hansunzner@gmail.com>
12:37 PM -!- #linuxcnc-devel mode set to +v by ChanServ
12:50 PM linuxcnc-build: build #3283 of 1640.rip-buster-rtpreempt-amd64 is complete: Failure [4failed git] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1640.rip-buster-rtpreempt-amd64/builds/3283 blamelist: Hans Unzner <hansunzner@gmail.com>
12:50 PM linuxcnc-build: build #9693 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/9693 blamelist: Hans Unzner <hansunzner@gmail.com>
12:56 PM linuxcnc-build: build #3043 of 1650.rip-buster-rtpreempt-rpi4 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1650.rip-buster-rtpreempt-rpi4/builds/3043 blamelist: CMorley <chrisinnanaimo@hotmail.com>
12:59 PM linuxcnc-build: build #3284 of 1640.rip-buster-rtpreempt-amd64 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1640.rip-buster-rtpreempt-amd64/builds/3284 blamelist: CMorley <chrisinnanaimo@hotmail.com>
01:00 PM linuxcnc-build: build #2882 of 1660.rip-buster-python3 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1660.rip-buster-python3/builds/2882 blamelist: CMorley <chrisinnanaimo@hotmail.com>
01:00 PM linuxcnc-build: build #9694 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/9694 blamelist: CMorley <chrisinnanaimo@hotmail.com>
01:08 PM linuxcnc-build: build #3044 of 1650.rip-buster-rtpreempt-rpi4 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1650.rip-buster-rtpreempt-rpi4/builds/3044 blamelist: CMorley <chrisinnanaimo@hotmail.com>
01:08 PM linuxcnc-build: build #2883 of 1660.rip-buster-python3 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1660.rip-buster-python3/builds/2883 blamelist: CMorley <chrisinnanaimo@hotmail.com>
01:08 PM linuxcnc-build: build #3285 of 1640.rip-buster-rtpreempt-amd64 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1640.rip-buster-rtpreempt-amd64/builds/3285 blamelist: CMorley <chrisinnanaimo@hotmail.com>
01:08 PM linuxcnc-build: build #9695 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/9695 blamelist: CMorley <chrisinnanaimo@hotmail.com>
01:40 PM linuxcnc-build2: Build [#287](http://buildbot2.highlab.com/buildbot/#builders/2/builds/287) of `50-deb-uspace.debian-12-bookworm-amd64` 8completed with warnings.
01:50 PM linuxcnc-build2: Build [#293](http://buildbot2.highlab.com/buildbot/#builders/23/builds/293) of `50-deb-uspace.debian-11-bullseye-amd64` 8completed with warnings.
01:52 PM linuxcnc-build2: Build [#315](http://buildbot2.highlab.com/buildbot/#builders/3/builds/315) of `50-deb-uspace.debian-10-buster-amd64` 8completed with warnings.
04:13 PM linuxcnc-build2: Build [#373](http://buildbot2.highlab.com/buildbot/#builders/13/builds/373) of `00-checkin` 4failed.
04:15 PM linuxcnc-build: build #9697 of 0000.checkin is complete: Failure [4failed fetch branch to local git repo] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/9697 blamelist: CMorley <chrisinnanaimo@hotmail.com>
05:59 PM linuxcnc-build2: Build [#375](http://buildbot2.highlab.com/buildbot/#builders/13/builds/375) of `00-checkin` 3completed successfully.
07:09 PM cradek: on my machine with excellent latency (10usec) I sometimes get the unexpected realtime delays, and troubleshooting shows me it's not a latency problem at all, it's an overrun problem caused by hm2_7i80.0.read taking way longer than expected sometimes. On some runs this doesn't happen at all, but on some runs it happens every few seconds. where should I look to troubleshoot this?
07:09 PM cradek: Period FP Name ( Time, Max-Time )
07:09 PM cradek: 1000000 YES servo-thread ( 472347, 2212434 )
07:10 PM cradek: 33 s32 RW 1890108 hm2_7i80.0.read.tmax
07:11 PM cradek: the interface is a PCI intel e1000 card
07:12 PM cradek: 7i80 is running the sv12 firmware
07:17 PM cradek: I'm running 2.9/busywait6 in busywait mode on amd64
07:22 PM cradek: halscope of read time here: https://libera.ems.host/_matrix/media/v3/download/jauriarts.org/cmlNziNccFkZuQOmtTiWUtvR/image.png
07:23 PM cradek: pcw-home: is that plot what you expect?
07:24 PM pcw-home: no, that's weird
07:25 PM pcw-home: do you have IRQ coalescing disabled on the e1000?
07:25 PM cradek: no, I just was reading manpages and noticed I should do that
07:26 PM cradek: let me reboot and see what the plot looks like
07:29 PM pcw-home: you can set it temporarily without rebooting
07:29 PM cradek: too late :-)
07:31 PM cradek: that doesn't seem to make a difference
07:32 PM cradek: wait I didn't have ethtool installed
07:39 PM pcw-home: Yeah its better to test by hand first
07:40 PM cradek: I've used unix for 30 years and I couldn't figure out the right command line from the manpage
07:41 PM cradek: ooh that really does change it
07:41 PM pcw-home: Yeah, its kind of weird I think it's: sudo ethtool -C rx-usecs 0 [dev]
07:42 PM pcw-home: http://freeby.mesanet.com/readtime.png
07:43 PM cradek: https://libera.ems.host/_matrix/media/v3/download/jauriarts.org/zbPjEYdelpybjFkKdwBpsbsN/image.png
07:43 PM cradek: much less weird, but still some really long ones
07:44 PM pcw-home: what kernel
07:45 PM cradek: Linux lathe 6.1.0-2-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.7-1 (2023-01-18) x86_64 GNU/Linux
07:47 PM pcw-home: Should be OK Unfortunately Ethernet latency has gotten worse from 4.X kernels thous 6.x are somewhat better than 5.x
07:47 PM pcw-home: though
07:47 PM cradek: 33 s32 RW 1029474 hm2_7i80.0.read.tmax
07:47 PM cradek: still longer than a whole servo cycle occasionally
07:48 PM pcw-home: what speed CPU?
07:48 PM cradek: 1.8 GHz
07:49 PM pcw-home: so that's about 450 usec (if its a X86)
07:50 PM cradek: ohhh that's in cycles, not usec?
07:50 PM cradek: that explains why it didn't error yet
07:50 PM pcw-home: on X86, yes
07:50 PM cradek: yes amd64
07:51 PM cradek: Period FP Name ( Time, Max-Time )
07:51 PM cradek: 1000000 YES servo-thread ( 238779, 1372005 )
07:51 PM cradek: this is super deceptive, mixing units on the same line
07:51 PM cradek: so that's not an overrun even though the number is bigger
07:51 PM cradek: thanks for explaining that :-)
07:51 PM cradek: this might have fixed it then...
07:52 PM cradek: with only one 7i80, I should not be calling the read-request func, right?
07:53 PM pcw-home: Yeah that is not of any use unless you have more than 1 card
07:53 PM cradek: ok
07:53 PM cradek: thanks for telling me to do what the manpage says, I'll see if that fixes it
07:53 PM cradek: if not, I could try a totally different kind of network card
07:54 PM pcw-home: Realtek are probably worse as the latest Linux drivers have really bad latency issues (was OK until about a year ago)
07:55 PM cradek: ok
07:55 PM cradek: are intel e1000 generally ok?
07:57 PM cradek: 02:05.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
08:02 PM pcw-home: Yes
08:04 PM cradek: I appreciate your saturday night help
08:04 PM pcw-home: Hope that fixes the issue.
08:05 PM cradek: seb & jeff & I replaced a bunch of 2007 hardware with a bunch of mesa hardware last month, it's much better now
08:05 PM cradek: I really depend on this machine so it's nice to have it modernized a bit
08:06 PM pcw-home: Coil winder?
08:06 PM cradek: yep - first job on the new hardware was to make these: https://timeguy.com/cradek/01675478938
08:07 PM cradek: they're huge compared to most of the ones I wind, but they're tricky because if they aren't wound nice and even the diameter is too big to fit
08:08 PM pcw-home: Ahh watch parts
08:08 PM pcw-home: what gauge wire?
08:08 PM cradek: these are 30 micron - but I usually wind 12 and 15
08:09 PM cradek: the majority is 15u for accutrons
08:10 PM pcw-home: not many grams of tensile strength I would imagine
08:10 PM cradek: the smallest is about 1cN which I think is about the same as a gram
08:11 PM cradek: I'm off to find dinner, again thanks, and cheers
08:11 PM pcw-home: bye