libera/#maemo-leste/ Tuesday, 2022-04-26

Wizzupuvos: maybe rmmod the modem00:00
Wizzupthat turns it off I think00:00
uvosthe stock kernel dosent have the modem as a module00:11
uvos(the stock kernel dosent have any modules - except pvr)00:11
Wizzupright00:34
lelu0d7i opened an issue: https://github.com/maemo-leste/bugtracker/issues/616 (dm-crypt kernel modules are missing)10:45
lelMerlijnWajer assigned an issue: https://github.com/maemo-leste/bugtracker/issues/616 (dm-crypt kernel modules are missing)10:53
Wizzuphopefuly today I can get the honeycomb machines set up with jenkins :)11:40
Daanct12Wizzup, i have always wanted to own a honeycomb11:40
Daanct12those are really nice compiling machines11:40
Wizzupmeridion helped set some of them vms up11:42
WizzupDaanct12: I replaced the fan immediately though12:52
Wizzupthe noise...12:52
Daanct12that looks like a "delta" fan13:14
buZzso eh, datatethering through leste works well, right?13:45
buZzi just ordered a simcard with data finally, should have it in 2-3 days13:45
buZzeh, through USB i guess is what i ment13:46
buZzbut i guess BT/wifi can work fine aswell, hmm13:47
buZz¯\_(ツ)_/¯13:47
buZzi'll find out in a while ;)13:47
buZzmaemo.org suggests the usb networking could be used for it, so, ok13:49
bencohbuZz: on fremantle I use usbnet and iptables (MASQUERADE)16:08
bencohit justworks(tm)16:08
buZz:) we'll see , havent had a datasim in ages, stuff is ~1 takeawayhamburger a month nowadays, silly cheap16:50
dreamerbuZz: you'll only have 2G anyway16:52
buZz:)16:53
dreameron the droid4 that is16:53
buZzoh, yeah indeed16:53
dreamerenough for bit of IRC16:53
buZzor i would have to hookup a usb modem or something16:53
buZzhmhm16:53
dreamerat least the N900 had 2.5G :#16:53
WizzupI have 3g here in .nl16:55
Wizzupon the d416:55
WizzupbuZz: yes it works16:56
WizzupbuZz: I can share some scripts for wifi hotspot or usb, depending on your preference16:56
Wizzupdreamer: you should have 3g for a while longer depending on the operator16:56
buZzWizzup: 3g in .nl? :O this is youfone/kpn16:56
siceloI also have 3G (i believe what shows up as 3.5G on hildon status)16:57
dreamerWizzup: kpn/simyo said they stopped _now_16:57
dreamerI pretty much anyway16:57
dreameror may 1st? not sure16:57
siceloA16:57
Wizzupdreamer: still works for me17:01
WizzupbuZz: tmobile is 3g17:01
buZzVanaf 31 maart zetten we het 3G-netwerk stap voor stap uit. We upgraden onze zendmasten naar 4G en 5G. Dit doen we voorzichtig en precies. Vanaf eind april is er op veel plekken dus geen 3G meer. Controleer daarom zo snel mogelijk of je klaar bent voor 4G of 5G.17:02
buZz2G is fine for me though17:03
uvosdreamer: the d4 also supports 2.5g (edge)17:18
uvosdreamer: but at least in germany they are removeing edge too17:18
uvosleaving just plain GPRS17:18
uvosedge is honestly sortof tolerable17:20
uvosgprs really is not17:20
dreameruvos: ah. yeah here also. there will only be plain 2G or 4G and soon 5G17:27
dreamer2.5G was actually not too bad back in the day17:27
Wizzupit's tmobile keeping it for a while longer?17:29
Wizzupisn't*17:29
uvosno not in germany it been gone since 06.21 or so17:31
Wizzupyeah, but kpn and tmobile said one would deprecate 2g and the other 3g or so I think17:32
uvosok thats neat17:34
uvoshere all providers whent 2g 4g 5g only at more or less the same time17:34
dreamerWizzup: 2G can't be deprecated. it's running all of emergency services comms17:42
tmlinduvos: you can shut down the moden via sysfs on 3.0.8 kernel, let me look at my notes17:47
tmlinduvos: hmm i guess i don't have notes on it, but see /sys/class/radio, and drivers/misc/radio_ctrl/radio_class.c in the 3.0.8 kernel sources18:00
uvostmlind: ok ill check it out18:00
uvostmlind: i gues also sysfs isent mounted in kexecboot (when the gui runs)18:01
uvostmlind: thanks18:01
tmlinduvos: oh found a note for echo shutdown > /sys/class/radio/mdm6600/command18:01
uvosgreat! :)18:02
uvosis one of the ttyUSB* the at interface btw?18:03
tmlindnot sure, maybe18:04
tmlindwhat's the special sim you have if it manages to stop booting? :)18:04
uvosjust a new german o2 sim, i have 2 actually (for the same nummber)18:06
uvosthey both cause the kernel to hang on kexec18:07
uvosolder o2 sims work fine18:07
uvosthese dont have umts entries18:07
uvosthe older ones do18:08
uvosthat may or may not be related18:08
uvosalso dosent matter if its safestrap or kexecboot doing the kexec (as you would expect)18:09
uvosif you erase utags the device boots fine with the sim18:09
tmlindweird18:11
tmlindmaybe the sim causes some kind of attempted update of utags?18:12
uvoswhy would they do that? i doubt18:13
uvosi think its just that the modem driver hangs on some operation.18:13
uvosdo driver remove functions get called on kexec?18:13
tmlindwhy would erasing utags help then?18:13
uvostmlind: it dosent kexec18:13
tmlindno, kexec just kexecs18:13
uvoswithout utags it just boot stock rom18:14
uvosso thats fine18:14
tmlindok18:14
uvosit also hangs if you try to kexec later18:14
uvoswith the sim in the device18:14
uvos(ie from android))18:14
tmlindweird18:14
tmlindbut the sim works fine if you insert it later after linux has booted?18:15
uvosyeah18:15
uvossame with los18:15
tmlindnot seeing why kexec would make a difference18:15
tmlindhave you diffed the stock kernel dmesg with the two different sims?18:16
uvosno but good idea18:16
uvosill do it later18:16
uvos(also check out if shuting down the modem before kexec helps)18:16
tmlindyeah ok18:17
buZzhttps://www.kpn.com/zakelijk/blog/-de-toekomst-van-iot-vraagt-om-meer-dan-2g.htm19:28
buZzaw > Nadat KPN Telfort had overgenomen is EDGE gedeactiveerd19:29
buZzOok KPN heeft inmiddels EDGE geactiveerd op haar netwerk, echter alleen op plekken waar 4G LTE apparatuur geplaatst wordt.19:32
uvostmlind: maybe we should remove the socid derived password in kexecboot, its pretty annoying to figure out what registers to read to generate this on devices that dont boot android20:42
uvostmlind: im not sure what threat model this protects against anyhow?20:42
uvostmlind: kexecboot dosent connect to the net is mounted ro and can be replaced by any local user via fastboot anyhow20:43
uvostmlind: interesting the 3.0.8 kernel acutally panics20:57
uvostmlind: http://uvos.xyz/maserati/kexecbootpanic.txt21:00
uvostmlind: looks like its the los kexec uart.ko module thats at fault21:00
uvosthat explains why stock boot is okay but kexecboot and safestrap are not21:01
uvosuart.ko dosent get loaded21:02
uvostmlind: echo shutdown > /sys/class/radio/mdm6600/command helps21:18
uvosbut21:18
uvosonly if i delay kexec for several seconds afer issueing the command21:18
uvosmy operating theory is that uart.ko panics if the modem is sending something on uart while kexec.ko is useing it21:19
uvoswaiting for the modem to finish shuting down avoids the problem21:20
uvosi also kinda think that the random kexec failures that all of us get are exactly this problem, just that this sim happens to change modem beahivor/timing to make it allways happen21:21
uvosok so i gues i could go and strip uart usage out of the kexec module21:21
uvosand just forget about uart.ko21:21
uvosgreat now i have to deal with building this mess again :(21:21

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