**** BEGIN LOGGING AT Sun May 24 02:59:59 2020 May 24 10:34:27 hi all, I've got an issue running latest 20.04 on rpi3b, I'm getting system crashes after closing a ros2 program, which I am assuming has to do with cpu down clocking. I have posted console serial output here https://github.com/ROBOTIS-GIT/turtlebot3/issues/593 May 24 10:34:38 does anyone know if this is a known issue? May 24 10:43:05 i guess lotuspsychje's firmware version hint was sound. May 24 10:44:21 https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1880388 May 24 10:45:47 what's weird is the turtlebot3 people only seem to have recently come into this issue, as they have had the robot running on 18.04.3 for a while presumably May 24 10:47:13 or their product never worked on ubuntu-server? I have no idea May 24 10:51:07 when it crashes there are two usb devices plugged in, one talking to a lidar and another to the control board (OpenCR) May 24 10:53:04 if i remember what i scrolled by properly then ubuntu-server only started working on raspi recently. that's using the images provided by ubuntu, with the ubuntu kernel May 24 10:54:26 https://ubuntu.com/blog/ubuntu-20-04-lts-is-certified-for-the-raspberry-pi May 24 10:55:30 I have tried 18.04 with an image from ubuntu site, I guess it just wasn't certified May 24 10:55:34 what ever that means haha May 24 10:55:53 the article discusses what it means May 24 10:56:12 well, it is a kernel bug (and i'd be more concerned about the mmc errors than the cpufreq ones :) ...) ... and since you filed it already against linux-raspi2 the kernel guys in #ubuntu-kernel will surely take a look during their working hours May 24 10:56:47 18.04 is definitely supported so this should be fixed quickly May 24 10:59:05 (pi suport was officially implemented during the 19.10 cycle, then backported to 18.04 which made the pi an officially supported arch) May 24 11:00:13 I wish I knew more about these chips to say what was causing what, you're right the mmc dropping out is likely the cause of the unresposiveness May 24 11:00:35 Ohhh backported, that's why I never saw it May 24 11:03:34 tomreyn, ah I see, fixing bugs within a day? that's quite something haha May 24 11:05:52 right, try getting this on a different OS. May 24 11:10:09 so we'll [or just me] be celebrating this time tomorrow ;)? May 24 11:11:54 unlikely ... it is sunday :P May 24 11:12:12 also make sure to ping someone in #ubuntu-kernel tomorrow May 24 11:14:18 also firmware May 24 11:14:35 ogra, saying "fix this bug pls?" May 24 11:15:11 tomreyn, sorry? May 24 11:16:00 russkel: lotuspsychje and i have previously suggested that you should ensure this system runs the latest firmwares. May 24 11:16:09 oh right May 24 11:16:19 sorry yes, I will check that right now May 24 11:18:57 oh yikes there is an update command May 24 11:21:02 from what I can see the firmware seems to only be relevant to the GPU, which I don't use May 24 11:38:16 there are probably multiple firmwares, but i'm sorry if this was a red herring May 24 11:41:00 I'm chatting to the rpi lads now, see what they reckon May 24 12:38:37 tomreyn, might be a red herring, they reckoned using latest firmware wouldn't change anything/much May 24 12:58:38 russkel: good. :) i actually gave my only raspi away to froiends since i realize i don't ever get to play with those. May 24 12:59:17 meaning my first hand experience is very limited. ;) May 24 12:59:28 Yeah me too, this is the first time using a rpi May 24 12:59:46 I have used an orange pi which is a sunxi device and that was even worse haha May 24 13:00:14 my orangepi runs happily with ubuntu core :) May 24 13:01:08 (i stopped using non-core systems on my all my arm boards like 3y ago ... havent looked back :) ) May 24 13:01:40 ogra, mine was missing the mosfet that allowed the cpu to operate at 1.3v May 24 13:01:48 ouch May 24 13:01:51 mine and everyone elses May 24 13:02:08 only a smart cookie from armbian figured it out by using a multimeter on it May 24 13:02:24 ogra, what's ubuntu core? May 24 13:02:52 well, i use mine as a webcam streaming server (using the mjpeg-streamer snap) and it runs just fine May 24 13:03:08 https://ubuntu.com/core May 24 13:03:47 wait who did the work to get that on ubuntu core? May 24 13:03:50 a completely snap based OS ... used a lot in industrial, digital signage, embedded and IoT May 24 13:04:01 me :) May 24 13:04:03 mine was the orange pi zero 2 plus May 24 13:04:26 did you have to do much messing around to get the thing running? May 24 13:04:29 https://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ May 24 13:04:42 ah, mine is the first gen ... just called zero IIRC May 24 13:05:25 =) awesome work May 24 13:06:49 I loved the form factor of the zero 2+ but then nothing worked, needed a mosfet soldered onto it, camera driver doesn't seem to exist, etc etc, just painful stuff May 24 13:07:18 well, the formfactor is huge ... try a nanopi, thats half the size ;) May 24 13:08:09 not the zero 2+ ? May 24 13:08:44 okay maybe the NEO2 wow May 24 13:08:48 nanopi neo air ... the smallest board i have that can run ubuntu May 24 13:09:27 back when I bought it I needed wifi and bt, which it has May 24 13:09:43 like ... 2x2cm ... and very thin May 24 13:10:09 the support is much better and wifi is working, but still I don't think the camera works, and then I realised my RPi Cam v2 isn't going to work on it May 24 13:10:26 I think I have given up on it May 24 13:11:07 ah, i never tried the CSI interface May 24 13:11:17 neo air looks a lot like Zero2+ May 24 13:11:22 i tend to just use random USB webcams nowadays May 24 13:12:21 through the microusb port? May 24 13:12:30 not on the nanopi :) May 24 13:12:40 can you expose more usb ports May 24 13:12:40 and well ... i'm lying ... May 24 13:12:41 https://ograblog.wordpress.com/2020/05/06/using-the-new-12mp-pi-cam-for-video-conferencing-on-your-desktop/ May 24 13:12:54 looks like it May 24 13:12:57 just played with the new pi cam a few weeks ago :) May 24 13:13:51 i use a usb cam on the orangepi ... and generally noramlly use usb cams ... but 8MP caught me so i bought another pi cam :) May 24 13:14:41 woah $100 for the hq cam May 24 13:14:54 i have a few friends using camcorders with HDMI capture cards for video conferencing ... the new pi cam beats them easily May 24 13:15:07 it was $50 when i butght it May 24 13:15:11 *bought May 24 13:15:15 AU price :( May 24 13:15:25 (though +$50 for a really good CS lens) May 24 13:15:28 ah May 24 13:16:13 I wanted to use this as a control board for a RC car turned robotic May 24 13:16:51 https://www.youtube.com/watch?v=nYw4L_45so4 May 24 13:17:35 11:40 for it running haha May 24 13:17:47 hah, cool ! May 24 13:18:44 but yeah now I'm not sure if I'll ever get it working with my pi camera May 24 13:19:24 the CSI cable has a different number of pins than the board does May 24 13:20:13 weird, i thought they were normed May 24 13:22:03 I might just cut the nonsense and get a rpi4 May 24 13:22:25 overkill ! May 24 13:22:32 the car is overpowered as it is, it can carry a big rpi4 and a big battery May 24 13:22:36 how dare you sir! May 24 13:22:50 you might need a fan if the pi4 actually does any work May 24 13:22:52 this thing will be doing SLAM, object recognition etc etc May 24 13:23:03 it gets pretty warm even on idle May 24 13:23:26 oh does it? May 24 13:23:30 (and then throttles) May 24 13:23:35 yeah May 24 13:24:14 I had to put heatsinks on the zero 2+ May 24 13:24:42 cheap mod, dropped the degrees a bit May 24 13:25:26 i use https://ograblog.wordpress.com/2019/10/09/attaching-a-cpu-fan-to-a-rpi-running-ubuntu-core/ for my "armhf build machine pi4" May 24 13:26:48 and and the one running libreelec on my TV has a massive case to take on the heat https://www.amazon.de/gp/product/B07HXYYB6W/ref=ppx_yo_dt_b_asin_title_o07_s01?ie=UTF8&psc=1 May 24 13:27:11 (this is one massive aluminium block !) May 24 13:28:04 haha! May 24 13:28:16 does that lid make contact with the chip? May 24 13:28:24 yeah it does, haha May 24 13:28:54 yep, it uses the whole (dunno ... 800grams) alu block as heatsink May 24 13:29:02 800!! May 24 13:29:06 guessed May 24 13:29:11 haha wow May 24 13:29:15 i havent used a balance but it is heavy and massive May 24 13:29:34 amazon reckons it is 200gm May 24 13:29:46 feels definitely heavier in the hands May 24 13:30:50 tbh all I need is something lightweight that has I2C and 2x PWM May 24 13:31:07 nothing seems to have 2x PWM May 24 13:31:14 even the orangepi May 24 13:31:41 so I got a bluepill as my PWM driver May 24 13:32:16 yeah ... microcontrollers ... the last resort :) May 24 13:32:24 can be fun May 24 13:32:36 excuse to play with chibiOS May 24 13:33:10 i have a few esp32's around the house ... May 24 13:33:29 and use te teensy for hand-wired keyboards May 24 13:33:45 I bought a esp32 for a project May 24 13:33:57 $8 for wifi+Bt+MCU May 24 13:34:00 blows the mind May 24 13:34:03 yeah May 24 13:34:27 the amount of technology for price less than a beer May 24 13:35:24 I have an esp8266 that drives some RGB LEDs I transplanted into a fairy light string May 24 13:35:46 I can set the colours from my PC haha May 24 13:36:03 it looks very pretty, especially when I do the rainbow May 24 13:36:11 heh May 24 13:45:54 well this is interesting May 24 13:46:02 I unplugged the lidar unit May 24 13:46:09 and guess what isn't crashing any more.. May 24 13:46:27 hah May 24 13:46:31 power issue ? May 24 13:46:55 I doubt it, turtlebot3 is powered from a lipo May 24 13:47:03 but maybe? May 24 13:47:40 let me plug it in again and see if it crashes May 24 13:50:38 doesn't seem to be.. crashing May 24 13:56:28 fun, heisenbug ... May 24 13:57:55 ugggghhhhhh, enough of this for tonight I think May 24 13:58:14 thanks for your help ogra. until tomorrow May 24 14:00:44 ciao **** ENDING LOGGING AT Mon May 25 02:59:57 2020