IRC log of #maemo-ssu for Saturday, 2013-06-08

freemangordonPali: what's the point to torture eddyb, it is fcked up FS00:00
eddybliterally!00:00
freemangordonPali: or I miss something?00:00
eddybI'll try to run find on /opt, but that's it00:00
Palithis looks like problem with FS and theme files are damaged00:00
freemangordonnot only theme files though :)00:01
freemangordoni'll opt for emmc reflash00:01
freemangordon:)00:01
Palieddyb: try to run backup application00:01
freemangordonPali: wait00:01
merlin1991rescueos ftw00:02
*** NIN101 has quit IRC00:02
freemangordonif we mount incorrectly, it could be wrong fs type in fstab :(00:02
freemangordonPali: ^^^00:02
Palifreemangordon: no it using fsck.ext300:02
eddybhttps://gist.github.com/eddyb/2925d5a6a52311298eb9/raw/39a8f97789f96ea2d0985ebe94d5664a80f0f802/fstab00:02
Paliand fsck.ext3 shown errors00:03
freemangordonPali: before that ;)00:03
Palifstab is ok00:03
eddybhttps://gist.github.com/eddyb/2925d5a6a52311298eb9/raw/f51aa1928bd1ac3fe47b4d30858f99499771f68e/mount00:03
freemangordonPali: I mean on the previous boot00:03
PaliI think it was ext3 too00:05
Pali(it had to be some ext*)00:05
freemangordonPali: after reboot ff/emmc is wrongly recognized, mounted with wrong fs type and screwed00:05
freemangordoneddyb: is your SD card partitioned?00:05
eddybyeah, weirdly00:06
Palifreemangordon: no, look at LABEL00:06
Paliit is always RX-51_2009SE_1.200:06
freemangordonPali: we don;t have logs from the boot with the SD card in IMO00:06
Palieddyb: do you have other fsck files /var/log/?00:07
merlin1991kerio: ping00:07
*** DaRoDi has joined #maemo-ssu00:07
eddybPali: not sure, you gave me two commands, only one copied a file00:08
freemangordoneddyb: what are partitions on the SD card?00:08
Palieddyb: look for files in dir: /var/log/00:09
eddybfind /opt does nothing, where is find located?00:09
eddybPali: in the phone with no UI? sure :P00:09
Palieddyb: ls /var/log/00:09
eddybah, ls, good point00:09
freemangordoneddyb: this is not a phone, but a mobile computer :P00:10
eddybmy linux PCs never broke this badly00:10
eddybI recovered from crappy things, but I had that console mode still working00:10
Palieddyb: do you want to try something to backup?00:11
keriopong?00:11
PaliI know where are some backup parts stored and if you have xterm working, you can copy it to mydocs or sd card00:12
freemangordoneddyb: BTW, which kernel do you use, stock?00:12
eddybwell, I do have two kinds of wifi drivers00:12
eddybnot really sure00:12
merlin1991Pali: I checked fstab00:12
merlin1991with and without sd it is identical00:12
Palimerlin1991: ok thanks00:13
Palinow we know that fstab generating working fine00:13
merlin1991I'll try downgrading upstart00:14
Palitry dsme first00:14
freemangordonmerlin1991: try with dsme first00:14
freemangordonyou beat me to it :)00:14
* freemangordon wonders why no problems on KP/KCSSU00:16
eddybwait00:16
eddybwtf00:16
eddybI might have been in root00:16
keriohey, i had problems!00:16
eddybI did exit and it didn't close the window00:16
* kerio is bummed that nobody cares about his problems00:16
freemangordonkerio: yes, we know, unfortunately nobody can help you :P00:16
merlin1991kerio what was the package for usb dummy network?00:17
keriolibicd-network-usb is *usb*00:17
keriolibicd-network-null is dummy00:17
kerioit can't be both usb and dummy00:17
merlin1991thanks00:17
eddybkerio: you can understand why people are excited00:17
eddybhow often do you see an idiot with no backups getting fscked by fsck?00:17
merlin1991freemangordon: Pali downgraded dsme does not boot00:17
eddyb/opt:00:18
eddybpymaemo00:18
kerioeddyb: it's ok, we still love you <300:18
eddyb/opt/pymaemo:00:18
eddybusr00:18
eddyboh man that is bad00:18
eddybI have aptitude, fsck and optify logs00:18
Palimerlin1991: ok, then downgrade upstart, systemserverces, ...00:19
freemangordoneddyb: seems FUBAR00:19
freemangordonmerlin1991: one by one please :P00:19
eddybhttps://gist.github.com/eddyb/d6dc25ad4e429a9301aa00:19
merlin1991freemangordon: system-services is part of upstart ;)00:19
freemangordonoh, yes, THAT damn package I had to compile myself to be able to install CSSU when I reflashed my devel device :)00:20
eddybI gtg00:20
eddybI guess I'll reflash full at some point00:20
freemangordoneddyb: bye and thanks00:20
eddybthere's no way I can recover all that data, AFAIK00:21
*** futpib has quit IRC00:21
Palieddyb: you will need to reflash also vanilla emmc image which will erase MyDocs00:21
Palieddyb: what you want to recover?00:21
eddyb(dd the device to MyDocs and analyze outside of it, maybe :P?)00:21
eddybPali: if I can get everything, that would be great00:21
eddybI don't recall anything of specific importance00:22
eddybbut I hate throwing away things00:22
Palieddyb: can you install bootmenu via apt-get?00:22
eddybmaybe00:22
Paliit allows you to export full eMMC via usb mass storage00:22
eddybI doubt I have apt-get, though00:22
eddybI don't know what works and what doesn't00:22
eddybPali: oh, that would be nice00:23
Paliif you have root, try: apt-get install bootmenu00:23
eddybbut let's leave it for another day00:23
Paliif not, you can boot rescueOS (via flasher-3.5) which can export eMMC via usb too00:23
eddybit's late here and I'd rather do this with a clearer head00:24
eddybthanks for all the help guys :D00:24
Palieddyb: dd clone of /home is possible from maemo if you have root access00:24
merlin1991Pali: freemangordon it's getting funnier, downgraded upstart doesn#t help either00:24
eddyb(and fix your shit, would ya'?)00:24
merlin1991the problem has to be elsewhere00:24
Palimerlin1991: try to purge upstart and systemservices and then install it again00:25
Palimaybe conffiles are not downgraded00:25
eddybI'm starting to hate maemo00:25
eddybso many bad design decisions00:25
freemangordonPali: isn't it the same for dsme?00:25
merlin1991dsme had no changes to conffiles00:26
merlin1991only code00:26
freemangordonok00:26
Paliisnt event.d conffile?00:26
eddybif only it wasn't a bigger mess to use anything else on the device00:26
merlin1991Pali: after purging system-services and upstart and installing the older version it works00:30
Paliso problem is in upstart/system-services?00:31
freemangordonPali: toldya it is upstart ;)00:31
merlin1991yep00:31
Palimerlin1991: which version is working?00:31
merlin1991I used the one from the last testing release (0cssu1)00:32
Palican you test 0cssu4 ?00:32
Pali(it should be in devel)00:33
merlin1991I don't have devel enabled, but I can just build it :)00:33
freemangordonmerlin1991: isn't it easier to just enable it?00:33
Palimerlin1991: ok, or download that two DEB packages00:34
merlin19911 build command + dpkg -i is 10 times faster, or that00:34
merlin1991since wireless only works 2 rooms from here :D00:34
freemangordonmerlin1991: we don;t know is your build system ok ;)00:34
merlin1991it's as clean as it can be ! :D00:34
merlin1991Pali:  -devel has 0cssu500:35
Palihm, yes devel has last version00:35
Palido you have history of devel?00:35
eddybdevel? it all started with Ada Lovelace00:36
merlin1991d03ad02faa10055186605c17eb0470f85bb1a21d00:37
merlin1991err didn't mean to write that00:37
Paliit looks like problem will be in this commit: https://gitorious.org/community-ssu/upstart/commit/b7decb43c5cb19acb9d407abf45fb898035155bd00:37
Palieverybody try to find errors in this diff ^^^^00:38
eddybeverything looks bad to me00:38
merlin1991Pali: wait untill I can confirm 0ccsu4 works00:38
Paliok00:38
merlin19910cssu4 did boot00:40
Paliso problem is in that commit00:41
merlin1991I think I know why00:43
merlin1991let me try something00:43
Paliok00:45
*** DaRoDi has quit IRC00:50
merlin1991didn't turn out to be the reason00:50
freemangordonmerlin1991: can you put some traces in rcs-late00:51
*** dhbiker has quit IRC00:52
merlin1991I bet my money on line 56 - 61 of the diff00:52
Paliwho and when mount /sys?00:53
Pali/sbin/preinit? or upstart? or upstart script?00:53
freemangordonmerlin1991: what do you think is wrong, I see nothing suspicios there00:53
Palimerlin1991: this rcS-late script is running with set -e00:54
Paliso on error it fail and somebody (dsme?) reboot device00:54
merlin1991where would the traces go?00:54
Pali/var/log/00:54
merlin1991syslog or do I have to use >>?00:54
freemangordonbetter use >>00:54
Paliuse >>00:54
Palimaybe problem with swap(s)? (line 93)00:55
freemangordonoh, wait00:55
*** arcean has quit IRC00:55
freemangordon"Normally, exit status is 0 if selected lines are found and 1 otherwise."00:56
freemangordonthis is for grep00:56
freemangordonif grep -q internal /sys/block/$emmc/device/../slot_name; then00:56
freemangordoniiuc we break if internal is NOT found00:57
freemangordonPali: ^^^00:57
Paliit break if internal is found00:58
freemangordonmerlin1991: could you fix that and retry?00:58
freemangordonPali: no, if it is found, exit status is 000:58
Paliif true; then break; fi00:59
Palitrue always return 000:59
Palifreemangordon: above grep is OK00:59
*** generatorglukoff is now known as hate-engine00:59
freemangordonok00:59
Paliright?00:59
freemangordongrep returns 1 if the text is not found01:00
freemangordonI guess 1 is treated as "true"01:00
freemangordonNormally, exit status is 0 if selected lines are found and 1 otherwise.01:00
Paliyes, and then break will not be called01:00
freemangordonBut the exit status is 2 if an error occurred, unless the -q or --quiet01:00
freemangordonor --silent option is used and a selected line is found.01:00
Palibut problem can be on line 93 or 10301:01
Paliif these grep fails, then it kill our script01:01
Palimerlin1991: can you add "|| true" to above lines after grep?01:02
merlin1991Pali: line 93 and 103?01:03
Paliin that diff01:03
Paliafter grep01:03
freemangordonmerlin1991: https://gitorious.org/community-ssu/upstart/commit/b7decb43c5cb19acb9d407abf45fb898035155bd01:03
Paliswaps=`echo $swaps | tr ' ' '\n' | grep ${emmc} || true`01:03
freemangordonthat diff01:03
Paligrep '^[^\ ]* / ' /proc/mounts >> $tmp_fstab || true01:03
Palifreemangordon: any command which can return non zero and is not in "if" can break booting01:04
freemangordonyeh01:04
freemangordon*yeah01:04
freemangordonwhat about rm -f $tmp_fstab?01:05
merlin1991returns 0 on missing file01:05
Pali-f - then it always returns 001:05
freemangordonok01:05
freemangordonand it should be the same with/without sd card01:06
*** eddyb has quit IRC01:08
merlin1991the || true bits didn't heplp01:08
freemangordonmerlin1991: traces?01:08
*** DaRoDi has joined #maemo-ssu01:09
merlin1991now adding them01:09
freemangordonok01:09
Palimerlin1991: another question, but it is possible to push updated cssu-enabler with new GPG key to cssu-stable?01:14
merlin1991sure01:14
Palicssu-enabler is in user section, so users will see update01:14
Palistable branch on gitorious is prepared: https://gitorious.org/community-ssu/community-ssu-enabler/commits/stable01:15
*** sunny_s has quit IRC01:18
*** sunny_s has joined #maemo-ssu01:18
merlin1991Pali: line 90 to 94 fails01:21
merlin1991the last trace that goes out is at line 89, and the first missing would be at line 9501:22
merlin1991gonna check if it#s the if bit or the swaps bit01:22
Palimerlin1991: run this on n900: blkid -c /dev/null -o device -t TYPE=swap01:23
Palifreemangordon, try too ^01:23
Palineed to be sure that blkid working01:23
freemangordon/dev/mmcblk1p301:24
freemangordon/dev/mmcblk0p301:24
Paliok01:24
freemangordonmaybe a stupid question, but shoudn't = be == in if [ "$swap_sd" = "0" ]; then01:26
Palino shell using =01:27
Palionly bash support ==01:27
freemangordonok01:27
merlin1991it fails in the if bit01:27
merlin1991I did put a trace after blkid01:27
Paliwhat?? in if?01:28
merlin1991either line 92 or 93 fails01:28
merlin1991trace on 91 comes in trace on 95 is missing01:28
merlin1991but I guess it 's the 93 line :D01:29
Palimerlin1991: trace also output of these commands01:29
PaliI need to know what is stored in ${swaps}, then in `echo $swaps | tr ' ' '\n'01:29
freemangordonPali: what will happen if we have 2 line $swaps01:30
Paliyou will have 2 swaps in system01:30
Drathircan i distrub a little?01:30
PaliDrathir: yes :-)01:30
Palifreemangordon: swapon -a will enable all swaps01:31
merlin1991swaps=`echo $swaps | tr ' ' '\n' | grep ${emmc}` returns 101:32
Drathiri see works in progress and better i ask... How about power kernel updates for multiboot ?01:32
Paliand what is stored in swaps before and after?01:32
PaliDrathir: kernel-power does not support multiboot anymore01:33
freemangordonDrathir: use u-boot01:33
PaliDrathir: install u-boot (with 2.6.28 kernel) from extras and then install kernel power bootimg01:34
Drathirok but uboot from repo is fixed now and upgraded to latest version?01:34
PaliDrathir: yes01:35
Palihttp://maemo.org/packages/view/u-boot-flasher/01:35
Paliuse version from Extras-devel01:35
*** hate-engine is now known as generatorglukoff01:37
merlin1991Pali: the content of swaps is just "/dev/mmcblk0p3"01:37
Drathirok thx a lot i delayed install for a time and i try to update now 2.6.28.10 kernel power, uboot, uboot image.01:37
Palimerlin1991: it is ok01:37
*** DocScrutinizer05 has quit IRC01:38
*** DocScrutinizer05 has joined #maemo-ssu01:38
freemangordonmerlin1991: did you trace $emmc too?01:39
Palimerlin1991: do you know why it failing?01:39
Palihm, if ${emmc} is empty, then grep ${emmc} fail01:40
freemangordonyep01:40
Palibut emmc cannot be empty01:40
merlin1991I'm adding traces for that aswell01:41
freemangordonPali: hmm, could emmc be local variable for the loop?01:41
Paliin shell there are no local variables01:42
freemangordonok01:42
Palionly bash has local variables, but that must be created by local keyword01:42
*** _rd has joined #maemo-ssu01:45
Drathirfor sure if i have u boot is dont needed clean KP ? only KP for u-boot is needed? right?01:46
PaliDrathir: you need full KP with bootimg package01:47
freemangordonPali: I think he meant -flasher01:47
Drathirask because i have dependencies error01:48
merlin1991Pali:01:49
merlin1991err copy paste fail01:49
merlin1991emmc mmcblk1           swaps /dev/mmcblk0p301:49
merlin1991this can't work01:49
merlin1991udev race condition yay01:50
freemangordonmerlin1991: but how then we have the same fstab?!?01:51
Palinew fstab is not generated01:51
Drathiron 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?01:52
Palifstab is wrote after that fail01:52
Paliok, root of this problem was found01:52
freemangordonoh01:52
freemangordoncorrect :)01:52
PaliDrathir: you need to instal 3, then 2. (which depends on 1.)01:52
DrathirPali: ok thx going to install01:53
Palifreemangordon: but I do not understand this: in old nokia code (line 44) was this: sfdisk -l /dev/mmcblk0 | /bin/busybox awk ...01:54
Paliwhy it worked?01:54
Paliand no race condition?01:54
Palifreemangordon, merlin1991, there is some udevadm command which wait until udev finish scripts...01:55
freemangordonmaybe sfdisk not using /sys/...01:55
Palimaybe this could help01:55
freemangordonudevsettle01:55
freemangordon?01:56
Palihm, maybe /sys and /dev are not same?01:56
Palie.g. old udev does not tell kernel to swap devices, but only do mv in /dev?01:56
Drathirlol nice !!!U-boot with kernel 2.6.28-omap1 breaks the 3rd party package policy :p goin to instal throught dpkg -i :p01:56
freemangordonDrathir: don;t01:57
PaliDrathir: not!01:57
Drathirok01:57
PaliDrathir: what it breaks?01:57
freemangordonmost probably it conflicts with multiboot01:57
freemangordonPali: adding udevsettle will most probably prolong the boot process01:58
Palifreemangordon: ok, but isnt above problem? ^^01:58
freemangordonPali: I think merlin1991 can check01:59
Palievery tool using only /dev/ and udev switch only devices in /dev/ and does *not* tell kernel that it was swiched01:59
freemangordoncould be01:59
Palibecause kp has patch for it, it has no problem01:59
Paliand if this is true, then there is no race condition02:00
Drathirok have a reason i think linux kernel for power user (boot image for multiboot) should delete this package?02:00
freemangordonPali: but why it boots without SD?02:00
Palibecause kernel allocate first empty device02:01
freemangordonah, i see02:01
freemangordonand it is mmcblkp002:01
freemangordonand it is mmcblk002:01
freemangordonwhatever :)02:01
Palimerlin1991: can you boot device with inserted SD card? (e.g hardcoding correct emmc or downgrading)?02:01
Paliwe need to know output of command: head /sys/block/*/device/../slot_name02:02
merlin1991I'll throw the card into the stock n90002:03
Palihm, and this is propably reason why I was unable to boot 3.9 kernel with last packages from cssu-devel02:03
merlin1991or do you need it at boot time02:03
Palimerlin1991: I need output of that from rcS-late and also when xterm when hildon-desktop is stared02:04
Palineed to check if it changes or not02:04
Paliand if it is incorrect or not02:04
PaliDrathir: which package to delete?02:05
merlin1991I'll get it tomorrow, I'm minutes away from involuntary headdeks02:05
freemangordonPali: see /sys/class/mmc_host/mmc1/mmc1:000102:06
freemangordonblock:02:06
freemangordonthis is on KP ofc, but I guess it is the same on stock02:06
freemangordonor maybe not02:07
Drathirconflict package name is linux kernel for power user (boot image for multiboot) should delete this package?02:07
Paliwhich package are you trying to install?02:08
Drathiron 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.02:08
PaliDrathir: do you have multiboot installed?02:09
DrathirPali: how to check it? i have installed bootmenu and backupmenu02:13
Drathirlinux kernel for power user (boot image for multiboot) also is installed02:13
Drathirbut after start phone i have u-boot menu02:14
PaliDrathir: u-boot and multiboot cannot be installed together, also bootmenu and multiboot cannot be installed02:16
Paliso I belive you do not have multiboot installed02:17
PaliDrathir: make sure you have enabled Extras-Devel catalogue02:17
Drathiri dont see any package with name multiboot02:17
Paliand catalogue is updated02:18
Paliok02:18
Drathirwith multiboot is only that installed linux kernel for power user (boot image for multiboot) also is installed02:18
Drathiri checking throught nokia app manager02:18
Paliright02:18
Palicheck if you have extras-devel catalogue02:19
Drathiri do update again to check02:19
*** _rd has quit IRC02:28
Drathirsomething new https://downloads.maemo.nokia.com/fremantle1.2/ovi/ not avaible connection reset by peer02:29
freemangordonPali: can't we use "ls /sys/block/mmcblk0/device/../mmc*/block:* | cut -f 3 -d ':'" to get the real block device02:29
freemangordonoops, ls /sys/block/$emmc/device/../mmc*/block:* | cut -f 3 -d ':'02:29
Drathirhttps://downloads.maemo.nokia.com/fremantle/ssu/mr0 the same reset by peer02:30
Drathirhttps://downloads.maemo.nokia.com/fremantle/ssu/apps/ the same reset by peer02:30
Drathirexclude that repository errors synchronise succesfull and have 2 new packages from cssu in upgrade list.02:33
*** BCMM has quit IRC02:33
freemangordonPali: http://pastebin.com/rzN7VuEK02:36
DrathirPali: checked with multiboot name is only that installed package: linux kernel for power user (boot image for multiboot)02:40
Palifreemangordon: you need reverse, map /dev/mmcblk* to /sys02:40
PaliDrathir: ok02:40
PaliDrathir: do you have extras-devel catalogue enabled?02:40
Palifreemangordon: and then use: /sys/dev/block/$major:$minor/device/../slot_name02:41
Palihow to get minor and major number of /dev/mmcblk0 ?02:41
freemangordonPali: I am too tired now, will either leave it to you or for tomorrow :)02:41
Paliok02:42
freemangordonhmm, lemme see02:42
Drathirhttp://repository.maemo.org/extras-devel/ and http://repository.maemo.org/community-testing/ are enabled...02:42
Drathirmean yes enabled02:43
PaliDrathir: ok02:49
Palinow you can try to upgrade kernel-power package02:49
Palitry to upgrade directly bootimg package02:49
freemangordonPali: ls -l /dev/$emmc | cut -c 35-4202:50
DrathirPali: 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.02:55
PaliDrathir: first update u-boot02:55
DrathirPali: ok02:56
DrathirPali: update throught dpkg -i ? throught nokia app manager i cant update u-boot package03:01
PaliDrathir: why you cannot update u-boot package?03:01
Palierror message?03:02
Drathirthe same error: !!!U-boot with kernel 2.6.28-omap1 breaks the 3rd party package policy03:02
Paliand next?03:03
Paliwhich package it break?03:03
Drathirand in details only write cant update u-boot any reason described03:04
Drathircan check other way with more info?03:05
PaliDrathir: open log in app manager03:06
DrathirPali: hmmm strange only have in log solmething that ? connected to 4cecc392-1391-4ed9-8d21-5e788892624e03:10
Drathirthats not good i think?03:14
PaliI do not know03:15
DrathirPali: it make any difference that packages u-boot in past was installed from your site to support alarm version.03:18
PaliDrathir: no, I pushed similar version (from site) to extras-devel03:19
PaliDrathir: try to update via xterm apt-get03:20
Palirun as root: apt-get install u-boot-flasher03:20
Drathirok going to try that03:20
Paliit will show detailed message03:20
Drathirpackage 2 hve conflict with linux kernel for power user power51r1. package 1 have conflict with  linux kernel for power user (boot image for multiboot) // 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.03:32
Drathirbut from console i have http://pastebin.com/FsbKa56Z03:33
Drathirto much for plain on the channnel03:33
Drathirits good or not? execute command again? btw the conflicts upper was from nokia app menager...03:43
Palioutput from u-boot is OK03:45
PaliDrathir: what will happen if you try to update also kernel-power?: apt-get install kernel-power kernel-power-modules kernel-power-flasher kernel-power-bootimg03:46
PaliDrathir: now make sure you will *not* flash kernel-power to nand, because this erase uboot03:46
Drathirok goin try do that03:49
Palimerlin1991, freemangordon: possible solution for upstart problem is here: https://gitorious.org/~pali/community-ssu/pali-upstart03:50
Paliit is NOT tested!03:50
*** DaRoDi has quit IRC03:53
PaliDrathir: any problem?03:53
*** sunny_s has quit IRC03:56
DrathirPali: i have monit to replace u-boot with power kernel in nand but i cancel that http://pastebin.com/bf7xsmT804:01
Paliok, cancel that flash04:02
Paliit looks OK04:03
Palimerlin1991: it looks like you deleted my commit from mp-fremantle-community-pr repository, I merged them back04:04
Palisee sha commit id from Thursday January 24 2013 and Saturday June 08 2013: https://gitorious.org/community-ssu/mp-fremantle-community-pr04:04
Drathirlooks like nokia update app permit mistake u-boot instalation04:05
Paliok, going off, bye04:06
Drathirbtw any updates of fsck and mkfs planned in future?04:06
Paliit is planned04:06
DrathirPali: thanks a lot for help calm dreams...04:06
Drathiroh thats great04:06
*** Pali has quit IRC04:07
*** jon_y has quit IRC04:13
*** nox- has quit IRC04:28
*** jon_y has joined #maemo-ssu04:49
*** LaoLang_cool has joined #maemo-ssu04:57
*** freemangordon_ has joined #maemo-ssu05:35
*** freemangordon has quit IRC05:35
*** amiconn_ has joined #maemo-ssu05:53
*** amiconn has quit IRC05:53
*** amiconn_ is now known as amiconn05:53
*** DocScrutinizer05 has quit IRC06:57
*** DocScrutinizer05 has joined #maemo-ssu06:57
*** LaoLang_cool has quit IRC07:07
*** oldtopman has quit IRC08:46
*** Vlad_on_the_road has joined #maemo-ssu08:57
*** LaoLang_cool has joined #maemo-ssu09:11
*** LaoLang_cool has quit IRC10:08
*** _rd has joined #maemo-ssu11:25
*** sixwheeledbeast has quit IRC11:34
*** _rd has quit IRC11:46
*** Pali has joined #maemo-ssu12:33
*** dhbiker has joined #maemo-ssu12:42
*** jon_y_ has joined #maemo-ssu13:01
Palimerlin1991: ping13:04
*** jon_y has quit IRC13:04
*** Pali has quit IRC13:06
*** Pali has joined #maemo-ssu13:09
*** _rd has joined #maemo-ssu13:10
*** arcean has joined #maemo-ssu13:12
freemangordon_Pali: hi13:13
*** freemangordon_ is now known as freemangordon13:13
freemangordonPali: could you push your upstart fix to mester?13:14
freemangordon*master13:14
freemangordonI'll test it on my second device13:14
*** _rd has quit IRC13:25
*** piscodig has joined #maemo-ssu13:26
*** piscodig has quit IRC13:26
*** piscodig has joined #maemo-ssu13:26
*** discopig has quit IRC13:29
freemangordonmerlin1991: "libcurl4-openssl-dev: Depends: libidn11-dev but it is not installable"13:30
freemangordonPali: merged locally, will push if it works13:34
Palifreemangordon: ok, let me know if my changes fixed it13:37
freemangordonPali:13:38
freemangordongrep: /sys/dev/block/8:8/device/../slot_name: No such file or directory13:38
freemangordongrep: /sys/dev/block/0:0/device/../slot_name: No such file or directory13:38
Palishit13:39
freemangordonyou're not getting major/minor correctly, will fix it13:39
Palimajor=$((0x$minor))13:39
Palithis is bad ^^^13:39
Palishould be minor=$((0x$minor))13:39
Palifreemangordon: do clean clone of git://gitorious.org/~pali/community-ssu/pali-upstart.git13:41
Palinow I fixed it13:41
freemangordonPali: there are more problems13:42
Paliwhat?13:42
freemangordonoh wait, my bad13:42
freemangordondidn't echo $emmc :)13:42
freemangordonPali: do we still default to mmcblk0?13:43
freemangordon(just asking)13:43
Paliyes13:43
freemangordonok13:43
Palifor emmc in mmcblk1 mmcblk0; do ...13:44
Palilast is mmcblk013:44
freemangordonPali: why clean clone, I added your repo as remote, going to just git pull --rebase pali master ;)13:44
PaliI rebased commits in my repo13:45
freemangordonoh13:45
Paliso you need to force pull13:45
freemangordongit reset --hard origin/master; git pull --rebase pali master did the job13:48
Paliok13:49
Drathircan i ask if you using any gui for git or all by hand from command line?13:50
freemangordonPali:13:52
freemangordonConfiguration file `/etc/default/mount-opts'13:52
freemangordon==> Modified (by you or by a script) since installation.13:52
freemangordon==> Package distributor has shipped an updated version.13:52
freemangordonWhat would you like to do about it ?  Your options are:13:52
freemangordonY or I  : install the package maintainer's version13:52
freemangordonN or O  : keep your currently-installed version13:52
freemangordonD     : show the differences between the versions13:52
freemangordonZ     : background this process to examine the situation13:52
freemangordonThe default action is to keep your current version.13:52
Palidid you edited that file?13:52
*** andre__ has quit IRC13:52
freemangordonPali: no13:52
Paliah, press Y13:52
freemangordonPali: well, I will, the point is - will HAM press it :)13:53
PaliHAM propably updating config files13:53
freemangordonPali: probably? hmm :(13:53
freemangordonDrathir: I use git-gui for pushing only13:54
freemangordonDrathir: everything else is by hand13:54
freemangordonin cli13:54
freemangordonPali: black screen13:54
freemangordonPali: will power-cycle just in case13:55
Pali:-(13:55
freemangordonoh, wait13:55
freemangordonbooting the wrong kernel13:56
Drathirfreemangordon: thanks for explain good to know13:57
freemangordonPali: well, it boots with the cover opened :)13:57
Paliback cover?13:58
freemangordonyep13:58
Palithen SD card is disconected13:58
freemangordon(no usd)13:58
freemangordoni know13:58
freemangordonok, boots wit it closed too13:59
freemangordonthat's on KCSSU though13:59
freemangordonPali: going to have something to eat, will flash stock and test after that13:59
Paliok13:59
freemangordonmerlin1991: or you cant test on your device ^^^14:00
freemangordon*can14:00
freemangordonPali: hmm, could you try to find someone on #maemo to test14:01
freemangordonPali: http://merlin1991.at/~freemangordon/upstart/14:02
freemangordonPali: going to post on TMO asking for some tester14:15
freemangordonmerlin1991: where are you?!?14:21
tadzikis it safe to update to new cssu now?14:30
tadzikif it isn't, I can maybe provide a testcase14:30
freemangordontadzik: new cssu?14:30
tadzikwasn't there one, that caused bootloops for folks?14:30
freemangordontadzik: oh, that one14:30
freemangordonyou can't install it, merlin1991 removed -pr from the repo to prevent more devices bootlooping14:31
tadzikokay, good14:31
freemangordontadzik: I guess you can apt-get upgrade14:47
tadzikfreemangordon: well, I thought I may open the pandora's box and help you with tracking down the bug14:47
freemangordonand the install (hopefully) fixed .debs from   http://merlin1991.at/~freemangordon/upstart/14:47
*** _rd has joined #maemo-ssu14:47
freemangordontadzik: we need someone to confir the issue is fixed with stock kernel14:47
freemangordontadzik: but I guess you're on -thumb14:48
tadzikI don't think my thumb... exactly14:48
freemangordonso you'd better wait, I hope as soon as merlin1991 appears, we'll have a new -pr14:49
tadzikokayo14:51
Drathirtadzik: can i ask what is a pandora's box?14:56
freemangordonhttp://en.wikipedia.org/wiki/Pandora%27s_box14:57
Drathirfreemangordon: thanks /me goin to read14:57
Drathirlol oh... i think that name  have a hidden second mean :p14:59
Drathirmeaning* but not sure14:59
*** _rd has quit IRC15:06
*** unclouded has quit IRC15:25
*** _rd has joined #maemo-ssu15:44
*** generatorglukoff has quit IRC15:52
*** _rd has quit IRC16:01
*** _rd has joined #maemo-ssu16:18
*** Vlad_on_the_road has quit IRC16:49
*** dhbiker has quit IRC16:59
*** futpib has joined #maemo-ssu16:59
*** dhbiker has joined #maemo-ssu17:03
*** Skry has left #maemo-ssu17:05
*** NIN101 has joined #maemo-ssu17:32
*** _rd has quit IRC18:31
merlin1991freemangordon: so what's the status now?18:36
*** Martix has quit IRC19:08
*** Martix has joined #maemo-ssu19:09
*** DocScrutinizer05 has quit IRC19:46
*** DocScrutinizer05 has joined #maemo-ssu19:47
*** Martix has quit IRC20:02
freemangordonmerlin1991: need someone to confirm it is fixed with stock kernel20:17
*** jon_y_ is now known as jon_y20:19
*** Vlad_on_the_road has joined #maemo-ssu20:26
freemangordonmerlin1991: feel free to test the debs in my $HOME/upstart20:27
DrathirPali: help help^^20:29
Drathirafter reboot device wifi indicator is red no wifi networks showing, where to search issue?20:30
Drathirhow to check verifiy if drivers are loaded?20:30
freemangordonDrathir: do powerdown/powerup20:32
Drathirfreemangordon: ok i try20:33
Drathirmy lsmod : http://pastebin.com/jWLvc43X20:34
freemangordonhmm, no wifi mods if I see it correctly20:35
* freemangordon woke up just a few minutes ago :)20:35
Drathirfreemangordon: mornin20:36
*** _rd has joined #maemo-ssu20:38
Drathirafter reboot still red indicator of wifi.20:42
freemangordonDrathir: what indicator is that?20:43
freemangordondo you have autodisconnect by chance?20:43
Drathirnear clock on homescreen20:44
freemangordonDrathir: could you provide a screenshot? as my device shows nothing where not connected20:44
Drathirnormal looks similar to *))))20:45
Drathirok wait a sec i do screenshot20:45
freemangordonI know how it looks like when connected, the point is that I see no icon when disconnected20:45
freemangordonDrathir: since when it started to behave like that?20:46
*** DocScrutinizer51 has quit IRC20:46
*** DocScrutinizer51 has joined #maemo-ssu20:48
*** dhbiker has quit IRC20:54
PaliDrathir: load driver wl12xx: modprobe wl12xx20:55
*** _rd has quit IRC20:56
DrathirPali: module wl1251_spi not found.20:59
Drathirfreemangordon: yes after update and reboot to load new kernel21:00
PaliDrathir: module wl12xx21:00
Palinot wl125121:00
Drathirfreemangordon: file uploading take a little because throught gsm uploading.21:01
DrathirPali: yes i write wl12xx and this error message shown21:01
PaliDrathir: then you enabled packet injection drivers21:04
DrathirPali: how to enable it?21:05
PaliDrathir: can you post files which are in /etc/modprobe.d/ ?21:07
Drathiryes ofc21:07
Palialso check if you have module wl12xx.ko in /lib/modules/<kernel_version>/21:07
Drathirhttp://pastebin.com/DVcTq1XB /etc/modprobe.d/21:10
freemangordonmerlin1991: ping21:10
merlin1991freemangordon: pong21:10
merlin1991atm installing the packages ;921:10
freemangordonoh, ok21:10
freemangordonmerlin1991: make sure to purge the old config21:11
merlin1991did21:11
freemangordonok21:11
freemangordonjust reminding :)21:11
Drathirconfirm file wl12xx.ko is in power5221:13
merlin1991dpkg -L kernel-power-modules | grep wl12xx.ko21:13
merlin1991freemangordon: boots21:16
Drathirmerlin1991: http://pastebin.com/44aj1iRn21:16
merlin1991so it should be there :)21:16
merlin1991though in retrospect I should have read that from your confirm line :)21:17
merlin1991I read it as a question though21:17
PaliDrathir: download this script to device http://atrey.karlin.mff.cuni.cz/~pali/packet-injection.sh21:18
PaliDrathir: and run: ./packet-injection.sh disable && ./packet-injection.sh unload21:19
freemangordonmerlin1991: going to push to gitorious21:21
merlin1991I might have a proper scratchbox here, gotta check, if not I can release it on sunday evening21:21
DrathirPali: http://pastebin.com/Lv6EEDzc21:23
PaliDrathir: this is bad "libwl1251: libwl1251_nl_init failed"21:25
Paliwhich version of kernel you using?21:25
Palirun: uname -a21:25
freemangordonmerlin1991: pushed21:25
Drathir2.6.28.10-power5221:26
PaliDrathir: now please provide dmesg output21:26
freemangordonPali: https://gitorious.org/community-ssu/upstart/commit/5b763eea9ce683e05c6d79528f1d3282a54b13dc21:26
freemangordonwhat is the idea?21:26
Paliwhen maemo rootfs (with /opt) is stored on eMMC or SD card21:27
merlin1991Pali: what u-boot in devel is yours again?21:27
freemangordonPali: ok, thanks21:27
Palimerlin1991: u-boot in extras-devel?21:28
merlin1991yes21:28
Palihttp://maemo.org/packages/view/u-boot-flasher/21:28
merlin1991thanks21:28
Palihttp://maemo.org/packages/view/u-boot-tools/21:28
Palihttp://maemo.org/packages/view/u-boot-bootimg/21:29
merlin1991it's confusing with 3 different u-boot packages in devel where 2 are called uboot-* and yours is u-boot-*21:29
Paliother uboot version should be removed from extras21:29
DrathirPali: http://pastebin.com/BVHAmXFR21:30
PaliDrathir: hm... try to reboot device21:30
Palimaybe it really it is needed to reboot after calling enable/disable command from above script21:31
Drathirbtw charger sometimes not connecting because entrance of port is lazy and show charger connecting/disconnecting can be a spam inside dmesg21:31
Drathirok rebooting21:31
Palimerlin1991: when you going to update CSSU-T can you add also last version of ke-recv from git (it is in cssu-devel)21:33
Palike-recv will use mount-opts from upstart config file21:34
Palifreemangordon, merlin1991: if you do not have, can you update and test ke-recv from cssu-devel?21:34
freemangordonPali: since when ke-recv is in -devel?21:35
PaliMay 0921:35
freemangordonke-recv (3.19-16) unstable; urgency=low21:36
*** dhbiker has joined #maemo-ssu21:36
freemangordonthis is what I have on my "production" device21:36
Palialso package osso-af-utils (since January 12 2013)21:37
freemangordonPali: no21:37
freemangordonlets include it in the next update21:37
Palithat are changes which should go together with dsme version which is now in CSSU-T21:37
freemangordonoh21:37
freemangordonwell, ok then21:37
Palithen downgrade dsme21:37
freemangordonwhy it is not included?21:37
Palimerlin1991?21:38
Palimore packages was updated to use /var/lib/dsme/saved_state instead calling getbootstate21:38
freemangordonPali: wait, if it depends on osso-af-utils>x why it is able to install?21:38
Paliit does not depends21:39
Palibut same change which is in dsme is also in osso-af-utils21:39
freemangordonbut it should if it needs it21:39
freemangordonhowever21:39
Palilasy version of ke-recv in devel & git is 3.19-1621:40
Drathirfreemangordon: http://db.tt/YCb1MLOX21:42
freemangordonDrathir: never seen that :)21:42
freemangordonloocs scary :D21:42
freemangordon*looks21:42
Drathirfreemangordon: yea i was scared but second i think new icons set and when network is off have red indicator21:44
Drathirfreemangordon: but after moment icon set inside kernel cant ba a true21:45
Drathirbtw i must think about something to do with usb port to be thiner again, but really scare...21:47
DrathirPali: no changes21:49
PaliDrathir: please provide again /etc/modprobe.d and dmesg21:53
Paliplus: ls -l -a /lib/modules/<kernel_version>21:53
Drathirhttp://pastebin.com/jsPzcREP21:55
Drathirhttp://pastebin.com/Xjz4BZcG21:56
Drathirhttp://pastebin.com/vxVLL9Pj22:00
Drathir<kernel_versin> i changed to power5222:00
Drathirhttp://pastebin.com/qqk2vNWz22:02
Drathirhttp://pastebin.com/gqk2vNWz correct22:04
Drathiror maybe i must make update again? is possible something not correctly installed yesterday? or not connected with problem?22:07
PaliDrathir: in /etc/modprobe.d is still packet-injection.conf22:14
Palican you re-run that script with disable arg (as root)?22:14
Paliwhat is command of gqk2vNWz?22:16
PaliDrathir: there is bug in that script22:19
PaliNow I found where is problem, going to fix it22:19
Paliwait for new version of script22:19
PaliDrathir: now fixed, please download new version of http://atrey.karlin.mff.cuni.cz/~pali/packet-injection.sh and run disable again22:22
DrathirPali: ok i try to run only disable command22:26
Paliand post output of disable command22:26
Drathirsay packet injection alredy disabled22:27
Drathirare alredy*22:27
Drathiris the same commans byt on kernel power5122:28
Drathircommand*22:28
freemangordonmerlin1991: so? are you gonna fix it or we'll wait until tomorrow? In both cases, please do some PR on TMO :)22:28
PaliDrathir: please run: ls -l -a /etc/modprobe.d/packet-injection.conf22:29
Palils -l -a /etc/event.d/packet-injection22:29
Drathircat ls -l -a /lib/modules/2.6.28.10-power51/22:29
Drathirok checking22:29
Drathirredownkoload the script22:30
Drathirhttp://pastebin.com/s3pzGMbm22:34
Drathirpackets modules are alredy disabled22:35
Drathirls -l -a /etc/event.d/packet-injection22:37
Drathirthis file noe egsist22:37
Palithis looks OK :-) "wl1251-cal: Got CAL NVS"22:37
Drathirnot*22:37
Palialso MAC address found22:37
Palinow your wifi should work22:37
Drathirthis also not egsist ls -l -a /etc/modprobe.d/packet-injection.conf22:38
Palirigth, all should be deleted if packet injection is disabled22:38
Drathircorrect wifi search networks work again22:38
Paliok, so problem solved?22:38
Drathirguys thanks a lot for a help22:39
PaliDrathir: and I thank you for finding bug in my script :-)22:39
Drathiryes i try reboot to check if red indicator removed22:39
Drathirbecause now have 2 ^^22:39
Drathirred and white ;p22:40
Palitwo icons?22:44
Palimaybe you installed 3rd application?22:44
*** eddyb has joined #maemo-ssu22:44
Drathirproppably not refreshed yet after reboot should go to normal i get screenshot uploading now22:47
eddybPali, freemangordon: back :D22:54
eddybdo I need anything more than http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/bootmenu/1.12/ ?22:55
eddybapt-get and aptitude don't seem to work, I'm thinking I could dpkg -i that deb package22:55
Palieddyb: bootmenu DEB is enought, but make sure you do *not* have installed multiboot22:55
eddybmaybe from a script so I can save the output for feedback. too bad maemo doesn't have a sane sudo >:(22:56
eddybPali: nope, didn't install any boot-related package since I flashed22:56
Paliok22:56
eddybI think multiboot broke my previous root22:56
*** n900-dk_ has joined #maemo-ssu23:01
*** _eddyb_ has joined #maemo-ssu23:02
*** eddyb has quit IRC23:03
*** _eddyb_ is now known as eddyb23:03
*** tom_ has joined #maemo-ssu23:05
*** aap__ has joined #maemo-ssu23:05
*** Drathir_ has joined #maemo-ssu23:06
*** XDS2010_ has quit IRC23:07
*** n900-dk has quit IRC23:07
*** aap has quit IRC23:07
*** merlin1991 has quit IRC23:07
*** Drathir has quit IRC23:08
*** tom has quit IRC23:08
*** merlin1991 has joined #maemo-ssu23:08
*** macmaN_ has quit IRC23:09
*** macmaN has joined #maemo-ssu23:09
*** Vlad_on_the_road has quit IRC23:12
*** nox- has joined #maemo-ssu23:13
*** Drathir_ is now known as Drathir23:14
*** Milhouse has quit IRC23:14
*** Vlad_on_the_road has joined #maemo-ssu23:15
eddybctrl+shift+x only works if it's the first thing I do... it's almost as if the window manager (or whatever's left of it) does z-indexing backwards23:18
Drathir2 icons ^^ http://db.tt/Ry6swClT23:18
Drathir*not_true* hit n900 with dual wlan inside23:19
eddybhuh?23:21
eddybPali: would this work? cd /home/user/MyDocs; dpkg -i bootmenu_1.12_armel.deb 2>&1 > dpkg_log23:25
PaliDrathir: this looks like some 3rd app...23:26
Palieddyb: no23:26
eddybdammit23:26
Palibad order of &> operators23:26
eddybhuh?23:27
Pali1> dpkg_log 2>&123:27
Pali^ this is correct ^23:27
eddyboh my, I must've done this wrong so many times23:28
eddybbut I've seen it done this way more times than I've done it23:28
*** Milhouse has joined #maemo-ssu23:29
*** X-Fade has quit IRC23:29
*** ChanServ has quit IRC23:29
eddyblovely23:29
DrathirPali: after reboot all go to normal status one icon23:29
Paliok23:29
*** ChanServ has joined #maemo-ssu23:31
*** rajaniemi.freenode.net sets mode: +o ChanServ23:31
Drathirthanks again guys for help looks like problem sloved23:31
*** X-Fade has joined #maemo-ssu23:31
Drathirlooks all works goin to apply cssu update23:32
PaliDrathir: updating CSSU-T not working yet23:33
Paliit is disabled until reboot loop will be fixed and pushed to repos23:33
Palifreemangordon, merlin1991: is my patch for upstart fixing that reboot loop?23:34
Drathirok  good to know23:34
eddybgaah if only the damn thing didn't make sounds23:38
eddybPali: 4 lines, the last one is Setting up bootmenu (1.12) ..., I think it's done :D. do I reboot now?23:39
Paliok, reboot and open keyboard23:39
eddyb(not in that order)23:39
Paliwhen device will boot with open keyboard it show bootmenu23:40
Paliand big warning! when you are in bootmenu you *cannot* change battery!23:41
eddybthe same thing as multiboot?23:41
Paliso before doing some big usb transfers (like cloning eMMC) charge battery to FULL in maemo23:41
Drathiris anything boot stuff to good to have to instal eg. to fix loop/boot problems?23:41
PaliDrathir: u-boot, bootmenu and recovery console23:42
PaliDrathir: and also backupmenu23:42
eddybPali: which thing do I choose?23:42
Palieddyb: what you need to do?23:42
eddybaccess the raw /home partition23:43
eddybI want to dd it then attempt to fix it23:44
DrathirPali: u-boot here backupmenu here, but must read about boot menu and recorvery console if this a packages too.23:45
Palieddyb: then start usb mass storage mode23:45
eddybit's not called that23:45
eddybUSB hard drive?23:45
eddyboh, press Ctrl for USB mass storage mode23:46
eddybthat?23:46
Palieddyb: yes23:46
Paliand make sure you have full battery23:46
Pali(or enough for data transfer)23:46
eddybI left it charging before I did anything today23:46
Paliok23:46
eddybRX-51...?23:47
Palibecause in this mode, battery is not charging23:47
Palieddyb: should be23:47
eddybwould need battery management drivers to charge?23:47
Paliit export full eMMC and SD card23:47
eddybok, I won't mount it. time to learn dd params :P23:47
Palieddyb: dd if=/from.. of=/to.. bs=4M23:48
Pali4M is good for our eMMC23:48
eddybthanks :D23:48
DrathirPali: about battery i dont know yet, next good to know... in backup menu is enabled emergency charging mode?23:48
Palicould be, do not know, I used backupmenu 2 years ago...23:49
Palieverything needed I have in my bootmenu (usb networking & usb mass storage)23:49
eddybdammit I'm not sure which device it is23:50
DrathirPali: backupmenu dont conflict with bootmenu?23:50
Palino, backupmenu using bootmenu :-)23:50
Palibackupmenu is boot entry for bootmenu23:51
eddyb  Device Files: /dev/sdc2, /dev/disk/by-id/usb-Nokia_N900_372041756775-0:1-part2, /dev/disk/by-label/RX-51_2009SE_1.2, /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:1-part2, /dev/disk/by-uuid/69242ceb-d95d-415c-8a7a-f9121269b2fd23:53
eddybhad to use hwinfo for that23:53
eddyblooks like 8-16MB/s23:54
Drathirbtw 1. maemo 5 community ssu package and 2. community ssu enabler still avaible on package update list...23:54
eddybPali: how big is it?23:54
Palieddyb: /home partition? By default 2GB23:55
eddyb1GB done already23:55
eddyba full battery is more than enough to dd it23:55
PaliDrathir: packages are in package list, but DEB package from URL removed23:56
eddybbut the small speed means I'll have to test recovery methods on the copy23:56
DrathirPali: oh from thats side, maybe/looks like i have too bootmenu installed hrhr23:57
eddyb2147483648 de octeți (2,1 GB) copiați, 176,791 s, 12,1 MB/s23:57
* Drathir like n900 speed23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!