**** BEGIN LOGGING AT Tue Mar 26 02:59:58 2013 Mar 26 03:25:56 hi,guys,optware bootstrap will create a 128M ext3fs file,how to change the size?such as 3G Mar 26 03:29:01 young001, you need to resize the optware file as if you would an extended 3 filesystem Mar 26 03:29:25 it is located in /media/cryptofs/optware.ext3 i do believe Mar 26 03:44:13 sadface. WDK gave this error Mar 26 03:44:22 dirname operand error Mar 26 03:50:20 /media/ext3fs Mar 26 03:54:03 derp Mar 26 03:54:09 forgot to do some steps Mar 26 03:57:19 gah Mar 26 03:57:32 damn you HP. anyone know where to get the jpgsrc tarball from? Mar 26 04:53:12 young001: rather than resize optware.ext3, create an ext3fs partition with Tailor Mar 26 04:53:38 csc`: any sources which where used by WebOS Internals builds of any kind should be in our sources mirror Mar 26 04:54:13 (http://sources.nslu2-linux.org/sources/) <- warning, very big directory listing Mar 26 04:54:57 http://sources.nslu2-linux.org/sources/jpegsrc.v8b.tar.gz seems to be the latest we have used for jpegsrc Mar 26 04:55:12 we also have 6b and 7 there too Mar 26 04:55:24 and patches for 6b Mar 26 04:59:47 wasnt the links fixed? Mar 26 05:24:34 rwhitby, mine is 1.4.5 :( Mar 26 05:25:34 csc`, sorry,what u means is to extends the filesystem? Mar 26 05:26:26 rwhitby, yeah thats what i presumed when he said something :P Mar 26 05:26:30 i cant use tailor either Mar 26 05:26:40 young001, what device Mar 26 05:26:44 pre or pixi? Mar 26 05:26:50 csc`, pre plus Mar 26 05:28:04 the file is stored in /media/cryptofs/ Mar 26 05:28:11 its named optware.ext3 Mar 26 05:28:24 you just need to resize it via commandline like you would a regular drive Mar 26 05:29:14 rwhitby, plus i favor the filesystem image approach over resizing the flash Mar 26 05:29:34 csc`, I install optware bootstrap from preware,and it create /dev/loop0 and mount it to /opt Mar 26 05:29:48 yes, im aware Mar 26 05:30:01 do you have a terminal available, or can you novaterm into your pre Mar 26 05:30:14 csc`, yeah Mar 26 05:30:37 umount /media/cryptofs/optware.ex3 Mar 26 05:30:44 umount /media/cryptofs/optware.ext3 Mar 26 05:30:49 csc`, when I use `df -h`,it tells size 124M Mar 26 05:30:50 ok Mar 26 05:31:30 fsck -n /media/cryptofs/optware.ext3 Mar 26 05:31:50 csc`, can't umount /media.../optware.ext3:invalid argument Mar 26 05:31:57 hmm Mar 26 05:32:07 lemme do this while i tell you Mar 26 05:32:10 because i need to do it anyway Mar 26 05:32:19 csc`, thx Mar 26 05:32:59 im dumb when it comes to doing advanced things like this sometimes Mar 26 05:33:45 umount /opt && mount | grep /opt Mar 26 05:33:54 should show nothing Mar 26 05:34:43 csc`, oh,umount /opt tells umount:cannot umount /opt device or resource busy Mar 26 05:34:44 fsck -n /media/cryptofs/optware.ext3 Mar 26 05:34:58 what directory are you in? Mar 26 05:35:00 are you running software from opt? Mar 26 05:35:17 because im doing this and its working fine.. Mar 26 05:35:20 csc`, / Mar 26 05:35:38 let me reboot it and see what comes Mar 26 05:36:17 young001, yeah. somethings up Mar 26 05:36:54 did you install any optware or just the image? Mar 26 05:37:28 csc`, I have insalled some soft Mar 26 05:37:39 does that matter? Mar 26 05:37:44 yes Mar 26 05:37:51 what did you install Mar 26 05:38:00 csc`, mysql python Mar 26 05:38:18 mysql daemon? Mar 26 05:38:38 csc`, just ipkg-opt install mysql Mar 26 05:38:47 csc`, so I guess yes Mar 26 05:39:13 uninstall it Mar 26 05:39:24 or stop the service Mar 26 05:39:24 thats whats conflicting Mar 26 05:39:39 man im going to write a damn bash script to safely resize the optware partition Mar 26 05:40:05 so people dont have these issues Mar 26 05:40:19 no mysql demon Mar 26 05:40:20 and im already on the resizing step, so my instructions /will/ work, young001 Mar 26 05:40:45 csc`, thx Mar 26 05:41:08 csc`, I wanna install ubuntu on my pre :) Mar 26 05:41:19 i dont think that will work with an optware image Mar 26 05:41:30 i think it has to be a dedicated filesystem Mar 26 05:41:54 csc`, because I have no space left Mar 26 05:43:50 csc`, umount optware.ext3 tells cannot umount optware.ext3:invalid argument,so I guess it is not about /opt or something else but just optware.ext3 Mar 26 05:44:21 i ran every instruction i gave you, it works. Mar 26 05:44:51 but it fail on my pre,damn Mar 26 05:45:13 http://www.howtoforge.com/linux_resizing_ext3_partitions Mar 26 05:45:14 using that Mar 26 05:46:41 csc`, I have tried this page yesterday,it seems I can't just use optware.ext3 as the argument Mar 26 05:47:37 you need to use the full path Mar 26 05:48:11 I know I just use the full path and it tells that Mar 26 05:48:29 then something is seriously wrong somewhere Mar 26 05:48:29 how old is this pre Mar 26 05:49:00 3years Mar 26 05:49:42 heavy use? Mar 26 05:49:52 csc`, I just konw the optware,and I get the pre out from the drawer to make some interesting Mar 26 05:50:11 csc`, not really Mar 26 05:50:35 weird Mar 26 05:50:48 i really dunno what to tell you man, other than the crappy generic 'Doctor time' Mar 26 05:51:40 csc`, I 'm using meta doctor to patch a rom,I may give up and turn to doctor time :) Mar 26 05:51:57 if you want ubuntu running on it Mar 26 05:52:02 just go and nuke the pre Mar 26 05:52:12 follow the meta doctor instructions on the wiki for the ubuntu chroot Mar 26 05:52:21 just start from scratch Mar 26 05:52:25 csc`, yeah,I'm reading that Mar 26 06:06:51 god this is so slow Mar 26 06:06:55 why did i do 2 gigs Mar 26 06:06:58 WHY Mar 26 06:36:56 csc`: I use filesystem so that loopfs doesn't prohibit USB mode. Mar 26 06:37:23 (filesystem = make an ext3fs partition, rather than an image file) Mar 26 06:37:49 but of course I created both methods so people such as yourself have a choice Mar 26 13:01:42 It is a morning, and I do not approve. Mar 26 13:51:09 cat-xeger, you're distant cousin woke me up again at 830 Mar 26 13:51:12 * csc` does not approve Mar 26 13:52:21 rwhitby, i have never had any issues with usb mode and the optware package...or is that what you're saying. Either separate partition, real or image, else usbmode breaks? Mar 26 13:52:32 young001, /dev/loop0 484.1M 82.4M 376.7M 18% /opt Mar 26 13:52:39 :P Mar 26 14:15:46 csc`: he's saying using loopback mount from /media/internal/ interferes with usbmode while mounted (since IIRC usbmode tries to unmount /media/internal) Mar 26 14:15:52 csc`: anyway, read here: http://www.webos-internals.org/wiki/Tutorials_Linux_opt_on_loopback Mar 26 14:16:33 doesnt palm use lvm though? Mar 26 14:17:32 meh. nevermind. im still in POST Mar 26 14:18:04 csc`: What do you mean? I'm saying the problem is if you throw /opt on /media/internal then services like ssh/etc will have open fd's to it, making it impossible to (sanely) unmount it. Mar 26 14:18:10 csc`: hehe, okay. POST? Mar 26 14:18:37 you know when you turn a computer on Mar 26 14:18:59 in other words, still waking up Mar 26 14:19:15 Also trying to properly configure an IRC network on my VPS Mar 26 14:21:06 which i may as well start banging my head on the keyboard to write the lines Mar 26 14:21:08 heh Mar 26 14:23:24 oh, sure. Due to context was trying (and failing) to make it into an acronym describing what you mean, haha. Wanted Pre-Ordinary-Startup-...Coffee Mar 26 14:23:59 * dtzWill runs off to class and work Mar 26 14:26:12 * csc` throws a brick at dtzWill before he closes the door Mar 26 14:26:16 D: Mar 26 15:22:10 that should work ok-ish for webos2+ Mar 26 15:22:30 usb mode works, and I think as long as you don't do a whole lot with it in usb mode, things still work Mar 26 15:31:28 eh ive had weird issues with usb mode Mar 26 15:31:58 but i was also trying to usb tether in windows which i still never got working right. Worked fine in linux, so i usb->ethernet bridged and routed that into another router then to the windows machine Mar 26 15:52:19 http://forums.webosnation.com/webos-development/323854-odamex-may-coming-palm-near-you.html Mar 26 15:52:32 =3 hope that stirs more interest than the last thread did Mar 26 15:56:26 work time, laters Mar 26 16:03:51 yea I never got that working, thoguh I didn't try for very long Mar 26 16:03:56 I blame windows Mar 26 20:09:53 young001, ever get it working? Mar 26 21:05:43 Hrm. Hope I can get Odamex running on the Touchpad Mar 26 22:26:24 csc`: how does the odamex stuff? Mar 26 22:27:48 * dtzWill pokes at it Mar 26 22:29:19 havent finished the wdk build yet Mar 26 22:29:34 too busy raging at the impossible vacuum mode in Galcon fusion on grand admiral Mar 26 22:29:42 * csc` rages pretty hard Mar 26 22:30:22 csc`: widk needs patches, i lost my key for commit access and pinged ka6sox/rwhitby with them. I can forward if you'd like. Mar 26 22:30:33 csc`: anyway looks like you don't need WIDK, just an ol' pdk'll do Mar 26 22:30:38 toolchain+sdl headers==ship it Mar 26 22:30:55 eh? Mar 26 22:30:56 if you're on ubuntu, the linux pkd should just be a deb install or something Mar 26 22:31:04 i have the 2.x sdk, yeah Mar 26 22:31:12 how do i shot head Mar 26 22:31:17 er, web Mar 26 22:31:18 csc`: then use that to build the package Mar 26 22:31:19 uh Mar 26 22:31:20 1 sec Mar 26 22:31:59 * dtzWill has odamex running with video and sound Mar 26 22:32:00 lol Mar 26 22:32:09 neato Mar 26 22:32:15 it play alright? Mar 26 22:32:18 * dtzWill trying to figure out how to sanely get you same point Mar 26 22:32:21 input works? Mar 26 22:32:30 well, input's gonna need work, but yeah actually i can click around and shoot Mar 26 22:32:38 apparently mouse can cause movement too? I'm moving somewhat Mar 26 22:32:42 yeah Mar 26 22:32:48 mouse can cause movement Mar 26 22:32:58 you can..wait, shit, webos has no esc key Mar 26 22:33:04 oh no Mar 26 22:33:17 IIRC 'back swipe' is treated as 'esc' keycode Mar 26 22:33:23 ah Mar 26 22:33:23 that said, touchpad doesn't have one Mar 26 22:33:26 playing on my pre3 fwiw Mar 26 22:33:28 well you can configure it Mar 26 22:33:40 to adjust the movement speed and sensitivity Mar 26 22:33:48 had to kludge the code to not die if run as root (since i'm too lazy to package this atm) and b)avoid using SDL_ListModes to get videomode Mar 26 22:33:59 oh yeah Mar 26 22:34:03 i forgot to mention that Mar 26 22:34:05 i'll let you make it playable, i iamgine you have a much better idea what you're doing than i do anyway Mar 26 22:34:06 but its listed in my documentation Mar 26 22:34:19 csc`: oh, sorry. You had this documented? haha :3 Mar 26 22:34:25 http://forums.webosnation.com/webos-development/323854-odamex-may-coming-palm-near-you.html Mar 26 22:34:28 * dtzWill is re-inventing the wheel Mar 26 22:34:29 * dtzWill clicky Mar 26 22:34:29 see prior post linked Mar 26 22:34:40 yeah ive been at this since october of last year :( Mar 26 22:34:49 eagerly waiting your email :< Mar 26 22:35:14 dtzWill, take a picture of your pre3 running it if you dont mind Mar 26 22:35:27 csc`: to be clear, you're not using x/x11/xserver in any way for this, right? :) Mar 26 22:35:34 not anymore, no Mar 26 22:35:38 great, kk Mar 26 22:35:40 but i was Mar 26 22:36:00 as time goes on, compatibility with the armv6 core will falter Mar 26 22:36:08 dr_sean loves floating point math Mar 26 22:36:15 haha Mar 26 22:36:29 okay so you can already build it, sorry I didn't realize that. Whatcha using WIDK for then? Mar 26 22:36:43 i thought you were still at the "let's get this running" stage. Mar 26 22:36:53 i can build it on the device Mar 26 22:37:02 but sdl-dev isnt present, and outdated on 1.4.5 Mar 26 22:37:16 if you have a copy of the pdk, i can give you a cmake toolchain file to get the thing building.. Mar 26 22:37:17 so i had to compile a new copy of sdl Mar 26 22:37:27 yeah i have a copy installed Mar 26 22:37:30 that'd be awesome Mar 26 22:37:53 dtzWill, Dr_sean wants to know if its sluggish at all, rendering wise Mar 26 22:38:16 csc`: http://wdtz.org/files/webos.cmake is a *guide* to what you'll want Mar 26 22:38:36 then just 'cmake -DCMAKE_TOOLCHAIN_FILE=webos.cmake .' and away you got Mar 26 22:38:52 I unfortunately don't have copy of the PDK installed, so i'm actually using the staging directories from the WIDK Mar 26 22:38:59 but with minor modification you should be able to use same idea Mar 26 22:39:10 change ROOTFS_PATH to be /opt/PalmPDK or w/e Mar 26 22:39:36 and the other things to match directories in there so cmake finds the right include/lib directories, as well as the library files themselves (libSDL.so) Mar 26 22:39:51 then you can build it on a computer and answer Dr_sean's questions Mar 26 22:40:03 * dtzWill will dutifully fire it up to see how sluggish-ish it is Mar 26 22:41:41 so how might i run it on my device without an ipk? Mar 26 22:41:44 just a terminal? Mar 26 22:41:59 hard to say since input is hard to control, but it could be smoother. I don't remember how sdldoom runs, for example, as a comparison point. Mar 26 22:42:14 if its not sluggish rendering wise, thats good Mar 26 22:42:15 csc`: yeah, i just used a terminal. novaterm works too. Mar 26 22:42:42 csc`: does it support timedemo or is that only quake? I remember using that to roughly bench the quake port.... Mar 26 22:43:07 dunno, demos are weird Mar 26 22:43:12 never heard of timedemo Mar 26 22:44:16 yeah, quake thing. just fired up demo but didn't do any timing stuff, just flew through it as fast as possible. fun to watch (esp for the impatient :3) but like I said kinda works as a benchmark :) Mar 26 22:45:01 anyway lmk if the toolchain file thingy gets you going, or if you have any questions/get stuck. Mar 26 22:46:24 csc`: also probably wanna set cflags at some point to what palm recommends (https://developer.palm.com/content/api/dev-guide/pdk/building-for-the-device.html#compiling-for-the-hp-preveer-and-pixi-smartphones) Mar 26 22:47:03 i changed it to /opt/PalmSDK and it built Mar 26 22:47:08 didnt do anything else besides that Mar 26 22:47:14 as well as possibly -ftree-vectorize or w/e it's called. MAkes much better use of the hardware than compiling w/o SIMD fp support. Mar 26 22:47:17 including the root removal Mar 26 22:47:25 csc`: :D hooray for that Mar 26 22:47:39 * csc` doesnt think armv7 code runs on a pentium m though Mar 26 22:47:59 csc`: errr no indeed. Sorry I thought you were targetting webos devices with this build? Mar 26 22:48:12 yeah Mar 26 22:48:21 i need to change the library and include directories Mar 26 22:48:23 lol Mar 26 22:48:38 dtzWill, you had to remove the root check code from the client, too, right Mar 26 22:48:38 errr so are you good to go re:building this for webos, then? Mar 26 22:48:54 oh, right. yes. Also had to kludge the listmodes stuff. Mar 26 22:49:06 (and hardcode what i knew to be the right resolution. there might be a saner way) Mar 26 22:49:42 hmm Mar 26 22:49:51 should be a conf issue Mar 26 22:50:40 well the code tries to SDL_ListModes, which palm's impl returns '-1' for or something fun. Mar 26 22:51:13 oh, also SDL_Init *needs* SDL_INIT_VIDEO to be specified the first time it's invoked, i had to fix that up in client/sdl/i_main.cpp Mar 26 22:52:10 root removal wasn't needed to build, just the check fails at runtime s'all :) Mar 26 22:52:28 aaaaanyway glhf, lmk if I can help further :) Mar 26 22:56:02 dtzWill, could i have a patch of your source changes if it isnt too much trouble? Mar 26 22:56:18 i really know next to nothing about C++ and it was a pain in the ass hunting down the root check to begin with Mar 27 00:41:29 my Pre3 is getting a lot of lint/dust under the lens cover. anyone in their hardware fiddling see a way to maybe get that out? **** ENDING LOGGING AT Wed Mar 27 02:59:58 2013