IRC log for #maemo-ssu on 20130906

00:42.46*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
02:14.25*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
03:04.14*** join/#maemo-ssu DocScrutinizer05 (~saturn@openmoko/engineers/joerg)
06:06.24*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
06:30.36*** join/#maemo-ssu LauRoman (~LauRoman@5-14-93-219.residential.rdsnet.ro)
06:35.12*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
06:44.29*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
07:23.53FatPhilmerlin1991: good point. there are 2 lazy aspects - firstly just picking up on a heavily marketted trend language, and secondly just continuing with that bad choice.
07:25.16freemangordonFatPhil: in the kernel git trees you have around - what is the situation with powervr driver?
07:25.24FatPhilComputer languages should be tought the same way religions should be tought. A wide range of them, and with an emphasis on their similarities and differences. Learning *a* computer language is mostly useless, you end up with drones with no *understanding*
07:26.30FatPhilfreemangordon: I've checked my rover tree, and it's older than the latest released tree that KP is based on (no surprise, maintenance was outsourced later)
07:26.50freemangordonooh :(
07:28.00FatPhilNot by much, only a few patches worth, but it still came as a bit of a disappointment
07:28.08freemangordonFatPhil: powervr driver is the one we have 2 options for (in the context of the newer kernel) - forward port 1.3 or use the one from Nemo
07:28.31FatPhilI don't know Nemo
07:29.16freemangordonI already did the former, it seems to work. But it is dated and userland pieces are slow as hell
07:29.31FatPhilI do know that IMG's patch drops were the typical *SHIT* that you get from h/w verndors, and therefore I don't trust the code further than I can throw it.
07:29.47freemangordonFatPhil: what?!? you don;t know what nemo is?
07:30.11freemangordonFatPhil: https://wiki.merproject.org/wiki/Nemo
07:30.44freemangordonthe OS is unusable on N900 IMO, but there was a lot of HW adaptation done we can use
07:34.20FatPhilDoes Nemo come with a detailed commit history for the driver, or is it just a blob or a megapatch?
07:34.49freemangordonjust a blob AND a megapatch afaik
07:35.34freemangordonthe problem with powervr is that it depends on stuff in DSS driver
07:35.55freemangordonso if we upgrade powervr driver, DSS have to be upgraded as well
07:36.17keriodss?
07:36.23freemangordonwhich brings tons of problems, like X needs to be upgraded ;)
07:36.52freemangordonkerio: framebuffer etc
07:37.05freemangordonDisplay SubSystem iirc
07:38.43FatPhiland if you upgrade X, what else breaks? How big's the dependency tree?
07:39.26freemangordondammit, maybe we ca just hack clutter to use bc-cat instead of slow as hell texture upload and call it a day
07:39.36freemangordonFatPhil: NFC, never tried to upgrade X
07:40.08FatPhilI have a script that can split megapatches into whitespace-only changes, and actual real changes. That can sometimes help trying to work out what's changed.
07:40.38freemangordonFatPhil: I think our major problem is not dependency tree, but the patches(hacks) Nokia did
07:41.33FatPhilfor the powervr driver, most of the code was straight from IMG, we reported issues to them, and they'd drop a fixed version some time later
07:41.52freemangordonwell, X upgrade is not something I will start to do on my own
07:42.29FatPhilmaybe best to just stick with the old one, and only migrate forwards when necessary.
07:43.25freemangordonFatPhil: this is what I thought initially, but it seems migration on parts is not possible. Or I didn't get it as well :)
07:44.13freemangordonmaybe we can ask Skry for help, he is the one to bring ALARM on N900
07:45.12freemangordonI wonder whether he will be interested in the project, though I doubt given how much he like doc's attitude :D
07:45.49freemangordonis out of cigarettes, going to buy some
07:57.18*** join/#maemo-ssu Sohil876 (~Sohil876@106.66.203.142)
08:13.22*** join/#maemo-ssu DocScrutinizer05 (~saturn@openmoko/engineers/joerg)
08:35.41freemangordonPali: zimage-get-version /dev/mtd3ro returns "Version string not found"
08:36.06freemangordonPali: zimage-get-version -f /dev/mtd3ro returns "2.6.28.10-cssu3"
08:36.21freemangordonwhy -f is needed?
08:37.05Palido you have uboot?
08:37.22freemangordonPali: the real problem is that u-boot installer still says that the current version is unknown
08:37.28freemangordonno, I was about to install it
08:37.58Paliwithout -f it should write kernel version if there is no uboot
08:38.08freemangordonbut it does not do it
08:38.26freemangordonkernel-cssu3 here
08:38.26Paliuboot version is detected in fiasco-image-update
08:38.41Palifreemangordon, also try without -f again
08:38.50freemangordonI tried a couple of times
08:38.55Paliok
08:39.19Paliif without -f it does not write version, and you gave cssu3 kernel without uboot, then there is problem
08:39.30Paliplease create mtd3 dump and send me it
08:39.34freemangordonPali: what I see is that without -f it searches in the first 64KB only
08:39.41Paliyes
08:39.46freemangordonPali: with dd?
08:40.03Palibecause in 64Kb should be version header
08:40.09Paliuse cat
08:40.13freemangordonok
08:40.50Paliwith -f it looking in full image, so it will find also kernel if there is attached after uboot
08:41.16freemangordonI don;t have u-boot installed
08:41.24freemangordonthis is my devel device
08:41.36freemangordonI was about to install u-boot to test 3.10 :D
08:41.37Palineed to look at your mtd3
08:41.42freemangordonok, sending it
08:42.01Palimaybe 64kB is not enough...
08:42.10freemangordonyep
08:44.40freemangordonPali: merlin1991.at/~freemangordon/u-boot/mtd3ro.zip
08:46.17freemangordonPali: why don't you just use 2MB always?
08:46.39Palibecause it detect also kernel if there is uboot
08:47.00freemangordonI meant enable -f as default
08:48.05freemangordonuh, oh, I have an idea
08:48.48freemangordonPali: what about do cat of first 2 megs in case of mtd device to an ordinary file and doing mmap on it?
08:49.07freemangordonthat way there'll be no failed allocation problems aiui
08:49.40Palicat also fail
08:49.58Paliproblem is that kernel does not have memory for allocating buffer when readin from nand
08:49.59freemangordonwhat? why?
08:50.05freemangordonoh, I see
08:50.13freemangordonshit :(
08:50.17Palimaybe cat also repeating if read failing
08:50.36freemangordonwhat about dd?
08:50.42Palibut now it should work, because app waiting and handling it
08:50.51freemangordonok
08:50.52Palidd with small bs maybe will work
08:51.12Paliif kernel is not tryting to read more into buffers
08:51.18freemangordonif you do a page at a time, it will always succeed
08:51.47freemangordoni.e. dd -bs 4096
08:53.21freemangordondd bs=4096 count=1 skip=N >> dumpfile
08:54.25freemangordonPali: you can just put that in a script wrapping the executable, so no code change will be needed
08:54.44freemangordonoh, you don;t mmap right now
08:55.08Palimmap on mtd not working before 2.6.29
08:55.29freemangordonYes, that is why you can copy mtd to an ordinary file and mmap it
08:56.14freemangordondd it page by page to a temp file, mmap the temp file and you're fine :)
08:56.42freemangordonaiui
09:07.24*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
09:12.51freemangordonPali: what I need to do to boot maemo from uSD. Sorry, I forgot :(
09:13.25Palifreemangordon: now I found where is problem
09:13.45freemangordongood :)
09:13.47Paliwe should check if gzip signature is in first 64kB
09:13.52Paliand try to unpack full image
09:13.58Palinot only first 64kB :-)
09:14.09Palibecause it can be 0kB for unpacking
09:15.03freemangordonPali: please help, what I need to do to boot maemo from uSD
09:15.13Paliok
09:15.24Palihm, from uSD?
09:15.30freemangordonyep ;)
09:15.33PaliI have only working booting from eMMC
09:15.57Palibut maybe it will work also from uSD
09:16.00freemangordonwell, I did that back in the days I was playing with 3.5
09:16.19freemangordonit works, but I can;t remember what partitions need to be on uSD
09:16.45freemangordonesp which one is mounted as /
09:17.13PaliI booted normally from ubifs rootfs
09:17.30Palijust created uboot bootmenu.d config file
09:17.56freemangordonI want to keep maemo on nand / eMMC intact, so I can use it to fix stuff
09:18.03Paliok
09:18.07Palilook at my scripts at: https://code.launchpad.net/~pali/+junk/maemo_M32GB
09:18.29Palithis copying and configuring maemo at new root /home/maemo/
09:18.52freemangordonhmm, can I still boot stock maemo?
09:18.57Palitry to change scripts to use /media/mmc<something>/ instead /home/maemo
09:19.12Palifreemangordon: you need cssu-devel
09:19.34Paliand it should work to boot both 2.6.28 and 3.10 kernels
09:19.41freemangordonPali: if I can boot to stock maemo after your scrip runs, I am just fine if the "new" maemo is in /home/maemo
09:20.20Paliyes, these scripts only copying maemo to /home/maemo and modifing only files in /home/maemo/
09:20.41Paliso everything in rootfs ubifs is not touched
09:20.47freemangordonPali: the point is that if I screw something in the init scripts(which I will, for sure) to have a tool to boot the device and fix it
09:20.49freemangordonok
09:20.57Paliyou need bootmenu for choosing between ubifs and emmc
09:21.06freemangordonis that in repos?
09:21.28Palibootmenu package is in repos
09:21.32Paliyou need to install it
09:21.34freemangordonstable?
09:21.40Paliyes
09:21.41freemangordonok, I will
09:21.50freemangordonwhy cssu-devel is needed?
09:21.52Palithere is only one problem, if you never had enabled R&D mode
09:22.00freemangordonit is enabled
09:22.09Pali(when R&D string is not in CAL)
09:22.15Palithis will be fixed in next version
09:22.16freemangordonthis is my devel device after all :D
09:22.38Palicssu-devel is needed because of maemo specific kernel interfaces
09:22.49freemangordonwhich package?
09:22.58Paliin cssu-devel are patched OSS applications to not fail if /proc/<something> not exists
09:23.13Palido not remember all packages...
09:23.17freemangordonhmm, I think this is already in -testing
09:23.21Palinot all
09:23.31Palimerlin did not included all
09:23.52freemangordonwell, I guess I can chroot to /home/maemo and apt-get upgrade from there
09:24.03freemangordonor not
09:24.04Paliand there is problem with mce (because of broken kernel drivers), this is fixed in 3.11 (not 3.10)
09:24.08Paliyes, you can
09:24.16Palialso you can boot stock kernel with /home/maemo
09:24.19Paliand upgrade it here
09:24.39Paliand no chroot with correct /home/user or /opt is needed
09:24.43freemangordonok, I have u-boot and bootmenu
09:25.08*** join/#maemo-ssu aap (~drew@cpe-174-101-232-161.cinci.res.rr.com)
09:25.34freemangordonwhat else I need? wget your scripts and execute them?
09:25.49Palibzr (or maybe wget will work too)
09:26.13Palifirst run boot.sh
09:26.23Paliand then run init.sh
09:26.34freemangordonITEM_LINUXRC="maemo5/boot.sh" ?
09:26.37Palibut first check which version of upstart do you have
09:26.44Palifreemangordon: yes
09:26.58freemangordon0.3.8-68+0cssu6
09:27.19freemangordonupstart ^^^
09:27.26Paliif you have new upstart which working correctly with ad not using genfstab, remove all genfstab from init.sh
09:27.47Palifreemangordon: not run boot.sh but M32GBboot.sh
09:28.03Paliboot.sh is really only init script for bootmenu
09:28.05freemangordonok
09:28.13freemangordonwhere I should put it?
09:28.18freemangordonboot.sh that is
09:28.33Palilook at file M32GBboot.sh
09:28.37freemangordonok
09:28.40Paliit copying to right place
09:29.04Palifreemangordon: remove also changes to /home/maemo5/etc/event.d/rcS-late
09:29.13Palifrom M32GBinit.sh
09:29.16freemangordonwhat changes?
09:29.34freemangordonok
09:29.50Palibecause new rcS-late does not need these hacks
09:29.58Paliand can fail with these old hacks
09:30.09Palireally read what these scripts doing...
09:30.18freemangordonok
09:36.59freemangordonPali: hmm, gcc4.7 compiles 3.10 just fine :)
09:37.37Palifreemangordon: yes gcc 4.7 is required for compiling
09:37.46freemangordonoh :D
09:37.46PaliI'm using arm-linux-gnueabi-gcc from ubuntu
09:37.54freemangordonI didn't try 4.2.1
09:38.20Pali4.7 is needed for .arch sec extenstion for smc calls
09:39.09Paligcc from scratchbox not working (if failing somewhere in kernel header where is check for old gcc)
09:40.42freemangordonok, 3.10 built ok, modules installed
09:43.47Palifreemangordon: you must install all modules into one /lib/modules/<version>/ dir
09:43.51Paliwithout subfolder
09:43.57freemangordonsure
09:44.14Paliand run depmod for correct version
09:44.32freemangordonmake modules_install does that for me in SB
09:44.33Palibecause linux kernel makefile install modules into lot of subfolders...
09:44.39*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
09:44.54Palicp `find . -name "*.ko" ` /destdir/
09:45.13Paliok, now patch for zimage-get-version is there
09:45.22freemangordonhmm, no, why? make INSTALL_MOD_PATH=/blabla modules_install
09:46.00freemangordonthe bouns being .kos are being stripped
09:46.04freemangordon*bonus
09:46.25freemangordonPali: give me the binary/deb, so I can test it
09:46.39freemangordonor source, doesn;t matter
09:47.14Paliyou need to move all modules from /blabla/subdir/subdir into /blabla...
09:47.44freemangordonPali: what, why?
09:48.00Palibecause maemo doing: insmode /lib/modules/<version>/module_name.ko
09:48.10Pali*insmod
09:48.17freemangordoninsmod? not modprobe?
09:48.20Paliyes
09:48.24freemangordonoh, ok
09:48.42Paliyou must have all modules in /lib/modules/<version>/
09:48.48freemangordonok. got it
09:49.52Palifreemangordon: sources are here: https://code.launchpad.net/~pali/+junk/maemo_fiasco-image-update-ask
09:50.23Paliyou only need to compile zimage-get-version.c
09:50.26freemangordonhmm, no more kernel-cssu3 on the device :(
09:50.33Pali$ gcc zimage-get-version.c -O2 -lz -o zimage-get-version
09:50.43Paliyou can test it with any kernel :-)
09:50.52freemangordonwill have to reinstall it first, after your script finishes copying
09:51.05freemangordonPali: yes, but it was failing with cssu3
09:51.17PaliI tested it with your mtd dump and it worked
09:51.33freemangordonwell, ok then, no need to test it :)
09:53.17jon_yit needs new binutils too right?
09:53.21jon_yoops
09:53.28jon_ywrong conversation
09:53.58*** join/#maemo-ssu mauroc (5e22ce9f@gateway/web/freenode/ip.94.34.206.159)
09:54.29maurocHello everyone
09:54.32Palihi
09:54.36maurocHi Pali
09:54.40maurocNice to meet you
09:55.51freemangordonhi
09:56.23maurochello
09:57.25freemangordonPali: wait, why modules are not stripped?
09:57.40Paliwhere?
09:57.46Paliyou can strip modules without problem
09:57.54freemangordonin modules install_dir
09:58.03freemangordonyes, but make doesn't do it
09:58.21PaliI know that kernel-power doing manual strip and manual cp
09:58.48Pali$ make modules_install INSTALL_MOD_PATH=/target/$VERSION-modules/ INSTALL_MOD_STRIP=1
09:59.07freemangordonyeah :)
09:59.09freemangordonthanks
09:59.10Palifreemangordon ^^^ this is part of my instal script
10:00.14Pali$ scp `find $VER-modules -name "*.ko"` root@$IP:/lib/modules/$STR/
10:01.09Paliand uboot item file needs only:
10:01.09PaliITEM_NAME="Maemo 5 with kernel $VER (Internal Nand)"
10:01.09PaliITEM_KERNEL="$VER"
10:01.32Palino atagg omap table, this was already removed from upstream kernel
10:01.49Paliso /proc/bootreason is fake static file
10:01.58freemangordonok
10:02.18freemangordonhmm, copying rootfs takes ages
10:06.03maurocexcuse me..I got a broken filesystem after the last cssu update I guess
10:06.28maurocit was a busybox update if I remember correctly
10:08.30freemangordonPali: hmm, nothing appeared in bootmenu menu
10:08.44Palifreemangordon, in maemo bootmenu?
10:08.47freemangordonyep
10:08.56Palidid you run also M32boot script?
10:08.56freemangordonshall I copy the .item by hand?
10:08.59freemangordonyes, I do
10:09.04freemangordonoh, no :D
10:10.11freemangordonhmm, "./M32GBboot.sh: line 9: [ 0: not found"
10:11.41freemangordonYAY, booted :D
10:11.52freemangordonwith 2.6.28 that is
10:12.22Pali[12:10:11] <freemangordon> hmm, "./M32GBboot.sh: line 9: [ 0: not found"
10:12.26Palithere is whitespace
10:12.51Pali6966 205b c2a0 "if [.."
10:13.31Paligoing to fix it
10:14.36freemangordonPali: going to have something to lunch, bbl
10:15.46Palifreemangordon: script M32GBboot.sh fixed on launchpad
10:15.48Paliok
10:20.14keriommh, i think that installing gnome on this netbook is a mistake
10:25.14Palikerio: what about LXDE?
10:25.24kerioi just went with the default options
10:25.42keriodebian-installer apparently doesn't ask which DE you want :c
10:26.53*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
10:28.07kerioanyway, this netbook's hd has 1800 bad blocks apparently
10:28.18kerioso it's going to be fun
10:34.01*** part/#maemo-ssu mauroc (5e22ce9f@gateway/web/freenode/ip.94.34.206.159)
10:36.43FatPhilThe device I just put CSSU on does seem to have a whole bunch of issues, I have no idea if that's because of CSSU or because of the million things previously installed on it. SO I think a complete reflash and install from scratch would be best.
10:37.28FatPhilSpotted what I think was some flashlight app spawning in a tight loop this morning (so quickly I couldn't identify who was spawning the processes)
10:39.12FatPhilpowertop was listing ohmd constantly using 2% CPU too
10:39.31FatPhilI suspect that was because it was constantly being informed about new processes, or soemthing.
10:41.14keriooh god gnome shell is horrible
10:41.59jon_ykerio: v3?
10:42.01kerioyeah
10:42.26jon_yhmm, I tried it in Debian testing, it was alright there
10:42.49FatPhilHmmm, looks like it needs blue rectangles around all those icons: http://www.gnome.org/gnome-3/
10:43.03jon_ythen again, I had xwwm at work
10:43.26jon_ynobody knows better at work
10:43.57kerioit's just so fucking slow
10:44.10jon_ydoes it have 3D effects etc?
10:44.12keriothis is a netbook with a crappy cpu and no graphical effect
10:44.18kerioer, wtf did i write
10:44.22kerioand no graphics card
10:44.29jon_yI used it in a VM
10:44.36jon_yit was strangely OK
10:44.43jon_ywasn't laggy or anything
10:44.58jon_yjust a basic black/grey/white theme
10:45.45jon_yFatPhil: Debian gnome-3 did not look like that
10:45.53FatPhillooks like a kiosk, not a computer.
10:46.06jon_yif anything, it looked like a slightly polished gnome-2
10:46.28jon_yFatPhil: it screams OSX if the dock thing is moved to the bottom
10:46.29FatPhilthis looks like a computer: http://dwm.suckless.org/screenshots/dwm-20120806.png
10:46.52jon_yFatPhil: my work VNC looks like that
10:47.08jon_ythough it is annoying that window focus follows the mouse
10:48.43jon_yFatPhil: looks like everyone wants tile today
10:48.52jon_yWin3.11 all over again :)
10:49.06jon_ytiled icons is now new again
11:08.36*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
11:21.06*** join/#maemo-ssu arcean (~arcean@aaem241.neoplus.adsl.tpnet.pl)
11:26.56*** join/#maemo-ssu sunny_s_ (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
11:37.52*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
11:38.05FatPhilTiled icons suffer from the flaw of not obeying the mantra "there are only 3 numbers in programming - 0, 1, and an arbitrary number"
11:41.57freemangordonFatPhil: hmm, this is weird (issues on CSSU)
11:43.34keriook, gnome shell is actually not *that* bad
11:43.41kerioit's just too heavy for this netbook i think
11:45.26FatPhilfreemangordon: If I wanted to be able to get back any of the cool toys that were installed, I just need to backup /etc/apt/sources* and the list from dpkg -l ? (not gonna do a full backup, I have no interest of recreating this system exactly)
11:46.56*** join/#maemo-ssu kolp (~quassel@148.122.197.152)
11:50.11freemangordonPali: something is broken, the instant I press a key in bootmenu, the screen goes off
11:51.50Palifreemangordon: try to compile bootmenu from git: https://garage.maemo.org/projects/bootmenu/
11:52.00Paliand try to use this version
11:52.00freemangordonok
11:52.14Palior is bootmenu working?
11:52.28freemangordonyep, it does that only with 3.10
11:53.06Palitry version from git
11:57.22Palifreemangordon, right support for 3.x kernels is only in bootmenu git
11:58.48kerioi think i'm going to reinstall this
11:58.52kerioand make it a minimal install
11:59.11keriois xfce still good? i used to prefer it to lxde
12:09.56freemangordonPali: "warning: remote HEAD refers to nonexistent ref, unable to checkout."
12:09.59freemangordonWTF?
12:10.12Palihm? garage git is broken?
12:10.15freemangordonbootmenu that is
12:10.20freemangordonyep
12:10.40Palifatal: https://vcs.maemo.org/git/bootmenu/info/refs not found: did you run git update-server-info on the server?
12:10.55freemangordonI run nothing on the server
12:11.12Palithis is what git clone show me now
12:11.40Paliit looks like git repo on server does not have configured post receive hook
12:11.56Pali$ git clone ssh://drop.maemo.org/git/bootmenu
12:11.59Palithis working ^^^
12:12.22freemangordonfor you, but not for me
12:12.53freemangordonPermission denied (publickey). ;)
12:13.04freemangordonok, I'll just get a snapshot
12:14.09PaliI will try something
12:14.17freemangordonshit, snapshot doesn't eork too
12:14.20freemangordon*work
12:15.45Palifreemangordon: it is really broken
12:16.06Pali'git update-server-info' must be called on server after each push
12:16.13Palivia git hook
12:16.25freemangordonPali: ok, if you say so :)
12:16.39freemangordonI am not much into the serverside of git
12:18.28*** join/#maemo-ssu dhbiker (~dhbiker@193.2.218.150)
12:19.12FatPhilgitweb there seems very b0rked
12:25.33*** join/#maemo-ssu arcean (~arcean@aaem241.neoplus.adsl.tpnet.pl)
12:32.55*** join/#maemo-ssu mauroc (5e22e0d8@gateway/web/freenode/ip.94.34.224.216)
12:34.14Paliinfo: problem with bootmenu garage repository solved
12:36.12Palifreemangordon: now I see that you need version from git where is fixed /dev/input/ device for keyboard and power button to work also with upstream kernel
12:36.44Palibefore bootmenu had hardcoded /dev/input/ paths for maemo kernel and upstrema kernel has switched order
12:37.17Palinow bootmenu looking for keypad & pwrbutton description, so it set correct /dev/input/ names
12:38.43freemangordonPali: "dh_clean: Sorry, but 5 is the highest compatibility level supported by this debhelper."
12:38.45freemangordonWTF?
12:39.02Palibroken scratchbox
12:39.05freemangordonno
12:39.16freemangordonit is fine, debian/compat is 6
12:39.33Palifreemangordon: first run: ./configure n900
12:40.14freemangordoni simlinked by hand
12:40.37freemangordonhowever after I run ./configure n900 debian/compat still contains 6
12:40.40Paliwhat you symlinked?
12:40.47Paliyou need to run configure
12:40.48freemangordonstuff in /debian
12:40.52Palibecause it doing something more
12:40.54freemangordonI did it
12:40.55Palinot only symlinks
12:40.56Paliok
12:41.09Palitry to edit debian/compat to 5
12:41.16freemangordonsure
12:41.17freemangordon:D
12:41.34freemangordonthe point is you can't push that into autobuilder
12:41.37PaliI'm using madde for compiling and autobuilder has updated scratchbox to support debhelper 7
12:41.51PaliI can, autobuilder has support for debhelper7
12:42.00Paliit working fine :-)
12:42.15freemangordonoh, yes , it is on hathor
12:42.36Paliif you have still problems, copy only bootmenu.sh to your device :-)
12:43.01freemangordonno, it is ok after Y did echo 5> debian/compat
12:43.03Paliand compile watchdogs.c manually
12:43.08freemangordon*I
12:43.19Paliok, if it is working, I can change it also in git
12:43.39freemangordonI have to install it in "host" maemo, ain;t?
12:43.59Paliyou need to install bootmenu to ubifs
12:44.26freemangordonhmm:
12:44.31freemangordon"Preparing to replace bootmenu 1.12 (using bootmenu_1.12_armel.deb)"
12:44.49freemangordonyour debian/changelog not updated?
12:44.59freemangordonwell, not yours but bootmenu
12:45.04freemangordonPali: ^^^
12:45.13Paliyes, not updated
12:45.16freemangordonok
12:45.26Paliit is updated, but only on my HDD :-)
12:45.32Palidid not pushed it yet
12:45.36freemangordoncool :D
12:46.00freemangordonok, it works now
12:46.19Paliok
12:46.23freemangordonor not, it still tries to mount ubifs
12:46.27freemangordonWTF?
12:46.50Paliwho trying to mount ubifs?
12:47.18Paliyou need to use ubifs
12:47.34Palithere is stored maemo bootmenu
12:47.41freemangordon"VFS: Mounted root (ubifs filesystem) on device 0:12
12:47.58freemangordonand Kernel panic after that
12:48.00Paliso you need it
12:48.41freemangordonok, but why it panics?
12:48.45Palidid you build kernel with rx51_defconfig?
12:48.48freemangordonyes
12:49.03Palican you show me what you have in /etc/bootmenu.d?
12:49.24Palimaybe there is problem that unclean ubifs cannot be mounted
12:49.30PaliI see this error sometimes...
12:49.46Palitry to boot 2.6 kernel and shutdown phone from bootmenu
12:49.50FatPhilWho's the CSSU lead? I have a few hacks for user-space packages, and I'll happily share them with the wider community
12:49.54Paliand boot 3.10 kernel what happen
12:50.21freemangordonPali: ok
12:50.30PaliFatPhil: post patches somewhere :-) (No idea if gitorious working again), and I can look at it
12:51.14DocScrutinizer05FatPhil: merlin1991 is the dude with the CSSU hat on
12:51.20freemangordonFatPhil: merlin1991 is the maintainer, but it really doesn't matter to whom you'll send the patches
12:51.42DocScrutinizer05merlin1991: technically mohammadAG
12:52.09freemangordonDocScrutinizer05: come on :)
12:52.13DocScrutinizer05in daily struggle merlin1991 and me
12:52.42freemangordonmag is not in anything maemo for the last 2 years or so
12:52.59DocScrutinizer05yes, but he's still project lead of CSSU
12:53.03DocScrutinizer05technically
12:53.08freemangordonok, ok :)
12:53.31DocScrutinizer05what it's in RL is another story ;-D
12:54.30freemangordonshit, the backover on my devel device got broken!
12:54.45freemangordonbackcover even
12:55.40DocScrutinizer05the last official assignment is: merlin1991:CSSU project lead together with MohammadAG.  CSSU-T 100% MohammadAG + 50% merlin1991.  CSSU-S: 100% chemist + 50% merlin1991
12:57.04DocScrutinizer05at least that's what I negotiated with them, and still in effect unless they negotiated sth new that I didn't get aware of
13:00.03DocScrutinizer05so far moh, merlin and chemist always listened to my advice in 100% of cases, since I like to discuss a lot publicly but rarely ever give advice in private query. Thechnically though all three are free to ignore me
13:01.04DocScrutinizer05it's a meritocracy, which some e*_ never wrapped his head around
13:01.56freemangordonPali: do I have to run your scripts again after reinstalling bootmenu?
13:02.19Palino
13:02.33Paliyou mustnt run it again
13:04.09freemangordonhmm, where did my 3.10 .item file disappeared?
13:04.23freemangordonWTF?
13:08.56freemangordonPali: no joy, seems it can't mount rootfs
13:09.34Palifreemangordon all items files are on ubifs not on new rootfs in /home/
13:09.57Palifreemangordon: rootfs is corrupted?
13:10.06freemangordonyes, that part seems to be ok, I have bootmenu entry to boot from eMMC, but when I select it, the kernel panics
13:10.21freemangordonno, 2.6.28 boots just fine
13:10.37Paliplease provide what you have in /etc/bootmenu.d/
13:11.23freemangordon-rw-r--r--    1 root     root           78 Sep  6  2013 20-Maemo5-kernel-3.10.0+.item
13:11.26freemangordon-rw-r--r--    1 root     root          117 Jul 29  2012 20-Maemo5-kernel-cssu-2.6.28.10-cssu3.item
13:11.28freemangordon-rwxr-xr-x    1 root     root          234 Sep  6  2013 eMMC-Maemo5.item
13:13.42freemangordonPali: shall I install upstart from cssu-devel?
13:13.54Paliyes, you need it
13:13.58freemangordonok
13:14.33Paliboot to maemo stored in /home/maemo5 with 2.6 kernel
13:14.42Paliinstall all cssu-devel packages here
13:14.50Paliand try to reboot to 3.10 kernel
13:14.51freemangordonthat is what I am doing
13:16.48jon_y3.10 is working??
13:17.00jon_yhmm, guess not
13:17.03Palijon_y: I'm able to boot it
13:17.10jon_ymount problems?
13:17.25Palibut gsm/3g stack not working, camera not working, and lot of maemo apps using 100% cpu
13:17.29jon_yI'm guessing there are no proprietary nokia blobs?
13:17.44PaliI'm using nokia blobs...
13:18.01jon_ywhat blob modules does it require?
13:18.13Palisomething working (like closed GUI apps) and someting not (mce daemon, camera)
13:18.16freemangordonall of them :D
13:18.22Palido you mean kernel binary blobs?
13:18.24jon_yI mean kernel wise
13:18.28jon_yyeah
13:18.33Palikernel is full open
13:18.45jon_yany binary only kernel modules?
13:18.50Palino
13:18.54jon_yok, good
13:19.12Palithis is good, that n900 does not using any binary kernel modules (like n810)
13:19.23jon_yunlike Andy too
13:19.55jon_ywhat is keeping gsm from working?
13:20.02freemangordonPali: WTF is hildon-welcome in cssu-devel?
13:20.08jon_yor rather, what is the main challenge?
13:20.25Palifreemangordon: yes, not fail if /proc/<nokia_name> not exists
13:20.27jon_ywell, there is back porting nokia stuff
13:20.37freemangordonoh
13:20.52Palijon_y: kernel drivers and closed nokia phone applications not working
13:21.25jon_yrefuse to work with linux kernel version change?
13:22.09jon_yhmm, kernel drivers aren't ported properly yet?
13:22.21freemangordonmost of them are, but not all
13:22.34jon_ycool, I hope you are pushing this upstream
13:22.42freemangordonyes
13:22.55freemangordonPali is the upstream man :)
13:23.02jon_yvery nice
13:23.26jon_yhmm, missed the Linux 3.11 bus :)
13:23.49FatPhilWhen talking to a whole range of ex-Nokians recently, sooooo many have mentioned Pali, he's quite notorious (in a good way)
13:23.59jon_yooh
13:24.06jon_ywhat did they think of elop? :)
13:24.19freemangordonjon_y: are you serious?
13:24.29jon_yabout?
13:24.45freemangordonwhat would you think of an asshole that fires you?
13:24.51FatPhilThe MS trojan horse? Exactly what we thought about him 3 years ago. Everything has gone as predicted.
13:24.53jon_yI need to hear their own words :)
13:25.14FatPhilDon't quote me on this...
13:25.18jon_ythey said "trojan horse"?
13:25.26jon_yok
13:25.43FatPhilWell, I did.
13:25.45freemangordonFatPhil: did you make some folloup discussion re SR?
13:26.00freemangordon*followup
13:26.11FatPhilfreemangordon - nothing since out privmsg chat, I think.
13:26.18jon_yseriously, praise be to Pali
13:26.23jon_yworking on the kernel and all
13:26.30jon_yespecially uboot
13:27.33FatPhilI need to look at your patches again. What I saw looked well thought out. We need more insight into the Si versions, to be sure.
13:28.26freemangordonok, I'll gadly answer whatever question needed, to the extent of what I can remember :D
13:33.53FatPhilWould CSSU get confused if I were to have a RD image rather than a PR image on the device? I feel a bit lost without the R&D binaries!
13:34.33freemangordonPali: do I have to upgrade any of this http://pastebin.com/LAkfVyYi ?
13:34.41freemangordonFatPhil: it requires PR1.3 ;)
13:34.43jon_yR&D battery?
13:34.47jon_yoh wait sorry
13:35.37Palifreemangordon: not needed
13:35.45freemangordonok, rebooting
13:36.05FatPhilI have a pair of 36-2 images, for example.
13:36.11PaliFatPhil: what is RD image?
13:36.28FatPhilPali: what developers in Nokia used to install.
13:36.31freemangordonPali: still no joy :(
13:37.08PaliFatPhil: and difference between normal and RD?
13:37.40freemangordon"Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200"
13:38.18freemangordonthere is mtdoops, but I doubt it will be of much help
13:38.41FatPhilPali: I can do a dpkg -l and diff the two
13:38.42FatPhil(next week)
13:39.01Paliok
13:39.14FatPhilPali: we had testing tools called "toast" and "insanity", and performance/endurance testing tools.
13:39.43freemangordonhmm run toast on OC device, please :D
13:39.49Palifreemangordon: can you start usb console from bootmenu
13:40.00freemangordoncan I?
13:40.05Paliand try to boot manually via usb console?
13:40.10freemangordonI am new to bootmenu, sorry
13:40.34Paliconnect phone to linux machine, and press shift when in bootmenu
13:40.42freemangordonok
13:40.56Paliit export usb ethernet card and assign ip address via dhcp
13:41.09Paliafter that you shold be able to ssh to n900
13:41.12keriowho runs the dhcpd?
13:41.14keriothe n900?
13:41.16Paliyes
13:41.25Palikerio: not dhcpd, but dnsmasq
13:41.34keriomh, why didn't you go with 192.168.2.14/15 as usual?
13:41.44kerioand yeah, dnsmasq working as a dhcp server
13:41.48Paliit will use that :-)
13:42.24Palibut this is easier as static ip address configuration
13:42.34Palidhcp is auto configuration
13:43.32freemangordonseems g_ether is not loaded
13:44.07freemangordonyep, it is not
13:44.12Paliit using g_nokia
13:44.25freemangordondoesn't matter, it is still not loaded
13:44.33freemangordonnothing happens when I connect the cable
13:44.57freemangordonhmm, could it be something wrong with my modules dir?
13:45.12Paliwhat bootmenu wrote?
13:45.15Palion screen?
13:45.25freemangordonUSB networking is up
13:45.28freemangordonetc.
13:45.50Palicheck on computer what you see in dmesg and in lsusb
13:46.05freemangordonnothing :)
13:46.08PaliFatPhil: do you mean these tools? https://maemo.gitorious.org/maemo-tools
13:46.40Palifreemangordon: boot into 2.6 kernel and check if you have g_nokia.ko
13:46.45freemangordonok
13:46.46Paliand also try to rerun depmod
13:47.00freemangordonok
13:47.00FatPhilPali: those and more
13:47.05Palidepmod -a <kernel version>
13:47.10freemangordonok
13:47.29PaliFatPhil: arent these tools in SDK or TOOLS repository?
13:47.43freemangordonsp-endurance?
13:49.26Palifreemangordon: you should see in kernel framebuffer if drivers were loaded
13:50.24FatPhilWOh - that's a list of familiar names: https://gitorious.org/+maemo-tools-developers
13:52.12Palifreemangordon: g_nokia.ko is broken in 3.11, here is my patch: http://pastebin.com/6JrzkiqY
13:52.25FatPhilI'll overlap with Leonid here at work for a while, I'll see if I can get him back involved
13:52.37Palipatch should enable usb networking
13:57.50freemangordonPali: framebuffer scrolls too fast, I guess I can just tweak boot.sh to start /bin/sh on the device
13:58.30Paliremopile kernel with above patch ^^^
13:58.45Paliand try again usb networking
13:59.11freemangordonok
14:03.35*** join/#maemo-ssu mkaindl (~mkaindl@ama-dablam.markus-kaindl.de)
14:08.38*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
14:15.10freemangordonPali: hmm, where i should put modules?
14:15.15freemangordonon ubifs?
14:15.32Paliyes on ubifs and on /home/maemo5/lib too
14:15.48freemangordonok, that explains WTF is going on :D
14:16.38Paliyou did not copied modules to ubifs?
14:16.46freemangordonhides
14:17.15freemangordonyep, I didn;t, I was expacting copying them to maemo5 to be enough
14:17.30Paliyou need modules on ubifs which using preinit and bootmenu
14:17.42freemangordonyeah, now I get it
14:17.51PaliSDHC drivers, ext3, ..
14:17.54freemangordontoldya, I am new to bootmenu
14:17.59freemangordonyes, yes
14:18.29Paliif you do not want to copy all modules, run grep with insmod and modprobe on /bootmenu.sh and /usr/sbin/preinit
14:18.54freemangordonI guess this needs initrd
14:31.44Palifreemangordon: booting now?
14:31.53freemangordonyep, but reboots on X startup
14:32.19freemangordongoing to do depmod in maemo5 too
14:33.29*** join/#maemo-ssu iDont (~iDont@ip4da305b4.direct-adsl.nl)
14:34.43Palifreemangordon, look into syslog, why device rebooted
14:34.47freemangordondidn't help, going to check in syslog
14:34.50freemangordonyeah :D
14:35.06Palialso try to correct shutdown
14:35.09Paliand power up
14:35.15freemangordonhmm?
14:35.19Palisometimes 3.10 kernel does not initialize all HW
14:35.23freemangordonaah
14:35.25freemangordonok
14:35.27Paliand for example snd missing
14:35.37Pali(maybe other parts too)
14:35.43Palibut look into systlog
14:35.47freemangordonwell, I'll try to fix whatever is possible once I have it up and running
14:40.45freemangordoni guess it is "init: sgx pre-start process (1476) terminated with status 1" to blame
14:40.53freemangordonseems powervr doesn;t get loaded
14:43.15Palifreemangordon: try to comment some parts in event.d sgx script
14:43.24Palithere is some echo > lines
14:43.31freemangordonyep, I remember this was needed with 3.5 too
14:44.43jon_ybtw, anybody know why kernel reboot with terminal on sometimes only?
14:44.54jon_ysometimes it doesn't display any messages
14:45.03jon_yI'm curious why this happens
14:56.28*** part/#maemo-ssu mauroc (5e22e0d8@gateway/web/freenode/ip.94.34.224.216)
14:59.03*** join/#maemo-ssu oldtopman (~oldtopman@unaffiliated/oldtopman)
15:07.35freemangordonPali: could you verify on your device which parts I need to clean from sgx script?
15:08.03iDontPali, freemangordon: has one of you seen this patch before? http://git.openembedded.org/openembedded/plain/recipes/linux/linux-2.6.28/nokia900/0001-Fix-CPU-frequency-driver-so-that-it-loads-before-the.patch
15:08.48freemangordoniDont: no, do we really need it?
15:09.21iDontThere's a bug that prevents the kernel from booting when the mmc modules are built-in and cpu_freq is enabled as well. With that patch applied, I can boot Maemo from the eMMC without help of the NAND (i.e. directly calling /sbin/init on the eMMC from the kernel cmdline)
15:09.34freemangordonoh, nice
15:09.37iDontbut...
15:10.10iDontit breaks overclocking. Or more precise: the code that sets the max freq to 600Mhz. I.e. when both that patch and the overlocking patch are enabled, the n900 will boot at 1150MHz
15:10.30freemangordonI see
15:10.50freemangordonwell, I guess OC patch needs to be fixed too
15:11.23iDontI can check if I might be able to do that, but I'm not sure if I have the skills to do so.
15:11.37freemangordoniDont: I'll look at it
15:12.17iDont(on a sidenote: I've backported mtdswap from Harmattan and am now using the rootfs on the NAND as swap)
15:12.34freemangordonhow fast it is?
15:12.58DocScrutinizer05FatPhil: (list familar) http://wiki.maemo.org/Documentation/devtools/maemo5
15:13.48*** join/#maemo-ssu NIN101 (~NIN@p5DD28428.dip0.t-ipconnect.de)
15:14.14iDontthe eMMC  is currently the bottleneck, I haven't tweaked any I/O, VM, or whatever yet. So I can't speak of the performance of mtdswap yet. I'm not sure how to measure it either tbh
15:14.47freemangordonhow does it feels when you load memory hungry applications
15:14.50freemangordon?
15:15.07freemangordonhmm, eMMC is slow? why is that?
15:16.32iDontOn my previous installation I tweaked some settings (e.g. nr_requests) that made the device feel snappier. I haven't done that yet with whole Maemo on the eMMC
15:16.52iDontit's not like the eMMC magically got any slower :D
15:17.02freemangordon:)
15:18.41iDontanyway, I can't say anything about the performance yet for that reason. I also haven't installed any applications yet or anything
15:19.04iDontjust running a clean Maemo (+CSSU-thumb) on the eMMC with mtdswap on the nand
15:20.04Palifreemangordon: nothing is changed on my device in sgx script
15:20.25keriois mtdswap worth it?
15:20.31kerioi'm running swap on uSD right now
15:20.37freemangordonI added || true after the echo lines, but still no joy, going to check syslog again
15:20.45freemangordonPali: ^^^
15:21.11Palifreemangordon: no || true, comment lines
15:21.26PaliI remember that chaning these sys values caused something bad
15:21.29iDontkerio:  I used to run swap on uSD too, it's great. But my new SD card is really slow in random i/o compared to my previous (way smaller) one. So I thought: why not use that other bus for swap
15:21.45freemangordonPali: tried that before adding || true, no difference
15:21.58Paliso then problem is somewhere esle
15:22.03Paliwhat is in syslog?
15:22.05freemangordon:nod:
15:22.43kerioiDont: well, for instance because swap is written a lot and nand only has a limited amount of writes
15:22.57freemangordonPali: do I need bme-replacement?
15:23.04Palifreemangordon, yes
15:23.11PaliBME not working
15:23.23Paliand is maybe reboot reason
15:23.49freemangordonhald-addon-bme: unable to send connect req to BME
15:24.22freemangordonPali: I guess I need KP52, ain't?
15:24.57Pali3.10 has support for bme replacement too
15:24.58freemangordonhmm, scratch that
15:25.09freemangordonwhere to get that from, gitorious?
15:25.19Pali~bme-replacement
15:25.19infobotbme-replacement is, like, http://atrey.karlin.mff.cuni.cz/~pali/rx51-bme-replacement  http://atrey.karlin.mff.cuni.cz/~pali/projects/maemo/bme-replacement.html  See also: http://wiki.maemo.org/Bme_replacement . Please, use wiki page to report bugs/problems and/or solutions to them!
15:25.20iDontkerio: I'm fully aware of that, there's not much I can add on that topic
15:27.07iDontkerio: the question is if we'll reach that limit in the device's lifetime. If you have (on anybody else) can shed some light on that, that'd be great
15:27.21iDontwoops, that sentence went wrong
15:27.26kerioit depends on the usage, i reckon
15:27.48jon_yI put mine in cold storage
15:27.55jon_yshould I get a BL-5J now?
15:28.17jon_yshould I take out the battery when not in use?
15:29.07freemangordonPali: I guess I have to remove bq modules from the blacklis
15:29.15iDontkerio: for now it's just a fun little project to run this exotic setup :-). Who knows, maybe I'll switch back to my old uSD (or buy a faster, larger one) in the future
15:29.21Palifreemangordon: no
15:29.22keriojon_y: who cares?
15:29.26keriojust buy a neo900 when it comes out :D
15:29.29Palifreemangordon: just install deb packages
15:29.41jon_ykerio: sure, but I want the original to survive :)
15:29.44freemangordonPali: is there any problem if I boot cssu3 with bme-replacement?
15:29.58freemangordonas long as I don;t try to charge
15:30.18freemangordonhmm, "Package kernel-feature-rx51-battery is not installed."
15:30.22Paliif you have kernel with bq drivers, it should work
15:30.27freemangordonwell, I guess I need KP52
15:30.28jon_yshow your grandkids you had a CELLPHONE
15:30.39jon_ynot just a stupid watch
15:30.41Paliinstall kp52
15:30.43freemangordonPali: cssu3 is kp51r1
15:30.48freemangordonI will
15:31.15keriojon_y: *pair of glasses
15:31.16jon_yI was looking in the news today
15:31.31jon_ysamsung watch selling nearly the same price as a regular cell
15:31.41jon_ywhat are you smoking samsung
15:32.38jon_yI guess some people have lots of monies
15:33.05FatPhilsmaller = more expensive
15:33.09DocScrutinizer05jon_y: store device with battery removed. Store batteries in a cool (but not freezing) place and recharge them once or twice a year, preferably to max 75%
15:33.35jon_yok, should I get a new battery now?
15:33.41keriojon_y: well
15:33.54jon_ythe current battery has been there since I bought it
15:33.59kerioi heard that some crazy lunatics are going to spend 700€ on a replacement board for a 2009 phone made for nerds
15:34.02keriocould you believe that?
15:34.17keriomadness, i say
15:34.23jon_ykerio: who said anything about that? :)
15:35.00keriospending the same amount for a fancy new tech-wristwatch doesn't seem that bad, tbh
15:35.14jon_yI am resigning my hope of actually getting the Neo900 :|
15:35.22keriowhy? it's going to happen
15:35.32jon_y700€ is way too much
15:35.53jon_yplus tax and shipping after that
15:36.26jon_yyeah, sort of the reason I'm keeping the n900 in cold storage now
15:36.31jon_ywhile it is still working
15:36.43FatPhilI don't understand how early development is going to be funded. Promises to part with 500e are worth nothing if the device never appears.
15:37.05jon_yI can hardy afford 250€
15:37.15jon_ythem currency conversions are real killers
15:37.34jon_ytime to save up, or wait until year end promotion
15:38.06DocScrutinizer05FatPhil: we never will reach 500EUR tag
15:38.37DocScrutinizer05FatPhil: early development gonna funded by some fundraiser, or preorders without warranty to ever deliver something
15:39.11DocScrutinizer05(the latter being a fundraiser donation with added value in fact)
15:39.25freemangordonPali: seems KP52 bootimg does not provide kernel-feature-rx51-battery
15:39.40Palifreemangordon, yes
15:39.46jon_yI could probably get the N900 if it didn't come with killer taxes :(
15:39.55DocScrutinizer05FatPhil: we need a humble ~15k EUR for prototypes
15:39.56Palibecause of feature problems which you described
15:40.36freemangordonPali: aah, yes
15:40.40Paliinstall kernel-power kernel-power-modules and kernel-power-flasher
15:40.40DocScrutinizer05some more if it shall happen fast
15:40.43freemangordonso only the flasher
15:41.08freemangordoni'll have to reinstall u-boot after that
15:41.10*** join/#maemo-ssu dos1 (~dos@unaffiliated/dos1)
15:41.51freemangordonhmm, no :)
15:41.53freemangordonnice
15:42.42jon_ywhat was that flasher replacement?
15:42.55jon_ythe one that ask if you want to flash the kernel?
15:44.59freemangordonPali: well, at least now it stays on the running dots :)
15:45.07freemangordonoh, no
15:45.13freemangordonBOOTED :D
15:45.20kerio:D
15:46.16jon_yanybody remember what the flasher replacement was?
15:46.22jon_ythe flasher that runs on the n900
15:46.51jon_ywill allow you to fake *-flasher package installs
15:48.13freemangordonPali: ok, now I have a test device to work on, will see what I can do
15:48.20Palifreemangordon: nice :-)
15:48.45Palinow you need to stop hal and mce
15:48.58Paliand other daemons which using 100%CPU
15:48.58freemangordonBTW DSP doesn't work too, I guess it needs Harm codec nodes and updated libgstdsp
15:49.04jon_yah yes fiasco-image-update-ask
15:49.14Palifirst we need dsp kernel module :D
15:49.17freemangordonhmm, only hulda is using 100% CPU
15:49.35Palistop hulda
15:49.36freemangordonPali: WHAT? no DSP module? why, it is upstreamed iirc, in staging
15:49.44Palinot working anymore
15:49.47freemangordonoh
15:49.52freemangordonok
15:50.07Palibecause omap now using multiboard kernel image
15:50.27Paliand that dsp module using omap specific functions which is illegal now
15:51.02jon_yPali: will uboot still work on 3.1x images?
15:51.21Palifreemangordon: led not working in 3.10, it will be fixed in 3.11
15:51.27freemangordonok
15:51.29Palijon_y: yes
15:51.33jon_yok cool
15:51.55Palibut you need to compile uboot with gcc4.7
15:51.58Palifor that
15:52.14jon_ydoes your uboot offering in the repo cover that?
15:52.15Paliuboot binary in extras is already compiled with gcc4.7, so no problem there
15:52.22freemangordonFatPhil: could you repeat what was changed in kernel API causing that 100% CPU usage?
15:52.55jon_yPali: awesome, thanks
15:53.21Palifreemangordon, I had problems also with mce and dsme and hal
15:53.33Palican you try to "stop ke-recv-extra"
15:53.38Pali(this is that hulda daemon)
15:53.50Paliand check if this is only one bad daemon?
15:54.04freemangordonPali: hmm, already rebooted to "stock" will check later
15:54.05Palihulda ke-recv-extras is open source and source code is on gitorious
15:54.09Paliok
15:54.37freemangordonhave to make something for my daugther to eat, bbl
16:16.19FatPhilfreemangordon - what we saw was a poll() on a sysfs/procfs file with POLL_IN flag
16:16.30FatPhilvirtual files always have data, so that returns immediately
16:16.49FatPhilIf you want _interesting_ data, then use POLL_PRI
16:17.34FatPhilthat limits it to data that the system actually wants you to have, rather than being prepared to let you have.
16:19.00freemangordonFatPhil: thanks
16:19.18freemangordonPali: "stop ke-recv-extra"does nothing - job not changed
16:20.19Palithen try: /etc/init.d/hulda stop
16:20.38freemangordonthat one did the job
16:21.35freemangordonPali: rtcom-call-ui segfaults
16:21.48freemangordonbut that's all I see
16:21.54Palifreemangordon: see commit 1af3557abdef34ee036a6de4cb79e24468544b8d in linux kernel tree
16:22.06PaliI reverted that commit in v3.10-n900
16:22.22freemangordonoh, nice
16:22.48Palihttps://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1af3557abdef34ee036a6de4cb79e24468544b8d
16:23.05PaliFatPhil: this is that commit which causing our error? ^^^
16:23.11freemangordonok, so we don;t have the problam described by FatPhil
16:23.48Palithis commit is reverted in my git tree, but proper solution should be to fix daemons...
16:24.55PaliI reverted it in d8d5cab26e0f347dbce63ffcede6efaecbd6bfcd
16:25.15Palifreemangordon: I know rtcom crashing
16:25.25Paliand no idea why
16:25.26freemangordondo you know why?
16:25.27FatPhilPali - some commit between .29 and .32, yes - and that looks like the one
16:25.36freemangordonPali: ok
16:25.41FatPhilproper solution is to fix daemons, indeed.
16:26.00freemangordonPali: BTW by "leds broken" you mean display leds?
16:26.45Palithat 3 color led on left side
16:26.52freemangordonah
16:26.54Palilp53...
16:27.26freemangordonhmm, display brightness is at min
16:27.32Palikernel developers decided to change API
16:27.38Paliand totally broke mce...
16:27.50freemangordonPali: any idea how to stop rtcom-call-ui from respawning?
16:27.56PaliI wrote about this problem and they added API back in 3.11
16:27.59Palibut I did not tested it
16:28.10Palifreemangordon: rename rtcom-call-ui binary
16:28.29FatPhil<PROTECTED>
16:28.33Palido not remember who and why it still trying to respawn
16:28.41freemangordonFatPhil: yes
16:28.48PaliI think not
16:28.51FatPhilThere's a config file listing the tasks hat should be respawned
16:28.52freemangordoniiuc
16:29.25PaliI was not able to find dsmetool command which starting it
16:29.46Paliand if dsme is respawning that binary you should see info from dsme in syslog
16:30.24Palifreemangordon: what not working is sscd daemon which talking with cellular chip
16:30.41Paliin print some debug info that it is unable to power on it
16:31.04freemangordonPali: :nod:
16:31.55FatPhilindeed DSME tells you what it's doing in syslog, which is useful
16:36.57FatPhilI seem to have two of them running, one launched by maemo-launcher, the other by init
16:37.28freemangordon"/usr/share/applications/hildon/rtcom-call-ui.desktop" :)
16:37.49freemangordonX-Maemo-Prestarted=always
16:38.30freemangordonPali: comment ^^^
16:39.33Paliah :-) I forgot about this
16:42.25freemangordonseems light sensor does not work either
16:42.54freemangordonwhy it takes ages to boot?!?
16:43.34keriowelcome to the wonderful world of shitty I/O
16:44.07freemangordonkerio: with 2.6.28 it botts in 30-40 seconds, with 3.10 it need >90 secobds
16:44.28keriosame-ish config?
16:45.20Palifreemangordon: non working cellular chip
16:45.34Palithere is gui for PIN which waiting...
16:45.35freemangordonoh, ok
16:51.14FatPhilfreemangordon: 100% cpu daemons might be slowing boot down
16:51.25FatPhildoes top say anything?
16:51.37freemangordonyeah, hulda :)
16:52.12FatPhilanyone know to change windows in irssi from a ssh/session on the n900?
16:52.48FatPhiloh - I got rid of the toolbar, so can't o "esc"
16:53.55freemangordonPali: "/usr/sbin/sscd -f --wait-cmt-startup -d 3"
16:54.01kerioFatPhil: HAH
16:54.03freemangordonspits lots of info in syslog
16:54.06kerio~vi-kbd
16:54.07infoboti guess vi-kbd is http://wiki.maemo.org/Remapping_keyboard/user_vis_awesome_kbdmapping
16:54.12keriopress esc
16:54.34FatPhileasy - hang up the screen and start in another xterminal!
16:55.21FatPhilwith the "esc" button
16:55.29keriowhy do you people use screen
16:55.33keriotmux is so much better :<
16:55.39FatPhilfuck I'm being eaten to death by fucking mozies
16:56.01keriowtf is a mozy?
16:56.19FatPhilbeen using screen since ~5 years before tmux xisted - inertial
16:56.42FatPhilmosquito
16:57.08keriooic
16:57.23keriobe a real man and eat them back
17:00.50freemangordonPali: hmm, it is weird that cellmo doesn't respond
17:02.48sixwheeledbeasthey all sorry to disturb, having trouble with new maemo-certman not working is there anyway to debug?
17:02.59sixwheeledbeastWorks on one device but not another...
17:03.24freemangordonsixwheeledbeast: "not working" as in?
17:03.41sixwheeledbeastsearching... for hours
17:03.57freemangordoncheck in syslog
17:04.09freemangordonif it succeeds to connect to supl.nokia.com
17:12.28DocScrutinizer05Pali: lp5523 API is brainfscked in maemo. it's a minimalistic API that doesn't expose all the capabilities of the lp5523 chip
17:13.04DocScrutinizer05Pali: however it's possible to augment the API in a way that keeps backward compatibility
17:13.23PaliDocScrutinizer05: it is restored in 3.11
17:13.37DocScrutinizer05fine, but is it also augmented?
17:15.40DocScrutinizer05lp5523 allows double the number of program steps ber engine, compared to lp5521 which it's based on. The lp5523 driver completely hides/ignores this feature since it would need some sysfs node that allows partitioning the program storage and asign chunks of available memory to each engine
17:15.57DocScrutinizer05s/ ber/ per/
17:16.25kerioDocScrutinizer05: what would that allow?
17:16.42DocScrutinizer05it would allow way longer programs for the engines
17:17.24DocScrutinizer05another point is the muxing of the 9 LED outputs to the 3 engines that's hardcoded in Nokia's lp5523.ko
17:18.24*** join/#maemo-ssu wmarone (~wmarone@c-67-174-151-253.hsd1.ca.comcast.net)
17:19.21DocScrutinizer05i.e. the API supports only 2 engines controlling the 3 color indicator LED, while 3rd engine is assigned to kbf LEDs hardcoded - I call it abuse of that versatile engine for a silly ramp-up/down that as well could get done by mce process
17:22.10DocScrutinizer05the lp5523.ko API is a pretty silly minimal effort and uninspired augment of the lp5521.ko API
17:23.04DocScrutinizer05it however *could* get sanitized/salvaged
17:23.11DocScrutinizer05without breaking it
17:23.26DocScrutinizer05that's what i hope for in new kernels
17:25.59FatPhilyou don't want the heartbeat controlled by mce
17:26.23DocScrutinizer05huh?
17:26.36FatPhilthe ramp-up and ramp-down
17:26.51FatPhilthat's justa simple program for the led controller
17:26.57DocScrutinizer05what got ramp-up/down to do with heartbeat?
17:27.26DocScrutinizer05I know how it works, I analyzed it and basicaly wrote the wiki page about it
17:27.38FatPhilthat's what it was called - the slowly pulsing led
17:29.05DocScrutinizer05unrelated to kbd-backlight
17:30.16DocScrutinizer05which engine3 is abused for, while mce could do same thing under sw-control, writing new brightness levels to led_kb:1/brightness to :6/brightness
17:30.57DocScrutinizer05basically the engines do exactly same,just without help of APE
17:32.11*** join/#maemo-ssu dos1 (~dos@unaffiliated/dos1)
17:32.12DocScrutinizer05if mce process would take care about those 0..500ms ramping, every once in 10 min when kbd backlight needs to light up or shut down, then we could free up engine3 for general pupose
17:33.18*** join/#maemo-ssu arcean_ (~arcean@aacr193.neoplus.adsl.tpnet.pl)
17:33.18DocScrutinizer05hell, forget mce process, I can create a shell script working more than fine for that, in as short as 5 minutes
17:33.39*** join/#maemo-ssu dos1 (~dos@unaffiliated/dos1)
17:34.31FatPhilwhat general purpose though. Why are you so enamourd with the idea of offloding a atask a picocontroller can do ontoa 500'Hz geneal purpose CPU?
17:35.30DocScrutinizer05the major fsckup in API is: the ledmux is for indicator LED only, using lowercase r, g, b to assign LED to engine1 and uppercase R, G, B to assign to engine2. No way to assign to engine3 since engine3 is reserved for kbd LED ramping
17:36.21DocScrutinizer05FatPhil: try creating a rainbow LED-pattern for indicator LED!
17:36.35DocScrutinizer05near impossible since only 2 engines available
17:36.50FatPhilI wrote a perl script which would turn the kbd leds into Knight Rider's "KITT" 4 years ago, I don't nneed lessons in how easy it is to control
17:37.54FatPhilImpossible for me to see - I'm a dichromat
17:38.30DocScrutinizer05solution: augment the mux sysnode to take old style "rGb" assignments as well as some new syntax like e.g. "1:1,2:1,3:3,4:1,"... to assign each of the 9 outputs to one of the three engines
17:38.57DocScrutinizer05FatPhil: I wrote a bash script for same purpose
17:39.10DocScrutinizer05fine that you don't need lessons ;-)
17:39.20FatPhilforgive the typos, I've got about 1min lag here!
17:40.35DocScrutinizer05np, foget the typos
17:41.31DocScrutinizer05the point about engine3 is: it's hardcoded to be used for kbd only. that's not what you expect from a kernel driver and its API
17:41.57DocScrutinizer05the API is broken by design
17:42.02DocScrutinizer05though fixable
17:43.12DocScrutinizer05all it needs to fix it is an augmented syntax for the muxing node, plus some additional nodes to partiton/manage the program storage
17:47.59DocScrutinizer05http://wiki.maemo.org/LED_patterns#LEDsToMap
17:50.02FatPhilI agree that if it's not hard wired, that's the imposition of policy, which is bad
17:50.05FatPhilhard-wired as in electrionicall, no choice
17:50.16DocScrutinizer05in lp5521 there been one engine with 16 steps max prog storage. in http://wiki.maemo.org/LED_patterns#Engine_Pattern that's kept though the LP5523 has a total of 96 steps assignable arbitrarily to the 3 engines
17:51.39*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
17:52.08DocScrutinizer05since driver "abuses" two(?) program steps for a mux-pattern table, they couldn't go for a fixed 32 steps per engine either
17:53.08DocScrutinizer05so they rather decided to not support at all the additional 48(-2) program steps
17:54.07DocScrutinizer05the 16step/engine limit is hardcoded to the driver
17:54.37DocScrutinizer05they could have gone for 30 or even 31 steps / engine, but noooo...
18:02.48DocScrutinizer05OOPS scratch that about mux sysnode, I confused that with MCE syntax
18:04.26DocScrutinizer05IroN900:/sys/class/i2c-adapter/i2c-2/2-0032/engine3_leds is perfectly sane, as are engine1_leds and engine2_leds
18:07.18sixwheeledbeastfreemangordon: issue fixed thanks, seems I had a faulty sim card.
18:10.09sixwheeledbeastamazing how different the locations are between the two devices now I am fixed. 10-15 miles different between two devices on the same network
18:11.23ShadowJKthey're talking to different towers?
18:18.05sixwheeledbeastI suppose so but I have at least three closer than the 15 mile away one.
18:23.43*** join/#maemo-ssu BCMM (~BCMM@unaffiliated/bcmm)
19:13.22*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
19:18.43DocScrutinizer05don't you think FatPhil last post was epic? ;-D
19:25.57DocScrutinizer05(lp5523.ko) so what it needs most to sanitize is a sysnode that allows partitioning of memory to the three engines. 3 ranges out of 0..95, plus a 4th range that stays unused, for e.g. mux lookup table
19:26.43DocScrutinizer05plus a second sysnode that would allow direct raw r/w-access to that memory
19:27.52DocScrutinizer05since I wouldn't like to hack stuff like mux-LUT via defining a temporary range for engineX and then loading a "program" to that range
19:30.05DocScrutinizer05that direct access should cover complete chip's addr range, incl the variables' registers
19:30.51DocScrutinizer05much like every sane i2c-chip driver should expose such a /raw sysnode
19:34.28DocScrutinizer05for N900 board config, the lp5523.ko driver should include a board specific check of the /raw sysnode for the self-destruction bit not getting set (the IO pin that is connected to SoC GPIO, usually is input, but could get configured to output Vbat to the SoC if not blocked by kernel driver)
19:35.49DocScrutinizer05actually one of the few hw bugs I found in N900
19:36.08*** join/#maemo-ssu bsdmaniak (~bsdmaniak@std93-20-88-120-139-80.fbx.proxad.net)
19:38.06DocScrutinizer05idly wonders what the SoC would do when +Vbat gets applied to one of the (1.8V?) GPIO
19:38.14DocScrutinizer05ShadowJK: ^^^
19:39.01ShadowJKvent magic smoke?
19:39.14DocScrutinizer05you forgot 2blue"
19:39.19DocScrutinizer05"blue" even
19:40.40DocScrutinizer05it's not exactly as simple to predict. The LP5523 has a rather modest fan-out, and the SoC has clamping diodes on all pins
19:42.49DocScrutinizer05so, i guess first thing to happen is a rise in Vio(1V8)
19:45.21DocScrutinizer05depending on fan-out vs current current consumption on Vio (I adore aliterations), either the output of LP5523 goes down to 1V8, or the clamp diode smokes up, or the whole CPU/SoC gets hit by lightning
20:01.45*** join/#maemo-ssu sunny_s (~sunny_s@178.124.152.19)
20:02.50DocScrutinizer05Pali: would you be interested in me providing aughmented/fixed API spec and possibly untested patches for lp5523.ko?
20:03.54PaliDocScrutinizer05: maybe you should inform about lp API TI developers of lp driver
20:04.05PaliI really do not have time for it :-(
20:04.19DocScrutinizer05I don't think TI developed that driver
20:04.31PaliI'm happy that TI developers added back old API support
20:04.48Paliyes, TI developers created new API in 3.10
20:05.08DocScrutinizer05the chip is LXP aka Phillips iirc, the driver been definitely tailored to fit N900 needs only
20:05.26DocScrutinizer05ooh, so it has new API?
20:05.43freemangordonPali: doesn't ssi need some clock to be registered in the board code?
20:05.50DocScrutinizer05that been my initial question actually
20:06.28Palihttps://lkml.org/lkml/2013/8/5/46
20:06.46PaliDocScrutinizer05: yes, there is new api for lp5523
20:06.55DocScrutinizer05thanks :-D
20:07.21Paliit using genertic linux firmware functions for loading program for lp chip
20:07.40Paliin above mail are linux git commits which introduced that API
20:07.50Palifreemangordon: no idea
20:07.53freemangordonPali: omap_ssi uses ssi_ssr_fck and ssi_ick
20:08.05freemangordonthose 2 are used by bridgedriver too
20:08.10PaliI have really nothing about ssi/hsi
20:08.30Palifeel free to patch any ssi code
20:08.37freemangordonmy point is - shouldn't those be somehow registered or whatever in the board code?
20:09.25PaliDocScrutinizer05: and https://lkml.org/lkml/2013/8/13/703
20:09.44Palifreemangordon: no idea
20:10.45DocScrutinizer05EEEEK mipi hsi?
20:15.26freemangordonPali: those are registered in cclock3xxx_data.c, so it is ok
20:16.19*** join/#maemo-ssu BCMM (~BCMM@unaffiliated/bcmm)
20:17.43freemangordonPali: BTW, which hsi/ssi/etc patches did you use?
20:18.10Palithose from you and skry
20:24.07Palinow I found 0xFFFF flasher in ubuntu repository :D funny that my SW appeared here and I not know about it
20:24.16Palihttp://packages.ubuntu.com/saucy/0xffff
20:25.22freemangordon:D
20:27.03freemangordonhttp://changelogs.ubuntu.com/changelogs/pool/universe/0/0xffff/0xffff_0.6~git20130406-1/0xffff.copyright
20:27.07freemangordon404
20:27.42freemangordonhttp://changelogs.ubuntu.com/changelogs/pool/universe/0/0xffff/0xffff_0.6~git20130406-1/copyright
20:28.41*** join/#maemo-ssu LauRoman (~LauRoman@5-14-93-219.residential.rdsnet.ro)
20:29.36freemangordonPali: maybe we should ask for some help on #nemomobile, or the author for hsi/ssi/cmt driver
20:29.57Palifreemangordon: look here: http://elinux.org/N900
20:30.19PaliSre trying to upstream hsi/ssi/cmt patches
20:30.38Palihttps://lkml.org/lkml/2013/8/11/67
20:30.48freemangordonooh, nice
20:31.18Pali"There is currently work going on to get the omap-ssi driver into the mainline kernel. This work may be ready for 3.13 or 3.14."
20:31.59freemangordon:)
20:36.01DocScrutinizer05Pali: you tested that new lp5523.ko driver?
20:36.22PaliDocScrutinizer05: not yet, this is reason why I did not answer that email
20:36.29Palisorry I did not have time...
20:36.31DocScrutinizer05:nod:
20:36.34DocScrutinizer05np
20:36.51DocScrutinizer05just asking since this determines my proofread-mode
20:37.31PaliDocScrutinizer05: maybe you should ask questions about lp drivers that TI developers...
20:37.49Palinow when they refactored lp driver
20:37.55DocScrutinizer05when it's known to work, I search the bugs at my end. otherwise I ponder if the code might be buggy
20:38.47freemangordonPali: WTF is DT?
20:38.54Palidevice tree
20:39.01freemangordonok, thanks
20:39.36DocScrutinizer05hsi drivers for omap4 might be interesting, since there's one location where the WONTFIX omap4 SiErr hits
20:40.33Palifreemangordon: this is that device tree which comes from Sun and OpenFirmware
20:41.04freemangordonPali: not that I know anything about it :)
20:41.15DocScrutinizer05the nasty point: when OMAP$ misses an IRQ on HSI, then the far end has to do sth about it which is not anything conforming HSI protocol specs
20:41.37Paliit is used for replacing board peripheral files with static device data
20:42.09freemangordonooh, so no more board files?
20:42.49Palino more static data for describing hw
20:43.05Palibut do not know if this means removing board data completly...
20:43.10freemangordonyeah, got it. what is used, some scripts?
20:43.12DocScrutinizer05amazing!
20:43.17DocScrutinizer05how does that work?
20:43.41DocScrutinizer05parameters handed to the build process?
20:44.16Palifreemangordon, device tree is language in which is this info written
20:44.31freemangordonhttp://www.devicetree.org/Main_Page
20:45.47PaliDocScrutinizer05: board hw id is already set by bootloader, so kernel know type of hw
20:45.59DocScrutinizer05WOW
20:46.53DocScrutinizer05one (kernel) for all (platforms)
20:47.03Palifor all arm platforms
20:47.13Palithis is what linux kernel trying...
20:47.22DocScrutinizer05wonders how sane this idea is, regarding overhead and cruft, aka dead code/data
20:47.39Paliomap2 and omap3 has already support for this multiarch
20:48.02Paliof course you can choose which components you want to compile
20:48.11DocScrutinizer05aah
20:48.23Palibut kernel developers want something like one kernel image for all x86
20:49.05Paliand because of this, DSP and infrared drivers was disabled :-( and are not compiling anymore
20:49.19Palibecause using omap specific functions
20:49.35DocScrutinizer05yeah sure, so SSE extension support in kernel for x386 engines
20:49.52Palii386 support is dropped
20:49.57DocScrutinizer05lol
20:50.04Paliand for SSE you can check cpuid
20:50.19Paliyou need i486 at least for last 3.x kernel
20:50.42DocScrutinizer05that doesn't help much for code in kernel or not, you can check CPU ID only when kernel already got loaded, incl SSE
20:50.54dos1armv4t vs. armv7te? :P
20:51.17dos1if you want one kernel for Neo Freerunner and N900, you'll have to either use armv4t, or drop Freerunner support :D
20:51.41DocScrutinizer05lololol
20:52.07dos1but one kernel for N900, Neo900 and GTA04... why not?
20:52.18DocScrutinizer05sure
20:52.24DocScrutinizer05it's same platform
20:53.03Palinot possible, n900 kernel area is too small for all that code :D
20:53.05ShadowJKI think the devicetree thing originally came from Linus getting pissed off at BeagleBoard's 5 variants, and everything beagleboard-like, like N900, etc
20:53.33Palidevicetree was already used in kernel for sun and powerpc arch
20:54.14Palithey decided that devicetree can be used also for arm :-)
20:54.33Palibecause ACPI is evil
20:54.41*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
20:54.49PaliACPI DSDT tables are nonsense
20:54.57dos1Pali: then u-boot and kernel on SD? ;]
20:55.07Pali:D
20:55.15DocScrutinizer05:-S  https://github.com/milokim/lp55xx/blob/master/drivers/leds/leds-lp5523.c#L223
20:56.34PaliDocScrutinizer05: now when driver is (again?) maintained by developers (TI), you should write all your objections about it...
20:56.50DocScrutinizer05will do
20:57.47PaliI was very surprised that they immediately created wraper for old API compatiblity....
20:59.00PaliI will resend SMC/PPA patches again and will prepare board data and functions for bq2415x charger for upstreaming
21:22.57FatPhiljust for reference, DT will slow you down
21:58.49*** join/#maemo-ssu freemangordon_ (~freemango@213.137.35.49)
22:14.17sixwheeledbeastPali: will there be an update for worldclock in cssu-devel? http://talk.maemo.org/showpost.php?p=1365613&postcount=423
22:15.11Palisixwheeledbeast: yes if ade push changed to gitorious and tell me that new version is ready for compiling :-)
22:15.33sixwheeledbeastok ta I'll ask him
22:15.46Palialso need to push new ke-recv to cssu-devel :-)
23:23.52*** join/#maemo-ssu freemangordon (~freemango@213.137.35.49)

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