irclog2html for #htc-linux on 20061102

01:12.06Kevin2Hi
01:48.20*** join/#htc-linux ivor (n=ivor@kde/developer/ivor)
02:00.26*** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com)
04:09.02*** join/#htc-linux rob_w (n=bob@p85.212.167.244.tisdip.tiscali.de)
06:53.48*** join/#htc-linux rob_w|mis (n=rob_w@p549BBCCD.dip0.t-ipconnect.de)
08:00.59*** join/#htc-linux dullard (n=jim@adsl-static-1-30.uklinux.net)
08:28.27*** join/#htc-linux booba (n=booba@AAnnecy-256-1-216-182.w90-9.abo.wanadoo.fr)
08:56.21*** join/#htc-linux rejon (n=rejon@64-121-195-22.c3-0.sfpo-ubr4.sfrn-sfpo.ca.cable.rcn.com)
08:56.38*** part/#htc-linux rejon (n=rejon@64-121-195-22.c3-0.sfpo-ubr4.sfrn-sfpo.ca.cable.rcn.com)
15:15.40*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
15:15.40*** topic/#htc-linux is HTC LINUX ! check also -> http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=BlueangelResearch | http://gnulinux.biz/files/ LOGS: at http://ibot.rikers.org/%23htc-linux/
16:16.12*** join/#htc-linux lamikr (n=chatzill@aragorn.kortex.jyu.fi)
16:39.02*** join/#htc-linux LunohoD (n=alex@e180109115.adsl.alicedsl.de)
16:56.36*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
17:19.54lkcli've cut out practically everything - got a little bit more to remove e.g. the ts and udc from arch/arm/mach-pxa/htcsable/Makefile - and i'm still getting unrecognised filesystem on the root partition
17:23.56*** join/#htc-linux pleemans (n=peter@d51A5E421.access.telenet.be)
17:25.27lkclit was cos of the .gz extension on initrd26.gz - gnuharet.exe doesn't like fileextensions
17:25.30lkclARSE!
17:33.35psokolovskylkcl, mega-lol ;-)
17:34.16psokolovskylkcl, just in case, you *should* use quotes around any string params, period. I'll make mailline haret error on otherwise.
17:35.36lkclnggh
17:35.41lkcloh yeh.
17:35.44lkclarse
17:37.07lkclhmm, mmc has been mounted read-only...
17:38.54lkcloff we go again...
17:39.16lkclmmc loaded read-only... hmmm...
17:40.28lkclhmm... anyone know how to make devfs the default?
17:40.55lkcl/dev/mmc/blk0/part2 doesn't exist
17:44.24lkclhmm, /dev was missing from the initrd /etc/fstab
17:45.58lkclhmm i think i gonna have to have a mknod in the /linuxrc for /dev/mmcblk0p2.  YUK!
17:47.03psokolovskydevfs is dead
17:47.12psokolovskyjust create static in /dev
17:47.20psokolovskyin initrd image
17:47.36psokolovskyotherwise, udev is the answer
17:48.02lkclah much joy.
17:48.19lkcludev in an initrd.  just what the debian guys didn't order.  hurrah!
17:48.47psokolovskyI use static entry in /dev for hack initrd ;-)
17:49.05lkcldebian is the odd-one-out: gentoo don't use initrd, deadrat and suse use udev/uclibc, debian use some weirdness...
17:49.13lkclwhich causes much aggro with se/linux...
17:49.46lkclgotta stop this mmc card from being mounted auto-read-only, next...
17:51.27lkclwtf mmcblk0 being recognised as a read-only device???
17:53.01psokolovskyso, it recongizes  some signal as such ;-)
17:53.21lkclhmmm....
17:53.26lkclbastards.
17:53.54*** join/#htc-linux g3gg0_ (n=g3gg0@ppp-62-245-160-34.dynamic.mnet-online.de)
17:54.49lkclbut only a little bit because it's a nice table
17:55.42psokolovskywhy worry such? it's all solvable ;-)
17:56.28psokolovskyiirc, r/o bit comes from asic3 sdio controller, but cr2 already mentioned  there're issues with that on htc models
17:56.40lkclyeh he did
17:56.47psokolovskyfind twhat to use instead, let's add handler for that
17:57.43lkcloh i ain't worrying
17:58.17*** join/#htc-linux asylumed (n=insanity@196.211.28.91)
17:58.42psokolovskymaybe the bit is just inverted, lol?
17:59.02psokolovskyasylumed, Hi! just committed uour udc pathc
17:59.06psokolovskypatch
17:59.38asylumed:)
17:59.44asylumedawesome...
17:59.55psokolovskywhat is resume issue exactly?
18:00.15asylumedit dies in __wake_up_common...
18:00.21asylumedkilling various processes
18:00.27asylumednone in particular...
18:00.48psokolovskyany dmesg dump?
18:00.49asylumed(things die in __wake_up_common for various reasons it seems...
18:00.51asylumed)
18:01.20asylumedshall i mail them to you?
18:01.28asylumed(or kernel discuss?)
18:01.31psokolovskyasylumed, yeah, feel free
18:01.32asylumedi'm stumped...
18:01.33lkclah... yeh good point... _let's_ try just... ignoring that bit :)
18:01.46lkclseveral other bits have been inverted, so far, already...
18:01.49psokolovskyasylumed, feel free to ML too.
18:02.25psokolovskyasylumed, do you care about MSCx PXA regs on resume?
18:02.58lkcli should really be doing this with nfs not initrd - i can make, rmmod, etc...
18:03.05lkclxxxx it can't be bothered :)
18:03.47psokolovskylkcl, well, do you have resume issues too? any care for MSC?
18:04.26lkclresume?  what's MSC?
18:04.32psokolovskylkcl, I meant, try to activate lock and mount that ;-)
18:04.39lkclresume issues?
18:04.44psokolovskylkcl, memory config regs
18:04.49lkclsorry dude i have no idea what you mean
18:04.57psokolovskylkcl, yes, did you report them for sable?
18:05.05lkclabsolutely not a clue.
18:05.19psokolovskyresume works on sable?
18:05.26lkcloh - you mean here: http://wiki.xda-developers.com/index.php?pagename=Ipaq6915_Research
18:05.37asylumedMSCx?
18:05.53lkclit's all numbers to me ...
18:06.04lkcl<PROTECTED>
18:06.04lkcl<PROTECTED>
18:06.05lkcl<PROTECTED>
18:06.11psokolovskylkcl, asylumed, yeah
18:06.12lkclno idea what they are
18:06.33*** join/#htc-linux rejon (n=rejon@adsl-75-5-124-98.dsl.pltn13.sbcglobal.net)
18:06.37psokolovskyper Linux èùùåäùôâóê çêùåùñùäá èùùåäùôâóê ûðùãäâ åôëó ñôêó ùà åðùûó
18:07.13psokolovskysh&t
18:07.34psokolovskyper Linux bootloader protocol, MSCx should be handled by bootloader
18:07.53psokolovskybutt they are crucial for system work, including after resume
18:08.26lkclah ha!  am getting somewhere - ignoring ro worked...
18:08.30asylumed:)
18:08.36asylumedworked for me too :P
18:10.20lkcloops...
18:10.31lkclexec /sbin/init and it went 'blerk'...
18:10.46lkclhey at least i got a familiar login: prompt!
18:12.53psokolovskyasylumed, lkcl: you're listening about MSCx? how do you handle them?
18:13.11*** join/#htc-linux ljp (n=lpotter@203.94.178.46)
18:13.23asylumedi don't myself...
18:13.40asylumedthere is some old suspend code that seems to save them i think
18:13.52asylumedbut there's little about them in the resume function...
18:13.52lkclhaven't got that far, psokolovsky
18:14.34psokolovskyasylumed, are you sure? until you get the thing settled, you won't have working resume
18:14.36lkcllike ... _really_ haven't got a clue.  am more concerned about devices and drivers at this stage.  there are other people more knowledgeable who know about pxa n stuff than i
18:14.51psokolovskyasylumed, but I don' think your current issues related to that though...
18:14.59lkcli'd like... y'know... a keyboard, sound, and to recognise the serial device first :)
18:15.04psokolovskylkcl, ok, just fyi
18:15.20lkclactually i'll settle for just sound and the gsm serial link
18:15.32psokolovskyI banged my head for 3 month about that issue with h4000 ;-).
18:15.55asylumedk
18:15.56lkcl_why_ do we do this???
18:16.09psokolovskyasylumed, make sure you cc: dmesg to me, as MLs doens't work as of now ;-(
18:16.29lkcli've worked on/with the himalaya, the blueangel, the universal and now the sable - and i _still_ don't get it
18:16.35lkcloh well
18:16.43lkclnow.  where was i
18:17.01asylumedpsokolovsky: sent
18:17.08lkclarse.
18:17.10lkclinitrd.
18:17.17lkclanyone got a good initrd i can start from?
18:17.25lkclone suited to 2.6.17?
18:17.37psokolovskyasylumed, got them
18:17.46lkcland perhaps an opie/familiar .gz that uses udev?
18:18.12lkclcos cr2's universal initrd and opie/familiar are suitable for 2.6.12 - with devfs of course
18:18.12psokolovskylkcl, I used old good initrd made by unknown few years ago (was that you? ;-)). Works with any kernel ;-E
18:18.27lkclyeh *sigh* it was probably me...
18:18.32psokolovskylkcl, use 0.8.4 image closest to your hw
18:18.47lkclis it the one with xfbdev and dropbear in it?
18:19.05psokolovskylkcl, dropbear, yes, but no X at all
18:19.36psokolovskyit has "rootme" as root passwd if that uncovers its personality ;-)
18:28.07psokolovskyasylumed, is blueangel_suspend.c is CVS up to date with what you use?
18:28.35asylumedyip... using the version in cvs
18:30.59psokolovskyasylumed, excuse me, but what crap is done there?  lotsa memory is overwritten without being preserved, and you expect that to work?
18:31.13psokolovskyrob_w: any comments?
18:31.15asylumedpsokolovsky: yeah... was comparing that to the other pxa devices...
18:31.26asylumedpsokolovsky: tried commenting some of it out at a time...
18:31.32asylumedpsokolovsky: never resumed...
18:31.49asylumedpsokolovsky: (left the wake up on power button in)
18:32.30psokolovskyasylumed, you should preserve all the mmeory it barfs to, 48 bytes at memstart at least
18:32.59psokolovskyasylumed, also, remoev any asic3 stuff from it. asic3_base is what we have to handle any asic3 suspend/resume chores.
18:33.13asylumedi did :)
18:33.24asylumedright this moment...
18:34.28psokolovskymemgpio is likely not needed too
18:36.25asylumed:/ it froze without it...
18:37.48psokolovskyasylumed, PXA handling code should preserve all "user-level" register of PXA itself
18:38.07psokolovskyagain, it doens't preserve few "system-level", like MSCx
18:39.06asylumedany examples? (like a device that does mess with them on resume and suspend?)
18:39.20psokolovskyasylumed, anyway, maybe that's what another creep-breed of HTC bootloader in blueangle wants to have. But again, you should rpeserve memory area where it is dumped too.
18:39.34psokolovskyasylumed, h4000
18:39.39asylumedk
18:39.54psokolovskyh4000_pm.c
18:40.09asylumedyeah... having a look
18:41.18asylumedeish... where can those values be sourced? can they just be read before suspend?
18:41.35psokolovskyasylumed, sure
18:42.18psokolovskyasylumed, again, it's bootloader matter. h4000 bootloader doesn't initialize MSC registers before jumping to "resume routine"
18:42.50psokolovskyasylumed, some other pocketpc bootloader may initialize. but to be on safe side, better to just set them in init/resume code, voila
18:43.11asylumedwill try that now...
18:43.31asylumedalso... any idea what the code is doing with all those other registers?
18:44.07psokolovskyasylumed, you see, there're 2 types of pocketpc bootloaders: easy and f^%&ed up
18:44.41psokolovskyeasy ones after resume will just jump back at address stored in predefined address in memory
18:45.08asylumedand this is where the blueangel comes in it seems :P
18:45.20psokolovskyf$@#$% up will be calculating checksums on memory, etc, etc, tehn restore some of regsters, and only then jump where needed ;-)
18:45.49psokolovskyasylumed, h4000 is example of "easy". h3900, hx4700, blueangel of another one ;-)
18:46.38psokolovskybut I heard from Palm people that PalmOS is where the real fun lives ;-)
18:46.53psokolovskythey can't have resume support for few models w/o reflashing ;-)
18:47.14asylumedsince it *does* resume... kinda... i'll try saving memory now quickly... then the MSCx's too
18:47.23psokolovskyasylumed, yep
18:48.07asylumedwell well well
18:48.17asylumedno crash ! well... still no crash
18:49.59psokolovskytry few suspend/resumes in row, and count when it hangs ;-)
18:50.18asylumednumber 2...
18:50.35asylumednumber 3 :)
18:50.55asylumedpsokolovsky: thx man...
18:51.22psokolovskyasylumed, cool, glad it worked out!
18:51.59asylumedhmm... ok... now i just need to know why you said 48 bytes?
18:52.57asylumeduint * 10 + ?
18:53.16psokolovskystatic unsigned long calc_csum(u32 *buf) {
18:53.20psokolovskyfor(i = 0 ; i < 48 ; i++)
18:53.29psokolovskyit counts checksum on 48 bytes
18:53.51psokolovskyso, naive thought is that it doens't need anything else
18:54.04psokolovskyit == bootloader
18:54.11asylumedyeah...
18:54.16psokolovskyagain, just naive ;-)
18:54.47psokolovskyyou should disassemble bootloader yourself to be sure, or leave everything as is for now, and catch rob_w or someone and ask
18:54.47asylumedbut i worry about the other addresses it's writing over like 0xa0000c00 ?
18:55.19asylumedwill you accept the patch that makes thing work for now?
18:55.38asylumed(after i test it summore)
18:55.41psokolovskysure
19:03.28*** part/#htc-linux rejon (n=rejon@adsl-75-5-124-98.dsl.pltn13.sbcglobal.net)
19:10.37*** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
19:24.02*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
19:30.06*** join/#htc-linux Kmarc (i=kari@markos.biz) [NETSPLIT VICTIM]
19:34.40*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
20:05.54lkclholy cow - you got suspend/resume working on the blueangel?
20:14.29*** join/#htc-linux xery (i=jaahans@dsl-olubrasgw1-fec9de00-173.dhcp.inet.fi)
20:15.18lkclanyone know how to unpack a jffs2 partition?
20:16.29lkclok i found this http://familiar.handhelds.org/releases/v0.8.4/install/files/hx4700/opie-image-v0.8.4-ipaq-pxa270.rootfs.tar.bz2
20:29.24asylumedlkcl: yeah :) stoked
20:36.37*** join/#htc-linux pH5 (n=ph5@e178204216.adsl.alicedsl.de)
20:37.48lkclwhoaaaa screen just went white - is that supposed to happen on opie?
20:38.12lkclhmmm....
20:38.17lkclallo pH5
20:39.47pH5hey lkcl
20:42.03lkclbootstrap-image time, instead....
20:42.18*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
20:42.35lkcli found my other two mini-sdcards... on the damn floor.
20:47.48lkclwhat the _hell_ does the opie / bootstrap stuff _do_???  it just wiped out the screen - even the bootstrap stuff.
20:48.35pH5lkcl: kernel console blanking?
20:49.23lkclnaah - this was more... kinda... fade to white.  i've seen it before on himalaya-going-wrong
20:49.45lkclyou know the one - where it looks like the lcd has been powered off but the backlight is still on
20:49.52lkclok.  tired.  rest time
20:50.12pH5rest well
20:50.40lkclback later
21:11.45*** join/#htc-linux rob_w (n=bob@p85.212.133.249.tisdip.tiscali.de)
22:50.29*** join/#htc-linux florian_ (n=fuchs@84-245-181-237.bln.bpool.celox.de)
23:22.57*** part/#htc-linux pH5 (n=ph5@e178204216.adsl.alicedsl.de)
23:23.12psokolovskylkcl, please don't commit patches to common drivers without discussing them on kernel-discuss
23:23.46psokolovskylkcl, also, please don't commit device-specific hacks to common drivers without first having them accepted upstream
23:23.52psokolovskythanks ;-)
23:27.31psokolovskylkcl, confirmed to be a-bad-thing, going to revert
23:29.36lkclque, que?
23:29.40lkcloops.
23:29.56lkcli like bad.
23:30.30lkcl... you mean... i can't just... like... hack things into submission?
23:31.14psokolovskylkcl, yep, we're struggling to make HH.org *cleaner* and start submit stuff upstream, not dirtier
23:31.15lkcl... perhaps now would be a good time to point me in the direction of a page describing thingies.  conventions-which-really-should-be-followed.
23:32.37psokolovskylkcl, the thing is that we kinda have port maintainers which are free to have lead on their port, but for common stuff, we follow the same procedure as main kernel - conservative community review ;-)
23:32.39lkclso i don't make mistakes like that
23:33.02lkclok - that's the sort of thing i need to know about
23:33.21lkcl... did someone have the foresight to write that kind of thing down?
23:33.22psokolovskylkcl, well, the idea is simple - device independent drivers should not have any device-dependent bits. mmc_block is such driver
23:33.40psokolovskylkcl, yes, we all ;-)
23:33.49lkclhurrah!
23:34.19psokolovskythe general idea is that we should ask review/suggestion for all stuff on kernel-discuss
23:35.06psokolovskylkcl, so, I'd appreciated if you reverted that patch, and let's think how to solve it properly (asic3_mmc.c would be appropriate level to sort this out)
23:35.15lkclack.
23:36.04lkclhmm... don't have a ... oh cvs diff -D '1 day ago' will do it.  darn been a long time since i used cvs...
23:36.48lkclok done
23:36.52*** join/#htc-linux ivor (n=ivor@kde/developer/ivor)
23:37.47psokolovskylkcl, Thanks!
23:39.38psokolovskylkcl, you're on kernel-discuss, right?
23:40.00lkclno prob
23:41.53lkcli used to be on about 100 to 150 _detailed_ emails a day - it cured me of mailing lists, for life.  that, and the samba shit.  they _still_ haven't apologised, but have acknowledged, privately (not to me) that the things i was talking about were right.
23:42.21psokolovskylkcl, sorry for such a questions, just as I told, can't seem to get cr2 on it ;-)
23:42.25lkclwhich made their treatment of me _absolutely_ unnecessary.
23:43.18psokolovskyso, let's dicuss the issues there once it's live again (and cr2's experience with that issue would help too)
23:43.28lkclwell... to be honest, some of my best work - and best working practices - have been through wikis and irc.  some of the worst, most ineffective and socially completely unacceptable working practices i've seen have been through mailing lists.
23:43.34lkclack, dude.
23:44.34psokolovskywell, I agree partly, IRC is pretty good for quick work. But it's easy to miss something when using only irc, so maillist have their use too.
23:44.38lkclas we're way off topic, anyway, i might as well mention that i've been meaning to write this up for some time (the irc+wiki vs mailing lists thing)
23:44.51lkclwell, 'missing' something is what the irc logs plus the wiki is for.
23:45.29psokolovskylkcl, I'm trying to do some maintence on HH.org wiki. Well, many things I perceive, again, need to be run thru other people first...
23:45.34lkclwikis remind you, in an ordered fashion, of what you _should_ have remembered via the mailing lists.  you don't get repeat me-too questions as much.
23:45.44lkcli understand.
23:46.29lkcli mean - heck - even _i_ have a hard time returning to this stuff after each 6-10 month break.  wikis are an absolute god-send.
23:46.32lkclanyway.
23:46.49lkclwhat am i going to try to break, next, is what i wanna know.
23:54.56*** join/#htc-linux g3gg0_ (n=g3gg0@ppp-62-245-160-34.dynamic.mnet-online.de)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.