**** BEGIN LOGGING AT Fri Feb 15 02:59:56 2008 Feb 15 04:41:50 03bzhou * r7776 10optware/trunk/make/py-beaker.mk: py-beaker: 0.9 -> 0.9.2 Feb 15 04:42:27 03bzhou * r7777 10optware/trunk/make/py-sqlalchemy.mk: py-sqlalchemy: 0.4.2p3 -> 0.4.3 Feb 15 04:43:16 03bzhou * r7778 10optware/trunk/make/freeradius.mk: freeradius: 1.0.5 -> 1.1.7 Feb 15 05:53:20 03bzhou * r7779 10optware/trunk/make/busybox.mk: busybox/adduser: 1.9.0 -> 1.9.1 Feb 15 06:51:47 joshin ping? **** BEGIN LOGGING AT Fri Feb 15 09:58:04 2008 Feb 15 11:42:28 Hi! Does anybody know what filesystem is used for flashdrive in original Linksys NSLU2 firmware? I'm trying to extract and modify it, but cannot figure out how to mount extracted file. Feb 15 11:43:44 squashfs iirc Feb 15 11:49:09 thanks Feb 15 11:52:50 and does anyone know about any sucsessful installation of SlugOS (or any other linux) on Linksys EFG250 or EFG120 ? They look similar to NSLU2, but have internal HDDs Feb 15 12:01:54 Pronin: Linksys NSLU2 vendor firmware will not format a flash drive under 10GB. Feb 15 12:02:40 Pronin: if you're talking about the internal flash, then use slugimage to decompose it Feb 15 12:03:46 alternatively, just install unslung, telnet in and modify the bits you want to change Feb 15 12:03:56 or unsling to a disk and then modify the bits on the disk. Feb 15 12:05:54 for the other linksys devices, look at www.nas-central.org Feb 15 12:24:37 rwhitby: thanks. The problem is that there is no any alternative firmware for EFG250. But EFG250 is very similar to NSLU2, so i'm trying to adopt SlugOS for EFG250 or somehow enable NFS in original firmware. I have already extracted flash drive from original firmware using slugimage. Now I'm trying to mount (maybe decompress?) the extracted image, but don't know how to do it... Feb 15 12:25:16 Pronin: what makes you think the EFG250 is similar to the NSLU2 ? Feb 15 12:28:27 rwhitby: well... the firmwares look similar (same redboot,sysconf, same headers/trailers, same positions/sizes of data) and same procedures to reflash... I tried to open the box, but didn't succeed Feb 15 12:29:28 in the original firmware, the rootfs is an initrd ramdisk. Feb 15 12:32:59 and it is a squashfs image in firmware file ? Feb 15 12:36:49 i'm trying mount -t sqashfs -o loop ./extracted_file ./mountpoint but just get an error :( Feb 15 12:36:57 it's not squashfs Feb 15 12:37:22 the initrd is ext2.gz if I remember correctly. Feb 15 12:39:36 ext2.gz - is this a filesystem type or just gziped ext2 image? Feb 15 12:39:44 a gzipped ext2 image Feb 15 12:42:41 gzip -d disk.ext2.gz Feb 15 12:42:41 gzip: disk.ext2.gz: not in gzip format Feb 15 12:43:38 looks like efg250 is quite different then Feb 15 12:44:41 i tried it on disk extracted from NSLU2 firmware - same result... maybe there is some header as i have to cut it ? Feb 15 12:51:19 YES. I throwed away first 16 bytes of the file and gzip decompressed it... Feb 15 12:53:29 and extracted file mounted as ext2 Feb 15 12:53:31 thanks! Feb 15 14:13:27 rwhitby: NSLU2 and EFG250 have same binaries on flashdrive from stock firmware. I think they are compatible... But for some reason SlugOS (fatslug) doesn't boot on EFG250 (or at least doesn't change color of status led) Feb 15 14:15:59 Pronin: there's a lot more to being able to boot than compatible user-space instruction sets... Feb 15 14:18:03 mwester: what i'm trying to say, that I think it is possible to adopt SlugOS to EFG250.. But i still don't know where to start from :) Feb 15 14:18:25 Two techniques present themselves: Feb 15 14:18:54 a) Start by getting a boot log from the device so we can compare to other devices Feb 15 14:19:13 b) Send a free EFG250 to the nslu2-linux core team, and see what they can do with it. Feb 15 14:19:18 :-D Feb 15 14:19:31 Do you have a serial port on the device? Feb 15 14:19:54 There is an LPT port Feb 15 14:23:41 Most devices have an internal serial port that is used as the console. You need to locate that for the EFG250 and connect to it in order to do any sort of firmware replacement work. Feb 15 14:24:38 The fact that you can install SlugOS without such a modification to the NSLU2 is because of the hard work of a number of the original developers who cracked open the NSLU2 years ago... but in general unless somwone has already done the work, you must have a serial console. Feb 15 14:25:04 mwester: can it be hidden somewhere in the box? should i just try to open it and connect? :) Feb 15 14:27:16 On most consumer devices, there will be just solder pads, not even a connector (connectors cost the manufacturer money, and they only need the serial port themselves for the units that go to their own developers and test people). It's often not marked, either. Feb 15 14:27:57 Here's where the port is on the NSLU2: http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort Feb 15 14:31:16 i see.. maybe there is a way to redirect output to LPT port (by recompiling kernel or somehow else)? can i do it myself? Feb 15 14:33:05 No, no way to redirect output. Feb 15 14:33:27 If you can't find the serial port, then it becomes really, really, really hard to do anything at all with the device. Feb 15 14:37:46 I'll try to, but I can't imagine myself with soldering iron in hands :) Feb 15 14:39:26 mwester, do you know what is the trailer after flashdisk in firmware? Feb 15 14:40:41 Not sure what you are asking - are you trying to find out what it is for, or what the value is? Feb 15 15:12:03 mwester, nevermind. it's gzip's trailer :) Feb 15 15:44:50 03bzhou * r7780 10optware/trunk/platforms/packages-syno-x07.mk: packages-syno-x07: demoted freeradius on syno-x07 Feb 15 16:16:19 i'm sorry for the stupid questions.. but how is flashdisk from firmware is used by device? (i'm talking about original linksys firmware)... I have extracted flashdisk from firmware, ungziped it, mounted, added some files to web directory (just to test), gziped it again, injected to original firmware and flashed it to the device... But after that, when I'm trying to access that files via web-interface it says "File not found". What am I doing w Feb 15 16:21:03 you really need a way to see what's going on. if you can't do a serial console, at least add a user/set the root password and install a telnetd in the image so you can login Feb 15 16:28:41 look like telnetd is already in the image. but it's not enabled.. i tried to enable it (by editing configs in /etc) but no effect. Also i tried to load telnet.cgi into web directory (cgi that enables telnet) but when I'm trying to access it I just receive "File not found"... Feb 15 16:29:09 also, since the device has a hard drive, it could be booting to that Feb 15 16:29:28 flash mage could only be an intermediate boot phase Feb 15 16:29:45 and for emergency mode if the drive gets corrupted Feb 15 16:29:45 no, hdds are empty Feb 15 16:29:49 ok Feb 15 16:30:09 gotta go - later Feb 15 18:27:48 joshin, ping? Feb 15 18:28:04 Sir yes sir? Feb 15 18:28:12 heya... Feb 15 18:28:30 Howdy, how are you? Feb 15 18:28:51 still tired after SCALE. Feb 15 18:29:24 I figured. It usually takes 2-3 days to recover for each day of the expo. Feb 15 18:29:28 brb...eggs and toast. Feb 15 18:29:34 :) Feb 15 18:33:47 back...mmmm Feb 15 18:37:57 joshin you still here? Feb 15 18:38:12 Yup Feb 15 18:43:35 cyas later...gtg Feb 15 21:28:46 Are the IO pins (LEDs) under control of input layer now? What about buzzer? Feb 15 21:29:19 I'm asking because I use to have a small library for my robot's control of the hardware for debugging and I disabled when that change was first made. Feb 15 21:30:00 and now I need a way to toggle an I/O to measure frequency and jitter on a scope... (interval timer in the low ms range)... Feb 15 21:30:22 I need to do this from a C program... any leads how to do that... It use to be a syscall... Feb 15 21:34:17 or even simpler... what package builds the led and beep tools? Feb 15 21:38:54 never mind... beep is provided by beep package. duh! :) leds is provided by slugos-init though.. Feb 15 21:39:21 * VoodooZ parses feverishly thru beep's source... Feb 15 22:35:33 03bzhou * r7781 10optware/trunk/make/py-setuptools.mk: py-setuptools: 0.6c7 -> 0.6c8 Feb 15 23:10:37 03bzhou * r7782 10optware/trunk/make/py-bazaar-ng.mk: py-bazaar-ng: 1.1 -> 1.2 Feb 15 23:41:54 ok. It seems something is interfering with my code's ability to toggle the leds brightness.. Is it possible that slugos does that? Feb 15 23:48:56 * VoodooZ has to reboot his box.. **** ENDING LOGGING AT Sat Feb 16 02:59:57 2008