--- Day changed Tue Apr 09 2013 | ||
-!- rikanee [~rika@unaffiliated/rikanee] has quit [Remote host closed the connection] | 02:04 | |
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot | 02:04 | |
-!- rikanee [~rika@unaffiliated/rikanee] has quit [Ping timeout: 264 seconds] | 02:53 | |
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot | 02:54 | |
-!- rikanee [~rika@unaffiliated/rikanee] has quit [Client Quit] | 02:55 | |
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot | 03:13 | |
-!- rikanee [~rika@unaffiliated/rikanee] has quit [Quit: kthxbye] | 03:27 | |
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot | 03:41 | |
-!- rikanee [~rika@unaffiliated/rikanee] has quit [Client Quit] | 03:45 | |
-!- rikanee [~rika@unaffiliated/rikanee] has joined #ubiboot | 04:09 | |
-!- TMavica [TMavica@1-36-18-052.static.netvigator.com] has joined #ubiboot | 05:37 | |
@juiceme | morning | 07:17 |
---|---|---|
@juiceme | TMavica, did you have time to try the watchdog-kicker version? | 09:10 |
-!- valdur55 [~valdur55@box025.mr.datanet.ee] has quit [Read error: Operation timed out] | 09:10 | |
TMavica | not yet try.. | 12:28 |
TMavica | no time yet | 12:28 |
@juiceme | ok. | 12:42 |
Jonni | I have really wierd problem on one of my N950's, android option always boots into harmattan... really wierd | 12:52 |
rikanee | Jonni: checked the preinit chain? | 12:52 |
Jonni | have to put the device in serial console in the evening :) | 12:52 |
Jonni | rikanee: well I have rsynced the boot-dir structure from working N950, which boots to android | 12:53 |
Jonni | thats why its really wierd :) | 12:53 |
rikanee | mmm. | 12:53 |
Jonni | when I get the device attached to serial console, I should be wiser :) | 12:53 |
Jonni | so now I have three triple booting N9's and one triple booting N950, and one double booting N950 with android booting to harmattan. | 12:56 |
Jonni | but maybe I'll flash the newest kernel, to see if it would help | 12:57 |
Jonni | 0804 is broken atleast for me, boot os/kernel selection failed, most likely drives are not mounted | 13:10 |
Jonni | or I have wrong cpio | 13:11 |
Jonni | and menu starts to work again when I downgrade to 0504 | 13:23 |
Jonni | juiceme: 0804 is broken | 13:23 |
-!- TMavica [TMavica@1-36-18-052.static.netvigator.com] has quit [] | 13:23 | |
Jonni | ah I only had corrupted init_nitroid, so I guess I just had forgotten to run sync before rebooting... Im always too fast after unextracting. | 13:34 |
Jonni | so currently running 0504 with custom cpio and everything working with my custom watchdog kicker. Might be that 0804 tries to kick before the devices have been mounted. | 13:35 |
@juiceme | Jonni, meaning kernel zImage_2.6.32.54-ubiboot-02_080413 ? | 13:37 |
@juiceme | ḧow so? | 13:37 |
@juiceme | 0804 just contains the watchdog kicker you provided.. nothing much else changed from 0504... | 13:38 |
@juiceme | at what point you start the kicker? | 13:39 |
Jonni | $SHOWPNG "$IMAGEBASE/topmenu.png" > /dev/null | 13:44 |
Jonni | watchdog | 13:44 |
Jonni | ## This is the main loop. If any selection is executed, the script will bail out inside the main menu. | 13:44 |
Jonni | basicly I start it in cpio after the menu has been drawn | 13:44 |
Jonni | atleast is looks like that zImage_2.6.32.54-ubiboot-02_080413 has not mounted p2 and p4 devices, since all the kernels fails to load. | 13:47 |
Jonni | and my guess is that watchdog is called too early and there is error in boot sequence and if that happens before mount, then things are not that good | 13:48 |
Jonni | but anyways just guesses, as Im currently not anywhere near of my serial console env. | 13:52 |
@juiceme | okay, I'll have to move the initialization down then. | 14:07 |
@juiceme | On my device there is no problems, since it works even without the kicker.. I still do not know why. | 14:08 |
@juiceme | When I get the serial debug cable I hope to find out what's so special about my N9. | 14:08 |
Jonni | (oh and I tested 0804 in N950, so that might have some wierdness too) | 14:15 |
@juiceme | It could well behave differently. I guess there is more room for HW differences, as even different hwrevs of N9 are so far apart. | 14:16 |
@juiceme | Jonni, would it be best to start the watchdog kicker if USB cable is connected, so as not to cause device restarts in repair mode? | 14:23 |
@juiceme | (if you now start it when entering menu...) | 14:23 |
Jonni | might be, I just moved it to there since it didnt work on beginning of that script.... | 14:24 |
Jonni | it was just quickhack to get menu working for me | 14:24 |
Jonni | real solution would be somewhere inside the kernel image or something | 14:25 |
@juiceme | I'll try that one and upload the test image for you. | 14:25 |
@juiceme | Or actually if there is some problems with mounts when it's started, I start it in 2 places, either in the USB cable connected state or just before entering menu. | 14:26 |
@juiceme | Allright, Jonni, there is a new test version available: http://www.swagman.org/juice/zImage_2.6.32.54-ubiboot-02_090413 | 14:40 |
@juiceme | (md5sum=570e459340baba7dc1a8f07d5567fd38) | 14:41 |
@juiceme | this one has the WD kicker done so that it starts either in the beginning of a maintanance session or just before the menu is started. | 14:42 |
Jonni | thanks, I'll try it soon | 16:15 |
Jonni | same problem, now Im thinking that maybe its bacause of custon cpio, ie when cpio tries to start watchdog kicker again it just fails.... have to test with vanilla cpio when I get home | 16:26 |
Jonni | currently behind 3g is killer for downloads | 16:27 |
Jonni | ah yes, it was because of cpio, it leads to failure if you try to start kicker twice | 16:36 |
Jonni | when I removed my kludge from cpio, then everything works smoothly | 16:36 |
-!- coderus [~coderus@94.181.21.235] has quit [Ping timeout: 256 seconds] | 16:53 | |
-!- coderus [~coderus@94.181.21.235] has joined #ubiboot | 16:53 | |
guildwar | nn | 17:17 |
@juiceme | Jonni, that's good to know. So there is currently no strange stuff happening with 0904 ? | 17:55 |
Jonni | juiceme: looks stable, and all os'es boot up fine | 17:58 |
@juiceme | good :) | 17:58 |
@juiceme | BTW, changed BME startup a bit there, I would like to get bmestat client working so I try to start the server so that it creates the socket interface to /tmp/ but it failed for some reason. | 17:59 |
@juiceme | Can you see the reason why it fails: http://pastebin.com/f7EvD46A | 18:04 |
rikanee | juiceme: doesn't bme need dame and sysfs mounted? | 18:05 |
@juiceme | ah, could be | 18:05 |
@juiceme | but I think it should be mounted, have to check that | 18:06 |
rikanee | mmm. | 18:06 |
@juiceme | maybe it's mounted at later stage... | 18:06 |
@juiceme | yes, sysfs is in /etc/fstab: | 18:10 |
@juiceme | sysfs /sys sysfs defaults 0 0 | 18:10 |
@juiceme | and before starting "bme_RX-71 -l syslog -v 7 -c /usr/lib/hwi/hw/rx71.so -d" I am doing "mount -a" so it should be there OK. | 18:11 |
@juiceme | any other guesses ? | 18:11 |
@juiceme | bme_RX-71 should create the socket file /tmp/.bmesrv so that it does not need to exist before, right? | 18:13 |
@juiceme | However I see only /tmp/.bmeevt and /tmp/.bmepmm there...? | 18:14 |
@juiceme | there are 2 errors logged by BME: | 18:26 |
@juiceme | daemon.err bme: [bmeipc.c:bmeipc_open():339] unable to connect to server (sd=1): No such file or directory (2) | 18:26 |
@juiceme | daemon.err bme: [dsme_comm.c:bme_init_dsme_conn():38] cannot connect to DSME socket: No such file or directory (2) | 18:26 |
@juiceme | so it looks to me like it is trying to access the socket file but for some reason cannot do it. I think that's a bit strange since as it's the provider it should know how to create the socket, right? | 18:28 |
@juiceme | rikanee? | 18:28 |
@juiceme | Jonni? | 18:28 |
@juiceme | what's DSME anyway? | 18:30 |
Jonni | I'm in bus with 3g, so my connectivity is a bit limited | 18:30 |
@juiceme | :*) | 18:30 |
@juiceme | what, no full rate 4G @Tampere :) :) | 18:31 |
Jonni | no full rate on motorway between hki-tre | 18:32 |
Jonni | dsme - Device State Management Entity | 18:32 |
@juiceme | okay | 18:32 |
@juiceme | so there is some other service BME depends on...? | 18:33 |
Jonni | Depends: libc6 (>= 2.4), libcal1, libcreds2, libdsme0.2.0, libgcc1 (>= 1:4.1.1), libiphb0 | 18:34 |
Jonni | iphb -> Description: API for IP Heartbeat service | 18:36 |
@juiceme | I'm fairly sure I have the libraries or it would complain badly. | 18:38 |
@juiceme | iphb... hm | 18:38 |
@juiceme | ok, on the running Harmattan there seems to be /sbin/dsme-server running just before /usr/sbin/bme_RX-71 | 18:40 |
@juiceme | so I should start that first? | 18:40 |
@juiceme | yes, all the libraries are there, checked it now. | 18:44 |
-!- peterleinchen [~user@dsbg-4d0d35f0.pool.mediaWays.net] has joined #ubiboot | 22:31 | |
@juiceme | Hi peter | 22:41 |
@juiceme | peterleinchen | 22:42 |
peterleinchen | yep 8@am here, just listening ;) | 22:43 |
peterleinchen | and using BitchX on N900 (totally new experience ...) | 22:43 |
@juiceme | l8t evening here, 22:50 | 22:43 |
peterleinchen | 18t ? | 22:44 |
@juiceme | BitchX's okay, used a lot of that on the 90's | 22:44 |
@juiceme | l8 = late :) | 22:44 |
peterleinchen | yes and Coline Stephane compiled it and put into repos :) | 22:45 |
@juiceme | myself, I run irssi under screen on my server, and connect to that either from laptop or n9 ssh :) | 22:45 |
@juiceme | maybe I should try BitchX on N9.. | 22:46 |
peterleinchen | I see I am really old fashioned (bot on l8 and how I use irc :) | 22:46 |
@juiceme | :) | 22:46 |
peterleinchen | yes it is funny to see the header blinking up. ansi andconsole style | 22:47 |
peterleinchen | But if we continu like this we need to open up a new talk channel??? | 22:48 |
peterleinchen | so I followe discussion and it really looks there are still some HW related probs? | 22:48 |
peterleinchen | I (rev 1601) do not have problems with menu and watchdog | 22:49 |
@juiceme | well yes, there are (or were) some watchdog related problems | 22:49 |
peterleinchen | but I think Jonnis experience may explain why my booting sometimes fails with wd32_to and I need two attempts | 22:50 |
@juiceme | and there's one 1603 that works with ubiboot, I've been waiting for somebody to test the newest zImage.. | 22:50 |
peterleinchen | I tried to find out why but could not find any reason | 22:50 |
@juiceme | I guess you could try to update to 0904 zImage, try if thar helps to the WD resets... | 22:50 |
peterleinchen | yes I will try as soon as I can /still away | 22:51 |
peterleinchen | did you check my (small) changes? | 22:51 |
@juiceme | the change to the boot partition as a variable? | 22:52 |
peterleinchen | and one question: where is the /mnt folder? | 22:52 |
peterleinchen | yes | 22:52 |
thedead1440 | Hi peterleinchen :) | 22:52 |
@juiceme | yes, that looked OK. Didi not implement it uet, though | 22:52 |
peterleinchen | hi asia! | 22:52 |
@juiceme | thedead1440, hi | 22:52 |
thedead1440 | hi juiceme | 22:52 |
@juiceme | peterleinchen, /mnt folder... thats on the rootfs of course :) | 22:53 |
peterleinchen | yes :) BUT where in ? cpio: no in ubifs: no | 22:53 |
@juiceme | ah, yes. | 22:54 |
peterleinchen | OK, will be the guinea pig for my changes then on my own ;) | 22:54 |
@juiceme | in ubiboot-02, the whole shebang is ramFS | 22:54 |
peterleinchen | what yes ;) | 22:54 |
@juiceme | see, the filesystem "seed" is built into ramfs in kernel | 22:55 |
@juiceme | and the cpio is loaded up there to "extend" it in a way. | 22:55 |
@juiceme | quite ingeniuos actually :) | 22:55 |
peterleinchen | OK expected that but did not know about "seed", rest is known | 22:56 |
@juiceme | well, look into the source directory on swagman. | 22:56 |
peterleinchen | Of course I did. and kernel size is not too big? on N900 limit is 2 MB | 22:57 |
@juiceme | there's the files ubifs_xxxx.tar, those are the ramfs seed | 22:57 |
@juiceme | well, the reason the rest of the stuff is in cpio is just that | 22:58 |
peterleinchen | yes and I did not find /mnt in there 9r am I blind? | 22:58 |
@juiceme | originally I built _everything_ into kernel and it got about 20MB of size :P | 22:58 |
@juiceme | that was too big, caused strange problems | 22:59 |
peterleinchen | :) | 22:59 |
@juiceme | look at the file "ubifs/ubifs_list" on the FS seed. That is the definition file which is used by kernel scripts to build the FS. /mnt/ is defined there... | 23:00 |
peterleinchen | will upload another v3 of my mods (corrected nit partition number to three) and also includes first attempt for my SIP problems (linking to different directories for aegisfs and openmode) | 23:01 |
@juiceme | nice guide how to do it: http://www.landley.net/writing/rootfs-howto.html | 23:01 |
@juiceme | okay | 23:01 |
peterleinchen | Thanks, that explains it to Windoof user | 23:01 |
@juiceme | :p | 23:02 |
peterleinchen | thedead still here? | 23:02 |
thedead1440 | peterleinchen: yup | 23:02 |
peterleinchen | searched for openmode and SIP problem but nothing? | 23:03 |
thedead1440 | because there is no reported issue :D | 23:03 |
peterleinchen | damn!!! | 23:03 |
thedead1440 | i tried sip on my side and didn't face any probs too | 23:03 |
thedead1440 | its maybe sip on n9(00) that's at fault | 23:03 |
thedead1440 | i've read n900's sip sucks too | 23:03 |
peterleinchen | with ubiboot and l2fix kernel? | 23:03 |
thedead1440 | yeah i use ubi on mtd5 with l2fix | 23:04 |
thedead1440 | i used getonsip.com w/o issues | 23:04 |
peterleinchen | thats strange, 'same' here mtd4 and l2fix | 23:04 |
peterleinchen | and same provider works on stock kernel | 23:05 |
@juiceme | peterleinchen, about the partition configurability... I still think it should be better to use "\/dev\/mmcblk0p1\/" type sed notation there, instead of just variabeizing the partition number. There is one special case, for example: If you want to make some kernel root to an ubifs partition, for example... | 23:05 |
thedead1440 | >>includes first attempt for my SIP problems (linking to different directories for aegisfs and openmode)<< which dirs? | 23:05 |
peterleinchen | OK it is your baby! | 23:05 |
@juiceme | :) | 23:06 |
peterleinchen | .aegisfs, .account, .activesync | 23:06 |
@juiceme | But I'll credit it to you :) | 23:06 |
peterleinchen | THANKS :D | 23:06 |
peterleinchen | thedead, just see my v3 (will upload now) | 23:07 |
thedead1440 | what linkages would you do? | 23:07 |
thedead1440 | oh ok | 23:07 |
peterleinchen | now attached ( | 23:09 |
thedead1440 | attached where? | 23:10 |
peterleinchen | briefly: check kernel version -- check link points to correct dir .account_openmode or .account_aegis -- rm and create new | 23:10 |
peterleinchen | ubi thread ? maybe??? | 23:10 |
peterleinchen | ;) | 23:10 |
thedead1440 | http://talk.maemo.org/showpost.php?p=1334380&postcount=249 | 23:11 |
thedead1440 | found it :D | 23:11 |
peterleinchen | I knew that you will find ... | 23:11 |
thedead1440 | hehe | 23:11 |
thedead1440 | will do a diff tomorrow when i wake up :D | 23:13 |
peterleinchen | nite | 23:14 |
thedead1440 | night to you too | 23:14 |
Jonni | well you can have fully working aegis in open mode, so those hacks are not needed necessarily | 23:15 |
peterleinchen | yeah? how? | 23:16 |
Jonni | easiest way is by never booting to secure mode, that way you dont have to re-create the aegis stores. | 23:17 |
peterleinchen | easiest not possible :) for your info: I try to create SIP acccount with l2fix and it fails | 23:17 |
thedead1440 | but to remove the warning a first boot into secure mode is still required right? | 23:17 |
peterleinchen | but booting stock kernel and SIP works, but after created SIP account and then booting l2fix all mail accounts ask for pass | 23:18 |
Jonni | thedead1440: no its not. I usally do it like this: full reflash, boot into secure mode, remove warning, and again full reflash, and trigger openmode without booting | 23:19 |
@juiceme | Jonni, how do you directly boot to open mode without going via closed mode after flashing? | 23:19 |
thedead1440 | Jonni: so full reflash i.e. rootfs+emmc doesn't insert the warning back? | 23:19 |
@juiceme | do you mean, ater flashing immediately turn the device off, and then flash open mode kernel? | 23:20 |
Jonni | thedead1440: nope, warning is inserted on 1st boot into secure mode :) | 23:20 |
Jonni | thedead1440: thats the way to have fully working aegis without warning in openmode :) | 23:20 |
thedead1440 | oh so it means even a full reflash is not able to really reset device? | 23:20 |
Jonni | thedead1440: it resets the device, but by default device does not have warnings screen images in cal out of the factory | 23:21 |
Jonni | they are only inserted when user boots up the device 1st time | 23:21 |
thedead1440 | ah so before doing a full reflash just remove warning then full reflash with openmode kernel is enough? | 23:22 |
Jonni | thedead1440: nope, full refhash to remove warning, then full refhash and then flash openmode kernel seperately | 23:22 |
thedead1440 | ok | 23:23 |
peterleinchen | think I got it, too | 23:23 |
thedead1440 | so then fixed origin to override aegis while still keeping aegis for other things? | 23:23 |
Jonni | ie after removing the varning, "sudo flasher -f -F main.bin; sudo flasher -a main.bin -k zImage --flash-only=kernel -f -R" | 23:24 |
peterleinchen | so only "full reflash" means with eMMC, right? | 23:24 |
Jonni | yep, then you can use fixed origin for everything and aegis for rest | 23:24 |
Jonni | eMMC is not needed, you can change between secure and open mode with main.bin only | 23:25 |
@juiceme | I'll have to try that sometime. | 23:25 |
Jonni | ofcourse you can flash emmc if you want, but it doesnt matter | 23:25 |
* thedead1440 will try that once back from holidays :D | 23:25 | |
peterleinchen | I do not want hence the question | 23:26 |
peterleinchen | so eMMC not needed at all? not for getting rid of warning nor for disabling? | 23:27 |
Jonni | and ofcourse there still remains the issue of locked cal in openmode, I've solved it by installing custom devicelock package that uses aegisfs instead of cal, that way I have fully working mfe and device lock even on openmode :) | 23:27 |
Jonni | peterleinchen: yes, emmc is not needed at all. | 23:27 |
thedead1440 | Jonni: any chance of that custom package being "leaked"? :D | 23:28 |
Jonni | heh, there always is a chance, quite many people have it. | 23:29 |
@juiceme | is the devicelock package from an earlier PR release? | 23:29 |
-!- peterleinchen [~user@dsbg-4d0d35f0.pool.mediaWays.net] has quit [Ping timeout: 256 seconds] | 23:31 | |
* thedead1440 is awaiting the customlock package showing up on http://maemo.cloud-7.de/HARM/N9/1.3/openmode-kernel/ | 23:34 | |
coderus | Jonni: and ofc you have devicelock sources and can't share it? | 23:35 |
thedead1440 | coderus: considering who he was, only an idiot wouldn't have made him signed a gazillion NDAs and the like after all ;) | 23:42 |
Jonni | I dont expect seeing sources ever beeing released, unless some subcontractor screws up badly, but you never know, someone leaked twitter.deb, although I have no idea was it subcon or nokian. | 23:46 |
-!- peterleinchen [~user@dsbg-4db59f3b.pool.mediaWays.net] has joined #ubiboot | 23:47 | |
thedead1440 | Jonni: which twitter.deb? Wasn't that an official update for N950s? | 23:47 |
Jonni | well the deb was avail in internet before it was pushed to repoes afaik. | 23:47 |
thedead1440 | oh it was in the /unreleased repo | 23:47 |
Jonni | or I might have missunderstood, I havent been following twitter things that much | 23:48 |
thedead1440 | iirc it was more/less an official update; not really a leak | 23:48 |
Jonni | well n950 pr13 was more or less official image, but never published. | 23:49 |
thedead1440 | there was around a year ago one person who registered on tmo claiming to have sources and scolded profanities against Nokia... I wonder where he disappeared... | 23:49 |
thedead1440 | he deleted his posts i think around 3-6hours afterwards | 23:50 |
thedead1440 | was around the pr1.3 for n950 time iirc | 23:50 |
coderus | CAL ERROR: nand_write: write (2048 bytes at around 000f7800): Input/output error | 23:51 |
coderus | this is the CAL address contains devicelock password :) | 23:52 |
Jonni | well the address changes everytime you change the password, and it only holds a copy of the password, its not really used really for checking the device lock code :) | 23:57 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!