libera/#maemo-leste/ Saturday, 2023-01-07

dsc_Wizzup: kindly add a repo for https://github.com/google/ruy06:46
dsc_as -extras06:47
Wizzupdsc_: will do11:15
Wizzupfreemangordon: I think qtwebengine build took down the jenkins web server hehe11:28
Wizzupand I gave it 16GB of ram11:28
Wizzupfreemangordon: maybe we need to run it with one thread11:35
WizzupI guess it's all "ninja" now so just making it use one thread is hard11:52
Wizzupeven dpkg-buildpackage -b -uc -j1 doesn't work11:52
WizzupI'm moving the phoenix/leste .maemo.org back to an ssd11:57
Wizzupdowntime ~1hr11:57
freemangordonWizzup: can't you add swap?12:11
Wizzupfreemangordon: I'd rather have it not use 6-8 cores12:11
freemangordonENOMEM usually happens on linking, where the number of cores does not matter12:14
freemangordonbut ok12:14
Wizzupfreemangordon: hmm, I think that is not true, it can still be building other parts12:14
Wizzupwhile linking some other component12:14
freemangordonok12:15
Wizzupin any case --no-parallel doesn't seem to work for dh and dh_auto_build12:15
Wizzupneither does -j112:15
Wizzupbut there's more to do, somehow the CI thinks that qtwebengine need not be built for arm12:15
WizzupI'll double check if I didn't forget to push my potential fix12:16
freemangordonDEB_BUILD_OPTIONS="parallel=1"?12:16
Wizzupnope, think I pushed myt fix12:16
Wizzuphttps://github.com/maemo-leste-upstream-forks/qtwebengine/commit/668f864182b70469bbb819cade63207d9b44a43812:17
Wizzupthis didn't help it seems12:17
Wizzupalso please check if you agree with version format in debian/changelog12:17
Wizzupfreemangordon: ^^12:26
norayryesterday d4 again started heating up, and now it was kcompacd which was taking 99% of cpu. no programs were running, only empty hildon.12:39
norayrbut i believe such things were common even before chimaera.12:40
Wizzupalways check kernel messages when this happens12:41
Wizzupdmesg12:41
freemangordonWizzup: I think you should have left it 5.15.2+dfsg-313:15
freemangordonautobuilder will add +Nm713:16
Wizzupfreemangordon: does that make it 'newer' or 'higher'?13:17
Wizzupif that is the case, then that's fine, but we should still make dfsg-4 in any case imo13:17
freemangordonit makes it 'higher'13:17
freemangordonno, it is debian that will eventually push dfsg-413:17
freemangordonso, we either keep 5.15.2+dfsg-3 or make it 5.15.2+dfsg-3-maemo113:18
freemangordonsorry, 5.15.2+dfsg-3-leste113:18
freemangordon5.15.2+maemo-1 is not really true, as we base on top of debian 5.15.2+dfsg-313:19
freemangordonnot that important though13:19
freemangordonah, it is already built13:20
freemangordonleave it as it is13:20
Wizzupfreemangordon: nothing is built13:21
freemangordonoh "ABORTED"13:21
freemangordon:)13:21
Wizzupyes, it refused to build anything for armhf and arm6413:21
Wizzupstill refuses13:21
WizzupI'm waiting for it to build on my vm first, test if it works at all13:21
freemangordonok13:21
freemangordonwtym 'refuses'?13:22
freemangordonUI is still down?13:22
Wizzupfreemangordon: yes, another 30 mins or so13:25
freemangordonok13:25
Wizzupfreemangordon: well the jenkins debian glue decides there is nothing to build13:25
Wizzupsomething based on grep Architecture:.*any on debian/control13:25
Wizzuphence my commit above, but it didn't seem to have worked13:25
Wizzupfreemangordon: it's back13:50
Wizzupfreemangordon: https://phoenix.maemo.org/job/qtwebengine-binaries/architecture=armhf,label=armhf/2/consoleText13:51
freemangordonis it possible that github was not 'ready'?13:52
freemangordonhappened once13:52
freemangordonwell, at least once13:53
freemangordonor maybe re-tag13:53
siceloWizzup: looks like n900 modem no longer causes insta-oops on v6.2-rc2 :-)13:54
sicelobut it's not possible to online it yet, and there are still dma errors in dmesg, https://paste.debian.net/1266414/13:57
Wizzupsicelo: ah, great news, that will help narrow it down14:14
Wizzupfreemangordon: I tried twice, I'll try to re-tag as well14:14
Wizzupfreemangordon: still failing https://phoenix.maemo.org/job/qtwebengine-binaries/architecture=armhf,label=armhf/3/console14:30
Wizzupfreemangordon: as far as I can tell, looking at /usr/bin/build-and-provide-package on phoenix, there is a mystery14:36
Wizzupit should find 'any' in the control file14:36
Wizzupbut doesn't14:36
Wizzup+ grep -q '^Architecture: all' qtwebengine-opensource-src-5.15.2+dfsg-3/debian/control14:37
Wizzup+ grep -q '^Architecture: .*any' qtwebengine-opensource-src-5.15.2+dfsg-3/debian/control14:37
Wizzup+ SKIP_ARCH_BUILD=true14:37
Wizzupthis clearly should be 0 and 0 as exit code, but then it sets this var, when it should not14:37
Wizzupfreemangordon: so apparently the control file is not what we expect https://phoenix.maemo.org/job/qtwebengine-binaries/architecture=armhf,label=armhf/4/console14:53
Wizzuplet me tag HEAD instead14:53
Wizzupok15:03
Wizzupit's going now15:03
WizzupI suppose we could extend htis:15:03
Wizzup        if grep -q '^Architecture: .*any' "$control_file" ; then15:03
Wizzupto also grep for ${architecture:-}15:03
Wizzupit looks like pipewire can already do ofono + bt btw, assuming the sound system/modem works17:10
freemangordonWizzup: yeah, something github17:53
Wizzupfreemangordon: no17:54
Wizzupfreemangordon: this is something with debian/source/format I think17:54
WizzupI *changed* to to a unique tag17:55
freemangordonah17:55
Wizzupand it still didn't take any changes to debian/control after the tag17:55
Wizzupwhich is normally does17:55
Wizzupwhich it*17:55
freemangordonok17:55
Wizzupin any case17:55
Wizzupfreemangordon: ok, with local build qtwebengine now starts on vm19:17
freemangordonyou mean qtwebbrowser I guess20:30
freemangordonWizzup: BTW, do we plan to support non-NEON arm  HW?20:30
Wizzupfreemangordon: not sure, why?20:32
Wizzupfreemangordon: yes I meant qtwebbrowser20:33
Wizzupsicelo: any stuff going on on the ML regarding this oops btw? maybe it's more easy to get help now20:38
siceloWizzup: yes, i will send it. do you think it's better to send it as a continuation of your previous thread, or a new one?20:56
Wizzupsicelo: maybe a new one?20:57
sicelook20:59
sicelohttps://marc.info/?l=linux-omap&m=163927204009431&w=2  "setting the dev->dma_mask in the driver is the right fix" ...21:04
siceloyou meant adding 'dma_set_mask_and_coherent(&ssi->device, DMA_BIT_MASK(32));' in the `ssi_start_dma(struct hsi_msg *msg, int lch)` function?21:05
Wizzupsicelo: who is this aimed at? me?21:08
Wizzupsicelo: god I totally forgot about this mail21:09
WizzupI don't even remember if I tried this fix or not21:09
sicelo:-D21:09
Wizzup:(21:10
Wizzuptoo much going on :)21:11
sicelothat says you did ... anyway, i'll post and see what kernel people have to say. maybe the output from 'ssi-protocol' will ring a bell to sre, if he'll have time21:11
Wizzupsicelo: reading my email I don't mention that I tested it21:12
siceloah, ok. i misread.21:13
Wizzupif it is helpful I can try to test tomorrow perhaps, although I'd prefer to do it based on our kernel tree somehow21:13
Wizzupour being the shared mapphone/n900 one21:13
sicelosure21:15
siceloalthough it didn't make a noticeable difference in my case, unless i made a mistake21:16
sicelohttps://paste.debian.net/1266447/ hope this is correct?21:16
Wizzupsicelo: I am not sure, I might not have tested it because I had to first figure out what the right mask was21:17
Wizzupprobably others know better than I do21:17
sicelothat came from Pavel, but then it also looks like he was only making an example :-)21:18
Wizzupmight make sense to cc him, he's usually quick in replies21:21
sicelowill do. so new email, and maybe i can refer/link to your previous one?21:22
Wizzupyeah :)21:25
Wizzupplease cc me if you can21:25
siceloof course :-)21:25
siceloi usually cc the ML mailing list, but it seems slow to show mails21:25
sicelocurrently certificate broken too21:28
siceloWizzup: yes you did try that dma_mask thingy ... i was wondering if i'm going crazy :p21:40
sicelohttps://marc.info/?l=linux-omap&m=163930832517778&w=221:40
WizzupHowever, looking at the omap3-n900.dts it looks to me that the ssi_pins21:40
Wizzupdefinition suggests that it should use pio, rather than DMA.21:40
Wizzuphmm21:41
siceloanyway, let's see what new info we will get21:41
Wizzupmhm21:41
freemangordonWizzup: sicelo: yes, IIRC on n900 ssi shall use PIO22:02
Wizzupsicelo: so it looks like it to me that the whole dma path should not be taken22:06
freemangordon:nod:22:07
Wizzupand something changed I guess in dma code that makes it not hard error and suddenly the n900 tries to take dma path22:07
freemangordonWizzup: why is modest no installed by default (at least on VM)?22:09
Wizzupfreemangordon: is it not? let's add it if it's not in hildon-meta22:11
WizzupI think it should be fwiw22:11
Wizzupmaybe it wasn't ported yet in your vm image22:12
freemangordoncould be22:12
freemangordonmaemo-leste-1.0-amd64-2022121322:12
Wizzupquite likely I think22:12
freemangordonok22:12
Wizzuplet me verify22:12
freemangordonbut yeat, my VM is upgraded22:13
freemangordon*yet22:13
freemangordonand no modest22:13
WizzupI don't see it is in hildon-meta22:13
WizzupI'll add it then22:13
freemangordonmhm22:13
sicelowhat makes you guys say this should be PIO? not disagreeing - just trying to understand where it comes from (this stuff is higher than my pay grade, tbh)22:13
freemangordonsicelo: my memories back from the days I was plying with that22:13
freemangordon*playing22:13
freemangordonI remember we had discussions back then22:14
freemangordonargh22:14
freemangordonno /seen command here22:14
freemangordonanyway22:14
freemangordonalso, IIRC fremantle kernel does PIO22:14
Wizzupsicelo: maybe you can force nerf the dma path just as a test22:14
freemangordonso DMA was never tested22:14
siceloi see22:16
freemangordonsicelo: BTW, for reference, please check if the last working upstream kernel does DMA or PIO22:18
Wizzupyeah that was also where I was at at the time22:18
siceloyes, in fact i'm considering to compile 5.7, which i know worked fine22:19
sicelohow will i tell if it's dma or pio btw?22:19
siceloprintks in each of the functions? or there's easier/better way?22:19
freemangordonsec22:19
freemangordonhmm, not sure why22:22
freemangordonmaybe put printks in ssi_start_transfer22:23
freemangordonssi_start_dma/ssi_start_pio22:23
sicelommm, seems gcc (or something else) not happy with kernel 5.722:42
sicelohttps://paste.debian.net/1266455/22:43
Wizzupsicelo: sorry no idea, how an older gcc you can CC= ?22:46
siceloi have ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-22:47
sicelogcc version 12.2.0 (Debian 12.2.0-13)22:47
sicelommm, debian specific problem seemingly, https://groups.google.com/g/linux.debian.bugs.dist/c/2AWbk5Dxy5422:49
WizzupI guess you can use this then: https://lore.kernel.org/linux-arm-kernel/20211018140735.3714254-1-arnd@kernel.org/22:49
siceloyes, i'm applying that already :-)22:50
WizzupI'm finally getting somewhere with the news post btw22:50
Wizzupprobably tomorrow it will be done22:50
sicelocompilation in progress, finally22:51
sicelogreat @post22:51
Wizzupsicelo: sweet, let's see if it works, if it does use pio, a quick hack would be to change ssi_start_transfer to have it always call ssi_start_pio23:05
sicelommm, bootloader (or something else) doesn't like my kernel. i get big green letters shortly after kernel log starts scrolling past: "Malfunction - device shutdown in 10 s"23:09
Wizzup:/23:09
sicelomaybe low battery. even maemo won't boot now. i hope device is not bork23:11
sicelowill see after charging for a bit23:13
Wizzupbtw, it would be kinda cute if we perhaps made some page that shows the latest built packages23:28
Wizzupfreemangordon: wow qtwebbrowser feels much more snappy with the 3d backend I think23:30
Wizzupfeels like it anyway23:30
siceloi really wonder what's up with that 'malfunction' ... anyway, building 6.2 again, with dma path commented out in ssi_start_transfer23:45
Wizzupsicelo: let's see23:46

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