Monday, 2022-01-10

T42<rodrisola> thaodan: my branch of the kernel is 4.14...05:47
T42<rodrisola> but your sony kernel is 4.1605:48
T42<rodrisola> then your kernel driver for loop.c not found.05:49
T42<rodrisola> your sony kernel branch is 4.1905:53
T42<rodrisola> @elros34, mal: i have error in the droid-hal-init06:35
T42<rodrisola> https://irc.thaodan.de/.imgstore/f65bd144/dmesg_actual.log06:35
T42<AntonlX> It seems you getting binder errors. CONFIG_BINDERFS enabled in kernel config? (re @rodrisola: )10:11
T42<AntonlX> Binderfs not worked for me so I disable it.10:12
T42<AntonlX> What ls -la /dev/ out (re @rodrisola: )10:16
T42<AntonlX> What ls -la /dev/ out? (edited) (re @rodrisola: )10:16
piggzspiiroin: this is mostly for comment/ideas https://github.com/sailfishos/mce/pull/810:35
piggzid like the wakeup added, but the charget part might be fixable another way10:35
deathmistmal: is hybris-18.1 still in the same state (publicly) as about a month ago?13:24
maldeathmist: one bug left which causes boot issues on some if not all devices13:24
T42<elros34> @rodrisola so do you have /dev/binderfs/binder and /dev/binder symlink?15:19
T42<rodrisola> @elros34 / # ls -l dev/binder16:20
T42<rodrisola> lrwxrwxrwx    1 root     root            20 Nov  3 04:59 dev/binder -> /dev/binderfs/binder16:20
T42<rodrisola> / # cd dev/binderfs/16:20
T42<rodrisola> /dev/binderfs # ls16:20
T42<rodrisola> /dev/binderfs # ls16:20
T42<rodrisola> /dev/binderfs/binder not exist16:20
T42<rodrisola> but in my defconfig CONFIG_BINDERFS=y16:21
T42<rodrisola> any idea16:32
T42<rodrisola> Mmm ? (re @rodrisola: but in my defconfig ...)17:36
deathmist@rodrisola well clearly a binderfs filesystem isn't mounted on /dev/binderfs, "mount binderfs -t binderfs /dev/binderfs" should do the trick17:39
deathmistor maybe something else is wrong, no idea since I've never tried binderfs on downstream (in fact it doesn't even exist on 4.4 for me)17:42
T42<rodrisola> Is config_binders or CONFIG_ANDROID_BINDERFS17:46
deathmistwhy are you trying to use binderfs again? is this needed by 18.1?17:47
T42<rodrisola> Apparently yes, if you realize the log I uploaded ... I get binderfs error17:48
T42<rodrisola> This (re @rodrisola: )17:48
T42<rodrisola> Can you see it on the Irc server?17:49
deathmistI cannot see what you're referring to... telegram reply feature is completely useless on IRC17:49
T42<rodrisola> https://t.me/sailfishos_porters/13450917:50
deathmistalso I highly doubt you'd need binderfs to get 18.1 going17:50
deathmistplease upload logs to a paste service... no one wants to download files to look at your logs17:50
T42<rodrisola> Sure, but pastebin and hastebin, it tells me that it exceeds 512kb, which one do you recommend? For example, that dmesg is 1.8mb in size17:55
deathmistalso your link forces me to join the telegram, I cannot download the file from the browser...17:57
deathmistit's not like I could probably help with 18.1, I've yet to try it since as mal said there's apparently still one major bug18:01
mal@rodrisola do you have "%define android_version_major 11"18:04
malin droid-config spec18:04
malin the log you showed it seems it was starting some services which should have been disabled by default18:05
malif that line is missing from spec (do not add it to the end of the file but somewhere in the middle like this https://github.com/mlehtima/droid-config-fp3/blob/master/rpm/droid-config-fp3.spec#L18 note that you need 11 not 10)18:07
malif the line is missing it causes that /usr/libexec/droid-hybris/system/etc/init/disabled_services.rc is missing from the device18:08
T42<elros34> @rodrisola for really big logs you can use gist.github.com18:08
T42<rodrisola> mal: yes https://gitlab.com/sailfish-on-courbet/droid-config-courbet/-/blob/test2/rpm/droid-config-courbet.spec#L2118:40
malis the file I mentioned on the device?18:44
T42<Verevka86> https://github.com/SailfishOS-vayu/droid-config-halium/commit/b66fd235b3667e73bb767e3871b2e616b687965a18:52
T42<Verevka86> https://gitlab.com/ubports/core/rootfs-builder-debos/-/commit/436a26d466654605bd5b309b0e70d67b5d39d7a018:52
T42<Verevka86> so mounted binderfs in halium11-sailfishos (re @rodrisola: @elros34 / # ls -l d...)18:52
T42<Verevka86> Poco X3 Pro (halium11)18:53
T42<Verevka86> Forwarded from Verevka86:18:53
T42<Verevka86> Poco X3 Pro (halium11) work (edited)18:53
T42<elros34> @rodrisola init.rc should mount binderfs, try to do this manually to see whether and how it fails18:54
T42<elros34> hm maybe droid-hal commented it out like other mount commands, check init.rc19:01
T42<rodrisola> # Mount binderfs19:12
T42<rodrisola>     mkdir /dev/binderfs19:12
T42<rodrisola> # Removed during droid-hal-device build :     mount binder binder /dev/binderfs stats=global19:12
T42<rodrisola>     chmod 0755 /dev/binderfs19:12
T42<elros34> so you have the answer, I wonder how this should be handled. For test just bring this mount back to init.rc19:16
T42<rodrisola> Maybe I ride it in the early. And I still have problems19:33
T42<rodrisola> how to compile an specific revision of the droid media, add patch22:40
T42<rodrisola> i dont remember22:40
T42<rodrisola> i try with    --mw --revision=0.20210818.022:47
malwhat are you trying to do to it?22:57
malah, just different version22:57
T42<rodrisola> restart my local repository, but I don't remember how to build a different version, what is the command?23:03
T42<AntonlX> @rodrisola If you still getting binderfs error disable CONFIG_BINDERFS23:03
T42<AntonlX> Binderfs not mounting for me in sailfishos23:03
malI usually manually go to external/droidmedia folder and then run git reset --hard with suitable version, then build_packages.sh --gg23:04
malnote that there are two parts in droidmedia in 4.3.0, one is the devel package and then the normal package built using that --gg23:05
T42<elros34> @AntonlX it's not setup because it's commented out by droid-hal in /usr/libexec/droid-hybris/system/etc/init/init.rc23:06
malshouldn't there still be systemd mount services for those?23:07
T42<elros34> I guess but then why /dev/binderfs  was empty at least for @rodrisola23:09
T42<elros34> @rodrisola do you see binder mount unit generated in droid-hal-device.log23:17
T42<elros34> ?23:17
T42<rodrisola> I mount it before droid-hal-init starts, however I still have errors23:23
T42<elros34> I get it but still would be nice to know why it fails23:24
T42<rodrisola> mal: https://pastebin.com/s3Yt6MCG23:25
T42<rodrisola> @elros34  dmesg -w?23:28
T42<elros34> what?23:30
T42<rodrisola> https://pastebin.com/SgmgcrQR23:32
mal@rodrisola update dhd submodule in rpm/ folder23:32
malit seems you have built the droidmedia devel package when it was not needed23:33
malremove the droidmedia-devel rpm from droid-local-repo23:33

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!