IRC log for #maemo-ssu on 20120315

01:14.24*** part/#maemo-ssu freemangordon_ (~freemango@130-204-50-168.2074156771.ddns.cablebg.net)
02:12.35*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142)
02:16.17*** join/#maemo-ssu wmarone_ (~wmarone@c-67-174-151-253.hsd1.ca.comcast.net)
02:26.18*** join/#maemo-ssu wmarone__ (~wmarone@c-67-174-151-253.hsd1.ca.comcast.net)
02:30.34*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142)
03:10.29*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
05:33.32*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142)
06:46.15*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-89-102-207-166.net.upcbroadband.cz)
07:16.05*** join/#maemo-ssu bindi__ (~bindi@f430.ip15.netikka.fi)
07:16.28*** join/#maemo-ssu peetah_ (~peetah@cha92-9-82-236-202-86.fbx.proxad.net)
07:51.24*** join/#maemo-ssu freemangordon_ (~freemango@130-204-50-168.2074156771.ddns.cablebg.net)
08:01.46*** part/#maemo-ssu freemangordon_ (~freemango@130-204-50-168.2074156771.ddns.cablebg.net)
08:05.34*** join/#maemo-ssu dafox (~dafox@dyn-194234.nbw.tue.nl)
08:53.56*** join/#maemo-ssu psycho_oreos (~no@unaffiliated/tuxsavvy)
08:59.41*** join/#maemo-ssu trumee_afk (~parul@188-222-165-248.zone13.bethere.co.uk)
09:00.36*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
10:31.00*** join/#maemo-ssu lizardo (lizardo@nat/indt/x-oljdsvodjzxugzgr)
10:34.51*** join/#maemo-ssu DocScrutinizer (~halley@openmoko/engineers/joerg)
10:41.43*** join/#maemo-ssu andre__ (~andre@Maemo/community/bugmaster/andre)
10:49.48*** join/#maemo-ssu ekze-nyan (~nyan@bakaekze.ru)
10:52.51*** join/#maemo-ssu ekze_nyan (~nyan@bakaekze.ru)
11:00.25*** join/#maemo-ssu ekze (~nyan@bakaekze.ru)
11:15.47*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.142)
11:23.22*** join/#maemo-ssu lartza_ (~lartza@IP-62-216-117-183.telemail.fi)
11:59.34*** join/#maemo-ssu dafox (~dafox@dyn-194234.nbw.tue.nl)
12:23.13*** join/#maemo-ssu Raimu (~rmaunula@130.231.241.29)
12:33.45*** join/#maemo-ssu M4rtinK (~M4rtinK@eduroam-177.fi.muni.cz)
12:33.53*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
12:37.57*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
13:00.42*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
13:18.06*** join/#maemo-ssu LinuxCode (~LinuxCode@fedora/LinuxCode)
14:06.36*** join/#maemo-ssu mase76 (~mase76@p5DD3BDA9.dip.t-dialin.net)
14:15.01*** join/#maemo-ssu M4rtinK (~M4rtinK@eduroam-177.fi.muni.cz)
14:17.36*** join/#maemo-ssu M4rtinK2 (~M4rtinK@eduroam-177.fi.muni.cz)
14:33.09*** join/#maemo-ssu mase76 (~mase76@p5DD3BDA9.dip.t-dialin.net)
14:55.23*** join/#maemo-ssu Pali (~quassel@unaffiliated/pali)
15:26.16*** join/#maemo-ssu andre__ (~andre@ip-86-49-77-130.net.upcbroadband.cz)
15:26.16*** join/#maemo-ssu andre__ (~andre@Maemo/community/bugmaster/andre)
16:16.58*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-89-102-207-166.net.upcbroadband.cz)
16:36.22*** join/#maemo-ssu mase_76 (~mase76@p5DD39DDA.dip.t-dialin.net)
16:46.15*** join/#maemo-ssu trbs (~trbs@2001:470:d2ad:1:4a5b:39ff:fe7d:1623)
16:52.18Paliping merlin1991
16:52.28merlin1991pong
16:53.15Palimerlin1991, I have program which write kernel version which is flashed into mtd3
16:53.28Palihttp://atrey.karlin.mff.cuni.cz/~pali/kernel-version.c
16:54.12Paliit will scan for piggy.gz in zImage format, try to unpack piggy.gz and try to find version string
16:54.27Paliworking with mtd or block device or with regular file
16:54.52Palimerlin1991, can you test it?
16:55.08merlin1991sure
16:55.27PaliI think this is way how to determinate if user has flashed U-Boot, nokia stock kernel or kernel power
16:55.28merlin1991though can you make me an arm build of it?
16:55.36Palihttp://atrey.karlin.mff.cuni.cz/~pali/kernel-version.armel
16:56.01Palirun as root: ./kernel-version.armel /dev/mtd3ro
16:56.47merlin1991Version string not found
16:57.12Palican you create dump of your mtd3ro?
16:58.21*** join/#maemo-ssu NIN101 (~NIN@206.253.166.69)
16:58.31merlin1991is it safe to just dd if=/dev/mtd3 of=somefile?
16:58.51Paliyes
16:59.03Palibetter mtd3ro
16:59.55Palimerlin1991, which kernel version are you using?
17:00.12merlin1991power46 from the bleeding edge package
17:00.40merlin1991btw are you going to include the "new" driver from lpx1 into powerkernel?
17:00.57Palimaybe in future in separate package
17:01.23Palinow problem is that kernel-power v50 is builded but not uploaded from autobuilder to extras-devel :-(
17:01.51merlin1991hm it fails aswell with the stock pr 1.3 kernel
17:02.09merlin1991ah wait
17:02.26merlin1991I don't have the stock kernel here but power46-wl1 again
17:02.40merlin1991trying on yet another n900 :D
17:02.55Palican you send me dump?
17:03.10merlin1991yeah I'm only trying to figure out where I dropped my ssh key :D
17:03.12Paliit should show version of each zImage kernels
17:03.16Paliok
17:04.38merlin1991http://188.40.39.11/~christian/maemo/mtd3dump_power46-wl1.bin
17:05.16PaliVersion: 2.6.28.10power46-wl1
17:05.21Pali(on x86_64)
17:05.29merlin1991I ran it on the device
17:05.34Paliok
17:05.36merlin1991I'll try to run it against the dump
17:05.49merlin1991(on the device again)
17:06.13PaliVersion: 2.6.28.10power46-wl1
17:06.16Paliworking too
17:06.34Palican you try to run: ./kernel-version.armel mtd3dump_power46-wl1.bin
17:06.46merlin1991that works
17:06.55merlin1991trying again agains /dev/mtd3ro
17:07.11Palimake sure you are root
17:07.18merlin1991I sshed in as root :D
17:07.33merlin1991Nokia-N900:~# ./kernel-version.armel /dev/mtd3ro
17:07.33merlin1991Version string not found
17:07.44merlin1991but
17:07.45merlin1991Nokia-N900:~# ./kernel-version.armel mtd3dump_power46-wl1.bin
17:07.45merlin1991Version: 2.6.28.10power46-wl1
17:08.17PaliI updated armel binary on server
17:08.29Palinow it show size of file/mtd device
17:08.52Palicheck if size output is same
17:09.41merlin1991Size: 2097152
17:09.42merlin1991but still no version info
17:09.55Palisize is ok
17:10.02merlin1991dd also reads same size
17:10.05merlin1991ls
17:10.07PaliI will try to investigate where is problem
17:10.33Paliprogram mapping file to memory
17:10.48Paliso maybe mmap is not working correctly
17:10.59merlin1991odd thing is it works against the dd dump
17:11.13merlin1991maybe you can't mmap the /dev device?
17:16.59PaliI will try to find out some more info
17:17.24Paliat least uncompressing and finding correct version string working
17:26.18*** join/#maemo-ssu freemangordon (freemangor@130-204-50-168.2074156771.ddns.cablebg.net)
17:28.36Palimerlin1991, I found problem. mmap returning (void *)-1 if failed (not NULL)
17:28.54Paliand it failed with errno ENODEV
17:29.10Paliso maybe really mtd dev does not support mmap

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