**** BEGIN LOGGING AT Sun Jan 23 02:59:56 2022 Jan 23 09:35:07 Herrie: late answer, but yes, it's fine :) Jan 23 09:36:12 Tofe: OK I put some there now. I need to see if I can find others because I don't seem to have all Jan 23 09:54:12 I have none :/ Jan 23 10:00:55 Tofe: Well I have some locally Jan 23 10:12:42 Herrie: actually, I have that: https://paste2.org/0gXps3Ue Jan 23 10:13:09 might not be very up-to-date though Jan 23 10:14:21 I'll upload hammerhead and rosy, if we have better we'll replace it Jan 23 10:14:29 Great Jan 23 10:14:53 Well for Hammerhead I have halium-luneos-9.0-20210506-3-hammerhead.tar.bz2 Jan 23 10:15:07 ah yes, I just looked at tags Jan 23 10:15:15 So Rosy would be good Jan 23 10:15:34 no, yours is also better for rosy Jan 23 10:16:29 acutally I don't have anything better than what is already uploaded Jan 23 10:17:22 for the tenderloin fix I'll probably try to fix it in the kernel with a pointer test Jan 23 10:21:38 the last log we have is there: https://github.com/Herrie82/android_kernel_htc_msm8960-1/blob/halium-9.0/drivers/media/video/msm/msm_v4l2.c#L85 so it's probably one the pointers just after that Jan 23 10:22:20 I suspect g_pmsm_v4l2_dev , for instance if init of msm_v4l2 has failed Jan 23 10:23:03 but it could be g_pmsm_v4l2_dev->drv too Jan 23 10:42:52 Tofe: I saw this in another LOS kernel for msm8960(t): https://github.com/LineageOS/android_kernel_sony_msm8960t/commit/5b973cd4b90b0ef32a04346acd6142f2ad744c54 Jan 23 10:48:46 yes, the msm code is quite a mess from this point of view, it almost never tests its pointers Jan 23 10:52:18 But seems that's for other files though, this particular file is not in that tree it seems Jan 23 10:54:36 right Jan 23 11:18:24 Seems this sourcefile is quite obscure and originates in some 2.6.x kernel Jan 23 11:19:31 I don't think we ever got the TP camera to work anyway Jan 23 11:24:21 there is still a crash in gstreamer :( Jan 23 11:24:39 Herrie: do you have the debug packages for gstreamer ? Jan 23 11:25:02 gstreamer1.0-dbg I think Jan 23 11:25:10 I should have let me see Jan 23 11:26:17 Do you need any of the plugins as well? Jan 23 11:26:27 Herrie: I don't think so Jan 23 11:27:24 I can upload all gstreamer files, it are 400 or so, but only 30MB Jan 23 11:27:31 So if you need more you have them right away Jan 23 11:27:33 as you wish Jan 23 11:29:19 Not sure about my availability for the rest of the day, so it's better to press the button Jan 23 11:29:38 All in the gstreamer folder Jan 23 11:29:44 already copying Jan 23 11:32:00 ok, crash at ../gstreamer-1.18.5/gst/gstregistrychunks.c:536 Jan 23 11:32:07 let's see Jan 23 11:33:24 mmh nothing special here... Jan 23 11:35:16 some incorrect pointer I'd say Jan 23 11:43:48 /media/internal is read-only ? Jan 23 11:44:04 the mount, I mean Jan 23 11:44:51 there is a /media/internal/.cache folder, which seems to be a bit corrupted, and gstreamer fails to read/use it Jan 23 11:46:23 Well it should be writable media/internal Jan 23 11:46:38 ah, fsck has detected errors Jan 23 11:46:44 . cache should be hidden folder but not corrupt in any way I'd say Jan 23 11:46:47 and it's mounted with errors=remount-ro Jan 23 11:46:51 so maybe that's it Jan 23 11:47:06 I think it has the thumbnails and stuff in it Jan 23 11:47:52 ok fsck done, I'm rebooting to see if that helps Jan 23 11:48:20 I've not cleaned up the gstreamer cache yet though, but the file was corrupted Jan 23 11:50:19 Weird it worked OK before but could be gstreamer update somehow Jan 23 11:51:05 I mean 3 or 4 TP's getting corrupt at the same time is not likely Jan 23 11:51:47 ok, that helped Jan 23 11:52:22 I propose we clean up /media/internal/.cache when reinstalling luneos on TP Jan 23 11:52:35 makes sense anyway Jan 23 11:52:56 now, wifi... Jan 23 11:53:57 my patch in kernel was useful though [ 215.005126] msm_v4l2: msm_v4l2_open pointer NULL ! Jan 23 11:53:57 It may have prevented further corruption Jan 23 11:57:14 Tofe: Well it's shared with legacy webos I think Jan 23 11:57:26 So cleaning it up might not be the best idea Jan 23 11:57:37 ah, ok, a bit unfortunate Jan 23 11:57:43 we should provide another path Jan 23 11:58:03 /media/internal doesn't make much sense anyway Jan 23 11:58:25 ath6kl: Failed to get board file ath6k/AR6003/hw2.1.1/bdata.bin (-2), trying to find default board file. Jan 23 11:58:34 missing firmware file I guess Jan 23 12:00:51 ls -l /lib/firmware/ath6k/AR6003/hw2.1.1 does show bdata.SD31.bin though Jan 23 12:02:53 Maybe a symlink will do? Jan 23 12:03:22 well it does search for both: Jan 23 12:03:22 [ 84.181610] ath6kl: Failed to get board file ath6k/AR6003/hw2.1.1/bdata.bin (-2), trying to find default board file. Jan 23 12:03:22 [ 145.141326] ath6kl: Failed to get default board file ath6k/AR6003/hw2.1.1/bdata.SD31.bin: -2 Jan 23 12:07:19 Could be timing issue with the mount? Jan 23 12:07:32 Ie it gets only mounted afterwards? Jan 23 12:09:19 I don't think so, as it's already a module, and /lib is in rootfs, i.e. available whenever the module .ko is also available Jan 23 12:10:42 however, unloading the module and reloading it makes it work, so... there's that Jan 23 12:13:24 let me tweak /lib/systemd/system/tenderloin-ath6kl-module.service a bit, to wait for the basics Jan 23 12:19:33 I'm trying a After=systemd-udev-settle.service Jan 23 12:21:17 for gstreamer we should tweak XDG_CACHE_HOME I think Jan 23 12:26:19 ah, we have HOME=/media/internal for luna-next Jan 23 12:26:41 that's probably unwise Jan 23 16:26:25 Herrie: ok I've now fixed wifi too (had to recharge TP a bit) Jan 23 16:26:39 I'll propose a PR Jan 23 16:35:00 ok I think I didn't forget anything here Jan 23 16:41:23 One other thing is that systemd-udev-settle.service (which is now deprecated, by the way) is causing the boot to be very slow. Disabling it seems harmless on tenderloin, and avoids waiting ~30s for nothing Jan 23 16:42:02 Not sure how to disable it in Yocto though: JaMa, do you know maybe? Jan 23 16:45:47 Tofe: OK nice it's fixed Jan 23 16:46:31 yes, we didn't test TP for several months, that's the payback :p Jan 23 20:00:06 Tofe: Could you upload your halium-luneos-9.0-20210219-1-rosy.tar.bz2 either to GitHub directly or to my FTP? Jan 23 20:02:30 Herrie: sure, I can upload it to GH, but didn't you upload a more recent one already ? Jan 23 20:03:14 ah no, I must have dreamt it :p Jan 23 20:05:58 Tofe: No, just had a draft, but didn't have that file Jan 23 20:06:13 I made drafts based on .bb files but then found out I was missing quite some Jan 23 20:06:58 done Jan 23 20:12:57 Thnx **** ENDING LOGGING AT Mon Jan 24 02:59:56 2022