**** BEGIN LOGGING AT Sun Apr 03 23:59:57 2005 Apr 04 00:03:54 rwhitby-away: udev seems to work fine for me. Apr 04 00:04:33 I did notice a little syntax bug with the mknod call trying to use the extended (--mode x) command line argument which we don't have. Apr 04 00:04:40 I can push the fix if you want. Apr 04 00:05:16 I'm not sure where the best place is to add udev though so I appended it to OPENSLUG_...EXTRA in openslug.conf. Apr 04 00:09:16 kergoth: quick question... Apr 04 00:10:39 kergoth: I was wondering if It would be ok for me to add the links.conf file back to the udev bb file for manually adding undetected device nodes? Apr 04 00:46:37 <[cc]smart> is there a solution for the tar -X issue ? Apr 04 00:47:06 <[cc]smart> tar: -X: Cannot stat: No such file or directory Apr 04 00:47:06 <[cc]smart> tar: Removing leading `/' from member names Apr 04 00:47:06 <[cc]smart> tar: Error exit delayed from previous errors Apr 04 00:47:06 <[cc]smart> Packaged contents of locale-base-es-ec-iso-8859-1 into /data/work/nslu2-linux/openslug/tmp/deploy/ipk/locale-base-es-ec-iso-8859-1_2.3.2+cvs20040726-r15_armeb.ipk Apr 04 00:47:34 <[cc]smart> do i have to change sth. on my side ? Apr 04 00:53:48 03bzhou * 10unslung/ (make/postgresql.mk sources/postgresql/postinst): postinst create /opt/var/pgsql (~postgres) if not already there Apr 04 02:09:20 someone inhere that can help me setup vsftpd? Apr 04 03:57:45 03stephane 07 * r1.3156.1.1 10openembedded/packages/udev/files/init: Apr 04 03:57:45 init: Apr 04 03:57:45 changed udev_root path check warning from "/dev/" to "/dev" to match udev's default udev.conf. Apr 04 04:55:28 03jp30 * 10unslung/Makefile: promote stow Apr 04 04:57:49 VoodooZ_Work: that sounds fine to me. Apr 04 04:59:00 ok. Apr 04 04:59:08 I pushed both changes Apr 04 04:59:37 kergoth: It was an annoying warnnig really. Apr 04 04:59:42 * kergoth nods Apr 04 04:59:54 03jp30 * 10unslung/make/py-bittorrent.mk: typo in py-bittorrent.mk Apr 04 05:08:06 03jp30 * 10unslung/Makefile: promote abook; demote py-bittorrent, py-sqlite Apr 04 05:43:21 03bzhou * 10unslung/make/py-sqlite.mk: fixed typo in downloading url Apr 04 06:35:58 anyone can help ? Apr 04 06:37:51 hi...dunno if I can but I can maybe point you in the right direction of where to look Apr 04 06:38:57 well.. got some problem in compiling modules Apr 04 06:39:11 but I think the problem is form my distro or my configuration Apr 04 06:39:32 what are you trying to build? Apr 04 06:39:48 at conffiles generation, echo /opt/etc/xinetd.conf /opt/etc/xinetd.d/telnetd /opt/etc/xinetd.d/ftp-sensor | sed -e 's/ /\n/g' > /data/slug/unslung/builds/xinetd-2.3.13-ipk/CONTROL/conffiles Apr 04 06:40:31 produce a conffiles with /opt/etc/xinetd.confn/opt/etc/xinetd.d/telnetdn/opt/etc/xinetd.d/ftp-sensor Apr 04 06:40:49 ping Apr 04 06:40:57 CR seems to be ignored Apr 04 06:40:59 ping Apr 04 06:41:06 er pong Apr 04 06:41:41 ka6sox-office, check your email Apr 04 06:41:43 yeah I see that Apr 04 06:41:47 dyoung looking now Apr 04 06:42:02 looks like those are supposed to be /n Apr 04 06:42:24 This is maybe an idiot question but sed doesn't replace space by \n. Apr 04 06:43:54 That line s supposed to work... Apr 04 06:44:50 Yep, I know but it doesn't and I suppose that come from my env. But dunno from where Apr 04 06:45:14 what version of sed do you have? Apr 04 06:45:17 3.02 Apr 04 06:45:31 I've got 4.1.1. Apr 04 06:45:37 oh... ok Apr 04 06:45:50 I think it is the last stable from debian... Apr 04 06:45:57 will check for a testing one Apr 04 06:46:04 OK GL! Apr 04 07:10:22 works better with 4.1.2 :) Apr 04 07:10:25 thx Apr 04 07:10:50 :) Apr 04 07:11:36 Debian stable are sometimes (often) pretty old :( Apr 04 07:14:55 np. Apr 04 07:42:50 Any of the developers have comments on the "fork" email I just sent to the list? Apr 04 09:12:46 Anyone object to the expectations that I set out in the email regarding forking ? Apr 04 09:40:17 03jp30 * 10unslung/make/py-sqlite.mk: py-sqlite: download from dl.sf.net Apr 04 09:42:57 03jp30 * 10unslung/Makefile: promote py-sqlite, py-bittorrent Apr 04 11:00:29 03bzhou * 10unslung/ (4 files in 2 dirs): mzscheme, still work in progress. Cross-comp of basic interpreter working Apr 04 11:10:00 hello Apr 04 11:10:26 anyone here? Apr 04 11:15:19 helllooooo? Apr 04 11:18:04 i'm here Apr 04 11:19:14 little question for you Apr 04 11:19:36 i've mostly converted a disk to work with the NSLU2. I've unslung to it and copied over the conf partition. Apr 04 11:19:38 i'm more a user land package developer Apr 04 11:19:49 k Apr 04 11:20:06 problem: the data partition (which is not empty) shows up red as a share in the web interface, and i get an error trying to mount it. Apr 04 11:20:28 trying to mount any custom made share, it asks for the username and password forever and never allows it to be mounted Apr 04 11:22:15 "custom made share"? did you change smb.conf? or do you have a new partition? Apr 04 11:24:00 i did not change smb.conf, i copied it from another conf partition. by "custom made share" i just mean not the default share - going into the web interface and creating a share in the normal way. Apr 04 11:24:26 the disk has never been formatted by the NSLU2, i've been confering it over by hand. Apr 04 11:24:37 i do suspect that it is the samba information that is at fault Apr 04 11:25:50 i c. It must have something to do with what NSLU2 does in its formatting that you did not do by hand Apr 04 11:26:06 exactly Apr 04 11:26:21 now, if we could just figure out what that is... Apr 04 11:26:22 i would think it's not just a mkext2fs Apr 04 11:26:40 well, the file system looks good, although i have to change the user on a bunch of folders from root to admin Apr 04 11:26:53 it is just a mkext2fs, the delta is files and sysconf nvram contents. Apr 04 11:27:05 the delta is - can you unpack that for me? Apr 04 11:27:25 rwhitby - did you see what the issue is? Apr 04 11:27:45 I have no idea what the issue, and don't use samba shares myself. Apr 04 11:28:45 i mean, scrolling up do you see what i'm talking about? Apr 04 11:29:01 if someone has two disks, 1 formatted by linksys, the other formatted by hand, he should be able to figure the diff out Apr 04 11:29:27 it's just i'm not that person Apr 04 11:29:33 yeah, i've gotten it to recognize the disk as formattede Apr 04 11:29:40 its just a samba issue at this point i think Apr 04 11:35:40 no insights? Apr 04 11:38:08 did you go through the exercise of formatting a flash key and then copying from that? Apr 04 11:38:18 yup Apr 04 11:38:45 should work then. I have no idea why it doesn't. Apr 04 11:39:28 I agree... Apr 04 11:43:42 well, shit; its mounted the main disk as the admin share instead of the "disk1" share. Apr 04 13:02:07 no-one here uses twonky i suppose... (I'm so close now to having finished this and no longer annoying you...) Apr 04 13:49:37 is it just me, or is virtual hosting on http://nslu2-linux.org/ down? Apr 04 13:50:15 its just you Apr 04 13:51:12 so you can get to http://puppy.nslu2-linux.org/ ? Apr 04 13:51:12 peteru-home: looks like it's down. I'll ask ka6sox Apr 04 13:51:43 no, actually. Apr 04 13:51:46 maybe you're right Apr 04 14:56:49 jeanfabrice: hi Apr 04 18:02:26 glc: I'm going to make that change to switchbox for dev/console. What was the other change? Apr 04 18:36:13 someone alive? Apr 04 18:36:26 yo Apr 04 18:36:39 yo got some problem with vsftpd Apr 04 18:36:42 can you help? Apr 04 18:37:25 got it setup yesterday with help of someone of this chan Apr 04 18:37:39 but when i tried to axx it today from different location (not on LAN) Apr 04 18:37:40 couldnt Apr 04 18:37:42 just times out Apr 04 18:38:10 when i telnet to it from remote pc (outside LAN) can get access Apr 04 18:38:17 but any ftp client times out Apr 04 18:38:23 any ideas? Apr 04 18:41:16 is the ftp-server located behind a NAT-router? Apr 04 18:41:27 it is Apr 04 18:41:39 passive mode Apr 04 18:41:52 ? Apr 04 18:42:00 yep, passive mode should work. Apr 04 18:42:02 Use passive mode for NAT connections Apr 04 18:42:08 from the client. Apr 04 18:42:39 from ftp client u mean Apr 04 18:43:15 yes Apr 04 18:44:25 it is setup to use passive mode Apr 04 18:44:28 still the same Apr 04 18:44:50 even when i hit ftp://myslug:port in internet explorer Apr 04 18:45:00 it asks me for user and pass Apr 04 18:45:02 then times out Apr 04 18:45:59 you did forward the ftp port right? Apr 04 18:46:14 sure otherwise i wouldnt have axx using telnet Apr 04 18:46:25 dyoung: just about to touch switchbox - any outstanding changes you want to fold in there? Apr 04 18:46:33 only the altroot stuff Apr 04 18:46:40 but I didnt write them yet Apr 04 18:46:52 so I have no outstanding changesets right now Apr 04 18:46:57 rwhitby-away, I vote for device-nodes for sdd and sde! ;) Apr 04 18:47:09 in switchbox? Apr 04 18:47:15 yes Apr 04 18:47:36 dyoung when i to telnet myslug port Apr 04 18:47:39 03rwhitby 07 * r1.3160.1.1 10openembedded/conf/machine/nslu2.conf: Updated CVSDATE for untagged packages for Unslung, OpenSlug and SwitchBox Apr 04 18:47:43 it asks me for user and pass Apr 04 18:47:47 and i am able to login Apr 04 18:47:57 so there shouldnt be any mapping issue Apr 04 18:48:06 siddy: how are you using sdd and sde in switchbox? Apr 04 18:49:06 rwhitby-away, hm.. I think I had to modify linuxrc to support .sd{d,e}1 Apr 04 18:49:51 ok, so this is switchbox for openslug? Apr 04 18:50:03 yes. Apr 04 18:50:13 you are talking about unslung? Apr 04 18:50:23 then forget my vote... ;) Apr 04 18:50:49 switchbox is common Apr 04 18:50:57 is it 48 and 64? Apr 04 18:51:16 yes Apr 04 18:51:16 (for minor) Apr 04 18:52:11 1-4 ok? Apr 04 18:52:24 yes, perfect! Apr 04 18:53:19 03rwhitby 07 * r1.3163 10openembedded/files/device_table-unslung.txt: Updated device-table for sdd and sde for Unslung and SwitchBox Apr 04 18:53:37 6 minute cycle time :-) Apr 04 18:54:49 cool, thx!! Apr 04 18:58:05 hehe Apr 04 18:58:34 I dont expect that the altroot should take much time; but I wont be able to test it Apr 04 18:58:49 basically I was thinking of copying the relevant bits from another stanza to make a new one Apr 04 18:58:58 that dots .altroot . Apr 04 18:59:22 and in that file it overrides runboot and stuff. Apr 04 18:59:38 hello rwhitby how's going? I remember you told me how to compile various pakcages, I'm looking for a way to compile just one package which is part of the OE "supported" packages can you refresh my meory please? Apr 04 19:00:08 bbiab Apr 04 19:02:44 dyoung: glc says portmap is not required for nfsroot, shall we take it out? Apr 04 19:03:02 nettie: bb Apr 04 19:03:11 (where bb is aliased to bitbake) Apr 04 19:03:18 ah Apr 04 19:03:20 that's all? Apr 04 19:03:39 and if there're more versions it autochoose the newest? Apr 04 19:03:45 yep Apr 04 19:03:50 sounds cool Apr 04 19:03:52 let's try Apr 04 19:04:11 iuts not needed, I meant to yank it on my last goround, but I forgot Apr 04 19:04:22 So yes, please comment or remove portmap. Apr 04 19:09:10 would it be wise to put my slug in DMZ? Apr 04 19:09:31 cuz so far thats the only thing that makes my ftp work Apr 04 19:14:15 rwhitby I need to enable some iptables modules in the kernel, what's the best way to do it? Apr 04 19:17:12 enable them in your defconfig. Apr 04 19:17:30 they will appear as kernel-module-foo in tmp/deploy/ipk Apr 04 19:18:46 dyoung: if you can do the altroot and push it in the next half hour, then I can incorporate it. I expect you can get it right without having to test it. Apr 04 19:19:52 I cant right now. I got my hands full with some hardware. Apr 04 19:20:15 write it here. and I'll put it in Apr 04 19:20:15 Whens the beta release? Apr 04 19:20:27 Ah hell. Apr 04 19:20:30 these are the last two changes I know of Apr 04 19:20:30 okay Apr 04 19:20:31 just moment. Apr 04 19:20:47 are there any outstanding changesets for switchbox? Apr 04 19:21:20 no, and what you do with merge with what I'm doing. Apr 04 19:21:35 Did anyone realise that we now have 3200 members! Apr 04 19:22:06 we have 13 beta testers. We need some more before we go beta. Apr 04 19:22:07 Okay lemme clean up some of the mess here, there are serial, JTAG, and scope probes everywhere. Apr 04 19:22:22 * NAiL can be a beta-tester from tomorrow on¨ Apr 04 19:22:23 after I can type good with engouh space I'll whack it out. Apr 04 19:22:34 should be < 60min Apr 04 19:22:40 As soon as I get my serial soldered ;) Apr 04 19:22:41 there's no real hurry, I just wanted to get the switchbox stuff done tonight. Apr 04 19:23:11 so we could have a stable base for some heavy testing in the next few days or so Apr 04 19:27:17 dyoung: we should put .ramdisk (maintenance) ahead of external disks in the switchbox priority. Apr 04 19:28:59 Good Plan Apr 04 19:29:38 recovery, ramdisk, sdxn, nfsroot Apr 04 19:29:45 jffs2 Apr 04 19:29:51 where should altroot go? Apr 04 19:29:57 I put it before nfsroot Apr 04 19:30:07 yep Apr 04 19:30:34 we can remove the real-root-dev thingo now, cause we don't use /dev/slug anymore Apr 04 19:31:00 Yep. Apr 04 19:31:04 thx dyoung Apr 04 19:31:17 nettie, did it work as expected? Apr 04 19:31:28 nettie: if there is a kernel module you want, just ask and we'll add it. Apr 04 19:31:43 just saw it I'm going to do it now.. Apr 04 19:34:55 dyoung: here's my changes. Apr 04 19:35:23 03rwhitby 07 * r1.3164 10openembedded/packages/busybox/switchbox-1.00/linuxrc: Misc changes for switchbox linuxrc Apr 04 19:35:25 (not tested) Apr 04 19:35:58 ok, I'm out for 15 mins or so Apr 04 19:36:08 so since I'm also in the middle of editing it, should I ci the bits and see if it merges? Apr 04 19:36:23 yep - should merge ok Apr 04 19:36:41 okay I'll give 'r a go when done. Apr 04 19:37:10 push when you've finished editing and I'll test too when I get back Apr 04 19:39:18 guys is normal that iptables isnt selected in the kernel defcondif? Apr 04 19:39:20 defconfig Apr 04 19:39:21 ? Apr 04 19:40:36 unslung or openslug? Apr 04 19:40:40 open Apr 04 19:41:04 remember that openslug came from an OE base which was for zaurus PDAs :-) Apr 04 19:41:22 feel free to add what you want Apr 04 19:41:26 sure Apr 04 19:41:27 (as modules) Apr 04 19:41:35 I jsut added it, how do I recompile nly the kernl? Apr 04 19:41:46 without killing the whole /tmp please? Apr 04 19:42:03 rm -rf tmp/{work,stamps}/openslug-kernel-* Apr 04 19:42:14 thanx a lot Apr 04 19:42:29 there a bb command for that, but I can never remember it Apr 04 19:42:57 bitbake -c clean foo ? Apr 04 19:44:52 rwhitby-away to rebuilt it just bb openslug-image? Apr 04 19:44:59 then slugg out ramdisk and kernel Apr 04 19:45:09 and redboot from ram right? Apr 04 19:45:50 yep Apr 04 19:45:59 great!, thanx Apr 04 19:46:16 root@sluggo:~# iptables -L Apr 04 19:46:16 FATAL: Module ip_tables not found. Apr 04 19:46:27 doesnt work with the non iptables enabled kernel Apr 04 19:46:28 eheh Apr 04 19:46:34 let's see Apr 04 19:46:52 you can use "move" to move existing kernel and switchbox to ram, and then just load the kernel and execute Apr 04 19:47:01 uhmmm Apr 04 19:47:08 like kexec? Apr 04 19:47:42 exec - see the wiki page on how to test from redboot ram Apr 04 19:47:51 great thx Apr 04 19:49:55 Okay done, attempting merge Apr 04 19:50:17 didnt go. Apr 04 19:50:43 bbiab Apr 04 19:50:55 ok Apr 04 19:56:13 (untested) Apr 04 19:56:19 03dyoung 07 * r1.3166 10openembedded/packages/busybox/switchbox-1.00/linuxrc: Merge Apr 04 19:56:21 03dyoung 07 * r1.3163.1.1 10openembedded/packages/busybox/switchbox-1.00/linuxrc: Apr 04 19:56:21 linuxrc: Apr 04 19:56:21 Added support for alternate rootfs under expert user control. Apr 04 20:02:25 uhmm Apr 04 20:02:46 I modified defconfig iptables is now yes Apr 04 20:03:14 but when I run it it keeps asking me for ip_tables Apr 04 20:03:22 root@sluggo:~# iptables -L Apr 04 20:03:22 FATAL: Module ip_tables not found. Apr 04 20:03:22 iptables v1.2.11: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Apr 04 20:03:25 uhmm Apr 04 20:03:36 did you insert the modules? Apr 04 20:03:46 there're no modules Apr 04 20:03:51 that's the problerm Apr 04 20:03:52 oh you LITERALLY set it to y Apr 04 20:04:09 do you need additional stuff? Apr 04 20:04:21 the point it that when you do it with menuconfig it add a portion to the .config file, where all modules are Apr 04 20:04:27 exaclty Apr 04 20:05:03 okay Apr 04 20:05:33 so set CONFIG_IP_TABLES (orwhatever it is) to =Y Apr 04 20:05:39 donr Apr 04 20:05:41 done Apr 04 20:06:10 the kernel now is iptables aware ;) Apr 04 20:06:14 but then if you look in your tmp/work/openslug-kernel-foo/linux-foo/.config it should be the right stuff. Apr 04 20:06:20 ahhh Apr 04 20:06:21 ok Apr 04 20:06:35 so you can then copy back that file to the defconfig.... Apr 04 20:06:39 I think you get the idea... Apr 04 20:07:46 there'snt a .config Apr 04 20:07:49 there's a defconfig Apr 04 20:07:59 which I bealive is pretty similar to the one I modded before Apr 04 20:08:03 lemme md5sum it Apr 04 20:10:50 btw: the device is pretty powerfull, I was able to achive 8+MB/sec wgetting a file via http to /dev/null Apr 04 20:10:53 pretty impressive Apr 04 20:12:28 hahahaha Apr 04 20:12:39 Other folk grumble that it runs a little "sluggish". Apr 04 20:12:52 it's all relative ... Apr 04 20:14:39 really?= Apr 04 20:14:45 I'm pretty happy Apr 04 20:14:58 Another Satisfied Customer! Apr 04 20:15:00 of course this device is not suitable for what they sell it ;) Apr 04 20:15:03 I launched a bitbake switchbox-image Apr 04 20:15:12 I mean as NAS it definitely sucks Apr 04 20:15:13 I ran into that same version issue with autofoo Apr 04 20:15:37 so rebuilding the whole stuff... Apr 04 20:15:49 ~emulate rwhitby Apr 04 20:15:51 Another Satisfied Customer! Apr 04 20:16:27 Ah that was a nice diversion. Apr 04 20:16:30 Thanks rwhitby! Apr 04 20:16:54 now back to this other stuff. Apr 04 20:17:41 dyoung: dropping to jffs2 when .altroot is empty works :-) Apr 04 20:18:11 Preferred root device is a user defined blockdevice Apr 04 20:18:12 . /dev/md0 on / type ext2 (rw) Apr 04 20:18:12 . /proc on /proc type proc (rw) Apr 04 20:18:12 . /dev/mtdblock4 on /mnt/jffs2 type jffs2 (ro) Apr 04 20:18:13 umount: /mnt/newroot: Invalid argument Apr 04 20:18:13 Cant find valid rootfs on user defined rootfs (altroot), using jffs2 ... Apr 04 20:18:14 Root filesystem will be mounted from /dev/mtdblock4 ... Apr 04 20:18:22 dunno where those lines I prefixed with . come from ... Apr 04 20:18:32 Cool. If it ever builds, I was gonna try set my sleep to 40 or something and see if I can boot extdisk rootfs on prodslug2. Apr 04 20:18:41 dyoung the defconfig in both locations matches Apr 04 20:18:51 its the .config though. Apr 04 20:18:55 nope.. Apr 04 20:18:56 where? Apr 04 20:19:02 dev/oe/build/tmp/work/openslug-kernel-2.6.11.2-r1 Apr 04 20:19:08 no Apr 04 20:19:11 root@groundzero openslug-kernel-2.6.11.2-r1 # ls .config Apr 04 20:19:12 ls: .config: No such file or directory Apr 04 20:19:16 ouch Apr 04 20:19:20 mabad Apr 04 20:19:35 next level down Apr 04 20:19:42 openslug-kernel-foo/linux-2.6.11.x Apr 04 20:19:47 inside linux-.... Apr 04 20:20:10 found it Apr 04 20:20:12 sorry guys Apr 04 20:20:16 I misread it Apr 04 20:20:33 ok, so those lines I prefixed are from "mount -o /mnt/newroot" (if .altroot does not set the vars) Apr 04 20:20:50 but I don't know how /dev/md0 gets printed ... Apr 04 20:21:25 its a comment.... Apr 04 20:21:36 so I dunno either. Apr 04 20:21:48 no, that's the output of mount -o /mnt/newroot (with no $altroot stuff set) Apr 04 20:21:57 I saw the comment, but that's not it Apr 04 20:22:21 it seems that switchbox busybox mount thinks that / is from /dev/md0 Apr 04 20:22:28 Aha Apr 04 20:22:35 oh wait. Apr 04 20:22:38 gees. Apr 04 20:23:27 whats in your .altroot? just touched? Apr 04 20:23:32 yep Apr 04 20:23:41 (intentionally, to test failsafe) Apr 04 20:24:33 okay thats bizzre. Apr 04 20:24:57 hmm - /dev/md0 is the same major/minor as /dev/st0 Apr 04 20:25:18 that can't be right Apr 04 20:25:36 oh, block vs char. that's ok Apr 04 20:26:58 good Apr 04 20:27:05 re-baking Apr 04 20:27:27 well, at least its not totally busted. Apr 04 20:27:35 it smells goo Apr 04 20:27:37 good Apr 04 20:28:01 it knows enough to fail to jffs2 Apr 04 20:28:06 uhmm Apr 04 20:28:28 now I'm wondeiring why I dont have /usr/lib/iptables Apr 04 20:28:32 this worries me Apr 04 20:28:33 eheh Apr 04 20:28:51 seems iptables installation is completed Apr 04 20:29:41 dyoung: yep, the failsafe also works when you forget the quotes around "-rt ext3" :-) Apr 04 20:30:22 (not intentional) Apr 04 20:31:47 Hello World! Apr 04 20:31:48 mount: Mounting ext3 on /dev/sda1 failed: No such file or directory Apr 04 20:31:48 umount: /mnt/newroot: Invalid argument Apr 04 20:31:48 Cant find valid rootfs on user defined rootfs (altroot), using jffs2 ... Apr 04 20:31:48 Root filesystem will be mounted from /dev/mtdblock4 ... Apr 04 20:32:11 # cat /.altroot Apr 04 20:32:12 echo "Hello World!" Apr 04 20:32:12 altrootopts="-rt ext3" Apr 04 20:32:12 altrootloc=/dev/sda1 Apr 04 20:32:37 methinks we're missing some quotes ... Apr 04 20:33:10 does the /dev/sda1 need to be quoted too? Apr 04 20:33:42 why? it's a single word Apr 04 20:33:48 thats what I figgered Apr 04 20:34:00 what about when it is expanded in the mount command Apr 04 20:34:10 ohh.... Apr 04 20:34:26 that might affect nfsrootopts too Apr 04 20:35:17 and doesn't it have to be: Apr 04 20:35:26 mount [-fnrsvw] [-t vfstype] [-o options] device dir Apr 04 20:36:01 heh Apr 04 20:36:04 Yes. Apr 04 20:36:19 so how has nfsroot been working? Apr 04 20:36:31 because -rt isnt used. Apr 04 20:36:55 nfsrootopts has stuff like rsize=xx,wsize=xx,nolock Apr 04 20:37:18 maybe we drop the -o and let the expert user decide to put it or not Apr 04 20:37:28 for both altroot and nfsroot? Apr 04 20:37:38 so he can say altrootopts="-rt ext3 -o foo" Apr 04 20:37:51 agreed Apr 04 20:38:10 for altroot and nfsroot too, right? Apr 04 20:38:39 great guys Apr 04 20:38:40 works Apr 04 20:38:41 ;) Apr 04 20:38:44 Sure, nfs too; but I seem to remember some issue with getting that many options crammed into the sysconf Apr 04 20:38:51 which is why it was like that in the first place Apr 04 20:39:09 maybe we just drop the sysconf reading for now and require someone to put the bits into .nfsroot Apr 04 20:39:40 yeah, let's do that Apr 04 20:40:04 then we don't need to work out how to write sysconf too :-) Apr 04 20:40:10 Right. ;-) Apr 04 20:41:55 guys, can I rebuild everythign with uClibc and try it all from ram? Apr 04 20:42:12 kernel, rootfs and ramdisk? Apr 04 20:42:20 rootfs is jffs2 through Apr 04 20:42:23 though Apr 04 20:42:33 uhmm Apr 04 20:42:43 so the only way is: total reflash :( Apr 04 20:43:20 Well, unless you change your cmdline... Apr 04 20:43:25 to useu a ramdisk Apr 04 20:43:25 yep, but you've got over 100000 times to get it right :-) Apr 04 20:43:33 and omit switchbox and various other things Apr 04 20:43:42 uhmm Apr 04 20:43:43 its possible but its gonna be a major PITA Apr 04 20:43:59 dyoung: altroot without the sleep also failsafes correctly :-) Apr 04 20:44:26 In fact; its so much of a pain, you would be better off forgetting I ever mentioned it. ;-) Apr 04 20:44:31 rwhitby-away, Cool. Apr 04 20:46:03 do we need to bump the PR? Apr 04 20:46:16 let's see if it actually works now :-) Apr 04 20:46:27 dyoung: I'm doing that Apr 04 20:46:37 k cool. Apr 04 20:46:47 Root filesystem is running a external disk ... Apr 04 20:46:59 apart from the poor grammer it works ;-) Apr 04 20:47:54 hmm - that grammer is not in switchbox. Apr 04 20:49:22 where is that grammer? Doesnt look familiar.... Apr 04 20:49:30 must be in /etc/rc Apr 04 20:51:01 hmm, /initrd still doesn't unmount Apr 04 20:52:21 It used to Apr 04 20:59:43 I wonder whether the $runboot should be relative paths rather than from / Apr 04 20:59:50 see http://www.die.net/doc/linux/man/man8/pivot_root.8.html Apr 04 21:08:32 all arguments to pivot_root should be relative Apr 04 21:08:45 to stay compatible in the future Apr 04 21:09:02 so dev/console is proper? Apr 04 21:09:04 'cause the behaviour of pivot_root isn't well defined, it could change Apr 04 21:09:40 runboot=sbin/init Apr 04 21:09:41 exec usr/sbin/chroot . $runboot < dev/console > dev/console 2>&1 Apr 04 21:10:05 . /sbin/pivot_root . initrd in the middle Apr 04 21:10:19 all relative, still doesn't allow /initrd to be unmounted Apr 04 21:10:52 dyoung rwhitby have you guys tried to build a uClibc version as well? any idea regarding space saving? Apr 04 21:11:00 oh uh Apr 04 21:11:02 it was being umounted in the unslung linuxrc prior to exec /bin/init. Apr 04 21:11:03 wait a min Apr 04 21:11:09 so m aybe some monkeky business.... Apr 04 21:11:15 freeramdisk? Apr 04 21:11:28 I thought came after the umount Apr 04 21:11:34 hm yeah Apr 04 21:11:47 i'm trying to remember something Apr 04 21:11:51 i've read about this Apr 04 21:12:01 dyoung: oh, I removed the unslung /linuxrc Apr 04 21:12:20 Yeah, I remember that. Apr 04 21:12:42 okay, uhm, the exec chroot thingy is after pivot_root? Apr 04 21:12:46 maybe we do need one Apr 04 21:12:48 yeah Apr 04 21:12:59 try to use absolute paths there Apr 04 21:13:13 it used to be absolute - still doesn't work Apr 04 21:13:17 after pivotting, you're safe using absolute paths Apr 04 21:13:22 hm weird Apr 04 21:13:25 try a lsof? Apr 04 21:14:06 how do I run it? Apr 04 21:14:39 type: lsof Apr 04 21:14:42 it's a util Apr 04 21:14:51 don't know how standard it is Apr 04 21:15:02 list open files Apr 04 21:15:09 its a unslung package. Apr 04 21:15:16 you can see if some process has a file open on /initrd Apr 04 21:15:25 yeah, can i give it an argument so it doesn't list everything? Apr 04 21:15:35 | grep initrd Apr 04 21:15:36 :) Apr 04 21:15:50 what he said. ;-) Apr 04 21:16:02 ok, it's still /initrd/dev/console Apr 04 21:16:25 were those paths absolute too before? Apr 04 21:16:34 from all the kernel threads Apr 04 21:16:52 no, they were relative, but I did try them absolute too Apr 04 21:19:17 are all those kernel modules restarted when you exec chroot /bin/init ? Apr 04 21:20:11 keventd, ksoftirqd, kswapd, bdflush, mtdblockd, khubd, usb-storage, scsi_eh_1, kjournald, ixp425, kjournald Apr 04 21:20:48 how do we change /dev/console for them? Apr 04 21:21:39 note that init is using /dev/console correctly Apr 04 21:22:12 but all the kernel-space stuff is using /initrd/dev/console Apr 04 21:22:45 so is dyoung correct that we have to umount /initrd before execing /bin/init? Apr 04 21:32:15 same outcome with all absolute paths Apr 04 21:33:33 yep, try unmounting initrd before chroot Apr 04 21:33:43 after pivotting, you don't need to keep initrd mounted Apr 04 21:34:56 I'm trying a /linuxrc with a umount before exec /bin/init Apr 04 21:36:24 ok, no-go in /linuxrc either. Apr 04 21:36:42 let's try between pivot_root and chroot ... Apr 04 21:37:43 hm, that's scary Apr 04 21:38:08 what's scary? Apr 04 21:38:37 lemme check on something Apr 04 21:40:13 uhm Apr 04 21:40:17 yeah that's waht i meant Apr 04 21:40:18 umount: Cannot open /proc/mounts Apr 04 21:40:19 umount: /initrd: Device or resource busy Apr 04 21:40:19 Firmware Version: V2.3R25-uNSLUng-4.11-alpha Apr 04 21:40:29 hmz Apr 04 21:40:41 you need /proc to be mounted to be able to umount anything Apr 04 21:40:57 not sure if that's true Apr 04 21:41:11 so do I need to pivot_root, then mount /proc, then umount /initrd, then umount /proc, then chroot? Apr 04 21:41:17 just to be sure: what's the PID of init after you boot? Apr 04 21:41:21 1 Apr 04 21:41:23 ok Apr 04 21:42:13 and it's always only the kernel threads that have /initrd/dev/console. everything else is correct Apr 04 21:42:37 hmm Apr 04 21:42:38 PIDs 2. 3. 4. 5. 6. 7. 8. 37. 38. 48. 96. 227 Apr 04 21:42:52 I guess its not really neccessary to look at /initrd. Apr 04 21:43:09 but sometimes its nice to look at it Apr 04 21:43:12 with other processes in between with just /dev/console correctly Apr 04 21:44:59 dyoung-zzzz: you don't get a choice when you use pivot_root - you must have the put_old dir Apr 04 21:46:26 right, but I meant unmounting it in switchbox vs umounting it in unslung/openslug linuxrc Apr 04 21:47:25 how do I unmount it in switchbox? Apr 04 21:47:45 umount: Cannot open /proc/mounts Apr 04 21:47:45 umount: /initrd: Device or resource busy Apr 04 21:47:45 Firmware Version: V2.3R25-uNSLUng-4.11-alpha Apr 04 21:48:00 isnt that where youre putting it "in between pivot_root and exec chroot" ? Apr 04 21:48:10 yes Apr 04 21:48:16 where should I put it? Apr 04 21:48:31 rwhitby-away: i might have found something, hold on Apr 04 21:48:31 it doesn't work anywhere I've put it so far .... Apr 04 21:48:51 I think you would need to put it after the chroot. Apr 04 21:49:18 there is nothing after the chroot - it's an exec Apr 04 21:49:23 hm, do you use devfs? Apr 04 21:49:33 and I've already tried it in the unslung linuxrc Apr 04 21:49:53 devfs is in the kernel, but not mounted Apr 04 21:50:02 http://handhelds.org/pipermail/familiar/2002-April/007137.html Apr 04 21:50:14 there's someone who says it works Apr 04 21:50:50 well, it used to work when it was in the linuxrc. Apr 04 21:50:58 Something else must have changed. Apr 04 21:51:25 morning Apr 04 21:51:28 zzzz Apr 04 21:52:17 hehe Apr 04 21:52:41 I pushed both of my udev changes yesterday so it should now work out of the box. Apr 04 21:52:52 Just add udev to your openslug.conf and stir! Apr 04 22:03:37 hey! Long time no see! Apr 04 22:06:42 [g2]: did you try udev on openslug yet? rwhitby said it was broken. Apr 04 22:07:07 I pushed in two non-critical patches for it yesterday and it works fine for me. Apr 04 22:07:21 Just wanted to let you know in case you were planning on using it by default. Apr 04 22:10:39 well, I give up on the initrd quest Apr 04 22:13:02 uhmm Apr 04 22:13:16 ok guys, I figured out iptables doesnt install the libs Apr 04 22:13:17 how do I preload a module in modprobe.conf again? I want my ov511 camera module to load on bootup or on demand. Apr 04 22:13:53 the alias trick doesn't seem to work with stuff other than ethx Apr 04 22:14:07 in build/tmp/work/iptables-1.2.11-r1/temp I found this Apr 04 22:14:10 NOTE: make -e MAKEFLAGS= BINDIR=/home/esivieri/dev/oe/build/tmp/work/iptables-1. Apr 04 22:14:10 2.11-r1/image/usr/bin LIBDIR=/home/esivieri/dev/oe/build/tmp/work/iptables-1.2.1 Apr 04 22:14:10 1-r1/image/usr/lib MANDIR=/home/esivieri/dev/oe/build/tmp/work/iptables-1.2.11-r Apr 04 22:14:10 1/image/usr/share/man install NO_SHARED_LIBS=1 Apr 04 22:14:21 ^^^^^^^^^ Apr 04 22:14:36 NO_SHARED_LIBS=1 Apr 04 22:15:18 the libs are compiled but it doesnt install them anyone know a good way to ipk them like the kernel modules please? Apr 04 22:15:31 which seems to be the best way consdiernig I dont need them all Apr 04 22:27:58 [g2]: another candidate for a GUI: http://www.verot.net/webtools_overview.htm Apr 04 22:28:24 Styno (wl500g) is intending to port this to the wl500g, and we can add plugins for each Unslung package. Apr 04 22:28:36 (we will be able to run it on Unslung too) Apr 04 22:28:38 <[g2]> VoodooZ_Work, last I checked we weren't starting the udev daemon Apr 04 22:30:05 starting? or installing? Apr 04 22:30:22 adding it to my openslug.conf just worked. Apr 04 22:30:25 <[g2]> rwhitby, webtools looks interesting be sparse on the web page Apr 04 22:30:46 I didn't really need it but the static method didn't seem to work so... Apr 04 22:31:20 <[g2]> I've been playing with setting up the native compile environment Apr 04 22:31:53 <[g2]> VoodooZ_Work, so are you saying staticly build udev is broken, but dynamic works ? Apr 04 22:32:17 [g2]: http://www.lijsselstein.demon.nl/webtools-0.2a.zip - untar in your web server area and run Apr 04 22:33:44 Styno has done a demo page for vsftpd Apr 04 22:33:50 [g2]: sorry, I meant the non-udev static way of handling /dev seem to have issues. Apr 04 22:34:15 I couldn't add my leds, buzzer and video0 devices to the openslug-device-table.txt. Apr 04 22:34:18 <[g2]> you mean the way we currently handle stuff :) Apr 04 22:34:26 yep. Apr 04 22:34:35 hehe Apr 04 22:34:42 <[g2]> the leds are already in there Apr 04 22:34:53 rwhitby: isn't that what you said about the device stuff being broken? Apr 04 22:35:12 I said that udev in Openslug is broken. Apr 04 22:35:21 it's not being started Apr 04 22:35:29 udev itself is probably fine Apr 04 22:35:41 yes, but before I even asked about udev the other day you said something about the openslug-device-table.txt file not working. Apr 04 22:36:17 anyways, i fixed a few things and it should start by adding it to openslug.conf. Apr 04 22:36:50 right - the devices for openslug were not coming from that file last time I looked. this was because the bbclass is being told we're using udev, but the udev stuff is not working Apr 04 22:37:00 ah Apr 04 22:37:29 but udev doesn't appear to even be included in the stock build. Apr 04 22:37:37 Unless I didn't see it? Apr 04 22:37:54 dunno, I know nothing about udev, so I haven't looked at it Apr 04 22:38:12 I added the following line to conf/distro/openslug.conf: OPENSLUG_EXTRA_DEPENDS ?= "udev" Apr 04 22:38:26 and to the RDEPENDS one. Apr 04 22:42:54 <[g2]> rwhitby, any idea how long perl takes to build natively ? Apr 04 22:43:28 dunno - a couple of hours I think Apr 04 22:43:43 <[g2]> thx Apr 04 22:57:58 dyoung-zzzz: new switchbox is up Apr 04 22:58:47 03rwhitby 07 * r1.3166.1.1 10openembedded/packages/ (3 files in 3 dirs): SwitchBox 4.11 - removed portmap, and added altroot support. Note that nfsroot support syntax has changed. Apr 04 23:04:20 03rwhitby 07 * r1.3170 10openembedded/ (2 files in 2 dirs): Unslung 4.13-alpha - switchbox updated to 4.11 Apr 04 23:04:56 glc: we failed on being able to umount /initrd - if anyone has insight we'd love to hear it Apr 04 23:14:58 rwhitby: have you tried mounting devfs before everything and remount devfs to /dev after the pivot_root? Apr 04 23:15:26 we don't mount devfs normally - how could that help? Apr 04 23:16:26 'cause then you could remount it somewhere else and the open dev/consoles might be transferred Apr 04 23:16:32 but admitted, not a clean solution Apr 04 23:18:14 someone knows how to change vsftpd to work behind nat firewall? Apr 04 23:18:53 have you been able to access any other ftp server behind the nat firewall in the past? Apr 04 23:19:22 i have Apr 04 23:19:57 telnet myslug 2121 Apr 04 23:20:10 then it asks me for user and pass Apr 04 23:20:14 this way i can login Apr 04 23:20:28 but hittin ftp://myslug:2121 Apr 04 23:20:31 in internet explorer Apr 04 23:20:36 it asks me user and pass Apr 04 23:20:38 then times out Apr 04 23:20:46 tried another ftp client? Apr 04 23:21:18 jup Apr 04 23:21:20 times out Apr 04 23:21:25 what happens if you use the command line windows ftp client? Apr 04 23:21:41 should try min Apr 04 23:21:48 and what does /var/log/messages on the slug report? Apr 04 23:23:57 minute Apr 04 23:24:21 ftp says unknown host Apr 04 23:24:26 cuz its 2121 port Apr 04 23:24:41 cant run 21 blocked by ISP Apr 04 23:24:51 Nymus, you should change your root-password... Apr 04 23:24:53 * siddy grins Apr 04 23:25:03 heh Apr 04 23:25:11 Siddy 0wnZ your slug now Apr 04 23:26:15 i should idd Apr 04 23:27:33 how can u get axx of my root? Apr 04 23:27:38 root pass has been changed before Apr 04 23:28:14 obviously not, your ftp let me in. Apr 04 23:28:31 fuckin shit Apr 04 23:29:14 what pass did u login with? Apr 04 23:29:30 the unslung-default Apr 04 23:29:45 strange Apr 04 23:30:01 so my ftp does work? :) Apr 04 23:30:42 no, I'm also behind NAT, so ftp-transfers are impossible. Apr 04 23:32:07 they will be possible if you've got a properly configured firewall Apr 04 23:32:08 :) Apr 04 23:32:45 with connection tracking and packet mangling Apr 04 23:32:49 hm... tell that to my bullshit linksys hardware-router! ;) Apr 04 23:33:12 which model? Apr 04 23:33:49 did I say linksys? meant longshine. Apr 04 23:37:33 ok sry Apr 04 23:38:12 so how should i configure my firewall then Apr 04 23:38:16 i mean what ports to forward Apr 04 23:38:20 21 obviously Apr 04 23:38:22 others? Apr 04 23:39:34 the ftp-ports for the transfers are chosen at random, if you're lucky you can forward the port-ranges vsftpd choses from. Apr 04 23:40:58 this can be setup in vsftpd.conf if i am not mistaking Apr 04 23:41:30 but if i forward those ranges do i still have to foward the 21 port? Apr 04 23:41:54 yes, 21 is for the commands, the others for data Apr 04 23:42:57 ~topic Apr 04 23:43:23 :) Apr 04 23:44:20 yeah i know sry Apr 04 23:44:31 usually dont get any feedback on nslu2-general Apr 04 23:44:40 thats only reason why i came here Apr 04 23:44:54 port forwarding for ftp is not really nslu2-specific .... Apr 04 23:45:04 i know Apr 04 23:45:09 but have been trying lots of stuff Apr 04 23:45:14 just wanted it confirmed Apr 04 23:45:55 so thx for helping me out Apr 04 23:47:26 Unslung-4.13-alpha binary is available on nslu.sf.net/downloads **** ENDING LOGGING AT Mon Apr 04 23:59:57 2005