IRC logs for #automotive for Wednesday, 2020-01-29

*** sherbets has joined #automotive00:21
*** leon-anavi has quit IRC00:35
*** sherbets has quit IRC00:39
*** AlisonChaiken has quit IRC01:22
*** sherbets has joined #automotive01:39
*** embden_ has joined #automotive02:02
*** embden__ has quit IRC02:04
*** sherbets has quit IRC02:08
*** embden__ has joined #automotive03:00
*** AlisonChaiken has joined #automotive03:02
*** embden_ has quit IRC03:03
*** Newami has joined #automotive04:51
*** Newami has quit IRC05:07
*** ronan_iotbzh has quit IRC06:52
*** thaytan has quit IRC07:07
*** vrubiolo has joined #automotive07:09
*** thaytan has joined #automotive07:10
*** skz81_ has joined #automotive08:26
*** skz81_ has quit IRC08:33
*** kooltux_ has joined #automotive08:48
*** [AD]Turbo has joined #automotive09:03
*** [AD]Turbo has left #automotive09:08
*** vrubiolo1 has joined #automotive09:15
*** vrubiolo has quit IRC09:15
*** vrubiolo1 is now known as vrubiolo09:15
*** leon-anavi has joined #automotive09:36
*** thaytan has quit IRC12:01
*** tgamblin has quit IRC12:14
*** thaytan has joined #automotive12:18
*** tgamblin has joined #automotive13:11
*** mranostay has quit IRC14:23
*** AlisonChaiken has quit IRC14:49
*** vrubiolo has quit IRC15:12
*** vrubiolo has joined #automotive15:36
*** vrubiolo has quit IRC16:02
*** vrubiolo has joined #automotive16:12
*** vrubiolo has quit IRC16:21
*** ronan_iotbzh has joined #automotive16:23
furyhi guys16:32
furyhow's it hangin?16:32
*** ronan_iotbzh has quit IRC16:39
furyso i figured out why my build for my custom image wasn't working16:43
furyi kept pushing my changes to master, when i'm sposta be checking out halibut... :oof:16:43
furyi was like, why does this thing keep trying to apply a 5.12 patch, i thought i reverted to thud...brainfart :D16:44
smurrayfury: ouch16:56
*** kooltux_ has quit IRC17:02
*** leon-anavi has quit IRC17:29
*** mranostay has joined #automotive17:56
furyis there a chsmack command to fix this?19:12
fury[   41.699287] audit: type=1400 audit(1571148726.289:4): lsm=SMACK fn=smack_inode_permission action=denied subject="User::App::windowmanager-service" object="_" requested=wx pid=809 comm="mkdir" name="app-data" dev="mmcblk0p2" ino=2883919:13
fury[   41.699333] audit: type=1300 audit(1571148726.289:4): arch=40000028 syscall=39 per=800000 success=no exit=-13 a0=be8d6cae a1=1ff a2=0 a3=0 items=0 ppid=1 pid=809 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mkdir" exe="/bin/mkdir.coreutils" subj=User::App::windowmanager-service key=(null)19:13
furygetting a few other smacks as well on other services, seems i must've missed a config or something when bringing all my stuff over from flounder to halibut19:13
smurraythere are some audit issues that it's unclear if they're an issue atm19:20
furyok. hmm. something else is causing window manager and others to not start up then?19:20
furyOct 15 14:12:06 raspberrypi4 afbd-windowmanager-service@0.1[809]: /bin/mkdir: cannot create directory '/home/0/app-data/windowmanager-service': Permis>19:21
furypermission denied19:21
smurraythat's correct if this is halibut, nothing runs as root19:21
furyok cool19:21
smurraybut that shouldn't be happening unless you're trying to write there from some other app19:22
smurraythis is in a halibut build?19:22
furyhalibut but with my custom layer... i think all my layer is is the AGL services + my app which acts as "homescreen"19:23
furyno other apps, just the one19:23
furybut windowmanager, nfc service, mediaplayer service, bluetooth manager, persistence service, they're all saying "provides x for user 0" in the journal log (i also can't connect to wifi so i can't easily grab the log, i should journalctl > file and grab it off the SD card)19:25
smurraysomething looks wrong in your build, almost like you're mixing flounder and halibut versions of something wrt the app f/w19:25
furythat sounds about right19:25
furyi may have missed a piece of flounder when i tried to update everything19:26
furyhow's the cluster demo config nowadays? think that was what i looked at initially to get an idea of how to make mine (since it was landscape and one app)19:26
smurrayare you using a completely custom repo manifest?19:26
furyi based it off of latest default.xml in halibut, added my repo for my layer (self-hosted private gitlab instance)19:27
smurrayhrm, that's quite odd then19:27
furywill see if i can copy the metadata files out to somewhere you can look, nothing too extravagant in there19:27
furyor if the cluster demo is working still i can redo my mods based on it19:27
smurraythe cluster demo works, the changes since flounder aren't huge, mostly windowmanager configuration tweaks19:28
furyok. i'll look at the cluster demo history and see if i can catch it up with that. or if you have a minute or two to glance at this to let me know what i missed, i would appreciate it - everything for the image i'm trying to build (minus the "ntouch-mediaplayer" app repo itself which has all my deepest darkest secrets). https://gitlab.com/radiosound/agl-repo and https://gitlab.com/radiosound/meta-radiosound19:42
furymy setup line is source meta-agl/scripts/aglsetup.sh -m raspberrypi4 -b build-pi4 agl-radiosound agl-netboot agl-appfw-smack agl-devel19:43
furyso it's picking the agl-radiosound layer from meta-radiosound19:43
furyit's simpler now than my earlier attempts a year or two ago, i was trying to get 5.12 to fix issues i was having with 5.9, but 5.11 in thud should work fine so i removed most of my qt customizations19:44
furyjust left in a thing or two to make sure it brought in the gamepad stuff (USB gamepads are easier to hook up than steering wheel controls for some reason)19:45
furyhttps://gitlab.com/radiosound/agl-repo/commit/1903ab03d14dd135254dc6fcffc9f1af478fbaf6 - my last commit for my manifest19:47
furyliterally grabbed default.xml from gerrit and kept my three changes (10 sync jobs, my remote URL, and layer)19:48
smurraylikely not your issue, but would save yourself some hassle to put "agl-appfw-smack" in included.dep for the agl-radiosound feature19:49
smurrayI don't have access to the agl-repo one19:49
furyoh, whoops, must've forgot to flip the private/public switch. hang on19:54
furyhmm, it was already public. weird19:55
smurrayfury: working now, odd19:56
furyyeah19:56
furyi am diffing between my repo and current halibut cluster demo and i see some differences in layers.json as well but i assume if it was layers it'd at least start up and give me warnings/errors about layers19:57
smurrayyou should not see that app-data message if you have all the halibut bits, nothing runs as root and /home/0 will be empty19:59
smurraythe manifest looks fine to me.  Perhaps your "repo sync" had an issue?19:59
furycould be. i will finish bringing it up to date with what i see in the cluster demo, wipe out the directory and start anew20:00
smurraynote that recent the layers.json tweaks for the cluster demo are quite specific to the display of the receiver app, you likely won't need those20:01
furyaha. wonder if this is it. agl-login-manager bbappend LOGIN_USER ?= "0"20:05
furyshould be LOGIN_USER ?= "1001" now right?20:06
mranostayfury: if for agl-driver then yes20:10
furysounds good. will give that build a try, and if it still fails, then i'll wipe and start over again (that initial repo init is painfully slow from here, like to avoid it if i can)20:12
furythanks!20:12
furyi still have my downloads and sstate cache elsewhere but the repo init and sync takes like an hour alone for some reason20:13
furyslow download or long git history or both20:13
*** tgamblin has quit IRC20:21
smurrayfury: yes, that changed in halibut20:28
furyis SignalComposer something i'll need to bring in, or is that something specific to the cluster demo?20:42
furyit looks like it's part of the app framework so if https://docs.automotivelinux.org/docs/en/halibut/apis_services/reference/part-1/1-Architecture.html is right i should already have it i'm guessing20:44
dl9pffury: repo --init --reference=/home/user/backup-AGL-repo.checkout/ --dissociate   might help with slow initial download20:55
dl9pfyou do a repo init / repo sync once in /home/user/backup-AGL-repo.checkout/20:55
dl9pfthen it will be the initial seed for all later clones20:55
furydl9pf: good to know, thanks!20:55
*** tgamblin has joined #automotive21:26
furyurgh. now it's complaining about not finding autobuild script. in fact, nothing is there now. the git folder i'm expecting to see in the work dir is nonexistent21:42
dl9pfbitbake -C fetch <recipename> ... then let's see if it fails there again21:42
furylots of this kind of thing: ERROR: When reparsing /home/build/workspace_agl_ntouch_halibut/meta-radiosound/recipes-demo-hmi/ntouch-mediaplayer/ntouch-mediaplayer_git.bb.do_populate_sysroot, the basehash value changed from 59b32e15f75c28648afd117f1cb15488 to c5f79465835ef18fe029fc074a079132. The metadata is not deterministic and this needs to be fixed.21:44
furybut it appears to be proceeding now21:44
furyi assume this is because of the autorev?21:44
furyand ERROR: ntouch-mediaplayer-1.0+gitAUTOINC+83f3ad0152-r0 do_package_write_rpm: Taskhash mismatch 61eba4fe25802973f27d4ba9e71ec019 versus 8e75979dc4c013644ef1b8b157a5235c for /home/build/workspace_agl_ntouch_halibut/meta-radiosound/recipes-demo-hmi/ntouch-mediaplayer/ntouch-mediaplayer_git.bb.do_package_write_rpm21:45
furythat's my one-single-app for my custom image btw, so that was the recipe that was suddenly failing21:46
furybasically right now just takes the mediaplayer service and plugs my UI into it (hope i'll have it polished off enough in time for AGL AMM in march :D)21:46
dl9pfif you uprev'ed with existing tmp folder this might happen, so make sure tmp/ and cache/ is removed when uprev'ing yocto21:47
furyi think i may have accidentally had some rocko and/or flounder related stuff in there as i was committing on the wrong branch this morning21:47
furyso sounds like it's time to delete21:47
dl9pfthat can be the case21:48
furybut tmp and cache is easy for this beast, it's the download i have struggles with21:48
furyglad i talked the boss into buying me this thing a few years back, 20 cores compiles so much faster than 4 :P21:49
*** bhuey has joined #automotive22:45
bhueyHi22:45
kooltuxHey bhuey - nice to meet you22:55
bhueyhi23:02
bhueyI didn't know there was a channel for AGL until a few days ago23:03
furyhooray! fresh blood :)23:20
furyalso, i've got my custom image booting up, mostly working...I can't get connmanctl to connect to wifi though23:21
furyAgent ReportError wifi_dca632078433_525349_managed_psk23:21
fury  connect-failed23:21
furyAgent request cancelled by ConnMan23:21
furyError /net/connman/service/wifi_dca632078433_525349_managed_psk: Operation aborted23:21
furyso, first i su agl-driver (i assume everything needs to run as driver?) then connmanctl then agent on and connect wifi_dc<tab>etc...23:22
furyenter the passphrase, it sits there for a few seconds and then that error23:22
furytried as root as well, and tried putting the autoconnect config into /var/lib/connman/settings23:26
*** embden__ has quit IRC23:54

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!