**** BEGIN LOGGING AT Sun Oct 16 02:59:56 2005 Oct 16 08:32:25 hello Oct 16 08:32:31 anyone is using perl on the slug? Oct 16 08:33:06 You running unslung? Oct 16 08:33:36 debian Oct 16 08:34:47 Ok then I am. But im no perl hacker, its installed atleast. Oct 16 08:34:52 i found it to be quite slow.. I was wondering if there are any speedup tricks.. Oct 16 08:40:54 <[g2]> dwery what are you doing with it ? Oct 16 08:43:17 [g2]: i need to run some scripts via cron, which performs some company-related operations.. it takes 8/10 seconds for perl to process all the "use MODULE;" directives.. but i think there's no solution to that Oct 16 08:43:50 <[g2]> you're running the Debian BE right ? Oct 16 08:44:09 <[g2]> I'm wondering how fast it'll take on a Loft that has 533 and 64MB Oct 16 08:45:02 Debian LE Oct 16 08:45:12 <[g2]> ok... Oct 16 08:45:17 I guess 2x/3x Oct 16 08:45:33 <[g2]> I'll also be interested BE/LE comparisons Oct 16 08:46:28 well.. I think the difference should be minimal Oct 16 08:46:52 <[g2]> maybe, maybe not Oct 16 08:46:58 <[g2]> that's why I like to check Oct 16 08:47:03 If you'll send me an eval board I will be more detailed :-D Oct 16 08:47:29 <[g2]> if you tell me your USE modules I'll run it right now :) Oct 16 08:48:20 <[g2]> I'll be right back... rebooting for X Oct 16 08:48:24 ok. let me remove company modules Oct 16 09:04:48 * Jacmet ponders attaching a nokia 3310 lcd to the slug Oct 16 09:04:57 like on the wrts: http://duff.dk/wrt54gs/pics/reuter_lcd.jpg Oct 16 09:07:37 Jacmet: i'vea 3310 lcd right here Oct 16 09:08:26 it;s currently connected to an usb dev board.. Oct 16 09:09:38 i didn;t know there was a framebuffer driver for the 3310 Oct 16 09:11:19 dwery: me too (or rather a old nokia gsm with flat battery) Oct 16 09:11:33 i bought them on ebay for a few bucks.. Oct 16 09:11:38 dwery: the openwrt people have hacked a framebuffer driver for it Oct 16 09:11:58 dwery: it's quite simple as it just talks spi Oct 16 09:12:08 dwery: http://duff.dk/wrt54gs/ Oct 16 09:12:19 the slug has no spare i/o lines, i will use my usb dev board to connect it Oct 16 09:12:29 dwery: or http://nanl.de/nanl/index.php?option=com_content&task=view&id=1&Itemid=2 Oct 16 09:13:02 dwery: I was thinking of piggybanking on the LEDs - I don't really need those anyway Oct 16 09:13:13 dwery: and as you just need 3 gpios .. Oct 16 09:13:30 it can be done. post a photo if you do please :0 Oct 16 09:13:31 :) Oct 16 09:13:38 i like the leds :) Oct 16 09:13:46 dwery: I will ;) Oct 16 09:14:07 dwery: I like them as well, but I think I'll prefer the LCD ;) Oct 16 09:14:21 where do you plan to place it? Oct 16 09:14:45 dwery: I can always put the leds on a i2c I/O extender - as long as I don't need to blink them too fast Oct 16 09:15:00 dwery: I'll try to squeeze it in the side of the box Oct 16 09:15:42 you may want to talk to the people who did this fb code in order to generalize it and have it in the kernel Oct 16 09:17:10 dwery: yes, currently it's very hacky Oct 16 09:17:51 the new driver model and an i2c like wat to pass the gpio pins around would do Oct 16 09:18:44 dwery: nowadays there's even a SPI subsystem like the I2C one, so you would keep the HW access completely outside the fb driver Oct 16 09:19:09 I haven't see it. where it is in the kernel? Oct 16 09:20:17 dwery: it may or may not be in mainline yet, but I've seen quite some patches about it lately - I think the originated from ppc Oct 16 09:20:27 ah ok :) Oct 16 09:20:46 because I may want to write a driver to do USB/SPI within that subsystem Oct 16 09:20:47 dwery: like http://seclists.org/lists/linux-kernel/2005/Oct/0277.html Oct 16 09:21:35 dwery: ok, I haven't really looked into it yet, but it doesn't look that complicated Oct 16 09:21:55 ye. I had no time to do more work on my adapter, but tests were promising Oct 16 09:21:58 <[g2]> dwery got that module list ? Oct 16 09:22:02 yes Oct 16 09:22:25 [g2]: http://rafb.net/paste/results/zmzalz85.html Oct 16 09:22:55 slug:/tmp# time ./test.pl Oct 16 09:22:55 real 0m4.104s Oct 16 09:22:55 user 0m3.370s Oct 16 09:22:55 sys 0m0.730s Oct 16 09:23:23 maybe the slowness is related to the disk i/o Oct 16 09:24:33 Is it in port 1 or 2 by the way? Oct 16 09:25:36 widrone: 1. does it matter? Oct 16 09:30:04 dwery: It should not, just asking. Oct 16 09:30:09 ok Oct 16 09:34:43 http://www.nslu2-linux.org/wiki/HowTo/EnableExtraUSBPorts <- Then this is a bit confusing to read anyway, it seems to read that maybe the 2nd port is an a low speed connection. Oct 16 09:37:57 <[g2]> dwery cpan's getting setup and installing bundle Oct 16 09:38:06 ok Oct 16 09:38:33 <[g2]> then I'll have to install any modules I don't have and can time it Oct 16 09:38:37 maybe i will setup a jffs2 witht the modules Oct 16 09:38:49 <[g2]> this is running from hd Oct 16 09:40:50 I've just notice that my 2nd slug does not recognize the flash.. Oct 16 09:41:03 will cross-check with my development one Oct 16 09:49:53 <[g2]> dwery Lunch time :( Oct 16 09:50:23 <[g2]> CPAN still installing stuff ... I post the results/question (if any q's) after lunch Oct 16 09:50:31 ok, see ya Oct 16 10:25:44 <[g2]> dwery LWP doesn't cleanly pass the tests for cpan>install LWP Oct 16 10:26:10 <[g2]> I guess it can be overridden but I don't know how much sense that makes Oct 16 10:26:20 let's remove it Oct 16 10:26:28 <[g2]> ok Oct 16 10:27:19 timed, real 3.8 - 4.2 Oct 16 10:27:45 <[g2]> now trying cpan> install XML Oct 16 10:29:39 <[g2]> install Bundle:XML is working much better :) Oct 16 10:34:57 <[g2]> heh... debian perl is not happy with me Oct 16 10:35:13 <[g2]> which version of perl are you running ? Oct 16 10:36:18 let me see... Oct 16 10:36:28 <[g2]> This has got 5.8-4 armeb-linux-thread-multi Oct 16 10:36:35 This is perl, v5.8.7 built for arm-linux-thread-multi Oct 16 10:38:15 <[g2]> dwery is that from unstable ? Oct 16 10:38:45 it should be testing Oct 16 10:39:17 <[g2]> ok.. I don't the the BE testing/unstable are in the repo yet but they are getting a lot closer Oct 16 10:40:59 i'm trying jffs2 . the ramdisk is /dev/mtd3 , right? Oct 16 10:41:49 <[g2]> there is no ramdisk with Openslug Oct 16 10:42:46 i mean if that one is the correct mtd device Oct 16 10:44:55 <[g2]> iirc jffs2 is normally mtdblock4 Oct 16 10:45:34 <[g2]> 0=Redboot,1=Sysconf,2=Linux,3=stub,4=jffs2 Oct 16 10:47:01 0x00000000-0x00040000 : "RedBoot" Oct 16 10:47:01 0x00040000-0x00060000 : "SysConf" Oct 16 10:47:01 0x00060000-0x00160000 : "Kernel" Oct 16 10:47:01 0x00160000-0x00180000 : "Ramdisk" Oct 16 10:47:02 0x007e0000-0x00800000 : "FIS directory" Oct 16 10:47:25 ? Oct 16 10:56:25 <[g2]> you're running LE right Oct 16 10:56:50 <[g2]> btw perl is much happier with things like XML::Simple :) Oct 16 10:57:44 le, right :) Oct 16 10:58:02 <[g2]> I don't know _jack_ about LE sorry :( Oct 16 10:58:10 <[g2]> or Jacmet :) Oct 16 11:03:57 <[g2]> dwery what do you get without LWP ? Oct 16 11:04:04 <[g2]> 3.8-4.2 ? Oct 16 11:04:19 3.8 4.2 secsw Oct 16 11:04:36 <[g2]> secsw ? Oct 16 11:05:33 seconds. Oct 16 11:05:49 the w is garbage :) Oct 16 11:06:00 <[g2]> ok. Oct 16 11:06:41 <[g2]> without LWP::Simple I get real 2.644s, user 2.250, sys 0.39 Oct 16 11:06:58 <[g2]> it's pretty consistent around that Oct 16 11:07:05 <[g2]> are you running from disk ? Oct 16 11:07:19 <[g2]> and this is with 5.8-4 (dunno if it matters) Oct 16 11:10:19 <[g2]> anybody know how to cut-n-paste from an xterm in IceWM ? Oct 16 11:11:02 [g2]: usb disk.. Oct 16 11:11:06 i have to go.. byee Oct 16 11:15:52 <[g2]> dwery-away ok.. same here Oct 16 11:16:21 <[g2]> dwery-away what's your hdparm number on the disk ? Oct 16 11:16:29 <[g2]> later on I'll check the logs Oct 16 11:25:36 11MB/sec Oct 16 11:26:09 <[g2]> dwery-away I get between 13-14MB/sec Oct 16 11:26:32 do you think it's USB or disk limit? Oct 16 11:26:53 <[g2]> the actual disk does 24-28MB/s on the P4 Oct 16 11:27:07 <[g2]> I was seeing 10-11 on the Slug Oct 16 11:27:35 <[g2]> I'm trying to understand the south side of the AHP Oct 16 11:27:42 <[g2]> and the PCI setting Oct 16 11:27:54 <[g2]> and the USB settings :) Oct 16 11:28:13 <[g2]> I'm guessing that there's lots of performance room in there Oct 16 11:28:52 <[g2]> I think the USB devces are setup to only have 1 outsanding disk transfer at a time Oct 16 11:29:04 ok, i'll check to log for your discoveries this night :-D Oct 16 11:29:16 <[g2]> it's gonna take a little while Oct 16 11:30:37 <[g2]> more X playing... bbiab Oct 16 13:51:04 03hrw 07org.openembedded.dev * r64742be1... 10/packages/dhcp/ (files/fixincludes.patch dhcp_3.0.1.bb dhcp_3.0.2.bb): Oct 16 13:51:04 dhcp: added patch to fix build problem - close bug #400 Oct 16 13:51:04 - patch add into tr.c Oct 16 13:51:04 - resolution provided by Stefan Sander Oct 16 13:51:13 03hrw 07org.openembedded.dev * rd795eb67... 10/packages/bluez/bluez-hcidump_1.26.bb: bluez-hcidump: added 1.26 (close bug #398) Oct 16 14:36:13 03hrw 07org.openembedded.dev * r411080ac... 10/packages/ (12 files in 2 dirs): DejaVu fonts: upgraded to 1.15 (both TrueType and QPF versions) Oct 16 14:51:14 dwery-away: what's the latest status on the upstream 2.6.14 patches push ? Oct 16 16:03:53 rwhitby-away: ping Oct 16 16:21:16 rwhitby-away: no news. x1205 has been accepted and sent upstairs.. it will require another one/two floors to reach Linus :) Oct 16 16:21:34 I haven't heard Deepak.. going to send an email. Oct 16 17:40:06 Jacmet: hi. tested mtd and jffs2 on LE.. everything seems fine Oct 16 17:41:28 <[g2]> dwery so we're all set for now right ? Oct 16 17:41:56 <[g2]> re: perl performance (until I come up with something about PCI/AHB/USB/etc...) Oct 16 17:42:30 [g2]: i copied the modules on the flash but the speed is almost the same. Oct 16 17:42:56 [g2]: everything else seems fine, i think the currect ixp400 mtd code is perfect Oct 16 17:43:22 <[g2]> dwery you should try and copy the modules to a ramdisk Oct 16 17:43:54 maybe i'll try, but i'll loose memory Oct 16 17:44:00 <[g2]> even copying perl to the ramdisk would be a good idea Oct 16 17:44:18 <[g2]> Oh... I'm just saying for a test case Oct 16 17:44:30 <[g2]> to see the CPU versus I/O timing Oct 16 17:44:37 the system is running postgres, apache, courier and another bunch of programs :) Oct 16 17:44:51 <[g2]> you really need a loft :) Oct 16 17:45:00 <[g2]> 533 and 64M Oct 16 17:45:03 probably yes ;0 Oct 16 17:45:34 or use a cluster of NSLU2s :D Oct 16 17:45:46 <[g2]> that works too Oct 16 17:46:01 can't remember if the Loft has onboard ide.. ? Oct 16 17:46:25 <[g2]> no but 2 MiniPCIs and 2 USB 2.0 plus a CF slot Oct 16 17:46:50 how many spare I/O ? Oct 16 17:47:15 <[g2]> and with the latest Redboot you can do stuff like load ... -m disk hda1:/boot/zImage Oct 16 17:47:33 <[g2]> there's I2C, and 4 or 5 GPIOs Oct 16 17:47:48 it would be fine to play with SPI and MMC Oct 16 17:48:00 <[g2]> why you have onbard CF Oct 16 17:48:18 <[g2]> I mean other than to just play Oct 16 17:48:30 'cos my camera (and most others) use MMC/SD Oct 16 17:48:44 .. and to play, of course :) Oct 16 17:48:55 <[g2]> um... the USB 2.0 ports work great with an adapter Oct 16 17:49:01 i hate adapters :) Oct 16 17:49:19 jacmet was also thinking about adding an lcd to the slug Oct 16 17:49:40 <[g2]> I just saw the Logitech USB keyboard with built in LCD :) Oct 16 17:50:21 WHERE? Oct 16 17:50:33 (the logitech sitge, obviously :) ) Oct 16 17:51:31 <[g2]> http://www.extremetech.com/article2/0,1697,1870548,00.asp Oct 16 17:51:47 <[g2]> there Oct 16 17:52:04 <[g2]> there's an SDK for the LCD dunno if it's open or not Oct 16 17:52:25 <[g2]> I imagine the thing just shows up a multiple devices Oct 16 17:52:44 <[g2]> I've been very happy with the USB keyboard and mouse support in debian Oct 16 17:53:28 <[g2]> I've plugged in an extra keyboard and mouse on my thin client and I can use either one Oct 16 17:53:43 <[g2]> it's especially handy on the laptop for the mouse Oct 16 17:54:07 <[g2]> touch pad for a click or 1 point and grab the mouse for surfing Oct 16 17:54:48 that keyboard is _huge_! Oct 16 17:54:53 but very nice Oct 16 17:55:19 <[g2]> it's got the USB with built-in LCD and keyboard for 70-80 Oct 16 17:55:43 <[g2]> it'd be cool to plug it in and just have the LCD Oct 16 17:55:52 yep.. a bit expensive maybe Oct 16 17:56:14 <[g2]> like making you own is going to cost less Oct 16 17:56:31 <[g2]> 80 hours of time Oct 16 17:56:36 no.. but there are usb lcds Oct 16 17:56:48 <[g2]> urls ? Oct 16 17:57:04 mm.. can't remember, i think i got the link from the lcdproc website Oct 16 17:57:07 <[g2]> < $65 ? Oct 16 17:57:34 proobably 70/80 USD for LCD+keyboard is better than 60 (or so) for LCD only.. Oct 16 17:58:43 <[g2]> depends on the LCD Oct 16 17:58:50 <[g2]> size, backlight etc.. Oct 16 17:59:30 i'm searching for a red lcd with red backlight but no luck.. Oct 16 18:00:30 given that the G15 can be found, according to google, for 60usd.. i think I might buy one.. Oct 16 18:00:54 55usd Oct 16 18:01:47 but most of those shops will not ship to italy :( Oct 16 18:07:44 <[g2]> dwery we need to send a patch up stream that fixes all those cast warnings `__ixp4xx_writel' makes integer from pointer Oct 16 18:08:29 [g2]: well, yes.. it's late in the night here, so i'm going to bed.. If you wanto to write this patch i could give it a test tomorrow :) Oct 16 18:09:31 <[g2]> I'm just saying in the near future Oct 16 18:09:42 :D Oct 16 18:09:54 <[g2]> I'm testing the d-i installer rwhitby-away created Oct 16 18:10:53 any major problem? Oct 16 18:12:33 btw if you find any cheap usb lcd please drop me a note :) Oct 16 18:19:20 <[g2]> nod. Oct 16 18:20:20 i also saw some usb "phones" with buil-it LCDs for ~50eur Oct 16 18:20:31 s/buil-it/built-in/ Oct 16 18:22:14 but the G15 is definitely better Oct 16 18:36:13 i'm going, see ya.. Oct 17 00:56:25 03rwhitby * 10kernel/2.6.12/ (30-i2c-x1205.patch 50-nslu2-general.patch): Updated so that they compile against 2.6.12 Oct 17 01:03:15 dwery-away: nslu.sf.net kernel repo 2.6.12 ditr now compiles Oct 17 01:31:11 03koen 07org.openembedded.dev * rbf441048... 10/conf/distro/preferred-gpe-versions-2.7.inc: preferred-gpe-versions-2.7.inc: update gpe-shield and gpe-bluetooth Oct 17 01:57:04 conradl: we'e gonna get iomega nas100d boxen instead of ds101's. Oct 17 02:06:13 03koen 07org.openembedded.dev * rc6c3b0d5... 10/packages/libgpewidget/libgpewidget_0.105.bb: libgpewidget: add 0.105 Oct 17 02:20:10 rwhitby already looking for a good price! Oct 17 02:21:55 conradl: USD$180 - you won't find it under $450 in aus Oct 17 02:22:12 thats a challenge! Oct 17 02:22:37 ordered a hx4700 today. Oct 17 02:24:20 conradl: http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=1118419&Sku=I21-2060 Oct 17 02:25:18 rwhitby: hi. what's inside the 100d? Oct 17 02:26:23 nice...but i want to try a via fanless m/b @667 in think. Oct 17 02:28:42 dwery: armeb Oct 17 02:28:44 have a look at www.debonaras.org / wiki / Info / BootLog Oct 17 02:28:47 http://www.debonaras.org/wiki/Info/BootLog Oct 17 02:29:52 looks like something we need to stock @ work... Oct 17 02:30:11 http://nslu2-linux.thestuffguy.com/gallery/Iomega100d Oct 17 02:31:00 twice the ram and flash of a slug, and wireless, and ide too. Oct 17 02:31:00 seems a nice machine. around 450eur here Oct 17 02:31:19 slow processor :( Oct 17 02:31:25 yeah, seems that it's horrendously overpriced just about everywhere (including other places in the US). Oct 17 02:32:14 but ka6sox has successfully ordered and received one from tigerdirect for USD$180 Oct 17 02:32:33 tigerdirect won't sent outside us without a lot of troubles :( Oct 17 02:33:07 do we know which rtc it uses? Oct 17 02:33:08 that's why we have hacking communities to act as shipping agents ... Oct 17 02:33:14 :-D Oct 17 02:34:26 dunno - we don't have source code for it, just the firmware image (which is a simple tar file) Oct 17 02:34:36 btw, I can confirm mtd works fine here. Oct 17 02:35:00 iomega did not released the source? Oct 17 02:35:25 cool - I finished getting the 2.6.12 version of your 2.6.14 patchset to compile today - it's checked in ready for someone else to test too :-) Oct 17 02:35:42 rwhitby: i will. Oct 17 02:35:42 apparently iomega released an unrelated package of source code. Oct 17 02:35:55 the EFF would be happy to jump on them :) Oct 17 02:36:24 ka6sox is trying the asking nicely approach first. Oct 17 02:37:09 apart from the gpio settings. most other things on the board are known quantities for us, so it shouldn't be too hard to port 2.6.14 to it. Oct 17 02:38:11 ack Oct 17 02:38:33 dyoung and I have one each on the way ... Oct 17 02:39:10 * dyoung-away giggle maniacally. Oct 17 02:40:09 ehe :) i've to many boards on the desk right now.. Oct 17 02:41:33 dyoung-away's gonna get his about a week before me, so he'll probably have all the fun Oct 17 02:42:49 i;m on my second nslu2 and a third will be on the way sooner or later.. this game is not going to be cheap :) Oct 17 02:57:14 usage of "leds" seems to be not as stated... Oct 17 02:57:33 leds +0 => leds: 0: unknown LED (use r,g,0,1 or A) Oct 17 02:58:02 should probably be "(use r,g,1,2 or A) **** ENDING LOGGING AT Mon Oct 17 02:59:56 2005