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.54 | PeterParker | just 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.07 | kerio | restore your backup? |
08:28.49 | kerio | was there something particularly nonstandard in your configuration? |
08:32.44 | merlin1991 | Pali: http://talk.maemo.org/showthread.php?p=1350163#post1350163 |
08:33.28 | merlin1991 | peterpark_: we've updates system-services again (fstab generating script) did you have something like an ext3 parition? |
08:33.44 | Pali | string problem - right, modest-l10n was not updated |
08:34.10 | merlin1991 | Pali: 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.13 | Pali | last time update problem - hm, that worked fine in cssu-devel version |
08:34.19 | Pali | will look at it |
08:34.24 | merlin1991 | thanks |
08:34.38 | kerio | waaaaait, what |
08:34.52 | kerio | merlin1991: system services was pushed to the new T? |
08:34.54 | Pali | merlin1991: which git commit from modest is now in cssu-T? |
08:34.55 | merlin1991 | yes |
08:34.59 | kerio | great, i can't update now |
08:35.08 | merlin1991 | kerio: why? |
08:35.29 | kerio | doesn't mount /home correctly, for me |
08:35.43 | merlin1991 | Pali: I'm pretty sure it's 87fd24347463325b9e2dcb62b004971bec623ea7 |
08:35.43 | kerio | not sure why, didn't have the time to diagnose it |
08:36.04 | Pali | ok |
08:36.05 | merlin1991 | heh is your home ext4 or something else fancy? |
08:36.08 | kerio | yep |
08:36.16 | kerio | but i blocked the fstab generation |
08:36.21 | merlin1991 | ah well then system services fucks you up |
08:36.26 | kerio | no it doesn't |
08:36.31 | kerio | the whole point is that it doesn't |
08:36.45 | kerio | but it still did :3 |
08:37.05 | merlin1991 | when you got it running though there is a setting now to either use fstab generation or not |
08:37.27 | kerio | i know, and iirc that part worked |
08:37.58 | kerio | i just didn't have the time to do the backup/boot/rescueos/autopsy/restore thing |
08:41.29 | merlin1991 | freemangordon_: 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.18 | tadzik | wow, 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.02 | fw190 | merlin1991: 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.02 | merlin1991 | weird |
09:35.18 | merlin1991 | I tried the upgrade on a stock system, and DocScrutinizer05 did aswell |
09:35.27 | merlin1991 | there we had no reboot loops or anything |
09:35.41 | merlin1991 | do you have any fancy customisation of the boot process? |
09:36.49 | fw190 | no - to dumb for that |
09:36.54 | fw190 | just 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.12 | fw190 | Pali: I have accidentally removed the uninstal entry for Kernel Power. How to uninstall it without it or where from get that file ;) |
10:20.00 | peterpark_ | merlin1991: No I have only a 16GB sd but thats all |
10:22.40 | peterpark_ | should I fully reflash the phone, or is there some better approach? |
10:23.01 | Pali | fw190: run: apt-get install --reinstall kernel kernel-modules kernel-flasher |
10:23.03 | peterpark_ | eg I think there was a method to reinstall only bootpartition or something like this.. |
10:23.06 | freemangordon | merlin1991: re tklock - it is suposed to be that way |
10:23.18 | merlin1991 | okay |
10:23.20 | Pali | fw190: it will flash stock kernel back to n900 nand |
10:23.54 | freemangordon | merlin1991: though maybe if Pali's portrait support is enabled it will behave differently |
10:24.02 | Pali | freemangordon: there is some gconf switch for portrait lock |
10:24.25 | freemangordon | merlin1991: however this is non-standart |
10:24.36 | freemangordon | Pali: hmm? for tklock? |
10:24.42 | Pali | yes |
10:25.12 | Pali | but you also need theme with potrait background |
10:25.13 | freemangordon | Pali: I know, but it is not controlled by orientation lock |
10:25.36 | freemangordon | Pali: http://talk.maemo.org/showpost.php?p=1350148&postcount=1185 |
10:25.40 | freemangordon | that one |
10:26.09 | Pali | hm... |
10:26.19 | freemangordon | fw190: can you install syslog and boot into stock kernel |
10:26.44 | fw190 | freemangordon: dumb questions time - how? from terminall? |
10:27.32 | freemangordon | fw190: not dumb at all:). yes, apt-get install syslogd. And you have to have sdk (or tools repo) enabled |
10:27.59 | fw190 | uuuu are they in the HAM somewhere? |
10:28.10 | freemangordon | http://repository.maemo.org/#sdk_repositories |
10:28.15 | freemangordon | fw190: ^^^ |
10:28.19 | fw190 | ok I will add one |
10:28.29 | freemangordon | fw190: wait a second |
10:28.36 | freemangordon | to check which is the needed repo |
10:29.46 | *** join/#maemo-ssu lizardo (lizardo@nat/indt/x-dqbytgllpfecygbm) |
10:29.51 | freemangordon | fw190: seems it is in tools repo |
10:30.04 | freemangordon | fw190: http://wiki.maemo.org/Documentation/devtools/maemo5#Installation |
10:30.52 | freemangordon | fw190: http://wiki.maemo.org/Documentation/devtools/maemo5/syslog |
10:31.26 | fw190 | damn - 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.44 | freemangordon | merlin1991, Pali: any better/different idea how to find WTF cssu-t leads to reboot-loop |
10:32.05 | freemangordon | Pali: can fw190 just flash u-boot? |
10:32.27 | Pali | yes, uboot has attached stock kernel |
10:32.30 | freemangordon | (I didn;t check what your command is in backscroll :) ) |
10:32.48 | freemangordon | fw190: ^^^ |
10:33.05 | fw190 | ok I can flash it but my wifes XP PC has to start which will take some minutes |
10:33.24 | freemangordon | Pali: wait, he has to boot KP to able to boot maemo. to install syslog first |
10:34.02 | freemangordon | fw190: which kernel does it boot? KP or stock? |
10:34.03 | Pali | then you need kernel-power-modules and kernel-power-bootimg for booting from uboot |
10:34.22 | fw190 | damn - I did a lot of mess as I see it ;) |
10:34.30 | freemangordon | merlin1991: is it possible that something is thumb-compiled? |
10:34.38 | merlin1991 | I checked |
10:34.45 | merlin1991 | before I uploaded everything |
10:35.07 | freemangordon | merlin1991: as to me symptoms point to that. |
10:35.37 | freemangordon | if he is able to boot with KP and not with stack... |
10:35.41 | freemangordon | *stock |
10:38.06 | freemangordon | merlin1991: though... both you and DocScrutinizer05 are on stock kernel,ain't? |
10:38.11 | merlin1991 | yep |
10:38.24 | freemangordon | hmm, ok then, it is something else |
10:38.27 | *** join/#maemo-ssu peterpark (543e6261@gateway/web/freenode/ip.84.62.98.97) |
10:39.11 | freemangordon | fw190: so, you are in a boot loop now, ain;t? |
10:39.34 | fw190 | yes |
10:39.38 | fw190 | windows is started |
10:39.44 | freemangordon | fw190: do you still have kernel-power modules installed? |
10:39.47 | fw190 | ready to test if you still want |
10:39.57 | fw190 | no clue ;) |
10:40.12 | freemangordon | fw190: if you can;t boot into maemo, you cannot install syslog :( |
10:40.47 | freemangordon | fw190: what did you doo actually? |
10:40.51 | freemangordon | *do |
10:41.25 | fw190 | apt-get install --reinstall kernel kernel-modules kernel-flasher |
10:41.45 | freemangordon | and you can't boot now? |
10:41.48 | fw190 | no |
10:41.58 | freemangordon | Pali: ^^^ ?!? |
10:42.11 | freemangordon | ooh |
10:42.13 | freemangordon | wait |
10:42.31 | freemangordon | fw190: I think you still have kernel-power modules |
10:42.57 | freemangordon | fw190: do you know how to flash only the kernel? with flasher taht is |
10:43.05 | Pali | download zImage of kernel or kernel-power and try to boot it via flasher-3.5 |
10:43.06 | freemangordon | *that |
10:43.25 | freemangordon | fw190: or that ^^^ one |
10:43.47 | fw190 | freemangordon: nope I do not know how to do it ;) |
10:46.16 | freemangordon | Pali: can't remember the exact command to tell the flasher to bott a kernel, can you help? |
10:46.21 | freemangordon | *boot |
10:46.34 | Pali | $ flasher-3.5 -k zImage -l -b |
10:46.53 | freemangordon | fw190: ^^^ |
10:47.17 | freemangordon | fw190: thoug it is flasher-3.5.exe in your case |
10:47.47 | fw190 | do I have to download the kernel first and put it in the flasher folder? |
10:47.53 | freemangordon | yes |
10:48.08 | freemangordon | actually you have to extract the zImage from the .deb |
10:48.31 | fw190 | hahahahhahaha now you made my day |
10:48.46 | freemangordon | fw190: which version of KP you had installed? |
10:49.03 | fw190 | kp 52 latest from repo |
10:49.33 | freemangordon | fw190: 7-zip is able to open/extract .deb files under win |
10:50.25 | fw190 | ah ok |
10:51.34 | freemangordon | fw190: you need kernel-power-bootimg .deb |
10:52.29 | freemangordon | fw190: zImage is in data.tar.gz\data.tar\.\boot\ |
10:53.09 | fw190 | downloaded the deb |
10:53.13 | fw190 | running 7 zip |
10:54.56 | fw190 | should it have 1kb? I think not or it is ok? |
10:55.05 | freemangordon | WTF?!? http://talk.maemo.org/showpost.php?p=1350194&postcount=3 |
10:55.10 | freemangordon | fw190: what? |
10:55.15 | freemangordon | what is 1 kb? |
10:55.27 | fw190 | the sie of zImage after extraction ;) |
10:56.17 | freemangordon | fw190: oh, ny bad, zimage is in data.tar.gz\data.tar\.\opt\boot\ |
10:56.22 | freemangordon | *my |
10:57.07 | fw190 | now it look ok :P |
10:57.42 | freemangordon | merlin1991, Pali, see the above post |
10:58.12 | freemangordon | battery removal fixed the reboot loop. wtf? |
10:59.13 | Pali | ?? |
10:59.26 | fw190 | not for me ;) |
11:00.19 | Pali | maybe bootreason? if you remove battery and start phone again, bootreason is pwr_key |
11:00.42 | Pali | and not sw_rst or actdead |
11:01.23 | freemangordon | yep. |
11:01.35 | freemangordon | Pali: BTW is profiled included in he update? |
11:01.49 | freemangordon | Pali: http://talk.maemo.org/showpost.php?p=1350207&postcount=1194 |
11:01.56 | Pali | I do not know if profiled is included |
11:02.02 | freemangordon | merlin1991: ^^^ ? |
11:02.20 | Pali | I do not remember what has beed updated |
11:02.33 | freemangordon | well, I guess there is a changelog :D |
11:02.39 | freemangordon | fw190: how's going on? |
11:03.12 | fw190 | it send the kernel |
11:03.17 | fw190 | trying to boot |
11:03.42 | Pali | no, profiled daemon is not there: https://gitorious.org/community-ssu/mp-fremantle-community-pr/commit/29c8244d251c9a0c8e2b7ee8294b915b4f42f1ee |
11:03.56 | fw190 | no good - I had to mess something else - agan reboot loop and red indicatio led |
11:06.15 | Pali | fw190: try to boot stock kernel |
11:06.28 | fw190 | uboot doesn't show |
11:06.48 | freemangordon | fw190: sure, why do you expect to have u-boot? |
11:07.07 | Pali | fw190: 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.13 | fw190 | Plai told me to try to boot stock kernel ;) |
11:07.27 | freemangordon | you'd better listen to him :P |
11:07.44 | fw190 | but I'm on stock right now and i boot loop |
11:08.22 | Pali | when device reboot? |
11:08.27 | Pali | what you see before reboot? |
11:09.09 | fw190 | I see: NOKIA |
11:09.13 | fw190 | then black screen |
11:09.18 | fw190 | then red indicator led |
11:09.25 | fw190 | black screen |
11:09.32 | Pali | ok |
11:09.37 | fw190 | and nokia again |
11:09.41 | Pali | try to boot stock kernel via flasher-3.5 |
11:09.49 | fw190 | ok will do |
11:09.50 | Pali | unpack it from above DEB package |
11:14.33 | fw190 | it sendedn to the device |
11:14.52 | fw190 | trying to boot |
11:15.35 | fw190 | nokia , black screen, red indicatror and nokia ;) |
11:16.28 | fw190 | guys maybe I will just flash it ? I dont want to waste your time |
11:17.17 | Pali | propably only full reflash... |
11:18.19 | fw190 | not a problem - N900 is just for doing that - mesing it, flashin messing it flashing ;) |
11:18.26 | fw190 | I hoped that I could help |
11:18.36 | fw190 | bit again I didn't think |
11:18.45 | fw190 | and should have waited for freemangordon |
11:18.57 | fw190 | well back to the grawing board for me ;) |
11:22.32 | fw190 | sory for all the typos ;) |
11:28.32 | kerio | as a sidenote, busybox-power includes a syslogd and a klogd |
11:34.14 | fw190 | kerio: damn - this the first time I didn't install it - never used it and now It could help |
11:34.20 | fw190 | fresh and clean N900 |
11:34.25 | fw190 | instaling latest T |
11:53.02 | fw190 | merlin1991: fresh flash and latest T doesn't boot |
11:53.18 | fw190 | black screen |
11:53.20 | fw190 | ;) |
11:56.44 | *** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150) |
12:05.07 | freemangordon | fw190: please, install syslog :( |
12:05.24 | freemangordon | BEFORE installing cssu-t that is |
12:11.24 | *** join/#maemo-ssu NIN101 (~NIN@p5DD28EE7.dip0.t-ipconnect.de) |
12:43.33 | fw190 | ok will give it a shot |
12:43.43 | fw190 | give 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.44 | fw190 | freemangordon: 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.06 | Pali | fw190: install syslog |
13:46.53 | Pali | freemangordon, merlin1991: I created script which show table of all CSSU packages with versions (git, devel, testing, stable) |
13:47.10 | Pali | this can be used to check if everything was pushed to git/apt repos |
13:50.07 | Pali | freemangordon, merlin1991: see http://atrey.karlin.mff.cuni.cz/~pali/cssu-state.sh |
14:00.42 | freemangordon | Pali - any idea how to access syslog while in a boot loop? |
14:00.58 | Pali | freemangordon: rescueOS |
14:01.20 | Pali | or enabling R&D mode with disabled watchdogs, lifeguard, forced powerkey... |
14:02.00 | freemangordon | hmm, that one might work if hildon-desktop starts |
14:02.51 | freemangordon | fw190: did you install syslog? |
14:03.35 | freemangordon | if yes, then install cssu (no need of pr 1.3.1) |
14:04.05 | fw190 | just installin the catalog |
14:04.14 | *** join/#maemo-ssu M13 (~MirandaLS@170.133-224-87.telenet.ru) |
14:04.17 | fw190 | my mother in law colled for diner ;) |
14:04.18 | freemangordon | if you enter bootloop again, we'll have to find a way to get /var/log/syslog out of the device |
14:04.26 | fw190 | this was a serious situation ;) |
14:04.39 | freemangordon | :) |
14:12.25 | fw190 | ok |
14:12.32 | fw190 | have it installed |
14:13.00 | fw190 | now time for T |
14:13.19 | freemangordon | merlin1991: could you try that http://talk.maemo.org/showpost.php?p=1350247&postcount=8 |
14:17.31 | Pali | freemangordon, merlin1991: packages state: http://pastebin.com/kN56BLjm |
14:19.28 | fw190 | freemangordon: instaloing T syslogd on board |
14:26.55 | *** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn) |
14:27.13 | fw190 | freemangordon: update wen ok, the phone reeboted and now he funny thing |
14:27.31 | *** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig) |
14:27.50 | fw190 | the screen is black - I meanto black dead |
14:28.04 | fw190 | you can see that it is aliave |
14:29.07 | freemangordon | fw190: hmm? |
14:29.08 | fw190 | turning it on gives nokia logo and then nothing more |
14:29.19 | fw190 | no dots no nothing |
14:29.25 | freemangordon | fw190: remove the battery |
14:29.56 | freemangordon | Pali: something with boot script? ^^^ |
14:30.52 | freemangordon | Pali: whatever was it called |
14:31.27 | Pali | no dots? then problem in dsme/mce/bme/upstart |
14:31.42 | Pali | can you enable R&D mode if it show kernel & component version? |
14:31.44 | fw190 | I can turn it off |
14:31.59 | fw190 | normally when you turn a working N900 the wjite led is there |
14:32.09 | fw190 | turning it in tis state also gives the white led |
14:32.19 | freemangordon | Pali: upstart was updated afaik |
14:33.52 | Pali | right, but working fine from cssu-devel |
14:35.03 | freemangordon | Pali: we still have NFC what's going on, so lets not make conclusions :) |
14:35.19 | Pali | ok |
14:35.44 | freemangordon | fw190: does it boot after removing the battery? |
14:35.44 | Pali | problem is that I really do not remember what was updated since begin of this year... |
14:35.52 | freemangordon | yeah :( |
14:35.57 | Pali | and what was changed... |
14:35.57 | fw190 | freemangordon: no |
14:36.11 | Pali | fw190: do you have SD card? |
14:36.25 | freemangordon | fw190: to install rescue OS on it |
14:36.25 | fw190 | yes |
14:36.32 | Pali | unplug it |
14:36.36 | Pali | and try again |
14:37.20 | freemangordon | merlin1991: 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.05 | fw190 | dottttttttttttttttttttttsssssssssssssssssssssss :) |
14:38.16 | fw190 | haaaaaaaaaaaaaaaands :) |
14:38.28 | freemangordon | :D |
14:38.29 | fw190 | clock setting ;) |
14:38.39 | freemangordon | fw190: wait, how? |
14:38.55 | fw190 | without sd card |
14:39.14 | Pali | somebody wrote that now on TMO that removing SD card helped with booting |
14:39.25 | freemangordon | Pali: seems you might screwed up fstab generation ;) |
14:39.27 | tadzik | so, after an update, one should remove battery and sdcard? ;) |
14:39.47 | Pali | freemangordon: but I do not know why my n900 booting with with SD card |
14:40.10 | freemangordon | Pali: me neither but we have that confirmed by at least two users |
14:40.12 | fw190 | Pali: you have a super N900 whoch can fight with cryptonite :P |
14:40.51 | freemangordon | fw190: could you pastebin your syslog? |
14:41.18 | freemangordon | fw190: do not put the card back |
14:41.34 | fw190 | where should I look for it ( I warned you that I know nothing) |
14:41.35 | fw190 | damn |
14:41.40 | fw190 | I did put it back |
14:41.44 | fw190 | but didn't reboot |
14:41.49 | freemangordon | "/var/log/syslog" |
14:42.55 | freemangordon | Pali: hmm, the difference could be that the version in -devel is installed by apt-get |
14:43.21 | freemangordon | and not by HAM with the following reboot |
14:43.21 | fw190 | is ther a command to show it - else I would have to install hamster filer or something to get there |
14:43.26 | Pali | so maybe HAM updated it incorrectly? |
14:43.39 | freemangordon | Pali: i doubt |
14:44.00 | freemangordon | Pali: was that somehow related to kernel-power-settings? |
14:44.30 | Pali | freemangordon, this could be problem with last KPS |
14:44.44 | Pali | s/last/not last/ |
14:44.52 | freemangordon | I mean - I vaguely remember something with KPS and upstart |
14:45.07 | freemangordon | oh, wait |
14:45.20 | freemangordon | fw190's device is freshly flashed |
14:45.28 | Pali | KPS had some very bad hack for usb networking and fsck which could cause some problems |
14:46.02 | freemangordon | fw190: it is a file, just copy it on your pc and open it with a text editor (but not notepad) |
14:46.24 | freemangordon | Pali: no KPS on fw190's device ;) |
14:46.40 | Pali | fw190: please upload somehwere these files: /etc/fstab /etc/event.d/rcS-late /etc/default/mount-opts |
14:46.48 | Pali | I need to know if was correctly updated |
14:46.52 | fw190 | connecting to pc |
14:46.57 | fw190 | give me minute |
14:47.00 | freemangordon | ok |
14:47.20 | freemangordon | goes on his way home, will be back in some 30 minutes |
14:47.25 | freemangordon | bbl |
14:47.32 | Pali | merlin1991: Did you included this commit in CSSU-T? https://gitorious.org/community-ssu/upstart/commit/9dcf3c2a075f7aaf3b69920dbf4014271434dc9f |
14:47.51 | merlin1991 | iirc I left it out |
14:49.25 | Pali | ok, then this commit did not caused it |
14:51.26 | fw190 | Pali: I have connected it to my opensuse but can not acces those files - how to do it? |
14:52.35 | Pali | fw190: 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.00 | Pali | then connect device to pc in mass storage mode, MyDocs will be exported via usb |
14:54.00 | fw190 | but is /var/log/syslog in MyDocs? |
14:55.57 | Pali | fw190, no |
14:56.10 | fw190 | just as I suspected ;) |
14:56.17 | Pali | copy it to MyDocs from n900 xterm |
14:56.17 | fw190 | freemangordon wanted that file |
14:56.31 | Pali | me too |
14:56.40 | Pali | also: /etc/fstab /etc/event.d/rcS-late /etc/default/mount-opts |
14:56.55 | fw190 | !@#$%$%^&* |
15:04.06 | fw190 | I have those files |
15:04.08 | Pali | fw190: when you have these files in pc, post them for example to pastebin |
15:04.18 | fw190 | pastebin or upload somewhere |
15:04.25 | Pali | where you want |
15:04.36 | fw190 | can I open them with openSuse text editor Kwrite? |
15:04.45 | Pali | yes |
15:04.48 | fw190 | feemangordon sad something not to open them with notepad |
15:04.54 | Pali | these are text files |
15:05.15 | Pali | files can be big, so some editors can freeze on big files :-) |
15:05.49 | fw190 | fstab http://pastebin.com/kKdBACwT |
15:06.24 | fw190 | mount-opts http://pastebin.com/h5K9ZWEF |
15:06.57 | fw190 | rcslate http://pastebin.com/Vp2J4v44 |
15:07.44 | Pali | all 3 files are OK |
15:07.52 | Pali | correctly updated (and fstab generated) |
15:08.12 | fw190 | syslog http://pastebin.com/MUeLjypj |
15:09.12 | fw190 | Pali: where they created when the sd caed was in or when I removed it and booted? |
15:09.43 | Pali | mount-opts and rcS-late is updated from apt |
15:09.51 | Pali | fstab is generaring every device startup |
15:10.26 | fw190 | one 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.29 | fw190 | ;) |
15:10.32 | fw190 | have to go now |
15:15.09 | Pali | freemangordon: look at syslog, I do not see where it rebooting |
15:24.14 | Pali | fw190: please run this command on n900: head /sys/block/*/device/../slot_name |
15:24.19 | freemangordon | Pali: wtf? mmcblk0: mmc0:0007 SD04G 3.72 GiB |
15:24.59 | freemangordon | Pali: mmcblk1: mmc1:0001 MMC32G 29.8 GiB |
15:25.11 | freemangordon | seems those are swapped |
15:25.35 | Pali | rcS-late checking for internal string in slot_name |
15:25.58 | freemangordon | Pali: could be different on stock kernel |
15:26.00 | Pali | so I need output from above command |
15:26.24 | freemangordon | ah, i see |
15:26.37 | Pali | by default mmc0 is SD card, mmc1 is eMMC. maemo has udev rule which switch eMMC to mmc0 |
15:26.57 | freemangordon | ok |
15:27.00 | Pali | kernel-power has patch which force eMMC to be mmc0 |
15:27.33 | Pali | stock kernel does not have this patch, so eMMC is by default mmc1 in kernel until udev switch it |
15:28.28 | Pali | hm, maybe race condition between rcS-late udev and script which mounting /home ? |
15:30.13 | Pali | freemangordon: can you post output of $ head /sys/block/*/device/../slot_name |
15:37.58 | fw190 | Pali: the output is internal |
15:38.29 | Pali | fw190: run also: ls /sys/block/*/device/../slot_name |
15:39.33 | fw190 | mcblk0 |
15:39.53 | Pali | ok |
15:41.42 | freemangordon | Pali: do you still need me to post ^^^? |
15:41.49 | Pali | yes |
15:41.55 | Pali | just to be sure |
15:41.56 | freemangordon | ok, just a minute |
15:44.27 | freemangordon | Pali: hmm, can't see slot_name |
15:44.45 | freemangordon | Pali: could you give me the full path |
15:45.12 | Pali | run: ls /sys/block/*/device/../slot_name |
15:45.22 | Pali | this is used in rcS-late |
15:46.00 | Pali | "*" should be expanded to mmcblk0 and mmcblk1 |
15:46.28 | freemangordon | ok |
15:46.41 | freemangordon | damn, cannot connect the device to wifi :( |
15:50.15 | freemangordon | Pali: |
15:50.17 | freemangordon | Nokia-N900:~# head /sys/block/*/device/../slot_name |
15:50.19 | freemangordon | ==> /sys/block/mmcblk0/device/../slot_name <== |
15:50.19 | freemangordon | internal |
15:50.20 | freemangordon | ==> /sys/block/mmcblk1/device/../slot_name <== |
15:50.22 | freemangordon | external |
15:50.33 | Pali | OK |
15:52.06 | freemangordon | Pali: BTW could it be a problem if those files were generated under KP? |
15:53.08 | Pali | freemangordon: if there is no slot_name with internal then rcS-late fallback to mmcblk0 |
15:56.30 | freemangordon | Pali: which is uSD on stock kernel before renaming |
15:56.53 | freemangordon | iiuc |
15:57.18 | Pali | stock kernel before udev is started, SD card is mmcblk0 |
15:57.48 | freemangordon | ok, so it tries to boot maemo from uSD :D:D:D |
15:58.32 | freemangordon | correct? |
16:01.56 | fw190 | uuuuuuuu la la http://wiki.hetzner.de/index.php/Security_Issue/en |
16:02.28 | Pali | freemangordon: I think no, because udev should be started before rcS-late |
16:02.54 | Pali | also in old rcS-late was hardcoded mmcblk0 |
16:07.53 | *** join/#maemo-ssu arcean (~arcean@aacs217.neoplus.adsl.tpnet.pl) |
16:08.46 | freemangordon | Pali: mmcblk0: mmc1:0001 MMC32G 29.8 GiB |
16:08.59 | freemangordon | this is when it boots without uSD card |
16:10.06 | Pali | it is ok |
16:11.50 | freemangordon | Pali: do you have an idea what happens? |
16:12.02 | Pali | no |
16:12.21 | Pali | but I'd like to see /etc/fstab when SD card is in device |
16:12.31 | freemangordon | can't you reflash and test? |
16:12.43 | Pali | not now |
16:12.48 | freemangordon | I guess you have more than one n900 |
16:12.55 | Pali | I have one n900 |
16:12.59 | freemangordon | oh |
16:13.27 | freemangordon | merlin1991: ping |
16:13.51 | merlin1991 | pong |
16:13.58 | merlin1991 | freemangordon: ^^ |
16:14.22 | freemangordon | merlin1991: can you put a SD card on your device with stock kernel? |
16:14.30 | merlin1991 | sure |
16:14.38 | merlin1991 | time to play the guessing game |
16:14.39 | freemangordon | merlin1991: see backscroll |
16:14.45 | merlin1991 | which device currently holds the sd card xD |
16:14.57 | freemangordon | the one that doesn;t boot :P |
16:15.24 | freemangordon | merlin1991: do you have uSD with rescueOS on it? |
16:16.03 | merlin1991 | where's my sd card o_O |
16:17.02 | freemangordon | Pali: which script should merlin1991 modify in order to copy the newly generated fstab in a safe place? |
16:17.22 | freemangordon | that way no rescueOS will be needed |
16:17.29 | merlin1991 | freemangordon: I need to find the sd card first |
16:17.41 | Pali | fstab is generated in /etc/event.d/rcS-late |
16:17.50 | freemangordon | merlin1991: wouldn't it be faster to buy a new one? :D |
16:18.17 | Pali | find command "cmp" aftet that is decided if /etc/fstab will be replaced by new from /tmp/ or not |
16:19.42 | merlin1991 | found the sd, it was in the raspberry pi :D |
16:21.17 | freemangordon | merlin1991: I'd recomment adding "cp $fstab /" after "cmp -s $tmp_fstab $fstab || cp $tmp_fstab $fstab" |
16:21.33 | freemangordon | before booting with uSD in |
16:22.50 | freemangordon | Pali: what will happen if cmp returns error? |
16:24.10 | Pali | files are different |
16:24.12 | merlin1991 | so I've added the cp |
16:24.27 | merlin1991 | and currently watch it boot |
16:24.35 | freemangordon | Pali: cmp returns > 1 on error |
16:25.05 | Pali | this cmp code was not changed, comes from nokia |
16:25.09 | freemangordon | merlin1991: oh, that was stupid by my side |
16:25.26 | freemangordon | you need to cp only if the file does not already exist |
16:26.00 | freemangordon | something like if [ ! -f /$fstab }; then ... |
16:26.04 | freemangordon | merlin1991: ^^^ |
16:26.16 | merlin1991 | well i didn't even get dots |
16:26.46 | freemangordon | merlin1991: sorry, I am a bit sleepy :) |
16:27.32 | freemangordon | merlin1991: could you add the above "if", remove /fstab and retry |
16:32.43 | merlin1991 | hm again black screen |
16:33.15 | merlin1991 | what am I actually testing? |
16:33.46 | *** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net) |
16:35.18 | merlin1991 | freemangordon: Pali? |
16:35.38 | freemangordon | merlin1991: hmm? sorry, got disconnected |
16:35.53 | merlin1991 | what am I actually testing? |
16:35.56 | Pali | merlin1991: I need to see your fstab when boot is broken |
16:36.07 | merlin1991 | it didn't copy it for some reason |
16:36.22 | Pali | so maybe rcS-late was not called? |
16:36.31 | freemangordon | looks like |
16:36.45 | merlin1991 | I did have the /fstab when I had no conditional though |
16:36.55 | Pali | can you try to add some "echo test1 > /out" lines to rcS-late? |
16:37.11 | freemangordon | Pali: "if [ ! -e /etc/fstab ] || [ "$genfstab" != "0" ]; then" |
16:37.14 | Pali | if rcS-late fail, then it stop executing other lines |
16:37.29 | merlin1991 | i'll move it to cp $fstab /$fstab`date` |
16:37.38 | freemangordon | fine :) |
16:37.49 | Pali | so add some debug echo tests to rcS-late |
16:38.04 | Pali | then we see where is failing... |
16:40.25 | freemangordon | :nod: |
16:42.40 | merlin1991 | hm the backtick modification broke booting |
16:42.42 | merlin1991 | ooops :$ |
16:44.20 | freemangordon | :( |
16:52.57 | freemangordon | merlin1991: reflashing? |
17:22.47 | freemangordon | merlin1991, 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.44 | merlin1991 | freemangordon: 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.44 | generatorglukoff | hello |
19:46.58 | generatorglukoff | i have a problem with reboot loop |
19:47.08 | generatorglukoff | what can i do to help fixing it? |
19:47.41 | merlin1991 | take out your sd card |
19:48.06 | generatorglukoff | btw, syslog: http://pastebin.com/6sYspitX |
19:48.38 | generatorglukoff | merlin1991: i can boot only from wall charger, sd card is out |
19:48.48 | merlin1991 | now this is more than odd |
19:50.01 | generatorglukoff | battery is almost full btw |
19:50.59 | merlin1991 | you'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.10 | Pali | in that syslog is only: "Jun 7 22:19:18 Nokia-N900 DSME: Shutdown" |
19:52.22 | Pali | reason why DSME decided to shutdown is unknown |
19:56.09 | generatorglukoff | i've installed syslogd via apt-get, how can i make syslogd to start earlier? |
19:56.42 | Pali | generatorglukoff: not possible |
19:56.51 | Pali | but it does not help to start earlier |
19:57.08 | Pali | DSME did not wrote to syslog, why decided to shutdown |
19:57.41 | Pali | hm, maybe there can be problem with bootreason? |
19:57.50 | generatorglukoff | how to check? |
19:58.24 | Pali | what is in file /var/lib/dsme/saved_state ? |
19:58.36 | freemangordon | merlin1991: remove the fcking -pr thingie from the repo until we find what happens |
19:58.45 | merlin1991 | can't |
19:58.50 | freemangordon | what? |
19:58.53 | freemangordon | why? |
19:59.00 | generatorglukoff | Pali: USER now |
19:59.03 | merlin1991 | I have no idea how |
19:59.08 | Pali | ok |
19:59.32 | Pali | merlin1991: manually edit Packages and Packages.gz files |
19:59.39 | freemangordon | remove the .deb, I'd prefer "use nokia suite" rather than bricked devices. |
19:59.39 | Pali | and remove new pr package |
20:00.03 | freemangordon | merlin1991: or remove upstart |
20:00.05 | Pali | yes, renaming/removing DEB will also work |
20:00.14 | freemangordon | upstart.deb that is |
20:00.16 | Pali | freemangordon: we do not know if it is upstart |
20:00.23 | Pali | maybe it is dsme or other package |
20:00.29 | freemangordon | pali - ok, but it is suspected |
20:00.34 | freemangordon | could be |
20:00.44 | Pali | I think not |
20:01.13 | freemangordon | ok, win't argue on the exact package, eveyone of them will do the job |
20:01.18 | freemangordon | *won't |
20:01.55 | Pali | osso-af-utils was not updated in cssuT, right? |
20:02.16 | merlin1991 | nope |
20:02.20 | Pali | ok |
20:02.23 | merlin1991 | I've remove the mp for now |
20:02.54 | Pali | merlin1991: can you give list of all packages which was updated? |
20:03.03 | Pali | I have no other idea what to do... |
20:03.19 | merlin1991 | on my server look into /home/christian/cssuT8 |
20:03.36 | merlin1991 | everything that was in the release is in there |
20:03.45 | merlin1991 | exctly those files :) |
20:04.24 | Pali | ok |
20:05.10 | merlin1991 | I find it interesting though that only some users are affected |
20:05.40 | Pali | yes, this is what I do not understand... |
20:06.05 | Pali | merlin1991: do you have unbootable cssuT device? |
20:06.23 | merlin1991 | only since I messed with rcS-late |
20:06.36 | merlin1991 | before that it didn't boot when the sd was in but did boot without |
20:07.03 | Pali | ok, so SD card is really problem |
20:08.36 | Pali | or problematic looks like dsme and upstart |
20:08.47 | Pali | no other new system package |
20:09.50 | Pali | so my idea is to downgrade (or not upgrade) that packages and check if problem is there |
20:10.10 | Pali | merlin1991, freemangordon ^^ |
20:10.35 | merlin1991 | Pali: I can look into that after the council meeting and dinner |
20:10.43 | Pali | ok |
20:19.13 | freemangordon | Pali: ok, sounds sane |
20:19.37 | *** join/#maemo-ssu eddyb (~eddy@unaffiliated/eddyb) |
20:19.51 | Pali | freemangordon, we have another problem with last cssuT |
20:20.02 | eddyb | http://talk.maemo.org/showthread.php?t=88578 |
20:20.03 | freemangordon | what? |
20:20.10 | Pali | eddyb got this problem: http://talk.maemo.org/showthread.php?t=88578 |
20:20.15 | eddyb | the exact same problem as in the images there |
20:20.42 | Pali | maybe broken qt,zlib,png? |
20:20.52 | eddyb | the first reboot after the reboot during update |
20:21.04 | eddyb | Pali: comments on that thread suggest missing theme |
20:21.12 | Pali | or maybe /opt is mounted? |
20:21.14 | freemangordon | Pali: i'd rather say it is missing/broken theme |
20:21.26 | freemangordon | or that one |
20:21.48 | freemangordon | hmm, is maemo bootable with opt not mounted? |
20:21.52 | Pali | I'd like to see /etc/fstab from eddyb device |
20:22.01 | freemangordon | yep |
20:22.01 | eddyb | now it seems more responsive than before |
20:22.13 | eddyb | hopefully I can get something going |
20:22.14 | freemangordon | eddyb: sure, there are no graphics to draw :) |
20:22.15 | Pali | freemangordon, maybe yes |
20:22.31 | freemangordon | eddyb: do you have ssh to the device |
20:22.33 | freemangordon | ? |
20:23.09 | eddyb | freemangordon: I have ssh on the device, not sure if I have the server enabled |
20:23.11 | eddyb | hmm |
20:23.22 | eddyb | let me port scan from laptop |
20:23.53 | freemangordon | eddyb: can you start xterm? |
20:23.53 | eddyb | wtf, 3 other people are connected on my wifi |
20:24.03 | eddyb | freemangordon: Ctrl+Shift+X starts now |
20:24.07 | freemangordon | ctrl+shift+x |
20:24.10 | freemangordon | ok |
20:24.36 | freemangordon | eddyb: do you have sdcard in the device? |
20:24.40 | eddyb | nope |
20:24.51 | freemangordon | and out of the device? |
20:24.53 | eddyb | what can I do to enable ssh? |
20:25.20 | eddyb | freemangordon: hmm? I removed the SD card as Pali suggested, made no difference |
20:25.32 | eddyb | although it is slightly more usable now |
20:25.34 | freemangordon | eddyb: do you have sd card reader on your PC? |
20:25.50 | eddyb | yes |
20:25.54 | freemangordon | good |
20:25.57 | Pali | eddyb: install openssh-server package via apt-get |
20:25.58 | eddyb | (laptop) |
20:25.58 | freemangordon | put the card back |
20:26.10 | freemangordon | Pali: it wants you to enter the password |
20:26.21 | Pali | ah, yes :-( |
20:26.24 | freemangordon | I am not sure he'll be able to see it |
20:26.30 | eddyb | :( |
20:26.47 | eddyb | heh, I can see the volume slider |
20:26.59 | eddyb | welp |
20:27.07 | eddyb | what's the easiest reverse shell to setup? |
20:27.19 | freemangordon | eddyb: 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.30 | eddyb | ah |
20:27.31 | freemangordon | Pali: ok? &&& |
20:27.34 | freemangordon | ^^^ |
20:27.34 | Pali | ok |
20:27.44 | eddyb | I can probably get them faster using MyDocs |
20:27.53 | Pali | $ mount |
20:27.57 | Pali | $ cat /etc/fstab |
20:27.58 | freemangordon | eddyb: try that one too |
20:28.14 | freemangordon | it will be faster if it works |
20:28.16 | eddyb | I'll copy fstab to MyDocs |
20:28.24 | Pali | $ cat /var/lib/dsme/saved_state |
20:28.37 | freemangordon | eddyb: mount > $mydocs_file |
20:28.47 | Pali | $ ls -l -a /dev |
20:29.14 | freemangordon | eddyb: pipe all those (with double >, i.e. >> ) to a file in MyDocs |
20:29.26 | Pali | $ cat /var/log/fsck_home.log |
20:29.31 | freemangordon | eddyb: sorry if you are fine with the shell :) |
20:29.53 | Pali | $ cat /var/lib/fsck_ext3_home.log |
20:29.56 | eddyb | wait |
20:30.09 | freemangordon | eddyb: no MyDocs? |
20:30.11 | eddyb | I 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.52 | eddyb | is there a simple reverse shell I can drop in MyDocs and execute? |
20:30.57 | Pali | eddyb: try this: |
20:30.58 | freemangordon | eddyb: press blue arrow + Sym |
20:31.09 | eddyb | freemangordon: but I can't see what's what |
20:31.10 | Pali | cd /home/user/MyDocs |
20:31.14 | Pali | cp /etc/fstab . |
20:31.18 | Pali | cp /var/lib/dsme/saved_state . |
20:31.22 | eddyb | freemangordon: I seriously need a clone just so I can navigate this one |
20:31.27 | Pali | cp /var/log/fsck_home.log . |
20:31.34 | Pali | cp /var/lib/fsck_ext3_home.log . |
20:31.36 | freemangordon | eddyb: oh, yes |
20:31.37 | eddyb | Pali: ok, those should be easy :D |
20:32.36 | freemangordon | eddyb: > is the second from left to right on the top row |
20:32.52 | Pali | mount > mount |
20:32.59 | Pali | ls -l -a /dev > dev |
20:33.01 | freemangordon | hopes at least the geometry is ok |
20:33.34 | Pali | ">" char is second on screen in first row |
20:33.50 | eddyb | http://ix.io/62l |
20:34.22 | eddyb | I realized I should be able to wget a script, chmod +x and then run |
20:34.32 | Pali | nice :-) |
20:34.33 | eddyb | do I need +x if I do sh script? |
20:34.46 | Pali | you can start it: sh script |
20:35.17 | Pali | eddyb: add also mount and ls |
20:36.09 | eddyb | http://ix.io/62m |
20:36.15 | freemangordon | eddyb: is there MyDocs? |
20:36.34 | generatorglukoff | hmm, downgrading dsme seems helps for me |
20:36.56 | freemangordon | generatorglukoff: great |
20:37.11 | eddyb | I don't think I have wget :( |
20:37.50 | generatorglukoff | freemangordon: is it possible to bisect changes to dsme and how can i help here? |
20:38.23 | freemangordon | generatorglukoff: there are only to small commits afak |
20:38.39 | freemangordon | Pali: "export BOOTSTATE=`cat /var/lib/dsme/saved_state`" ? |
20:39.13 | Pali | maybe saved_state file not exists? |
20:39.21 | Pali | or is empty? |
20:39.40 | freemangordon | eddyb: can you cat /var/lib/dsme/saved_state |
20:39.51 | freemangordon | and tell us the result |
20:40.25 | eddyb | I'll try to copy the script in MyDocs and run it from there |
20:40.38 | freemangordon | Pali: though... this can result in bootloop, not in a missing graphics aiui |
20:41.41 | eddyb | hey |
20:41.44 | eddyb | it was doing something! |
20:42.16 | eddyb | if only this darn thing didn't make so many sounds |
20:42.16 | Pali | freemangordon: yes |
20:42.28 | eddyb | it feels like all ui-related settings are borked |
20:42.47 | freemangordon | eddyb: is /opt monted? |
20:42.52 | freemangordon | *mounted |
20:43.04 | eddyb | /home/opt on /opt type none (bind) |
20:43.12 | eddyb | saved_state is USER |
20:43.18 | freemangordon | omg |
20:43.35 | Pali | eddyb, what is in fsck files? |
20:43.47 | Pali | maybe /home FS is corrupted? |
20:44.16 | eddyb | OH DEAR |
20:44.28 | eddyb | you may not want to see this |
20:44.34 | *** join/#maemo-ssu BCMM (~BCMM@unaffiliated/bcmm) |
20:45.12 | freemangordon | eddyb: which one? |
20:45.33 | eddyb | fsck |
20:45.36 | freemangordon | oh |
20:45.42 | eddyb | yay for gist drag and drop |
20:45.46 | eddyb | this will take a while |
20:45.53 | eddyb | https://gist.github.com/eddyb/2925d5a6a52311298eb9 |
20:46.43 | eddyb | https://gist.github.com/eddyb/2925d5a6a52311298eb9/raw/a899ddae80a4b6682cb47e7e5fce5de18d6d3360/fsck_home.log for the full file |
20:47.01 | kerio | Pali: methinks that before pushing system-services, we needed to upgrade e2fsprogs |
20:47.03 | eddyb | that might explain the reverted settings |
20:47.19 | kerio | eddyb: restore a backup |
20:47.25 | eddyb | I'm not sure I have one |
20:47.32 | freemangordon | eddyb: ok, your case is clear I guess :) |
20:47.33 | kerio | then you haven't followed the CSSU instructions |
20:47.46 | eddyb | gaaaah |
20:48.01 | kerio | freemangordon: 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.05 | freemangordon | kerio: I doubt CSSU upgrade could lead to screwed FS |
20:48.13 | eddyb | 2008 |
20:48.15 | freemangordon | kerio: could be |
20:48.48 | Pali | fsck_home.log 2013-06-07 21:20:32 --> clean |
20:49.10 | Pali | fsck_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.26 | freemangordon | yep, saw it |
20:49.36 | eddyb | hmm, what did I have on that? the NITdroid installation |
20:49.48 | freemangordon | Pali: could it be emmc starting to fail? |
20:49.53 | Pali | so something broke FS between 21:20:32 and 22:25:43 today |
20:50.06 | eddyb | my user settings, and the installed apps |
20:50.19 | Pali | freemangordon: do not know |
20:50.22 | eddyb | so I lost firefox history, I guess |
20:50.36 | freemangordon | eddyb: anything in dmesg? |
20:50.39 | eddyb | contacts and chat history |
20:50.43 | Pali | maybe nitdroid did something? |
20:50.48 | freemangordon | I mean anything bad looking |
20:51.00 | eddyb | Pali: no, it was static. I haven't used it since I flashed |
20:51.09 | eddyb | freemangordon: how do I check that? |
20:51.13 | freemangordon | dmesg |
20:51.32 | eddyb | is there an easy way to install a ssh server headless? |
20:52.02 | freemangordon | eddyb: well, try to "apt-get install openssh" |
20:52.04 | Pali | eddyb: you can try as root: DISPLAY= apt-get install openssh-server |
20:52.12 | freemangordon | oh, yes |
20:52.21 | eddyb | what would that do? |
20:52.30 | freemangordon | install ssh-server |
20:52.36 | freemangordon | without X |
20:52.39 | eddyb | DISPLAY= I mean. aah |
20:52.41 | Pali | DISPLAY= tell application that there is GUI display |
20:52.55 | Pali | only console |
20:53.17 | eddyb | I need to reboot to get the shell back :/ |
20:53.21 | freemangordon | Pali's hope is tat you'll be asked for the password in terminal |
20:53.32 | freemangordon | eddyb: why? |
20:53.41 | eddyb | ctrl+shift+x only works once |
20:53.42 | Pali | maybe you will not be asked for pasword |
20:53.45 | Pali | and rootme will work |
20:53.49 | *** join/#maemo-ssu nox- (noident@freebsd/developer/nox) |
20:54.04 | freemangordon | eddyb: wait |
20:54.16 | freemangordon | don;t reboot, we don;t know what's going on |
20:54.24 | eddyb | I rebooted ten times already |
20:54.32 | freemangordon | oh, ok then :) |
20:54.35 | Pali | freemangordon: can you look for backporting new e2fsprogs to maemo? |
20:54.43 | freemangordon | Pali: sure why not |
20:55.08 | Pali | ok, we really need new version |
20:55.16 | eddyb | btw, does that fsck log tell you anything other than "eddyb fucked up bad and should've backed up"? |
20:55.18 | freemangordon | Pali: lets fix the current issue first :) |
20:55.44 | Pali | freemangordon: ok, can somebody else confirm that problem is in dsme? |
20:56.00 | eddyb | running root works, I can see the cursor fiddling |
20:56.20 | freemangordon | Pali: merlin1991? |
20:56.31 | Pali | I will ask on TMO |
20:56.33 | freemangordon | ok |
20:57.05 | merlin1991 | freemangordon: I'm just recovering my device :) |
20:57.07 | eddyb | apt-get reacts badly :( |
20:57.19 | freemangordon | Pali: the only changes in dsme are -p option and getbootstate change? |
20:57.26 | Pali | yes |
20:57.34 | freemangordon | merlin1991: ok |
20:57.55 | eddyb | actually, root may not work |
20:58.08 | eddyb | should I find /opt? |
20:58.14 | eddyb | as in, run find? |
20:58.17 | Pali | freemangordon: but I do not understand why dsme state change is only problematic on device with SD card???? |
20:58.31 | Pali | thse two things have nothing common |
20:58.45 | eddyb | I guess I can't fix it now anyway |
20:58.50 | eddyb | I kinda gotta leave |
20:58.53 | Pali | eddyb: what do you mean "root may not work"? |
20:58.53 | freemangordon | Pali: me neither, lets wait for merlin1991 to recover |
20:59.08 | eddyb | Pali: running "root". I thought it worked, but now I think it didn't |
20:59.15 | eddyb | it's hard to tell what a command does |
20:59.15 | freemangordon | eddyb: sorry for yout FS, I promise new e2fstools in the next update :) |
20:59.24 | Pali | eddyb: try: sudo gainroot |
20:59.28 | freemangordon | *your |
20:59.47 | eddyb | Pali: nope |
21:00.22 | freemangordon | Pali: what's the point to torture eddyb, it is fcked up FS |
21:00.37 | eddyb | literally! |
21:00.39 | freemangordon | Pali: or I miss something? |
21:00.56 | eddyb | I'll try to run find on /opt, but that's it |
21:01.01 | Pali | this looks like problem with FS and theme files are damaged |
21:01.19 | freemangordon | not only theme files though :) |
21:01.24 | freemangordon | i'll opt for emmc reflash |
21:01.28 | freemangordon | :) |
21:01.35 | Pali | eddyb: try to run backup application |
21:01.39 | freemangordon | Pali: wait |
21:02.04 | merlin1991 | rescueos ftw |
21:02.13 | freemangordon | if we mount incorrectly, it could be wrong fs type in fstab :( |
21:02.23 | freemangordon | Pali: ^^^ |
21:02.46 | Pali | freemangordon: no it using fsck.ext3 |
21:02.49 | eddyb | https://gist.github.com/eddyb/2925d5a6a52311298eb9/raw/39a8f97789f96ea2d0985ebe94d5664a80f0f802/fstab |
21:03.01 | Pali | and fsck.ext3 shown errors |
21:03.15 | freemangordon | Pali: before that ;) |
21:03.18 | Pali | fstab is ok |
21:03.28 | eddyb | https://gist.github.com/eddyb/2925d5a6a52311298eb9/raw/f51aa1928bd1ac3fe47b4d30858f99499771f68e/mount |
21:03.55 | freemangordon | Pali: I mean on the previous boot |
21:05.23 | Pali | I think it was ext3 too |
21:05.34 | Pali | (it had to be some ext*) |
21:05.44 | freemangordon | Pali: after reboot ff/emmc is wrongly recognized, mounted with wrong fs type and screwed |
21:05.58 | freemangordon | eddyb: is your SD card partitioned? |
21:06.12 | eddyb | yeah, weirdly |
21:06.19 | Pali | freemangordon: no, look at LABEL |
21:06.34 | Pali | it is always RX-51_2009SE_1.2 |
21:06.59 | freemangordon | Pali: we don;t have logs from the boot with the SD card in IMO |
21:07.37 | Pali | eddyb: do you have other fsck files /var/log/? |
21:07.44 | merlin1991 | kerio: ping |
21:07.48 | *** join/#maemo-ssu DaRoDi (~DaRoDi@109.88.64.137) |
21:08.39 | eddyb | Pali: not sure, you gave me two commands, only one copied a file |
21:08.53 | freemangordon | eddyb: what are partitions on the SD card? |
21:09.03 | Pali | eddyb: look for files in dir: /var/log/ |
21:09.05 | eddyb | find /opt does nothing, where is find located? |
21:09.15 | eddyb | Pali: in the phone with no UI? sure :P |
21:09.28 | Pali | eddyb: ls /var/log/ |
21:09.41 | eddyb | ah, ls, good point |
21:10.04 | freemangordon | eddyb: this is not a phone, but a mobile computer :P |
21:10.21 | eddyb | my linux PCs never broke this badly |
21:10.41 | eddyb | I recovered from crappy things, but I had that console mode still working |
21:11.20 | Pali | eddyb: do you want to try something to backup? |
21:11.34 | kerio | pong? |
21:12.06 | Pali | I know where are some backup parts stored and if you have xterm working, you can copy it to mydocs or sd card |
21:12.14 | freemangordon | eddyb: BTW, which kernel do you use, stock? |
21:12.42 | eddyb | well, I do have two kinds of wifi drivers |
21:12.44 | eddyb | not really sure |
21:12.46 | merlin1991 | Pali: I checked fstab |
21:12.53 | merlin1991 | with and without sd it is identical |
21:13.13 | Pali | merlin1991: ok thanks |
21:13.30 | Pali | now we know that fstab generating working fine |
21:14.31 | merlin1991 | I'll try downgrading upstart |
21:14.42 | Pali | try dsme first |
21:14.47 | freemangordon | merlin1991: try with dsme first |
21:14.54 | freemangordon | you beat me to it :) |
21:16.06 | freemangordon | wonders why no problems on KP/KCSSU |
21:16.13 | eddyb | wait |
21:16.14 | eddyb | wtf |
21:16.20 | eddyb | I might have been in root |
21:16.24 | kerio | hey, i had problems! |
21:16.30 | eddyb | I did exit and it didn't close the window |
21:16.34 | kerio | is bummed that nobody cares about his problems |
21:16.53 | freemangordon | kerio: yes, we know, unfortunately nobody can help you :P |
21:17.00 | merlin1991 | kerio what was the package for usb dummy network? |
21:17.15 | kerio | libicd-network-usb is *usb* |
21:17.19 | kerio | libicd-network-null is dummy |
21:17.27 | kerio | it can't be both usb and dummy |
21:17.27 | merlin1991 | thanks |
21:17.37 | eddyb | kerio: you can understand why people are excited |
21:17.53 | eddyb | how often do you see an idiot with no backups getting fscked by fsck? |
21:17.55 | merlin1991 | freemangordon: Pali downgraded dsme does not boot |
21:18.10 | eddyb | /opt: |
21:18.12 | eddyb | pymaemo |
21:18.12 | kerio | eddyb: it's ok, we still love you <3 |
21:18.13 | eddyb | /opt/pymaemo: |
21:18.15 | eddyb | usr |
21:18.16 | eddyb | oh man that is bad |
21:18.59 | eddyb | I have aptitude, fsck and optify logs |
21:19.08 | Pali | merlin1991: ok, then downgrade upstart, systemserverces, ... |
21:19.08 | freemangordon | eddyb: seems FUBAR |
21:19.23 | freemangordon | merlin1991: one by one please :P |
21:19.26 | eddyb | https://gist.github.com/eddyb/d6dc25ad4e429a9301aa |
21:19.42 | merlin1991 | freemangordon: system-services is part of upstart ;) |
21:20.30 | freemangordon | oh, yes, THAT damn package I had to compile myself to be able to install CSSU when I reflashed my devel device :) |
21:20.48 | eddyb | I gtg |
21:20.50 | eddyb | I guess I'll reflash full at some point |
21:20.53 | freemangordon | eddyb: bye and thanks |
21:21.01 | eddyb | there's no way I can recover all that data, AFAIK |
21:21.17 | Pali | eddyb: you will need to reflash also vanilla emmc image which will erase MyDocs |
21:21.34 | Pali | eddyb: what you want to recover? |
21:21.38 | eddyb | (dd the device to MyDocs and analyze outside of it, maybe :P?) |
21:21.50 | eddyb | Pali: if I can get everything, that would be great |
21:22.02 | eddyb | I don't recall anything of specific importance |
21:22.14 | eddyb | but I hate throwing away things |
21:22.17 | Pali | eddyb: can you install bootmenu via apt-get? |
21:22.24 | eddyb | maybe |
21:22.30 | Pali | it allows you to export full eMMC via usb mass storage |
21:22.36 | eddyb | I doubt I have apt-get, though |
21:22.56 | eddyb | I don't know what works and what doesn't |
21:23.08 | eddyb | Pali: oh, that would be nice |
21:23.12 | Pali | if you have root, try: apt-get install bootmenu |
21:23.15 | eddyb | but let's leave it for another day |
21:23.55 | Pali | if not, you can boot rescueOS (via flasher-3.5) which can export eMMC via usb too |
21:24.20 | eddyb | it's late here and I'd rather do this with a clearer head |
21:24.30 | eddyb | thanks for all the help guys :D |
21:24.35 | Pali | eddyb: dd clone of /home is possible from maemo if you have root access |
21:24.37 | merlin1991 | Pali: freemangordon it's getting funnier, downgraded upstart doesn#t help either |
21:24.41 | eddyb | (and fix your shit, would ya'?) |
21:24.44 | merlin1991 | the problem has to be elsewhere |
21:25.10 | Pali | merlin1991: try to purge upstart and systemservices and then install it again |
21:25.20 | Pali | maybe conffiles are not downgraded |
21:25.40 | eddyb | I'm starting to hate maemo |
21:25.49 | eddyb | so many bad design decisions |
21:25.51 | freemangordon | Pali: isn't it the same for dsme? |
21:26.01 | merlin1991 | dsme had no changes to conffiles |
21:26.03 | merlin1991 | only code |
21:26.05 | freemangordon | ok |
21:26.14 | Pali | isnt event.d conffile? |
21:26.15 | eddyb | if only it wasn't a bigger mess to use anything else on the device |
21:30.52 | merlin1991 | Pali: after purging system-services and upstart and installing the older version it works |
21:31.26 | Pali | so problem is in upstart/system-services? |
21:31.29 | freemangordon | Pali: toldya it is upstart ;) |
21:31.33 | merlin1991 | yep |
21:31.44 | Pali | merlin1991: which version is working? |
21:32.07 | merlin1991 | I used the one from the last testing release (0cssu1) |
21:32.54 | Pali | can you test 0cssu4 ? |
21:33.04 | Pali | (it should be in devel) |
21:33.16 | merlin1991 | I don't have devel enabled, but I can just build it :) |
21:33.45 | freemangordon | merlin1991: isn't it easier to just enable it? |
21:34.04 | Pali | merlin1991: ok, or download that two DEB packages |
21:34.14 | merlin1991 | 1 build command + dpkg -i is 10 times faster, or that |
21:34.21 | merlin1991 | since wireless only works 2 rooms from here :D |
21:34.39 | freemangordon | merlin1991: we don;t know is your build system ok ;) |
21:34.57 | merlin1991 | it's as clean as it can be ! :D |
21:35.12 | merlin1991 | Pali: -devel has 0cssu5 |
21:35.34 | Pali | hm, yes devel has last version |
21:35.50 | Pali | do you have history of devel? |
21:36.25 | eddyb | devel? it all started with Ada Lovelace |
21:37.02 | merlin1991 | d03ad02faa10055186605c17eb0470f85bb1a21d |
21:37.10 | merlin1991 | err didn't mean to write that |
21:37.47 | Pali | it looks like problem will be in this commit: https://gitorious.org/community-ssu/upstart/commit/b7decb43c5cb19acb9d407abf45fb898035155bd |
21:38.02 | Pali | everybody try to find errors in this diff ^^^^ |
21:38.21 | eddyb | everything looks bad to me |
21:38.25 | merlin1991 | Pali: wait untill I can confirm 0ccsu4 works |
21:38.30 | Pali | ok |
21:40.39 | merlin1991 | 0cssu4 did boot |
21:41.59 | Pali | so problem is in that commit |
21:43.33 | merlin1991 | I think I know why |
21:43.38 | merlin1991 | let me try something |
21:45.17 | Pali | ok |
21:50.17 | merlin1991 | didn't turn out to be the reason |
21:51.56 | freemangordon | merlin1991: can you put some traces in rcs-late |
21:52.33 | merlin1991 | I bet my money on line 56 - 61 of the diff |
21:53.14 | Pali | who and when mount /sys? |
21:53.39 | Pali | /sbin/preinit? or upstart? or upstart script? |
21:53.42 | freemangordon | merlin1991: what do you think is wrong, I see nothing suspicios there |
21:54.07 | Pali | merlin1991: this rcS-late script is running with set -e |
21:54.23 | Pali | so on error it fail and somebody (dsme?) reboot device |
21:54.36 | merlin1991 | where would the traces go? |
21:54.48 | Pali | /var/log/ |
21:54.50 | merlin1991 | syslog or do I have to use >>? |
21:54.57 | freemangordon | better use >> |
21:54.58 | Pali | use >> |
21:55.46 | Pali | maybe problem with swap(s)? (line 93) |
21:55.54 | freemangordon | oh, wait |
21:56.16 | freemangordon | "Normally, exit status is 0 if selected lines are found and 1 otherwise." |
21:56.16 | freemangordon | this is for grep |
21:56.40 | freemangordon | if grep -q internal /sys/block/$emmc/device/../slot_name; then |
21:57.13 | freemangordon | iiuc we break if internal is NOT found |
21:57.25 | freemangordon | Pali: ^^^ |
21:58.04 | Pali | it break if internal is found |
21:58.05 | freemangordon | merlin1991: could you fix that and retry? |
21:58.29 | freemangordon | Pali: no, if it is found, exit status is 0 |
21:59.00 | Pali | if true; then break; fi |
21:59.06 | Pali | true always return 0 |
21:59.24 | Pali | freemangordon: above grep is OK |
21:59.40 | freemangordon | ok |
21:59.45 | Pali | right? |
22:00.03 | freemangordon | grep returns 1 if the text is not found |
22:00.17 | freemangordon | I guess 1 is treated as "true" |
22:00.23 | freemangordon | Normally, exit status is 0 if selected lines are found and 1 otherwise. |
22:00.26 | Pali | yes, and then break will not be called |
22:00.30 | freemangordon | But the exit status is 2 if an error occurred, unless the -q or --quiet |
22:00.30 | freemangordon | or --silent option is used and a selected line is found. |
22:01.28 | Pali | but problem can be on line 93 or 103 |
22:01.39 | Pali | if these grep fails, then it kill our script |
22:02.23 | Pali | merlin1991: can you add "|| true" to above lines after grep? |
22:03.06 | merlin1991 | Pali: line 93 and 103? |
22:03.15 | Pali | in that diff |
22:03.19 | Pali | after grep |
22:03.31 | freemangordon | merlin1991: https://gitorious.org/community-ssu/upstart/commit/b7decb43c5cb19acb9d407abf45fb898035155bd |
22:03.37 | Pali | swaps=`echo $swaps | tr ' ' '\n' | grep ${emmc} || true` |
22:03.40 | freemangordon | that diff |
22:03.44 | Pali | grep '^[^\ ]* / ' /proc/mounts >> $tmp_fstab || true |
22:04.22 | Pali | freemangordon: any command which can return non zero and is not in "if" can break booting |
22:04.44 | freemangordon | yeh |
22:04.44 | freemangordon | *yeah |
22:05.06 | freemangordon | what about rm -f $tmp_fstab? |
22:05.46 | merlin1991 | returns 0 on missing file |
22:05.50 | Pali | -f - then it always returns 0 |
22:05.55 | freemangordon | ok |
22:06.12 | freemangordon | and it should be the same with/without sd card |
22:08.46 | merlin1991 | the || true bits didn't heplp |
22:08.58 | freemangordon | merlin1991: traces? |
22:09.22 | *** join/#maemo-ssu DaRoDi (~DaRoDi@109.88.64.137) |
22:09.22 | merlin1991 | now adding them |
22:09.31 | freemangordon | ok |
22:14.18 | Pali | merlin1991: another question, but it is possible to push updated cssu-enabler with new GPG key to cssu-stable? |
22:14.28 | merlin1991 | sure |
22:14.37 | Pali | cssu-enabler is in user section, so users will see update |
22:15.10 | Pali | stable 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.48 | merlin1991 | Pali: line 90 to 94 fails |
22:22.34 | merlin1991 | the last trace that goes out is at line 89, and the first missing would be at line 95 |
22:22.46 | merlin1991 | gonna check if it#s the if bit or the swaps bit |
22:23.02 | Pali | merlin1991: run this on n900: blkid -c /dev/null -o device -t TYPE=swap |
22:23.17 | Pali | freemangordon, try too ^ |
22:23.27 | Pali | need to be sure that blkid working |
22:24.02 | freemangordon | /dev/mmcblk1p3 |
22:24.03 | freemangordon | /dev/mmcblk0p3 |
22:24.30 | Pali | ok |
22:26.35 | freemangordon | maybe a stupid question, but shoudn't = be == in if [ "$swap_sd" = "0" ]; then |
22:27.17 | Pali | no shell using = |
22:27.23 | Pali | only bash support == |
22:27.25 | freemangordon | ok |
22:27.45 | merlin1991 | it fails in the if bit |
22:27.53 | merlin1991 | I did put a trace after blkid |
22:28.16 | Pali | what?? in if? |
22:28.36 | merlin1991 | either line 92 or 93 fails |
22:28.53 | merlin1991 | trace on 91 comes in trace on 95 is missing |
22:29.03 | merlin1991 | but I guess it 's the 93 line :D |
22:29.10 | Pali | merlin1991: trace also output of these commands |
22:29.46 | Pali | I need to know what is stored in ${swaps}, then in `echo $swaps | tr ' ' '\n' |
22:30.06 | freemangordon | Pali: what will happen if we have 2 line $swaps |
22:30.31 | Pali | you will have 2 swaps in system |
22:30.33 | Drathir | can i distrub a little? |
22:30.41 | Pali | Drathir: yes :-) |
22:31.09 | Pali | freemangordon: swapon -a will enable all swaps |
22:32.13 | merlin1991 | swaps=`echo $swaps | tr ' ' '\n' | grep ${emmc}` returns 1 |
22:32.41 | Drathir | i see works in progress and better i ask... How about power kernel updates for multiboot ? |
22:32.47 | Pali | and what is stored in swaps before and after? |
22:33.11 | Pali | Drathir: kernel-power does not support multiboot anymore |
22:33.35 | freemangordon | Drathir: use u-boot |
22:34.21 | Pali | Drathir: install u-boot (with 2.6.28 kernel) from extras and then install kernel power bootimg |
22:34.24 | Drathir | ok but uboot from repo is fixed now and upgraded to latest version? |
22:35.14 | Pali | Drathir: yes |
22:35.29 | Pali | http://maemo.org/packages/view/u-boot-flasher/ |
22:35.45 | Pali | use version from Extras-devel |
22:37.35 | merlin1991 | Pali: the content of swaps is just "/dev/mmcblk0p3" |
22:37.42 | Drathir | ok 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.50 | Pali | merlin1991: it is ok |
22:38.58 | *** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg) |
22:39.51 | freemangordon | merlin1991: did you trace $emmc too? |
22:39.58 | Pali | merlin1991: do you know why it failing? |
22:40.26 | Pali | hm, if ${emmc} is empty, then grep ${emmc} fail |
22:40.34 | freemangordon | yep |
22:40.54 | Pali | but emmc cannot be empty |
22:41.06 | merlin1991 | I'm adding traces for that aswell |
22:41.48 | freemangordon | Pali: hmm, could emmc be local variable for the loop? |
22:42.10 | Pali | in shell there are no local variables |
22:42.18 | freemangordon | ok |
22:42.29 | Pali | only 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.50 | Drathir | for sure if i have u boot is dont needed clean KP ? only KP for u-boot is needed? right? |
22:47.16 | Pali | Drathir: you need full KP with bootimg package |
22:47.37 | freemangordon | Pali: I think he meant -flasher |
22:48.18 | Drathir | ask because i have dependencies error |
22:49.18 | merlin1991 | Pali: |
22:49.30 | merlin1991 | err copy paste fail |
22:49.49 | merlin1991 | emmc mmcblk1 swaps /dev/mmcblk0p3 |
22:49.53 | merlin1991 | this can't work |
22:50.03 | merlin1991 | udev race condition yay |
22:51.42 | freemangordon | merlin1991: but how then we have the same fstab?!? |
22:51.56 | Pali | new fstab is not generated |
22:52.04 | Drathir | on 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.07 | Pali | fstab is wrote after that fail |
22:52.10 | Pali | ok, root of this problem was found |
22:52.18 | freemangordon | oh |
22:52.19 | freemangordon | correct :) |
22:52.49 | Pali | Drathir: you need to instal 3, then 2. (which depends on 1.) |
22:53.19 | Drathir | Pali: ok thx going to install |
22:54.06 | Pali | freemangordon: but I do not understand this: in old nokia code (line 44) was this: sfdisk -l /dev/mmcblk0 | /bin/busybox awk ... |
22:54.10 | Pali | why it worked? |
22:54.16 | Pali | and no race condition? |
22:55.30 | Pali | freemangordon, merlin1991, there is some udevadm command which wait until udev finish scripts... |
22:55.32 | freemangordon | maybe sfdisk not using /sys/... |
22:55.39 | Pali | maybe this could help |
22:55.59 | freemangordon | udevsettle |
22:56.00 | freemangordon | ? |
22:56.09 | Pali | hm, maybe /sys and /dev are not same? |
22:56.30 | Pali | e.g. old udev does not tell kernel to swap devices, but only do mv in /dev? |
22:56.53 | Drathir | lol 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.07 | freemangordon | Drathir: don;t |
22:57.12 | Pali | Drathir: not! |
22:57.17 | Drathir | ok |
22:57.24 | Pali | Drathir: what it breaks? |
22:57.29 | freemangordon | most probably it conflicts with multiboot |
22:58.10 | freemangordon | Pali: adding udevsettle will most probably prolong the boot process |
22:58.37 | Pali | freemangordon: ok, but isnt above problem? ^^ |
22:59.08 | freemangordon | Pali: I think merlin1991 can check |
22:59.16 | Pali | every tool using only /dev/ and udev switch only devices in /dev/ and does *not* tell kernel that it was swiched |
22:59.28 | freemangordon | could be |
22:59.34 | Pali | because kp has patch for it, it has no problem |
23:00.06 | Pali | and if this is true, then there is no race condition |
23:00.53 | Drathir | ok have a reason i think linux kernel for power user (boot image for multiboot) should delete this package? |
23:00.55 | freemangordon | Pali: but why it boots without SD? |
23:01.10 | Pali | because kernel allocate first empty device |
23:01.20 | freemangordon | ah, i see |
23:01.33 | freemangordon | and it is mmcblkp0 |
23:01.39 | freemangordon | and it is mmcblk0 |
23:01.48 | freemangordon | whatever :) |
23:01.51 | Pali | merlin1991: can you boot device with inserted SD card? (e.g hardcoding correct emmc or downgrading)? |
23:02.14 | Pali | we need to know output of command: head /sys/block/*/device/../slot_name |
23:03.07 | merlin1991 | I'll throw the card into the stock n900 |
23:03.32 | Pali | hm, and this is propably reason why I was unable to boot 3.9 kernel with last packages from cssu-devel |
23:03.32 | merlin1991 | or do you need it at boot time |
23:04.22 | Pali | merlin1991: I need output of that from rcS-late and also when xterm when hildon-desktop is stared |
23:04.40 | Pali | need to check if it changes or not |
23:04.52 | Pali | and if it is incorrect or not |
23:05.20 | Pali | Drathir: which package to delete? |
23:05.33 | merlin1991 | I'll get it tomorrow, I'm minutes away from involuntary headdeks |
23:06.02 | freemangordon | Pali: see /sys/class/mmc_host/mmc1/mmc1:0001 |
23:06.18 | freemangordon | block: |
23:06.51 | freemangordon | this is on KP ofc, but I guess it is the same on stock |
23:07.04 | freemangordon | or maybe not |
23:07.06 | Drathir | conflict package name is linux kernel for power user (boot image for multiboot) should delete this package? |
23:08.00 | Pali | which package are you trying to install? |
23:08.54 | Drathir | on 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.46 | Pali | Drathir: do you have multiboot installed? |
23:13.05 | Drathir | Pali: how to check it? i have installed bootmenu and backupmenu |
23:13.39 | Drathir | linux kernel for power user (boot image for multiboot) also is installed |
23:14.16 | Drathir | but after start phone i have u-boot menu |
23:16.57 | Pali | Drathir: u-boot and multiboot cannot be installed together, also bootmenu and multiboot cannot be installed |
23:17.11 | Pali | so I belive you do not have multiboot installed |
23:17.46 | Pali | Drathir: make sure you have enabled Extras-Devel catalogue |
23:17.53 | Drathir | i dont see any package with name multiboot |
23:18.01 | Pali | and catalogue is updated |
23:18.04 | Pali | ok |
23:18.20 | Drathir | with multiboot is only that installed linux kernel for power user (boot image for multiboot) also is installed |
23:18.51 | Drathir | i checking throught nokia app manager |
23:18.59 | Pali | right |
23:19.10 | Pali | check if you have extras-devel catalogue |
23:19.13 | Drathir | i do update again to check |
23:29.20 | Drathir | something new https://downloads.maemo.nokia.com/fremantle1.2/ovi/ not avaible connection reset by peer |
23:29.28 | freemangordon | Pali: can't we use "ls /sys/block/mmcblk0/device/../mmc*/block:* | cut -f 3 -d ':'" to get the real block device |
23:29.52 | freemangordon | oops, ls /sys/block/$emmc/device/../mmc*/block:* | cut -f 3 -d ':' |
23:30.12 | Drathir | https://downloads.maemo.nokia.com/fremantle/ssu/mr0 the same reset by peer |
23:30.59 | Drathir | https://downloads.maemo.nokia.com/fremantle/ssu/apps/ the same reset by peer |
23:33.32 | Drathir | exclude that repository errors synchronise succesfull and have 2 new packages from cssu in upgrade list. |
23:36.10 | freemangordon | Pali: http://pastebin.com/rzN7VuEK |
23:40.23 | Drathir | Pali: checked with multiboot name is only that installed package: linux kernel for power user (boot image for multiboot) |
23:40.35 | Pali | freemangordon: you need reverse, map /dev/mmcblk* to /sys |
23:40.47 | Pali | Drathir: ok |
23:40.57 | Pali | Drathir: do you have extras-devel catalogue enabled? |
23:41.28 | Pali | freemangordon: and then use: /sys/dev/block/$major:$minor/device/../slot_name |
23:41.49 | Pali | how to get minor and major number of /dev/mmcblk0 ? |
23:41.55 | freemangordon | Pali: I am too tired now, will either leave it to you or for tomorrow :) |
23:42.06 | Pali | ok |
23:42.14 | freemangordon | hmm, lemme see |
23:42.57 | Drathir | http://repository.maemo.org/extras-devel/ and http://repository.maemo.org/community-testing/ are enabled... |
23:43.10 | Drathir | mean yes enabled |
23:49.04 | Pali | Drathir: ok |
23:49.15 | Pali | now you can try to upgrade kernel-power package |
23:49.38 | Pali | try to upgrade directly bootimg package |
23:50.29 | freemangordon | Pali: ls -l /dev/$emmc | cut -c 35-42 |
23:55.23 | Drathir | Pali: 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.57 | Pali | Drathir: first update u-boot |
23:56.10 | Drathir | Pali: ok |