**** BEGIN LOGGING AT Wed Aug 08 03:00:02 2018 Aug 08 05:58:44 Hello, is there anybody who can answer me the question why i have to write: 'session required pam_env.co readenv=1' in /etc/pam.d/sudo to enable internet connection ? Aug 08 06:03:23 veremitz: I have one or two channels -t for - omg I'm old - almost 20 years now and it's only friendly residents updating the topic as needed. I think once we had someone spam-change it. Channel is a bit smaller though ~70 people. Aug 08 07:00:26 I get the error /dev/mmcblk0 does not exist and all four LED's are flashing how can i solve that ? Aug 08 07:06:13 please provide context Aug 08 07:08:50 I connected the BBB with hdmi to my monitor and with usb to a pc. If i start the bbb it did not connect and stops doing anything and all four LED's are flashing. There is some text and an errormessage that /dev/mmcblk0 does not exist writing to /dev/mmcblk0 failed Aug 08 07:09:14 I cant type anything only strg + alt +entf and it restarts Aug 08 07:11:12 HansPeterKonrad: also it's not enabling your internet connection. You do NOT have an internet connection, you have HTTP proxy access to the WWW. This enables commands executed by sudo to inherit /etc/evironment - you can find explanations easily on the internet: https://www.systutorials.com/docs/linux/man/8-pam_env/ and in german: https://code.i-harness.com/de/q/190c05 Aug 08 07:11:32 i got the same problem yesterday as i connected 2 bbb's the third got this error and i had to reflash it. Now its the same againg i connected 2 and the third is flashing the 4 LED's and outputting the error. Aug 08 07:12:05 what happens if you disconnect all of them and then only plug in the third? Aug 08 07:12:39 i tried that yesterday it didnt work, now i only got one connected via usb to pc and via hdmi to a monitor Aug 08 07:13:28 do you have a USB-to-Serial adapter (commonly called a "FTDI") Aug 08 07:13:56 in the tutorial you send they type things in the command line but i cant type anything in ? Aug 08 07:14:11 no im connected to the bbb's computer via hdmi Aug 08 07:14:41 please ask your colleagues if they have one that you could borrow if not have procurement order one for you Aug 08 07:16:18 https://www.watterott.com/de/TTL-232R-USB-Serial-Converter-33V https://www.watterott.com/de/FTDI-Breakout-Reloaded-V2 Aug 08 07:16:46 trying to do embedded development without a USB-to-serial adapter is foolish Aug 08 07:18:06 it is far easier to work with serial console access then if you have to read things off a screen, things scroll away and you can't get them back, etc. Aug 08 07:19:12 to be honest, I'd expect an embedded electronics company like your employer to have bags/drawers full of USB-serial adapters and also fellow engineers who could coach you on basic topics Aug 08 07:41:04 what will be the difference to connecting via hdmi to a monitor ? Aug 08 08:01:31 tbr: are you there ? Aug 08 08:02:37 you have it directly on your PC, no additional displays. You can easily copy paste output into a search engine to look for solutions to problems. Aug 08 08:03:57 but it will show me the same ? Aug 08 08:07:34 tbr: My Problem was the code i've showed you, do you know how to solve it? Because the tutorial you send me demands that i can edit files but i cant get into the computer Aug 08 08:21:41 I know that i wrote in etc/pam.d/sudo: session required pam_env.so readenv=1 Aug 08 08:23:40 oh, it's you. Aug 08 08:29:07 zmatt: yes :D Aug 08 08:36:52 trust me, ":D" is not the appropriate response here Aug 08 08:41:04 not only have you demonstrated a lack of basic problem-solving skills, but you do not even seem capable of absorbing the information provided to you. anyone who helps you is, therefore, wasting their time Aug 08 09:07:41 brutal Aug 08 09:07:54 i'm sure there's a nicer way to say the same thing Aug 08 09:10:07 not that i'm always nice to people Aug 08 09:10:41 and i do appreciate all the effort that goes into making this channel a great place to learn Aug 08 09:13:09 yeah well my niceness expired when I saw him asking a question I already answered yesterday (and having needed to repeat myself before) Aug 08 09:13:50 HansPeterKonrad: btw it sounds like you edited /boot/uEnv.txt to make an sd card into a flasher, except you didn't change it on an sd card but on the eMMC Aug 08 09:14:18 effectively asking it to flash eMMC onto eMMC, which obviously fails Aug 08 09:16:55 its not that i don't empathize with you, i answer a lot of questions on the beaglebone facebook group and i assure you its worse Aug 08 09:17:10 probably because the barrier to entry is so much lower Aug 08 09:19:05 actually some news Aug 08 09:19:32 we're open sourcing our framebuffer HTML renderer Aug 08 09:19:51 it was developed to create user interfaces on the BBB Aug 08 09:20:00 wow, that sounds like a substantial project Aug 08 09:20:26 you can load C libraries during run time directly into the renderer and call C functions from the HTML Aug 08 09:20:38 dont' be too disappointed- it's not the most robust HTML renderer Aug 08 09:20:42 and it doesn't support javascript Aug 08 09:20:48 but it can certainly get the job done Aug 08 09:21:02 it's based of lite html Aug 08 09:21:12 I don't think I'd have a use for it myself anyway, but it still sounds neat Aug 08 09:21:33 i'll post a link in a bit Aug 08 09:22:24 we're planning on open sourcing i think all of our firmware and modifications, we're using a BBB for a web app we're coming out with Aug 08 09:22:44 currently using the PRUs to interface with a Xilinx Spartan-7 Aug 08 09:23:30 the memory logic units would probably have higher bandwidth but we're trying to shorten development cycle Aug 08 09:29:47 zmatt: that maybe depends on that that people are going out of the chat bc of waitinf for hours for a response Aug 08 09:31:27 you asked "okay" to my answer (also, it was 2 days ago, not yesterday) Aug 08 09:31:32 *you said Aug 08 09:32:37 and I wouldn't react in this way based on a single duplicate question, you've already slowly started to annoy me over the time you've been here Aug 08 09:32:53 but anyway, I'll leave you to whoever does feel like helping you, afk Aug 08 09:37:50 maybe i dont understand what you explained or allready done it and it dont works ? Aug 08 09:40:03 HansPeterKonrad: It sounds like you're trying to make advanced configurations without a fundamental understanding of the system Aug 08 09:41:09 HansPeterKonrad: people have mentioned possible solutions to you, you should use google to find more information about these topics Aug 08 09:41:42 such as a USB-to-Serial Aug 08 09:41:51 this is really good advice, but you're ignoring it Aug 08 09:42:01 you should invest your energy in this Aug 08 09:42:12 if you won't take people's suggestions, how can anyone help you? Aug 08 09:42:41 USB-to-Serial converter is an essential tool for doing "real work" on a BBB Aug 08 09:43:12 you can also try HDMI and a usb mouse and keyboard, but most of us wouldn't use this as it's inconvenient Aug 08 09:45:10 I had connection via hdmi and keyboard and i got the error message as i mentioned before Aug 08 09:47:06 you're still ignoring me Aug 08 09:47:23 i'm telling you that USB-to-Serial converter is a step in the right direction Aug 08 09:47:29 you said buy ftdi or using hdmi Aug 08 09:47:38 and also the answer I provided 30 minutes ago Aug 08 09:48:10 (with the "asking a question I already answered" I was referring to you asking about the pam_env line btw, not this error) Aug 08 09:48:16 i think that zmatt's answer about checking the /etc/uEnv.txt is a good idea Aug 08 09:48:38 err or /boot/ rather Aug 08 09:48:58 yeah and i said i already uncommand the line in /etc/uEnv.txt Aug 08 09:49:12 which is exactly the cause of the problem Aug 08 09:49:33 unless you mean "comment out" rather than "uncomment" Aug 08 09:50:19 There's also the issue of trying to edit advanced things via recipe or via other's peoples advice without spending the time reading the documentation to understand how it works fundamentally Aug 08 09:50:31 if you make many changes or have a specific setup, it's hard for anyone to know exactly how to help you Aug 08 09:50:40 so you must read the documentation for the system that you're trying to configure Aug 08 09:50:43 your symptom description (leds blinking, error message about mmcblk0 not existing) is 99% certainly a case of the flasher being invoked by mistakenly uncommenting the last line of /boot/uEnv.txt Aug 08 09:50:54 on eMMC Aug 08 09:51:47 Thats good, but still I think this would be obvious to someone who understood what /boot/uEnv.txt does, how to read bash scripts, and what mmcN is Aug 08 09:56:46 https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Flashing_eMMC i followed the steps here and i dont think it is a problem with something i have done when it is every time the 3rd beaglebone that i connected that has this problem Aug 08 09:57:45 if you think the problem is the physical hardware, you should replace it Aug 08 09:57:56 i doubt it's the physical hardware, but what else can I say? Aug 08 09:58:45 HansPeterKonrad: you simply did something wrong and edited /boot/uEnv.txt when you thought it had booted from sd card when in fact it had booted from eMMC Aug 08 09:59:12 that's the most likely Aug 08 09:59:33 you should put the SD card in your desktop computer and check the /boot/uEnv.txt file to see if the changes are there that you thought you made Aug 08 09:59:47 then boot from it and it will overwrite the eMMC that you misconfigured Aug 08 10:00:51 also you should invest in a usb-to-serial converter like everyone says Aug 08 12:04:09 * kona shakes her head. Aug 08 12:05:15 I wasn't sure about the flasher issue, but it looks like other than that, we all told him the same thing. Aug 08 13:52:41 i feel like pepple should say thank you Aug 08 14:22:15 hi guys, has anyone ever built a flasher image which loads the image that is programmed to eMMC via ethernet? (as described here: http://processors.wiki.ti.com/index.php/Sitara_Uniflash_Flash_Programming_with_Linux) Aug 08 16:33:23 microdevel: I'm kind of confused, flasher images are generally running from SD-card, but you say you want to bring the board up via USB? Aug 08 16:35:07 ah, TI lingo it seems Aug 08 16:35:52 microdevel: I think someone figured things out and documented them, yes Aug 08 16:38:35 microdevel: I think it's this one: https://www.youtube.com/playlist?list=PLZzqvHPI5kNBD4i7rRGwIHGhrGJylC-MI Aug 08 16:38:38 argh Aug 08 16:38:52 microdevel: https://github.com/ungureanuvladvictor/BBBlfs Aug 08 16:43:30 unfortunately the image BBBlfs uses is really old and doesn't support recent eMMC chips, and the utility they use to serve it via bootp/tftp is ugly and brittle Aug 08 16:43:38 the latter can be easily replaced by dnsmasq though Aug 08 16:44:32 also it is for rndis-over-usb, not actually ethernet (but dnsmasq can be used for either) Aug 08 16:57:59 ah, ethernet, sorry, another thing I missed :/ Aug 08 17:35:15 zmatt i remember one day we figured out bringing up a board without any images to run u-boot via ethernet. the setup is still here so no problem with that. all i need to have is an image or a way to generate a small linux image that formats and writes emmc with the main image Aug 08 17:36:22 ti described a way to do it in the link above, but the problem is it seems to be outdated and all links are broken :( so i was thinking that somebody might have already done flashing via ethernet Aug 08 17:39:09 microdevel: you'd need to make a small script that downloads the image from a server and writes it onto eMMC, and performs whatever finalization steps you want (expand fs to fit the disk, randomize /etc/machine-id, set hostname, things like that) Aug 08 17:39:16 and stick that into the initramfs Aug 08 17:40:04 yes exactly zmatt! can we talk tomorrow? would be happy if you have some time :))) Aug 08 17:43:23 as usual, the best strategy is to just ask concrete questions you have. there's a fairly decent chance you eventually get an answer from me or someone else Aug 08 17:43:54 ("has anyone" is not a useful technical question) Aug 08 18:14:50 zmatt: lol, yup Aug 08 18:16:29 and uh, dive in - explain your problem/issue in your question .. nobody is really gonna complain if you're too verbose 'out the gate' - the more info you give, the less we gotta ask you ;) ! Aug 08 18:20:33 lol @ today's xkcd Aug 08 18:22:56 haha yes. Aug 08 19:50:59 yeah love it .. did you see the hover text?! :P Aug 08 19:51:13 I almost PMSL before I even saw the comic! Aug 09 00:59:01 ... what the hell is going on on my laptop. it's constantly reporting a load average around 1.5 or so yet there are no processes with significant cpu load Aug 09 00:59:44 must be part of the cloud now Aug 09 01:00:05 and starting a while true; do true; done loop doesn't seem to really affect the reported load average either (although it does clearly heat things up) Aug 09 01:00:23 so the load average reporting is just really confused or something Aug 09 01:09:33 Odd...I once had GOogle set up to run in the background. Aug 09 01:09:40 It was taking all my resources. Aug 09 01:10:07 as I already said: "yet there are no processes with significant cpu load" Aug 09 01:10:25 Check if you have applications running in the background, maybe. Aug 09 01:10:42 I know what the computer is feeding you back. The info. could be wrong. Aug 09 01:11:08 yes, the load average is what's wrong, I'm just trying to figure out why Aug 09 01:11:13 Oh. Aug 09 01:11:26 I say background applications. Aug 09 01:11:29 I've found more reports on the interwebs, digging through threads Aug 09 01:11:34 Oh. Aug 09 01:11:36 Okay. Aug 09 01:11:41 set_ ... read again: NO PROCESSES WITH SIGNIFICANT CPU LOAD Aug 09 01:12:15 I understand. My google running in the background showed little to no issues w/ load. Aug 09 01:12:32 I just saw that it was listed as a background app and it was listed many times. Aug 09 01:12:45 ... Aug 09 01:12:59 The process did not show up as a large percentage. Aug 09 01:13:31 Oh...another thing that happened once! The socket melted. Aug 09 01:13:44 Sometimes the sockets are cheap for the CPU. Aug 09 01:14:41 Or...dust is another issue. I take my computer apart frequently and take the CPU out and the reapply the thermal gel. Aug 09 01:14:42 ... Aug 09 01:14:48 Sounds silly but it works. Aug 09 01:14:57 hmm, apparently it's a known bug of some sort in liquorix kernels 4.10 and above Aug 09 01:15:00 I have a laptop Aug 09 01:15:18 Okay. If it is a bug and not a hardware issue. Okay. Aug 09 01:15:20 odd though that I've never noticed it before if this is the same issue Aug 09 01:15:54 Hmm... Aug 09 01:16:12 Time to erase stuff? Aug 09 01:18:28 Bugs are sometimes fun to find and fix, e.g. if the bug is able to be fixed. I had a bug on a Debian Distro once b/c of listening to a book. Dang thing, the OS, was shot. Aug 09 01:18:31 Boo to that book! Aug 09 01:22:30 okay I think I'm just gonna try rebooting into a non-liquorix kernel Aug 09 01:26:34 Do it! Aug 09 01:26:44 Fix it! Aug 09 01:27:03 No more bugs...is the idea. Aug 09 01:29:33 I just read about that liquorix kernel. Sounds interesting. It is for max workloads, though. So, it seems the system would be made for power. Aug 09 01:32:04 ? Aug 09 01:32:33 it is designed for interactive workloads (i.e. desktop users) Aug 09 01:33:26 Oh yea...that too. But, it seems like the "power" section is made so you can get in and out of heavy workloads w/ ease. Aug 09 01:33:48 I have no idea what you're trying to say Aug 09 01:34:27 If the resource is high, say Video Editing, then that kernel will suit your needs well. Aug 09 01:35:17 zmatt: Did you get it working? Aug 09 01:35:31 Or, did you figure out what the hell is going on over there? Aug 09 01:35:32 set_, please don't try to explain things you don't actually understand Aug 09 01:35:37 Okay. Aug 09 01:35:38 Fine. Aug 09 01:36:16 yeah the problem is indeed caused by the liquorix kernel, on the normal kernel my load average is now 0.3 and still going down Aug 09 01:36:27 also cpufreq-info shows my cores are now properly idling Aug 09 01:36:45 Hmm...well. It is not a hardware issue. Thank you! Aug 09 01:37:23 I never had any reason to suspect a hardware issue Aug 09 01:37:46 Okay. Aug 09 01:37:48 based on what I'm reading the MuQSS scheduler used by liquorix might be to blame Aug 09 01:39:04 Hmm...yep. Their forum has many people stating things. Aug 09 01:40:15 hm, it seems they actually had the problem, fixed it, and then it came back Aug 09 01:55:16 u-turn bug? **** ENDING LOGGING AT Thu Aug 09 02:59:59 2018