**** BEGIN LOGGING AT Thu Jun 15 02:59:56 2006 Jun 15 14:09:50 checking for gcc... gcc Jun 15 14:09:51 checking for C compiler default output file name... configure: error: C compiler cannot create executables Jun 15 14:09:51 anyone who could help me with that? :/ Jun 15 14:10:12 i'm on openslug 3.(3?) beta, installed slugos-native Jun 15 14:11:16 http://www.nslu2-linux.org/wiki/HowTo/SetupANativeCompiler Jun 15 14:11:24 i followed that guide Jun 15 14:12:09 there is a logfile for it, there are the following three lines: Jun 15 14:12:09 configure:1669: checking for C compiler default output file name Jun 15 14:12:09 configure:1672: gcc conftest.c >&5 Jun 15 14:12:09 /usr/lib/gcc/armeb-linux/3.4.4/../../../../armeb-linux/bin/ld: crt1.o: No such $ Jun 15 14:12:09 collect2: ld returned 1 exit status Jun 15 14:12:43 "No such file or directory" Jun 15 14:49:52 somebody with openslug in here who could send me his/her libgcc_s.so.1? i just fu**** my system :( Jun 15 16:55:20 heyho Jun 15 16:55:24 mwester: got it ^^ Jun 15 17:04:25 Good! Glad it's working! Jun 15 17:06:34 something messed up the part table Jun 15 17:06:53 made it plain through knoppix and voilla, webinterface format works Jun 15 17:08:19 hello? Jun 15 17:08:51 yup? Jun 15 17:09:06 ahh hi, Jun 15 17:09:37 the upgrade process for Openslug as reported at the WIKI (2.5 --> 2.7) is it still valid for 2.7 --> 3.10 ? Jun 15 17:16:01 dunno Jun 15 17:16:36 hld: can you add a note about that to the wiki (I think there's a page on troubleshooting disk drive problems)? That would be helpful for others who may (or may have) encountered this problem. Jun 15 17:18:53 i'll do as soon as i've finished the set-up Jun 15 17:18:56 naib: No. Some of the info might be pertinent, but other parts are certainly wrong. The developers don't have any 2.7 systems from which to upgrade, so the expectation is that some of the braver folks who undertake the upgrade will contribute their findings to the wiki. (There was an email about this on one of the lists earlier) Jun 15 17:19:48 ahh ok, I might be brave then. I mean all my data is on a separate partition Jun 15 17:34:07 hmmm... how to kill the swap? did swapoff /dev/sda3 Jun 15 17:34:16 but /dev/sda3 is still in the fstab ;/ Jun 15 17:44:16 mwester? ^^ Jun 15 17:47:32 fstab just tells the system what to mount at boot time (or when doing "mount -a") -- so swapoff won't remove it from the fstab file. Jun 15 17:48:23 okay.. but there's no way disabling the swap in total? i mean without swap on the stick? Jun 15 17:48:42 found out that swapoff /dev/sda3 did the trick... (free command told it :) Jun 15 17:48:45 swapoff should do it. What does "free" say? Jun 15 17:48:55 ^^ Jun 15 17:50:14 hmmm, how can i disable swap on boot time? rc.unslung? Jun 15 17:50:55 permanent way is just to remove the swap partition altogether, of course. Jun 15 17:51:01 hld, do u have a swap entry in yr fstab? Jun 15 17:51:05 if so delete Jun 15 17:51:26 naib... did it, but it's there again after reboot Jun 15 17:51:53 hdl: unslung, right? Jun 15 17:51:58 its been a while since used unslung but isn't there two locations for all the config files? Jun 15 17:52:50 Step backward a moment -- are you trying to set up an Unslung system so that you can run it off a flash device? Jun 15 17:53:17 mwester: yes Jun 15 17:53:55 hld: execute this command: "touch /.ext3flash" Jun 15 17:54:31 did it Jun 15 17:54:34 On reboot, unslung with remount the root with "noatime", and do the swapoff. Jun 15 17:54:56 hrm? Jun 15 17:55:15 s/with/will/ Jun 15 17:55:16 mwester meant: On reboot, unslung will remount the root with "noatime", and do the swapoff. Jun 15 17:55:48 nothing more? Jun 15 17:56:07 what else should it do? :) Jun 15 17:56:22 na i meant... just that simple "touch..." ? :) Jun 15 17:57:18 Oh! Yes -- it's that simple. The hard stuff was put in by one of the 5.5 developers, for 6.8 the only change was to make it work on both USB ports. Jun 15 17:58:04 worked... thank you ^^ Jun 15 17:58:07 You'll know it's working: "free" will report the swap space, and the "mount" command should show "noatime" in the options for the stick. Jun 15 17:58:16 yea, did it just now :) Jun 15 17:59:01 Just be careful - with no swap space, it's easy to run the slug out of memory. I've run it out of memory a few times by running ipgk commands while samba was working hard. Jun 15 18:00:02 hmmm... since i attach a hard drive most times as well... a script that notices if hdd is available and then puts the swap on there? Jun 15 18:01:02 How is the hdd formatted? Jun 15 18:01:12 it got a swap ^^ Jun 15 18:01:22 it's the drive i used before Jun 15 18:02:18 If it is already "natively formatted", and the slug will automatically mount it as /share/flash or hdd/data, then it will automatically add the swap too. Jun 15 18:03:34 hmmm, attached the drive... swap is there Jun 15 18:03:42 how can i check which swap it uses? Jun 15 18:04:19 Don't think there's an easy way to do that, AFAIK Jun 15 18:05:59 hmmm... swapoff /dev/sda3 shows "invalid argument" so i think it isn't mounted Jun 15 18:06:27 Of course, once you attach a natively-formatted disk, there's no good way to "un-attach" it without making the Linksys utilities angry. You can forcibly "umount" and "swapoff", and unplug, but you may run into problems unless you reboot. Jun 15 18:07:04 Did /dev/sda1 and /dev/sda2 get mounted on /share? Jun 15 18:07:28 # mount Jun 15 18:07:28 /dev/sda1 on /initrd type jffs2 (rw) Jun 15 18:07:28 /dev/sda1 on / type ext3 (rw,noatime) Jun 15 18:07:28 /proc on /proc type proc (rw) Jun 15 18:07:28 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jun 15 18:07:29 /dev/sda1 on /share/flash/data type ext3 (rw,noatime) Jun 15 18:07:31 /dev/sdb2 on /share/hdd/conf type ext3 (rw,sync) Jun 15 18:07:33 /dev/sdb2 on /share/flash/conf type ext3 (rw,sync) Jun 15 18:07:35 /dev/sdb1 on /share/hdd/data type ext3 (rw) Jun 15 18:09:06 Yep. You may have a problem. Notice what's mounted on *BOTH* /share/hdd/conf and /share/flash/conf. Jun 15 18:09:33 hmmm Jun 15 18:10:12 The linksys utilities do that for unknown reasons. The rules about what ports to use for which disk situations take that into account, and I think you broke one of the rules. Jun 15 18:10:51 # umount -f /dev/sdb2 Jun 15 18:10:51 # mount Jun 15 18:10:51 /dev/sda1 on /initrd type jffs2 (rw) Jun 15 18:10:51 /dev/sda1 on / type ext3 (rw,noatime) Jun 15 18:10:51 /proc on /proc type proc (rw) Jun 15 18:10:52 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jun 15 18:10:54 /dev/sda1 on /share/flash/data type ext3 (rw,noatime) Jun 15 18:10:56 /dev/sdb2 on /share/hdd/conf type ext3 (rw,sync) Jun 15 18:10:58 /dev/sdb1 on /share/hdd/data type ext3 (rw) Jun 15 18:11:14 If you have *two* natively-formatted devices on the slug, you should unsling to the one in USB port 1. Jun 15 18:12:10 You can umount things, but the trouble has already begun -- the conf partition you used to be using (passwd files, and all that good stuff) vanished when you plugged in the new drive. Jun 15 18:12:47 hrmpf Jun 15 18:12:56 It's way to complicated to describe here -- check the wiki for articles and commentary on the situation overall. Jun 15 18:13:21 s/to/too Jun 15 18:13:35 best solution would be openslug i think? Jun 15 18:17:04 I don't know - it all depends on what you expect, or want to do. If you want to automagically have disks plugged in, recognized, and available via Samba -- that's Unslung. If you are willing to mount them yourself, or write scripts to do the job, you can use either. The problem is simply that the Linksys utilities do not support hot-plugging of natively-formatted disks -- if you partition/forma Jun 15 18:17:05 t the disk differently, it won't auto-anything to it, and you can control exaclty where it mounts,and when the swap gets added. And, I might add, yoiu can do the reverse: umount it and detach the device yourself... Jun 15 18:20:32 i wanted the slug to boot from the stick... Jun 15 18:21:07 and i want to plugin the hdd when the slug runs or detach when the slug runs... possible via scripts? Jun 15 18:44:47 hld: possible. Might be easier to do with openslug and the /media stuff. But either way, you still have to code the scripts to do at least some of the work. Jun 15 19:18:20 hi all Jun 15 19:18:50 Can someone tell me if we have a photo station for nslu2 as we have for synology ? Jun 15 20:29:27 re Jun 15 20:29:41 mwester: i think i found a solution... no doublemount anymore Jun 15 20:29:54 # mount Jun 15 20:29:54 /dev/sda1 on /initrd type jffs2 (rw) Jun 15 20:29:54 /dev/sda1 on / type ext3 (rw,noatime) Jun 15 20:29:54 /proc on /proc type proc (rw) Jun 15 20:29:54 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jun 15 20:29:55 /dev/sda1 on /share/flash/data type ext3 (rw,noatime) Jun 15 20:29:57 /dev/sdb1 on /share/hdd/data type ext3 (rw) Jun 15 20:29:59 /dev/sdb2 on /share/hdd/conf type ext3 (rw,sync) Jun 15 20:30:01 /dev/sdb2 on /share/flash/conf type ext3 (rw,sync) Jun 15 20:30:11 or no... fuck Jun 15 21:16:49 hld: what's the prob? Jun 15 21:30:16 drif: trying to configure a slug that boots from a stick but is able to share a drive (hotplug is needed) Jun 15 21:31:08 I repeat the question... Jun 15 21:31:59 heh Jun 15 21:32:19 I used to run such configuration - never faced any probs Jun 15 21:32:32 the problem is, when i plug the hdd in, the config part of the hdd gets mounted instead of the config part of the stick Jun 15 21:33:59 which is on which port? Jun 15 21:34:10 stick was on port2, hdd on 1 Jun 15 21:34:51 hm, I used flash on port1 if I recall correctly Jun 15 21:35:10 hmmm, and you hadn't that doublemount problem? Jun 15 21:35:11 I too recall port1 being for flash, but not sure Jun 15 21:35:34 long time since I played with it, has been working so well since I installed it :) Jun 15 21:35:50 joga: and you're running on flash or hdd nowadays? Jun 15 21:35:51 you got it running atm? Jun 15 21:36:27 drif I have a hdd on port2 Jun 15 21:36:30 btw, has any of you ran perl (cpan especially) with no probs? Jun 15 21:36:48 joga: why on port2? Jun 15 21:37:41 hi guys. i recently flashed slugos and am trying to repartition. i cannot seem to fdisk the proper device and was looking for advice. root mounts / but when i try to fdisk / it says, "Unable to read " Jun 15 21:38:04 and there is no /dev/sda that the wiki suggests Jun 15 21:38:14 drif I just recall that's how the system is set up, that port2 should have an external hdd and port1 would be for flash stuff Jun 15 21:38:47 joga... you got that dualthing (boot from flash, shares from hdd) running just now? Jun 15 21:39:32 joga: well, I just asked you if you had flash or hdd - you said hdd :P so no wonder I got confused Jun 15 21:40:06 hld I'm running unslung 5.8 or something, flashed the slug and slung on the external disk Jun 15 21:41:01 okay, so no flash atm Jun 15 21:41:57 joga: (just in case) flash=usb stick ;P Jun 15 21:49:09 hey.. i'm thinking about getting a nslu2 for backup purposes, would it be able to run software like Bacula (http://www.bacula.org/) or similar? Jun 15 21:51:37 drif actually, I was wrong, port2 appears to be dedicated for flash Jun 15 21:51:51 at least they're marked that way :) Jun 15 21:53:17 Blastur: if you use debianslug, you can theres tons of bacular packages in the debian repo Jun 15 21:53:33 how long should turnup (turnup memstick -f -i /dev/sda1 -t ext3) take on a 512mb memstick? ^^ Jun 15 21:56:26 |> Christian Kleine - Home Jun 15 21:56:33 sorry wrong chan :/ Jun 15 21:57:00 hmmm Jun 15 21:57:11 ibuprofen? schmerzmittel? Jun 15 21:58:51 wah? Jun 15 21:59:24 * Ibuprofen translates Jun 15 21:59:38 keine Schmerz hier Jun 15 22:00:15 nono... ibuprofen is the name of a german medical (is medical right?) that you get against hurts for example after teeth operations ^^ Jun 15 22:00:25 yeah exactly Jun 15 22:00:27 medicine != medical, right? Jun 15 22:00:53 german medicine would be the proper way to say it Jun 15 22:01:08 ah :) Jun 15 22:01:29 I do not have a /dev/sda on my openos system, any ideas? Jun 15 22:03:06 hmmm, curious Jun 15 22:06:01 so, turnupped openslug to the stick... can i install samba/swat/... on the stick without risking too many writes on the stick? Jun 15 22:06:37 is openslug gonna be at linuxworld expo in SF this comming aug.? Jun 15 22:22:55 so everyone using debianslug are using stock debian kernel? Jun 15 23:54:00 hmmm Jun 15 23:54:13 /dev/sda2 367 460 755055 82 Linux swap Jun 15 23:54:20 root@slug:~# swapon /dev/sda2 Jun 15 23:54:21 swapon: /dev/sda2: Device or resource busy Jun 15 23:54:27 any ideas? Jun 15 23:54:53 because its already mounted. Jun 15 23:55:05 it doesnt show in mount Jun 15 23:55:12 mount -a Jun 15 23:55:33 nada Jun 15 23:56:30 lsof /dev/sda2 Jun 15 23:57:44 root@slug:~# lsof /dev/sda2 Jun 15 23:57:45 -sh: lsof: not found Jun 16 00:15:33 any ideas? Jun 16 00:17:44 install it Jun 16 01:49:07 im an idiot. i missed something in the howto Jun 16 01:49:10 thanks Jun 16 02:10:03 mmm. actually no it still doesnt work Jun 16 02:15:46 changed swap size, seems to have worked this time Jun 16 02:29:51 hmm this is weird Jun 16 02:29:57 i can make the swawp space and turn it on Jun 16 02:30:13 once i reboot and it's in fstab it doesnt show up under 'free' Jun 16 02:30:31 the other two partitions on that disk seem to be working fine Jun 16 02:33:24 * Ibuprofen scratches head Jun 16 02:33:39 ACK Jun 16 02:33:53 nm AGAIN. used to the syntax of 'free' on another distro Jun 16 02:37:27 * Ibuprofen ducks away **** ENDING LOGGING AT Fri Jun 16 02:59:56 2006