**** BEGIN LOGGING AT Mon Aug 07 02:59:56 2006 Aug 07 15:53:09 hey, i'm trying to add a cron job, however I have found many crontab files Aug 07 15:53:14 there is: - Aug 07 15:53:25 ./etc/crontab Aug 07 15:53:46 ./opt/etc/crontab Aug 07 15:53:47 ./usr/local/crontab Aug 07 15:53:49 ./initrd/etc/crontab Aug 07 15:53:50 ./initrd/usr/local/crontab Aug 07 15:54:43 which should i edit to add my job? i tried editing /opt/etc/crontab, but it doesn't seem to run (and executing crontab -l gives the message "no crontab for root") Aug 07 15:55:35 do some of them get reverted at boot time? (like many of the other unslung props files) Aug 07 15:55:42 (i'm on unslung btw) Aug 07 15:58:13 there's not much about cron on the wiki :\ Aug 07 16:02:18 maybe I should echo the required line into /etc/crontab via a diversion script at boot?? Aug 07 16:50:35 03gda * r3730 10optware/trunk/make/clearsilver.mk: clearsilver: revoked changes, because it builds on nudi Aug 07 19:46:37 Could someone help me with: https://trac.nslu2-linux.org/optware/ticket/1 Aug 07 19:48:01 The build of the toolchain fails on fc5 because gcc 4.1.1 is to old?Actually gcc 4.1.1 is to new and not recognized correctly in the configure script! Aug 07 19:48:23 What help do you want? Aug 07 19:48:33 I have a fix. Aug 07 19:48:51 The problem is that i don't now where to apply it. Aug 07 19:49:06 There are many scripts involved in the build Aug 07 19:52:57 The 0.38 version of crosstool that the build process uses is a bit old now - it might be worth checking if you can just bump CROSSTOOL_VERSION=0.38 in make/crosstool.mk to 0.42 Aug 07 19:54:15 It's running! Aug 07 20:01:01 *** These critical programs are missing or too old:gcc Aug 07 20:01:01 *** Check the INSTALL file for required versions. Aug 07 20:08:50 Ah, now I understand why it is non trivial to fix - it is the configure script for glibc that is broken and that is downloaded by crosstool so it can't be patched until after the point in crosstool where it has downloaded and unpacked glibc Aug 07 20:10:25 Yes. Aug 07 20:10:35 I know how to fix it manualy. Aug 07 20:10:53 But i want to solve it for others as well. Aug 07 20:11:30 The only needed change is adding "4.1*" and it will work. Aug 07 20:12:37 I have tested this setup from 17 Jun. Aug 07 20:12:42 I didn't read the bug report carefully enough - I thought it was crosstool, not glibc doing that check Aug 07 20:13:02 Now i want to use a other system for building and i have the same problem again Aug 07 20:20:08 Having re-read the crosstool scripts it looks as though you should be able in crosstool.mk to just copy the patch from the bug report (which needs to live in sources/crosstool) to toolchain/crosstool/patches/glibc-2.2.5 Aug 07 20:21:29 In that directory is already a patch "glibc-2.2.5-allow-gcc-4.0-configure.patch" which add support for 4.0* Aug 07 20:22:16 Still i need a place to modify that directory. Aug 07 20:24:50 rm -rf $(TOOL_BUILD_DIR)/$(CROSSTOOL_DIR) $(CROSSTOOL_BUILD_DIR) Aug 07 20:24:51 $(CROSSTOOL_UNZIP) $(DL_DIR)/$(CROSSTOOL_SOURCE) | tar -C $(TOOL_BUILD_DIR) -xvf - Aug 07 20:24:51 # cat $(CROSSTOOL_PATCHES) | patch -d $(TOOL_BUILD_DIR)/$(CROSSTOOL_DIR) -p1 Aug 07 20:24:51 mv $(TOOL_BUILD_DIR)/$(CROSSTOOL_DIR) $(CROSSTOOL_BUILD_DIR) Aug 07 20:24:51 cp $(CROSSTOOL_SOURCE_DIR)/$(CROSSTOOL_SCRIPT) $(CROSSTOOL_BUILD_DIR)/$(CROSSTOOL_SCRIPT) Aug 07 20:25:13 That was an extract from make/crosstool.mk Aug 07 20:26:22 I'd replace the commented out line there with cp $(CROSSTOOL_PATCHES) $(CROSSTOOL_BUILD_DIR)/patches/glibc-2.2.5 Aug 07 20:27:06 I am thinking about adding a "sed -i" line to change the "glibc-2.2.5-allow-gcc-4.0-configure.patch" Aug 07 20:27:32 and put a modified version of the allow configure-4.0 patch in CROSSTOOL_PATCHES - modifying and overwriting the existing patch is probably safer than creating a new one Aug 07 20:27:56 Yes! Aug 07 20:28:15 A sed script at the same point should work just as well Aug 07 20:28:49 A new patch could be applied in the wrong order. Aug 07 20:29:47 That's why I suggested overwriting the old patch but editing it is as good if not better Aug 07 20:36:28 sed '/+/s/4.0\*/4.0\*\|4.1\*/' Aug 07 20:55:18 need a hand getting upslug2 to work. I see something about needing darwinports? this looks like it's for MAC? Do i need this on Deb/Ubuntu? How do I install it? Aug 07 20:55:55 ? Aug 07 20:57:33 A normal configure/make/make install should work. Aug 07 20:57:49 But probably there is a debian package as well. Aug 07 20:57:50 I installed upslug2 from a debian package Aug 07 20:58:20 What's the problem then? Aug 07 20:58:43 when I go to run it I get an error. Aug 07 20:58:50 give a min...and I'll post6 it Aug 07 20:58:54 post it Aug 07 21:00:34 grrr...I forgot I don't have ssh on that system yet. Aug 07 21:01:08 Operation not permitted: error using device [N12NSLU2Upgrade9WireErrorE] Aug 07 21:02:43 You need raw acces to your ethernet card. Aug 07 21:02:44 sorry...more specific: upslug2 --device=eth1 Aug 07 21:02:45 eth1: Operation not permitted: error using device [N12NSLU2Upgrade9WireErrorE] Aug 07 21:03:36 If you start "upslug2" as user you aren't allowed to access your nic in raw mode. Aug 07 21:03:49 need to be su/root? Aug 07 21:03:51 You will get this error because upslug2 needs raw access Aug 07 21:03:57 Yes! Aug 07 21:04:16 ok! Thanks! Aug 07 21:04:20 upslug2 sends ethernet packages. Aug 07 21:04:33 It doesn't use the ip stack Aug 07 21:05:06 It just runs broadcast? Aug 07 21:05:55 makes sense...since you give it the MAC it probably puts it in the header and anything else just ignores the packets Aug 07 21:07:00 well, I'm off till I get home in about an hour! :( I wish I would have left it on and plugged in @ home or I could have it all nice and flashed to go by the time I got there! Aug 07 21:07:03 thanks again! Aug 07 21:07:31 Bye and succes. Aug 07 22:06:42 03marceln * r3731 10optware/trunk/make/crosstool.mk: crosstool: FIX gcc 4.1.1 (fc5) see https://trac.nslu2-linux.org/optware/ticket/1 Aug 07 22:14:09 AdamBaker: Thanks. It look likes it worked. Aug 07 22:17:40 03bzhou * r3732 10optware/trunk/make/ (antinat.mk apache.mk elinks.mk fontconfig.mk): bumped IPK_VERSION to trigger a rebuild of packages depends on expat Aug 07 22:19:21 glad to hear it Aug 07 22:28:23 ok, new question w/ upslug... Aug 07 22:28:24 I need to do a kernel and jffs2 upload but I don't have a zImage-openslug. I have (zImage-): Aug 07 22:28:26 dsmg600be, nas100dbe, ixp4xxbe, nslu2be, ds101be, loftbe Aug 07 22:28:27 Mostly I have been working in the ixp4xxbe work folders. Is this the right one or the nslu2be? Aug 07 22:37:27 is anyone here? Aug 07 23:04:40 um...new question? is there a way to watch the boot process after a flash? Aug 07 23:10:26 To watch the boot process you will need a serial console. Check the wiki for the mod. Aug 07 23:17:47 my slug's just flashing red-green after boot Aug 07 23:18:48 actually it's more amber, red Aug 07 23:21:21 restarted and now it's just holding amber Aug 08 01:08:36 is anyone alive on this channel? Aug 08 01:16:01 I need assistance with error: http://rafb.net/paste/results/1VVwjk43.html Aug 08 01:16:06 if possible Aug 08 02:00:02 03bzhou * r3733 10optware/trunk/make/py-cheetah.mk: py-cheetah: upstream upgrade to 2.0rc7 **** ENDING LOGGING AT Tue Aug 08 02:59:56 2006