**** BEGIN LOGGING AT Tue Dec 20 03:02:32 2005 **** BEGIN LOGGING AT Tue Dec 20 06:34:06 2005 Dec 20 12:30:16 evening..... Dec 20 12:32:44 morning... Dec 20 12:33:15 ;o) Dec 20 12:33:40 It's not morning for you!? Dec 20 12:33:47 ~ugt Dec 20 12:33:49 ugt is probably Universial Greeting Time. Created in #mipslinux, it is a rule that states that whenever somebody enters an IRC channel it is always morning, and it is always late when the person leaves. The local time of any other people in the channel, including the greeter, is irrelevant. Dec 20 12:33:58 ;) Dec 20 12:35:02 ic Dec 20 12:35:53 I still haven't got xmail configured ;o( Dec 20 12:36:08 But I installed it...at last.. Dec 20 12:36:20 I wil get there... Dec 20 12:38:35 Mika_, :) Dec 20 12:38:51 Caplink: How do I know which files / dirs I have to give which accessright..for my webserver? Dec 20 12:39:11 I can't get Typo3 running (cms) Dec 20 12:40:14 hm, apache starts in securitycontext of user nobody Dec 20 12:40:44 yeah? but I have to chmod? I guess Dec 20 12:40:51 heyyy caplink811_log Dec 20 12:41:06 so, at least, "nobody" should read the dirs/files Dec 20 12:41:23 s/should/should can/g Dec 20 12:41:46 Mika_, how is life going, everything well, shortly before xmas? Dec 20 12:41:58 bought all presents? Dec 20 12:42:01 thats 444 Dec 20 12:42:11 Yes it is great here... one day work before xmas Dec 20 12:42:30 three days to go :( Dec 20 12:42:40 heheh ... :D Dec 20 12:43:16 Boomcar, just a moment, pls Dec 20 12:43:21 Poor caplink811_log Dec 20 12:44:29 Boomcar, try 755 on dirs, and 644 on files, may help Dec 20 12:46:57 k Dec 20 13:24:48 adios Dec 20 13:25:51 everytime he's in such a hurry... Dec 20 13:26:40 heheh... u need to make time to let things work Dec 20 14:37:34 i installed ftp package onto my slug. i can ftp from here to other points on my network, eg dreambox ... but i cannot ftp into the slug from other machines ... any ideas ? Dec 20 14:38:22 wallycharlo, which package did you install ? Dec 20 14:39:01 good Q i cant remember which one now :-/ Dec 20 14:39:28 ipkg list_install may help you to remember Dec 20 14:40:01 ipkg list_installed , sorry Dec 20 14:40:38 inetutils Dec 20 14:40:46 it had ftp Dec 20 14:45:26 do you think a different ftp package would have been better ? Dec 20 14:45:54 well, according to this outdated page http://www.nslu2-linux.org/wiki/HowTo/SetupFtpd yes Dec 20 14:46:56 for an uptodate installation you should use a combination with xinetd and vsftpd or proftpd Dec 20 14:47:54 are you accidentally familar with the german language ? Dec 20 14:48:07 yes Dec 20 14:48:21 a little Dec 20 14:48:23 nice, there is a howto at this topic Dec 20 14:49:11 http://wiki.nslu2-info.de/pmwiki.php/HowTo/TelnetActivWithoutInetd Dec 20 14:49:50 looks good, thanks Dec 20 14:50:42 if you follow this howto, you got perment activ telnet access and a ftp daemon of your choice Dec 20 15:02:44 192.168.1.0/24 does this mean address 192.168.1.0 on port 24 ? Dec 20 15:05:04 this means a network segment 192.168.1. with mask 255.255.255.0 which is allowed to connect to your xinetd Dec 20 15:11:13 telnetd ... do i need to create this file in /opt/etc ? Dec 20 15:13:41 the main xinetd config file is /opt/etc/xinetd.conf, xinetd include automagically config files in the directory /opt/etc/xinetd.d which are typically one file per service, e.g. /opt/etc/xinetd.d/telnetd with the config for service telnetd Dec 20 15:14:37 or /opt/etc/xinetd.d/ftpd for ftp daemon service Dec 20 15:32:51 ok ... now i can make ftp connection ... but the login and password which i use telnet dont work ... must i set a new password somehow ? Dec 20 15:53:33 hello. Am wondering if anyone here has any experience with AppWeb ? Dec 20 21:13:41 im unslung ! Dec 20 21:16:35 dropbear is having probs with entropy :( Dec 20 21:19:34 ah, finaly Dec 20 21:20:27 http://www.nslu2-linux.org/wiki/Unslung/KnownProblems Dec 20 21:20:57 Yep, dropbear does that on a slug. :( Dec 20 21:21:29 hi Dec 20 21:22:35 hi Dec 20 21:22:41 having problems with jffs2 attempting to monut at boot time Dec 20 21:23:07 im a nslu2 newb Dec 20 21:23:12 have ext3 partition unslung but jffs2 attempts to mount ext3 Dec 20 21:23:16 jsut got mine working 2 mins ago Dec 20 21:23:16 me2 Dec 20 21:23:28 on ext3? Dec 20 21:23:44 i did notice that i had to restart if i changed the sub port for my drive Dec 20 21:24:09 ive just done everything standard, i think it formated the usb disk to ext3 Dec 20 21:24:19 same here Dec 20 21:24:24 what version Dec 20 21:24:25 i formated it with the web gui Dec 20 21:24:41 im running 5.5 Dec 20 21:24:46 V2.3R29-uNSLUng-5.5-beta Dec 20 21:24:52 same here Dec 20 21:25:10 the web does not detect my device Dec 20 21:25:11 so have you had it working, or your trying to get it working for the first time ? Dec 20 21:25:29 did you change the usb port it was pluged into ? Dec 20 21:25:34 I have not been able to get the rootfs off the flash Dec 20 21:25:40 yes Dec 20 21:25:48 here is what i have tested Dec 20 21:25:59 both ports Dec 20 21:26:08 with falsh and usb hdd Dec 20 21:26:11 flash Dec 20 21:26:16 same result Dec 20 21:26:38 do you restart every time you changed usb device ? Dec 20 21:26:44 true Dec 20 21:27:32 in the boot messages i see that it sees my ext3 filesystem and tries to mount it but tries to mount it with jffs2 Dec 20 21:27:39 i started the "unslung" process, but the first time i plugged the disk into the usb2 instead of 1, when i changed the usb connection to 1 it didnt remount it, so i had resboot and start again Dec 20 21:27:55 ok Dec 20 21:28:14 in the "unslung" step your supposed to start it without the disk pluged in Dec 20 21:28:22 i did Dec 20 21:28:28 then telnet to it, then plug the disk in Dec 20 21:28:37 then issue that command that moves it all to the disk Dec 20 21:28:48 did that Dec 20 21:28:52 unsling Dec 20 21:29:02 i have a serial cable attached Dec 20 21:29:09 ok, i dont have one of them Dec 20 21:29:38 does yours mount ext3 rootfs? Dec 20 21:29:50 one sec ill look Dec 20 21:31:09 i found this: http://www.nslu2-linux.org/wiki/Unslung/Ext3flash Dec 20 21:31:16 i may try this Dec 20 21:31:32 Why? Dec 20 21:31:48 hi Dec 20 21:31:52 why? Dec 20 21:31:56 /dev/root /initrd jffs2 rw 0 0 Dec 20 21:32:17 /dev/sda1 / ext3 rw 0 0 Dec 20 21:32:28 sha1 is the usb disk i installed Dec 20 21:32:47 so the flash is jffs2 and the disk is ext3 Dec 20 21:32:55 yes Dec 20 21:34:12 bugl's slug looks to be unslung and running from the disk. Dec 20 21:34:26 mwester, yea ive just got it going Dec 20 21:36:33 mine fails to mount the disk at boot time i get an errors saying it cant jffs2 partition type Dec 20 21:37:46 Are you unslinging to a disk, and on what port? Dec 20 21:39:59 disk is formatted ext3, unsling sdb, unsliung completes succesfully, /.sbb1root file is created , reboot and kernel message = failed to mount /dev/sdb1 jffs2... Dec 20 21:40:18 unsling disk2... sorry Dec 20 21:41:21 unslung 5.5? Dec 20 21:41:33 the kernel thinks the disk is formated jffs2 no matter if its usb-flash or usb-hdd Dec 20 21:41:36 yes Dec 20 21:41:39 5.5 Dec 20 21:42:05 you have a serial port? Dec 20 21:42:22 yes Dec 20 21:42:50 wanted to know if there are any other documented /. that i have to create to tell it to mount ext3 fs Dec 20 21:43:01 Great... if you can scroll back in the log, does it say anything about errors opening /dev/console right around the point where it does the pivotroot? Dec 20 21:43:05 at boot time Dec 20 21:43:26 It can't mount anything other than ext3 at boot, so that's a symptom of another problem. Dec 20 21:43:32 i get those then it just sits there Dec 20 21:44:37 Ok - this is probably a problem that's been encountered for a long time, but finally tracked down. Is it booted up without the drives connected right now? Dec 20 21:45:28 hold Dec 20 21:45:33 np Dec 20 21:48:22 ok rebooting Dec 20 21:49:20 ok booted but just respwaning Dec 20 21:49:31 what would you like me to do Dec 20 21:50:18 its booted with drives but not respinding Dec 20 21:50:37 woudl you like me ot remove drives and reboot? Dec 20 21:51:17 Yeah, let's boot without the drives and make sure it comes up. Then plug in the root drive, and make sure it mounts them... Dec 20 21:51:50 ok rebooting with no drives Dec 20 21:53:03 VFS: Mounted root (jffs2 filesystem). Freeing init memory: 244K Preferred root device is /dev/sdb1 (disk 2) Dec 20 21:53:15 no drive attached at this point Dec 20 21:53:17 just fyi Dec 20 21:53:54 ok booted with internal flash only Dec 20 21:54:17 Yep, that's what we want. Now plug the root disk in, it should mount it. Dec 20 21:55:01 ok disk attached led (disk 2) is green Dec 20 21:55:35 the mount command should show two partitions mounted on /share/flash/data and on /share/flash/conf, correct? Dec 20 21:56:11 no partitions mounted Dec 20 21:56:22 this is a usb harddrive Dec 20 21:56:43 *** detect:usb-storage * scsi_register: usb-storage-0, * scsi_reg, hostno:0 prot is 50 * scsi_reg, retval->host_no:0 scsi0 : SCSI emulation for USB Mass Storage devices ! scan_scsis do read capacity!!! read capacity ok!!! The capacity is 39070080 *** 50 32 port connect!!!!! Vendor: TOSHIBA Model: MK2018GAP Rev: M1.4 Type: Direct-Access ANSI SCSI revision: 02 the host no is 0 * sd_attach:1 A Dec 20 21:57:06 if that makes any sense Dec 20 21:57:33 Does it say anything about sda or sdb after that messages? Dec 20 21:57:42 I can mount via (mount -t ext3 /dev/sdb1 /mnt/hdd/data) Dec 20 21:57:42 yes Dec 20 21:58:02 Attached scsi disk sdb at scsi0, channel 0, id 0, lun 0 Dec 20 21:58:21 Ok, that'll do fine - as long as we can read that drive. Dec 20 21:58:42 cd to /mnt/hdd/data; you should see a root filesystem, right? Dec 20 21:58:42 would you like me to manually mount it? Dec 20 21:58:54 Yes, manually mount, and cd to the drive... Dec 20 21:59:26 correct Dec 20 21:59:38 I see the result of unsling disk2 Dec 20 22:00:02 .sda1root .unslung __music bin dev etc home initrd lib linuxrc lost+found mnt opt proc quota.user sbin share tmp unslung upload usr var Dec 20 22:00:24 well, let's make sure: list the contents of the dev directory - roughly how many entries in /dev on the drive? Dec 20 22:00:52 one log Dec 20 22:01:01 yep, that's the problem Dec 20 22:01:01 thats it Dec 20 22:01:23 well, fixing is easier than diagnosing this one :) Dec 20 22:01:45 mknod b 8 0 sbd Dec 20 22:01:55 mknod b 8 1 sdb1 Dec 20 22:02:02 will that work Dec 20 22:02:42 That's the really really hard way to do it - and your /var directory is also clobbered. unslinging again is the easy way, but you need to remove a flag and reboot to "reset' for the unsling. Dec 20 22:02:48 sorry mknod sdb b 8 0 Dec 20 22:03:19 ok what are the steps and how did i get to this state? Dec 20 22:06:14 what is the flag? Dec 20 22:07:34 Here's the problem: you get one chance to unsling between reflashing the slug - up to the first unsling operation, the slug boots with /var and /dev on a ramdisk, and the unsling command copies the contents of both rootfs and the ramdisks to form the new rootfs on the disk. After the unsling operation, a flag is set on the flash disk (/.sda1root or similar) and the ramdisk are not mounted... Dec 20 22:07:35 ...on subsequent boots. So if you unsling a second time without reflashing the slug, the ramdisks copied are not mounted, and the /dev and /var directories on the target disk end up empty. How to fix? rm /.sd??root and reboot - then plug in the drive, make sure it has been mounted (you may have to reformat the drive) and unsling to it - before rebooting , cd to the /share/hdd/data or... Dec 20 22:07:37 ...wherever it's mounted and check that the /var and /dev directories are properly built. Dec 20 22:09:03 Long explanation. Short version is that the unsling command in the next release will check for this problem and not build broken target root filesystems. Dec 20 22:09:29 cool Dec 20 22:10:01 will i have to reflash? Dec 20 22:11:00 removed flag and rebooting Dec 20 22:11:01 not if you delete the flag: rm /.sd??root and reboot -- that will reset things to almost like new.. Dec 20 22:11:09 ok Dec 20 22:11:17 nice Dec 20 22:11:18 ok Dec 20 22:11:35 Ok, make sure the drives are not plugged in Dec 20 22:11:52 not plugged in Dec 20 22:11:57 ok it booted Dec 20 22:12:00 and when the boot is done, use the mount command - if it worked ok, you will see var.state and dev.state mounted Dec 20 22:12:32 yes they are mounted Dec 20 22:12:51 excellent! You are ready to unsling, if your disk will mount correctly when plugged in. Dec 20 22:12:52 do I need to reformat device? Dec 20 22:13:07 attempting now Dec 20 22:13:44 ok they are mounted but under /share/flash/data not hdd Dec 20 22:14:02 That's fine, that's port 2 - no big difference Dec 20 22:14:40 should I clean the old unsling dirs from the device Dec 20 22:15:41 If you never got it to boot up off the disk, there's nothing to clean up. Dec 20 22:15:49 ok Dec 20 22:16:24 howcome it says busybox-0.60.4 when i installed busybox 1.0 Dec 20 22:16:34 ok the disk just unmounted itself Dec 20 22:17:16 unmounted itself? Dec 20 22:18:04 yes it was there and i ran unsling disk2 and i got an error stating that /share/flash/data was not mounted Dec 20 22:18:26 now i have scsi errors Dec 20 22:18:37 i think this disk is messed up Dec 20 22:18:38 bugl: the built-in /bin/busybox is 0.60.4; the one you installed is in /opt/bin Dec 20 22:19:00 I've seen similar things, it might be the disk. Dec 20 22:19:01 But Dec 20 22:19:32 I would do this first - unplug, connect to a PC, and reformat the entire drive as a FAT or FAT32 partition. Dec 20 22:20:11 Then remove the flag (/.sd??root) on the NSLU2 flash, reboot it, plug in the drive. Dec 20 22:20:28 You should be able to go to the web interface, and format the drive. Dec 20 22:21:13 Once formatted (be patient, it formats, then pauses a long while, then completes by copying data to the new partitions - without that copy step happening, the drive gets "rejected" and unmounted when you later plug it in. Dec 20 22:21:31 Once formatted, you can do the unsling once more, and it should stay mounted. Dec 20 22:21:44 If not, you might have hardware problems with the drive or the enclosure. Dec 20 22:27:01 booting now Dec 20 22:27:12 without storage Dec 20 22:27:14 hold Dec 20 22:27:23 thanks for all the help Dec 20 22:29:59 what about vfat Dec 20 22:32:21 i dont understand why everything installs into /opt Dec 20 22:32:51 is that an ipkg issue ? Dec 20 22:33:57 i guess im gunna haveto "fix" eveything... Dec 20 22:34:51 i like the work youve all done, but there a few packaging problems Dec 20 22:35:57 still did not work Dec 20 22:36:13 unsling gave lots of cpio errors Dec 20 22:36:26 boot message = Can't find valid rootfs on /dev/sdb1, using jffs2 ... Dec 20 22:38:15 do I need an ext3 fs on the usb flash device? Dec 20 22:41:20 i might try openslug... **** ENDING LOGGING AT Wed Dec 21 02:59:56 2005