**** BEGIN LOGGING AT Fri Nov 21 02:59:58 2014 Nov 21 08:37:43 ant_work, hello Nov 21 08:37:49 the -517 error is normal. Nov 21 08:38:02 It's the gpio not being available at the time the console starts. Nov 21 08:40:11 gm Nov 21 08:40:37 is disturbing the bootlogo Nov 21 08:40:56 even with 'quiet' Nov 21 08:41:57 about PM, maybe some clock change broke resume? Nov 21 08:42:17 I'll retest 3.17 but we have logs, it was ok Nov 21 08:43:29 http://pastebin.com/XeqZnNgq Nov 21 08:58:23 ant_work, I will recheck with 3.18-rc5 right now. Nov 21 08:58:34 The worst thing that we can get is 'works for me' Nov 21 08:58:48 test on qemu or collie? Nov 21 09:04:12 collie, of course Nov 21 09:05:02 I don't trust much the hw, mostly the batteries can be a problem Nov 21 09:05:15 but thei skind of repeatable fault is strange... Nov 21 09:05:43 ok. The collie booted, CF is mounted. Nov 21 09:05:47 What should I do next? Nov 21 09:05:52 poweroff or echo mem > ? Nov 21 09:05:53 # poweroff Nov 21 09:06:03 same (bad) effects ;) Nov 21 09:06:13 It halted. of some kind Nov 21 09:06:20 Now resetting unit Nov 21 09:06:31 or even # shutdown -h now Nov 21 09:06:35 (in halt I see the penguin and vertical line on a screen). Nov 21 09:06:59 Something is very bad in "poweroff". The collie sounds! Nov 21 09:07:04 wow Nov 21 09:07:04 ok, rebooted. Nov 21 09:07:18 It boots fine. Nov 21 09:07:22 Sot "it works for me" :( Nov 21 09:07:30 first kernel boots Nov 21 09:07:34 try to kexec Nov 21 09:07:36 Yep. Nov 21 09:07:42 it works. Nov 21 09:08:14 What was the issue with suspend? Nov 21 09:08:21 echo mem , no resume Nov 21 09:08:38 or echo mem, resume, no kexec? Nov 21 09:09:11 Yes. resume is br0ken. Nov 21 09:09:13 no resume. have to press reset. then linux-kexecboot boots but cannot kexec Nov 21 09:09:15 I will check. Nov 21 09:09:33 kexecboot.. Nov 21 09:09:43 kexec... Nov 21 09:09:45 boots Nov 21 09:09:53 Is you kernel lying on CF or on SD? Nov 21 09:10:12 on CF, I have the kernel without SD Nov 21 09:10:20 kexecboot v.06 Nov 21 09:10:21 Ah, what is your 3.18 config/ Nov 21 09:10:45 the one in meta-handheld master Nov 21 09:10:59 on my fork I added the locomo stuff Nov 21 09:11:38 Jay7: can you upload the test-kernels somewhere? Nov 21 09:11:41 Rebuilding with your config Nov 21 09:12:13 dsame defconfig + patches of 3.17 can be used for 3.18-rc5 Nov 21 09:13:15 can you pls check in D+P menu the value of the B/U battery? Mine is very low Nov 21 09:13:29 manual says it recharges in 30 hours Nov 21 09:14:49 1 Nov 21 09:14:59 main 648 Nov 21 09:15:01 AIN0 464 Nov 21 09:15:16 1 should ve o.0v Nov 21 09:15:40 I got it up to 8 (0.1v) Nov 21 09:16:23 how rapidly does 648 decreases w/out AC? Nov 21 09:17:05 oafter one min one of my batts does 667->621 Nov 21 09:17:28 the other does 658->618 Nov 21 09:17:46 then it stays around that value Nov 21 09:18:21 this is the initial discharge isn't? means batt cannot load 100% anymore Nov 21 09:19:01 Looks so, Nov 21 09:19:05 Doing the test right now. Nov 21 09:19:15 I'm not sure about B/U. Nov 21 09:19:30 If it charges with stock rom and discharges with our kernels, we did something wrong. Nov 21 09:19:50 1 min - 634 Nov 21 09:20:07 good Nov 21 09:20:26 in battery menu you can do more checks Nov 21 09:20:48 2 min - 633 Nov 21 09:21:21 battery? Nov 21 09:21:27 yes, the curve goes flat Nov 21 09:21:29 Do you mean 'charge' menu item? Nov 21 09:21:38 632, 631 now Nov 21 09:21:56 no, 'battery check', on the top Nov 21 09:22:00 maybe page 2? Nov 21 09:22:21 charge does indeed switch the led on Nov 21 09:24:43 It said that 631 is 4.0 V Nov 21 09:25:40 Ok, built 3.18 + OE patches (from meta-hh only, not sure if there are any additional patches) + your defconfig Nov 21 09:28:10 Resume is indeed broken. Nov 21 09:28:48 hmm Nov 21 09:29:41 Was able to resume by replugging into the cradle Nov 21 09:30:14 kexec still works Nov 21 09:30:28 kexecboot 0.5.8 Nov 21 09:30:29 which version do you have? does it see sd? Nov 21 09:30:32 * 0.5.9 Nov 21 09:30:34 ah, ok, 2.6.31 Nov 21 09:30:36 Yes, it sees Nov 21 09:30:39 I have 3.10 Nov 21 09:30:50 v. 0.6 Nov 21 09:30:54 fwiw Nov 21 09:31:33 funny that the same rootfs on CF can be booted after C+D reflashing treatment Nov 21 09:32:01 in fact after flashing it 'suspends' the unit and reset switch is needed Nov 21 09:32:02 It should not be a problem of rootfs. Nov 21 09:32:15 same collie, same battery... Nov 21 09:33:01 after pressing power button the unit freezes Nov 21 09:33:17 my wild guess is, some gpio is wrong (high/low) Nov 21 09:33:29 or some mysterious fw register Nov 21 09:34:03 touched by 3.18 Nov 21 09:34:10 Nothing should have changed. Nov 21 09:34:18 of things that matter. Nov 21 09:34:51 I'll retry 3.17 on the same collie Nov 21 09:35:15 if it also fails I'll trash the unit and use the spare one Nov 21 09:36:27 if there is an hw issue, then is very well handled by sharp rom anyway... Nov 21 09:36:38 What is your gcc version (inside OE)? Nov 21 09:36:49 4.9.x Nov 21 09:38:07 4.9.1 Nov 21 09:39:22 but the same kernel/rootfs boots after treatment so toolchain should be ok Nov 21 09:39:32 Could you please check if you can resume by pressing the "Sync" button on cradle? Nov 21 09:39:49 oh, good one...never ever pressed ;) Nov 21 09:39:55 I'll do Nov 21 09:40:55 btw, why is collie so slow to kexecboot? Nov 21 09:41:36 Don't know. Nov 21 09:41:39 on other Z kernel is launched 'immediately' Nov 21 09:41:41 Maybe reading is slow. Nov 21 09:41:52 Or maybe uncompressor is not so optimal. Nov 21 09:42:08 can it be it is slow to load from mtd to ram? Nov 21 09:42:36 poodle is much faster (10-20x) and has half the ram Nov 21 09:42:57 Maybe cache flashing is not optimal. Nov 21 09:43:12 is cache enabled? Nov 21 09:44:10 once loaded it is fast to uncompress Nov 21 09:44:35 I'll take a look Nov 21 09:44:43 Somewhere in the future. Nov 21 09:44:53 ;) Nov 21 09:45:02 ok. pressing power button ("Off") halts the unit Nov 21 09:45:10 remember we are using an hacked kexec-klibc Nov 21 09:45:51 I wonder why. Nov 21 09:45:56 (poewr offf) Nov 21 09:47:40 ok, I see, we have to reenable PM_DEBUG Nov 21 09:47:45 ^_^ Nov 21 09:48:09 no. Nov 21 09:48:17 It looks more like a hardware problem. Nov 21 09:48:38 Maybe the GPIO line is reused somewhere. Nov 21 09:49:09 iirc there have been changes to the reboot handler Nov 21 09:49:35 afais poweroff/halt do reboot: Power down Nov 21 09:51:42 lumag: can you pls send me linux-kexecboot 0.5.9 ? Nov 21 09:52:48 Hmm. Now "uncompressing linux" takes ages. Nov 21 09:53:30 CONFIG_KERNEL_LZ4=y seems to work better Nov 21 09:53:54 Found the issue with power button :) Nov 21 09:54:16 At least identified. Nov 21 09:59:44 Kt Nov 21 09:59:49 It just gets stuck Nov 21 10:07:08 ok. you asked for kexecboot Nov 21 10:07:16 I'll just dump the kernel partition Nov 21 10:09:30 yes pls, nandlogical Nov 21 10:09:34 ;) Nov 21 10:09:38 joking now Nov 21 10:10:28 so you have an hw problem with your key or is it a kernel issue? Nov 21 10:12:41 sent Nov 21 10:12:44 It's a kernel issue. Nov 21 10:13:06 btw: I suggest to change kernel compression to lz4. It works better on my side. Nov 21 10:15:11 Grrr. Nov 21 10:15:16 It's domain IRQ handling. Nov 21 10:15:18 Again. Nov 21 10:17:19 you mean for 'production' kernel? Nov 21 10:17:40 yes Nov 21 10:17:45 It decompresses faster. Nov 21 10:17:48 At least it looks so, Nov 21 10:19:34 Damn. Nov 21 10:19:39 Sorry. Nov 21 10:31:38 ant_work, added you in CC list regarding the power button. It will be a thread regarding IRQ0. Nov 21 10:32:15 But this doesn't help us with the other issues, Nov 21 10:38:19 wow, you got Russels's reply at least for this Nov 21 10:43:20 Yeah. It seems, he responds. If it is not a patch for sa1100 Nov 21 10:43:33 he he Nov 21 10:49:10 arnd timidly started by taking the sa1100-debug to linux-next Nov 21 10:49:34 RMK has to answer now Nov 21 12:20:45 Unfortunately rmk wasn't helpful. Nov 21 12:21:03 So 1/3 of ARM arches is somewhat broken. Just a tiny bit. Nov 21 12:54:53 ant_work, Until we have better solution, I'd suggest to pick either of patches from IRQ0 thread as a fix for "wakeup" issue. Nov 21 12:56:15 ok Nov 21 13:00:46 ant_work, heh. poweroff works. Nov 21 13:00:58 Module display not being switched off. Nov 21 13:11:52 that irq commit is 3.18, that's why 3.17 was ok Nov 21 13:23:27 yes. Nov 21 13:23:52 And I'm still puzzled, what broke the suspend/kexec for you. Nov 21 13:24:19 And what "sounds" in collie. Nov 21 13:26:04 I didn't notice any buzz Nov 21 13:27:23 iirc 2.6.31 had older kb driver but maybe I'm confusing with pxa models Nov 21 13:27:43 linux-kexecboot 3.10 should be equivalent (but the SD...) Nov 21 13:28:34 ideally I'd like to be able to 'poweroff' the device while at kexecboot menu, like for the other z Nov 21 13:29:03 (poodle restarts but this is another issue...) Nov 21 13:30:50 I have already dumped the partition for a disassembly party ;) Nov 21 13:53:33 ant_work, kb drivers changed for pxa models. Nov 21 13:53:58 Mine collie sounds pretty much. But that might be due to the DAC powering the speaker. Nov 21 13:54:57 pretty sure audio is not enabled in linux-kexecboot for size reasons Nov 21 13:56:34 Yes. But one of the dacs is. Nov 21 13:56:48 maybe tosa was needing it Nov 21 13:56:50 ah ok Nov 21 13:57:11 I'm sketching over defconfig in oe. Nov 21 13:57:35 yes pls, give a check Nov 21 13:57:56 Well the defconfig resulted from oe-defconfig Nov 21 13:58:05 CONFIG_BSD_PROCESS_ACCT=y - probably not necceary Nov 21 13:58:14 CONFIG_MEMCG=y - what is that? Nov 21 13:58:45 Maybe switch from SLAB to SLOB. Nov 21 13:58:53 I think they originate from linux-yocto Nov 21 13:59:01 CONFIG_PERF_EVENTS=y - do we need that? Nov 21 13:59:05 Yes, probably. Nov 21 13:59:12 about SLOB, we changed because pxa_udc was broken Nov 21 13:59:23 Ah. ok. Nov 21 13:59:25 Interesting. Nov 21 13:59:29 long ago... Nov 21 13:59:36 Because there should be no difference Nov 21 13:59:42 Was it pxa25x or pxa27x? Nov 21 13:59:52 akita iirc, pxa27x Nov 21 13:59:53 CONFIG_PERF_EVENTS=y - probably of no use Nov 21 13:59:59 ok Nov 21 14:00:06 this is the perf fw of yocto I guess Nov 21 14:00:16 Those kconfig entries can just come from default 'Y' Nov 21 14:00:40 ok, production kernel is done with --alldefconfig Nov 21 14:00:47 CONFIG_OABI_COMPAT=y -- is it still useful? Well, maybe. Nov 21 14:00:56 also coming from yocto Nov 21 14:01:13 it ll starts to when I unified the defconfig under yocto 3.10 Nov 21 14:01:24 I then resplit using the produced artifacts Nov 21 14:01:38 CONFIG_IP_ADVANCED_ROUTER=y - definitely not necessary to small PDAs Nov 21 14:02:04 NAND and UBI can be switched off on collie. Nov 21 14:02:21 no, UBI is ok (for tests ;) Nov 21 14:02:37 core-image-minimal fits Nov 21 14:02:42 So does CONFIG_KEYBOARD_ATKBD Nov 21 14:02:45 ok for ubi. Nov 21 14:02:53 But nand is not existing :) Nov 21 14:03:13 as long as we use 'defconfig' method we cn just purge those entries Nov 21 14:03:34 MAX1111 - not usefull. Nov 21 14:03:38 SENSORS_MAX1111 Nov 21 14:03:42 i.e. the mini-defonfig will be reexpanded and default bvalues applied where missing Nov 21 14:04:09 so if you want to disable a default you have to do it explicitely Nov 21 14:04:26 ok. Nov 21 14:04:31 * lumag just sketched over. Nov 21 14:05:04 linux-yocto is just too big for this kind of handhelds Nov 21 14:05:20 Interesting. In my kernel I had battery_collie switched off. Nov 21 14:05:29 Maybe that is one of the reasons for having B/U = 1 Nov 21 14:05:37 hm.. Nov 21 14:06:56 http://www.manualslib.com/manual/151829/Sharp-Sl-5500.html?page=72 Nov 21 14:06:59 ^ about it Nov 21 14:16:00 he Nov 21 14:16:01 Number of charging and discharging of the operating Nov 21 14:16:01 battery life Nov 21 14:16:01 Approx. 500 times Nov 21 14:16:01 Note: The Battery life and storage time may vary depending on the usage. Nov 21 14:16:07 [ 12.964379] power_supply backup-battery: prop VOLTAGE_NOW=0 Nov 21 14:16:22 Either it got disconnected somehow, or it's dead. Nov 21 14:16:35 Strange. Nov 21 14:16:37 [ 63.644133] power_supply main-battery: prop VOLTAGE_NOW=0 Nov 21 14:16:37 it goes to 0 if the main batt is low Nov 21 14:16:48 I remember similar readings Nov 21 14:16:56 maybe there is a bug in collie_battery Nov 21 14:17:14 (I have some 2.6.31 patches for battery around) Nov 21 14:21:00 pushed into the queue. Nov 21 14:22:29 fun. rmk is fast to say no, but doesn't say Y. Nov 21 14:46:36 bbl Nov 21 17:32:16 lumag, kb-0.5.9 doesn't have that problem... Nov 21 17:33:51 well, not after halt..but it is back after echo mem > ... Nov 21 17:33:58 argh Nov 21 17:36:58 well, it doesn't resume but after reset it does boot from CF Nov 21 17:37:05 it's back to normal Nov 21 17:41:24 btw, mine doesn't squeak ;) Nov 21 18:04:46 root Nov 21 18:04:59 heh..this is not collie console ... Nov 21 18:05:01 sry **** ENDING LOGGING AT Sat Nov 22 03:00:00 2014