T42_ | <Tailsthefoz> the network isn't being configured correctly | 00:00 |
---|---|---|
T42_ | <Tailsthefoz> https://pastebin.com/zcrJX1Sr ok so it's only working somewhat | 00:06 |
T42_ | <Tailsthefoz> ok you know, I'm gonna do a port to my pixel 3 XL first, and if I can get that working, I'll try again on the pixel 6 | 01:22 |
T42_ | <GreyfusG> Let me know! (re @Tailsthefoz: ok you know, I'm gon...) | 01:23 |
T42_ | <Tailsthefoz> nevermind! the USB-C on my pixel 3 is broken! (re @Tailsthefoz: ok you know, I'm gon...) | 02:02 |
T42_ | <NotKit> try setting the IP manually on host to 10.15.19.100 and see if you can ping 10.15.19.82 (re @Tailsthefoz: the network isn't be...) | 10:16 |
T42_ | <Tailsthefoz> I tried that and I couldn't (re @NotKit: try setting the IP m...) | 13:59 |
T42_ | <Tailsthefoz> yeah just tried again and I still can't | 14:50 |
T42_ | <Tailsthefoz> ``` | 15:45 |
T42_ | <Tailsthefoz> Jun 01 15:41:27 PhoneX23 mce[1450]: mce-hybris.c: mce_hy | 15:45 |
T42_ | <Tailsthefoz> bris_lookup_function(): mce_hybris_framebuffer_init: failed to lookup: /usr/lib6 | 15:45 |
T42_ | <Tailsthefoz> 4/mce/modules/hybris.so: undefined symbol: mce_hybris_framebuffer_init``` | 15:45 |
T42_ | <NotKit> check /var/log/usb_info.log (re @Tailsthefoz: yeah just tried agai...) | 15:47 |
T42_ | <Tailsthefoz> alright | 15:47 |
T42_ | <Tailsthefoz> @NotKit real quick, what user is this running as? ``` | 15:49 |
T42_ | <Tailsthefoz> Jun 01 15:41:27 PhoneX23 mce[1450]: mce-io.c: mce_write_ | 15:49 |
T42_ | <Tailsthefoz> number_string_to_file(): brightness: can't flush /sys/class/backlight/panel0-bac | 15:49 |
T42_ | <Tailsthefoz> klight/brightness: Operation not permitted``` | 15:49 |
T42_ | <Tailsthefoz> I need to add udev rules for it | 15:49 |
T42_ | <Tailsthefoz> in the droidian udev rules the user running the backlight stuff is `droidian` but it's obviously not the same in sailfish | 15:50 |
T42_ | <Tailsthefoz> I'll just go with `system` for now | 15:52 |
T42_ | <Tailsthefoz> checking now (re @NotKit: check /var/log/usb_i...) | 15:52 |
T42_ | <Tailsthefoz> ``` | 15:52 |
T42_ | <Tailsthefoz> GNU/Linux Device on usb0 10.15.19.82``` | 15:52 |
T42_ | <Tailsthefoz> that's what it says | 15:52 |
T42_ | <Tailsthefoz> (note that I switched out droidian's usb-tethering script for ubports' becuse I knew that one also worked) | 15:53 |
T42_ | <Tailsthefoz> if I look in journalctl it says: ``` | 15:56 |
T42_ | <Tailsthefoz> Jun 01 15:41:30 PhoneX23 systemd[1]: hybris-usb.usb-teth | 15:56 |
T42_ | <Tailsthefoz> ering.service: Main process exited, code=exited, status=127/n/a | 15:56 |
T42_ | <Tailsthefoz> Jun 01 15:41:30 PhoneX23 systemd[1]: hybris-usb.usb-teth | 15:56 |
T42_ | <Tailsthefoz> ering.service: Failed with result 'exit-code'. | 15:56 |
T42_ | <Tailsthefoz> Jun 01 15:41:30 PhoneX23 systemd[1]: Failed to start USB | 15:56 |
T42_ | <Tailsthefoz> Tethering.``` | 15:56 |
T42_ | <Tailsthefoz> ``` | 15:56 |
T42_ | <Tailsthefoz> Jun 01 15:41:30 PhoneX23 bash[5796]: /usr/bin/usb-tethering: line 126: /usr/sbin | 15:56 |
T42_ | <Tailsthefoz> /dhcpd: not found``` | 15:56 |
T42_ | <Tailsthefoz> this is the only error I see related to usb-tethering | 15:56 |
T42_ | <Tailsthefoz> ah I see why | 15:57 |
T42_ | <Tailsthefoz> it's called udhcpd | 15:57 |
T42_ | <Tailsthefoz> I assume it's the same thing? | 15:57 |
T42_ | <Tailsthefoz> it doesn't seem to think it failed ``` | 16:01 |
T42_ | <Tailsthefoz> [81515.082305] usb 1-1: SerialNumber: GNU/Linux Device on usb0 10.15.19.82``` | 16:01 |
T42_ | <Tailsthefoz> still can't ping it though | 16:02 |
T42_ | <NotKit> try also masking connman as it sets up a firewall that may block packets | 16:03 |
T42_ | <Tailsthefoz> oh alright | 16:03 |
T42_ | <NotKit> not the same, but DHCP server failing is not fatal if you set the IP manually on the other side (re @Tailsthefoz: I assume it's the sa...) | 16:03 |
T42_ | <Tailsthefoz> ah alright | 16:04 |
T42_ | <Tailsthefoz> anything else I should try? (re @NotKit: try also masking con...) | 16:05 |
T42_ | <NotKit> can't think of something else yet | 16:07 |
T42_ | <Tailsthefoz> hold on I might've found the issue | 16:07 |
T42_ | <Tailsthefoz> ``` | 16:07 |
T42_ | <Tailsthefoz> Jun 01 16:00:50 PhoneX23 bash[5940]: mkdir: can't create directory '/sys/kernel/ | 16:07 |
T42_ | <Tailsthefoz> config/usb_gadget/g1/functions/rndis_bam.rndis': No such file or directory | 16:07 |
T42_ | <Tailsthefoz> Jun 01 16:00:50 PhoneX23 bash[5940]: mkdir: can't create directory '/sys/kernel/ | 16:07 |
T42_ | <Tailsthefoz> config/usb_gadget/g1/configs/c.1': Device or resource busy | 16:07 |
T42_ | <Tailsthefoz> Jun 01 16:00:50 PhoneX23 bash[5940]: mkdir: can't create directory '/sys/kernel/ | 16:07 |
T42_ | <Tailsthefoz> config/usb_gadget/g1/configs/c.1/strings/0x409': No such file or directory | 16:07 |
T42_ | <Tailsthefoz> Jun 01 16:00:50 PhoneX23 bash[5940]: /usr/bin/usb-tethering: line 24: can't crea | 16:07 |
T42_ | <Tailsthefoz> te /sys/kernel/config/usb_gadget/g1/configs/c.1/strings/0x409/configuration: non | 16:07 |
T42_ | <Tailsthefoz> existent directory | 16:07 |
T42_ | <Tailsthefoz> Jun 01 16:00:50 PhoneX23 bash[5940]: ln: /sys/kernel/config/usb_gadget/g1/config | 16:07 |
T42_ | <Tailsthefoz> s/c.1: Operation not permitted | 16:07 |
T42_ | <Tailsthefoz> Jun 01 16:00:50 PhoneX23 bash[5940]: ln: /sys/kernel/config/usb_gadget/g1/config | 16:07 |
T42_ | <Tailsthefoz> s/c.1: Operation not permitted``` | 16:07 |
T42_ | <NotKit> (check whether it is connman or connmand) | 16:07 |
T42_ | <NotKit> this should be ok if you get the network adapter on host | 16:08 |
T42_ | <NotKit> this should be ok if you get the network adapter detected on host (edited) | 16:08 |
T42_ | <Tailsthefoz> ah alright | 16:08 |
T42_ | <Tailsthefoz> I also looked in connman journals, it doesn't seem to be blocking anything, but I don't know if it logs blocks | 16:08 |
T42_ | <Tailsthefoz> could this be an issue (probably not but) ``` | 16:09 |
T42_ | <Tailsthefoz> Jun 01 15:41:29 PhoneX23 bash[5796]: mount: /sys/kernel/config: none already mou | 16:09 |
T42_ | <Tailsthefoz> nted on /sys/fs/bpf. | 16:09 |
T42_ | <Tailsthefoz> Jun 01 15:41:29 PhoneX23 bash[5796]: dmesg(1) may have more information a | 16:09 |
T42_ | <Tailsthefoz> fter failed mount system call.``` | 16:09 |
T42_ | <NotKit> unrelated | 16:09 |
T42_ | <Tailsthefoz> alright | 16:09 |
T42_ | <Tailsthefoz> ok rebooting now after masking connman | 16:11 |
T42_ | <Tailsthefoz> hoping for the best | 16:11 |
T42_ | <Tailsthefoz> ayyy it worked | 16:12 |
T42_ | <Tailsthefoz> ``` | 16:12 |
T42_ | <Tailsthefoz> 64 bytes from 10.15.19.82: icmp_seq=1 ttl=64 time=0.620 ms``` | 16:12 |
T42_ | <Tailsthefoz> now uh what's the username | 16:12 |
T42_ | <Tailsthefoz> oh wait SSH isn't running I think | 16:13 |
T42_ | <Tailsthefoz> yeah nmap says all ports are closed | 16:14 |
T42_ | <Tailsthefoz> lemme add to the usb-tethering service to also start sshd | 16:19 |
T42_ | <Tailsthefoz> this look right? ``` | 16:21 |
T42_ | <Tailsthefoz> ExecStart=/bin/bash /usr/bin/usb-tethering | 16:21 |
T42_ | <Tailsthefoz> ExecStartPost=/usr/sbin/sshd \ | 16:21 |
T42_ | <Tailsthefoz> -o PasswordAuthentication=yes \ | 16:21 |
T42_ | <Tailsthefoz> -o PermitEmptyPasswords=yes \ | 16:21 |
T42_ | <Tailsthefoz> -o PermitRootLogin=no \ | 16:21 |
T42_ | <Tailsthefoz> -o ListenAddress=10.15.19.82:8022``` | 16:21 |
T42_ | <Tailsthefoz> well rebooting and hoping it works! | 16:22 |
T42_ | <Tailsthefoz> unfortunately it appears to have caused the service to not start at all | 16:23 |
T42_ | <Tailsthefoz> ok ssh is running now | 16:31 |
T42_ | <Tailsthefoz> except I have no idea what the user is | 16:31 |
T42_ | <TheVancedGamer> defaultuser iirc | 16:31 |
T42_ | <TheVancedGamer> thats the username | 16:31 |
T42_ | <Tailsthefoz> what about the password lol | 16:32 |
T42_ | <TheVancedGamer> pretty sure there isn't one by default | 16:33 |
T42_ | <Tailsthefoz> oh damn it ok time to make a password | 16:33 |
T42_ | <Tailsthefoz> I'll just give root a password | 16:34 |
T42_ | <Tailsthefoz> no I'll just make a user | 16:36 |
T42_ | <Tailsthefoz> yeah because defaultuser nor nemo exist | 16:37 |
T42_ | <Tailsthefoz> the password I set for any user doesn't let me in | 17:16 |
T42_ | <Tailsthefoz> just says permission denied | 17:16 |
T42_ | <Tailsthefoz> I don't think it's starting it like this because it's on port 22 not 8022 (re @Tailsthefoz: this look right? Exe...) | 17:17 |
T42_ | <Tailsthefoz> I should look at ssh logs and see why it's denying me maybe | 17:18 |
T42_ | <NotKit> you can also enable normal Sailfish SSH | 17:18 |
T42_ | <NotKit> and set root password | 17:18 |
T42_ | <Tailsthefoz> I did set root password | 17:18 |
T42_ | <NotKit> you can also enable normal Sailfish SSH service (edited) | 17:18 |
T42_ | <Tailsthefoz> it doesn't let me in with what is running | 17:18 |
T42_ | <Tailsthefoz> ``` | 17:22 |
T42_ | <Tailsthefoz> Jun 01 17:13:45 PhoneX23 sshd[8179]: Failed password for root from 10.15.19.100 | 17:22 |
T42_ | <Tailsthefoz> port 41670 ssh2``` | 17:22 |
T42_ | <Tailsthefoz> let me disable PAM authentication | 17:27 |
T42_ | <Tailsthefoz> It might be because PAM is running yet | 17:27 |
T42_ | <Tailsthefoz> ok I modified the sshd config alot to not use PAM and to allow root login | 17:30 |
T42_ | <Tailsthefoz> let's see if it works now | 17:30 |
T42_ | <Tailsthefoz> It still doesn't work | 17:32 |
T42_ | <Tailsthefoz> oh I see why, interactive ssh login is disabled in the config lol | 17:38 |
T42_ | <Tailsthefoz> ok I'm going to have to make a public key it literally won't let me in with passwords lol | 17:52 |
T42_ | <Tailsthefoz> I'm gonna try using ubports's conf because I know it works | 18:02 |
T42_ | <Tailsthefoz> now the battery is dead and it has to charge lol | 18:10 |
T42_ | <Tailsthefoz> funny thing though, the custom charging thing does show up | 18:10 |
T42_ | <Tailsthefoz> the colors are all wonky though | 18:10 |
T42_ | <Tailsthefoz> like the background is blue and the green in the battery icon is purple lol | 18:10 |
T42_ | <Tailsthefoz> ok I got further | 18:18 |
T42_ | <Tailsthefoz> ``` | 18:18 |
T42_ | <Tailsthefoz> ssh root@10.15.19.82 | 18:18 |
T42_ | <Tailsthefoz> root@10.15.19.82's password: | 18:18 |
T42_ | <Tailsthefoz> "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."``` | 18:18 |
T42_ | <Tailsthefoz> I guess I can't use PAM login, I have to redisable it lol | 18:19 |
T42_ | <Tailsthefoz> but it says password is wrong without PAM | 18:25 |
T42_ | <Tailsthefoz> guess I have to enable PAM, and make root a "privileged user" | 18:25 |
T42_ | <elros34> now I appreciate piece of cake usage of hybris-boot script from regular hadk porting way even more | 18:29 |
thbpe86 | hi, i would like to test sailfish on the xperia 10 v. ive seen on github that only camera and fingerprint reader arent working. are there any flashable images anywhere i can try it out with? | 18:50 |
T42_ | <elros34> there will be flashable image when jolla announce it | 18:56 |
T42_ | <elros34> for impatient devs there is instruction how to build image:) | 18:57 |
T42_ | <Tailsthefoz> How can a developer be impatient, especially a C/C++ one lol (re @elros34: for impatient devs t...) | 18:57 |
T42_ | <Tailsthefoz> the amount of patience C/C++ takes | 18:57 |
T42_ | <Tailsthefoz> (non-descriptive errors) | 18:58 |
thbpe86 | alright, thanks :) will do that | 18:59 |
T42_ | <Tailsthefoz> @NotKit after fiddling with PAM and sshd for like 2 hours, I'm finally in!! | 19:46 |
T42_ | <Tailsthefoz> ok so the issue appears to have something to do with MFC | 19:51 |
T42_ | <NotKit> check if the container is running | 20:17 |
T42_ | <NotKit> @Tailsthefoz then test_egl_configs as root and defaultuser | 20:17 |
T42_ | <NotKit> @Tailsthefoz then run test_egl_configs as root and defaultuser (edited) | 20:17 |
T42_ | <Tailsthefoz> can't atm, gotta charge the stupid thing | 20:18 |
T42_ | <Tailsthefoz> wait maybe not | 20:18 |
T42_ | <Tailsthefoz> well I removed all the volla X23 related packages | 20:19 |
T42_ | <Tailsthefoz> hopefully that doesn't break anything | 20:20 |
T42_ | <Tailsthefoz> I removed them because there was a lot of mediatek related things, and I figured that might be breaking something | 20:22 |
T42_ | <Tailsthefoz> (this broke booting, so I had to remake the rootfs, except only removing the things that I thought would be causing issues, like stuff in the halium overlay) (re @Tailsthefoz: well I removed all t...) | 22:23 |
T42_ | <Tailsthefoz> while I was at it, I also enabled mass storage in the usb tethering script, so it'll be easier to transfer files | 22:25 |
T42_ | <NotKit> sounds good, can you test if test_egl_config works? | 22:28 |
T42_ | <Tailsthefoz> Yeah, in a couple of minutes, just gotta reflash the userdata | 22:29 |
T42_ | <Tailsthefoz> ok I'm back in | 22:41 |
T42_ | <Tailsthefoz> ok LXC container is running | 22:41 |
T42_ | <Tailsthefoz> now doing test_egl_config | 22:41 |
T42_ | <Tailsthefoz> not found | 22:41 |
T42_ | <Tailsthefoz> do I have to enter the container? | 22:42 |
T42_ | <Tailsthefoz> no it's not found there either | 22:43 |
T42_ | <Tailsthefoz> @NotKit | 22:48 |
T42_ | <Tailsthefoz> ah the tests aren't installed | 23:06 |
T42_ | <Tailsthefoz> I need to install them | 23:06 |
T42_ | <Tailsthefoz> @NotKit https://pastebin.com/mvwc0QWa | 23:12 |
T42_ | <NotKit> library "libMEOW_data.so" not found | 23:15 |
T42_ | <NotKit> library "libGLES_mali.so" not found | 23:15 |
T42_ | <NotKit> library "libGLES_mtk.so" not found | 23:15 |
T42_ | <NotKit> library "libpq_cust.so" not found | 23:15 |
T42_ | <NotKit> ERROR: The DDK (built for 0x90030000 r0p1 status range [0..15]) is not compatible with this Mali GPU device, /dev/mali0 detected as 0x9202 r0p1 status 0. | 23:15 |
T42_ | <NotKit> do you have the vendor.img from X23? | 23:16 |
T42_ | <NotKit> check /var/lib/lxc/android folder | 23:16 |
T42_ | <Tailsthefoz> ohhhh maybe lol (re @NotKit: do you have the vend...) | 23:31 |
T42_ | <Tailsthefoz> yup | 23:31 |
T42_ | <Tailsthefoz> lmao | 23:31 |
T42_ | <Tailsthefoz> time to remove that and reboot | 23:32 |
T42_ | <Tailsthefoz> it did something | 23:33 |
T42_ | <Tailsthefoz> the backlight is changing | 23:34 |
T42_ | <Tailsthefoz> ok test_egl_configs succeeds now | 23:34 |
T42_ | <Tailsthefoz> wht should I try now | 23:34 |
T42_ | <Tailsthefoz> test_hwcomposer? @NotKit | 23:34 |
T42_ | <Tailsthefoz> well test_hwcomposer failed | 23:35 |
T42_ | <Tailsthefoz> ``` | 23:35 |
T42_ | <Tailsthefoz> WARNING: linker Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg (nil)) (ignoring) | 23:35 |
T42_ | <Tailsthefoz> terminating with uncaught exception of type NSt3__112system_errorE: thread::join failed: Invalid argument | 23:35 |
T42_ | <Tailsthefoz> Aborted``` | 23:35 |
T42_ | <Tailsthefoz> ``` | 23:37 |
T42_ | <Tailsthefoz> type=1701 audit(1694091933.968:101): auid=0 uid=0 gid=0 ses=1 subj=kernel pid=10039 comm="Binder:10039_2" exe="/usr/bin/test_hwcomposer" sig=6 res=1``` | 23:37 |
T42_ | <Tailsthefoz> this is the only thing that shows up in dmesg | 23:37 |
T42_ | <Tailsthefoz> strace shows alot of things | 23:38 |
T42_ | <Tailsthefoz> ``` | 23:39 |
T42_ | <Tailsthefoz> writev(4, [{iov_base="l/\0\0\0\365/", iov_len=7}, {iov_base="\0\365/4\313\371d#\212\3350", iov_len=11}, {iov_base="\3", iov_len=1}, {iov_base="hwcomposer\0", iov_len=11}, {iov_base="Start HWCService\0", iov_len=17}], 5) = 47 | 23:39 |
T42_ | <Tailsthefoz> ioctl(25, BINDER_WRITE_READ, 0x7fc3773b98) = 0 | 23:39 |
T42_ | <Tailsthefoz> ioctl(25, BINDER_WRITE_READ, 0x7fc3773d18) = 0 | 23:39 |
T42_ | <Tailsthefoz> ioctl(25, BINDER_WRITE_READ, 0x7fc3773bb8) = 0 | 23:39 |
T42_ | <Tailsthefoz> ioctl(25, BINDER_WRITE_READ, 0x7fc3773d38) = 0 | 23:39 |
T42_ | <Tailsthefoz> futex(0x7f951bb2c4, FUTEX_WAKE_PRIVATE, 2147483647) = 0 | 23:39 |
T42_ | <Tailsthefoz> write(2, "terminating with uncaught except"..., 105terminating with uncaught exception of type NSt3__112system_errorE: thread::join failed: Invalid argument) = 105``` | 23:39 |
T42_ | <Tailsthefoz> prolly the issue | 23:39 |
T42_ | <Tailsthefoz> oh wait it might be because I accidentally removed the gralloc overlay | 23:45 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!