T42 | <hacker12455> @elros34 these commits need to be reverted? | 07:42 |
---|---|---|
T42 | <hacker12455> https://github.com/ubports/porting-notes/wiki/Halium-9#qualcomm-devices-with-linux-kernel-318-panic-with-config_vt-enabled | 07:42 |
T42 | <hacker12455> so after reverting the commits above | 08:43 |
T42 | <hacker12455> [392080.441410] rndis_host 1-1.2:1.0 usb0: register 'rndis_host' at usb-3f980000.usb-1.2, RNDIS device, 3e:a7:88:97:45:9c | 08:43 |
T42 | <hacker12455> [392112.521672] usb 1-1.2: USB disconnect, device number 6 | 08:43 |
T42 | <hacker12455> [392112.521961] rndis_host 1-1.2:1.0 usb0: unregister 'rndis_host' usb-3f980000.usb-1.2, RNDIS device | 08:43 |
T42 | <hacker12455> the device is being seen but it's disconnecting | 08:43 |
T42 | <hacker12455> (Document) https://irc.thaodan.de/.imgstore/QhSwgPXytA.txt | 08:45 |
T42 | <hacker12455> https://bpa.st/PU3Q | 09:03 |
mal | that means it at least boots to sailfish but something is causes a it to disconnect or reboot | 10:04 |
T42 | <hacker12455> it disconnects | 10:10 |
T42 | <hacker12455> it does not reboot | 10:10 |
T42 | <hacker12455> keep in mind I only reverted that | 10:37 |
T42 | <hacker12455> tty: move tty_port workqueue to be a kthread | 10:37 |
T42 | <hacker12455> tty: add tty_port_set_policy function | 10:37 |
T42 | <hacker12455> msm_serial_hs: make the Bluetooth tty thread RT | 10:37 |
T42 | <elros34> that commit cause issue at very early boot. Now try to get journal | 10:51 |
T42 | <elros34> @hacker12455 You can enable persistent logging according to hadk-faq | 10:57 |
T42 | <hacker12455> (Document) https://irc.thaodan.de/.imgstore/dFgsItKt7t.bin | 11:45 |
T42 | <hacker12455> @elros34 | 12:00 |
T42 | the_cave_dweller was added by: the_cave_dweller | 12:19 |
T42 | <the_cave_dweller> Hello, I actually joined because I'm not really sure where to ask this, but I'm using the Vollaphone, and everything seems ok on Sailfish, except I can't get my usb dacs to work, does anyone here know how to configure the system to send the audio signal correctly?, it seems to work normally on android | 12:26 |
T42 | <HengYeDev> is it possible to port Sailfish to android11/lineage18 devices? | 13:31 |
piggz | @the_cave_dweller I do the volla port. Cant comment on USB DACs as i dont have one, but does the kernel detect it, and what does pulseaudio do? You could try pactl lsit cards etc, and you might need some custom routing? | 13:36 |
swanux | Still no luck with lipstick, but I found this in logcat: https://pastebin.ubuntu.com/p/wmXTgg6x4d/ Does it mean anything to you? | 14:46 |
T42 | <edp_17> @swanux : try to search for 'SurfaceFlinger' in TG. You'll get some old posts what may help? | 15:04 |
T42 | <hacker12455> did anyone see that before? | 15:13 |
T42 | <hacker12455> [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister rndis0 | 15:13 |
swanux | @edp_17 Well, I checked the channel history, and as @elros34 mentioned checked logcat for surfaceflinger, here it is: https://pastebin.ubuntu.com/p/Jg5RJ4bQnq/ | 15:15 |
T42 | <edp_17> @swanux : "cutils-trace: Error opening trace file: Permission denied (13)" Have you run it as user or root? | 15:16 |
T42 | <edp_17> Try as root. | 15:17 |
swanux | I ran it as root | 15:17 |
T42 | <edp_17> Okay. | 15:17 |
T42 | <edp_17> "HWComposer: getSupportedPerFrameMetadata: getSupportedPerFrameMetadata failed for display 0: Unsupported (8)" Maybe this is the issue?! | 15:18 |
swanux | Idk, elros recommended it to see if there are any display sizes there, but I don't see them there. As surfaceflinger itself works without any issues, I don't know if any errors from here could be relevant. | 15:21 |
T42 | <edp_17> Maybe this is not relevant but I found this: https://github.com/libhybris/libhybris/pull/441 | 15:22 |
T42 | <hacker12455> @elros34 did you check the journal file? | 17:07 |
T42 | <elros34> Did youtired to look also? A quick glance shows that your partitions are not mounted. Check wheter your fixup-mountpoints are correct and next time paste text log not binary journal file | 17:13 |
T42 | <hacker12455> my fixup-mountpoints is correct, compared to the output of /dev/block/bootdevice/by-name | 17:21 |
T42 | <hacker12455> not sure why it fails to mount system | 17:21 |
mal | can you show your device repo, the lineage repo | 17:22 |
T42 | <hacker12455> https://github.com/LineageOS/android_device_motorola_cedric/ | 17:24 |
T42 | <elros34> maybe it's not clear from hadk but you always use fstab and output of ls command from device to create mapping | 17:24 |
mal | https://github.com/LineageOS/android_device_motorola_msm8937-common/blob/lineage-17.1/rootdir/etc/fstab.qcom | 17:33 |
mal | you see there that those seem to have different paths | 17:33 |
T42 | <hacker12455> well if I run ls -l on that path I get the same partition number | 17:38 |
T42 | <hacker12455> lrwxrwxrwx 1 root root 21 1970-01-02 20:36 system -> /dev/block/mmcblk0p53 | 17:39 |
T42 | <hacker12455> from ls -l /dev/block/platform/soc/7824900.sdhci/by-name | 17:39 |
mal | show your fixup-mountpoint changes | 17:39 |
T42 | <hacker12455> https://bpa.st/7GFA | 17:39 |
mal | system and vendor lines are wrong | 17:40 |
mal | vendor is missing | 17:40 |
T42 | <hacker12455> how do I figure out what partition number I should use | 17:43 |
T42 | <hacker12455> if vendor is missing from by-name on the device | 17:43 |
T42 | <hacker12455> https://bpa.st/SCDA | 17:44 |
mal | and that is 17.1 base? | 17:48 |
T42 | <hacker12455> yes | 17:48 |
mal | anyway system is at least wrong | 17:48 |
mal | you can verify the issue by checking the system.mount file on device | 17:49 |
T42 | <hacker12455> well I have the journal telling me about it so I don't think it's necessary | 17:50 |
T42 | <hacker12455> should I ignore vendor for now? | 17:50 |
mal | yes | 17:51 |
mal | @hacker12455 I meant that if you check the system.mount you can see that fixup-mountpoints is not correct | 17:52 |
T42 | <hacker12455> so now rebuild hybris-boot? | 17:52 |
mal | did you fix fixup correctly? show the new version | 17:52 |
T42 | <hacker12455> https://bpa.st/QHDQ | 17:54 |
T42 | <hacker12455> just changed the system line | 17:57 |
mal | so now make hybris-hal and then repackage droid-hal rpms | 17:58 |
mal | maybe make hybris-boot could be enough, not sure | 17:58 |
T42 | <hacker12455> let me try hybris-boot firsy | 17:58 |
T42 | <hacker12455> *first | 17:58 |
T42 | <elros34> based on your second fstab, /vendor is your oem | 18:00 |
T42 | <hacker12455> alright | 18:00 |
mal | @hacker12455 if you really don't want to rebuild first you can just edit teh system.mount file on sfos rootfs | 18:08 |
mal | hybris-boot.img has nothing to do with system mounting | 18:08 |
T42 | <hacker12455> where is it located? | 18:09 |
mal | in /usr/lib/systemd/system/ | 18:11 |
T42 | <hacker12455> so here is something weird | 18:34 |
T42 | <hacker12455> (Photo, 1008x585) https://irc.thaodan.de/.imgstore/Hgid2VdhN2.png | 18:34 |
T42 | <hacker12455> it has the platform/soc path | 18:34 |
mal | @hacker12455 come on, what have been saying to you for a while now? you replace that with the real path | 18:35 |
T42 | <hacker12455> oh | 18:36 |
mal | the one you have in fixup | 18:36 |
mal | of course full real path | 18:36 |
T42 | <hacker12455> so /dev/block/mmcblk0p53 | 18:37 |
T42 | <hacker12455> instead of the by-name path | 18:38 |
mal | without the block/ | 18:38 |
mal | just /dev/mmcblk0p53 | 18:38 |
T42 | kiam001 was added by: kiam001 | 18:38 |
T42 | <hacker12455> we might as well change vendor too | 18:39 |
T42 | <hacker12455> hm should we touch vendor-fsg, vendor-firmware and vendor-dsp? | 18:44 |
mal | those should be ok, assuming your fixup was otherwise ok before | 18:44 |
T42 | <hacker12455> so now it bootloops | 18:54 |
T42 | <hacker12455> well | 18:57 |
T42 | <hacker12455> [ 6.326704,0] android_work: android_work: did not send uevent (1 1 0000000000000000) | 18:57 |
T42 | <hacker12455> [ 6.347217,0] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 | 18:57 |
T42 | <hacker12455> (Document) https://irc.thaodan.de/.imgstore/qjA46jYWrX.txt | 18:57 |
T42 | <kiam001> @hacker12455 dont use here txt files https://paste.ubuntu.com/p/8ppWFfsCDR/ | 19:08 |
T42 | <hacker12455> oops | 19:08 |
T42 | <hacker12455> thanks | 19:08 |
rinigus | mal: you mentioned two days ago that I have to update ohmd (tama/aosp10/aarch64 port). do you also happen to know which plugins would have to be updated? to get cellular data | 19:11 |
T42 | <elros34> @hacker12455 didn't you forget about usual env variable when building kernel? | 19:21 |
T42 | <hacker12455> let me build hybris-boot again | 19:22 |
T42 | <hacker12455> removing the kernel file before building should be enough to make it apply that variable? | 19:24 |
T42 | <hacker12455> from out/target/cedric | 19:25 |
T42 | <elros34> just make sure hybris-boot.img is really recreated | 19:30 |
T42 | <hacker12455> bootloops too | 19:39 |
T42 | <hacker12455> that's how the vendor and system units look | 19:43 |
T42 | <hacker12455> Fwd from kiam001: https://paste.ubuntu.com/p/Z2R44VJwQX/ | 19:43 |
T42 | <elros34> @hacker12455 create empty file in sfos rootfs /init_enter_debug2 | 19:46 |
mal | rinigus: libdres-ohm, ohm, ohm-plugins-misc | 19:46 |
rinigus | mal: thank you very much! | 19:47 |
T42 | <hacker12455> @elros34 that reboots too | 19:49 |
T42 | <elros34> then you mess up something else ,that /data/.stowaways/sailfishos/init_enter_debug2 should stop booting at /init-script | 19:51 |
T42 | <kiam001> this is the log https://paste.ubuntu.com/p/NnN3m6v94P/ | 19:54 |
rinigus | mal: have you had a chance to look into the comment regrading https://github.com/piggz/sailfish-fpd-community/pull/35 ? | 20:09 |
mal | rinigus: not yet | 20:43 |
mal | rinigus: I don't understand the error you mention there, the file should be created in the previous line | 20:57 |
T42 | <hacker12455> so if I get a different person to test the same image and rootfs but without the unit changes it does not bootloop, just stays at the logo | 21:25 |
T42 | <hacker12455> @elros34 | 21:25 |
mal | did the system mount fix help at all? | 21:27 |
T42 | <hacker12455> wait a bit | 21:34 |
T42 | <hacker12455> just want to have a test where only the system mount unit is changes | 21:35 |
T42 | <hacker12455> *changed | 21:35 |
T42 | <hacker12455> [Mount] | 21:35 |
T42 | <hacker12455> What=/dev/mmcblk0p53 | 21:35 |
T42 | <hacker12455> Where=/system | 21:35 |
T42 | <hacker12455> that's how it should look? | 21:35 |
mal | what other changes did you do? | 21:35 |
mal | yes | 21:35 |
T42 | <hacker12455> modified the vendor mount unit too | 21:35 |
mal | wait, you have 17.1? that needs some additional changes | 21:35 |
T42 | <hacker12455> yea | 21:35 |
T42 | <hacker12455> what changes? | 21:35 |
T42 | <hacker12455> specifically aarch64 17.1 | 21:36 |
mal | first thing, you see two symlinks somewhere under /etc/selinux/ | 21:36 |
mal | replace the symlinks with the actual target file | 21:36 |
T42 | <elros34> @hacker12455 that is impossible unless you didn't create that file which stops booting | 21:37 |
T42 | <hacker12455> well when only the system unit was changed it boots | 21:38 |
mal | what do you mean boots? | 21:39 |
mal | how far? | 21:39 |
T42 | <hacker12455> to the same state we had previously | 21:39 |
T42 | <hacker12455> stays on oem logo | 21:39 |
T42 | <hacker12455> usb still disconnects | 21:39 |
T42 | <hacker12455> well | 21:42 |
T42 | <hacker12455> in /etc/selinux we only have one file | 21:42 |
T42 | <hacker12455> Fwd from joelmaxuel: Only a file in selinux, called config. Content: | 21:43 |
T42 | <hacker12455> Fwd from joelmaxuel: SELINUX=disabled | 21:43 |
T42 | <hacker12455> selinux is enabled in the kernel | 21:44 |
T42 | <hacker12455> CONFIG_SECURITY_SELINUX=y | 21:44 |
T42 | <hacker12455> CONFIG_DEFAULT_SECURITY_SELINUX=y | 21:44 |
T42 | <hacker12455> # CONFIG_DEFAULT_SECURITY_DAC is not set | 21:44 |
T42 | <hacker12455> CONFIG_DEFAULT_SECURITY="selinux" | 21:44 |
mal | hmm, ok so you are missing other things also | 21:45 |
mal | I have selinux enabled on my device | 21:45 |
mal | it's a bit too late today already to explain everything that needs to be done | 21:46 |
T42 | campbellsteven was added by: campbellsteven | 23:16 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!