**** BEGIN LOGGING AT Mon Jun 06 23:59:56 2005 Jun 07 00:21:09 jacques, did you have an interest/obsession with Giant Robots? Jun 07 00:21:40 This thing is kind of twisted... Jun 07 00:21:42 http://www.sakakibara-kikai.co.jp/products/other/LW.htm Jun 07 00:23:12 I unmounted /initrd in unslung 5.1 Jun 07 00:24:10 To do it, I had to delete /dev/console from jffs. Jun 07 00:27:03 dyoung is that thing real?? Jun 07 00:28:01 as far as I can tell. This company normally makes farm equipment. Jun 07 00:28:13 amazing :-) Jun 07 00:28:30 hmm I need to setup a local ipkg repo Jun 07 00:29:29 glc, Hmm, any suggestions as how to non-destructively umount /initrd ? Jun 07 00:29:43 bothers you does it? :-) Jun 07 00:29:48 it kinda bothers me a bit too Jun 07 00:30:59 What do you mean non-destructively? Jun 07 00:32:48 removing the /dev/console from jffs2 means that you can never boot it without disks? Jun 07 00:34:40 is there a howto on setting up a local ipkg repo on the wiki? Jun 07 00:37:22 I should have an answer tomorrow. Experiments look promising. Jun 07 00:50:56 okay cool! Jun 07 00:51:20 jacques, I remember it was discussed before, but I dunno if anyone bothered to write the howto. Jun 07 00:51:28 :-( Jun 07 00:54:37 was it was easy as adding /etc/ipkg/local-repo.conf whihc contains, "src/gz local file://directory/of/feed" ? Jun 07 01:06:04 something screwed up Jun 07 01:06:18 ipkg-make-index buggy Jun 07 01:06:27 didn't include the bash package Jun 07 01:06:33 no trust Jun 07 01:06:37 POS Jun 07 01:11:02 it just ignores the bash package Jun 07 01:11:10 well it says "reading bash package info" Jun 07 01:11:18 but then does not include it in the Packages file Jun 07 01:11:24 who knows what else it's missing Jun 07 01:15:02 it also missed ncurses Jun 07 01:15:17 just the stuff I need is inexplicably left out Jun 07 01:16:26 totally useless Jun 07 01:20:30 oh I might know what the problem is Jun 07 01:20:35 but not how to solve it Jun 07 01:21:06 I just have no clue how to use ipkg-make-index and /usr/bin/ipkg-make-index [-h] [-s] [-m] [-l Packages.filelist] [-p Packages] [-r Packages.old] [-v] packagesdir doesn't help a whole lot Jun 07 01:23:03 I guess you need to have a Packages{.gz} and Packages.filelist handy... Jun 07 01:25:17 dyoung: make the 2nd line of linuxrc be: Jun 07 01:25:36 exec /dev/cons 2>/dev/cons Jun 07 01:25:49 and rename /dev/console /dev/cons. Jun 07 01:26:12 unsling will have to create /dev/console on the target. Jun 07 01:26:16 dyoung I found it on google: ipkg-make-index . > Packages Jun 07 01:26:24 I was missing the > Packages part Jun 07 01:26:39 and it had an old Packages file that oe had generated and wasn't overwriting it Jun 07 01:27:27 I will test further. Jun 07 01:31:08 Ok, I'm still digesting that. Jun 07 01:33:58 OK this is really screwed up too - I mount -t ext3 /dev/sda1 /home Jun 07 01:34:09 and now /home is drwx------ 6 root root 4096 Jun 7 00:19 home Jun 07 01:34:24 umask ?? Jun 07 01:34:37 no I don't think so Jun 07 01:36:08 hmm, chmoding it once while mounted seems to have fixed it - weird Jun 07 01:39:36 I used to have that in the old days... one cause was the directory permission of the directory that you mount it on... I dunno if thats still the case.. Jun 07 01:40:46 that's the weird thing, the mount point was 755, but after mounting it was 700 Jun 07 01:40:56 then unmount and it's 755 again Jun 07 01:51:49 jacques: umask? Jun 07 01:54:18 rwhitby-away, apparently that was not it Jun 07 01:54:29 I get interesting errors when I do halt on openslug Jun 07 01:54:37 with a disk attached Jun 07 01:54:53 Unmounting local filesystems... Jun 07 01:54:53 Power down. Jun 07 01:54:53 usb 2-1: new full speed USB device using ohci_hcd and address 2 Jun 07 01:54:53 usb 2-1: not running at top speed; connect to a high speed hub Jun 07 01:54:53 SCSI error : <0 0 0 0> return code = 0x70000 Jun 07 01:54:54 end_request: I/O error, dev sda, sector 77837032 Jun 07 01:54:56 etc etc Jun 07 02:03:30 Timing buffered disk reads: 68 MB in 3.00 seconds = 22.67 MB/sec - I wish the slug could do that (same drive hooked to my shuttle) Jun 07 02:11:07 both openslug and unslung finally build ... Jun 07 02:15:57 ok, my openslug drive is backed up, so I can repartition it and set it up optimally for turnuping :-) Jun 07 03:10:13 Its amazing what one can build otu of aluminum using only a file, drill and hacksaw. Jun 07 03:59:40 weird - oe does not have groff Jun 07 04:07:04 dammit Jun 07 04:07:11 oe is so broken right now Jun 07 06:23:33 hi all Jun 07 06:23:55 does the backup function under the administration menu on the web interface of the nslu2 , when used to backup to a disk in port 2, does it make a disk that can be swapped to port 1 ready to boot from? or is it just a copy of the folders, no permissions,config, or anything? (standard shipped firmware) Jun 07 08:58:28 hi Jun 07 08:59:23 good day Jun 07 08:59:45 macsat: nice wlguide btw :) Jun 07 09:01:05 thanks :) Jun 07 09:13:34 i'm trying to make an ipkg package Jun 07 09:13:48 but the ./configure keeps stopping on a missing gettext Jun 07 09:13:54 checking for gettext in -lintl... no Jun 07 09:13:54 Have libintl.h but no usable gettext! Jun 07 09:14:17 (btw, it's poptop i'm working on) Jun 07 09:25:10 whow, it compiles :) Jun 07 16:37:03 <[g2]> hey kergoth ! How goes ? Jun 07 18:40:47 Disconnecting: Protocol error: expected packet type 31, got 82 Jun 07 18:41:02 I haven't seen that before - got it on my openslug when ssh'd in Jun 07 18:44:48 root@LKG0FB08F:~# uptime Jun 07 18:44:48 uptime: couldn't get boot time: No such file or directory Jun 07 18:44:52 also on openslug Jun 07 18:46:04 jacques: on openslug (a very recent build): 01:45:18 up 3:59, load average: 1.00, 1.00, 0.91 Jun 07 18:46:48 jbowler-away, oh crap I just realized the problem Jun 07 18:47:14 I installed coreutils - built an openslug native devel env Jun 07 18:47:36 root@LKG0FB08F:~# busybox uptime Jun 07 18:47:36 18:39:56 up 15:14, load average: 1.00, 1.00, 1.00 Jun 07 18:47:53 jbowler-away, did you write turnup? Jun 07 18:48:24 yes, assuming you have the 800 line version not the 10 line version. Jun 07 18:48:38 jacques: What do you need to get a native dev env? I tried to set that up earlier, but failed. Jun 07 18:48:41 jbowler-away, it's freakin' awesome Jun 07 18:49:24 jacques: You wouldn't happen to have it nicely wrapped up in some ipkgs? :D Jun 07 18:49:33 NAiL, the answer to that question is long and complex, made more so by current oe deficiencies Jun 07 18:49:47 urk Jun 07 18:50:12 oe-built bison doesn't work, and flex doesn't even build currently Jun 07 18:50:15 I had a working dev env for uClibc running. Lord knows how I got that to work. Jun 07 18:50:27 they are getting too agressive with putting in new versions and removing the old tested ones IMHO Jun 07 18:50:57 there are still manual changes which need to be made too, not just installing ipks Jun 07 18:51:26 my checklist is only a bit shorter than it was a few months ago :-( Jun 07 18:52:17 A shame actually. Compiling stuff on the slug is much, much easier. Although samba and mysql took quite some time to compile :P Jun 07 18:52:43 The latest (a few hours ago) checkin to flex seems to reveal a 3.4.4 ARM compiler bug - the build aborts with a 'report me' gcc errror. Jun 07 18:53:15 the bit test is later tonight when I try to build perl on openslug. it worked months ago, we'll see how it does with the latest stuff Jun 07 18:54:04 jbowler-away, ah, last I had heard from this morning was Jun 07 18:54:05 | tables.c: In function `yytbl_write16': Jun 07 18:54:05 | tables.c:313: internal compiler error: in arm_print_operand, at config/arm/arm.c:11410 Jun 07 18:54:28 and that they were going to mark it as broken on arm and be done with it :-( Jun 07 18:54:42 Yes, that's it - I was trying to install KDE 3.4.1 so I had to /bye... Jun 07 18:55:03 after that, I natively built flex 2.5.4a and 2.5.31 and ran the testsuites - all passed Jun 07 18:55:22 so the compiler bug is only in cross Jun 07 18:55:57 I also built natively bison 1.875 and 2.0 (version oe has) and both tested out 100% (oe-built bison aborts) Jun 07 18:56:41 makes me wonder if we shouldn't go back to 3.4.3 for now Jun 07 18:57:21 What happened, it worked yesterday (and I thought it worked with 3.4.4) Jun 07 18:57:43 which worked yesterday? Jun 07 18:59:30 I've got a flex-2.5.31 build directory from June 6 15:21 (which is PDT), but, curiously, it has not install subdir, yet I got a complete openslug-packages. Jun 07 19:00:10 jbowler-away, two things going on here Jun 07 19:00:13 tables.o is from June 6 15:12 Jun 07 19:00:59 until I reported the issue this morning, there was a bug in the flex .bb which was causing it to build a host-native binary Jun 07 19:01:16 so if you look in your flex build dir you should find 80386 binaries Jun 07 19:01:32 I reported that and they fixed it, which exposed the arm cross-build error Jun 07 19:02:37 Oh yes, totally bogus 'image' directory ;-) Ok, so it needs to be moved to 'broken' in packages. Jun 07 19:03:03 flex.inc inherit native... Jun 07 19:03:03 Im fixing it now Jun 07 19:03:20 yeah, right now it is broken, tho I am tempted to try with 3,4,3 Jun 07 19:04:06 It was building on 27 May Jun 07 19:04:51 yeah I know it used to work - I have it installed in my chroot envs Jun 07 19:05:02 but that was pre-3.4.4 IIRC Jun 07 19:06:19 anyone recall (or know where I can find) the PREFERRED_VERSION lines I need to temporarily change back to 3.4.3 ? I wanna try Jun 07 19:06:28 Yes, and there are no significant changes. Jun 07 19:07:12 PREFERRED_VERSION_gcc-cross = "3.4.3" Jun 07 19:08:01 If you have a complete build and just set that in local.conf bb should immediately (and only) build gcc-cross. The gcc-cross-initial will still be 3.4.4 Jun 07 19:08:35 ok let me try that route Jun 07 19:10:23 bk is getting slower and slower... Jun 07 19:10:59 had to pull to get the flex fix Jun 07 19:13:23 build starte Jun 07 19:13:23 d Jun 07 19:26:18 damn, I get the same compile error with 3.4.3, which implies it's the new version of flex which exposes the arm cross-compiler bug Jun 07 19:27:01 why do they have to remove ALL the older versions of apps when they "upgrade" ? Jun 07 19:27:06 Did it really build 3.4.3? Jun 07 19:27:19 yeah Jun 07 19:27:49 NOTE: package gcc-cross-3.4.3: completed Jun 07 19:28:06 Hum. What happened, I have an 0422 work/flex-2.5.31-r0, but that pre-dates the flex_2.5.31.bb Jun 07 19:28:49 maybe they removed some patches or something, changed compiler options... Jun 07 19:30:03 Sh**t, in the clone I have from 0524 flex_2.5.31.bb is at rev 1.15 from 09Dec2004! Jun 07 19:31:19 configure:2374: ccache armeb-linux-gcc --version &5 Jun 07 19:31:19 armeb-linux-gcc (GCC) 3.4.3 Jun 07 19:31:59 jbowler-away, ok, well I may be wrong about this flex version being new to oe - I know it's been out since 2003 Jun 07 19:32:13 flex is not exactly being actively developed Jun 07 19:32:48 The old version of the .bb file included a patch, but this only seems to change AM_CPPFLAGS Jun 07 19:33:52 I'm checking svn openslug 1.12 Jun 07 19:33:57 flex built and is arm binary Jun 07 19:34:21 and packaged correctly Jun 07 19:34:51 I believe that when mickeyl changed the flex bb files on May 27 somehow the compiler bug was introduced and simultaneously hidden by the native bug. Jun 07 19:35:08 and they *did* used to have an older version: Jun 07 19:35:11 flex-2.5.31/ flex-2.5.4-native_2.5.4a.bb flex-native_2.5.31.bb flex-native_2.5.4a.bb flex_2.5.31.bb Jun 07 19:35:29 tho the successful build I mention above was 2.5.31 Jun 07 19:36:11 The only obvious thing is the include.patch Jun 07 19:37:15 yeah, I'm rather confuzzled Jun 07 19:37:52 ... copy the flex_2.5.31.bb from 1.12 along with flex-2.5.31/include.patch ;-) Jun 07 19:38:21 `course, they coulda changed something in the gcc patches :-\ Jun 07 19:40:12 No, because you just tried with 3.4.3. Jun 07 19:40:25 they counda changed some 3.4.3 patches I meant Jun 07 19:40:38 I wouldn't put it past them Jun 07 19:40:39 Yes, you're right Jun 07 19:40:58 especially in light of recent events Jun 07 19:41:15 so are we on 3.4.3 or 3.4.4? Jun 07 19:41:16 My best guess is that apparently innocuous 'include.patch' prevents the build pulling in a host file and this in turn hides the compiler bug. Jun 07 19:41:31 ka6sox-away: 3.4.4 Jun 07 19:41:59 jbowler-away, not a bad guess, I guess I should test Jun 07 19:45:21 testing with openslug-1.12 flex files Jun 07 19:46:49 NOTE: package flex-2.5.31: completed Jun 07 19:46:51 ! Jun 07 19:47:20 jbowler-away wins a cigar Jun 07 19:47:52 * jacques goes to report on #oe. Jun 07 19:52:14 ka6sox-away: I got a fedex envelope today. Jun 07 19:52:32 no packe with slug or board though Jun 07 19:58:43 I now have an umountable /initrd on unslung 5.1. Jun 07 20:00:08 arrrrgh...lemme ask my wife now. Jun 07 20:00:14 doing the console rediction trick? Jun 07 20:00:34 has anybody hacked the WMA11? Jun 07 20:00:41 Yes. Jun 07 20:00:52 I removed /dev/console. If no drive is mounted, a ramfs is created to hold a console node, and a symbolic linke is created in /dev. The exec is then redirected to the new /dev/console. Jun 07 20:01:13 http://www.turtlehead.co.uk/ Jun 07 20:01:13 dyoung-web, I have one now. Jun 07 20:02:20 glc, cool, can you mail me your changed linuxrc? Jun 07 20:02:47 Email address? Perhaps in other chat room. Jun 07 20:08:20 glc: there's a shell function 'swivel' in packages/openslug-init/openslug/openslug-init-0.10/functions which closes the /dev/console before the pivot_root (the function does everything to all the umount, at least on openslug0 Jun 07 20:09:46 I like that word. 'swivel' . Jun 07 20:09:59 its right up there with nefarious. Jun 07 20:10:08 It was swizzle, but that seemed a little too silly. Jun 07 20:12:16 What is the syntax? Jun 07 20:12:31 Somehow busybox ash manages to keep something else open too while running /linuxrc - I think even after the chroot bin/sh that sh still has fd 10 open on /linuxrc... Jun 07 20:15:09 Is it a 2.6 thing? Jun 07 20:17:39 No, fd 10 is how ash holds the shell script it is executing open. (The swivel function should be generic, and exec <&- works in any bash-like shell). Jun 07 20:19:49 glc: yeah, that's it - take a look at /proc/1/fd and /proc/$$/fd. init points 10 at /dev/initctl, so it kills the old ash one on fd 10, so only after the exec of init can the initrd be umounted... Jun 07 20:20:21 exec 10>&- isn't valid ;-) Jun 07 21:00:16 * jacques starts a native openslug perl build. Jun 07 21:04:15 on Gastro? Jun 07 21:04:45 gastro is unslung :-) Jun 07 21:05:46 ahj Jun 07 21:08:39 I wonder if perl 5.8.7 still needs the perlio patch Jun 07 21:08:53 or was that just for uclibc... never mind Jun 07 21:10:12 okay...forgotten Jun 07 21:10:41 :-) Jun 07 21:10:46 how's the wma11b look? Jun 07 21:11:36 looks nice..but the flash is only 2mB and uses cramfs Jun 07 21:12:08 I kinda wish I could throw out the gui stuffs and just have dropbear and then media stuffs. Jun 07 21:12:20 s/then/they Jun 07 21:12:37 (including rpedde's ivorbis.lib Jun 07 21:16:57 I'm examining the source tarball from Linksys and the wma stuff that was done about 9 mo ago. Jun 07 21:17:58 the newest devel for it I saw was a guy trying to write his own bootloader Jun 07 21:18:10 ah Jun 07 21:18:24 it was having some issues, but I bet beewoolie could make APEX work on it Jun 07 21:18:46 yeah Jun 07 21:19:02 he would have to add cramfs support Jun 07 21:19:46 I wonder how the jffs2 support is going Jun 07 21:23:54 in APEX? Jun 07 21:25:21 yeah Jun 07 21:38:15 jacques, how long for that perl build? Jun 07 21:40:44 it'll be going for a while Jun 07 21:41:20 after the build I'm going to run the testsuite Jun 07 21:41:46 it's building the dynamic modules now Jun 07 22:53:59 ka6sox openslug native perl 5.8.7 build took 93m31.182s Jun 07 22:54:25 jacques, faster than I thought. Jun 07 22:54:34 does that include the verification suite? Jun 07 22:55:34 nope Jun 07 22:55:49 doesn't include configuration time either Jun 07 22:56:17 running testsuite now Jun 07 22:59:24 t/op/lfs..................................skipping test on this platform Jun 07 22:59:27 hmmmmmmm Jun 07 22:59:29 not good Jun 07 22:59:39 i hope oe isn't building glibc without lfs support **** ENDING LOGGING AT Tue Jun 07 23:59:56 2005