IRC log for #maemo-ssu on 20130607

00:00.07*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
00:02.26*** join/#maemo-ssu Woody14619 (~Woody@2620:4:4000:11:cd64:4c2e:178d:a788)
00:02.28*** join/#maemo-ssu Woody14619 (~Woody@Maemo/community/contributor/Woody14619)
00:37.22*** join/#maemo-ssu Woody14619 (~Woody@2620:4:4000:11:cd64:4c2e:178d:a788)
00:37.22*** join/#maemo-ssu Woody14619 (~Woody@Maemo/community/contributor/Woody14619)
01:01.39*** join/#maemo-ssu oldtopman (~oldtopman@unaffiliated/oldtopman)
02:08.53*** join/#maemo-ssu Milhouse (~Milhouse@Maemo/community/contributor/Milhouse)
02:24.53*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@120.85.133.180)
02:54.26*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
03:04.45*** join/#maemo-ssu futpib (~futpib@89.106.197.76)
05:06.33*** join/#maemo-ssu Woody14619 (~Woody@2620:4:4000:11:cd64:4c2e:178d:a788)
05:06.33*** join/#maemo-ssu Woody14619 (~Woody@Maemo/community/contributor/Woody14619)
06:03.29*** join/#maemo-ssu Woody14619 (~Woody@2620:4:4000:11:cd64:4c2e:178d:a788)
06:03.31*** join/#maemo-ssu Woody14619 (~Woody@Maemo/community/contributor/Woody14619)
06:20.29*** join/#maemo-ssu Woody14619 (~Woody@2620:4:4000:11:cd64:4c2e:178d:a788)
06:20.32*** join/#maemo-ssu Woody14619 (~Woody@Maemo/community/contributor/Woody14619)
06:24.38*** join/#maemo-ssu LauRoman (~LauRoman@5-14-91-235.residential.rdsnet.ro)
06:52.09*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
06:52.48*** join/#maemo-ssu PeterParker (543c862a@gateway/web/freenode/ip.84.60.134.42)
06:54.10*** join/#maemo-ssu Woody14619 (~Woody@2620:4:4000:11:cd64:4c2e:178d:a788)
06:54.10*** join/#maemo-ssu Woody14619 (~Woody@Maemo/community/contributor/Woody14619)
07:01.54PeterParkerjust tried to update to cssu.. now n900 is not starting up anymore :( switch on ->white screen with NOKIA Logo -> stays 10-15 sec -> phone switches itself  off .. any advice?
07:17.28*** join/#maemo-ssu wmarone__ (~wmarone@c-67-174-151-253.hsd1.ca.comcast.net)
07:44.23*** join/#maemo-ssu kolp (~quassel@212.255.18.101)
08:00.48*** join/#maemo-ssu andre__ (~andre@ip-62-24-76-119.net.upcbroadband.cz)
08:00.48*** join/#maemo-ssu andre__ (~andre@wikimedia/aklapper)
08:10.18*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@120.85.133.180)
08:10.34*** join/#maemo-ssu peterparker (543e6261@gateway/web/freenode/ip.84.62.98.97)
08:11.25*** join/#maemo-ssu peterpark_ (543e6261@gateway/web/freenode/ip.84.62.98.97)
08:16.19*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@120.85.133.180)
08:17.44*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
08:28.07keriorestore your backup?
08:28.49keriowas there something particularly nonstandard in your configuration?
08:32.44merlin1991Pali: http://talk.maemo.org/showthread.php?p=1350163#post1350163
08:33.28merlin1991peterpark_: we've updates system-services again (fstab generating script) did you have something like an ext3 parition?
08:33.44Palistring problem - right, modest-l10n was not updated
08:34.10merlin1991Pali: I'm more about the "Now when I press Send & receive account says Refreshing, but Last updated time doesn't refresh and there is no notification for new messages in other folders. " bit
08:34.13Palilast time update problem - hm, that worked fine in cssu-devel version
08:34.19Paliwill look at it
08:34.24merlin1991thanks
08:34.38keriowaaaaait, what
08:34.52keriomerlin1991: system services was pushed to the new T?
08:34.54Palimerlin1991: which git commit from modest is now in cssu-T?
08:34.55merlin1991yes
08:34.59keriogreat, i can't update now
08:35.08merlin1991kerio: why?
08:35.29keriodoesn't mount /home correctly, for me
08:35.43merlin1991Pali: I'm pretty sure it's 87fd24347463325b9e2dcb62b004971bec623ea7
08:35.43kerionot sure why, didn't have the time to diagnose it
08:36.04Paliok
08:36.05merlin1991heh is your home ext4 or something else fancy?
08:36.08kerioyep
08:36.16keriobut i blocked the fstab generation
08:36.21merlin1991ah well then system services fucks you up
08:36.26keriono it doesn't
08:36.31keriothe whole point is that it doesn't
08:36.45keriobut it still did :3
08:37.05merlin1991when you got it running though there is a setting now to either use fstab generation or not
08:37.27kerioi know, and iirc that part worked
08:37.58kerioi just didn't have the time to do the backup/boot/rescueos/autopsy/restore thing
08:41.29merlin1991freemangordon_: that one's for you: http://talk.maemo.org/showthread.php?p=1350148#post1350148
09:16.07*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
09:16.18tadzikwow, cssu-thumb already there? Cute
09:19.36*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
09:25.57*** join/#maemo-ssu wmarone_ (~wmarone@c-67-174-151-253.hsd1.ca.comcast.net)
09:32.47*** join/#maemo-ssu fw190 (~fw190@c75-67.icpnet.pl)
09:34.02fw190merlin1991: maybe this helps - for me T.8 also provided a nice reboot loop but only with stock kernel - when in U boot I pick up Power Kernel the system loads ok
09:35.02merlin1991weird
09:35.18merlin1991I tried the upgrade on a stock system, and DocScrutinizer05 did aswell
09:35.27merlin1991there we had no reboot loops or anything
09:35.41merlin1991do you have any fancy customisation of the boot process?
09:36.49fw190no - to dumb for that
09:36.54fw190just uboot
09:37.15*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
09:41.55*** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net)
10:11.10*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
10:13.12fw190Pali: I have accidentally removed the uninstal entry for Kernel Power. How to uninstall it without it or where from get that file ;)
10:20.00peterpark_merlin1991: No I have only a 16GB sd but thats all
10:22.40peterpark_should I fully reflash the phone, or is there some better approach?
10:23.01Palifw190: run: apt-get install --reinstall kernel kernel-modules kernel-flasher
10:23.03peterpark_eg I think there was a method to reinstall only bootpartition or something like this..
10:23.06freemangordonmerlin1991: re tklock - it is suposed to be that way
10:23.18merlin1991okay
10:23.20Palifw190: it will flash stock kernel back to n900 nand
10:23.54freemangordonmerlin1991: though maybe if Pali's portrait support is enabled it will behave differently
10:24.02Palifreemangordon: there is some gconf switch for portrait lock
10:24.25freemangordonmerlin1991: however this is non-standart
10:24.36freemangordonPali: hmm? for tklock?
10:24.42Paliyes
10:25.12Palibut you also need theme with potrait background
10:25.13freemangordonPali: I know, but it is not controlled by orientation lock
10:25.36freemangordonPali: http://talk.maemo.org/showpost.php?p=1350148&postcount=1185
10:25.40freemangordonthat one
10:26.09Palihm...
10:26.19freemangordonfw190: can you install syslog and boot into stock kernel
10:26.44fw190freemangordon: dumb questions time - how? from terminall?
10:27.32freemangordonfw190: not dumb at all:). yes, apt-get install syslogd. And you have to have sdk (or tools repo) enabled
10:27.59fw190uuuu are they in the HAM somewhere?
10:28.10freemangordonhttp://repository.maemo.org/#sdk_repositories
10:28.15freemangordonfw190: ^^^
10:28.19fw190ok I will add one
10:28.29freemangordonfw190: wait a second
10:28.36freemangordonto check which is the needed repo
10:29.46*** join/#maemo-ssu lizardo (lizardo@nat/indt/x-dqbytgllpfecygbm)
10:29.51freemangordonfw190: seems it is in tools repo
10:30.04freemangordonfw190: http://wiki.maemo.org/Documentation/devtools/maemo5#Installation
10:30.52freemangordonfw190: http://wiki.maemo.org/Documentation/devtools/maemo5/syslog
10:31.26fw190damn - I'm an idiot and thus I can not help - I did Palis command and have no more U boot and have a reboot loop ;) although it is a very nice reboot loop ;)
10:31.44freemangordonmerlin1991, Pali: any better/different idea how to find WTF cssu-t leads to reboot-loop
10:32.05freemangordonPali: can fw190 just flash u-boot?
10:32.27Paliyes, uboot has attached stock kernel
10:32.30freemangordon(I didn;t check what your command is in backscroll :) )
10:32.48freemangordonfw190: ^^^
10:33.05fw190ok I can flash it but my wifes XP PC has to start which will take some minutes
10:33.24freemangordonPali: wait, he has to boot KP to able to boot maemo. to install syslog first
10:34.02freemangordonfw190: which kernel does it boot? KP or stock?
10:34.03Palithen you need kernel-power-modules and kernel-power-bootimg for booting from uboot
10:34.22fw190damn - I did a lot of mess as I see it ;)
10:34.30freemangordonmerlin1991: is it possible that something is thumb-compiled?
10:34.38merlin1991I checked
10:34.45merlin1991before I uploaded everything
10:35.07freemangordonmerlin1991: as to me symptoms point to that.
10:35.37freemangordonif he is able to boot with KP and not with stack...
10:35.41freemangordon*stock
10:38.06freemangordonmerlin1991: though... both you and DocScrutinizer05 are on stock kernel,ain't?
10:38.11merlin1991yep
10:38.24freemangordonhmm, ok then, it is something else
10:38.27*** join/#maemo-ssu peterpark (543e6261@gateway/web/freenode/ip.84.62.98.97)
10:39.11freemangordonfw190: so, you are in a boot loop now, ain;t?
10:39.34fw190yes
10:39.38fw190windows is started
10:39.44freemangordonfw190: do you still have kernel-power modules installed?
10:39.47fw190ready to test if you still want
10:39.57fw190no clue ;)
10:40.12freemangordonfw190: if you can;t boot into maemo, you cannot install syslog :(
10:40.47freemangordonfw190: what did you doo actually?
10:40.51freemangordon*do
10:41.25fw190apt-get install --reinstall kernel kernel-modules kernel-flasher
10:41.45freemangordonand you can't boot now?
10:41.48fw190no
10:41.58freemangordonPali: ^^^ ?!?
10:42.11freemangordonooh
10:42.13freemangordonwait
10:42.31freemangordonfw190: I think you still have kernel-power modules
10:42.57freemangordonfw190: do you know how to flash only the kernel? with flasher taht is
10:43.05Palidownload zImage of kernel or kernel-power and try to boot it via flasher-3.5
10:43.06freemangordon*that
10:43.25freemangordonfw190: or that ^^^ one
10:43.47fw190freemangordon: nope I do not know how to do it ;)
10:46.16freemangordonPali: can't remember the exact command to tell the flasher to bott a kernel, can you help?
10:46.21freemangordon*boot
10:46.34Pali$ flasher-3.5 -k zImage -l -b
10:46.53freemangordonfw190: ^^^
10:47.17freemangordonfw190: thoug it is flasher-3.5.exe in your case
10:47.47fw190do I have to download the kernel first and put it in the flasher folder?
10:47.53freemangordonyes
10:48.08freemangordonactually you have to extract the zImage from the .deb
10:48.31fw190hahahahhahaha now you made my day
10:48.46freemangordonfw190: which version of KP you had installed?
10:49.03fw190kp 52 latest from repo
10:49.33freemangordonfw190: 7-zip is able to open/extract .deb files under win
10:50.25fw190ah ok
10:51.34freemangordonfw190: you need kernel-power-bootimg .deb
10:52.29freemangordonfw190: zImage is in data.tar.gz\data.tar\.\boot\
10:53.09fw190downloaded the deb
10:53.13fw190running 7 zip
10:54.56fw190should it have 1kb? I think not or it is ok?
10:55.05freemangordonWTF?!? http://talk.maemo.org/showpost.php?p=1350194&postcount=3
10:55.10freemangordonfw190: what?
10:55.15freemangordonwhat is 1 kb?
10:55.27fw190the sie of zImage after extraction ;)
10:56.17freemangordonfw190: oh, ny bad, zimage is in data.tar.gz\data.tar\.\opt\boot\
10:56.22freemangordon*my
10:57.07fw190now it look ok :P
10:57.42freemangordonmerlin1991, Pali, see the above post
10:58.12freemangordonbattery removal fixed the reboot loop. wtf?
10:59.13Pali??
10:59.26fw190not for me ;)
11:00.19Palimaybe bootreason? if you remove battery and start phone again, bootreason is pwr_key
11:00.42Paliand not sw_rst or actdead
11:01.23freemangordonyep.
11:01.35freemangordonPali: BTW is profiled included in he update?
11:01.49freemangordonPali: http://talk.maemo.org/showpost.php?p=1350207&postcount=1194
11:01.56PaliI do not know if profiled is included
11:02.02freemangordonmerlin1991: ^^^ ?
11:02.20PaliI do not remember what has beed updated
11:02.33freemangordonwell, I guess there is a changelog :D
11:02.39freemangordonfw190: how's going on?
11:03.12fw190it send the kernel
11:03.17fw190trying to boot
11:03.42Palino, profiled daemon is not there: https://gitorious.org/community-ssu/mp-fremantle-community-pr/commit/29c8244d251c9a0c8e2b7ee8294b915b4f42f1ee
11:03.56fw190no good - I had to mess something else - agan reboot loop and red indicatio led
11:06.15Palifw190: try to boot stock kernel
11:06.28fw190uboot doesn't show
11:06.48freemangordonfw190: sure, why do you expect to have u-boot?
11:07.07Palifw190: here is DEB bootimg of stock kernel: http://repository.maemo.org/extras-devel/pool/fremantle/free/k/kernel-bootimg/kernel-bootimg_2.6.28-20103103+0m5_armel.deb
11:07.13fw190Plai told me to try to boot stock kernel ;)
11:07.27freemangordonyou'd better listen to him :P
11:07.44fw190but I'm on stock right now and i boot loop
11:08.22Paliwhen device reboot?
11:08.27Paliwhat you see before reboot?
11:09.09fw190I see: NOKIA
11:09.13fw190then black screen
11:09.18fw190then red indicator led
11:09.25fw190black screen
11:09.32Paliok
11:09.37fw190and nokia again
11:09.41Palitry to boot stock kernel via flasher-3.5
11:09.49fw190ok will do
11:09.50Paliunpack it from above DEB package
11:14.33fw190it sendedn to the device
11:14.52fw190trying to boot
11:15.35fw190nokia , black screen, red indicatror and nokia ;)
11:16.28fw190guys maybe I will just flash it ? I dont want to waste your time
11:17.17Palipropably only full reflash...
11:18.19fw190not a problem - N900 is just for doing that - mesing it, flashin messing it flashing ;)
11:18.26fw190I hoped that I could help
11:18.36fw190bit again I didn't think
11:18.45fw190and should have waited for freemangordon
11:18.57fw190well back to the grawing board for me ;)
11:22.32fw190sory for all the typos ;)
11:28.32kerioas a sidenote, busybox-power includes a syslogd and a klogd
11:34.14fw190kerio: damn - this the first time I didn't install it - never used it and now It could help
11:34.20fw190fresh and clean N900
11:34.25fw190instaling latest T
11:53.02fw190merlin1991: fresh flash and latest T doesn't boot
11:53.18fw190black screen
11:53.20fw190;)
11:56.44*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
12:05.07freemangordonfw190: please, install syslog :(
12:05.24freemangordonBEFORE installing cssu-t that is
12:11.24*** join/#maemo-ssu NIN101 (~NIN@p5DD28EE7.dip0.t-ipconnect.de)
12:43.33fw190ok will give it a shot
12:43.43fw190give me 30 min ;)
12:53.13*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
13:01.09*** join/#maemo-ssu futpib (~futpib@89.106.197.89)
13:17.12*** join/#maemo-ssu BCMM (~BCMM@unaffiliated/bcmm)
13:30.44fw190freemangordon: If you still want me to test - just flashed the beast - should I update to 1.3.1 or just install syslog?
13:32.07*** join/#maemo-ssu oldtopman (~oldtopman@unaffiliated/oldtopman)
13:46.06Palifw190: install syslog
13:46.53Palifreemangordon, merlin1991: I created script which show table of all CSSU packages with versions (git, devel, testing, stable)
13:47.10Palithis can be used to check if everything was pushed to git/apt repos
13:50.07Palifreemangordon, merlin1991: see http://atrey.karlin.mff.cuni.cz/~pali/cssu-state.sh
14:00.42freemangordonPali - any idea how to access syslog while in a boot loop?
14:00.58Palifreemangordon: rescueOS
14:01.20Palior enabling R&D mode with disabled watchdogs, lifeguard, forced powerkey...
14:02.00freemangordonhmm, that one might work if hildon-desktop starts
14:02.51freemangordonfw190: did you install syslog?
14:03.35freemangordonif yes, then install cssu (no need of pr 1.3.1)
14:04.05fw190just installin the catalog
14:04.14*** join/#maemo-ssu M13 (~MirandaLS@170.133-224-87.telenet.ru)
14:04.17fw190my mother in law colled for diner ;)
14:04.18freemangordonif you enter bootloop again, we'll have to find a way to get /var/log/syslog out of the device
14:04.26fw190this was a serious situation ;)
14:04.39freemangordon:)
14:12.25fw190ok
14:12.32fw190have it installed
14:13.00fw190now time for T
14:13.19freemangordonmerlin1991: could you try that http://talk.maemo.org/showpost.php?p=1350247&postcount=8
14:17.31Palifreemangordon, merlin1991: packages state: http://pastebin.com/kN56BLjm
14:19.28fw190freemangordon: instaloing T syslogd on board
14:26.55*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
14:27.13fw190freemangordon: update wen ok, the phone reeboted and now he funny thing
14:27.31*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
14:27.50fw190the screen is black - I meanto black dead
14:28.04fw190you can see that it is aliave
14:29.07freemangordonfw190: hmm?
14:29.08fw190turning it on gives nokia logo and then nothing more
14:29.19fw190no dots no nothing
14:29.25freemangordonfw190: remove the battery
14:29.56freemangordonPali: something with boot script? ^^^
14:30.52freemangordonPali: whatever was it called
14:31.27Palino dots? then problem in dsme/mce/bme/upstart
14:31.42Palican you enable R&D mode if it show kernel & component version?
14:31.44fw190I can turn it off
14:31.59fw190normally when you turn a working N900 the wjite led is there
14:32.09fw190turning it in tis state also gives the white led
14:32.19freemangordonPali: upstart was updated afaik
14:33.52Paliright, but working fine from cssu-devel
14:35.03freemangordonPali: we still have NFC what's going on, so lets not make conclusions :)
14:35.19Paliok
14:35.44freemangordonfw190: does it boot after removing the battery?
14:35.44Paliproblem is that I really do not remember what was updated since begin of this year...
14:35.52freemangordonyeah :(
14:35.57Paliand what was changed...
14:35.57fw190freemangordon: no
14:36.11Palifw190: do you have SD card?
14:36.25freemangordonfw190: to install rescue OS on it
14:36.25fw190yes
14:36.32Paliunplug it
14:36.36Paliand try again
14:37.20freemangordonmerlin1991: BTW I'd recommend to either remove -mp from CSSU repo or make a post on TMO (or both) until we find what the problem is and solve it
14:38.05fw190dottttttttttttttttttttttsssssssssssssssssssssss :)
14:38.16fw190haaaaaaaaaaaaaaaands :)
14:38.28freemangordon:D
14:38.29fw190clock setting ;)
14:38.39freemangordonfw190: wait, how?
14:38.55fw190without sd card
14:39.14Palisomebody wrote that now on TMO that removing SD card helped with booting
14:39.25freemangordonPali: seems you might screwed up fstab generation ;)
14:39.27tadzikso, after an update, one should remove battery and sdcard? ;)
14:39.47Palifreemangordon: but I do not know why my n900 booting with with SD card
14:40.10freemangordonPali: me neither but we have that confirmed by at least two users
14:40.12fw190Pali: you have a super N900 whoch can fight with cryptonite :P
14:40.51freemangordonfw190: could you pastebin your syslog?
14:41.18freemangordonfw190: do not put the card back
14:41.34fw190where should I look for it ( I warned you that I know nothing)
14:41.35fw190damn
14:41.40fw190I did put it back
14:41.44fw190but didn't reboot
14:41.49freemangordon"/var/log/syslog"
14:42.55freemangordonPali: hmm, the difference could be that the version in -devel is installed by apt-get
14:43.21freemangordonand not by HAM with the following reboot
14:43.21fw190is ther a command to show it - else I would have to install hamster filer or something to get there
14:43.26Paliso maybe HAM updated it incorrectly?
14:43.39freemangordonPali: i doubt
14:44.00freemangordonPali: was that somehow related to kernel-power-settings?
14:44.30Palifreemangordon, this could be problem with last KPS
14:44.44Palis/last/not last/
14:44.52freemangordonI mean - I vaguely remember something with KPS and upstart
14:45.07freemangordonoh, wait
14:45.20freemangordonfw190's device is freshly flashed
14:45.28PaliKPS had some very bad hack for usb networking and fsck which could cause some problems
14:46.02freemangordonfw190: it is a file, just copy it on your pc and open it with a text editor (but not notepad)
14:46.24freemangordonPali: no KPS on fw190's device ;)
14:46.40Palifw190: please upload somehwere these files: /etc/fstab /etc/event.d/rcS-late /etc/default/mount-opts
14:46.48PaliI need to know if was correctly updated
14:46.52fw190connecting to pc
14:46.57fw190give me minute
14:47.00freemangordonok
14:47.20freemangordongoes on his way home, will be back in some 30 minutes
14:47.25freemangordonbbl
14:47.32Palimerlin1991: Did you included this commit in CSSU-T? https://gitorious.org/community-ssu/upstart/commit/9dcf3c2a075f7aaf3b69920dbf4014271434dc9f
14:47.51merlin1991iirc I left it out
14:49.25Paliok, then this commit did not caused it
14:51.26fw190Pali: I have connected it to my opensuse but can not acces those files - how to do it?
14:52.35Palifw190: disconnect device from usb (so MyDocs will be available for n900), then open xterm and copy these files to /home/user/MyDocs/
14:52.39*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
14:53.00Palithen connect device to pc in mass storage mode, MyDocs will be exported via usb
14:54.00fw190but is /var/log/syslog in MyDocs?
14:55.57Palifw190, no
14:56.10fw190just as I suspected ;)
14:56.17Palicopy it to MyDocs from n900 xterm
14:56.17fw190freemangordon wanted that file
14:56.31Palime too
14:56.40Palialso: /etc/fstab /etc/event.d/rcS-late /etc/default/mount-opts
14:56.55fw190!@#$%$%^&*
15:04.06fw190I have those files
15:04.08Palifw190: when you have these files in pc, post them for example to pastebin
15:04.18fw190pastebin or upload somewhere
15:04.25Paliwhere you want
15:04.36fw190can I open them with openSuse text editor Kwrite?
15:04.45Paliyes
15:04.48fw190feemangordon sad something not to open them with notepad
15:04.54Palithese are text files
15:05.15Palifiles can be big, so some editors can freeze on big files :-)
15:05.49fw190fstab http://pastebin.com/kKdBACwT
15:06.24fw190mount-opts http://pastebin.com/h5K9ZWEF
15:06.57fw190rcslate http://pastebin.com/Vp2J4v44
15:07.44Paliall 3 files are OK
15:07.52Palicorrectly updated (and fstab generated)
15:08.12fw190syslog http://pastebin.com/MUeLjypj
15:09.12fw190Pali: where they created when the sd caed was in or when I removed it and booted?
15:09.43Palimount-opts and rcS-late is updated from apt
15:09.51Palifstab is generaring every device startup
15:10.26fw190one way or the other this is all I can do to help as I do not have a clou what are you talking about
15:10.29fw190;)
15:10.32fw190have to go now
15:15.09Palifreemangordon: look at syslog, I do not see where it rebooting
15:24.14Palifw190: please run this command on n900: head /sys/block/*/device/../slot_name
15:24.19freemangordonPali: wtf? mmcblk0: mmc0:0007 SD04G 3.72 GiB
15:24.59freemangordonPali: mmcblk1: mmc1:0001 MMC32G 29.8 GiB
15:25.11freemangordonseems those are swapped
15:25.35PalircS-late checking for internal string in slot_name
15:25.58freemangordonPali: could be different on stock kernel
15:26.00Paliso I need output from above command
15:26.24freemangordonah, i see
15:26.37Paliby default mmc0 is SD card, mmc1 is eMMC. maemo has udev rule which switch eMMC to mmc0
15:26.57freemangordonok
15:27.00Palikernel-power has patch which force eMMC to be mmc0
15:27.33Palistock kernel does not have this patch, so eMMC is by default mmc1 in kernel until udev switch it
15:28.28Palihm, maybe race condition between rcS-late udev and script which mounting /home ?
15:30.13Palifreemangordon: can you post output of $ head /sys/block/*/device/../slot_name
15:37.58fw190Pali: the output is internal
15:38.29Palifw190: run also: ls /sys/block/*/device/../slot_name
15:39.33fw190mcblk0
15:39.53Paliok
15:41.42freemangordonPali: do you still need me to post ^^^?
15:41.49Paliyes
15:41.55Palijust to be sure
15:41.56freemangordonok, just a minute
15:44.27freemangordonPali: hmm, can't see slot_name
15:44.45freemangordonPali: could you give me the full path
15:45.12Palirun: ls /sys/block/*/device/../slot_name
15:45.22Palithis is used in rcS-late
15:46.00Pali"*" should be expanded to mmcblk0 and mmcblk1
15:46.28freemangordonok
15:46.41freemangordondamn, cannot connect the device to wifi :(
15:50.15freemangordonPali:
15:50.17freemangordonNokia-N900:~#  head /sys/block/*/device/../slot_name
15:50.19freemangordon==> /sys/block/mmcblk0/device/../slot_name <==
15:50.19freemangordoninternal
15:50.20freemangordon==> /sys/block/mmcblk1/device/../slot_name <==
15:50.22freemangordonexternal
15:50.33PaliOK
15:52.06freemangordonPali: BTW could it be a problem if those files were generated under KP?
15:53.08Palifreemangordon: if there is no slot_name with internal then rcS-late fallback to mmcblk0
15:56.30freemangordonPali: which is uSD on stock kernel before renaming
15:56.53freemangordoniiuc
15:57.18Palistock kernel before udev is started, SD card is mmcblk0
15:57.48freemangordonok, so it tries to boot maemo from uSD :D:D:D
15:58.32freemangordoncorrect?
16:01.56fw190uuuuuuuu la la http://wiki.hetzner.de/index.php/Security_Issue/en
16:02.28Palifreemangordon: I think no, because udev should be started before rcS-late
16:02.54Palialso in old rcS-late was hardcoded mmcblk0
16:07.53*** join/#maemo-ssu arcean (~arcean@aacs217.neoplus.adsl.tpnet.pl)
16:08.46freemangordonPali: mmcblk0: mmc1:0001 MMC32G 29.8 GiB
16:08.59freemangordonthis is when it boots without uSD card
16:10.06Paliit is ok
16:11.50freemangordonPali: do you have an idea what happens?
16:12.02Palino
16:12.21Palibut I'd like to see /etc/fstab when SD card is in device
16:12.31freemangordoncan't you reflash and test?
16:12.43Palinot now
16:12.48freemangordonI guess you have more than one n900
16:12.55PaliI have one n900
16:12.59freemangordonoh
16:13.27freemangordonmerlin1991: ping
16:13.51merlin1991pong
16:13.58merlin1991freemangordon: ^^
16:14.22freemangordonmerlin1991: can you put a SD card on your device with stock kernel?
16:14.30merlin1991sure
16:14.38merlin1991time to play the guessing game
16:14.39freemangordonmerlin1991: see backscroll
16:14.45merlin1991which device currently holds the sd card xD
16:14.57freemangordonthe one that doesn;t boot :P
16:15.24freemangordonmerlin1991: do you have uSD with rescueOS on it?
16:16.03merlin1991where's my sd card o_O
16:17.02freemangordonPali: which script should merlin1991 modify in order to copy the newly generated fstab in a safe place?
16:17.22freemangordonthat way no rescueOS will be needed
16:17.29merlin1991freemangordon: I need to find the sd card first
16:17.41Palifstab is generated in /etc/event.d/rcS-late
16:17.50freemangordonmerlin1991: wouldn't it be faster to buy a new one? :D
16:18.17Palifind command "cmp" aftet that is decided if /etc/fstab will be replaced by new from /tmp/ or not
16:19.42merlin1991found the sd, it was in the raspberry pi :D
16:21.17freemangordonmerlin1991: I'd recomment adding "cp $fstab /" after "cmp -s $tmp_fstab $fstab || cp $tmp_fstab $fstab"
16:21.33freemangordonbefore booting with uSD in
16:22.50freemangordonPali: what will happen if cmp returns error?
16:24.10Palifiles are different
16:24.12merlin1991so I've added the cp
16:24.27merlin1991and currently watch it boot
16:24.35freemangordonPali: cmp returns > 1 on error
16:25.05Palithis cmp code was not changed, comes from nokia
16:25.09freemangordonmerlin1991: oh, that was stupid by my side
16:25.26freemangordonyou need to cp only if the file does not already exist
16:26.00freemangordonsomething like if [ ! -f /$fstab }; then ...
16:26.04freemangordonmerlin1991: ^^^
16:26.16merlin1991well i didn't even get dots
16:26.46freemangordonmerlin1991: sorry, I am a bit sleepy :)
16:27.32freemangordonmerlin1991: could you add the above "if", remove /fstab and retry
16:32.43merlin1991hm again black screen
16:33.15merlin1991what am I actually testing?
16:33.46*** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net)
16:35.18merlin1991freemangordon: Pali?
16:35.38freemangordonmerlin1991: hmm? sorry, got disconnected
16:35.53merlin1991what am I actually testing?
16:35.56Palimerlin1991: I need to see your fstab when boot is broken
16:36.07merlin1991it didn't copy it for some reason
16:36.22Paliso maybe rcS-late was not called?
16:36.31freemangordonlooks like
16:36.45merlin1991I did have the /fstab when I had no conditional though
16:36.55Palican you try to add some "echo test1 > /out" lines to rcS-late?
16:37.11freemangordonPali: "if [ ! -e /etc/fstab ] || [ "$genfstab" != "0" ]; then"
16:37.14Paliif rcS-late fail, then it stop executing other lines
16:37.29merlin1991i'll move it to cp $fstab /$fstab`date`
16:37.38freemangordonfine :)
16:37.49Paliso add some debug echo tests to rcS-late
16:38.04Palithen we see where is failing...
16:40.25freemangordon:nod:
16:42.40merlin1991hm the backtick modification broke booting
16:42.42merlin1991ooops :$
16:44.20freemangordon:(
16:52.57freemangordonmerlin1991: reflashing?
17:22.47freemangordonmerlin1991, Pali: what is going on?
17:27.17*** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net)
17:27.37*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
17:44.20*** join/#maemo-ssu futpib (~futpib@89.106.197.67)
17:51.58*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
18:11.44merlin1991freemangordon: I can't reflash atm
18:14.29*** join/#maemo-ssu Drathir (~kamiljk8@s51.linuxpl.com)
18:19.19*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
18:38.57*** join/#maemo-ssu _rd (~rd@p57B49B32.dip0.t-ipconnect.de)
18:43.18*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
19:17.51*** join/#maemo-ssu panjgoori (b6b7b19d@gateway/web/freenode/ip.182.183.177.157)
19:27.41*** join/#maemo-ssu _rd (~rd@p57B49B32.dip0.t-ipconnect.de)
19:45.28*** join/#maemo-ssu generatorglukoff (~andrey@200-4-179-94.pool.ukrtel.net)
19:46.44generatorglukoffhello
19:46.58generatorglukoffi have a problem with reboot loop
19:47.08generatorglukoffwhat can i do to help fixing it?
19:47.41merlin1991take out your sd card
19:48.06generatorglukoffbtw, syslog: http://pastebin.com/6sYspitX
19:48.38generatorglukoffmerlin1991: i can boot only from wall charger, sd card is out
19:48.48merlin1991now this is more than odd
19:50.01generatorglukoffbattery is almost full btw
19:50.59merlin1991you'll have to wait for Pali / freemangordon I sadly can't help with the situation
19:51.08*** join/#maemo-ssu piscodig (~discopig@2001:5c0:1400:a::c37)
19:51.08*** join/#maemo-ssu piscodig (~discopig@unaffiliated/discopig)
19:52.10Paliin that syslog is only: "Jun  7 22:19:18 Nokia-N900 DSME: Shutdown"
19:52.22Palireason why DSME decided to shutdown is unknown
19:56.09generatorglukoffi've installed syslogd via apt-get, how can i make syslogd to start earlier?
19:56.42Paligeneratorglukoff: not possible
19:56.51Palibut it does not help to start earlier
19:57.08PaliDSME did not wrote to syslog, why decided to shutdown
19:57.41Palihm, maybe there can be problem with bootreason?
19:57.50generatorglukoffhow to check?
19:58.24Paliwhat is in file /var/lib/dsme/saved_state ?
19:58.36freemangordonmerlin1991: remove the fcking -pr thingie from the repo until we find what happens
19:58.45merlin1991can't
19:58.50freemangordonwhat?
19:58.53freemangordonwhy?
19:59.00generatorglukoffPali: USER now
19:59.03merlin1991I have no idea how
19:59.08Paliok
19:59.32Palimerlin1991: manually edit Packages and Packages.gz files
19:59.39freemangordonremove the .deb, I'd prefer "use nokia suite" rather than bricked devices.
19:59.39Paliand remove new pr package
20:00.03freemangordonmerlin1991: or remove upstart
20:00.05Paliyes, renaming/removing DEB will also work
20:00.14freemangordonupstart.deb that is
20:00.16Palifreemangordon: we do not know if it is upstart
20:00.23Palimaybe it is dsme or other package
20:00.29freemangordonpali - ok, but it is suspected
20:00.34freemangordoncould be
20:00.44PaliI think not
20:01.13freemangordonok, win't argue on the exact package, eveyone of them will do the job
20:01.18freemangordon*won't
20:01.55Paliosso-af-utils was not updated in cssuT, right?
20:02.16merlin1991nope
20:02.20Paliok
20:02.23merlin1991I've remove the mp for now
20:02.54Palimerlin1991: can you give list of all packages which was updated?
20:03.03PaliI have no other idea what to do...
20:03.19merlin1991on my server look into /home/christian/cssuT8
20:03.36merlin1991everything that was in the release is in there
20:03.45merlin1991exctly those files :)
20:04.24Paliok
20:05.10merlin1991I find it interesting though that only some users are affected
20:05.40Paliyes, this is what I do not understand...
20:06.05Palimerlin1991: do you have unbootable cssuT device?
20:06.23merlin1991only since I messed with rcS-late
20:06.36merlin1991before that it didn't boot when the sd was in but did boot without
20:07.03Paliok, so SD card is really problem
20:08.36Palior problematic looks like dsme and upstart
20:08.47Palino other new system package
20:09.50Paliso my idea is to downgrade (or not upgrade) that packages and check if problem is there
20:10.10Palimerlin1991, freemangordon ^^
20:10.35merlin1991Pali: I can look into that after the council meeting and dinner
20:10.43Paliok
20:19.13freemangordonPali: ok, sounds sane
20:19.37*** join/#maemo-ssu eddyb (~eddy@unaffiliated/eddyb)
20:19.51Palifreemangordon, we have another problem with last cssuT
20:20.02eddybhttp://talk.maemo.org/showthread.php?t=88578
20:20.03freemangordonwhat?
20:20.10Palieddyb got this problem: http://talk.maemo.org/showthread.php?t=88578
20:20.15eddybthe exact same problem as in the images there
20:20.42Palimaybe broken qt,zlib,png?
20:20.52eddybthe first reboot after the reboot during update
20:21.04eddybPali: comments on that thread suggest missing theme
20:21.12Palior maybe /opt is mounted?
20:21.14freemangordonPali: i'd rather say it is missing/broken theme
20:21.26freemangordonor that one
20:21.48freemangordonhmm, is maemo bootable with opt not mounted?
20:21.52PaliI'd like to see /etc/fstab from eddyb device
20:22.01freemangordonyep
20:22.01eddybnow it seems more responsive than before
20:22.13eddybhopefully I can get something going
20:22.14freemangordoneddyb: sure, there are no graphics to draw :)
20:22.15Palifreemangordon, maybe yes
20:22.31freemangordoneddyb: do you have ssh to the device
20:22.33freemangordon?
20:23.09eddybfreemangordon: I have ssh on the device, not sure if I have the server enabled
20:23.11eddybhmm
20:23.22eddyblet me port scan from laptop
20:23.53freemangordoneddyb: can you start xterm?
20:23.53eddybwtf, 3 other people are connected on my wifi
20:24.03eddybfreemangordon: Ctrl+Shift+X starts now
20:24.07freemangordonctrl+shift+x
20:24.10freemangordonok
20:24.36freemangordoneddyb: do you have sdcard in the device?
20:24.40eddybnope
20:24.51freemangordonand out of the device?
20:24.53eddybwhat can I do to enable ssh?
20:25.20eddybfreemangordon: hmm? I removed the SD card as Pali suggested, made no difference
20:25.32eddybalthough it is slightly more usable now
20:25.34freemangordoneddyb: do you have sd card reader on your PC?
20:25.50eddybyes
20:25.54freemangordongood
20:25.57Palieddyb: install openssh-server package via apt-get
20:25.58eddyb(laptop)
20:25.58freemangordonput the card back
20:26.10freemangordonPali: it wants you to enter the password
20:26.21Paliah, yes :-(
20:26.24freemangordonI am not sure he'll be able to see it
20:26.30eddyb:(
20:26.47eddybheh, I can see the volume slider
20:26.59eddybwelp
20:27.07eddybwhat's the easiest reverse shell to setup?
20:27.19freemangordoneddyb: the plan is - put the sdcard back in the device, copy in xterm all the files Pali wants, put the card in the pc, paste the content of the files here
20:27.30eddybah
20:27.31freemangordonPali: ok? &&&
20:27.34freemangordon^^^
20:27.34Paliok
20:27.44eddybI can probably get them faster using MyDocs
20:27.53Pali$ mount
20:27.57Pali$ cat /etc/fstab
20:27.58freemangordoneddyb: try that one too
20:28.14freemangordonit will be faster if it works
20:28.16eddybI'll copy fstab to MyDocs
20:28.24Pali$ cat /var/lib/dsme/saved_state
20:28.37freemangordoneddyb: mount > $mydocs_file
20:28.47Pali$ ls -l -a /dev
20:29.14freemangordoneddyb: pipe all those (with double >, i.e. >> ) to a file in MyDocs
20:29.26Pali$ cat /var/log/fsck_home.log
20:29.31freemangordoneddyb: sorry if you are fine with the shell :)
20:29.53Pali$ cat /var/lib/fsck_ext3_home.log
20:29.56eddybwait
20:30.09freemangordoneddyb: no MyDocs?
20:30.11eddybI don't have all those symbols on the keyboard
20:30.22*** join/#maemo-ssu unclouded (~neil@2001:4428:200:80fc:7c2a:5fd9:b023:9409)
20:30.52eddybis there a simple reverse shell I can drop in MyDocs and execute?
20:30.57Palieddyb: try this:
20:30.58freemangordoneddyb: press blue arrow + Sym
20:31.09eddybfreemangordon: but I can't see what's what
20:31.10Palicd /home/user/MyDocs
20:31.14Palicp /etc/fstab .
20:31.18Palicp /var/lib/dsme/saved_state .
20:31.22eddybfreemangordon: I seriously need a clone just so I can navigate this one
20:31.27Palicp /var/log/fsck_home.log .
20:31.34Palicp /var/lib/fsck_ext3_home.log .
20:31.36freemangordoneddyb: oh, yes
20:31.37eddybPali: ok, those should be easy :D
20:32.36freemangordoneddyb: > is the second from left to right on the top row
20:32.52Palimount > mount
20:32.59Palils -l -a /dev > dev
20:33.01freemangordonhopes at least the geometry is ok
20:33.34Pali">" char is second on screen in first row
20:33.50eddybhttp://ix.io/62l
20:34.22eddybI realized I should be able to wget a script, chmod +x and then run
20:34.32Palinice :-)
20:34.33eddybdo I need +x if I do sh script?
20:34.46Paliyou can start it: sh script
20:35.17Palieddyb: add also mount and ls
20:36.09eddybhttp://ix.io/62m
20:36.15freemangordoneddyb: is there MyDocs?
20:36.34generatorglukoffhmm, downgrading dsme seems helps for me
20:36.56freemangordongeneratorglukoff: great
20:37.11eddybI don't think I have wget :(
20:37.50generatorglukofffreemangordon: is it possible to bisect changes to dsme and how can i help here?
20:38.23freemangordongeneratorglukoff: there are only to small commits afak
20:38.39freemangordonPali: "export BOOTSTATE=`cat /var/lib/dsme/saved_state`" ?
20:39.13Palimaybe saved_state file not exists?
20:39.21Palior is empty?
20:39.40freemangordoneddyb: can you cat /var/lib/dsme/saved_state
20:39.51freemangordonand tell us the result
20:40.25eddybI'll try to copy the script in MyDocs and run it from there
20:40.38freemangordonPali: though... this can result in bootloop, not in a missing graphics aiui
20:41.41eddybhey
20:41.44eddybit was doing something!
20:42.16eddybif only this darn thing didn't make so many sounds
20:42.16Palifreemangordon: yes
20:42.28eddybit feels like all ui-related settings are borked
20:42.47freemangordoneddyb: is /opt monted?
20:42.52freemangordon*mounted
20:43.04eddyb/home/opt on /opt type none (bind)
20:43.12eddybsaved_state is USER
20:43.18freemangordonomg
20:43.35Palieddyb, what is in fsck files?
20:43.47Palimaybe /home FS is corrupted?
20:44.16eddybOH DEAR
20:44.28eddybyou may not want to see this
20:44.34*** join/#maemo-ssu BCMM (~BCMM@unaffiliated/bcmm)
20:45.12freemangordoneddyb: which one?
20:45.33eddybfsck
20:45.36freemangordonoh
20:45.42eddybyay for gist drag and drop
20:45.46eddybthis will take a while
20:45.53eddybhttps://gist.github.com/eddyb/2925d5a6a52311298eb9
20:46.43eddybhttps://gist.github.com/eddyb/2925d5a6a52311298eb9/raw/a899ddae80a4b6682cb47e7e5fce5de18d6d3360/fsck_home.log for the full file
20:47.01kerioPali: methinks that before pushing system-services, we needed to upgrade e2fsprogs
20:47.03eddybthat might explain the reverted settings
20:47.19kerioeddyb: restore a backup
20:47.25eddybI'm not sure I have one
20:47.32freemangordoneddyb: ok, your case is clear I guess :)
20:47.33keriothen you haven't followed the CSSU instructions
20:47.46eddybgaaaah
20:48.01keriofreemangordon: fwiw, i'm still more inclined to believe that fsck fucked up because it's outdated, rather than such a catastrophical fs corruption
20:48.05freemangordonkerio: I doubt CSSU upgrade could lead to screwed FS
20:48.13eddyb2008
20:48.15freemangordonkerio: could be
20:48.48Palifsck_home.log 2013-06-07 21:20:32 --> clean
20:49.10Palifsck_home.log 2013-06-07 22:25:43 --> error while recovering ext3 journal
20:49.17*** join/#maemo-ssu LauRoman (~LauRoman@5-14-91-235.residential.rdsnet.ro)
20:49.26freemangordonyep, saw it
20:49.36eddybhmm, what did I have on that? the NITdroid installation
20:49.48freemangordonPali: could it be emmc starting to fail?
20:49.53Paliso something broke FS between 21:20:32 and 22:25:43 today
20:50.06eddybmy user settings, and the installed apps
20:50.19Palifreemangordon: do not know
20:50.22eddybso I lost firefox history, I guess
20:50.36freemangordoneddyb: anything in dmesg?
20:50.39eddybcontacts and chat history
20:50.43Palimaybe nitdroid did something?
20:50.48freemangordonI mean anything bad looking
20:51.00eddybPali: no, it was static. I haven't used it since I flashed
20:51.09eddybfreemangordon: how do I check that?
20:51.13freemangordondmesg
20:51.32eddybis there an easy way to install a ssh server headless?
20:52.02freemangordoneddyb: well, try to "apt-get install openssh"
20:52.04Palieddyb: you can try as root: DISPLAY= apt-get install openssh-server
20:52.12freemangordonoh, yes
20:52.21eddybwhat would that do?
20:52.30freemangordoninstall ssh-server
20:52.36freemangordonwithout X
20:52.39eddybDISPLAY= I mean. aah
20:52.41PaliDISPLAY= tell application that there is GUI display
20:52.55Palionly console
20:53.17eddybI need to reboot to get the shell back :/
20:53.21freemangordonPali's hope is tat you'll be asked for the password in terminal
20:53.32freemangordoneddyb: why?
20:53.41eddybctrl+shift+x only works once
20:53.42Palimaybe you will not be asked for pasword
20:53.45Paliand rootme will work
20:53.49*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
20:54.04freemangordoneddyb: wait
20:54.16freemangordondon;t reboot, we don;t know what's going on
20:54.24eddybI rebooted ten times already
20:54.32freemangordonoh, ok then :)
20:54.35Palifreemangordon: can you look for backporting new e2fsprogs to maemo?
20:54.43freemangordonPali: sure why not
20:55.08Paliok, we really need new version
20:55.16eddybbtw, does that fsck log tell you anything other than "eddyb fucked up bad and should've backed up"?
20:55.18freemangordonPali: lets fix the current issue first :)
20:55.44Palifreemangordon: ok, can somebody else confirm that problem is in dsme?
20:56.00eddybrunning root works, I can see the cursor fiddling
20:56.20freemangordonPali: merlin1991?
20:56.31PaliI will ask on TMO
20:56.33freemangordonok
20:57.05merlin1991freemangordon: I'm just recovering my device :)
20:57.07eddybapt-get reacts badly :(
20:57.19freemangordonPali: the only changes in dsme are -p option and getbootstate change?
20:57.26Paliyes
20:57.34freemangordonmerlin1991: ok
20:57.55eddybactually, root may not work
20:58.08eddybshould I find /opt?
20:58.14eddybas in, run find?
20:58.17Palifreemangordon: but I do not understand why dsme state change is only problematic on device with SD card????
20:58.31Palithse two things have nothing common
20:58.45eddybI guess I can't fix it now anyway
20:58.50eddybI kinda gotta leave
20:58.53Palieddyb: what do you mean "root may not work"?
20:58.53freemangordonPali: me neither, lets wait for merlin1991 to recover
20:59.08eddybPali: running "root". I thought it worked, but now I think it didn't
20:59.15eddybit's hard to tell what a command does
20:59.15freemangordoneddyb: sorry for yout FS, I promise new e2fstools in the next update :)
20:59.24Palieddyb: try: sudo gainroot
20:59.28freemangordon*your
20:59.47eddybPali: nope
21:00.22freemangordonPali: what's the point to torture eddyb, it is fcked up FS
21:00.37eddybliterally!
21:00.39freemangordonPali: or I miss something?
21:00.56eddybI'll try to run find on /opt, but that's it
21:01.01Palithis looks like problem with FS and theme files are damaged
21:01.19freemangordonnot only theme files though :)
21:01.24freemangordoni'll opt for emmc reflash
21:01.28freemangordon:)
21:01.35Palieddyb: try to run backup application
21:01.39freemangordonPali: wait
21:02.04merlin1991rescueos ftw
21:02.13freemangordonif we mount incorrectly, it could be wrong fs type in fstab :(
21:02.23freemangordonPali: ^^^
21:02.46Palifreemangordon: no it using fsck.ext3
21:02.49eddybhttps://gist.github.com/eddyb/2925d5a6a52311298eb9/raw/39a8f97789f96ea2d0985ebe94d5664a80f0f802/fstab
21:03.01Paliand fsck.ext3 shown errors
21:03.15freemangordonPali: before that ;)
21:03.18Palifstab is ok
21:03.28eddybhttps://gist.github.com/eddyb/2925d5a6a52311298eb9/raw/f51aa1928bd1ac3fe47b4d30858f99499771f68e/mount
21:03.55freemangordonPali: I mean on the previous boot
21:05.23PaliI think it was ext3 too
21:05.34Pali(it had to be some ext*)
21:05.44freemangordonPali: after reboot ff/emmc is wrongly recognized, mounted with wrong fs type and screwed
21:05.58freemangordoneddyb: is your SD card partitioned?
21:06.12eddybyeah, weirdly
21:06.19Palifreemangordon: no, look at LABEL
21:06.34Paliit is always RX-51_2009SE_1.2
21:06.59freemangordonPali: we don;t have logs from the boot with the SD card in IMO
21:07.37Palieddyb: do you have other fsck files /var/log/?
21:07.44merlin1991kerio: ping
21:07.48*** join/#maemo-ssu DaRoDi (~DaRoDi@109.88.64.137)
21:08.39eddybPali: not sure, you gave me two commands, only one copied a file
21:08.53freemangordoneddyb: what are partitions on the SD card?
21:09.03Palieddyb: look for files in dir: /var/log/
21:09.05eddybfind /opt does nothing, where is find located?
21:09.15eddybPali: in the phone with no UI? sure :P
21:09.28Palieddyb: ls /var/log/
21:09.41eddybah, ls, good point
21:10.04freemangordoneddyb: this is not a phone, but a mobile computer :P
21:10.21eddybmy linux PCs never broke this badly
21:10.41eddybI recovered from crappy things, but I had that console mode still working
21:11.20Palieddyb: do you want to try something to backup?
21:11.34keriopong?
21:12.06PaliI know where are some backup parts stored and if you have xterm working, you can copy it to mydocs or sd card
21:12.14freemangordoneddyb: BTW, which kernel do you use, stock?
21:12.42eddybwell, I do have two kinds of wifi drivers
21:12.44eddybnot really sure
21:12.46merlin1991Pali: I checked fstab
21:12.53merlin1991with and without sd it is identical
21:13.13Palimerlin1991: ok thanks
21:13.30Palinow we know that fstab generating working fine
21:14.31merlin1991I'll try downgrading upstart
21:14.42Palitry dsme first
21:14.47freemangordonmerlin1991: try with dsme first
21:14.54freemangordonyou beat me to it :)
21:16.06freemangordonwonders why no problems on KP/KCSSU
21:16.13eddybwait
21:16.14eddybwtf
21:16.20eddybI might have been in root
21:16.24keriohey, i had problems!
21:16.30eddybI did exit and it didn't close the window
21:16.34keriois bummed that nobody cares about his problems
21:16.53freemangordonkerio: yes, we know, unfortunately nobody can help you :P
21:17.00merlin1991kerio what was the package for usb dummy network?
21:17.15keriolibicd-network-usb is *usb*
21:17.19keriolibicd-network-null is dummy
21:17.27kerioit can't be both usb and dummy
21:17.27merlin1991thanks
21:17.37eddybkerio: you can understand why people are excited
21:17.53eddybhow often do you see an idiot with no backups getting fscked by fsck?
21:17.55merlin1991freemangordon: Pali downgraded dsme does not boot
21:18.10eddyb/opt:
21:18.12eddybpymaemo
21:18.12kerioeddyb: it's ok, we still love you <3
21:18.13eddyb/opt/pymaemo:
21:18.15eddybusr
21:18.16eddyboh man that is bad
21:18.59eddybI have aptitude, fsck and optify logs
21:19.08Palimerlin1991: ok, then downgrade upstart, systemserverces, ...
21:19.08freemangordoneddyb: seems FUBAR
21:19.23freemangordonmerlin1991: one by one please :P
21:19.26eddybhttps://gist.github.com/eddyb/d6dc25ad4e429a9301aa
21:19.42merlin1991freemangordon: system-services is part of upstart ;)
21:20.30freemangordonoh, yes, THAT damn package I had to compile myself to be able to install CSSU when I reflashed my devel device :)
21:20.48eddybI gtg
21:20.50eddybI guess I'll reflash full at some point
21:20.53freemangordoneddyb: bye and thanks
21:21.01eddybthere's no way I can recover all that data, AFAIK
21:21.17Palieddyb: you will need to reflash also vanilla emmc image which will erase MyDocs
21:21.34Palieddyb: what you want to recover?
21:21.38eddyb(dd the device to MyDocs and analyze outside of it, maybe :P?)
21:21.50eddybPali: if I can get everything, that would be great
21:22.02eddybI don't recall anything of specific importance
21:22.14eddybbut I hate throwing away things
21:22.17Palieddyb: can you install bootmenu via apt-get?
21:22.24eddybmaybe
21:22.30Paliit allows you to export full eMMC via usb mass storage
21:22.36eddybI doubt I have apt-get, though
21:22.56eddybI don't know what works and what doesn't
21:23.08eddybPali: oh, that would be nice
21:23.12Paliif you have root, try: apt-get install bootmenu
21:23.15eddybbut let's leave it for another day
21:23.55Paliif not, you can boot rescueOS (via flasher-3.5) which can export eMMC via usb too
21:24.20eddybit's late here and I'd rather do this with a clearer head
21:24.30eddybthanks for all the help guys :D
21:24.35Palieddyb: dd clone of /home is possible from maemo if you have root access
21:24.37merlin1991Pali: freemangordon it's getting funnier, downgraded upstart doesn#t help either
21:24.41eddyb(and fix your shit, would ya'?)
21:24.44merlin1991the problem has to be elsewhere
21:25.10Palimerlin1991: try to purge upstart and systemservices and then install it again
21:25.20Palimaybe conffiles are not downgraded
21:25.40eddybI'm starting to hate maemo
21:25.49eddybso many bad design decisions
21:25.51freemangordonPali: isn't it the same for dsme?
21:26.01merlin1991dsme had no changes to conffiles
21:26.03merlin1991only code
21:26.05freemangordonok
21:26.14Paliisnt event.d conffile?
21:26.15eddybif only it wasn't a bigger mess to use anything else on the device
21:30.52merlin1991Pali: after purging system-services and upstart and installing the older version it works
21:31.26Paliso problem is in upstart/system-services?
21:31.29freemangordonPali: toldya it is upstart ;)
21:31.33merlin1991yep
21:31.44Palimerlin1991: which version is working?
21:32.07merlin1991I used the one from the last testing release (0cssu1)
21:32.54Palican you test 0cssu4 ?
21:33.04Pali(it should be in devel)
21:33.16merlin1991I don't have devel enabled, but I can just build it :)
21:33.45freemangordonmerlin1991: isn't it easier to just enable it?
21:34.04Palimerlin1991: ok, or download that two DEB packages
21:34.14merlin19911 build command + dpkg -i is 10 times faster, or that
21:34.21merlin1991since wireless only works 2 rooms from here :D
21:34.39freemangordonmerlin1991: we don;t know is your build system ok ;)
21:34.57merlin1991it's as clean as it can be ! :D
21:35.12merlin1991Pali:  -devel has 0cssu5
21:35.34Palihm, yes devel has last version
21:35.50Palido you have history of devel?
21:36.25eddybdevel? it all started with Ada Lovelace
21:37.02merlin1991d03ad02faa10055186605c17eb0470f85bb1a21d
21:37.10merlin1991err didn't mean to write that
21:37.47Paliit looks like problem will be in this commit: https://gitorious.org/community-ssu/upstart/commit/b7decb43c5cb19acb9d407abf45fb898035155bd
21:38.02Palieverybody try to find errors in this diff ^^^^
21:38.21eddybeverything looks bad to me
21:38.25merlin1991Pali: wait untill I can confirm 0ccsu4 works
21:38.30Paliok
21:40.39merlin19910cssu4 did boot
21:41.59Paliso problem is in that commit
21:43.33merlin1991I think I know why
21:43.38merlin1991let me try something
21:45.17Paliok
21:50.17merlin1991didn't turn out to be the reason
21:51.56freemangordonmerlin1991: can you put some traces in rcs-late
21:52.33merlin1991I bet my money on line 56 - 61 of the diff
21:53.14Paliwho and when mount /sys?
21:53.39Pali/sbin/preinit? or upstart? or upstart script?
21:53.42freemangordonmerlin1991: what do you think is wrong, I see nothing suspicios there
21:54.07Palimerlin1991: this rcS-late script is running with set -e
21:54.23Paliso on error it fail and somebody (dsme?) reboot device
21:54.36merlin1991where would the traces go?
21:54.48Pali/var/log/
21:54.50merlin1991syslog or do I have to use >>?
21:54.57freemangordonbetter use >>
21:54.58Paliuse >>
21:55.46Palimaybe problem with swap(s)? (line 93)
21:55.54freemangordonoh, wait
21:56.16freemangordon"Normally, exit status is 0 if selected lines are found and 1 otherwise."
21:56.16freemangordonthis is for grep
21:56.40freemangordonif grep -q internal /sys/block/$emmc/device/../slot_name; then
21:57.13freemangordoniiuc we break if internal is NOT found
21:57.25freemangordonPali: ^^^
21:58.04Paliit break if internal is found
21:58.05freemangordonmerlin1991: could you fix that and retry?
21:58.29freemangordonPali: no, if it is found, exit status is 0
21:59.00Paliif true; then break; fi
21:59.06Palitrue always return 0
21:59.24Palifreemangordon: above grep is OK
21:59.40freemangordonok
21:59.45Paliright?
22:00.03freemangordongrep returns 1 if the text is not found
22:00.17freemangordonI guess 1 is treated as "true"
22:00.23freemangordonNormally, exit status is 0 if selected lines are found and 1 otherwise.
22:00.26Paliyes, and then break will not be called
22:00.30freemangordonBut the exit status is 2 if an error occurred, unless the -q or --quiet
22:00.30freemangordonor --silent option is used and a selected line is found.
22:01.28Palibut problem can be on line 93 or 103
22:01.39Paliif these grep fails, then it kill our script
22:02.23Palimerlin1991: can you add "|| true" to above lines after grep?
22:03.06merlin1991Pali: line 93 and 103?
22:03.15Paliin that diff
22:03.19Paliafter grep
22:03.31freemangordonmerlin1991: https://gitorious.org/community-ssu/upstart/commit/b7decb43c5cb19acb9d407abf45fb898035155bd
22:03.37Paliswaps=`echo $swaps | tr ' ' '\n' | grep ${emmc} || true`
22:03.40freemangordonthat diff
22:03.44Paligrep '^[^\ ]* / ' /proc/mounts >> $tmp_fstab || true
22:04.22Palifreemangordon: any command which can return non zero and is not in "if" can break booting
22:04.44freemangordonyeh
22:04.44freemangordon*yeah
22:05.06freemangordonwhat about rm -f $tmp_fstab?
22:05.46merlin1991returns 0 on missing file
22:05.50Pali-f - then it always returns 0
22:05.55freemangordonok
22:06.12freemangordonand it should be the same with/without sd card
22:08.46merlin1991the || true bits didn't heplp
22:08.58freemangordonmerlin1991: traces?
22:09.22*** join/#maemo-ssu DaRoDi (~DaRoDi@109.88.64.137)
22:09.22merlin1991now adding them
22:09.31freemangordonok
22:14.18Palimerlin1991: another question, but it is possible to push updated cssu-enabler with new GPG key to cssu-stable?
22:14.28merlin1991sure
22:14.37Palicssu-enabler is in user section, so users will see update
22:15.10Palistable branch on gitorious is prepared: https://gitorious.org/community-ssu/community-ssu-enabler/commits/stable
22:18.27*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
22:21.48merlin1991Pali: line 90 to 94 fails
22:22.34merlin1991the last trace that goes out is at line 89, and the first missing would be at line 95
22:22.46merlin1991gonna check if it#s the if bit or the swaps bit
22:23.02Palimerlin1991: run this on n900: blkid -c /dev/null -o device -t TYPE=swap
22:23.17Palifreemangordon, try too ^
22:23.27Palineed to be sure that blkid working
22:24.02freemangordon/dev/mmcblk1p3
22:24.03freemangordon/dev/mmcblk0p3
22:24.30Paliok
22:26.35freemangordonmaybe a stupid question, but shoudn't = be == in if [ "$swap_sd" = "0" ]; then
22:27.17Palino shell using =
22:27.23Palionly bash support ==
22:27.25freemangordonok
22:27.45merlin1991it fails in the if bit
22:27.53merlin1991I did put a trace after blkid
22:28.16Paliwhat?? in if?
22:28.36merlin1991either line 92 or 93 fails
22:28.53merlin1991trace on 91 comes in trace on 95 is missing
22:29.03merlin1991but I guess it 's the 93 line :D
22:29.10Palimerlin1991: trace also output of these commands
22:29.46PaliI need to know what is stored in ${swaps}, then in `echo $swaps | tr ' ' '\n'
22:30.06freemangordonPali: what will happen if we have 2 line $swaps
22:30.31Paliyou will have 2 swaps in system
22:30.33Drathircan i distrub a little?
22:30.41PaliDrathir: yes :-)
22:31.09Palifreemangordon: swapon -a will enable all swaps
22:32.13merlin1991swaps=`echo $swaps | tr ' ' '\n' | grep ${emmc}` returns 1
22:32.41Drathiri see works in progress and better i ask... How about power kernel updates for multiboot ?
22:32.47Paliand what is stored in swaps before and after?
22:33.11PaliDrathir: kernel-power does not support multiboot anymore
22:33.35freemangordonDrathir: use u-boot
22:34.21PaliDrathir: install u-boot (with 2.6.28 kernel) from extras and then install kernel power bootimg
22:34.24Drathirok but uboot from repo is fixed now and upgraded to latest version?
22:35.14PaliDrathir: yes
22:35.29Palihttp://maemo.org/packages/view/u-boot-flasher/
22:35.45Paliuse version from Extras-devel
22:37.35merlin1991Pali: the content of swaps is just "/dev/mmcblk0p3"
22:37.42Drathirok thx a lot i delayed install for a time and i try to update now 2.6.28.10 kernel power, uboot, uboot image.
22:37.50Palimerlin1991: it is ok
22:38.58*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
22:39.51freemangordonmerlin1991: did you trace $emmc too?
22:39.58Palimerlin1991: do you know why it failing?
22:40.26Palihm, if ${emmc} is empty, then grep ${emmc} fail
22:40.34freemangordonyep
22:40.54Palibut emmc cannot be empty
22:41.06merlin1991I'm adding traces for that aswell
22:41.48freemangordonPali: hmm, could emmc be local variable for the loop?
22:42.10Paliin shell there are no local variables
22:42.18freemangordonok
22:42.29Palionly bash has local variables, but that must be created by local keyword
22:46.00*** join/#maemo-ssu _rd (~rd@p57B49B32.dip0.t-ipconnect.de)
22:46.50Drathirfor sure if i have u boot is dont needed clean KP ? only KP for u-boot is needed? right?
22:47.16PaliDrathir: you need full KP with bootimg package
22:47.37freemangordonPali: I think he meant -flasher
22:48.18Drathirask because i have dependencies error
22:49.18merlin1991Pali:
22:49.30merlin1991err copy paste fail
22:49.49merlin1991emmc mmcblk1           swaps /dev/mmcblk0p3
22:49.53merlin1991this can't work
22:50.03merlin1991udev race condition yay
22:51.42freemangordonmerlin1991: but how then we have the same fstab?!?
22:51.56Palinew fstab is not generated
22:52.04Drathiron list are 1.Linux Kernel for power user 2.linux kernel for power user (boot image for u-boot) 3. u-boot with kernel 2.6.28-omap1 in this case i need only install 2 nd 3 package?
22:52.07Palifstab is wrote after that fail
22:52.10Paliok, root of this problem was found
22:52.18freemangordonoh
22:52.19freemangordoncorrect :)
22:52.49PaliDrathir: you need to instal 3, then 2. (which depends on 1.)
22:53.19DrathirPali: ok thx going to install
22:54.06Palifreemangordon: but I do not understand this: in old nokia code (line 44) was this: sfdisk -l /dev/mmcblk0 | /bin/busybox awk ...
22:54.10Paliwhy it worked?
22:54.16Paliand no race condition?
22:55.30Palifreemangordon, merlin1991, there is some udevadm command which wait until udev finish scripts...
22:55.32freemangordonmaybe sfdisk not using /sys/...
22:55.39Palimaybe this could help
22:55.59freemangordonudevsettle
22:56.00freemangordon?
22:56.09Palihm, maybe /sys and /dev are not same?
22:56.30Palie.g. old udev does not tell kernel to swap devices, but only do mv in /dev?
22:56.53Drathirlol nice !!!U-boot with kernel 2.6.28-omap1 breaks the 3rd party package policy :p goin to instal throught dpkg -i :p
22:57.07freemangordonDrathir: don;t
22:57.12PaliDrathir: not!
22:57.17Drathirok
22:57.24PaliDrathir: what it breaks?
22:57.29freemangordonmost probably it conflicts with multiboot
22:58.10freemangordonPali: adding udevsettle will most probably prolong the boot process
22:58.37Palifreemangordon: ok, but isnt above problem? ^^
22:59.08freemangordonPali: I think merlin1991 can check
22:59.16Palievery tool using only /dev/ and udev switch only devices in /dev/ and does *not* tell kernel that it was swiched
22:59.28freemangordoncould be
22:59.34Palibecause kp has patch for it, it has no problem
23:00.06Paliand if this is true, then there is no race condition
23:00.53Drathirok have a reason i think linux kernel for power user (boot image for multiboot) should delete this package?
23:00.55freemangordonPali: but why it boots without SD?
23:01.10Palibecause kernel allocate first empty device
23:01.20freemangordonah, i see
23:01.33freemangordonand it is mmcblkp0
23:01.39freemangordonand it is mmcblk0
23:01.48freemangordonwhatever :)
23:01.51Palimerlin1991: can you boot device with inserted SD card? (e.g hardcoding correct emmc or downgrading)?
23:02.14Paliwe need to know output of command: head /sys/block/*/device/../slot_name
23:03.07merlin1991I'll throw the card into the stock n900
23:03.32Palihm, and this is propably reason why I was unable to boot 3.9 kernel with last packages from cssu-devel
23:03.32merlin1991or do you need it at boot time
23:04.22Palimerlin1991: I need output of that from rcS-late and also when xterm when hildon-desktop is stared
23:04.40Palineed to check if it changes or not
23:04.52Paliand if it is incorrect or not
23:05.20PaliDrathir: which package to delete?
23:05.33merlin1991I'll get it tomorrow, I'm minutes away from involuntary headdeks
23:06.02freemangordonPali: see /sys/class/mmc_host/mmc1/mmc1:0001
23:06.18freemangordonblock:
23:06.51freemangordonthis is on KP ofc, but I guess it is the same on stock
23:07.04freemangordonor maybe not
23:07.06Drathirconflict package name is linux kernel for power user (boot image for multiboot) should delete this package?
23:08.00Paliwhich package are you trying to install?
23:08.54Drathiron update list are 1.Linux Kernel for power user 2.linux kernel for power user (boot image for u-boot) 3. u-boot with kernel 2.6.28-omap1.
23:09.46PaliDrathir: do you have multiboot installed?
23:13.05DrathirPali: how to check it? i have installed bootmenu and backupmenu
23:13.39Drathirlinux kernel for power user (boot image for multiboot) also is installed
23:14.16Drathirbut after start phone i have u-boot menu
23:16.57PaliDrathir: u-boot and multiboot cannot be installed together, also bootmenu and multiboot cannot be installed
23:17.11Paliso I belive you do not have multiboot installed
23:17.46PaliDrathir: make sure you have enabled Extras-Devel catalogue
23:17.53Drathiri dont see any package with name multiboot
23:18.01Paliand catalogue is updated
23:18.04Paliok
23:18.20Drathirwith multiboot is only that installed linux kernel for power user (boot image for multiboot) also is installed
23:18.51Drathiri checking throught nokia app manager
23:18.59Paliright
23:19.10Palicheck if you have extras-devel catalogue
23:19.13Drathiri do update again to check
23:29.20Drathirsomething new https://downloads.maemo.nokia.com/fremantle1.2/ovi/ not avaible connection reset by peer
23:29.28freemangordonPali: can't we use "ls /sys/block/mmcblk0/device/../mmc*/block:* | cut -f 3 -d ':'" to get the real block device
23:29.52freemangordonoops, ls /sys/block/$emmc/device/../mmc*/block:* | cut -f 3 -d ':'
23:30.12Drathirhttps://downloads.maemo.nokia.com/fremantle/ssu/mr0 the same reset by peer
23:30.59Drathirhttps://downloads.maemo.nokia.com/fremantle/ssu/apps/ the same reset by peer
23:33.32Drathirexclude that repository errors synchronise succesfull and have 2 new packages from cssu in upgrade list.
23:36.10freemangordonPali: http://pastebin.com/rzN7VuEK
23:40.23DrathirPali: checked with multiboot name is only that installed package: linux kernel for power user (boot image for multiboot)
23:40.35Palifreemangordon: you need reverse, map /dev/mmcblk* to /sys
23:40.47PaliDrathir: ok
23:40.57PaliDrathir: do you have extras-devel catalogue enabled?
23:41.28Palifreemangordon: and then use: /sys/dev/block/$major:$minor/device/../slot_name
23:41.49Palihow to get minor and major number of /dev/mmcblk0 ?
23:41.55freemangordonPali: I am too tired now, will either leave it to you or for tomorrow :)
23:42.06Paliok
23:42.14freemangordonhmm, lemme see
23:42.57Drathirhttp://repository.maemo.org/extras-devel/ and http://repository.maemo.org/community-testing/ are enabled...
23:43.10Drathirmean yes enabled
23:49.04PaliDrathir: ok
23:49.15Palinow you can try to upgrade kernel-power package
23:49.38Palitry to upgrade directly bootimg package
23:50.29freemangordonPali: ls -l /dev/$emmc | cut -c 35-42
23:55.23DrathirPali: if good think its number 1 not 2 for u-boot right?  1.Linux Kernel for power user 2.linux kernel for power user (boot image for u-boot) 3. u-boot with kernel 2.6.28-omap1.
23:55.57PaliDrathir: first update u-boot
23:56.10DrathirPali: ok

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.