01:02.23 | *** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au) |
01:08.30 | jonwil | merlin1991: ping |
01:18.49 | merlin1991 | jonwil: pong |
01:19.16 | jonwil | Ok, so has anything been decided on what will happen to my operator-name-cbs-widget? |
01:20.15 | merlin1991 | will be included most probably |
01:21.27 | jonwil | in CSSU-T you mean? |
01:31.27 | merlin1991 | yes |
01:36.38 | jonwil | ok, good, lets hope a new CSSU-T comes out soon :) |
01:38.27 | LaoLang_cool | Hi, I'm playing angry birds, which file is for the game recording? I want to back it up.. |
03:17.42 | *** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn) |
04:53.52 | *** join/#maemo-ssu Kaptenen (~Kaptenen@81.216.60.47) |
05:19.55 | *** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142) |
08:36.46 | *** join/#maemo-ssu Pali (~quassel@unaffiliated/pali) |
09:17.23 | *** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm) |
09:40.56 | *** join/#maemo-ssu NIN101 (~NIN@206.253.166.69) |
10:13.17 | *** join/#maemo-ssu NIN101 (~NIN@206.253.166.69) |
10:17.50 | *** join/#maemo-ssu DocScrutinizer (~halley@openmoko/engineers/joerg) |
11:07.21 | *** join/#maemo-ssu andre__ (~andre@Maemo/community/bugmaster/andre) |
11:19.01 | *** join/#maemo-ssu Free-MG (~test@p5DD7D537.dip.t-dialin.net) |
12:02.03 | *** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl) |
12:26.08 | *** join/#maemo-ssu rd (~rd@p57B484A5.dip0.t-ipconnect.de) |
12:52.14 | *** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142) |
12:57.50 | *** join/#maemo-ssu Guest87431 (~rd@p57B484A5.dip0.t-ipconnect.de) |
13:29.21 | *** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm) |
13:41.12 | *** join/#maemo-ssu DocScrutinizer51 (~lagrange@openmoko/engineers/joerg) |
13:46.34 | *** join/#maemo-ssu Guest87431 (~rd@p57B484A5.dip0.t-ipconnect.de) |
14:23.16 | *** join/#maemo-ssu trbs (~trbs@2001:470:d2ad:1:4a5b:39ff:fe7d:1623) |
15:26.52 | *** join/#maemo-ssu Kaptenen (~Kaptenen@81.216.60.47) |
15:44.44 | *** join/#maemo-ssu andre__ (~andre@ip-86-49-77-135.net.upcbroadband.cz) |
15:44.44 | *** join/#maemo-ssu andre__ (~andre@Maemo/community/bugmaster/andre) |
15:48.58 | *** join/#maemo-ssu arcean (~Arcean@aaeo169.neoplus.adsl.tpnet.pl) |
17:00.38 | *** join/#maemo-ssu trumee_afk (~parul@46-64-48-176.zone15.bethere.co.uk) |
17:08.31 | *** join/#maemo-ssu freemangordon (freemangor@130-204-50-168.2074046448.ddns.cablebg.net) |
18:04.18 | *** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu) |
19:13.42 | *** join/#maemo-ssu mirandir (~valentin@2a01:e35:2e63:5170:7a2b:cbff:fed1:407c) |
19:14.21 | *** part/#maemo-ssu mirandir (~valentin@2a01:e35:2e63:5170:7a2b:cbff:fed1:407c) |
19:32.04 | *** join/#maemo-ssu nox- (noident@freebsd/developer/nox) |
19:59.07 | *** join/#maemo-ssu arcean_ (~Arcean@aaeo29.neoplus.adsl.tpnet.pl) |
20:07.48 | freemangordon | Pali, ping |
21:54.51 | Pali | freemangordon, pong |
21:57.00 | freemangordon | Pali, I am testing ke-recv |
21:57.05 | freemangordon | so far so good |
21:57.18 | Pali | ok, I'm using it too and no problem I see |
21:57.37 | freemangordon | but my ext3 partition appears in filemanager as Nokia N900 :) |
21:57.58 | Pali | yes - but this is bug in osso-filemenager of in hildon |
21:57.58 | freemangordon | and it seems it tries to mount the swap partiyion (mmcblk1p3) |
21:58.13 | Pali | it try to mount all partitions |
21:58.26 | freemangordon | so I have a message "memory card format unsupported" |
21:58.42 | Pali | uh, so then swap must be skipped |
21:58.49 | freemangordon | Pali, noone should try to mount swap partition |
21:58.50 | freemangordon | yep |
21:58.57 | Pali | can you write syslog output? |
21:59.08 | freemangordon | let mr try |
21:59.11 | freemangordon | *me |
22:00.32 | Pali | in ke-recv code is line for ignoring swap |
22:01.29 | freemangordon | ke_recv[1578]: mount_volumes:950: trying mount /dev/mmcblk1p3 to /media/mmc1p3 |
22:01.29 | freemangordon | Mar 11 00:00:26 Nokia-N900 root: /usr/sbin/osso-mmc-mount.sh: /dev/mmcblk1p3 type '82' is not FAT32 or FAT16 |
22:01.29 | freemangordon | Mar 11 00:00:26 Nokia-N900 root: /usr/sbin/osso-mmc-mount.sh: mounting /dev/mmcblk1p3 read-write fs vfat to /media/mmc1p3, rc: 255 |
22:02.00 | Pali | not enoght |
22:02.14 | freemangordon | what else do you need |
22:02.15 | Pali | can you upload full ke-recv syslog to pastebin? |
22:02.59 | Pali | ignoring swap is done in function which add paritition to volume list |
22:03.01 | freemangordon | what was the command from n900? |
22:03.09 | freemangordon | for pastebin |
22:03.29 | Pali | no idea if there is command for that |
22:03.35 | freemangordon | ok |
22:03.46 | freemangordon | there is, but i will use the site anyway |
22:03.47 | Sicelo | apt-get install pastebinit |
22:03.56 | freemangordon | Sicelo, 10x |
22:04.26 | freemangordon | Pali, http://pastebin.com/bqzEURQ1 |
22:04.51 | freemangordon | That is the result after using usb mass storage mode |
22:05.20 | freemangordon | "/dev/mmcblk0p3 950401 974976 24576 786432 82 Linux swap / Solaris" |
22:05.30 | freemangordon | oops, sorry |
22:05.57 | freemangordon | "/dev/mmcblk1p3 1806+ 1935 130- 1042168 82 Linux swap / Solaris" is the partitio in question |
22:08.01 | Pali | freemangordon, unplug card, restart ke-recv, plug it again and sent ke-recv syslog output again |
22:08.24 | Pali | this log say, that mmc part is already in list |
22:09.18 | freemangordon | Pali, I have my swap on sdcard, need to move it on internal mmc first, give me a couple of minutes |
22:09.32 | Pali | restart ke-recv |
22:09.41 | freemangordon | ok |
22:09.54 | freemangordon | waiting for swapoff to complete |
22:09.59 | Pali | ok |
22:12.21 | Pali | also give me output of lshal -u /org/freedesktop/Hal/devices/volume_uuid_130186e3_9585_40a8_954a_dc2ee500b23f |
22:12.28 | freemangordon | Pali, how am i supposed to restart ke-recv? |
22:12.42 | Pali | sudo /etc/init.d/ke-recv restart |
22:12.45 | freemangordon | ok |
22:13.05 | Pali | is that above uuid swap? |
22:13.21 | freemangordon | Pali, this device is my ext3 partition, are you sure you need lshal output for it? |
22:13.25 | freemangordon | no |
22:13.37 | Pali | I need to know which is swap |
22:20.00 | freemangordon | Pali, http://pastebin.com/FMeKTxBP |
22:23.08 | Pali | is this your swap? /org/freedesktop/Hal/devices/volume_uuid_19ED_24CB |
22:23.54 | freemangordon | yes |
22:24.21 | Pali | give me output of lshal -u /org/freedesktop/Hal/devices/volume_uuid_19ED_24CB |
22:25.40 | freemangordon | http://pastebin.com/0MR7L0Gx |
22:26.33 | freemangordon | something in kernel? |
22:26.51 | Pali | so this output from HAL thinks that that partition is FAT32 |
22:26.53 | Pali | not swap |
22:26.58 | freemangordon | I see |
22:27.14 | freemangordon | but it is swap, that is for sure, id 82 :) |
22:27.27 | Pali | try mkswap |
22:27.46 | Pali | 82 is only MBR ID |
22:28.06 | Pali | but HAL also look at first paritions magic chars... |
22:28.07 | freemangordon | Pali, that swap partition is the only one I use |
22:28.30 | freemangordon | what is the idea of doing mkswap on it? |
22:29.07 | Pali | I think that mkswap create proper header on that part |
22:29.45 | Pali | e.g. you need to create swap partition before using it via swapon |
22:30.31 | Pali | at least on that partition is some FAT32 header which some UID |
22:30.35 | freemangordon | sure, but why the hell would HAL think that ACTIVE (i.e. swapon-ed partition) is VFAT is beyond my imagination |
22:30.47 | freemangordon | Pali, it is my ONLY swap |
22:31.05 | freemangordon | so it should be good enough for swapon |
22:31.16 | Pali | no idea, but HAL is shit |
22:31.20 | freemangordon | :D |
22:31.36 | freemangordon | well, maybe this should be workarounded somehow |
22:31.52 | freemangordon | in ke-recv scripts, based on partition id |
22:32.36 | Pali | try swapon -f <device> |
22:32.51 | freemangordon | -f stands for? |
22:33.01 | Pali | -f should reinitialize swap device |
22:33.05 | freemangordon | ok |
22:33.15 | Pali | manpage tell that it call mkswap if needed |
22:33.33 | freemangordon | swapon: invalid option -- f :p |
22:33.47 | Pali | seems that busybox does not support -f :-( |
22:33.50 | freemangordon | well, I will do mkswap |
22:35.56 | Pali | if you used that partition for FAT32 before swap and you did not run mkswap this is normal problem |
22:36.35 | Pali | because swapon (without -f) maybe did not changed partition header |
22:36.56 | freemangordon | i did mkswap, let me try again |
22:37.43 | Pali | maybe again stupid HAL doing some bad things... or busybox |
22:38.23 | freemangordon | no joy, ke-recv tries to mount it |
22:38.46 | freemangordon | btw HAL reports volume.partition.type = '0x82' (string) |
22:39.04 | freemangordon | how is that related to VFAT? |
22:39.19 | Pali | volume.partition is data from MBR |
22:39.44 | Pali | and volume.* is data from parition (or kernel or somewhat...) |
22:39.55 | freemangordon | Pali, I think a workaround in /usr/sbin/osso-mmc-mount.sh is needed |
22:40.04 | freemangordon | to ingore swap partitions |
22:40.31 | Pali | problem is that we cannot say that MBR id is always correct |
22:40.43 | Pali | some windows programs for formating does not update it |
22:41.06 | Pali | but I'd like to know why that stupid hal always think that part is FAT |
22:41.27 | Pali | and where HAL got that FAT UID (19ED_24CB) |
22:41.53 | Pali | DocScrutinizer, do you know how HAL is working? |
22:42.04 | DocScrutinizer | a bit |
22:42.11 | Pali | see ^^^ |
22:42.12 | freemangordon | well, it is possible the stupid windoze I am connecting n900 to to make bad things |
22:42.56 | freemangordon | like screwing up unknown partitions |
22:43.31 | freemangordon | naah, scratch that |
22:43.31 | Pali | freemangordon, maybe HAL does not update info after running mkswap/mkfs.* try to reboot N900 |
22:43.32 | DocScrutinizer | sorry, no sufficent knowledge about HAL to contribute much |
22:43.57 | Pali | after reboot HAL must loose its memory |
22:44.09 | freemangordon | Pali, i've removed the backcover after making mkswap, that should be pretty enough |
22:44.32 | freemangordon | did I? |
22:44.42 | freemangordon | let me try again, just to be sure |
22:44.56 | Pali | try to mkswap with closed cover |
22:45.13 | freemangordon | :) |
22:45.50 | freemangordon | what I did is mkswap, removed backcover, returned backcover on its place |
22:46.05 | freemangordon | no way I can do mkswap while de cover is removed |
22:46.10 | freemangordon | *the |
22:46.20 | Pali | ok, see if lshal was changed |
22:47.12 | freemangordon | <PROTECTED> |
22:47.15 | freemangordon | :( |
22:47.22 | Pali | restart hal |
22:47.44 | Pali | or can you create backup of first MB of your partition? |
22:47.59 | freemangordon | dd? |
22:48.05 | Pali | yes with dd |
22:48.34 | freemangordon | you think that bootsectors contains FAT signiture? |
22:48.39 | freemangordon | *bootsector |
22:49.06 | Pali | maybe |
22:49.08 | freemangordon | if that is th case then it is mkswap to blame |
22:49.44 | Pali | or you can try to dd if=/dev/zero for first MB of your part |
22:49.45 | freemangordon | but that won't solve our problem. BTW why do you think windows dows not update partition table? |
22:49.59 | freemangordon | ok, will try that |
22:50.21 | Pali | maybe also mkswap/swapon in busybox is broken |
22:50.41 | Pali | so maemo did not updated partition correctly |
22:51.35 | Pali | we found a lot of bugs in busybox, so this will be no surprise if swap is also broken... |
22:52.14 | Pali | DocScrutinizer, do you think that busybox can be safely use for swapon? |
22:53.06 | DocScrutinizer | AIUI it should, though it doesn't support priorities afaik |
22:54.20 | freemangordon | "dd if=/dev/zero of=/dev/mmcblk1p3 bs=512 count=2048" done the job :) |
22:54.37 | freemangordon | lets do mkswap on that |
22:55.25 | DocScrutinizer | freemangordon: wtf? |
22:56.18 | freemangordon | DocScrutinizer wtf as in? |
22:56.18 | *** join/#maemo-ssu gregoa (~gregoa@chello212186032184.406.14.vie.surfer.at) |
22:56.28 | freemangordon | I mean what did you find strange |
22:56.29 | DocScrutinizer | what are you doing? |
22:56.45 | freemangordon | zapping the fist meg of my swap partition |
22:56.47 | DocScrutinizer | secure erase? |
22:56.54 | DocScrutinizer | what for? |
22:57.04 | freemangordon | because HAL thinks it is VFAT |
22:57.07 | freemangordon | :D |
22:57.08 | DocScrutinizer | LOL |
22:57.37 | DocScrutinizer | I'd assume a simple mkswap should suffice |
22:57.54 | freemangordon | But it seems it is not HAL to blame, after all it is mkswap not updating the first sector |
22:58.05 | DocScrutinizer | mhm |
22:58.13 | freemangordon | Pali ^^^ |
22:58.36 | DocScrutinizer | well, shouldn't this partition be marked as swap in MBR? |
22:58.48 | Pali | but HAL ignore MBR |
22:58.53 | freemangordon | it is |
22:58.55 | Pali | for detecting parittion |
22:59.25 | Pali | e.g HAL tell you MBR ID, but it show that fstype is other that MBR ID |
22:59.43 | DocScrutinizer | doesn't sound right |
22:59.54 | freemangordon | actually sound right to me |
23:00.19 | freemangordon | because fs type is written somewhere in the first sector |
23:00.29 | Pali | DocScrutinizer, you can see freemangordon lshal output, where is correct swap mbr id, but incorrect (fat) fstype |
23:01.05 | Pali | you can detect fs type by first magic sequence on partition |
23:01.31 | DocScrutinizer | freemangordon: nope, for a swap partition that's no requirement to have any special 1. sector afaik |
23:02.00 | DocScrutinizer | btw same applies for superfloppy, obviously |
23:02.25 | freemangordon | Pali, actually DocScrutinizer, is right, by no means we can guess what will be in swap partition first sector |
23:02.49 | freemangordon | or first sector is not used? |
23:04.13 | freemangordon | we are not alone :) http://forums.fedoraforum.org/showthread.php?t=119948 |
23:05.10 | Pali | I have no idea now how is that detecting... |
23:05.19 | DocScrutinizer | if HAL tries to guess fs by first sector for all partitions, then that's a bug for sure |
23:05.33 | Pali | HAL is one big bug |
23:05.58 | Pali | now I understand why more desktop distribution removed HAL |
23:07.12 | Pali | freemangordon, is now your swap and ke-recv ok? |
23:07.26 | freemangordon | seems like |
23:08.00 | Pali | ok |
23:08.37 | freemangordon | but we should solve the issue with "Nokia N900" appearing for sdcard partitions |
23:09.16 | Pali | yes, I think that problem is in hildon-fm |
23:09.31 | freemangordon | BTW yoy can tell the system where is sdcard FAT partition mounted by using an variable |
23:09.38 | freemangordon | let me find the name |
23:09.51 | Pali | not working correctly |
23:10.05 | Pali | because some apps has hardcoded /dev/mmc1 |
23:10.07 | freemangordon | Pali, I mean gconf value |
23:10.13 | freemangordon | sure? |
23:10.18 | freemangordon | damn |
23:10.18 | Pali | not exactly |
23:10.33 | Pali | there is env, gconf key and hardcoded values in apps |
23:10.57 | freemangordon | "/system/osso/af/mmc-mount-point" |
23:11.06 | Pali | so for FAT partition (write access) is good idea to use only /media/mmc1 |
23:11.13 | freemangordon | ok |
23:11.45 | freemangordon | so you think it is hildon-fm? then it should be fixable |
23:11.48 | Pali | and I saw that each app using other method (gconf, global env, or the worse hardcoded name to /media/mmc1) |
23:12.17 | Pali | I think that hildon-fm decide what to show in osso file manager (and also in select file dialog) |
23:12.29 | Pali | and also decide how to show name + icon |
23:12.53 | Pali | you can try to use kp50 + last ke-recv for usb storage (host mode) |
23:12.57 | freemangordon | ok, let me push updated debian/changelog for ke-recv an I'll look at hildon-fm |
23:13.10 | Pali | it will automount it to /media/usb/<mount_point> |
23:13.28 | Pali | and in filemanager will be nice usb icon with correct storage name |
23:13.44 | freemangordon | I don't have usb stick around :D |
23:13.54 | Pali | ok |
23:13.54 | freemangordon | but could try with second n900 |
23:14.02 | Pali | :D |
23:14.07 | freemangordon | :D |
23:17.12 | freemangordon | Pali, debian/changelog for ke-recv updated |
23:17.26 | Pali | ok |
23:23.57 | Pali | freemangordon, did you find something new about thumb? or it is definitly broken on n900? |
23:24.14 | freemangordon | didn't have time to continue |
23:24.26 | Pali | ok |
23:24.54 | freemangordon | Pali, do you know who assigns "mmc-undefined-name" for volume name? |
23:25.47 | Pali | no idea, but string "mmc-undefined-name" is not in ke-recv |
23:27.01 | freemangordon | bug #8904 |
23:27.03 | povbot | Bug https://bugs.maemo.org/8904 Memory card name changes to "mmc-undefined-name" after a couple of days |
23:27.38 | Pali | it is still in fremantle? |
23:27.41 | Pali | google say this: http://www.mail-archive.com/maemo-commits@maemo.org/msg01900.html |
23:28.15 | Pali | so libgnomevfs: +#define MMC_LABEL_UNDEFINED_NAME "mmc-undefined-name" |
23:28.22 | freemangordon | let me check something |
23:28.53 | freemangordon | yeah, that is what i wanted to check. we have that in cssu? |
23:32.57 | Pali | source code is on gitorious: http://maemo.gitorious.org/maemo-af/osso-gnome-vfs2 |
23:33.19 | Pali | binary package libosso-gnomevfs2-0 |
23:35.21 | Pali | and here is that patch: http://maemo.gitorious.org/maemo-af/osso-gnome-vfs2/blobs/master/debian/patches/07-mmc-card-name.patch |
23:35.30 | freemangordon | Pali, no mmc-undefined-name find there |
23:35.55 | Pali | line 33 |
23:36.57 | freemangordon | aaah, stupid me, i was skipping .patch files :) |
23:37.34 | Pali | look to branch fremantle, not master, it has more commits |
23:39.05 | freemangordon | yeah, lots of .patch files. |
23:39.17 | freemangordon | anyway, that should be fixable |
23:41.01 | freemangordon | hmm. that tries to open /tmp/.mmc-volume-label and searches there, i think it is ke-recv that writes that file |
23:41.55 | Pali | you are right |
23:42.20 | freemangordon | so we are back at ke-recv :) |
23:43.04 | Pali | but in that patch is somethink which determinate name of entry in file manager |
23:43.27 | Pali | so it should be fixed to work also for /media/mmc1p* |
23:44.41 | freemangordon | well, having several entries on filemanager with th same "Memory Card" labels is not much frendly |
23:44.52 | Pali | freemangordon, updating is done by shell script osso-update-mmc-label.sh (part of ke-recv) |
23:45.02 | freemangordon | yeah, I know |
23:45.17 | Pali | this is updating that /tmp/ files |
23:45.44 | freemangordon | but we should put at lieast partition sizes next to "Memory Card", at least that is what ubuntu does |
23:45.47 | Pali | but fat, ext, ... also support labels |
23:46.22 | Pali | ok |
23:46.59 | freemangordon | ok, use the label if there is one and concat the size in Gb, concat only the size if there is no label |
23:47.02 | Pali | seems that using that osso-* for getting label working only for FAT and only for partitions in /etc/mtools.conf |
23:47.16 | freemangordon | yeah |
23:47.31 | Pali | HAL does not tell us label? |
23:47.53 | freemangordon | NFC, let me check |
23:48.15 | Pali | it should be volume.label in HAL key |
23:48.36 | freemangordon | I am not sure I have label set on my ext3 partition |
23:49.06 | freemangordon | yeah , volume.partition.label = '' (string) |
23:49.44 | Pali | no volume.label |
23:50.13 | Pali | I tested and it give me correct for ext4, swap and vfat |
23:50.18 | freemangordon | volume.label = '' (string) |
23:50.43 | Pali | do you have set any label? |
23:50.46 | freemangordon | no |
23:50.48 | freemangordon | :) |
23:51.05 | Pali | so then it is ok |
23:51.20 | freemangordon | yes |
23:51.21 | Pali | we can drop that stupid osso-* label script and use hal |
23:51.35 | Pali | because hal told me also ext4 label |
23:52.11 | Pali | (drop = not call that script from ke-recv) |
23:52.28 | Pali | we do not know if other programs in maemo does not depend on it |
23:53.06 | freemangordon | no, we can't as it updates /etc/mtools.conf, and I suspect that is used from /usr/sbin/osso-usb-mass-storage-enable.sh |
23:53.21 | freemangordon | and maybe by some others |
23:55.11 | Pali | ok |
23:55.40 | Pali | I have other patches for pc-suite-enable.sh (and disable too) to enable usb network |
23:55.58 | Pali | what do you think can it be added to cssu? |
23:56.42 | freemangordon | what about sesection dialog, we should rewrite it too |
23:56.48 | freemangordon | *selection |
23:56.55 | Pali | is closed |
23:57.00 | freemangordon | i kno |
23:57.04 | freemangordon | damn |
23:57.05 | freemangordon | i know |
23:57.18 | Pali | but we can use pc-suite mode also for usb networking |
23:57.30 | Pali | because pc suite mode using g_nokia gadget |
23:57.50 | Pali | which automatically add usb0 interface |
23:58.07 | freemangordon | are you sure? I think there is an additional gadget when connection to pc-suite, let me check |
23:58.27 | Pali | I have already patched that script and it is working :-) |
23:58.55 | Pali | it also startup dhcp server in n900, so I can easy connect it to my laptop |
23:59.33 | freemangordon | isn't qtmobilehotspot supposed to do that? |
23:59.40 | Pali | no idea |
23:59.44 | freemangordon | :D |
23:59.47 | Pali | see fixed scripts: https://code.launchpad.net/~pali/+junk/maemo_pcsuite-usb-network |