IRC log of #maemo for Thursday, 2020-05-07

*** eMHa__ has joined #maemo00:03
*** pagurus has joined #maemo00:14
*** troulouliou_div2 has joined #maemo00:18
*** GI_Jack has joined #maemo01:09
*** akossh has quit IRC01:39
*** nslu2-log_ has joined #maemo01:40
*** nslu2-log has quit IRC01:40
*** nslu2-log_ is now known as nslu2-log01:41
*** GI_Jack has quit IRC01:44
*** GI_Jack has joined #maemo01:44
*** florian has quit IRC01:55
*** k1r1t0 has joined #maemo02:18
*** Pali has quit IRC02:27
*** LauRoman has joined #maemo02:28
*** doppler has quit IRC02:40
*** doppler has joined #maemo02:43
*** LauRoman has quit IRC02:44
*** Oksana has joined #maemo02:56
DocScrutinizer05k1r1t0: you flash rootfs and kernel, then you may install new kernels via apt02:56
infobot1 packet transmitted, 1 packet received, 0.0% packet loss02:57
DocScrutinizer05~listvalues rescue02:58
infobotFactoid search of 'rescue' by value (19 of 30): yard ;; rescue disks ;; oldtest nimshi ;; #maemo bootloop ;; cd1 ;; li ;; supercow ;; cmd: deus ex machina (.*?) ;; ;; cmd: stth (.*?) ;; airmid ;; flimsy's mama ;; hobo danger woman ;; zip 23424 ;; pdart ;; install cdrom ;; rescue disk ;; inittab ;; syslinux.02:58
DocScrutinizer05~listvalues rescuefs02:58
infobotFactoid search of 'rescuefs' by value returned no results.02:58
DocScrutinizer05~listkeys *rescue*02:59
infobotFactoid search of '*rescue*' by key (9): rescueos ;; rescue-os ;; superrescue ;; rescuecd ;; reiserfs-rescue-disk ;; rescue disk ;; cmd: rescue (.*?) ;; rescue disks ;; htcrescue.02:59
k1r1t0I,am clear installed stock firmware and CSSU Thumb203:01
DocScrutinizer05CSSU Thumb ruined a lot of your options regarding recovery and kernel03:01
infobotrumour has it, cssu-thumb is <Doc_Scrutinizer05> [thumb2 microb] indeed seems to render like mad, subjectively, or, or
k1r1t0I,am read thread TMO03:07
k1r1t0Thumb2 modifed kernel, not install u-boot03:09
DocScrutinizer05in short when you fscked up a CSSU-thumb, your only way out is to flash standard OS then install CSSU-thumb again. You prolly can't flash a matching kernel03:09
infobotN900 uBoot is a siamese twin binary [uBoot+stockMaemoKernel] that resides in kernel NAND partition /dev/mtd3 aka "kernel". You can't uninstall it, rather you'll nuke it when you flash/install another kernel like stock maemo kernel or powerkernel. To start other than stock maemo kernel via uBoot, you have to provide the according kernel image files, or
DocScrutinizer05to rescue your data and root partition, you may try rescuefs03:11
infobotrescueos is probably
DocScrutinizer05well, you *may* succeed to extract the kernel image for flasher-3.5.exe ... --flash-only = kernel from the .deb package of powerkernel03:15
DocScrutinizer05given you know which jernel is the one used in u-boot. WAIT, you got thumb and u-boot? That's even more convoluted, I can't recall how exactly this is supposed to work. Chainload of powerkernel from u-boot siameste twin kernel?03:18
DocScrutinizer05where's pali when you need him?03:18
DocScrutinizer05anyway when you had thumb, you ran powerkernel and you need the matching modules in rootfs. When you boot any other kernel (even a different version of powerkernel) then you will get a bootloop from kernel panic since the modules make kernel barf up03:21
DocScrutinizer05that's why restoring or flashing a rootfs renders your system fubar when you installed thumb, iirc03:23
DocScrutinizer05likewise flashing a kernel will need flashing of rootfs for getting matching modules03:23
DocScrutinizer05when you did a >>flasher-3.5.exe -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin --flash-only = kernel -f<< then your system will not come up since you previously installed powerkernel modules in rootfs03:26
*** troulouliou_div2 has quit IRC03:26
sicelowith a thumb + u-boot system, you need to have KP somewhere (there's an install file for that, kernel-img iirc), and have a uboot entry for KP -> Thumb03:30
DocScrutinizer05and how do you recover from a flasher-3.5.exe -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin --flash-only = kernel -f  ?03:35
DocScrutinizer05prolly by reflashing only, right?03:36
infoboti heard rescueos is
infobotsomebody said #maemo lazyflashing was
siceloyou could just reflash KP image03:38
sicelothis will let you boot your CSSU+Thumb, and then fix your u-boot03:39
DocScrutinizer05yeah, that was what I suspected might be possible, but you need the (right version) KP image03:39
siceloKP53 should be fine03:43
DocScrutinizer05and you could extract and flash --kernel-only that kernel.img ?03:44
siceloyes. there's actually a ready bootimg. let me see if i can find it03:44
DocScrutinizer05k1r1t0: ^^^03:46
k1r1t0Thanks, i,am flash all image and cssu thumb203:48
DocScrutinizer05k1r1t0: wait, what exactly do you want to do now? flash whole device (and lose your rootfs) or flash kernel-only?03:50
sicelok1r1t0: if you use uboot with a Thumb system, then you MUST setup bootmenu properly to start Maemo Fremantle with the correct kernel03:50
*** sunshavi has quit IRC04:03
DocScrutinizer05aaaaah I seem to recall there was a "Do *NOT* reboot the system after installing uboot before you also installed the kernel", or sth like that04:18
DocScrutinizer05then, what for would you use uboot in this config, if you don't have a optional system "elsewhere" non-rootfs04:22
* DocScrutinizer05 re-reads >>I flashed u-boot and lost my normal state. Then I flashed the kernel from Nokia, but the device does not start<< carefully04:23
DocScrutinizer05prolly the "simple" answer is: get the CSSU-thumb kernel image04:26
*** KindOne has quit IRC04:28
*** KindOne has joined #maemo04:28
*** GI_Jack has quit IRC04:35
DocScrutinizer05nevermind, I'm wrecked today/now from watching TV news all day long of politicians explaining "COVID crisis terminated, COVID management phase two starting"04:35
DocScrutinizer05in when untaring you'll find data.tar.gz which you untar to find /boot/zImage-
DocScrutinizer05which in turn should fit for flasher-3.5 -F zImage- --flash-only = kernel -f  ; I hope04:42
DocScrutinizer05if it doesn't, check fiascogen to package that file in a way so it meets flasher's taste04:43
*** KindOne has quit IRC04:49
DocScrutinizer05Flash kernel and reboot:04:50
DocScrutinizer05$ 0xFFFF -m kernel:<file> -f -r04:50
*** KindOne has joined #maemo04:55
*** sunshavi has joined #maemo05:03
*** pagurus has quit IRC06:41
*** tm has quit IRC06:53
*** strohalm has quit IRC06:54
*** tm has joined #maemo06:57
*** DocScrutinizer05 has quit IRC07:04
*** DocScrutinizer05 has joined #maemo07:04
*** LauRoman has joined #maemo07:07
*** Oksana has quit IRC08:24
*** Oksana has joined #maemo08:25
*** ketas- is now known as ketas09:02
*** Pali has joined #maemo09:46
*** kirito has joined #maemo09:49
*** LauRoman has quit IRC09:57
*** eMHa has joined #maemo10:50
*** eMHa__ has quit IRC10:50
*** tobypus has quit IRC10:56
*** timeless has quit IRC10:56
*** frals has quit IRC10:56
*** tobypus has joined #maemo11:01
*** timeless has joined #maemo11:01
*** frals has joined #maemo11:01
*** jskarvad has joined #maemo11:16
*** norayr has quit IRC11:17
*** norayr has joined #maemo11:18
*** florian has joined #maemo11:22
sixwheeledbeastOne reason of keeping thumb as a separate flavour is due to this issue IIRC11:36
siceloseparate flavpur, meaning?11:38
infobotsicelo meant: separate flavour, meaning?11:39
sixwheeledbeastCSSU "flavour"11:42
sixwheeledbeastkeeping Testing, separate11:42
kiritoCSSU-Thumb is based on CSSU-Testing flavor, but uses a very low level patch to kernel to overcome the bugs in OMAP chip related to thumb/ARM mixed code. Thus the binaries from CSSU-Thumb will not work in a "normal system", and several things like uBoot or flashing --flash-only=kernel stop working the way they used to, and you need to take special11:47
kiritocare regarding the changed behaviour of those.11:47
sicelokirito: your system is fine now?11:49
kiritoYes, I haven’t been able to restore my rootfs image. Installed a clean system, but without u-boot. I used u-boot to run the OS on a flash drive
sicelowhat was your system before u-boot? was it Thumb?12:05
kiritou-boot can be used without a PC, using the sudo ./0xFFFF -m test / u-boot-2013.04-2.bin -l command. The l attribute only loads into RAM without flashing to memory.12:06
kiritosicelo Yes12:07
siceloyes @u-boot ...that's basically how it gets installed in the first place :-p12:08
siceloanyway, so you need to restorr your rootfs, or not really?12:08
kiritoI already set everything up again12:09
siceloby the way ... that u-boot command you wrote above ... you might as well load the kernel you want to use, not u-boot12:12
siceloalso, N900 is notorious for weak USB port, so if you'll need to be loading other kernels frequently, you should lo at seting up u-boot properly12:14
*** eMHa has quit IRC12:14
kiritoAs I understand it, there is no Thumb2 kernel under U-Boot12:16
sicelothere is12:19
siceloi linked to it about 10 hours ago12:20
sicelowhich kernel do you have installed? please show your output for `dpkg -l kernel-* | grep ^ii`  (pastebin)12:28
k1r1t0home/user/0xFFFF # dpkg -l kernel-* | grep ^ii                                No packages found matching kernel-RX-51:2204_2.6.28-20103103+0m5.12:31
siceloMmm, that's your only output?12:34
KotCzarnywhy not just dpkg -l|grep kernel12:34
k1r1t0/home/user/0xFFFF # dpkg -l | grep kernel12:35
sicelolists too many other things, e.g. libdrm2 :-)12:35
k1r1t0ii  kernel-cssu                                         1:2.6.28-10cssu3                          Flashable Linux kernel (kernel cssu
k1r1t0ii  kernel-cssu-flasher                                 1:2.6.28-10cssu3                          Linux kernel updater (kernel cssu
k1r1t0ii  kernel-cssu-modules                                 1:2.6.28-10cssu3                          Linux kernel modules (kernel cssu
k1r1t0rc  kernel-modules                                      2.6.28-20103103+0m5                       Linux kernel modules12:35
k1r1t0ii  libdrm2                                             2.3.1-3                                   Userspace interface to kernel DRM services -12:35
k1r1t0ii  module-init-tools                                   3.4-1maemo5+0m5                           tools for managing Linux kernel modules12:35
KotCzarnysicelo: but at least gets some output ;)12:36
sicelothis works too (at least it works on mine)12:36
KotCzarnymight be shell matched some kernel-* files in current dir12:37
KotCzarnythat's why it should be 'kernel-*'12:37
sicelok1r1t0: right. install kernel-cssu-bootimg12:37
*** strohalm has joined #maemo12:38
*** strohalm has joined #maemo12:38
kiritoCan I do without u-boot and use bootmenu?12:38
sicelokirito: there is nothing wrong with u-boot :-)12:39
siceloif you plan on playing with Leste and other OSes, u-boot is your best option. we'll help you set it up12:41
sicelo(fwiw, i have u-boot + thumb here on my n900)12:41
siceloto answer your question directly, no you can't use bootmenu one ... well it's not going to be useful.12:42
infobotsicelo meant: to answer your question directly, no you can't use bootmenu alone ... well it's not going to be useful.12:43
kiritoYou understand that there are three options for CSSU: stable and testable + SSU / Thumb community which is fundamentally different12:43
siceloi understand, yes.12:43
kiritook, what is the procedure?12:44
siceloinstall kernel-cssu-bootimg12:45
sicelothen, u-boot and u-boot-tools. after this, be sure to not reboot your system12:49
kirito apt-get install u-boot-flasher kernel-cssu-bootimg ln -s /etc/bootmenu.d/20-Maemo5-kernel-cssu- /etc/default/bootmenu.item u-boot-update-bootmenu12:51
*** eMHa has joined #maemo12:53
sicelosorry i'm on a bad connection here, but yes, you then need exactly that ln command12:54
siceloafter update-bootmenu, it should be safe to reboot and confirm u-boot loads correct kernel for CSSU THumb.12:58
sicelolet us know how it goes12:58
*** kirito has quit IRC13:06
*** kirito has joined #maemo13:09
kiritoNokia-N900:~#  apt-get install kernel-cssu-bootimgReading package lists... DoneBuilding dependency treeReading state information... DoneRecommended packages:  multiboot kernel-power-settings usbip iptables kexec-toolsThe following NEW packages will be installed:  kernel-cssu-bootimg0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.Need13:20
kiritoto get 1937kB of archives.After this operation, 2015kB of additional disk space will be used.Get:1 fremantle/free kernel-cssu-bootimg 1:2.6.28-10cssu3 [1937kB]Fetched 1937kB in 5s (350kB/s)Selecting previously deselected package kernel-cssu-bootimg.(Reading database ... 24995 files and directories currently13:20
kiritoinstalled.)Unpacking kernel-cssu-bootimg (from .../kernel-cssu-bootimg_1%3a2.6.28-10cssu3_armel.deb) ...Setting up kernel-cssu-bootimg (1:2.6.28-10cssu3) ...13:20
kiritoNokia-N900:~#  apt-get install u-boot-flasherReading package lists... DoneBuilding dependency treeReading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of13:21
kiritoIncoming.The following information may help to resolve the situation:The following packages have unmet dependencies:  u-boot-flasher: Depends: kernel-modules (= 2.6.28-20103103+0m5)E: Broken packages13:21
siceloplease use a pastebin for pasting logs13:25
siceloit would seem you are missing a core repository catalog13:27
kirito ?13:29
siceloyou should have one of the Nokia repository mirrors in the Application Manager13:29
infobotwell, mirror is  or - for fighting hashsum error, or see ~rmo-new13:29
siceloi use the muarf mirror13:30
infoboti guess maemo-repos is
KotCzarnymight come handy13:30
kiritouse maemo.muarf.org13:31
siceloAh, that one is better thanks KotCzarny13:32
k1r1t0/home/user # apt-get update13:36
k1r1t0Hit fremantle Release.gpg13:36
k1r1t0Ign Hit ./ Packages13:36
k1r1t0Fetched 6013B in 7s (761B/s)13:36
k1r1t0Reading package lists... Done13:36
k1r1t0W: GPG error: ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 134924954613:37
k1r1t0W: GPG error: ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 134924954613:37
k1r1t0W: You may want to run apt-get update to correct these problems13:37
KotCzarnyyou can ignore warnings about expired keys13:38
kiritoAfter installing kernel-cssu-bootimg, I can’t reboot the device, right?13:39
siceloyou can ... but after onstalling uboot, dont13:43
sicelo(even if you did, there's a way to recover ... but no need to put ourselves tgrough pain) :-)13:44
sicelosorry for typos ... terrible network + android vkb13:44
kiritono problems13:45
kiritoI understand that u-boot is not installed because it cannot find the correct kernel version?13:47
siceloNow you have the correct repos i believe? so you can install uboot again13:52
kiritoI did not change repo, it was configured earlier13:53
kiritou-boot-tools is installed13:53
kiritou-boot-flasher Depends: kernel-modules (= 2.6.28-20103103+0m5)E: Broken packages13:54
sicelolet's see your repo list.13:57
sicelocat /etc/apt/sources.list.d/hildon-application-manager.list13:58
sicelopleaae post to a pastebin13:58
k1r1t0/home/user # cat /etc/apt/sources.list.d/hildon-application-manager.list13:59
k1r1t0deb fremantle free non-free13:59
k1r1t0deb fremantle-1.3 free non-free13:59
k1r1t0deb fremantle/sdk free non-free13:59
k1r1t0deb fremantle/tools free non-free13:59
k1r1t0deb fremantle free non-free13:59
k1r1t0deb fremantle free non-free13:59
*** k1r1t0 has quit IRC13:59
*** kirito has quit IRC13:59
buZzRIP :(14:02
MaxdamantusMalicious website alert.14:03
siceloPoor guy ... still not back14:26
*** k1r1t0 has joined #maemo14:50
k1r1t0Freenode is banned my14:52
KotCzarnywe told you to use pastebin14:52
KotCzarnyand not to paste directly to irc14:52 for example14:52
*** k1r1t0 has quit IRC15:03
buZzhe'll figure it out and be back eventually15:06
*** Vajb has quit IRC15:52
*** Vajb has joined #maemo15:53
*** spiiroin has quit IRC16:03
*** spiiroin has joined #maemo16:16
*** Maxdamantus has quit IRC16:22
*** Maxdamantus has joined #maemo16:24
*** Cor-Ai has quit IRC16:28
*** Cor-Ai has joined #maemo16:28
*** spiiroin has quit IRC16:33
*** kirito has joined #maemo16:36
*** k1r1t0 has joined #maemo16:37
kiritoNokia-N900:~# cat /etc/apt/sources.list.d/hildon-application-manager.listdeb fremantle free non-freedeb fremantle-1.3 free non-freedeb fremantle/sdk free non-freedeb fremantle/tools free non-freedeb16:42
kirito fremantle free non-freedeb fremantle free non-freedeb  ./deb  ./deb16:42
kirito fremantle non-freedeb maemo fremantledeb fremantle  free non-freedeb fremantle free non-free16:42
KotCzarnyuse the pastebin.com16:42
KotCzarnyor freenode will ban you again16:42
kiritoShow an example16:44
KotCzarnyopen in browser: https://pastebin.com16:44
KotCzarnypaste the text there, then copy the resulting link and paste here (only link)16:44
*** spiiroin has joined #maemo16:46
KotCzarny(for pastebinning, i dont remember repos list)16:47
sicelokirito: strange. you have the right repos. you're sure you've apt-get updated?16:58
sicelo$ apt-cache showpkg kernel-modules16:59
sicelo2.6.28-20103103+0m5 (/var/lib/apt/lists/ (/var/lib/dpkg/status)16:59
sicelothis is what mine shows16:59
siceloinstall them, apt-get install kernel-modules17:04
kiritoit seems this is not Thumb2 modules17:06
KotCzarnyif i were you, i would start with freshly flashed device without adding any custom repos17:07
siceloyou have a really weird install :-)17:07
KotCzarnythen installed cssu flavour, then added back things you want17:07
kiritoThumb2Thumb2 is another instruction set, which has most of the power and speed of ARM ISA, but its instructions could be 2 bytes in length instead of 4 bytes.According to some research that can be found on internet, using Thumb2 ISA leads to reduction of code size in 30-40% without sacrificing much of the performance (some 2-5% performance17:08
sicelo(and yes  they aren't Thumb modules ... you already have those installed)17:08
siceloare you even really on Thumb?17:10
sicelowhat's in Settings > General  About Community SSU17:11
siceloyou're not on thumb thrn17:12
sicelomine has +thumb0 at the end17:13
sicelomaybe keep testing ...17:13
*** Vajb has quit IRC17:14
kiritoHow to remove kernel-cssu-bootimg ?17:15
*** KindTwo has joined #maemo17:17
siceloapt-get remove17:17
sicelothat just provides you a kernel suitable for uboot ... doesn't do anything else to the system, so it's safebto keep/delete17:17
*** KindOne has quit IRC17:17
*** Vajb has joined #maemo17:21
*** k1r1t0 has left #maemo17:23
*** k1r1t0 has joined #maemo17:27
kiritosicelo show df -h17:41
*** Maxdamantus has quit IRC17:42
*** Maxdamantus has joined #maemo17:44
*** k1r1t0 has quit IRC18:01
*** k1r1t0 has joined #maemo18:02
*** kirito has quit IRC18:17
*** k1r1t0 has quit IRC18:17
*** thp has joined #maemo18:26
*** xmn has joined #maemo18:32
*** xmn has left #maemo18:32
*** auenf has quit IRC18:48
*** auenf has joined #maemo18:48
*** k1r1t0 has joined #maemo19:01
*** sunshavi has quit IRC19:05
*** kirito has joined #maemo19:05
*** sunshavi has joined #maemo19:09
*** Vajb has quit IRC19:13
*** Vajb has joined #maemo19:13
*** eMHa has quit IRC19:15
*** Vajb has quit IRC19:17
*** troulouliou_div2 has joined #maemo19:19
*** Vajb has joined #maemo19:36
*** eMHa has joined #maemo19:38
*** florian has quit IRC19:41
*** troulouliou_div2 has quit IRC19:46
*** troulouliou_div2 has joined #maemo19:59
*** thuttu77 has quit IRC20:56
*** Natch has quit IRC21:21
*** LauRoman has joined #maemo21:24
*** thuttu77 has joined #maemo21:47
*** infobot has quit IRC21:48
*** pagurus has joined #maemo21:58
*** infobot has joined #maemo22:00
*** ChanServ sets mode: +v infobot22:00
*** KindTwo is now known as KindOne22:19
*** akossh has joined #maemo22:25
*** Natch has joined #maemo22:52
*** kirito has quit IRC23:02
*** infobot has quit IRC23:05
*** drrty has joined #maemo23:06
*** infobot has joined #maemo23:10
*** ChanServ sets mode: +v infobot23:10
*** LauRoman has quit IRC23:13

Generated by 2.15.1 by Marius Gedminas - find it at!