*** MetalGearSolid has joined #maemo | 00:02 | |
*** ilink_sycbase has joined #maemo | 00:03 | |
*** OkropNick has quit IRC | 00:07 | |
entitled | yeah I did boot | 00:08 |
---|---|---|
entitled | with removing the battery in-between, to re-check the sim | 00:08 |
*** akls has quit IRC | 00:08 | |
*** ilink_sycbase has quit IRC | 00:11 | |
*** phlixi has joined #maemo | 00:14 | |
*** phlixi has joined #maemo | 00:19 | |
*** phlixi has quit IRC | 00:22 | |
*** phlixi has joined #maemo | 00:22 | |
*** akls has joined #maemo | 00:24 | |
*** Darkchaos has quit IRC | 00:26 | |
*** akls has quit IRC | 00:29 | |
*** Hurrian has quit IRC | 00:29 | |
*** rZr is now known as rzr | 00:32 | |
*** FIQ has quit IRC | 00:35 | |
*** FredrIQ has joined #maemo | 00:35 | |
*** FredrIQ is now known as FIQ | 00:35 | |
*** vi__ has joined #maemo | 00:44 | |
vi__ | freemangordon: pong | 00:45 |
*** smackpotato has quit IRC | 00:51 | |
ShadowJK | what soc has tcp stack in modem? | 00:53 |
*** smackpotato has joined #maemo | 00:55 | |
SpeedEvil | many embeddable modems | 00:59 |
SpeedEvil | telit AHS one | 01:00 |
*** messerting has quit IRC | 01:05 | |
*** nox- has joined #maemo | 01:06 | |
DocScrutinizer05 | ShadowJK: look at lsmod on N900 | 01:13 |
DocScrutinizer05 | ShadowJK: well, maybe that doesn't help | 01:16 |
ShadowJK | N900's tcp stack is certainly not in the modem ;p | 01:16 |
DocScrutinizer05 | ShadowJK: actually I never looked into it myself, I just heard at least lower half of tcp/ip stack is inside modem for GPRS | 01:16 |
DocScrutinizer05 | and then there's GPRS data stack under any TCP layer | 01:17 |
DocScrutinizer05 | I don't think you could fake MAC of a modem | 01:18 |
DocScrutinizer05 | I'm also quite sure there's no broadcast as we know it, and no promiscuous mode ;-P | 01:19 |
ShadowJK | I don't know what this "lower half" is, but you can even generate the IP level stuff yourself, which I think qualifies as entire tcp/ip stack in linux | 01:19 |
ShadowJK | Those things are ethernet things, not tcp/ip | 01:19 |
ShadowJK | and we're not running ethernet here :P | 01:19 |
DocScrutinizer05 | obviously | 01:19 |
DocScrutinizer05 | actually we're running PPPoE iirc | 01:20 |
ShadowJK | no | 01:20 |
DocScrutinizer05 | might be true (or not) only for UMTS | 01:21 |
ShadowJK | pnatd emulated a dialup modem though, pnatd is what you get over the bluetooth dun channel | 01:21 |
ShadowJK | emulates* | 01:21 |
*** lbt_away is now known as lbt | 01:21 | |
DocScrutinizer05 | I know what pnatd is | 01:21 |
ShadowJK | There a usb gprs/umts/hspa modems that emulate ethernet too, like n900 can do on usb | 01:22 |
*** rm_work has quit IRC | 01:22 | |
ShadowJK | the ethernet level stuff is just for talking with the modem though | 01:22 |
DocScrutinizer05 | probably the easiest way to eliminate all misconceptions was to start wireshark on isi | 01:23 |
*** lxp1 has quit IRC | 01:24 | |
DocScrutinizer05 | iirc it shows nicely dissected data packages, and at least from them I could tell what protocol it's using on that layer | 01:24 |
ShadowJK | I think that'd look like ip inside isi inside phonet | 01:25 |
*** muelli has joined #maemo | 01:25 | |
DocScrutinizer05 | for all I know GPRS has an own connection management plus ACK/NACK | 01:25 |
ShadowJK | it does | 01:26 |
ShadowJK | but modem hides it | 01:26 |
DocScrutinizer05 | that's where I basically came from | 01:26 |
DocScrutinizer05 | dunno what exactly a stack the bb5 is running, but it got fecked up on my 2G only, while 3G still worked | 01:27 |
ShadowJK | Like you could maybe see the phonet/isi that's used between modem and omap, but then modem takes the IP and puts it inside gprs | 01:27 |
ShadowJK | Mine often gets stuck on 3g now. Around the time it started happening operator called trying to send me more 3g saying 3g had been improved recently in my area | 01:28 |
ShadowJK | I'm guessing "improved" means they told all phones to try a little bit too hard to maintain the 3g icon :P | 01:29 |
* DocScrutinizer05 wonders how C1/C2 criteria analoga for handover from 3G to 2G are implemented | 01:30 | |
DocScrutinizer05 | tbh I got no friggin clue about UMTS | 01:31 |
DocScrutinizer05 | only about GSM | 01:31 |
DocScrutinizer05 | maybe even more interesting: how's the handover from 2G to 3G defined, since that has to be an addendum | 01:32 |
DocScrutinizer05 | amendment, augmentment? | 01:33 |
DocScrutinizer05 | I'm rather sure they hadn't anything for that in original GSM specs | 01:34 |
DocScrutinizer05 | though, they must have something for genuine roaming | 01:34 |
*** mvp_ has quit IRC | 01:35 | |
DocScrutinizer05 | maybe roaming to 3G is not that different | 01:35 |
ShadowJK | some phones show separate listing for 2g and 3g when you do network search | 01:37 |
*** lxp has joined #maemo | 01:37 | |
*** radic has quit IRC | 01:44 | |
*** radic_ has joined #maemo | 01:44 | |
*** rcg has quit IRC | 01:45 | |
*** setanta has quit IRC | 01:45 | |
*** vi__ has quit IRC | 01:49 | |
*** FIQ|n900 has joined #maemo | 01:51 | |
*** florian has quit IRC | 01:51 | |
*** otep_ has joined #maemo | 01:57 | |
*** otep has quit IRC | 01:57 | |
*** smackpotato has quit IRC | 02:11 | |
*** Rantwol__ has quit IRC | 02:17 | |
*** crashanddie has joined #maemo | 02:34 | |
*** crashanddie has quit IRC | 02:34 | |
*** crashanddie has joined #maemo | 02:34 | |
*** eijk_ has quit IRC | 02:40 | |
*** M4rtinK has quit IRC | 02:42 | |
*** robbiethe1st has joined #maemo | 02:44 | |
*** crashanddie has quit IRC | 02:45 | |
*** mzanetti has quit IRC | 02:51 | |
*** adb has quit IRC | 02:54 | |
*** FlameReaper has quit IRC | 02:57 | |
*** GuySoft has quit IRC | 03:06 | |
*** GuySoft has joined #maemo | 03:10 | |
*** Dibblah has quit IRC | 03:12 | |
*** FlameReaper has joined #maemo | 03:13 | |
*** retro|cz has quit IRC | 03:14 | |
*** rzr is now known as rZr | 03:14 | |
*** Kilroo has joined #maemo | 03:18 | |
*** internetishard has left #maemo | 03:23 | |
*** nlpplz has quit IRC | 03:35 | |
*** retro|cz has joined #maemo | 03:37 | |
*** nlpplz has joined #maemo | 03:54 | |
*** MetalGearSolid has quit IRC | 04:22 | |
*** stardiviner has joined #maemo | 04:24 | |
*** NishanthMenon has quit IRC | 04:26 | |
*** ludens has quit IRC | 04:28 | |
*** retro|cz has quit IRC | 04:33 | |
*** loganbr has joined #maemo | 04:39 | |
*** andre__ has quit IRC | 04:39 | |
*** MetalGearSolid has joined #maemo | 04:43 | |
*** ludens has joined #maemo | 04:43 | |
*** dafox has quit IRC | 04:57 | |
*** muelli has quit IRC | 05:04 | |
*** beford has quit IRC | 05:06 | |
*** uen| has joined #maemo | 05:08 | |
*** gryllida is now known as gry | 05:09 | |
*** uen has quit IRC | 05:10 | |
*** uen| is now known as uen | 05:10 | |
*** retro|cz has joined #maemo | 05:14 | |
*** ariiiii has joined #maemo | 05:33 | |
*** wmarone_ has quit IRC | 05:37 | |
*** radic has joined #maemo | 05:37 | |
ariiiii | hello | 05:38 |
gry | hi | 05:40 |
*** radic_ has quit IRC | 05:41 | |
*** at1as has joined #maemo | 05:43 | |
*** chainsawbike has quit IRC | 05:54 | |
*** chainsawbike has joined #maemo | 05:58 | |
*** chainsawbike has quit IRC | 05:58 | |
*** chainsawbike has joined #maemo | 05:58 | |
*** ariiiii has left #maemo | 06:01 | |
*** robbiethe1st has quit IRC | 06:02 | |
*** DocScrutinizer05 has quit IRC | 06:03 | |
*** DocScrutinizer05 has joined #maemo | 06:03 | |
*** at1as has quit IRC | 06:04 | |
*** chainsawbike has quit IRC | 06:07 | |
*** guampa has quit IRC | 06:07 | |
*** nox- has quit IRC | 06:07 | |
*** narwalrus has joined #maemo | 06:09 | |
narwalrus | Hello | 06:09 |
narwalrus | (?) | 06:09 |
*** chainsawbike has joined #maemo | 06:10 | |
narwalrus | hello? | 06:11 |
narwalrus | Anybody.... | 06:11 |
narwalrus | ,,, | 06:11 |
narwalrus | ... | 06:11 |
narwalrus | :3: | 06:12 |
*** Pali has quit IRC | 06:17 | |
*** Gh0sty has quit IRC | 06:19 | |
*** Gh0sty has joined #maemo | 06:20 | |
*** etrunko has quit IRC | 06:25 | |
merlin1991 | narwalrus: kinda the wrong time of the night | 06:26 |
merlin1991 | this channel is mostly filled with european people so you'll get answers starting in 3 to 4 hours :) | 06:28 |
merlin1991 | and I'm really late for bed, so gn :P | 06:28 |
*** pcfe` has joined #maemo | 06:31 | |
*** pcfe` has quit IRC | 06:31 | |
*** pcfe` has joined #maemo | 06:31 | |
*** pcfe has quit IRC | 06:32 | |
*** APTX has quit IRC | 06:37 | |
*** APTX has joined #maemo | 06:41 | |
narwalrus | Hello? | 06:45 |
*** FlameReaper has quit IRC | 07:10 | |
*** FlameReaper has joined #maemo | 07:10 | |
*** FlameReaper has quit IRC | 07:15 | |
*** FlameReaper has joined #maemo | 07:16 | |
*** shamus has quit IRC | 07:21 | |
*** shamus has joined #maemo | 07:22 | |
*** FlameReaper has quit IRC | 07:26 | |
*** FlameReaper has joined #maemo | 07:26 | |
*** FlameReaper has quit IRC | 07:51 | |
*** FlameReaper has joined #maemo | 07:51 | |
*** FlameReaper has quit IRC | 07:56 | |
*** FlameReaper has joined #maemo | 07:57 | |
*** FlameReaper has quit IRC | 08:04 | |
*** FlameReaper has joined #maemo | 08:05 | |
*** narwalrus has quit IRC | 08:08 | |
*** laxsill has joined #maemo | 08:14 | |
*** florian has joined #maemo | 08:20 | |
*** kimitake is now known as kimitake_idle | 08:26 | |
*** florian has quit IRC | 08:27 | |
*** FlameReaper has quit IRC | 08:28 | |
*** kimitake_idle has quit IRC | 08:28 | |
*** FlameReaper has joined #maemo | 08:29 | |
*** laxsill has quit IRC | 08:34 | |
*** kimitake has joined #maemo | 08:53 | |
*** FlameReaper has quit IRC | 09:02 | |
*** FlameReaper has joined #maemo | 09:02 | |
*** rcg has joined #maemo | 09:06 | |
*** FlameReaper has quit IRC | 09:07 | |
*** FlameReaper has joined #maemo | 09:08 | |
*** bugzy has quit IRC | 09:11 | |
*** bugzy has joined #maemo | 09:12 | |
*** VDVsx has joined #maemo | 09:19 | |
*** eMHa__ has quit IRC | 09:21 | |
*** FlameReaper has quit IRC | 09:22 | |
*** FlameReaper has joined #maemo | 09:22 | |
*** krau|away has quit IRC | 09:26 | |
*** kimitake has quit IRC | 09:26 | |
*** FlameReaper has quit IRC | 09:28 | |
*** FlameReaper has joined #maemo | 09:29 | |
*** geaaru has joined #maemo | 09:29 | |
*** FlameReaper has quit IRC | 09:34 | |
*** FlameReaper has joined #maemo | 09:35 | |
*** kimitake has joined #maemo | 09:40 | |
*** FlameReaper has quit IRC | 09:41 | |
*** MacDrunk has joined #maemo | 09:41 | |
*** MacDrunk has left #maemo | 09:42 | |
*** FlameReaper has joined #maemo | 09:43 | |
*** retro|cz has quit IRC | 09:47 | |
*** FlameReaper has quit IRC | 09:49 | |
*** FlameReaper has joined #maemo | 09:50 | |
*** krau|away has joined #maemo | 09:52 | |
*** eMHa__ has joined #maemo | 09:54 | |
*** ced117[-] has joined #maemo | 09:56 | |
*** ced117[-] has quit IRC | 09:56 | |
*** ced117[-] has joined #maemo | 09:56 | |
*** FlameReaper has quit IRC | 10:00 | |
*** FReaper has joined #maemo | 10:01 | |
*** Zahra has joined #maemo | 10:02 | |
*** murrayc has joined #maemo | 10:06 | |
*** FReaper has quit IRC | 10:08 | |
*** FReaper has joined #maemo | 10:08 | |
*** trx has quit IRC | 10:12 | |
*** FReaper has quit IRC | 10:14 | |
*** ZogG_laptop has quit IRC | 10:14 | |
*** FReaper has joined #maemo | 10:15 | |
*** rcg has quit IRC | 10:18 | |
*** FReaper has quit IRC | 10:21 | |
*** FReaper has joined #maemo | 10:21 | |
*** perlite has quit IRC | 10:24 | |
*** perlite has joined #maemo | 10:25 | |
*** nlpplz has quit IRC | 10:25 | |
*** nlpplz has joined #maemo | 10:26 | |
*** e-yes has joined #maemo | 10:27 | |
*** florian_kc is now known as florian | 10:27 | |
freemangordon | vi_: compcache won't make it :(. No matter what I do, compression/decompression eats all of the cpu. Or I am too stupid and can't think of a better algo | 10:28 |
*** mvp_ has joined #maemo | 10:28 | |
ShadowJK | are you modifying it? | 10:29 |
*** sasquatch has quit IRC | 10:29 | |
freemangordon | ShadowJK: yes | 10:29 |
*** sasquatch has joined #maemo | 10:29 | |
freemangordon | new pages go to compressed pool and to a queue to be written | 10:29 |
freemangordon | once the queue has 256 pages I write it (async) | 10:29 |
freemangordon | once there is less than one free page in allowed memory, I release 16 oldest pages from compressed pool | 10:30 |
*** mk8 has joined #maemo | 10:30 | |
*** mvp_ has quit IRC | 10:32 | |
freemangordon | ShadowJK: cannot understand what I am missing | 10:32 |
*** GGon has quit IRC | 10:32 | |
*** Macer has quit IRC | 10:32 | |
freemangordon | I am thinking to give up om compression, it just eats CPU with nothing gained | 10:32 |
*** croppa has joined #maemo | 10:32 | |
freemangordon | ShadowJK: any thoughts? | 10:34 |
*** FReaper has quit IRC | 10:36 | |
*** ZogG_laptop has joined #maemo | 10:37 | |
*** laxsill has joined #maemo | 10:37 | |
vi_ | freemangordon: ping | 10:37 |
*** FReaper has joined #maemo | 10:37 | |
*** calvaris has joined #maemo | 10:39 | |
*** edheldil has joined #maemo | 10:39 | |
*** eijk has joined #maemo | 10:39 | |
freemangordon | vi_: pong | 10:40 |
freemangordon | vi_: sorry, didn't see your queries, I was tweaking compcache for the last couple of days and didn't look at IRC | 10:40 |
freemangordon | vi_: red the backscroll | 10:41 |
freemangordon | *read | 10:41 |
vi_ | freemangordon: heh. Thats cool. | 10:41 |
vi_ | Yeah, I read it. | 10:41 |
freemangordon | no, it is not | 10:41 |
vi_ | lame | 10:41 |
freemangordon | :( | 10:41 |
freemangordon | seems that the problem with comcache and n900 is that CPU is too weak, not the amount of RAM | 10:42 |
freemangordon | or both | 10:42 |
vi_ | I thought it worked nicely on n8x0. | 10:42 |
vi_ | freemangordon: check your msg. | 10:42 |
*** FReaper has quit IRC | 10:43 | |
*** FReaper has joined #maemo | 10:43 | |
jaska | dunno if a lesser compression algo like snappy or lz4 would do anything? | 10:44 |
freemangordon | jaska: it uses lzo1 aiui | 10:46 |
freemangordon | which is supposed to be fast | 10:46 |
vi_ | what about GPU acceleration? | 10:46 |
jaska | yeah lzo1 is pretty near to lz4 | 10:46 |
vi_ | someone must have implemented some kind of compression algo that exploits the features of a GPU. | 10:47 |
freemangordon | naah, the problem is that compressed pool starts to trash once full | 10:47 |
freemangordon | and I just can't think of how to avoid that | 10:47 |
freemangordon | anyway, on my way to work, bbl | 10:48 |
vi_ | bb | 10:48 |
*** FReaper has quit IRC | 10:49 | |
ShadowJK | freemangordon; well, what compression is it doing? lzop -1 like? | 10:49 |
*** FReaper has joined #maemo | 10:49 | |
ShadowJK | freemangordon; is it actually burning cpu on compression, or does it possibly get stuck up releasing/allocating+compr once write throughput is less than swapout demand? | 10:51 |
* ShadowJK reads all the way to bottom and spots freemangordon has the same hunch, trashing | 10:52 | |
*** FlameReaper has joined #maemo | 10:57 | |
*** Dibblah has joined #maemo | 10:58 | |
*** hazchemix has quit IRC | 10:59 | |
*** AD-N770 has joined #maemo | 11:01 | |
*** Macer has joined #maemo | 11:01 | |
*** GGon has joined #maemo | 11:01 | |
*** hazchemix has joined #maemo | 11:02 | |
*** FReaper has quit IRC | 11:02 | |
*** FlameReaper has quit IRC | 11:04 | |
*** FlameReaper has joined #maemo | 11:04 | |
*** Jarris has joined #maemo | 11:06 | |
*** FlameReaper has quit IRC | 11:08 | |
*** jhb has joined #maemo | 11:11 | |
*** FlameReaper has joined #maemo | 11:11 | |
freemangordon | ShadowJK: yeah, it seems like trashing | 11:12 |
freemangordon | and yes, it is lzo1 | 11:12 |
freemangordon | lzo1x_1_compress | 11:12 |
freemangordon | though I am thinking that my MM sucks | 11:12 |
*** valdyn has quit IRC | 11:13 | |
*** zeq1 has quit IRC | 11:13 | |
ShadowJK | the stuff you release from the pool, is it on swap partition too? | 11:13 |
freemangordon | either there or in the queue | 11:13 |
freemangordon | waiting to be written | 11:14 |
freemangordon | though I try to play it smart, i.e. I release those (16) pages from the compressed pool with oldest jiffies | 11:15 |
freemangordon | ans maybe this is one of the probles | 11:15 |
ShadowJK | I mean so that a read of it doesn't pull it back to compressed pool | 11:15 |
freemangordon | it does not pull it back | 11:15 |
freemangordon | it just sits on the flash | 11:16 |
ShadowJK | so that a read just pulls it into swap cache from flash | 11:16 |
freemangordon | no | 11:16 |
freemangordon | reading does not put stuff into te compressed pull | 11:16 |
freemangordon | only writing | 11:16 |
ShadowJK | (the normal swap cache) | 11:17 |
freemangordon | aah, yes | 11:17 |
*** FlameReaper has quit IRC | 11:17 | |
*** FlameReaper has joined #maemo | 11:17 | |
freemangordon | on reading I am doing a normal READ bio if the page is not in compressed pool (or in write queue) | 11:17 |
freemangordon | so it behaves just like a normal swap | 11:18 |
*** pcfe` is now known as pcfe | 11:18 | |
freemangordon | but I think I have to get rid of the timestamping | 11:18 |
freemangordon | as finding the oldest pages takes looots of time | 11:19 |
*** valdyn has joined #maemo | 11:19 | |
freemangordon | and just free lets say 256 pages from the compressed pool once I am out of memory for compressed pages | 11:20 |
freemangordon | on a circular basis | 11:20 |
freemangordon | will try that when I am back home | 11:20 |
freemangordon | though maybe the best I can do is to not compress at all, but just implement what nokia did (for swap) in a better way | 11:21 |
ShadowJK | 256 pages sounds pretty huge | 11:21 |
freemangordon | 1MiB | 11:22 |
freemangordon | this is what I use for eraseblock size | 11:22 |
freemangordon | though it can be changed of course | 11:22 |
*** valerius has quit IRC | 11:22 | |
*** FReaper has joined #maemo | 11:23 | |
freemangordon | though when I come to the point to implement background defragmentation, I wull have to lower that a bit :D | 11:24 |
*** FlameReaper has quit IRC | 11:24 | |
freemangordon | in the meanwhile: a rpi is sitting on my desk, right in front of me :D:D:D | 11:25 |
*** FReaper has quit IRC | 11:31 | |
*** FReaper has joined #maemo | 11:31 | |
jaska | rpi? | 11:32 |
StyXman | raspberry pi, probably | 11:35 |
jon_y | rpi2, a circle :) | 11:36 |
jaska | ah. | 11:37 |
jon_y | freemangordon: I sure hope you got the 512MB version | 11:37 |
jon_y | 256MB is pretty low these days | 11:37 |
*** OkropNick has joined #maemo | 11:38 | |
*** arno0ob has joined #maemo | 11:39 | |
freemangordon | jon_y: naah, it is 256. Put it fits for the purpose, I am going to use that to make an embedded controller | 11:39 |
freemangordon | s/Put/But/ | 11:40 |
infobot | freemangordon meant: jon_y: naah, it is 256. But it fits for the purpose, I am going to use that to make an embedded controller | 11:40 |
jon_y | freemangordon: control what? | 11:41 |
jon_y | weather controller :) | 11:41 |
jaska | the universe | 11:41 |
freemangordon | well, not exactly controll, there will be a couple of sensors connected to tha | 11:41 |
freemangordon | *that | 11:41 |
jon_y | missile guidance? | 11:41 |
freemangordon | hehe | 11:41 |
jon_y | I'd be really happy with a $50 UAV | 11:42 |
freemangordon | naah, something like an alarms system | 11:42 |
freemangordon | ~UAV | 11:42 |
jon_y | unmanned ariel vehicle | 11:42 |
freemangordon | :D | 11:42 |
*** Hurrian has joined #maemo | 11:42 | |
jon_y | that predator drone, but smaller | 11:42 |
*** valerius has joined #maemo | 11:42 | |
jon_y | loiter about for 10 minutes would be pretty cool | 11:43 |
jon_y | freemangordon: going to stick a 3G modem and send you an SMS too if it finds something wrong? | 11:43 |
freemangordon | maybe | 11:44 |
*** FReaper has quit IRC | 11:44 | |
freemangordon | the good news is that I will play with it as a part of the job I do for my company ;) | 11:44 |
jon_y | nice | 11:44 |
deepy | Lucky! | 11:44 |
freemangordon | well, not exactly lucky, as it was me to propose rpi | 11:45 |
jon_y | I have a rpi too, but it's sitting in a drawer until I can get some HDMI monitors | 11:45 |
* jon_y too lazy to setup bootp | 11:45 | |
*** FReaper has joined #maemo | 11:45 | |
freemangordon | naah, no monitors, no network, just GPIO and kernel/libc on a bare metal | 11:45 |
deepy | freemangordon: could still be someone else who gets to do it | 11:46 |
jon_y | how does the rpi boot up anyway? it's own uboot? | 11:46 |
freemangordon | deepy: no | 11:46 |
deepy | Alright let me rephrase then | 11:46 |
deepy | You could be working in a callcenter | 11:46 |
freemangordon | after all I am the principal SW engineer here :D | 11:46 |
jon_y | callcenter now run by rpis | 11:47 |
jon_y | script reading can fit in 256MB ram :) | 11:47 |
freemangordon | deepy: seems I missed your point | 11:47 |
deepy | Lucky as in, you get to do fun stuff! | 11:48 |
freemangordon | hopefully | 11:48 |
jon_y | I'm stuck doing un-OOP java | 11:48 |
freemangordon | aah, yeah, got it | 11:48 |
freemangordon | jon_y: JAVA? poor you :( | 11:48 |
jon_y | as much claim as it has to being OOP, it can be just as much in the opposite way | 11:49 |
jon_y | by misusing oop | 11:49 |
jon_y | yeah, you need to check the underlying class type to use the interface, that kind of retard | 11:49 |
deepy | I knew a guy who was really into C, he liked to call Object-Oriented Programmers for OOPs | 11:50 |
*** dhbiker has quit IRC | 11:50 | |
jon_y | java, like C++ is pretty tame, if used properly | 11:50 |
jon_y | yeah, I prefer plain C too | 11:50 |
deepy | I wouldn't know, I suck at C. But I can do Python | 11:50 |
jon_y | I do perl too, beautiful language if used right | 11:50 |
*** jas4711 has quit IRC | 11:50 | |
jon_y | sort of the glue code for in-between application linkages | 11:51 |
jon_y | wanted to pick up python, but couldn't find a use for it at work | 11:51 |
deepy | I've seen perl, I don't think you can call it beautiful | 11:51 |
deepy | web development! | 11:51 |
jon_y | deepy: is it easy to write C extensions for python? | 11:52 |
deepy | err, in a way, yes | 11:52 |
deepy | swig and cython are the best ways I hear | 11:52 |
jon_y | java has javah, produce C headers for java classes | 11:52 |
deepy | But I heard it's really easy to screw up the C part and then you'll have segfaulting code | 11:52 |
jon_y | perl has xs | 11:52 |
jon_y | yep, all of them have the same issue | 11:53 |
deepy | Never really understood if that was a problem with C, Python, Cython or the programmer | 11:53 |
jon_y | so, as a C programmer, you have the responsibility | 11:53 |
jon_y | all the weight and power of it | 11:53 |
jon_y | what does python use to generate stubs? | 11:53 |
deepy | stubs? | 11:54 |
jon_y | or are you supposed to use the python headers and write from there? | 11:54 |
jon_y | in java, you could tell it that some methods are supposed to come from the C JNI extensions | 11:55 |
deepy | I'm not entirely sure, but I think there might be the possibility that Cython or SWIG comes with a tool | 11:55 |
jon_y | so it generates some stub headers, you use those headers to implement your functions | 11:55 |
jon_y | I was wondering if python has something like that | 11:55 |
jon_y | Cython or CPython? | 11:55 |
deepy | Cython | 11:55 |
jon_y | never heard of Cython | 11:56 |
deepy | I think SWIG might go the stubs approach | 11:56 |
*** rcg-work has joined #maemo | 11:56 | |
jon_y | hmm, not sure about swig | 11:56 |
deepy | http://www.swig.org/Doc2.0/SWIGDocumentation.html#SWIG_nn2 | 11:56 |
deepy | http://www.cython.org/ :: Cython C-Extensions for Python | 11:57 |
*** valerius has quit IRC | 11:57 | |
jon_y | I guess it isn't too different from perl xs http://docs.cython.org/src/tutorial/clibraries.html | 11:58 |
jon_y | perl xs2h tool | 11:58 |
*** ced117[-] has quit IRC | 12:00 | |
*** muelli has joined #maemo | 12:04 | |
deepy | I wish I could contribute more to the conversation, but I relaly have no knowledge of C :D | 12:06 |
deepy | or perl, apart from the fact that knowing perl can secure a job | 12:07 |
jon_y | I did php too, I won't say it's a a very elegant language | 12:13 |
jon_y | maybe it was the crappy code base I had to pick up | 12:13 |
*** FReaper has quit IRC | 12:14 | |
*** rZr is now known as rzr | 12:15 | |
jon_y | deepy: if you do pick up C, promise to avoid using an IDE | 12:15 |
jon_y | use vi/notepad and the compiler directly | 12:16 |
jon_y | helps you learn how the whole code links together into the running system | 12:16 |
jon_y | also, look up "Linkers and Loaders" in google, primer to understanding running code in an OS environment | 12:17 |
deepy | avoidin IDE :e? | 12:17 |
*** valerius has joined #maemo | 12:18 | |
jon_y | deepy: avoid using a GUI programming like eclipse or MSVC | 12:18 |
jon_y | use the tools directly, avoid all the junk obscuring your view | 12:19 |
jon_y | or getting locked into a particular IDE | 12:19 |
*** andre__ has joined #maemo | 12:24 | |
*** andre__ has quit IRC | 12:24 | |
*** andre__ has joined #maemo | 12:24 | |
*** M4rtinK has joined #maemo | 12:29 | |
*** MetalGearSolid has quit IRC | 12:44 | |
*** zap_ has joined #maemo | 12:55 | |
*** FIQ|n900 has quit IRC | 12:59 | |
*** FredrIQ|n900 has joined #maemo | 12:59 | |
*** pcfe has left #maemo | 13:02 | |
*** crashanddie has joined #maemo | 13:07 | |
*** crashanddie has quit IRC | 13:07 | |
*** crashanddie has joined #maemo | 13:07 | |
*** crashanddie has quit IRC | 13:07 | |
*** etrunko has joined #maemo | 13:16 | |
*** iDont has joined #maemo | 13:24 | |
*** Pali has joined #maemo | 13:32 | |
*** zeq1 has joined #maemo | 13:44 | |
*** stardiviner has quit IRC | 13:45 | |
*** murrayc has quit IRC | 13:54 | |
*** thetet has joined #maemo | 13:57 | |
*** hazchemix has quit IRC | 13:58 | |
*** croppa has quit IRC | 13:58 | |
*** FlameReaper has joined #maemo | 14:00 | |
*** jhb has quit IRC | 14:05 | |
*** maybeArgh has joined #maemo | 14:07 | |
*** maybeWTF has quit IRC | 14:08 | |
*** Pali has quit IRC | 14:12 | |
*** FlameReaper has quit IRC | 14:14 | |
*** FlameReaper has joined #maemo | 14:15 | |
*** FlameReaper has quit IRC | 14:20 | |
*** FlameReaper has joined #maemo | 14:21 | |
*** ALoGeNo has joined #maemo | 14:24 | |
*** FlameReaper has quit IRC | 14:26 | |
*** dhbiker has joined #maemo | 14:26 | |
*** FlameReaper has joined #maemo | 14:27 | |
Raimu | http://www.raspberrypi.org/archives/2221 | 14:28 |
SpeedEvil | indeed | 14:29 |
SpeedEvil | does the pi GPU exist in other devices? | 14:29 |
*** FlameReaper has quit IRC | 14:33 | |
*** FlameReaper has joined #maemo | 14:34 | |
*** FlameReaper has quit IRC | 14:41 | |
*** FlameReaper has joined #maemo | 14:42 | |
*** FReaper has joined #maemo | 14:47 | |
*** FlameReaper has quit IRC | 14:50 | |
*** MetalGearSolid has joined #maemo | 14:52 | |
*** FReaper has quit IRC | 14:52 | |
*** FReaper has joined #maemo | 14:55 | |
*** zeq1 has quit IRC | 15:00 | |
*** FReaper has quit IRC | 15:00 | |
*** M4rtinK has quit IRC | 15:01 | |
*** FReaper has joined #maemo | 15:01 | |
*** FReaper has quit IRC | 15:12 | |
*** FReaper has joined #maemo | 15:13 | |
*** guampa has joined #maemo | 15:14 | |
*** Darkchaos has joined #maemo | 15:14 | |
*** dafox has joined #maemo | 15:17 | |
*** FReaper has quit IRC | 15:18 | |
*** FReaper has joined #maemo | 15:20 | |
*** Hurrian has quit IRC | 15:21 | |
*** Hurrian has joined #maemo | 15:24 | |
*** Dynamit has quit IRC | 15:25 | |
*** FReaper has quit IRC | 15:28 | |
*** Dynamit has joined #maemo | 15:28 | |
*** FReaper has joined #maemo | 15:31 | |
*** jhb has joined #maemo | 15:36 | |
*** FReaper has quit IRC | 15:36 | |
*** mvp_ has joined #maemo | 15:36 | |
*** XDS2010 has quit IRC | 15:38 | |
*** Darkchaos has quit IRC | 15:38 | |
*** FReaper has joined #maemo | 15:39 | |
*** Darkchaos has joined #maemo | 15:40 | |
*** pcfe has joined #maemo | 15:40 | |
*** jhb has quit IRC | 15:43 | |
*** Rantwolf has joined #maemo | 15:46 | |
*** XDS2010 has joined #maemo | 15:50 | |
*** FReaper has quit IRC | 15:50 | |
*** FReaper has joined #maemo | 15:50 | |
*** muelli has quit IRC | 15:55 | |
*** FReaper has quit IRC | 15:56 | |
*** FReaper has joined #maemo | 15:57 | |
*** jhb has joined #maemo | 15:57 | |
*** jhb has quit IRC | 16:02 | |
*** netkat has joined #maemo | 16:03 | |
*** NishanthMenon has joined #maemo | 16:03 | |
*** guampa has quit IRC | 16:06 | |
*** hazchemix has joined #maemo | 16:08 | |
*** FReaper has quit IRC | 16:13 | |
*** luke-jr_ has joined #maemo | 16:14 | |
*** mvp_ has quit IRC | 16:14 | |
*** Luke-Jr has quit IRC | 16:14 | |
*** FReaper has joined #maemo | 16:15 | |
*** jhb has joined #maemo | 16:16 | |
*** FReaper has quit IRC | 16:20 | |
*** FReaper has joined #maemo | 16:21 | |
*** FReaper has quit IRC | 16:29 | |
*** khertan has joined #maemo | 16:30 | |
*** VDVsx has quit IRC | 16:31 | |
*** VDVsx has joined #maemo | 16:49 | |
*** Jarris has quit IRC | 16:51 | |
*** penguinbait has joined #maemo | 16:52 | |
*** shamus has quit IRC | 16:53 | |
*** FlameReaper has joined #maemo | 17:04 | |
*** FlameReaper has quit IRC | 17:09 | |
*** FlameReaper has joined #maemo | 17:10 | |
*** FlameReaper has quit IRC | 17:15 | |
*** FlameReaper has joined #maemo | 17:17 | |
*** M4rtinK has joined #maemo | 17:18 | |
DocScrutinizer05 | jon_y: is this a general advice, or only applicable for *learning* c? | 17:19 |
jon_y | DocScrutinizer05: I can't say for other languages | 17:20 |
DocScrutinizer05 | jon_y: tbh I even appreciate syntax highlighting for shellscript in e.g. kate or mcedit | 17:20 |
jon_y | for C/C++, it's definitely applicable | 17:20 |
jon_y | well, point is, get rid of the IDE doing all the compiler config, syntax highlighting is fine | 17:21 |
DocScrutinizer05 | jon_y: I'm not asking abiut which language, but if this advice is meant for experienced programmers as well | 17:21 |
jon_y | call the compiler yourself, write a makefile or a buildscript | 17:21 |
jon_y | get familiar with the tools that you use | 17:21 |
jon_y | once you get the underlying layers, feel free to use an IDE if it improves your performance | 17:22 |
jon_y | the important part is laerning what the tools actually do | 17:22 |
DocScrutinizer05 | I think a proper IDE, esp editor with auto-completion, ctags, compile-error feedback to source etc can increase my productivity by factor 2 .. 10 | 17:22 |
jon_y | before treating everything as a blackbox | 17:22 |
jon_y | well, when starting, be sure to learn about your tools | 17:22 |
DocScrutinizer05 | yep, 100% ACK | 17:22 |
jon_y | I find it painful to lurk on programming forums or mailing list where newbies keep asking about setting up their favorite IDEs to workaround some compile error that their getting | 17:23 |
jon_y | they don't even understand the error in the first place | 17:24 |
jon_y | or how to fix it | 17:24 |
jon_y | espeicially linker errors | 17:24 |
DocScrutinizer05 | yep | 17:25 |
*** valeriusL has quit IRC | 17:25 | |
DocScrutinizer05 | I'm even more radical in that regard, suggesting people start to learn about what's programming by coding in assembler | 17:25 |
jon_y | things like learning to use readelf, nm, c++filt can save you a lot of troubles | 17:25 |
*** valeriusL has joined #maemo | 17:25 | |
jon_y | yeah, I'm fine with starting with asm :) | 17:25 |
* jon_y actually started with C and made his way downwards to the hardware | 17:26 | |
DocScrutinizer05 | once you know how the processor works, you appreciate what the compiler can do for you, and you never will abuse it | 17:26 |
* jon_y now does java, perl, php, C, C++ | 17:26 | |
jon_y | yup, getting the basics right can save you from years of unlearning | 17:27 |
*** rm_work has joined #maemo | 17:27 | |
DocScrutinizer05 | I've seen C++ programs (texteditor) where each single character been a c++ object | 17:27 |
jon_y | wat. | 17:27 |
DocScrutinizer05 | figuer efficentcy of such concept! :-/ | 17:27 |
*** FlameReaper has quit IRC | 17:28 | |
*** khertan has quit IRC | 17:28 | |
jon_y | luckily I didn't have much to unlearn Java when somebody recommended I start with Eclipse | 17:28 |
*** FlameReaper has joined #maemo | 17:28 | |
jon_y | quickly looked up the tools to understand the class loader error messages | 17:28 |
jon_y | it kind of gets mysterious when IDE builds fine, but get an error running | 17:29 |
jon_y | especially one as cryptic as telling you X class can't be loaded | 17:29 |
*** shamus has joined #maemo | 17:31 | |
*** FlameReaper has quit IRC | 17:34 | |
*** FlameReaper has joined #maemo | 17:34 | |
DocScrutinizer05 | jon_y: check out Qt3 textedit box for richtext. iirc it needs factor 1000 of RAM for opening any size of plain ascii text. Fun bit: on *closing* the textedit box, this even *doubles* | 17:35 |
*** thetet has quit IRC | 17:35 | |
DocScrutinizer05 | jon_y: I've seen this in twinklephone, on function "show logfile" | 17:35 |
DocScrutinizer05 | maybe it's only been factor 100, but anyway - insane | 17:36 |
jon_y | double?? | 17:36 |
jon_y | crazy stuff | 17:37 |
DocScrutinizer05 | and actually closing the display allocated same amount of RAM *again* | 17:37 |
jon_y | why did it do something like that? | 17:37 |
jon_y | really bad memleak? | 17:37 |
* DocScrutinizer05 suspects destructors of all objects got called and thus something cracy happened | 17:38 | |
DocScrutinizer05 | crazy* | 17:38 |
jon_y | should be freeing in destructors, not allocating | 17:38 |
DocScrutinizer05 | blame Qt3 | 17:39 |
jon_y | I try to be very conservative with C++ | 17:39 |
DocScrutinizer05 | I argued long time with chief developer Michel deBoer of twinklephone, about replacing that crap by a system("less") call, but he refused to touch that code, argument "less is not posix, thus not available on some of the target platforms" | 17:41 |
DocScrutinizer05 | (long story short) | 17:42 |
jon_y | how about letting $PAGER do it, if not, just dump out everything to stdout | 17:42 |
DocScrutinizer05 | twinklephone is a Qt GUI app | 17:43 |
jon_y | maybe I don't want any paging | 17:43 |
*** valdyn has quit IRC | 17:43 | |
DocScrutinizer05 | "show logfile" been a auxilary function under extras menu in that GUI | 17:43 |
DocScrutinizer05 | noboy usually would use it | 17:44 |
DocScrutinizer05 | nobody* | 17:44 |
jon_y | its supposed to put it into a textedit box? | 17:44 |
DocScrutinizer05 | install twinklephone and test it ;-) | 17:44 |
DocScrutinizer05 | yep | 17:44 |
jon_y | doesn't QT have a decent textedit box with scrollers attached? | 17:46 |
jon_y | maybe qt3 doesn't | 17:46 |
DocScrutinizer05 | well, I guess that's exactly the one twinklephone used | 17:47 |
*** FlameReaper has quit IRC | 17:47 | |
*** arvut has joined #maemo | 17:48 | |
jon_y | I've done wxwidgets and SWT, I don't think QT is that stupid | 17:48 |
jon_y | I mean just some scroller and textbox shouldn't be doubling memory | 17:49 |
*** valdyn has joined #maemo | 17:49 | |
DocScrutinizer05 | doubling? the doubling happened on close, on top of an already kicking factor of 50, 100, or 1000 (can't recall anymore - probably it's been too insane to keep details in memory) | 17:50 |
*** M4rtinK has quit IRC | 17:51 | |
DocScrutinizer05 | I.E for opening 100k of logfile text, Qt allocated let's say 5MB of RAM | 17:51 |
DocScrutinizer05 | maybe 50 | 17:51 |
jon_y | I can't imagine a scrollable text box doing that unless something went crazy wrong | 17:51 |
DocScrutinizer05 | I checked it | 17:51 |
DocScrutinizer05 | I found it and discussed it and Michel and others confirmed it | 17:52 |
* jon_y be avoiding qt3 | 17:52 | |
jon_y | valgrind better be talking | 17:52 |
DocScrutinizer05 | twinklephone still available for installation on virtually all common distro repositories | 17:54 |
*** sq-one has joined #maemo | 17:54 | |
DocScrutinizer05 | will need qt3 libs but so what | 17:54 |
DocScrutinizer05 | you're able to reproduce my findings in less than 10 minutes | 17:55 |
DocScrutinizer05 | and I honestly don't think that's particularly twinklephone specific problem, I'm quite sure it's genuine Qt3 textedit box problem | 17:58 |
jon_y | I sure hope with all that newfangledness in QT4 and C++11 fixes it | 17:59 |
*** FlameReaper has joined #maemo | 17:59 | |
DocScrutinizer05 | if they stop implementig each isngle char as a RTF object, I'm sure it will improve ;-P (only handwaving) | 18:00 |
DocScrutinizer05 | s/RTF/rich text/ | 18:01 |
infobot | DocScrutinizer05 meant: if they stop implementig each isngle char as a rich text object, I'm sure it will improve ;-P (only handwaving) | 18:01 |
DocScrutinizer05 | but honestly, what else could explain the need of way beyond 10bytes of RAM to store one byte (or even word) of char? | 18:05 |
*** andre__ has quit IRC | 18:06 | |
*** FReaper has joined #maemo | 18:10 | |
*** FlameReaper has quit IRC | 18:11 | |
DocScrutinizer05 | http://tech.groups.yahoo.com/group/twinklephone/message/998 | 18:14 |
*** valerius has quit IRC | 18:14 | |
DocScrutinizer05 | >> It seems for 1Meg of log text, there may be more than 40Meg(!) of ram eaten up<< | 18:14 |
DocScrutinizer05 | >> jr@msupdate:~/.twinkle> #now "delete"ing log view (button) --- r@msupdate:~/.twinkle> #this _increased_ mem-usage by another 10Mb !!! edit-history of QT textedit? 1MB of log := 40MB VSZ. try with 25MB logfile ;-) << | 18:17 |
*** toxaris has joined #maemo | 18:21 | |
*** SmilyOrg has quit IRC | 18:21 | |
*** SmilyOrg has joined #maemo | 18:22 | |
DocScrutinizer05 | I've been incorrect though on my prevous claims: it's not allocating double RAM size on closing, but rather on deleting the log | 18:22 |
*** FReaper has quit IRC | 18:23 | |
*** FReaper has joined #maemo | 18:23 | |
*** FReaper has quit IRC | 18:30 | |
*** FReaper has joined #maemo | 18:32 | |
*** valerius has joined #maemo | 18:33 | |
*** zap_ has quit IRC | 18:34 | |
vi_ | vim. | 18:34 |
vi_ | That is all. | 18:34 |
DocScrutinizer05 | that is just a tad off-topic though | 18:35 |
DocScrutinizer05 | we're not short on proper cmdline tools to display content of a textfile | 18:35 |
DocScrutinizer05 | this however is about idiocy in Qt eating 40 bytes of ram per byte of text to display in textedit widget | 18:36 |
*** hazchemix has quit IRC | 18:37 | |
*** FReaper has quit IRC | 18:37 | |
*** FReaper has joined #maemo | 18:37 | |
vi_ | I was responding to your desire for an IDE. | 18:41 |
DocScrutinizer05 | aaah | 18:42 |
*** geaaru has quit IRC | 18:42 | |
*** Macor has quit IRC | 18:47 | |
*** guampa has joined #maemo | 18:47 | |
*** valerius has quit IRC | 18:48 | |
*** NIN101 has joined #maemo | 18:49 | |
*** ced117 has joined #maemo | 18:50 | |
*** rcg-work has quit IRC | 18:51 | |
*** Macor has joined #maemo | 18:53 | |
*** FReaper has quit IRC | 18:55 | |
*** geaaru has joined #maemo | 18:57 | |
*** vi_ has quit IRC | 18:58 | |
*** MetalGearSolid has quit IRC | 19:01 | |
*** hazchemix has joined #maemo | 19:02 | |
kerio | DocScrutinizer05: how do i make qt behave? | 19:05 |
DocScrutinizer05 | nfc | 19:05 |
DocScrutinizer05 | probably depends on your requirements aka definition of 2behave" | 19:06 |
DocScrutinizer05 | "behave" | 19:06 |
* DocScrutinizer05 idly wonders why - since lenovo T500 - the shift key seems to not behave more often than not | 19:07 | |
*** Macor has quit IRC | 19:07 | |
*** Macor has joined #maemo | 19:07 | |
*** arvut has quit IRC | 19:08 | |
*** FIQ has quit IRC | 19:08 | |
*** fortytwo has quit IRC | 19:08 | |
*** sirdancealot7 has quit IRC | 19:08 | |
*** spoofy has quit IRC | 19:08 | |
*** heroux has quit IRC | 19:08 | |
*** ZogG has quit IRC | 19:08 | |
*** fredrin has quit IRC | 19:08 | |
*** AndrewX192 has quit IRC | 19:08 | |
*** kerio has quit IRC | 19:08 | |
*** spoofy has joined #maemo | 19:08 | |
*** heroux has joined #maemo | 19:08 | |
*** arvut has joined #maemo | 19:08 | |
*** sirdancealot7 has joined #maemo | 19:09 | |
*** FIQ has joined #maemo | 19:09 | |
*** NIN101 has quit IRC | 19:10 | |
*** NIN101 has joined #maemo | 19:10 | |
*** kerio has joined #maemo | 19:10 | |
*** valerius has joined #maemo | 19:12 | |
*** AndrewX192 has joined #maemo | 19:13 | |
*** AndrewX192 has quit IRC | 19:14 | |
*** AndrewX192 has joined #maemo | 19:14 | |
*** eMHa__ has quit IRC | 19:17 | |
*** calvaris has quit IRC | 19:25 | |
*** setanta has joined #maemo | 19:26 | |
*** andre__ has joined #maemo | 19:28 | |
*** andre__ has quit IRC | 19:28 | |
*** andre__ has joined #maemo | 19:28 | |
*** Darkchaos has quit IRC | 19:37 | |
*** ZogG_laptop has quit IRC | 19:41 | |
*** rzr is now known as rZr | 19:42 | |
*** jade has quit IRC | 19:46 | |
*** jade has joined #maemo | 19:47 | |
*** hazchemix has quit IRC | 19:48 | |
*** arno0ob has quit IRC | 19:49 | |
*** rcg has joined #maemo | 19:50 | |
freemangordon | vi_: ping | 19:50 |
*** AD-N770 has quit IRC | 20:01 | |
freemangordon | ShadowJK: freeing compressed memory pool on circular basis fixes the trashing | 20:01 |
SpeedEvil | hmm | 20:07 |
*** bbee has quit IRC | 20:08 | |
*** florian has quit IRC | 20:10 | |
*** FredrIQ|n900 has quit IRC | 20:19 | |
*** sq-one has quit IRC | 20:19 | |
*** bbee has joined #maemo | 20:25 | |
*** bbee has joined #maemo | 20:25 | |
*** rcg has quit IRC | 20:31 | |
*** laxsill has quit IRC | 20:32 | |
*** e-yes has quit IRC | 20:33 | |
*** Pali has joined #maemo | 20:35 | |
*** kaziklubey has joined #maemo | 20:40 | |
*** shamus has quit IRC | 20:40 | |
*** shamus has joined #maemo | 20:43 | |
*** vi__ has joined #maemo | 20:47 | |
freemangordon | vi__: hi | 20:47 |
freemangordon | i have some POC ramzswap for you :) | 20:47 |
freemangordon | here http://dox.bg/files/dw?a=cbd27e2587 | 20:48 |
freemangordon | use "/sbin/insmod /lib/modules/2.6.28.10-cssu3/ramzswap.ko memlimit_kb=16000 backing_swap=/dev/$your_swap_device" | 20:49 |
*** qwazix has joined #maemo | 20:49 | |
freemangordon | and have in mind that it is not intended to be used more than lets say 10 minutes :D | 20:49 |
kerio | freemangordon: does the backing swap have to be exclusive? | 20:50 |
kerio | freemangordon: also, do you have to enable the swap somehow? | 20:50 |
freemangordon | vi__: as once you run out of continious (256k in size) blocks on the BSWAP device you are doomed, no defragmentation so far | 20:50 |
freemangordon | kerio: exclusive? | 20:51 |
freemangordon | swapon is your friend | 20:51 |
kerio | freemangordon: can (or must) the backing device be enabled for normal swap too? | 20:51 |
*** ZogG_laptop has joined #maemo | 20:51 | |
*** ZogG_laptop has quit IRC | 20:51 | |
*** ZogG_laptop has joined #maemo | 20:51 | |
freemangordon | kerio: of course no | 20:51 |
kerio | swapon what? /dev/ramzswap0 or something? | 20:52 |
freemangordon | swapon /dev/ramzswap0 | 20:52 |
*** kaziklubey has quit IRC | 20:52 | |
kerio | i see | 20:52 |
freemangordon | vi__: have in mind that module is for the thumb mernel | 20:52 |
kerio | so it's to be used as the single swap device | 20:52 |
freemangordon | yes | 20:52 |
freemangordon | single? | 20:52 |
freemangordon | no, you can add as much swap devices as you wish | 20:53 |
kerio | i see | 20:53 |
freemangordon | but it makes no sense | 20:53 |
kerio | do you get the full-ish size of the backing swap partition with your module? | 20:53 |
freemangordon | yes. minus 1 eraseblock | 20:53 |
kerio | wtf is an eraseblock? | 20:53 |
freemangordon | the block you write at once | 20:54 |
kerio | i see | 20:54 |
freemangordon | i.e. 128*4096 in that particular case | 20:54 |
kerio | i bet NAND swap would be really fast :3 | 20:54 |
freemangordon | unfortunately we don;t have enough free NAND to use it for swap | 20:55 |
kerio | sure we do | 20:55 |
kerio | install fremantle on the eMMC | 20:55 |
freemangordon | well, it is occupied by rootfs | 20:55 |
freemangordon | anyway, I am going AFK for some half an hour, bbl | 20:56 |
*** florian has joined #maemo | 20:59 | |
*** florian has joined #maemo | 20:59 | |
*** geaaru has quit IRC | 21:04 | |
*** adb has joined #maemo | 21:07 | |
* vi__ rading backscroll | 21:10 | |
*** joga has quit IRC | 21:12 | |
*** Jaded has joined #maemo | 21:13 | |
*** joga has joined #maemo | 21:13 | |
kerio | vi__: qt doesn't follow the keyboard settings :c | 21:14 |
vi__ | qt? | 21:15 |
*** jade has quit IRC | 21:15 | |
kerio | qt! | 21:16 |
DocScrutinizer05 | quite terrifying | 21:16 |
vi__ | insmod in t-minus 15s | 21:22 |
*** vi__ has quit IRC | 21:24 | |
freemangordon | hehe | 21:25 |
*** vi__ has joined #maemo | 21:29 | |
vi__ | crash! | 21:29 |
kerio | yay! | 21:30 |
*** vi__ has quit IRC | 21:30 | |
freemangordon | I hope he does not insmod fro the startup scripts | 21:32 |
freemangordon | for some reason sometimes ramzswap.ko is not copied ok via ssh, such crashes happen sometimes here too, I need to copy the module again :( | 21:34 |
*** penguinbait has quit IRC | 21:35 | |
DocScrutinizer05 | copy? | 21:38 |
DocScrutinizer05 | aah Ssh | 21:38 |
*** vi__ has joined #maemo | 21:39 | |
DocScrutinizer05 | aka scp | 21:39 |
vi__ | well. | 21:39 |
vi__ | that didnt work. | 21:39 |
vi__ | crashed so hard I had to tug the battery. | 21:39 |
freemangordon | vi__: donload the file again | 21:39 |
freemangordon | *download | 21:39 |
vi__ | the file is fine. | 21:40 |
DocScrutinizer05 | not before doing a move to save away the old one, to compare | 21:40 |
freemangordon | hmm, that should not happen | 21:40 |
vi__ | module inserts fine | 21:40 |
freemangordon | aah, ok | 21:40 |
freemangordon | but? | 21:40 |
DocScrutinizer05 | err, it crashes? | 21:40 |
DocScrutinizer05 | aka PANIC | 21:41 |
DocScrutinizer05 | or OOPS | 21:41 |
DocScrutinizer05 | or harder | 21:41 |
freemangordon | seems no, lets wat vi__ to explain | 21:41 |
vi__ | I activate ramz with backingswap on sd card with a higher priority than the emmc. | 21:41 |
freemangordon | ok | 21:41 |
vi__ | then it grinds to a halt. | 21:41 |
freemangordon | how big is the partition? | 21:41 |
vi__ | had to pull the battery. | 21:41 |
vi__ | freemangordon: ~600mb | 21:42 |
freemangordon | that's fine | 21:42 |
freemangordon | vi__: that should not happen (tm) | 21:42 |
freemangordon | anything in syslog? | 21:42 |
freemangordon | you should see something like "ramzswap: ramzswap_schedule_write queue[128]" | 21:43 |
freemangordon | there are some more debug messages | 21:43 |
vi__ | I dont have syslog installed. | 21:44 |
freemangordon | was the device freshly booted? | 21:44 |
*** shanttu has joined #maemo | 21:44 | |
vi__ | freemangordon: yes. | 21:44 |
DocScrutinizer05 | installing remote syslog is a nice idea | 21:44 |
freemangordon | vi__: did you mess /proc/sys/vm/... settings? | 21:45 |
freemangordon | *mess with | 21:45 |
DocScrutinizer05 | I found that incredibly helpful occasionally | 21:45 |
kerio | DocScrutinizer05: remote syslog? :o | 21:45 |
DocScrutinizer05 | log to remoteloghost:513 | 21:45 |
kerio | oic | 21:46 |
freemangordon | vi__: try the opposite, i.e. swapon $sdcard_swap, swapoff /dev/mmcblk0p3 | 21:47 |
freemangordon | and use /dev/mmcblk1p3 as backingswap | 21:47 |
freemangordon | oops | 21:47 |
freemangordon | mmcblk0p3 :) | 21:47 |
kerio | freemangordon: why would that change things | 21:47 |
freemangordon | maybe his SD card is too slow | 21:48 |
freemangordon | or swap partition is badly aligned | 21:48 |
freemangordon | or... | 21:48 |
vi__ | it is a class 4 32gb sandisk. | 21:50 |
vi__ | I mess with the vm settings all the time | 21:51 |
freemangordon | vi__: try to use eMMC swap | 21:54 |
freemangordon | as backingswap device | 21:54 |
*** arvut has quit IRC | 21:55 | |
*** ced117 has quit IRC | 21:56 | |
kerio | freemangordon: why? | 21:56 |
*** qwazix has quit IRC | 21:56 | |
*** qwazix has joined #maemo | 21:57 | |
*** vi__ has quit IRC | 21:57 | |
*** vi__ has joined #maemo | 21:57 | |
vi__ | I cannot insmod ramzswap with swap already on sd. | 21:58 |
vi__ | it causes an insta-crash | 21:58 |
vi__ | it has always been like that, even with the old one. | 21:58 |
freemangordon | vi__: something is wrong with that module you have, let me reupload it | 21:59 |
*** Pali has quit IRC | 22:01 | |
freemangordon | vi__: http://merlin1991.at/~freemangordon/ramzswap/ | 22:04 |
kerio | freemangordon: this is for the cssu kernel only? | 22:05 |
*** Pali has joined #maemo | 22:06 | |
*** Venemo_N9 has joined #maemo | 22:06 | |
freemangordon | kerio: yes, I think I already told that | 22:07 |
freemangordon | vi__: the module is for kernel-cssu3 | 22:08 |
*** _Lena has joined #maemo | 22:08 | |
*** ALoGeNo has quit IRC | 22:09 | |
*** NIN101 has quit IRC | 22:11 | |
*** akls2 has joined #maemo | 22:11 | |
akls2 | community ssu installation failed because internet connection was lost. how can I continue it? | 22:11 |
_Lena | Hello, can someone help me whith the BME / OTG stuff of the n900 ? | 22:12 |
kerio | with the what now? | 22:12 |
kerio | akls2: run the update from HAM | 22:12 |
*** ALoGeNo has joined #maemo | 22:13 | |
*** ALoGeNo has joined #maemo | 22:13 | |
akls2 | kerio, | 22:13 |
kerio | (Application Manager) | 22:13 |
akls2 | kerio, oh! thanks | 22:13 |
akls2 | ye-ye, I know :D | 22:13 |
kerio | akls2: what the enabler does is set things up so that HAM can install CSSU properly | 22:13 |
kerio | after you ran the enabler once, you just need to do the system upgrade from HAM | 22:13 |
akls2 | kerio, apt-get upgrade is going to work too? | 22:13 |
kerio | _Lena: install h-e-n | 22:13 |
kerio | akls2: use HAM | 22:13 |
akls2 | ok | 22:13 |
_Lena | yes i did that allready and i had a keyboard working | 22:14 |
_Lena | but now it is not charging any more | 22:14 |
kerio | akls2: if you need to ask if you can use apt-get, you can't use it | 22:14 |
_Lena | i did a coldflash and no change | 22:14 |
*** gn00b has joined #maemo | 22:14 | |
kerio | _Lena: ...woah | 22:14 |
kerio | DocScrutinizer05: *poke* | 22:15 |
DocScrutinizer05 | shhhh! | 22:16 |
*** OkropNick has quit IRC | 22:17 | |
DocScrutinizer05 | _Lena: coldflash is *deprecated* | 22:18 |
*** netkat has quit IRC | 22:18 | |
kerio | _Lena: coldflash is mostly useless | 22:19 |
DocScrutinizer05 | _Lena: ...since virtually nobody has an idea why (s)he would need it, due to knowledge about what coldflash actually does is not really widespread | 22:19 |
DocScrutinizer05 | further: h-e-n doesn't impair normal battery charging | 22:19 |
_Lena | i Thought it was overwriting the coontnt of the nand | 22:19 |
DocScrutinizer05 | _Lena: actually it's not exactly doing that | 22:20 |
DocScrutinizer05 | coldflash is needed *only* when NOLO doesn't show up on power-up | 22:20 |
_Lena | does it reset the register of the bq* chip | 22:20 |
DocScrutinizer05 | NOLO is the bootloader that shows the dim NOKIA screen | 22:20 |
*** qwazix has quit IRC | 22:21 | |
DocScrutinizer05 | no | 22:21 |
DocScrutinizer05 | nothing is resetting bq* registers | 22:21 |
_Lena | ups, i got confused whithe the term "coldflash" i think.... | 22:21 |
DocScrutinizer05 | )except removing battery, or bme or h-e-n explicitly resetting them) | 22:21 |
kerio | coldflashing is basically just a way to restore NOLO if you blew it up | 22:22 |
DocScrutinizer05 | [2012-10-24 21:20:40] <DocScrutinizer05> coldflash is needed *only* when NOLO doesn't show up on power-up | 22:22 |
_Lena | i was using the flasher program and started whith the u-key pressed, thats what i did, everything went fine | 22:22 |
_Lena | i was using the flasher program and started whith the u-key pressed, thats what i did, everything went fine | 22:23 |
DocScrutinizer05 | sure, but if you followed instructions for coldflashing, you probably didn't do anything useful at all | 22:23 |
_Lena | yes it was not changing anything | 22:24 |
*** eMHa__ has joined #maemo | 22:24 | |
DocScrutinizer05 | if holding u-key actually results in something, you already are beyond the point where coldflash will do something you'd need | 22:24 |
_Lena | now after playing whith diferent sofwarreinstallations i cant even uns the U-key any more | 22:25 |
DocScrutinizer05 | I suspect KP52 might load the bq24150.ko kernel module and thus break bme | 22:25 |
DocScrutinizer05 | _Lena: please stop messing around with flashing and whatnot on a basis of "let's see what this does", rather come here & tell your problem & ask what's next to do | 22:26 |
DocScrutinizer05 | let's start with you telling us what's current status of your N900 | 22:27 |
DocScrutinizer05 | what happens when you power it up? | 22:27 |
_Lena | ok, it is starting and working ok, but not charging and conecting to the pc over usb | 22:28 |
DocScrutinizer05 | ok | 22:28 |
DocScrutinizer05 | so basically your whole maemo system works, except the USB stuff | 22:28 |
_Lena | yes | 22:28 |
DocScrutinizer05 | right? | 22:28 |
DocScrutinizer05 | :nod: | 22:28 |
_Lena | what does ":nod:" mean ? | 22:29 |
DocScrutinizer05 | please provide output of following commands here (paste directly if it's only one or 2 relevant line, use web pastebin otherwise and paste the URL here) | 22:29 |
DocScrutinizer05 | uname -a | 22:29 |
*** rcg has joined #maemo | 22:30 | |
_Lena | Linux Nokia-N900 2.6.28.10-bfs10 #1 PREEMPT Wed Jan 4 22:28:20 EET 2012 armv7l u | 22:30 |
DocScrutinizer05 | o.O | 22:32 |
kerio | ...WAT | 22:32 |
DocScrutinizer05 | brainfuck scheduler | 22:32 |
kerio | i know | 22:32 |
DocScrutinizer05 | bfs | 22:33 |
DocScrutinizer05 | wrong kernel | 22:33 |
kerio | but i thought the -bfs kernel for n900 was like an ancient version of KP | 22:33 |
DocScrutinizer05 | kerio: will a simple installation of latest KP 'fix' this ? | 22:34 |
kerio | id | 22:34 |
DocScrutinizer05 | (nfc about bfs kernel) | 22:34 |
kerio | k | 22:34 |
kerio | i think it's a separate version | 22:34 |
kerio | i mean, a separate package | 22:34 |
_Lena | whith is the best version for getting the charging work, even whithout otg would be ok, its not that important | 22:35 |
kerio | DocScrutinizer05: tbh it shouldn't affect the charging | 22:35 |
DocScrutinizer05 | kerio: nfc about that brainfuckscheduler kernel | 22:35 |
DocScrutinizer05 | _Lena: I suggest you reflash to proper stock maemo PR1.3, to get a clean start (unless you got so much nifty config in this system that it's actually worth the effort to 'fix' stuff rather than simply restroing the standard packages after reflash) | 22:37 |
DocScrutinizer05 | I.E. do a backup with builtin maemo backuptool, then reflash, then restore your apps if really needed, but make sure to uncheck any kernel related stuff from the list of apps to restore | 22:38 |
DocScrutinizer05 | reflash means: do a normal flashing of COMBINED aka rootfs, as in | 22:39 |
DocScrutinizer05 | ~flash | 22:39 |
infobot | somebody said maemo-flashing was http://wiki.maemo.org/Updating_the_tablet_firmware | 22:39 |
_Lena | how do i flash whithout USB ? | 22:39 |
DocScrutinizer05 | after that you may install h-e-n (and powerkernel-52 during that) | 22:39 |
*** _rd has joined #maemo | 22:40 | |
DocScrutinizer05 | _Lena: your USB is fine for flashing | 22:40 |
_Lena | no | 22:40 |
DocScrutinizer05 | ??? | 22:40 |
DocScrutinizer05 | please elaborate | 22:40 |
_Lena | not even showing detecting a pc or the pc detecting the n900 | 22:41 |
DocScrutinizer05 | errr | 22:41 |
*** sq-one has joined #maemo | 22:41 | |
DocScrutinizer05 | you follow instructions on | 22:41 |
DocScrutinizer05 | ~flash | 22:41 |
infobot | well, maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware | 22:41 |
DocScrutinizer05 | and everything will work | 22:42 |
DocScrutinizer05 | if not, you come here and tell us what's the detailed problem, please don't anticipate or conclude problems which don't exist based on assumptions about how things work | 22:43 |
DocScrutinizer05 | flashing doesn' | 22:44 |
DocScrutinizer05 | t | 22:44 |
DocScrutinizer05 | need kernel or system support for USB | 22:44 |
DocScrutinizer05 | it's not even starting kernel (for COMBINED flashing) | 22:44 |
freemangordon | DocScrutinizer05: faulty USB port? | 22:44 |
DocScrutinizer05 | nah | 22:44 |
DocScrutinizer05 | bfs kernel and fsckdup usb drivers | 22:45 |
kerio | DocScrutinizer05: what happens when you flash vanilla? | 22:45 |
kerio | DocScrutinizer05: the kernel is booted? | 22:45 |
_Lena | i cant find the way to flash whithout usb :( | 22:45 |
DocScrutinizer05 | kerio: what always happens when "rootfs messed up" | 22:45 |
kerio | is there a check in preinit for that? | 22:45 |
kerio | _Lena: you were able to coldflash, for fuck's sake | 22:45 |
DocScrutinizer05 | _Lena: FFS you got a USB receptacle | 22:45 |
DocScrutinizer05 | nobody instructed you to assume you don't use it | 22:46 |
_Lena | ok to explain the situation.... | 22:46 |
DocScrutinizer05 | I thought you already *did* | 22:46 |
freemangordon | DocScrutinizer05: seems his device is not recognised by the PC | 22:47 |
DocScrutinizer05 | meh | 22:47 |
DocScrutinizer05 | missing usb drivers for bfs kernel | 22:47 |
kerio | freemangordon: huh... a coldflash was apparently successful | 22:47 |
*** Zahra has quit IRC | 22:47 | |
freemangordon | kerio: judging by? | 22:48 |
kerio | freemangordon: judging by what _Lena said | 22:48 |
DocScrutinizer05 | freemangordon: he simply needs a proper flash to restore to a working kernel, nuttin more | 22:48 |
_Lena | i realliized that sometimes after a few days whithout the battery i was able to flashh the n900 (whith U-Key) but not always ! latley i am not able at all to start whith usb | 22:48 |
freemangordon | yeah, ok | 22:48 |
_Lena | I swapt the small backup Battery, no change | 22:48 |
freemangordon | That seems to me like USB port failure creeping | 22:49 |
DocScrutinizer05 | you did WHAT? | 22:49 |
freemangordon | DocScrutinizer05: breathe man | 22:49 |
freemangordon | a smaller capacity battery | 22:49 |
freemangordon | (I hope :D ) | 22:49 |
_Lena | also i check whith a multimeter the conectivity from the usb coonector to th usb-test-pads on the boarrd, also ok | 22:49 |
freemangordon | _Lena: what USB cable do you use? Did you try to use different port on your PC? | 22:50 |
DocScrutinizer05 | swap of bupbat not fixing *anything* regarding flashing | 22:50 |
_Lena | now if i use the H-E-N, i can suply the external device whith 5v....that means the usbport off the phone scold be ok to, right ? | 22:51 |
freemangordon | right | 22:51 |
freemangordon | so, your USB seems pretty ok | 22:51 |
DocScrutinizer05 | so what's that nonsense about "flashing without USB" then? | 22:52 |
_Lena | i am 98% shure it is nothing physical | 22:52 |
freemangordon | now, try the following: | 22:52 |
*** foo` has joined #maemo | 22:52 | |
freemangordon | remove the battery | 22:52 |
DocScrutinizer05 | for 2 min | 22:52 |
freemangordon | connect USB cable to both n900 and PC | 22:52 |
DocScrutinizer05 | (though he swapped bupbat :-S ) | 22:52 |
_Lena | i could flash it before ! soometimes it was working | 22:52 |
freemangordon | open the keyboard and press'n'hold "u" | 22:53 |
DocScrutinizer05 | *sigh* | 22:53 |
freemangordon | put the battery back, while still holding 'u' pressed and wat for lets say 30 seconds | 22:53 |
freemangordon | s/wat/wait/ | 22:53 |
infobot | freemangordon meant: put the battery back, while still holding 'u' pressed and wait for lets say 30 seconds | 22:53 |
freemangordon | your n900 should be detected by your PC | 22:53 |
*** rZr is now known as rzr | 22:54 | |
*** _rd has quit IRC | 22:54 | |
_Lena | i know the procedure, but it is not working any more | 22:54 |
freemangordon | BTW what OS do you use? | 22:54 |
_Lena | ubuntu 12.04 | 22:54 |
DocScrutinizer05 | _Lena: and pretty please don't start thinking and interpreting what we tell you, we mean exactly what we say | 22:54 |
DocScrutinizer05 | and there's no info we forgot to consider | 22:54 |
freemangordon | _Lena: try what I told you | 22:55 |
freemangordon | and try that using several different ports on your PC | 22:55 |
_Lena | english is not may native language, may i amm a little lazy to explain everrything detailed | 22:55 |
DocScrutinizer05 | we actually don't need explanations | 22:55 |
*** _rd has joined #maemo | 22:56 | |
DocScrutinizer05 | we talk you thru the process, asking for any info we need | 22:56 |
_Lena | i did try diferent ports, and diferent op systems annd diferennt pc also ! | 22:56 |
DocScrutinizer05 | irrelevant | 22:56 |
freemangordon | what about the cable? | 22:56 |
_Lena | ok, so how can i get the phone back to respond too my usb while pressinh u on powerup ? | 22:57 |
freemangordon | _Lena: ^^^ | 22:57 |
_Lena | y testet 2 diferent cabels, whithout change | 22:57 |
freemangordon | do what I told you | 22:57 |
DocScrutinizer05 | _Lena: please first do battery-test: device shut down, hold 'u', then plug in fastcharger | 22:58 |
*** VDVsx has quit IRC | 22:58 | |
DocScrutinizer05 | verify that usb icon shows up on upper right of NOKIa screen and STAYS | 22:58 |
freemangordon | DocScrutinizer05: have in mind that usb sign stays only for about 10 seconds when connected to a charger | 22:58 |
DocScrutinizer05 | nope | 22:59 |
freemangordon | at least here | 22:59 |
DocScrutinizer05 | then your battery is empty | 22:59 |
freemangordon | hehe | 22:59 |
DocScrutinizer05 | won't flash like that | 22:59 |
DocScrutinizer05 | that's why it's called battery test | 23:00 |
freemangordon | ok, I am wrong | 23:00 |
freemangordon | it stays | 23:00 |
DocScrutinizer05 | tldya | 23:00 |
freemangordon | :) | 23:00 |
_Lena | conecting charger... pone vibrates, display shows the "NOKIA" buut whithout backliight an whithout the usb.symbel in the top right corner, and reboots every 15 or 20 seconds | 23:01 |
DocScrutinizer05 | _Lena: will you confirm that your battery test worked? or does the USB icon vanish after 10s | 23:01 |
DocScrutinizer05 | hmmmm | 23:01 |
freemangordon | hmm, NOLO? | 23:01 |
DocScrutinizer05 | that is either a fsckdup NOLO by your coldflash, or a broken USB | 23:01 |
_Lena | it in a loop, but only wher it starts whith a charger conected | 23:02 |
DocScrutinizer05 | or defect hardware genetrally | 23:02 |
DocScrutinizer05 | ooh, wait | 23:02 |
freemangordon | _Lena: where did you get your HW version from when you did the coldflash? | 23:02 |
freemangordon | DocScrutinizer05: flat battery? | 23:02 |
DocScrutinizer05 | it's probably weak battery plus messed up rootfs - fits perfectly | 23:02 |
_Lena | i am not shure if i did a "coldflash" i did flash the vanilla and combind, is this calld coldflash ? | 23:03 |
DocScrutinizer05 | freemangordon: indeed | 23:03 |
freemangordon | _Lena: no | 23:03 |
freemangordon | this is just a normal flash | 23:03 |
freemangordon | _Lena: do you have charged battery? | 23:03 |
DocScrutinizer05 | _Lena: your problem is flatbat vicious circle | 23:03 |
_Lena | no, i got an external charger, also i swapped the battery whith an nokia 5800, batery woorks | 23:04 |
freemangordon | _Lena: what now, do you have charged battery or you don;t have one? | 23:04 |
DocScrutinizer05 | no, the symptoms are exactly like battery too flat for flashing | 23:04 |
freemangordon | too flat for booting too | 23:04 |
_Lena | i know, but if i disconect the charger, the phone boots up and works for hours !! | 23:05 |
DocScrutinizer05 | doesn't matter | 23:05 |
_Lena | so i cant be the batt | 23:05 |
kerio | is this an original battery? | 23:05 |
DocScrutinizer05 | battery needs some 80+% for flashing | 23:05 |
freemangordon | DocScrutinizer05: but it should not enter a reboot loop | 23:05 |
DocScrutinizer05 | phone only needs 1% fpor booting | 23:05 |
_Lena | no, but i tryed an original, and the same, not working | 23:06 |
DocScrutinizer05 | freemangordon: he messed up his rootfs | 23:06 |
freemangordon | I know | 23:06 |
freemangordon | but nevertheless NOLO should work | 23:06 |
DocScrutinizer05 | it does | 23:06 |
*** andre__ has quit IRC | 23:06 | |
*** rzr is now known as rZr | 23:06 | |
DocScrutinizer05 | detects 'flat' bat, boots to linux, and there stuff crashes | 23:07 |
kerio | _Lena: can you *boot*? | 23:07 |
freemangordon | hmm, I missed the part with messed rootfs, what is that supposed to mean. | 23:07 |
freemangordon | kerio: yes | 23:07 |
DocScrutinizer05 | don't ask me why it boots without charger connected | 23:07 |
kerio | boot, charge | 23:07 |
freemangordon | only boot | 23:07 |
DocScrutinizer05 | I guess bme freaks out when trying to charge | 23:07 |
freemangordon | no chagrfe | 23:07 |
*** hardaker has joined #maemo | 23:07 | |
_Lena | yes, the phone works for hours whithout prroblems, until the battery is flat | 23:08 |
DocScrutinizer05 | that doesn't mean a thing | 23:08 |
freemangordon | hmm, he can flash stock kernel from within maemo and try again | 23:08 |
_Lena | i guess something went wrong whith that bme part | 23:09 |
*** gn00b has quit IRC | 23:09 | |
DocScrutinizer05 | unless NOLO stays on NOKIA screen with USB icon upper right, your battery is too flat | 23:09 |
*** _rd has quit IRC | 23:09 | |
*** _rd has joined #maemo | 23:09 | |
DocScrutinizer05 | for reflashing it, you need a properly charged battery | 23:09 |
freemangordon | DocScrutinizer05: could it be that only part of NOLO is broken? | 23:09 |
DocScrutinizer05 | once you pass the battery test, we'll see what's next | 23:09 |
DocScrutinizer05 | freemangordon: could, but highly unlikely | 23:10 |
freemangordon | IIRC it is not signed | 23:10 |
freemangordon | DocScrutinizer05: it makes no sense otherwise | 23:10 |
DocScrutinizer05 | and he actually did no coldflash it seems, so why would nolo be broken ;-) | 23:10 |
freemangordon | _Lena: what did ou do to screw up your rootfs? | 23:10 |
DocScrutinizer05 | he flashed bfs kernel | 23:11 |
DocScrutinizer05 | obviously | 23:11 |
freemangordon | DocScrutinizer05: echo "hello world" > /dev/mtd1 | 23:11 |
DocScrutinizer05 | that's why I recommend proper reflash | 23:11 |
freemangordon | (or whatever the mtd num was) | 23:11 |
_Lena | i think it was the h-e--n installation | 23:11 |
DocScrutinizer05 | no way | 23:11 |
_Lena | thats when theprobllems started | 23:11 |
freemangordon | DocScrutinizer05: kernel can be flashed from within Maemo | 23:11 |
DocScrutinizer05 | no, that's when they became obvious | 23:11 |
DocScrutinizer05 | freemangordon: so what? | 23:12 |
freemangordon | we can rule out BFS drivers | 23:12 |
DocScrutinizer05 | you're free to talk him thru recovery on live system | 23:12 |
freemangordon | like bqxxx and such | 23:12 |
vi__ | sorry, was at food. | 23:12 |
vi__ | also ~flash | 23:12 |
vi__ | also ~flashing | 23:13 |
DocScrutinizer05 | I'll not engage on that mission, too tedious | 23:13 |
freemangordon | _Lena: boot to maemo and do: | 23:13 |
freemangordon | apt-get install --reinstall kernel-modules kernel kernel-flasher | 23:13 |
_Lena | in the past , once i could flash vanilla an combined aswell, but this "normal" flash was not changing anything | 23:13 |
_Lena | ok | 23:14 |
freemangordon | DocScrutinizer05: was that the correct order? | 23:14 |
DocScrutinizer05 | nfc | 23:14 |
freemangordon | _Lena: hope you have youe data backed up | 23:14 |
freemangordon | *your | 23:14 |
DocScrutinizer05 | issue 3 times, and all will be fine ;-D | 23:14 |
freemangordon | vi__: you reflashed? | 23:14 |
_Lena | uff, i cant remember the order | 23:14 |
freemangordon | DocScrutinizer05: :D | 23:14 |
freemangordon | try mine | 23:15 |
* DocScrutinizer05 waves | 23:15 | |
DocScrutinizer05 | -->dinner | 23:15 |
vi__ | freemangordon: that second module has the same md5 as the first. | 23:15 |
freemangordon | vi__: what is wrong with your device ?!? | 23:15 |
DocScrutinizer05 | _Lena: good luck, listen to freemangordon, he's a competent person | 23:15 |
_Lena | i did a backup already | 23:16 |
_Lena | ok | 23:16 |
freemangordon | vi__: no way doing swapon should lead to insta-reboot | 23:16 |
vi__ | freemangordon: I do not know. It has ALWAYS insta-crashed on insmod ramzswap if the swap is not on emmc. | 23:16 |
vi__ | for every version of CC ever. | 23:16 |
freemangordon | the fuck? | 23:16 |
vi__ | I will have a 'new' n900 tomorrow. | 23:17 |
vi__ | I will load it up with thumb. | 23:17 |
freemangordon | vi__: any chance to revert to stock settings for /proc/sys/vm/... stuff? | 23:17 |
vi__ | and try on it. | 23:17 |
freemangordon | vi__: ok | 23:17 |
vi__ | I will not add any half assed, unfinished, built on shell scripts crazy shit that my current deviced is. | 23:18 |
*** Venemo_N9 has quit IRC | 23:18 | |
freemangordon | vi__: but install *ONLY* thumb, do not do some fancy stuff like tweaking nr_requests and swappiness and vfs_cache_pressure and... | 23:18 |
vi__ | just strait up thumb. | 23:18 |
freemangordon | yep | 23:18 |
vi__ | I JUST managed to get google calendars to sync with individual calendars on the n900. | 23:19 |
vi__ | I have not made a backup. | 23:19 |
kerio | neat | 23:19 |
kerio | sucks to be you | 23:20 |
vi__ | My heart sank when it tried to recover from pulling the battery and said 'kernel panic: not syncing' | 23:20 |
*** foo` has quit IRC | 23:20 | |
vi__ | I was like: | 23:20 |
vi__ | nnnnnnooooooooooooo | 23:20 |
*** andre__ has joined #maemo | 23:20 | |
*** foo` has joined #maemo | 23:20 | |
freemangordon | vi__: unable to mount rootfs? | 23:20 |
vi__ | hours of kludging syncmlevolution gone! | 23:20 |
vi__ | freemangordon: I switched off, pulled battery then tried again. | 23:21 |
vi__ | it worked. | 23:21 |
kerio | vi__: just rescueos dat shit | 23:21 |
freemangordon | :D | 23:21 |
vi__ | kerio | 23:21 |
vi__ | ke | 23:21 |
vi__ | k | 23:21 |
vi__ | wtf | 23:21 |
vi__ | kerio: I have never used recue OS. I don't know how to use it. | 23:22 |
* vi__ blushes | 23:22 | |
kerio | there's a magic ritual you have to do, and at the end you have a shell on the n900 | 23:23 |
sq-one | I'm just copying some files via scp from my n900 to my computer. And reach 160KB/s max. transferrates. Anyone experienced similar speeds? They seem a bit low to me... | 23:25 |
vi__ | do I have to sacrifice a groupware server in the middle of a pentagram built with a token ring ethernet? | 23:25 |
vi__ | sq-one: what OS? | 23:25 |
*** muelli has joined #maemo | 23:25 | |
vi__ | wifi or ethernet? | 23:25 |
sq-one | maemo 5 | 23:25 |
sq-one | wifi | 23:25 |
freemangordon | :D | 23:25 |
vi__ | -_- | 23:25 |
freemangordon | sq-one: and on the other end? | 23:26 |
*** brzys has joined #maemo | 23:26 | |
kerio | sq-one: encryption be hard, yo | 23:26 |
freemangordon | yeah, install -thumb | 23:26 |
kerio | also there are some tweaks you can do to speed up I/O in general | 23:26 |
_Lena | ok, now afterr rebooting an errormessage+ | 23:26 |
kerio | installing cssu-thumb is also a good idea | 23:26 |
sq-one | freemangordon: arch linux on the other end | 23:26 |
vi__ | gah, linux sucks. | 23:27 |
freemangordon | _Lena: "errormessage+"? | 23:27 |
vi__ | this is a BSD channel. | 23:27 |
kerio | vi__: no u | 23:27 |
_Lena | "unexpectted reboot occured, personal kernel settings not loaded" | 23:27 |
freemangordon | _Lena: good | 23:27 |
vi__ | NO YOUR MOTHER NETBSD | 23:27 |
kerio | _Lena: that's good | 23:27 |
vi__ | sq-one: does it max out at 160? does it start fast and go slow? | 23:28 |
kerio | vi__: MY MOTHER IS NOT NETBSD | 23:28 |
freemangordon | _Lena: does charging work? | 23:28 |
DocScrutinizer05 | :-DE | 23:28 |
vi__ | your right, a gonad like you was clearly spawned by OS/2 | 23:28 |
DocScrutinizer05 | -E | 23:28 |
_Lena | no | 23:28 |
vi__ | does it run slow for scp to other devices? | 23:28 |
kerio | _Lena: are you sure the charger is not faulty? | 23:29 |
kerio | and properly plugged in? | 23:29 |
DocScrutinizer05 | sanitize rootfs (etc/ etc) | 23:29 |
*** krayon has quit IRC | 23:29 | |
DocScrutinizer05 | start bme | 23:29 |
kerio | _Lena: didn't you say you have an external charger? | 23:29 |
freemangordon | _Lena: check which kernel do you run | 23:29 |
freemangordon | and yes, start bme after that | 23:29 |
DocScrutinizer05 | uname -a | 23:29 |
DocScrutinizer05 | also lsmod | 23:30 |
vi__ | wait | 23:30 |
vi__ | fmg what is the uname of thumb kernel? | 23:30 |
freemangordon | kernel-cssu3 | 23:30 |
_Lena | yes, i got one for charging the battery whithout the fone | 23:30 |
*** eijk_ has joined #maemo | 23:30 | |
vi__ | not 2.6.28.10-power51? | 23:30 |
freemangordon | deffinitely not | 23:30 |
DocScrutinizer05 | there are chargers that stop charging at 1000mA | 23:31 |
vi__ | derp. | 23:31 |
DocScrutinizer05 | or even earlier | 23:31 |
kerio | vi__: FUKKEN LOL | 23:31 |
kerio | vi__: you deserved it | 23:31 |
DocScrutinizer05 | 1000mAh (the original nokia charger that is) | 23:31 |
freemangordon | _Lena: does your device gets detected if connected to the PC while maemo runs? | 23:31 |
sq-one | cssu-thumb sounds really interesting, is a different between cssu-thumb and a stocke maemo 5 noticable in everyday use? | 23:32 |
sq-one | *difference | 23:32 |
_Lena | Linux Nokia-N900 2.6.28.10-bfs10 #1 PREEMPT Wed Jan 4 22:28:20 EET 2012 armv7l unknown | 23:32 |
DocScrutinizer05 | :-/ | 23:32 |
_Lena | noo, it does noot get detected | 23:32 |
freemangordon | _Lena: seems you did not flash the stock kernel | 23:32 |
DocScrutinizer05 | you rebooted? | 23:32 |
_Lena | yes | 23:32 |
freemangordon | _Lena: anu myltiboot shit around? | 23:33 |
freemangordon | multiboot | 23:33 |
*** eijk has quit IRC | 23:33 | |
vi__ | sq-one: thumb is just the next stage in n900 evolution. | 23:33 |
DocScrutinizer05 | your installing kernel kernel-flasher kernel-modules failed | 23:33 |
DocScrutinizer05 | freemangordon: see why I thought "too tedious"? | 23:33 |
freemangordon | _Lena: do you have multiboot installed? | 23:34 |
freemangordon | DocScrutinizer05: I know, but still ... | 23:34 |
_Lena | but how does the kernel afecct the NOLO ? | 23:34 |
DocScrutinizer05 | not at all | 23:34 |
DocScrutinizer05 | what's wrong with your NOLO? | 23:34 |
DocScrutinizer05 | if your NOLO was defect, you'd not even see the dim NOKIA screen | 23:34 |
_Lena | it is not comming up whith the usb-symbel in the top right corner whenn i boot whith the u- Key and usbbcable conected | 23:35 |
DocScrutinizer05 | I thought you told it does, then after 10s rebotts | 23:35 |
freemangordon | DocScrutinizer05: hmm, faulty bq chip? | 23:35 |
*** iDont has quit IRC | 23:36 | |
_Lena | that is was i told here at first in the chat | 23:36 |
DocScrutinizer05 | freemangordon: listen carefully what the helpee is actually saying | 23:36 |
freemangordon | DocScrutinizer05: iirc hostmode (i.e. twl chargepump works), but charging(aka bqxxx) does not | 23:36 |
freemangordon | or was it ISP chargepump. | 23:37 |
DocScrutinizer05 | _Lena: oops you're right | 23:37 |
DocScrutinizer05 | you told "without USB in upper right" | 23:37 |
_Lena | ..diid I ? | 23:37 |
_Lena | then sory | 23:38 |
*** akls2 has quit IRC | 23:38 | |
DocScrutinizer05 | freemangordon: boost and charge are same chip | 23:38 |
freemangordon | hmm, ok | 23:38 |
DocScrutinizer05 | and _Lena told h-e-n supplies VBUS | 23:38 |
freemangordon | _Lena: can you pastebin your dmesg, after connecting the charger | 23:38 |
_Lena | yes it is the same chip and it supplies 5v | 23:39 |
_Lena | ok | 23:39 |
DocScrutinizer05 | I still suspect flat battery | 23:39 |
freemangordon | _Lena: and try again to flash the stock kernel | 23:39 |
_Lena | fiirst i disconected my datacabel to my pc : twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1 | 23:40 |
DocScrutinizer05 | and btw NOLO (even when magically borked so it wouldn't allow flashing) will not stop a live system kernel reflashing, nor charging | 23:40 |
_Lena | fiirst i disconected my datacabel to my pc : twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1 | 23:40 |
freemangordon | apt-get install --reinstall kernel kernel-modules kernel-flasher | 23:41 |
_Lena | then after conecting the original charger : twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2 | 23:41 |
freemangordon | _Lena: ^^^ | 23:41 |
freemangordon | do that until you see kernel image flashed | 23:41 |
*** vi__ has quit IRC | 23:41 | |
DocScrutinizer05 | freemangordon: please check if on-device kerenl flashing not also checks for battery level - I seem to cliiudily recall sth like that | 23:41 |
freemangordon | or post whatever error you get | 23:41 |
freemangordon | DocScrutinizer05: don;t know, lets see | 23:41 |
DocScrutinizer05 | freemangordon: see if you can get proper *real* charge level values from _Lena | 23:42 |
DocScrutinizer05 | btw _Lena = she? | 23:42 |
freemangordon | sounds like | 23:43 |
_Lena | yes, female | 23:43 |
DocScrutinizer05 | (if so then sorry, we're not used to fenale users here ;-D) | 23:43 |
kerio | DocScrutinizer05: it's what i would've guessed, but i'm not german | 23:43 |
_Lena | i imagine, i am used to that ;) | 23:44 |
DocScrutinizer05 | kerio: german? http://webchat.freenode.net | 23:44 |
freemangordon | _Lena: anyway, how is the on-device kernel flashing going? | 23:44 |
freemangordon | aah, wait | 23:44 |
_Lena | till noow ok | 23:45 |
kerio | DocScrutinizer05: ip is german too | 23:45 |
freemangordon | kernel-bfs most probably conflicts with it | 23:45 |
_Lena | ready | 23:45 |
DocScrutinizer05 | kerio: :-) | 23:45 |
freemangordon | ready? | 23:45 |
_Lena | Unpacking replacement kernel-modules ... Setting up kernel (2.6.28-20103103+0m5) ... Setting up kernel-modules (2.6.28-20103103+0m5) ... Setting up kernel-flasher (2.6.28-20103103+0m5) ... initctl: Job not changed: softupd Version 0.4.4 started Waiting for messages flasher v2.8.2 (Jan 8 2010) Image 'kernel', size 1705 kB Version 2.6.28-20103103+0m5 Using flashing protocol Mk II. ISI message from new source (10, 00) Found device RX-51, | 23:45 |
DocScrutinizer05 | it installed all 3 packages? | 23:45 |
freemangordon | looks ok so far | 23:45 |
DocScrutinizer05 | looks good | 23:45 |
freemangordon | _Lena: reboot | 23:46 |
_Lena | yes, liike the last time | 23:46 |
freemangordon | what? | 23:46 |
*** toxaris has quit IRC | 23:46 | |
freemangordon | hmm, I remember something like that on KP thread | 23:46 |
DocScrutinizer05 | kernel-flasher (2.6.28-20103103+0m5) ? | 23:46 |
DocScrutinizer05 | is this correct? fmg? | 23:46 |
freemangordon | DocScrutinizer05: yes, stock kernel | 23:46 |
freemangordon | (IIRC) | 23:46 |
DocScrutinizer05 | :nod: | 23:47 |
DocScrutinizer05 | just wanted to make sure | 23:47 |
freemangordon | not sure about the version | 23:47 |
DocScrutinizer05 | 20103103 looked odd | 23:47 |
*** guampa has quit IRC | 23:47 | |
DocScrutinizer05 | Installed: 2.6.28-20103103+0m5 | 23:48 |
freemangordon | yeah, this is the correct version | 23:48 |
freemangordon | http://repository.maemo.org/pool/fremantle/free/k/kernel/ | 23:48 |
DocScrutinizer05 | apt-cache policy kernel | 23:48 |
DocScrutinizer05 | ;-) | 23:48 |
freemangordon | :) | 23:49 |
freemangordon | I am on my PC :P | 23:49 |
_Lena | ok, at themoment i got usb (storagemode) conection to my pc | 23:49 |
_Lena | lets see if it will last | 23:49 |
freemangordon | DocScrutinizer05: And I suspect windoze will BSOD if I type that in cmd :P | 23:50 |
DocScrutinizer05 | hehehe | 23:50 |
DocScrutinizer05 | it'll nuke the south half of your country | 23:50 |
freemangordon | _Lena: if you have mass storage, charging should work too | 23:51 |
DocScrutinizer05 | indeed | 23:51 |
_Lena | yes, but i had that before, and later it stopped again | 23:51 |
DocScrutinizer05 | _Lena: you got h-e-n installed? | 23:51 |
freemangordon | _Lena: would you check which kernel runs now? | 23:52 |
DocScrutinizer05 | _Lena: could you `wget http://enivax.net/jk/n900/bq27200.sh` | 23:52 |
DocScrutinizer05 | _Lena: then execute that script | 23:52 |
freemangordon | DocScrutinizer05: i2ctools? | 23:52 |
DocScrutinizer05 | h-e-n | 23:52 |
freemangordon | aah | 23:52 |
freemangordon | yes | 23:53 |
freemangordon | DocScrutinizer05: does it nees bme to be stopped? | 23:53 |
freemangordon | *need | 23:53 |
DocScrutinizer05 | nope | 23:53 |
freemangordon | ok | 23:53 |
*** adb has quit IRC | 23:53 | |
DocScrutinizer05 | anyway a ps x|grep bme|grep -v grep would help too ;-) | 23:54 |
freemangordon | DocScrutinizer05: if bme does not run dsme will reboot the device | 23:54 |
DocScrutinizer05 | should yield 2 lines which _Lena can paste here | 23:54 |
freemangordon | ps x? | 23:54 |
_Lena | everything went fine, complaining not enough poower to charge (current sensing ok) then disconected the cable and not working again | 23:54 |
DocScrutinizer05 | ooops, that's my proper ps | 23:55 |
freemangordon | _Lena: hmm, and what about if you connect the wall charger? | 23:55 |
DocScrutinizer05 | _Lena: there's sth fscked up in your kernel modules or initscripts or whatever | 23:55 |
DocScrutinizer05 | I still suggest full reflash | 23:56 |
DocScrutinizer05 | well, COMBINED reflash | 23:56 |
freemangordon | DocScrutinizer05: deffinitely | 23:56 |
freemangordon | could it be that it is PC to blame? | 23:56 |
DocScrutinizer05 | if there been kernel-bfs, there might've been other weird stuff as well | 23:57 |
DocScrutinizer05 | anyway check with fastcharger! | 23:57 |
freemangordon | _Lena: check which kernel runs !!! | 23:57 |
_Lena | okk i executed the script | 23:57 |
DocScrutinizer05 | indeed :-D | 23:57 |
_Lena | shows nothing | 23:58 |
DocScrutinizer05 | nothing? | 23:58 |
DocScrutinizer05 | aah you neet root dor that | 23:58 |
DocScrutinizer05 | need | 23:58 |
DocScrutinizer05 | for | 23:58 |
freemangordon | for :P | 23:58 |
_Lena | i know, but nothing | 23:58 |
DocScrutinizer05 | o.O | 23:58 |
DocScrutinizer05 | well, not that important now | 23:58 |
_Lena | just the promt | 23:59 |
freemangordon | uname -a? | 23:59 |
_Lena | Nokia-N900:~# sudo ./bq27200.sh Nokia-N900:~# | 23:59 |
DocScrutinizer05 | it would just read out bq27200 chip and tell about *true* current to/from battery | 23:59 |
DocScrutinizer05 | as well as true bat voltage | 23:59 |
_Lena | Linux Nokia-N900 2.6.28.10-bfs10 #1 PREEMPT Wed Jan 4 22:28:20 EET 2012 armv7l unknown | 23:59 |
freemangordon | the fuck?!? | 23:59 |
DocScrutinizer05 | _Lena: sudo doesn't work like that | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!