**** BEGIN LOGGING AT Sun Oct 07 02:59:58 2012 Oct 07 03:18:31 hey, this may be more a linux/ubuntu question than a maemo one, but when i disconnect my n900's usb connection then plug it back in, it doesn't get detected again by the computer, i have to reboot it for the computer to detect the phone...is there some way to fix that? Oct 07 03:19:34 marainein, pull up a terminal on Ubuntu Oct 07 03:19:51 run 'dmesg | tail' Oct 07 03:19:59 then unplug/replug, do it again Oct 07 03:22:24 robbiethe1st, i'm actually not seeing anything new in dmesg after i do that Oct 07 03:22:34 nor is it showing up on lsusb Oct 07 03:22:45 That's interesting Oct 07 03:23:02 I wonder... check the same on the N900 Oct 07 03:30:26 it's giving me 'tw14030_usb tw14030_udb: HW_CONDITIONS 0xd0/208; link 2' Oct 07 03:30:40 and the line before it, similar except for link 1 Oct 07 03:32:06 hm Oct 07 03:32:15 I think that's good... Oct 07 03:32:36 I'd try updating Ubuntu/loading a different kernel Oct 07 03:33:15 yeah, i suspect it's a linux usb bug Oct 07 03:34:39 version-specific bug evidently; never had the issue with Debian Oct 07 07:02:34 <_PanzerSajt> Pali, Hy! Is there any stable and safe u-boot? Oct 07 07:03:02 <_PanzerSajt> I have reflash my N900 and I don't want to ruin it with not working u-boot Oct 07 07:07:51 You can always reflash no matter how badly anything screws it up Oct 07 07:07:59 u0boot fails? reflash Oct 07 07:08:16 It's got the flashing stub in the bootloader in a different rom chip Oct 07 07:09:14 yeah, you can't really brick the n900, apart for hosing CAL Oct 07 07:09:21 robbiethe1st: hi Oct 07 07:09:27 And even then... Oct 07 07:09:51 robbiethe1st: BM should really ignore the installed /etc/passwd Oct 07 07:10:08 Why? Oct 07 07:10:20 because my login shell is bash Oct 07 07:10:33 and there's no bash in the BM root Oct 07 07:11:02 I think my next version or patch which I've nit released just adds a symlink to /bin/sh... Oct 07 07:11:19 But I can't really do that either, see how I'm entering terminal mode? Oct 07 07:11:26 Basically just letting the system do it Oct 07 07:11:48 robbiethe1st: doesn't work Oct 07 07:11:58 busybox won't do shit if ran as "bash" Oct 07 07:12:06 bash: applet not found Oct 07 07:12:26 symlink /bin/bash to /bin/ash which is symlinked to /bin/busybox? Oct 07 07:12:50 yeah, the "inner" symlink doesn't exist Oct 07 07:12:56 darn Oct 07 07:12:59 according to busybox Oct 07 07:13:09 you could use a shell script, i guess Oct 07 07:13:24 hm, yeah Oct 07 07:13:39 or ship an /etc/passwd >:( Oct 07 07:13:43 <_PanzerSajt> kerio, yes I know that we can't brick n900 but I don't want to reflash again and install all the softwares. Oct 07 07:13:50 I just thought, however, that what I could do is check for the existance of that password-enable file Oct 07 07:13:58 the one I use for BM password lock Oct 07 07:14:18 if it exists, load the root's /etc/passwd, otherwise use a stock one with a default password Oct 07 07:14:22 _PanzerSajt: that's where BM comes into play Oct 07 07:14:39 <_PanzerSajt> can you explain it to me? Oct 07 07:15:41 robbiethe1st: or just require a hashed password in it Oct 07 07:15:59 uh...? Oct 07 07:16:59 robbiethe1st: if you have a password there, you don't need the password from /etc/passwd Oct 07 07:17:16 But I'm using the official login app or w/e Oct 07 07:17:31 so I think it has to exist at /etc/passwd Oct 07 07:17:40 hm Oct 07 07:18:10 still, i have to use bootmenu's usb networking to ssh because i can't login in BM :( Oct 07 07:18:28 DO YOU KNOW HOW TOUGH MY LIFE IS Oct 07 07:19:00 _PanzerSajt: full-ish on-device backups Oct 07 07:19:19 <_PanzerSajt> Hmm that's nice Oct 07 07:19:32 <_PanzerSajt> how can I perform a full backup and restore? Oct 07 07:19:34 i should probably backup CAL Oct 07 07:19:34 Change your damn login shell to /bin/sh then? Oct 07 07:19:42 robbiethe1st: no u Oct 07 07:19:44 and just use bash when you need it Oct 07 07:19:56 ...Or edit bm's loader to add bash Oct 07 07:19:59 _PanzerSajt: install BM, reboot in BM, follow semigraphical UI Oct 07 07:20:20 Semigraphical is a good way to put it Oct 07 07:23:07 robbiethe1st: how do i backup CAL? Oct 07 07:23:19 I have absolutely no clue Oct 07 07:23:38 I've never done it, or messed with it Oct 07 07:26:19 ok, nanddumped it :) Oct 07 07:26:43 robbiethe1st: add it in "extra functions" Oct 07 07:27:18 paste the commands into the BM topic Oct 07 07:28:51 and I'll read it tomorrow, or try to anyway Oct 07 07:29:56 kerio: well, recent events have confirmed that cal is not very important Oct 07 07:31:21 jacekowski, someone tried wiping their cal? Oct 07 07:31:25 yes Oct 07 07:31:32 Interesting. Oct 07 07:31:33 someone did wipe all of nand Oct 07 07:31:36 Did it just rebuild? Oct 07 07:31:38 no Oct 07 07:31:50 but everything works without it Oct 07 07:31:57 Even phone functions? Oct 07 07:31:59 yes Oct 07 07:32:05 Interesting. Oct 07 07:32:17 rapuyama is doing phone Oct 07 07:32:27 and there is separate cal in there Oct 07 07:32:31 that can't be touched Oct 07 07:33:01 cal in main onenand can be wiped Oct 07 07:33:10 and data there is not very important Oct 07 07:33:18 fmtxd has region settings stored there Oct 07 07:33:23 and bt mac Oct 07 07:34:08 i'm not sure what would happen on fully wiped nand Oct 07 07:34:12 as in, partition table gone as well Oct 07 07:36:21 well, you need to use the UBI tool to create them in the first place. Oct 07 07:36:56 how you're going to access that is the question - Linux exposes /dev/mtdN, where N is a partition. Oct 07 07:37:07 ubinize and burn? Oct 07 07:45:53 Hi there Oct 07 07:49:29 I've installed Pali's Uboot (with menu) and the Kernel Power for multiboot. I ran the u-boot-update-bootmenu too of course. When I rebooted and chose the kernel power (same happens with the stock kernel), Uboot hangs on 'Starting Kernel'. How do I fix that? (I've got a working phone atm because of a reflash of the stock kernel (flash-only=kernel) :) Oct 07 07:50:06 jacekowski: the partition table is written on the nand? :o Oct 07 07:50:16 i thought it was just a parameter passed to the kernel by NOLO Oct 07 07:51:04 jacekowski: also, you lose info regarding your hw rev and BT doesn't work properly Oct 07 07:55:37 DocScrutinizer05: do you reckon nanddump/nandwrite can be used to backup/restore CAL? Oct 07 07:56:03 also, why does on-device kernel flashing use flasher instead of nandwrite? Oct 07 08:11:22 was nandwrite the one that doesn't deal that well wih badblocks? Oct 07 08:14:58 i thought it did Oct 07 08:15:20 dd on mtdblk is the one that doesn't deal with badblocks Oct 07 08:22:37 do we know how CAL works? Oct 07 09:21:07 does anyone have a bit of experience with pppd? Oct 07 09:24:45 Hi. So this morning my alarm didn't ring and I found my n900 in some sort of frozen state. The led is blinking as if I received an IM message and if I slide or double-tap power, the screen turns on but it remains black. I had this once before, and I'm sure replacing the battery fixes it. But I would like to know what is going on. So I'm able to ssh onto it, luckily, and I see that a process called sgx_misr is using up all CPU. Oct 07 09:25:11 Well and I guess I found the unfixed bug report from 2010... just great. Oct 07 09:25:19 https://bugs.maemo.org/show_bug.cgi?id=9150 Oct 07 09:25:21 04Bug 9150: Device doesn't respond via UI. syslog reports HWRecoveryResetSGX: SGX Hardware Recovery triggered, sgx_misr eating all CPU Oct 07 09:32:10 PowerVR is such shit. Oct 07 09:40:07 kerio: I suggested that several times Oct 07 09:40:50 suggested what? Oct 07 09:40:59 nanddump/write Oct 07 09:41:20 i see Oct 07 09:41:42 you even find a nanddump'ed image of my CAL on my server Oct 07 09:43:27 don't forget you'll probably also need nanderase, since iirc nandwrite can't clean blocks Oct 07 09:44:11 but better you read the manpages etc before you start experiments Oct 07 09:44:44 there's also mtd_debug iirc, maybe also worth giving it a look Oct 07 09:48:12 http://processors.wiki.ti.com/index.php/Mtdutils Oct 07 09:50:12 http://stackoverflow.com/questions/11279473/how-to-correctly-nandwrite-a-nanddumped-dump-with-oob Oct 07 09:50:31 DocScrutinizer05: we don't need oob, do we Oct 07 09:50:49 http://www.linux-mtd.infradead.org/doc/general.html Oct 07 09:51:49 oob is out of band data iircd, it marks bad blocks or whatever Oct 07 09:53:07 >>Often people consider mtdblock as general FTL layer and try to use block-based file systems on top of bare flashes using mtdblock. This is wrong in most cases. In other words, please, do not use mtdblock unless you know exactly what you are doing.<< Oct 07 09:55:24 DocScrutinizer05: backupmenu 1? :D Oct 07 09:56:54 yoh Oct 07 10:00:57 Shapeshifter: I wonder if that isn't sometimes a hardware issue. Oct 07 10:07:41 Shapeshifter: is alarmed using the tags of alarmd events? Oct 07 10:27:38 I found another bug in maemo package interface Oct 07 10:27:46 See this: http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/wargus/2.2.7-1maemo1~fremantle/ Oct 07 10:27:59 DocScrutinizer05 ^^^ Oct 07 10:28:15 ? Oct 07 10:28:40 I can vote 4 times for one package :D Oct 07 10:28:59 somebody already mentioned that ;-P Oct 07 10:29:08 but that would be cheeeeeeeeeating Oct 07 10:29:12 but now I know how to do it :) Oct 07 10:29:29 just open 4 tabs in browser with that vote page Oct 07 10:29:47 then prepare ... Oct 07 10:29:54 odds are cheated packages get kicked out of extras repo and you have to start all over again ;-D Oct 07 10:30:07 and then very quickly click on button :D Oct 07 10:30:41 and make race condition Oct 07 10:30:43 haha, they forgot to include mutex to avoid race condition Oct 07 10:31:11 funny bug :D Oct 07 10:31:19 excusable bug Oct 07 10:31:37 who is author of that maemo system? Oct 07 10:31:44 web developers usually have no clue about race conditions and re-entrant coding Oct 07 10:32:31 adding comments has same prblem, only there it's enough to click the submit button again after 10s of waiting for anything to happen Oct 07 10:32:43 almost all of my comments are double Oct 07 10:32:48 some triple Oct 07 10:33:16 ;-P Oct 07 10:33:36 DocScrutinizer05, now you know reason :-) Oct 07 10:33:49 I always knew the reason Oct 07 10:34:08 I just wonder about shortest fix for all that Oct 07 10:34:33 probably something along system("uniq ...") Oct 07 10:35:32 or alternatively (if that's any kind of rdb) define some cols as nodupkey Oct 07 10:37:10 nfc who's maintainer for that web frontend Oct 07 10:37:50 in 3 months, it should be clear whom to ask though Oct 07 10:38:10 Lesson learned: don't resize MyDocs partition when using u-boot. Oct 07 10:38:12 and I'm not any sad it's not me now, whom you'll ask about all that Oct 07 10:38:28 btw what is state of maemo.org? Oct 07 10:38:37 nokia will turn off servers? Oct 07 10:38:46 *shrug* likely Oct 07 10:38:51 Pali, the funding ends on the 31st. Oct 07 10:39:07 so yeah, unless HF moves the site, it gets cut. Oct 07 10:39:14 gossip is they will stop paying services with new year Oct 07 10:39:39 all that is worst case Oct 07 10:39:40 Gossip? Didn't it go more like "all funding will cease on the 31st" Oct 07 10:40:04 though Nokia's worst cases usually are worse than worst case scenarios Oct 07 10:40:25 is somebody going to backup maemo.org? Oct 07 10:41:00 Hurrian: nah, it's "Nokia already paid for servers and maintenance til end of 2012" Oct 07 10:41:17 Pali, it's a ~10GB backup at the very least. Oct 07 10:41:25 Hurrian: and there's still no definitive statement they will cease to do that in 2013-01-01 Oct 07 10:41:33 but it's very likely they will Oct 07 10:41:58 doesn't seem likely they will - they already fired all the Linux people. Oct 07 10:42:25 unless as said in that thread, Nokia will do a transition period Oct 07 10:42:25 is nokia going to delete also maemo.gitorious.org ? Oct 07 10:42:28 but it's very likely they will cease to pay Oct 07 10:42:39 no way Oct 07 10:42:46 Pali: ^^^ Oct 07 10:43:29 Hurrian: maemo.org 10GB? haha! Oct 07 10:43:39 10GB for the forum Oct 07 10:43:57 maemo.org incl subdomains is more likely to be something like 10TB Oct 07 10:44:20 and, if we only keep newest copy of packages, another 10GB Oct 07 10:44:30 plus the Nemo/Mer hosting stuff Oct 07 10:44:35 ooh, tmo. Well that's a completely segregate topic, really Oct 07 10:44:55 and other obscure things hosted on M.O Oct 07 10:45:36 tmo is still actually a subdomain of itt Oct 07 10:46:03 [ /me has just now been reminded how badly IMAP-IDLE support is needed in modest :( ] Oct 07 10:46:04 technically Oct 07 10:46:10 nah, the A record's pointed to whatever ITT points to. Oct 07 10:46:13 and https://projects.maemo.org/ ? :D Oct 07 10:46:23 Pali, don't forget garage Oct 07 10:46:38 talk.maemo.org. 41377 IN CNAME forums.internettablettalk.com. Oct 07 10:46:42 forums.internettablettalk.com. 13684 IN A 74.86.202.247 Oct 07 10:46:49 funny :-) Oct 07 10:48:00 http://www.internettablettalk.com/ more funny Oct 07 10:50:34 maximum funny http://maemotalk.com/ Oct 07 10:53:54 Hurrian: merlin1991 already has a mirror of the latest versions of packages in extras-devel Oct 07 10:56:02 kerio, that's nice to know Oct 07 10:56:16 which is seriously good for apt Oct 07 10:56:57 fun fact: as of now, nokia can't ship an OTA update Oct 07 10:57:04 not even if they wanted to Oct 07 10:58:06 kerio, they broke their SSL cert? Oct 07 10:58:15 Hurrian: the gpg key for the packages Oct 07 10:58:28 it's expired/revoked? Oct 07 10:58:52 it's expired, and HAM requires a working signing key to identify packages coming from a trusted source Oct 07 10:59:16 whelp. Oct 07 10:59:40 Doubt it bothers Nokia though, support has probably already long dropped off the radar. Oct 07 11:00:26 jacekowski: ping Oct 07 11:00:36 DocScrutinizer05: are you awake? Oct 07 11:00:49 kerio: oops Oct 07 11:01:04 freemangordon: kinda Oct 07 11:01:10 http://pastebin.com/1QtcHkS7 Oct 07 11:01:12 30% Oct 07 11:01:27 should be enough for 6 instructions :D Oct 07 11:02:45 I already followed chat between you and jacekowski yesterday. And I have to say that's actually stuff way beyond my expertise Oct 07 11:02:56 aah, ok :) Oct 07 11:05:10 just a general comment on mutex etc: you need to check those very carefully, since you can't really test in RL, the purpose of mutexes is to avoid race conditions that are extremely hard to prove as being dealt with in a reliable manner Oct 07 11:05:59 IOW you can't prove there's no open window for a race left Oct 07 11:06:12 except on analytic src review level Oct 07 11:06:40 freemangordon, hi, when you have time, try look at uboot. I cannot do it, because on my n900 is uboot working... Oct 07 11:06:59 any bug that slipped your attention will show up at $random time later Oct 07 11:07:05 DocScrutinizer05: I am aware of that, that is why i wan't someone else to review the code. Oct 07 11:07:10 Pali: I will Oct 07 11:07:21 yeah, very reasonable idea Oct 07 11:10:10 freemangordon: another rather noobish comment: I usually see irqs=lock_irq() and restore_irq(irqs) bracketing any mutex code, so you kinda make it atomic Oct 07 11:10:48 yeah, ldrex/strex are kinda atomic operations Oct 07 11:11:12 they put a memory observer to the address in question Oct 07 11:11:15 well, so you say the rest of code is reentrant? Oct 07 11:11:49 or at least thread-safe Oct 07 11:11:52 reenterant? NFC, I didn't write it :) Oct 07 11:12:48 consider something else messing with virtually anything it likes, at any arbitrary point during execution of your code. Will it cause trouble? Oct 07 11:12:49 but it should be thread safe, after all this is DB Oct 07 11:13:12 no Oct 07 11:14:08 aah I see you're userland process, you can't do any lock_irq() Oct 07 11:14:16 DocScrutinizer05: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dht0008a/CJHIGEFG.html Oct 07 11:14:35 WTF Oct 07 11:14:44 wrong link, but don;t ask me why Oct 07 11:15:26 DocScrutinizer05: google for ldrex/strex Oct 07 11:15:51 :nod: Oct 07 11:18:24 http://infocenter.arm.com/help/topic/com.arm.doc.ddi0344k/ch08s05s03.html?resultof=%22%6c%64%72%65%78%22%20 Oct 07 11:19:12 yeah, those are the instructions Oct 07 11:19:43 not only instructions but also a general concept how to use them Oct 07 11:20:02 oh ARM <3 Oct 07 11:20:06 yeah,but difference with my code is that I am not trying to aquire the lock, but to set a value Oct 07 11:20:20 hm? Oct 07 11:20:36 MUTEX_SET is called from the outside for() loop who checks the result Oct 07 11:21:12 aiui MUTEX_SET is actually acquiring a lock Oct 07 11:21:52 yes, but the check if the lock is aquired is not in MUTEX_SET Oct 07 11:22:31 the example on ARM site does that too, i.e it does a spinlock Oct 07 11:22:35 not a mutex Oct 07 11:23:37 yeah, the BNE try Oct 07 11:23:48 the same do gcc sync intrinstics Oct 07 11:23:49 just change that to a return Oct 07 11:24:24 DocScrutinizer05: not so simple, as I have to return correct result to the upper for() loop Oct 07 11:24:43 so your upper layer code gets result OK/FAIL from call to MUTEX_SET Oct 07 11:25:43 i.e. AIUI I have to return 1 from MUTEX_LOCK only if previous tsl value was 0 (i.e. mutex succesfully acquired) and strex ioperation succeeded (we were able to store 1 to tsl) Oct 07 11:25:48 DocScrutinizer05: yes Oct 07 11:41:21 Pali: ping Oct 07 11:41:37 freemangordon, pong Oct 07 11:41:48 Pali: which .deb to use? Oct 07 11:41:57 or to build mine? Oct 07 11:41:57 what debs? Oct 07 11:42:01 of uboot? Oct 07 11:42:01 for u-boot Oct 07 11:42:12 clone git tree Oct 07 11:42:16 branch pali Oct 07 11:42:21 yes, that is what I am doing Oct 07 11:42:29 dpkg-buildpackage? Oct 07 11:43:27 Pali: does it fail on all 2204s? Oct 07 11:44:23 prolly Oct 07 11:44:23 gvim src/common/clients/modulemanager.cpp Oct 07 11:44:35 Pali: Unmet build dependencies: kernel-bootimg :( Oct 07 11:44:39 wrong window Oct 07 11:44:57 I am with -kernel-cssu3 on the device, i.e.thumb thingie Oct 07 11:45:46 installed kernel-cssu-bootimg, didn't help Oct 07 11:45:52 freemangordon, download some zImage (not fiasco) and put it in root dir Oct 07 11:45:59 then edit debian/rules Oct 07 11:46:06 ok Oct 07 11:46:08 and find /boot/zImage-2.6.28-omap1 Oct 07 11:46:18 change it to your path of zImage Oct 07 11:46:28 this image will be attached to uboot Oct 07 11:46:32 and then ignore build dependency Oct 07 11:46:33 ok, got it Oct 07 11:50:16 Pali: only uboot-flasher, ain't? Oct 07 11:50:51 u-boot-tools + u-boot-flasher Oct 07 11:51:04 ok Oct 07 11:51:07 flasher has fiasco image (combined uboot+zImage) Oct 07 11:51:30 -tools has shell script + mkimage for generating bootmenu Oct 07 11:55:15 Pali: onenand read 0 0 4096 gives total chip size (0x0) exceeded :D Oct 07 11:55:32 normal? Oct 07 11:55:37 I do not know Oct 07 11:55:45 I did not tested onenand uboot command yet Oct 07 11:55:57 I only saw support, so I enabled it in -15 Oct 07 11:56:19 how to disable it? Oct 07 11:56:24 there is also ubifs support, but due big size, I disabled it Oct 07 11:56:37 in config file? Oct 07 11:57:05 comment all *ONENAND* in include/configs/nokia_rx51.h Oct 07 11:58:41 what about mdtparts? Oct 07 11:59:23 you can comment them too Oct 07 11:59:45 but you need to add "#define MTDPARTS_DEFAULT" Oct 07 12:00:11 because there is env variable "mtdparts=" MTDPARTS_DEFAULT Oct 07 12:00:12 but it is there Oct 07 12:00:22 #define MTDPARTS_DEFAULT "mtdparts=onenand:" \ Oct 07 12:00:41 replace it with "#define MTDPARTS_DEFAULT" Oct 07 12:00:43 why do I need that? Oct 07 12:01:02 you mean an empty define? Oct 07 12:01:02 for disabling mtd code Oct 07 12:01:06 yes Oct 07 12:01:09 empty define Oct 07 12:01:25 ChanServ: ? Oct 07 12:05:07 Pali: h,, how to flash fiasko image? Oct 07 12:05:21 via usb or on device? Oct 07 12:05:27 usb Oct 07 12:05:36 -F instead of -k? Oct 07 12:05:47 via usb -F Oct 07 12:05:59 on device use: fiasco-image-update Oct 07 12:06:48 Pali: it boots, with mtd and onenand disabled Oct 07 12:07:14 on 2204? Oct 07 12:07:17 can you enabled onenand & mtd and test again Oct 07 12:07:17 yep Oct 07 12:07:31 Pali: i tested before, what is the idea? Oct 07 12:08:13 messing with MTDPARTS will fsckup quite some bits, as it's the partitioning the BL is passing to kernel as well, AIUI Oct 07 12:08:23 so with enabled onenand not working and with disabled working? Oct 07 12:08:29 yes Oct 07 12:08:35 onenand and mtdparts Oct 07 12:08:39 disabled Oct 07 12:08:41 DocScrutinizer05, mtdparts in uboot are only for uboot Oct 07 12:08:45 so: messed up MTDPARTS -> no mounting of any mtd-based fs Oct 07 12:08:57 partition table for kernel is in omap table Oct 07 12:08:59 problem is with onenand, not with mtd AIUI Oct 07 12:08:59 atag Oct 07 12:09:07 freemangordon, ok Oct 07 12:09:12 ping merlin1991 Oct 07 12:09:19 as it is onenand to give device size 0 Oct 07 12:09:30 * freemangordon is afk for a while Oct 07 12:09:40 freemangordon, can you sent your compiled uboot to merlin1991 for testing? Oct 07 12:10:16 sure. fiasko image? Oct 07 12:10:39 fiasco is enought Oct 07 12:10:45 aah, no, it is for cssu3 kernel, will it be ok/ Oct 07 12:10:48 ? Oct 07 12:11:00 who's been that guy who asked yesterday about working uBoot for 2204? Oct 07 12:11:17 panzerSomething iirc Oct 07 12:11:26 _PanzerSajt Oct 07 12:11:28 Sicelo Oct 07 12:11:37 mimamoomomo Oct 07 12:11:41 and other people from TMO too Oct 07 12:13:47 * DocScrutinizer05 fails to recall right searchterm for grep in backlog, said sth like "check your hw-rev against list of those known to work" Oct 07 12:14:21 marainein: ^^^^ Oct 07 12:15:02 well, -o +r +n Oct 07 12:15:11 DocScrutinizer05, what? Oct 07 12:15:13 and we're from mimamoomomo to marainein Oct 07 12:15:31 marainein: seems freemangordon created a uBoot working on 2204 Oct 07 12:15:52 ahh excellent Oct 07 12:15:57 this is a new version? Oct 07 12:16:03 would you like to help testing? Oct 07 12:17:46 yeah, but i gotta go to sleep Oct 07 12:17:53 np Oct 07 12:18:33 Pali: #define PISMO1_NAND_SIZE GPMC_SIZE_128M Oct 07 12:18:37 why is that? Oct 07 12:19:11 "However, the package may create empty directories below /usr/local so that the system administrator knows where to place site-specific files. These are not directories in /usr/local, but are children of directories in /usr/local. These directories (/usr/local/*/dir/) should be removed on package removal if they are empty." Oct 07 12:19:25 Debian people and their specifications... Oct 07 12:19:35 freemangordon, I do not know this comes from original ali's uboot port Oct 07 12:19:46 It's written more like a riddle, then an actual specification. Oct 07 12:19:51 than* Oct 07 12:20:09 there is more code which was not changed... Oct 07 12:20:53 Too bad it doesn't say where the first /usr/local/foodir comes from. Oct 07 12:21:23 hehe Oct 07 12:21:32 ~debian fasta Oct 07 12:21:32 * infobot tells fasta to RTFM!!!! GAH!!! HELL FIRE AND BRIMSTONE!!!! BURN!!! DIE!!! MWAHAHAHAHA!!!! Oct 07 12:21:51 DocScrutinizer05: in all your wisdom, what do you run? Oct 07 12:22:04 openSuse Oct 07 12:22:20 DocScrutinizer05: is there because you are German? Oct 07 12:22:24 that* Oct 07 12:22:34 though I don't give much about what distro I use, since I have to tweak them anyway Oct 07 12:22:35 DocScrutinizer05: or is there some good technical reason behind your choice? Oct 07 12:22:38 Pali: looks like too much code is missing to enable onenand Oct 07 12:23:19 freemangordon, first we need if disabling onenand fixed booting... Oct 07 12:23:32 DocScrutinizer05: how do you manage your tweaks? Oct 07 12:23:37 fasta: originally (like: in 1995+-) it was because suse been local for me. Now it's because openSuse is closely linked to SLES/SLED Oct 07 12:23:39 I think that in -12 was still onenand code disabled Oct 07 12:24:13 http://merlin1991.at/~freemangordon/u-boot/ Oct 07 12:24:22 (manage tweaks) with lots of pain felt in the arse Oct 07 12:24:25 ;-D Oct 07 12:24:37 Pali: but attached kernel is kernel-cssu3 Oct 07 12:24:50 DocScrutinizer05: I mean: let's say you have to reinstall a new work station, how will you do that? Oct 07 12:24:56 freemangordon, ok Oct 07 12:25:03 U usually avoid to do that Oct 07 12:25:06 I* Oct 07 12:25:12 Pali: so we need merlin1991 Oct 07 12:25:16 DocScrutinizer05: so, you dd everything? Oct 07 12:25:29 yes, somebody who has non working uboot Oct 07 12:25:31 DocScrutinizer05: e.g. harddisk upgrades, etc. Oct 07 12:25:33 yay, ubuntu still boots Oct 07 12:25:56 ping Sicelo Oct 07 12:26:15 DocScrutinizer05: I wrote some scripts to write to /etc files, select the right alternative for various things, etc., according to my needs. Oct 07 12:26:39 DocScrutinizer05: so, when I run that script, I have morphed a completely useless machine into something that does something useful. Oct 07 12:26:42 IF I have to, it's: install openSuse_x, go thru all the packages manually in installer, opt-out/in a lot. then have two weeks minimum of days filled with tweaking all sorts of stuff, like global kbd shortcuts, themes, mail, $arbitrary-systems Oct 07 12:27:01 DocScrutinizer05: yeah, I used to do that. Oct 07 12:27:10 DocScrutinizer05: now every change I make is made programmatically. Oct 07 12:27:24 on suse, there's autoyast, you'll like that if you get the catch of it Oct 07 12:27:26 DocScrutinizer05: I still don't have a solution to manage Firefox extensions, though. Oct 07 12:27:45 DocScrutinizer05: firefox had an API to install extensions. Oct 07 12:27:53 But they threw it out. Oct 07 12:28:05 So much for 'unleash the power of the web'. Oct 07 12:28:47 Thunderbird also is completely obnoxious because of their contracting with Microsoft. Oct 07 12:29:00 http://users.suse.com/~ug/AutoYaST_FAQ.html Oct 07 12:29:11 Everytime you upgrade, they set some things by default. Oct 07 12:29:34 Anyway, nothing which a little scripting cannot defeat, but imagine doing that by hand every single time. Oct 07 12:29:44 Otherwise thunderbird is great. Oct 07 12:29:53 Not a single crash in over a year or so. Oct 07 12:30:26 DocScrutinizer05: autoyast sounds nice Oct 07 12:31:21 a friend of mine has to maintain literally 10,000s of clients, and he's all full of joy about autoyast Oct 07 12:32:08 (he's been a notorious yast-hater in former times ;-d) Oct 07 12:32:15 ;-D* Oct 07 12:32:36 DocScrutinizer05: but autoyast seems to be only for installation, not maintenance. Oct 07 12:32:45 now he defends suse against almost everything else Oct 07 12:33:16 yes, autoyast is a mere installation+deployment tool Oct 07 12:33:42 DocScrutinizer05: Via NixOS you can do similar things, but do maintenance too. Oct 07 12:33:44 pff Oct 07 12:33:53 just debootstrap the clients Oct 07 12:33:55 >:D Oct 07 12:33:56 for general local admin there's yast at large Oct 07 12:34:20 for admin of 1000s of clients, there are shell tools Oct 07 12:34:23 ;-P Oct 07 12:34:40 It would be interesting to see how long it would take to install 2000 packages with the various tools. Oct 07 12:34:54 I think Nix would come in first, assuming the packages existed! Oct 07 12:35:03 Apt would come in second. Oct 07 12:35:11 And Fedora last. Oct 07 12:35:22 Suse uses the same tools as Fedora, right? Oct 07 12:35:39 I mean 'rpm'. Oct 07 12:36:09 yast now does extremely smart stuff during install time: it simply copies a "disk image" that's closest to what you "ordered", then only adds / removes the delta of pkgs Oct 07 12:36:39 yes, suse is an RPM system Oct 07 12:37:07 How is it then different from e.g. Fedora? Oct 07 12:37:27 though you actually tend to forget about which pkg paradigm it's using, when you use yast and zypper Oct 07 12:37:48 Are you saying it also understands debs? Oct 07 12:37:50 X-Fade ping Oct 07 12:37:57 fasta: how am I supposed to answer that question? Oct 07 12:38:06 DocScrutinizer05: the Fedora question? Oct 07 12:38:09 fasta: I think it does Oct 07 12:38:13 Pali: Any clue why both PISMO1_NAND_SIZE and PISMO1_ONEN_SIZE are defined? Oct 07 12:38:14 yes Oct 07 12:38:33 DocScrutinizer05: oh, well, I don't know. Perhaps Google knows. Oct 07 12:38:47 The only unstable part on my system is my damn graphics card. Oct 07 12:38:52 I could pipe result of a diff here? Oct 07 12:38:56 freemangordon, I think that both defines are needed for onenand code... Oct 07 12:39:03 but I did not played with onenand yet Oct 07 12:39:06 so I do not know Oct 07 12:39:19 hmm, but why 128M? Oct 07 12:39:35 erase page? Oct 07 12:39:46 bank size? Oct 07 12:40:04 makes for a nice two banks, for 256M Oct 07 12:40:07 that should be total size Oct 07 12:40:12 AIUI Oct 07 12:40:18 then maybe it's words? Oct 07 12:40:23 as there is no bank_size or something Oct 07 12:40:34 hmm, could be, lemme check in syslog Oct 07 12:42:30 ask on #u-boot Oct 07 12:43:19 OneNAND Manufacturer: Numonyx (0x20) Oct 07 12:43:22 ;) Oct 07 12:43:30 LOL Oct 07 12:44:16 Pali: hah, nice catch with #u-boot Oct 07 12:44:37 2101: OneNAND Manufacturer: Samsung (0xec) Oct 07 12:44:40 DocScrutinizer05: to be fair with 1000s of clients you probably want to do *one* installation and then clone it Oct 07 12:44:48 Pali: ^^^ Oct 07 12:45:10 kerio: or use autoyast to do that for you Oct 07 12:45:13 nice catch! Oct 07 12:45:36 freemangordon: of course Oct 07 12:45:41 Pali, I've been wanting to ask for a while - the FAT32 driver for uboot is troublesome when dealing with un-fresh filesystems Oct 07 12:45:46 freemangordon: how do i check my onenand manufacturer? Oct 07 12:46:32 Hurrian, I know that. easy way is to backup data from MyDocs, then mkfs.msdos and copy back Oct 07 12:47:32 Indeed it does - any corruption/alteration of the table breaks the driver. Oct 07 12:48:00 One problem though - on systems with CSSU-Thumb. Oct 07 12:48:41 The system requires a Thumb kernel, but u-boot uses PR 1.3 kernel. Oct 07 12:48:44 kerio: look in dmesg log :P Oct 07 12:49:08 How about storing uboot in kernel MTD partition, and the real "flashed" kernel in MTD4? Oct 07 12:50:09 MyDocs partition breaking for arbitrary reason = need to flash CSSU-Thumb kernel with flasher Oct 07 12:50:18 freemangordon: share grep line ;-D Oct 07 12:51:00 "OneNAND Manufacturer:" is what you need, i didn't use grep Oct 07 12:51:39 though nymonix should be supported too Oct 07 12:51:44 OneNAND Manufacturer: Numonyx (0x20) Oct 07 12:51:51 2104 Oct 07 12:52:03 kerio: grep OneNAND /var/log/syslog Oct 07 12:52:08 kerio: does yours boot with latest u-boot? Oct 07 12:52:12 idk Oct 07 12:52:36 Pali: dou you have such device? Oct 07 12:53:11 0x40 Oct 07 12:53:21 freemangordon: >>Muxed OneNAND 256MB 1.8V 16-bit (0x40)<< here you are: 16bit Oct 07 12:53:26 --<128M Oct 07 12:53:29 -->* Oct 07 12:53:32 yes, i got it Oct 07 12:53:35 Samsung (0xec) Oct 07 12:53:38 Pali: ox40? Oct 07 12:53:41 aah Oct 07 12:53:53 Pali: only one device? Oct 07 12:53:54 0x40 same as Doc ^^^^^^ Oct 07 12:53:57 yes Oct 07 12:54:35 Pali: ox40 is not the manifacturer, it should be either ec(sammie) or 20(nymonix) Oct 07 12:54:58 Samsung (0xec) Oct 07 12:55:03 Muxed OneNAND 256MB 1.8V 16-bit (0x40) Oct 07 12:55:09 ok Oct 07 12:55:10 and Muxed OneNAND 256MB 1.8V 16-bit (0x40) Oct 07 12:56:27 mtdinfo FWIW Oct 07 12:58:22 >>Device is writable: true<< ;-P Oct 07 12:58:51 toldya there's a way to (un?)lock mtd partitions (or even pages?) Oct 07 12:59:18 big PITA with HARM and openmode Oct 07 12:59:37 since the partition/page with device lockcode is locked Oct 07 12:59:41 in openmode Oct 07 13:00:11 * DocScrutinizer05 idly wonders if it could get unlocked Oct 07 13:01:12 kerio: you might also want to have a look at mtd_debug --help, not only nanddump/nandwrite Oct 07 13:02:20 freemangordon, in uboot are functions to lock onenand Oct 07 13:02:24 see drivers/mtd Oct 07 13:03:17 sure Oct 07 13:03:21 onenand_unlock_all in drivers/mtd/onenand/onenand_base.c Oct 07 13:03:56 Pali: i saw that, the question is why it works for samsung Oct 07 13:04:10 Pali: hmm, does it? Oct 07 13:04:28 maybe special driver, see: drivers/mtd/onenand/samsung.c Oct 07 13:04:31 Pali: can you enter uboot console and check if onenand commands work? Oct 07 13:08:21 not working Oct 07 13:08:21 seems like drivers/mtd/onenand/samsung.c is for some samsung bord Oct 07 13:08:30 *board Oct 07 13:09:03 # onenand read 0x86008000 0 256 Oct 07 13:09:19 it write total chip size (0x0) exceeded Oct 07 13:09:26 the same here Oct 07 13:09:39 chip size is 0x0 Oct 07 13:10:07 and qemu wrote: Oct 07 13:10:08 OneNAND read: offset 0x0, size 0x256 Oct 07 13:10:09 0 bytes read: OK Oct 07 13:10:20 I doubt this onennand stuff is configured correctly for our hw Oct 07 13:10:26 :nod: Oct 07 13:10:52 I even dunno why we need it and for what Oct 07 13:11:11 no way to replace nolo Oct 07 13:11:33 I guess OneNAND has some special extended properties over 'normal' nand, and that OneNAND stuff is to handle those Oct 07 13:11:45 if we decrease size (-mthumb) of uboot we can replace nolo Oct 07 13:12:15 if ((*off + *size) > mtd->size) { Oct 07 13:12:15 printf("total chip size (0x%llx) exceeded!\n", mtd->size); Oct 07 13:12:20 well, until it comes to flashing Oct 07 13:12:26 Pali: ^^^ Oct 07 13:12:33 (replace NOLO) Oct 07 13:13:08 DocScrutinizer05, uboot has (not yet merged) patches for standard flashing protocol Oct 07 13:13:26 and we still can use cold-flash for flashing Oct 07 13:13:26 NOLO is a PITA, since it does a lot of stuff that's not documented at all, and no source available (obviously, but for not so obvious reasons) Oct 07 13:13:58 sure Oct 07 13:14:03 another PITA Oct 07 13:14:07 DocScrutinizer05, in qemu I can run xloader --> uboot_spl Oct 07 13:14:15 and uboot_spl wrote me hello message Oct 07 13:14:17 and thats all Oct 07 13:14:23 :nod: Oct 07 13:14:36 because onenand is not implemented in uboot_spl Oct 07 13:14:43 I think there's some pretty proprietary stuff regarding gfx init et al in NOLO Oct 07 13:14:56 but it can write message to serial console - so it is working Oct 07 13:15:19 what's uboot_spl? Oct 07 13:15:53 freemangordon, see arch/arm/include/asm/arch-omap3/mem.h line 340 Oct 07 13:15:56 DocScrutinizer05: what are the not so obvious reasons? Oct 07 13:16:15 DocScrutinizer05, uboot spl is replacement for open source TI x-load Oct 07 13:16:28 will compile with CONFIG_MTD_DEBUG Oct 07 13:16:36 kerio: NFC, maybe the supposed proprietary GFX stuff Oct 07 13:16:41 it is loader which load & run bootloader from RAM Oct 07 13:16:50 :c Oct 07 13:16:55 or simply Nokia being... Nokia, as usual? Oct 07 13:17:07 fukken nokia Oct 07 13:17:11 * kerio shakes his fist at Elop Oct 07 13:17:25 i should make that into a "/nokia" command in xchat Oct 07 13:17:58 Pali: AIUI this xloader has to carry proper signature, or ROMBL will not load&start it Oct 07 13:18:02 #define _GPMC_CONFIG Oct 07 13:18:03 ONNAND - Samsung One NAND Oct 07 13:18:03 MNAND - Micron Large page x16 NAND Oct 07 13:18:31 DocScrutinizer05, but we can replace nolo with uboot_spl + uboot Oct 07 13:18:52 cmt? Oct 07 13:18:56 that's strange then, if we can do this Oct 07 13:19:02 for unknown reason in qemu this not working: xloader -> nolo Oct 07 13:19:16 s/nolo/uboot/ Oct 07 13:19:16 Pali meant: for unknown reason in qemu this not working: xloader -> uboot Oct 07 13:19:31 but xloader -> uboot_spl working Oct 07 13:20:57 xloader->* should basically be no problem, since Nokia xloader for N900 doesn't check signature of * afaik Oct 07 13:21:14 ROMBL however checks signature of $xloader Oct 07 13:21:56 jacekowski explained to me that in N900 xloader and NOLO are integrated into one chunk Oct 07 13:21:59 iirc Oct 07 13:22:34 DocScrutinizer05, if you boot nolo without valid kernel image and you have serial console, you will see that nolo has command line Oct 07 13:22:40 ROMBL only checking signature of first part of that chunk that contains the xloader code, I guess Oct 07 13:22:49 and nolo has separate partition for xloader and separate partition for nolo Oct 07 13:23:04 nolo & xloader are separated Oct 07 13:23:19 so omap rom checking only xloader Oct 07 13:23:22 err, they live in mtd0, no? Oct 07 13:23:28 yes Oct 07 13:23:40 but partition layout comes from nolo Oct 07 13:24:03 and nolo sent different layout to kernel (and different has itself) Oct 07 13:24:19 but when you flashing n900, you need to flash xloader and nolo together Oct 07 13:24:25 yep Oct 07 13:24:45 NOLO protocol has message for load xloader, message for load nolo and message for flash xloader+nolo Oct 07 13:25:00 there is no message for flash only xloader Oct 07 13:25:17 since it's not possible Oct 07 13:25:23 I played with flashing, you know that I rewritten 0xFFFF Oct 07 13:25:32 :nod: Oct 07 13:25:55 btw, what is license of xloader? Oct 07 13:26:00 redistributable or not? Oct 07 13:26:02 errr Oct 07 13:26:04 nfc Oct 07 13:26:28 I always thought it's an open reference implementation from TI Oct 07 13:26:46 not, nokia xloader is closed Oct 07 13:26:55 and is not same as TI xload Oct 07 13:26:58 sure, by nokia Oct 07 13:27:30 well, Nokia tweaked the TI reference implementation. But what does that mean? Oct 07 13:27:38 what's been the question? ;-) Oct 07 13:28:31 are you asking if anybody will get upset when you redistribute xloader binary? Answer: probably not Oct 07 13:29:32 except the FOSS purists of course, who will start bitching at you to disclose the sourcecode ;-P Oct 07 13:30:27 imma wait for the FOSS Inquisition Oct 07 13:30:57 Grand Inquisitor Stallman says court is in session Oct 07 13:31:44 sadly the xloader source likely died with the N900 in Nokia Oct 07 13:32:04 ask jacekowski, he knows a lot more about all that stuff than I do Oct 07 13:32:42 Pali: onenand phys base is 0x04000000 according to syslog, in config file #define CONFIG_SYS_ONENAND_BASE ONENAND_MAP Oct 07 13:32:48 #define ONENAND_MAP 0x20000000 /* OneNand addr */ Oct 07 13:33:41 strange stuff Oct 07 13:52:33 >>Few developers make me so angry as WhatsApp's ones. They just took XMPP, made a couple of changes so that it does not work with normal clients, forgot about any kind of security and call it a day. Their biggest idea is using phone numbers as identifiers and marketing their app as an SMS replacement instead of an internet chat. F*ck them. -- DMiax@Slashdot<< :-D +1000 Oct 07 13:53:48 (from don_falcone@tmo signature) Oct 07 13:54:40 lol Oct 07 15:11:35 oooh, i realized that my neighbour has WPS enabled on his wifi network Oct 07 15:13:23 lol Oct 07 15:13:47 naughty thoughts? :P Oct 07 15:17:12 maybe Oct 07 15:26:05 does that make it easier to crack? Oct 07 15:34:16 ShadowJK_: from wikipedia, theoretically 10,000,000 possibilities, actually 11,000 attempts to be sure to have an access Oct 07 15:35:35 ShadowJK_: WPS is *so* dumb Oct 07 15:35:40 you have an 8-digit pin Oct 07 15:35:49 but the first 4 digits are checked independently Oct 07 15:35:53 and the last one is a checksum Oct 07 15:57:27 wtf lol Oct 07 15:57:38 can you disable pin and only allow buttan Oct 07 15:57:56 i don't think so, idk Oct 07 16:06:30 ping merlin1991 Oct 07 16:06:52 ping Sicelo Oct 07 16:07:33 hehe Oct 07 16:07:58 hey Pali Oct 07 16:08:26 Sicelo, can you test freemangordon build of uboot? Oct 07 16:08:42 where is it? Oct 07 16:08:58 http://merlin1991.at/~freemangordon/u-boot/ Oct 07 16:09:10 Sicelo: kernel-cssu3 ;) Oct 07 16:09:18 attached kernel that is Oct 07 16:10:15 Pali: do you know where in the kernel code is onenand init for rx51 Oct 07 16:10:26 i need base address and CSn Oct 07 16:10:54 try drivers/mtd/onenand Oct 07 16:11:16 brb then.. n900 is my only connection Oct 07 16:11:30 Sicelo: ^^^ Oct 07 16:12:12 Pali: pong Oct 07 16:12:26 or try arch/arm/mach-omap2/board-rx51-flash.c + board-n800-flash.c Oct 07 16:12:36 already tried Oct 07 16:12:38 (yes rx51 calling n800 functions :D) Oct 07 16:12:51 no, they are just declared Oct 07 16:12:53 merlin1991, can you test freemangordon uboot build? Oct 07 16:14:56 freemangordon, parsing omap parition table is implemented in some n8xx function Oct 07 16:15:13 and that omap atag is same for n8xx and n900 Oct 07 16:15:16 yes, but i miss HW settings Oct 07 16:15:51 btw, what is this code doing?: return &rx51_sdrc_params[0]; Oct 07 16:18:28 freemangordon: so you have kernel cssu3 attached ?? Oct 07 16:18:35 yes Oct 07 16:18:53 why does it say +zImage-2.6.28-omap1 then? :D Oct 07 16:19:06 NFC, ask pali Oct 07 16:19:38 merlin1991, because debian/rules has hardcoded that name Oct 07 16:19:48 :P Oct 07 16:19:53 hehe Oct 07 16:19:59 okay I'll reboot and flash Oct 07 16:21:01 Pali: r = gpmc_cs_request(c->gpmc_cs, ONENAND_IO_SIZE, &c->phys_base); Oct 07 16:22:36 freemangordon, Pali: it boots Oct 07 16:22:46 nice :-) Oct 07 16:22:55 so what did you guys change? :D Oct 07 16:23:12 disabled onenand and mtdparts support Oct 07 16:23:59 but -12 at least had no onenand support, no idea about mtdparts Oct 07 16:24:16 merlin1991: 2204 uses different onenand chip Oct 07 16:24:58 yeah but to my understanding, in the -12 image I got from pali there was no onenand support? Oct 07 16:25:16 NFC Oct 07 16:26:29 Pali: freemangordon .. not booting. after i choose 'Attached Kernel' , device reboots in about 5 seconds Oct 07 16:26:38 watchdogs maybe? Oct 07 16:26:40 Sicelo: boot a not attached kernel Oct 07 16:26:47 attached is the one from cssu-thumb Oct 07 16:26:53 where you probably have no modules Oct 07 16:26:55 Sicelo: do you have cssu-thumb installed? Oct 07 16:26:59 nop Oct 07 16:27:16 well, then you don't have kernel-cssu3 as well :P Oct 07 16:27:52 Pali: and deffinitely base address is 0x04000000 Oct 07 16:28:14 ok Oct 07 16:28:25 are you going to add onenand support? Oct 07 16:28:37 will try at least Oct 07 16:30:10 Pali: you still have a .deb of -11 around? Oct 07 16:30:25 yes Oct 07 16:30:48 no deb, but only image Oct 07 16:32:07 Sicelo: http://atrey.karlin.mff.cuni.cz/~pali/u-boot/old/ Oct 07 16:32:14 thanks Oct 07 16:34:43 DocScrutinizer05, freemangordon, is driver for n900 led too complicated or is easy to port it to uboot? Oct 07 16:35:00 basically easy Oct 07 16:35:10 sometimes it is really bad when led is turned on Oct 07 16:35:21 though a tad fsckdup (based on LP5521 properties) Oct 07 16:35:39 and display backlight? Oct 07 16:35:49 hehe now we need led and charge support in u-boot, then we can go FUCK act_dead we do proper battery recovery :D Oct 07 16:35:53 sometimes nolo turned display off... Oct 07 16:35:56 but maybe you just want to talk to LP5523 via direct I2C rather than porting full driver for that Oct 07 16:36:37 DocScrutinizer05, I think that uboot needs only to turn led off... nothing more Oct 07 16:37:06 * DocScrutinizer05 just muses about how things/own motivations become more clear in hindsight Oct 07 16:37:08 merlin1991, I can write charge support Oct 07 16:37:38 http://talk.maemo.org/showpost.php?p=1277663&postcount=116 Oct 07 16:37:42 but first I want to shred -u BME Oct 07 16:37:52 :D Oct 07 16:39:26 btw are you goign to upstream the n900 u-boot changes Pali? Oct 07 16:39:53 freemangordon, are you sure that all closed maemo applications (except hald-addon-bme) using libbmeipc only for temperature? Oct 07 16:40:08 merlin1991, yes, I want to upstream n900 uboot Oct 07 16:40:25 I already sent more patches, but they was not merged Oct 07 16:40:44 (due to some changes in uboot core for relocation) Oct 07 16:41:52 hm is there a dedicated mailinglist for u-boot? Oct 07 16:42:03 Pali: (using libbmeipc) maybe that's really hard to tell Oct 07 16:42:15 ah found it Oct 07 16:42:50 sometimes I hate google, I search for u-boot and it gives me a billion entries for the submarine thanks to my "german speaking" ip Oct 07 16:42:55 Pali: I could figure some of those closed maemo apps will do some exceptional stuff in exceptional situations, like overheated device etc Oct 07 16:43:00 merlin1991, last patch series is here: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/130370/ Oct 07 16:43:02 emergency call Oct 07 16:43:57 merlin1991: the joy of silly pkg naming Oct 07 17:12:12 Pali: it is above my expertize to enable onenand support, you should ask for some help on #u-boot, sotty Oct 07 17:12:15 *sorry Oct 07 17:12:40 ok Oct 07 17:12:46 and looking at kernel code we just miss support for our device Oct 07 17:13:45 Pali: see drivers/mtd/onenand/omap2.c Oct 07 17:50:13 * ShadowJK_ made a small script to killall -STOP fennec if loadavg goes over 3.00 Oct 07 17:50:29 merlin1991; it does that to me too Oct 07 17:53:39 ShadowJK_: but... what if you're using it? D: Oct 07 17:53:46 i need to install gcc and rewrite script in gcc Oct 07 17:53:52 uh, in c Oct 07 17:54:02 loadvg jupmed to 9 all of sudden Oct 07 17:57:23 ShadowJK_: mind to share the script? Oct 07 17:57:53 it's a "one-liner" Oct 07 17:58:10 I need to stop fennec and script to copypaste it Oct 07 17:59:43 lol Oct 07 18:00:38 (one-liner) guessed as much Oct 07 18:00:57 anyway it's same direction as my idea of general system sanity monitor Oct 07 18:01:15 so I might take it for inspiration Oct 07 18:03:28 from memory: while true; do L=$(sed s/\\\./\ / thanks Oct 07 18:09:05 * DocScrutinizer05 still wonders how to evaluate per-process cpu usage Oct 07 18:09:24 and other top-alike stuff Oct 07 18:10:04 prolly I have to learn more about /proc/*/*/* Oct 07 18:10:51 hell, I could check src of top, or procps Oct 07 18:16:19 or Documentation/ in kernel src Oct 07 18:16:50 /proc/pid/stat, but I forget what the numbers are ;p Oct 07 18:17:03 and /proc/stat systemwide Oct 07 18:22:46 jacekowski: ping Oct 07 18:23:44 yeah, /proc//stat Oct 07 18:23:58 thanks Oct 07 18:24:43 http://stackoverflow.com/questions/1420426/calculating-cpu-usage-of-a-process-in-linux Oct 07 18:26:01 heh, TIL that the unit of cpu time in linux is called a jiffy Oct 07 18:53:56 TIL? Oct 07 18:54:02 ~wtf til Oct 07 18:54:04 Gee... I don't know what til means... Oct 07 18:54:12 ~dict til Oct 07 18:54:13 Dictionary 'til' (3): Sesame. [Sometimes written {til}.] [1913 Webster] {Teel oil}, sesame oil. [1913 Webster] ;; \Til\, prep. & conj. See {Till}. [Obs.] --Chaucer. [1913 Webster] ;; Tech Info Library (Apple, WWW). Oct 07 18:55:06 jiffy is age old time unit in all *nix Oct 07 18:56:12 there actually even *is* a way to find out about jiffies/second on your particular system - just I forgot how Oct 07 18:58:40 basically a jiffy is one heartbeat of the hw-clock used to drive systemclock Oct 07 19:01:00 man:/usr/share/man/man7/time.7.gz Oct 07 19:01:09 or man 7 time Oct 07 19:02:31 What is in scope for the next CSSU? Oct 07 19:08:10 kgu: a lot more flamewars Oct 07 19:08:48 also a way to choose optional package blocks Oct 07 19:08:54 kgu: well firstly, stable or testing? Oct 07 19:09:36 in testing we have updated openss, camera-ui and possibly sqlite3 Oct 07 19:09:45 *openssl* Oct 07 19:10:25 and in stable? Oct 07 19:11:11 ask chemist :D Oct 07 19:11:27 I meant in testing Oct 07 19:17:56 Is there an alternative to the calendar widget? I would love to be able to automatic switch profile according to meetings in calendar Oct 07 19:20:48 kgu: I think that should be feasible with original calendar, some interface process to pick out the meeting dates, and switch profiles accordingly Oct 07 19:21:22 btw I recall somebody doing *exactly* what you're interested in, quite some time ago Oct 07 19:21:28 there is a packge / python script for that somewhere Oct 07 19:21:58 ohh cool - do you know where to find it? Oct 07 19:22:28 search packet interface for "calendar" or "profile" Oct 07 19:22:51 *might* help Oct 07 19:23:59 in HAM? Oct 07 19:25:03 http://maemo.org/packages/ Oct 07 19:35:08 hm forgot that I have to assess the qt4 merge request Oct 07 19:36:30 merlin1991, I remember that MAG compiled new version of pulseaudio for maemo Oct 07 19:36:42 do you know reason why he want to update pulseaudio? Oct 07 19:36:52 no idea Oct 07 19:37:24 MAG is offline now... Oct 07 19:39:58 maemo-profiler 0.0.1 could be the one, but just tried to install it, but no program icon shows up.. Oct 07 19:46:40 ahh, it shows up as 'application' - not so intuitive. But no functions in this app, so cant be the one Oct 07 19:59:50 kgu: http://talk.maemo.org/showthread.php?t=72876 Oct 07 20:00:27 kgu: google maemo calendar profile: ~15th hit Oct 07 20:00:43 nah, 4th Oct 07 20:02:45 GeneralAntilles: ping Oct 07 20:08:22 DocScrutinizer05: perfect, you are the man! Oct 07 20:08:34 kgu: yw Oct 07 20:08:58 but what to do, when it returns this error: ImportError: No module named mafw Oct 07 20:15:57 http://maemo.org/packages/view/python-mafw/ maybe? Oct 07 20:17:09 kgu: ^^^ Oct 07 20:20:45 sounds like the one - will give it a try Oct 07 20:21:39 hmm, can't install Oct 07 20:30:04 hm? Oct 07 20:31:25 either install with apt-get when you got extras-devel repo enabled. Or download the .deb from the pkg site, and install with dpkg (or simply by clicking it in microB browser) Oct 07 20:31:32 it says incompatible package Oct 07 20:31:39 o.O Oct 07 20:31:58 you downloaded the i386? Oct 07 20:32:07 no, the armel Oct 07 20:32:23 nfc what's wrong then. Who says that? Oct 07 20:32:35 HAM Oct 07 20:32:38 damn, is there *SANE* phone on earth Oct 07 20:32:44 check problems tab Oct 07 20:33:09 problems tab is exactly 'incompatible package' Oct 07 20:33:25 use apt-get or dpkg approach Oct 07 20:33:46 HAM is not really meant for installing stuff like that Oct 07 20:33:55 your wish is my command ;) Oct 07 20:34:33 I'm actually amazed you even see this python binding in HAM Oct 07 20:35:06 maybe python bindings are not exactly libraries like arbitrary .so Oct 07 20:35:18 in HAM world Oct 07 20:35:36 but anyway, use dpkg (or apt-get) Oct 07 20:35:49 yeah, it works with apt-get! Thx again DocScrutinizer05. Now I will just have to figure out how to use the script.. Oct 07 20:41:00 freemangordon: pong Oct 07 20:41:34 kgu: aiui this python script has to get started once, preferrably during boot, and waits in background for next meeting Oct 07 20:42:19 I'd probably use a .desktop file for autostarting it, see modest.desktop etc Oct 07 20:42:39 there are several .desktop that don't show any icon Oct 07 20:42:45 just to autostart stuff Oct 07 20:43:55 the shebang line of that script and the run-standalone.sh in there makes me think though that the original author planned to start it via initscript form /etc/init.d Oct 07 20:44:28 ask merlin1991;-D I see him mentioned in that scriptie Oct 07 20:45:49 ok, I will try to drop it in init.d Oct 07 20:46:56 but it should be run as user, right? Oct 07 20:49:00 run-standalone.sh will take care Oct 07 20:49:14 afaik Oct 07 20:53:53 I'm musing about this: sys.path.insert(0, '/usr/lib/switchProfByMeeting') Oct 07 20:54:27 that's for loading python modules Oct 07 20:54:36 python has a fixed path to load modules from Oct 07 20:54:51 also anything can be visible in ham as long as the package section is in user/* Oct 07 20:54:51 I for sure don't have that dir, nor any python modules in it Oct 07 20:55:04 jacekowski: sorry to pester, would you mind to look at this http://pastebin.com/1QtcHkS7 Oct 07 20:55:24 (ham) I know Oct 07 20:56:13 sys.path.insert(0, '/home/user') Oct 07 20:56:15 o.O Oct 07 20:56:44 ^^^ also for loading python modules? Oct 07 20:57:02 if you're dicking around with sys.path, you're doing it wrong Oct 07 20:57:30 kerio: pretty please go to http://talk.maemo.org/showthread.php?t=72876 and fix it, then Oct 07 20:58:15 A nice little icon just showed up in the status window :) Oct 07 20:58:36 i don't even have a switchProfByMeeting Oct 07 20:58:46 now I just have to fidle around with the profile names, that should be used Oct 07 21:05:31 general & silent, I'd guess Oct 07 21:05:46 yes, but I have other names Oct 07 21:05:55 notz really ;-) Oct 07 21:07:16 silent is silent, and meeting is nearly silent :) Oct 07 21:30:16 kgu: you see those dbus msgs in that script Oct 07 21:31:10 kgu: in set_profile( self, prof ) Oct 07 21:31:39 yes,I have changed them Oct 07 21:32:43 def update_profile( self ): Oct 07 21:33:15 I'm trying to figure out how often the script will reread the calendar to include new meetings.. Oct 07 21:33:22 it's questionable if it will work to use other profile names, but it should, depending on profile manager you use Oct 07 21:33:37 kgu: it's event triggered Oct 07 21:33:48 so - whenever you change calendar Oct 07 21:34:13 or when a timer expires (start or end of a meeting) Oct 07 21:34:19 I use profileX Oct 07 21:34:22 it checks for next event due Oct 07 21:34:43 I will see tomorrow if I distrub the meetings or not ;) Oct 07 21:35:49 you can check dbus (use dbus-monitor) to see if profileX actually implements new profile names, or is also using the old nasty trick to "detune" general profile Oct 07 21:36:04 tweakr does Oct 07 21:36:25 (abuse 'general' for all custom profiles) Oct 07 21:37:00 MWKN once quoted a discussion between me and mohammadAG about that topic Oct 07 21:37:36 the profiled can handle arbitrary profiles, but profile system status plugin can't deal with new names it seems Oct 07 21:37:42 iirc Oct 07 21:39:03 what to look for in dbus-monitor, when I change profile? Oct 07 22:09:31 well, some msg with either 'your' profile name, or "silent" or "geberal" Oct 07 22:09:36 general* Oct 07 22:10:12 dbus_interface='com.nokia.profiled' Oct 07 22:12:19 ~ping Oct 07 22:12:19 ~pong Oct 07 22:42:13 freemangordon: looks ok Oct 07 22:43:47 freemangordon: though, i'm not sure if dmb is required there Oct 07 23:11:43 http://www.spacex.com/webcast/ launch of iss resupply in a little over an hour Oct 07 23:12:39 Ah, what is the point... Oct 07 23:18:22 well, spacex is at least doing stuff that could lower launch costs a long way. Oct 07 23:32:56 Speed: As far as I can tell, it is the same carrier, so no idea why it would lower launch costs Oct 07 23:33:44 Probably something like twice the cost of launching another Progress Oct 07 23:38:26 see the 'grasshopper' - which is a testbed for first stage reuse. Oct 07 23:48:08 Speed: but they are not launching the grasshopper Oct 07 23:48:51 Meanwhile, real enterpreneurs are busy with real business: http://www.theregister.co.uk/2012/10/07/ebay_campaigns_over_first_sale_doctrine_copyright_case/ Oct 07 23:48:55 * RST38h cackles evilly Oct 07 23:50:25 they have launched it, Oct 07 23:50:43 OK, it went 6 feet. but tis a start, Oct 07 23:52:58 Copyright has gotten out of hand. Oct 07 23:53:28 General: I am eagerly awaiting when they start handing out jail sentences for copying content Oct 07 23:53:52 General: Will be almost as much fun as instituting indenturing servitude as part of bankrupcy proceedings =) Oct 07 23:54:03 s/indenturing/indentured Oct 07 23:54:06 eagerly awaiting? Oct 07 23:54:19 * RST38h likes good circus Oct 07 23:54:21 been a while now, Oct 07 23:54:37 I'm interested to see how the next SCOTUS decisions on this play out. Oct 07 23:54:51 I think the ideology is leaning a bit away from absolute copyright insanity. Oct 07 23:55:01 They say SCOTUS is up for a refresh under the next president Oct 07 23:55:19 Yup Oct 07 23:55:25 Potentially 2 seats opening up. Oct 07 23:55:31 roll it back to 15 years. Oct 07 23:55:36 General: Not as I see it. Quite opposite, Obama is a big friend of copyright, and Romney is a huge friend of big business Oct 07 23:55:47 make patent originality mean something, Oct 07 23:55:54 General: So, whatever clown gets the white house, we are fucked =) Oct 07 23:56:02 Maybe Oct 07 23:56:13 Romney could seat another Thomas, though. Oct 07 23:56:27 Another Sotomayor or Kagan though would be death. Oct 07 23:56:39 you should never be able to patent the obvious expression of a problem, if that could be come up by your average engineer in a month. Oct 07 23:56:48 I'm still dreaming of Judge Napolitano, though. :D Oct 07 23:57:00 SpeedEvil, problem is the USPO hasn't scaled well Oct 07 23:57:04 You are dreaming along party lines, I am afraid Oct 07 23:57:08 and they have ZERO incentive to do due diligence. Oct 07 23:57:14 indeed Oct 07 23:57:18 You want sane people, whatever their party leaning Oct 07 23:57:20 I say privatize it. Oct 07 23:57:49 RST38h, tribalism seems to run deeper on the left. Oct 07 23:58:10 The left is full of well-intentioned idiots Oct 07 23:58:24 The right is full of crazy corporate wackos though Oct 07 23:58:44 * RST38h can't really says which ones are worse =( Oct 07 23:59:18 They're both pretty bad. Oct 07 23:59:21 Time for a third party. Oct 07 23:59:36 Right now I think the personality cult of Obamaism is worse. Oct 07 23:59:40 libertarians (tm)? same crazy wackos, on steroids =( Oct 07 23:59:50 But that could easily shift back the other way. Oct 07 23:59:58 RST38h, OK, a third and fourth party. Oct 08 00:00:09 Libertarians are the largest 3rd party. Oct 08 00:00:12 * RST38h does not see any Obama cult - the guy is basically faceless, tasteless, etc Oct 08 00:00:25 Only ones fielding a remotely viable candidate. Oct 08 00:00:43 RST38h, sure, he is, but look at all of the people who'd vote for him no matter what he did. Oct 08 00:00:50 I shouldn't say personality cult. Oct 08 00:00:58 Maybe person cult. Oct 08 00:00:59 General: I would vote for him. But not because of what he did Oct 08 00:01:09 :shudder: Oct 08 00:01:12 General: He has been relatively harmless so far Oct 08 00:01:23 Not really. Oct 08 00:01:28 Look at his Justice Department Oct 08 00:01:29 General: I would vote for Romney too, if not for his backers Oct 08 00:01:30 and the DoE Oct 08 00:01:47 General: It is all small shit, compared to Dubya though Oct 08 00:01:52 Mmm Oct 08 00:01:58 There's also the whole drone assassination thing. Oct 08 00:02:06 General: It is efficient Oct 08 00:02:10 It's illegal. Oct 08 00:02:15 and incredibly immoral. Oct 08 00:02:18 General: He is the government. Oct 08 00:02:31 Yeah, we have a constitution, though. Oct 08 00:02:36 General: Government has no morals. No ethics. And it determins what is legal or not on its own Oct 08 00:02:41 You can't assassinate US citizens. Oct 08 00:02:44 General: For overseas, we don't Oct 08 00:02:51 GeneralAntilles: yes you can Oct 08 00:02:54 General: You can if congress says so Oct 08 00:03:05 just pick up a gun at a local department store and shoot! Oct 08 00:03:13 because we can! Oct 08 00:03:16 Interesting, I have just read an article about this angle on Obama =) Oct 08 00:03:19 Gh0sty, government action. Oct 08 00:03:40 sure they say that ... but their actions ... :P Oct 08 00:03:53 General: Don't be silly, the government will kill Jesus Christ if someone in the DoD decides it is necessary for the national security Oct 08 00:03:57 RST38h, Obama's also brought racism and class warfare back into vogue. Oct 08 00:04:09 OK, "can't" is the wrong term. Oct 08 00:04:16 General: It has never been gone. Oct 08 00:04:19 It's unconstitutional, and I wont stand for it as a voter. Oct 08 00:04:24 Indeed not Oct 08 00:04:30 But it hadn't been this prominent. Oct 08 00:04:51 General: Maybe in Florida, but if you are living in the MD/DC/VA area, there has not been any change whatsoever Oct 08 00:05:17 I laughed: http://2.bp.blogspot.com/_oNfVQ-7M-VQ/THFTY65XDgI/AAAAAAAAAP4/ohnlB1ZUoXo/s1600/march_of_tyranny.jpg Oct 08 00:07:42 BTW, class warfare is on the rise not due to Obama. It is rising due to increasing income differences between folks on the bottom and folks on the top Oct 08 00:08:55 Which is in big part thanks to Obama and his cronies (and Bush and his cronies). Oct 08 00:09:53 I was amused to hear the upper limit of 'the middle class' Oct 08 00:10:44 as in that it's high up there in ludicrously filthy rich territory? Oct 08 00:12:06 yes Oct 08 00:12:33 well, not ludicrously. but 'the 1%' Oct 08 01:18:56 GeneralAntilles: hey buddy, long time no see Oct 08 01:24:59 GeneralAntilles: well, you got to vote between a and A in your hillarious 2 party system Oct 08 01:26:02 I'd even assume Obama *tried* to do the 'right thing' - just there's another party without which you can't do anything Oct 08 01:26:28 and the differences are negligible Oct 08 01:26:53 both are 100% opportunists Oct 08 01:27:23 and you're as well (USA citizens) Oct 08 01:28:37 "sure! save the planet! but pretty please stop that shit if that means I have to pay more for a complete fueling at gas station" Oct 08 01:29:06 Meanwhile: WoW hackers lay hands on the weapons of mass destruction Oct 08 01:29:07 American think they're soooooo cute Oct 08 01:29:33 they don't give a shit about rest of the world Oct 08 01:29:56 and any president has to deal with this majority Oct 08 01:29:57 See, General, what Dubya has done? Those Europeans no longer respect US. They no longer hate the US, even. They merely think it is funny =) Oct 08 01:30:38 Doc: "World of Warcraft players in Europe experienced an unpleasant Sunday afternoon, after an 'exploit' resulted in the death of every character in several cities." <== that is what happens to those who mock the US might! Oct 08 01:31:09 * RST38h cackles, sacrifices a hamster to the Tentacled One Oct 08 01:32:12 ia Oct 08 01:32:37 hah Oct 08 01:32:42 n8 Oct 08 01:34:40 RST38h: indeed USA is a poor joke, the more when this other asshole (mit???) makes it Oct 08 01:35:27 "leading by merits" - lost game for USA Oct 08 01:36:05 (not that anything in 'old Europe' would be any better) Oct 08 01:36:21 Chinese laugh at us Oct 08 01:37:31 except the 1000 foxcon workers who _got_ beaten (the other 1000 beat them) Oct 08 01:38:46 RST38h: I'd love to see a closer link between WoW reality and RL Oct 08 01:39:14 You mean,the current one is not close enough? Oct 08 01:39:21 no way Oct 08 01:39:45 They have got WMDs, viral epidemics, and a freaking opera showing The Red Riding Hood Oct 08 01:39:50 * DocScrutinizer05 throws a few meteorites at SOL3 Oct 08 01:40:32 * DocScrutinizer05 doesn't even wonder where they impact Oct 08 01:40:39 every location is fine Oct 08 01:40:57 maybe except bikini atoll Oct 08 02:40:41 I find my N900 failed to send message now. Is it a bug from update ? Oct 08 02:44:27 Is there anybody has this problem ? **** ENDING LOGGING AT Mon Oct 08 02:59:58 2012