**** BEGIN LOGGING AT Mon Jun 02 02:59:56 2008 Jun 02 03:53:16 hey guys.. bought an NSLU2.. no matter what firmware I flash it won't boot - unless I flash the original linksys firmware Jun 02 03:53:19 I'm quite confused Jun 02 03:54:01 any ideas? Jun 02 03:55:29 I wish I could see boot output Jun 02 03:55:32 or some kind of status Jun 02 03:56:23 what firmware have you tried Jun 02 03:56:48 and how did you flash it Jun 02 04:00:05 angstrom and openslug Jun 02 04:00:15 flashed via upslug2 on my mac Jun 02 04:00:17 or sercomm on windows Jun 02 04:00:39 I think I hear it laughing at me Jun 02 04:00:59 does it ever beep Jun 02 04:01:08 it only beeps when I use the linksys firmware Jun 02 04:01:26 I've let it sit there for lke 10 minutes now after flashing angstrom Jun 02 04:01:31 just an orange power light.. Jun 02 04:02:10 also the flashing kept failing yesterday Jun 02 04:02:12 for all versions Jun 02 04:02:20 until I put on the little EFI filter they included onto the ethernet cable Jun 02 04:02:55 hmm Jun 02 04:03:07 have you tried a different cable? Jun 02 04:03:08 I looked at troubleshooting and stuff.. it's behaving very strangle Jun 02 04:03:12 strangely Jun 02 04:03:14 I haven't yet Jun 02 04:03:19 where did you buy this from? Jun 02 04:03:22 it does verify successfully Jun 02 04:03:23 off ebay Jun 02 04:03:27 from a guy selling many of them Jun 02 04:03:47 try a different cable Jun 02 04:03:50 I have no use for this thing as is.. I need a regular linux distro flashed on it Jun 02 04:03:55 ok .. I will Jun 02 04:05:57 flashing now Jun 02 04:09:00 the process behaved differently this time Jun 02 04:09:03 it just finished.. we'll see Jun 02 04:09:47 if it works and boots angstrom successfully Jun 02 04:09:51 what kind of indicator could I expect Jun 02 04:09:57 it flashed on all the lights and off 2 times Jun 02 04:10:02 and then the power light turned amber Jun 02 04:10:03 now waiting... Jun 02 04:10:48 should see green lights Jun 02 04:11:06 does it take longer to boot angstrom then the linksys firmware? Jun 02 04:11:11 not sure Jun 02 04:11:16 I have not used angstrom Jun 02 04:11:18 I ave no idea what is reasonable for this device Jun 02 04:12:16 still amber? Jun 02 04:12:45 angstrom requires that you have a serial console; it is not ready for general use. Jun 02 04:13:01 SlugOS will run Jun 02 04:13:36 Ignore the LEDs on Angstrom as well; I don't think that distro even knows about the LEDS on the NSLU2 Jun 02 04:14:12 ok Jun 02 04:14:16 oooooh Jun 02 04:14:17 see I didn't know Jun 02 04:14:21 Flash SlugOS; then restart the NSLU2 with nothing plugged into it except the PSU. It *will* beep at some point. Jun 02 04:14:23 angstrom is ready for primetime on my zaurus Jun 02 04:14:24 jsut figured Jun 02 04:14:52 slugosbe-4.8-beta? Jun 02 04:14:55 I will flash it now Jun 02 04:14:59 That'll work. Jun 02 04:15:55 flashing... Jun 02 04:17:37 mwester hope so.. Jun 02 04:17:47 the NSLU2 is an integral part of my plan to control my pool equipment :-P Jun 02 04:18:20 nslu2 -> arduino -> transistor -> relay -> contactor = network based control of a very big motor :-P Jun 02 04:18:39 ok it says it's rebooting Jun 02 04:19:01 uh Jun 02 04:19:08 it's flickering amber and red and it beeped Jun 02 04:19:11 it ddn't do that before Jun 02 04:19:20 That's a good start. Jun 02 04:20:37 One beep, or a set of three beeps? Jun 02 04:22:06 one beep Jun 02 04:22:09 still doing the flickering Jun 02 04:22:39 flickering may be deceiving it's repetitive flashing amber and then a quick red Jun 02 04:23:25 will openslug do dhcp or use the static I set it to before? Jun 02 04:23:32 I am reading something that suggests it uses dhcp Jun 02 04:25:01 you don't have servers use dhcp Jun 02 04:25:31 yeah Jun 02 04:25:31 It will use whatever it was told to use by the values in the sysconf area in flash --- meaning that since you got it used, it's using whatever it was set to by the previous owner. Jun 02 04:25:40 (unless you reset it yourself) Jun 02 04:25:47 which is why I set it static while it was still with linksys firmware Jun 02 04:26:02 Then it should be static, and at that same address. Jun 02 04:26:08 I don't know that it's used. it seems new Jun 02 04:26:15 Ah, ok. Jun 02 04:26:17 ok Jun 02 04:26:24 well I guess it's still booting then Jun 02 04:26:28 Doubt it. Jun 02 04:26:42 maybe that guy on ebay sold it for a reason :) Jun 02 04:26:47 crap.. are there easy pins to expose a serial console? Jun 02 04:27:01 well.. I guess I'll just have to read about it Jun 02 04:27:02 There's a spot for a 4-pin header. Jun 02 04:27:11 But why give up? Jun 02 04:27:24 I just figured there were no more options :-P Jun 02 04:27:24 If it can boot the Linksys firmware, it can boot SlugOS. Jun 02 04:27:36 except it isn't :-P Jun 02 04:27:39 It's just a matter of figuring out what's wrong. Jun 02 04:28:03 What's plugged into the NSLU2? Jun 02 04:28:12 my 17" macbook pro Jun 02 04:28:37 Into a USB port? Jun 02 04:28:41 ethernet Jun 02 04:28:43 nothing in the usb ports Jun 02 04:28:47 switch, or crossover? Jun 02 04:28:51 crossover Jun 02 04:28:55 but the mbp has autosensing ports anyway Jun 02 04:29:18 Yeah, I've had bad luck with autosense, crossover, and the NSLU2 Jun 02 04:29:42 It should work, it just takes a long time to sense correctly in some cases. Jun 02 04:29:56 it senses very quickly on mine Jun 02 04:30:04 quicklly enough that I coudl even get into the redboot mode Jun 02 04:30:14 not that I could find anything useful in there Jun 02 04:30:18 Ok, so you flashed the firmware, and booted it up with nothing at all plugged in -- it gave you a single beep, and that's all? Jun 02 04:30:28 correct Jun 02 04:30:48 I'll give it another reboot Jun 02 04:30:53 without the network cable to be sure Jun 02 04:31:38 worst case piku, put the linksys firmware back on it .. sell it, buy another :) ... but I think you'll figure it out Jun 02 04:32:43 humm Jun 02 04:32:50 it changed from amber and red flashing to just amber flashing this time Jun 02 04:32:50 I've encountered one anomoly where the sysconf partition was damaged, but subtley enough that Linksys/Unslung ran, but SlugOS wouldn't boot. If you can get into redboot, do so, and erase the sysconf partition. CAREFULLY! You can brick it if you do it wrong! http://www.nslu2-linux.org/wiki/HowTo/ResetSysConf Jun 02 04:33:09 already done Jun 02 04:33:24 I've been working ont his for days Jun 02 04:33:29 irc is a last resort for me :-P Jun 02 04:34:19 maybe your download got corrupted Jun 02 04:34:28 Where'd you get the image? Jun 02 04:34:55 the nslu2 linux download page I think Jun 02 04:35:02 what time do you guys tend to be arond Jun 02 04:35:06 unfortunately I have to get some rest for work Jun 02 04:35:13 but I'll be around tomorrow about 5 hours earlier than this time Jun 02 04:35:19 who knows Jun 02 04:35:25 maybe it'll boot on it's own over night :-P Jun 02 04:35:33 nah Jun 02 04:35:34 it wont Jun 02 04:35:44 thanks for the help so far though, I got it to do something under a non-linksys firmware at least Jun 02 04:36:08 how much did you pay for it? Jun 02 04:36:15 $57 Jun 02 04:37:05 * DrJ use to sell nslu2's on ebay preloaded with unslung Jun 02 04:37:16 nice Jun 02 04:37:19 oh well Jun 02 04:37:19 buy a $50 unit, $50 hd Jun 02 04:37:22 sell for $175 Jun 02 04:37:25 I have to sleep... Jun 02 04:37:29 but I'l be back tomorrow Jun 02 04:37:31 thanks :) Jun 02 04:38:25 hey mwester Jun 02 04:38:34 did you get my email to the mailing group about my mysql problem Jun 02 04:43:29 did you get a response? Jun 02 04:55:40 no Jun 02 05:02:00 Seems simple enough. Presumably the failure is due to the fact that mysql is running as some other user; so just create the file and modify the permissions in the startup script, before the user-id change happens. Jun 02 05:05:44 The other thing you can do is to examine the /etc/default/volatiles stuff -- there's a file in that directory that describes the at-boot setup and permissions for /var. Jun 02 06:26:59 hi folks.. anyone here using squid? Jun 02 06:28:09 hi, is anyone in the hood? Jun 02 06:28:23 please ? :((((((((( Jun 02 12:49:30 hey there Jun 02 12:50:52 Can anyone help me with an OpenSlug question? Jun 02 14:55:31 Can anyone help me with MediaTomb and Openslug? I'm having trouble getting it to run at boot Jun 02 15:02:06 Ge1: you'll have to be more specific about your problem before anyone will know if they can help you. Jun 02 15:04:43 I'm trying to follow the instructions at http://www.nslu2-linux.org/wiki/Info/MediaTomb Jun 02 15:06:03 but I don't have an /opt/ directory on my NSLU, and I can't find the config files it's suggesting I change to allow MediaTomb to run on boot (/opt/etc/init.d/mediatomb and /opt/etc/default/mediatomb) Jun 02 15:07:26 ipkg files mediatomb points to all the files being put into /usr/share/mediatomb and /usr/bin/mediatomb, but theres no mention of any mediatomb files anywhere else on my device Jun 02 15:08:05 MediaTomb itself works fine, its just that I have to SSH in and start it manually with every reboot - any ideas how I can get it to start by itself when the device boots? Jun 02 15:15:32 Startup files for SlugOS are located in /etc/init.d -- check there for a file named "mediatomb" Jun 02 15:17:42 no mediatomb there Jun 02 15:19:08 That would be an upstream problem then, they apparently forgot to put it in the package. You'll need to create your own startup/shutdown file, or perhaps the mediatomb folks have one on their wiki or bug tracking tool? Jun 02 15:19:25 okey dokey Jun 02 15:20:06 so basically I'm just going to look for a mediatomb file from a successful install / on the wiki, and graft it into init.d? Jun 02 15:22:04 That should work; depending on complexity of the startup. SlugOS is more like debian startup scripts if you have a choice. (Unslung is like nothing else in the world!) Jun 02 15:22:53 ok, that's great Jun 02 15:23:03 thank you for your help :) Jun 02 20:13:26 mwester ... Jun 02 20:13:27 [01:02:01:am] Seems simple enough. Presumably the failure is due to the fact that mysql is running as some other user; so just create the file and modify the permissions in the startup script, before the user-id change happens. Jun 02 20:13:27 [01:05:45:am] The other thing you can do is to examine the /etc/default/volatiles stuff -- there's a file in that directory that describes the at-boot setup and permissions for /var. Jun 02 20:13:56 The /etc/init.d/ file that starts mysql is already owned by root Jun 02 20:14:04 not sure if that means its run as root or not Jun 02 20:14:05 [root@CUBS init.d]$ ls -la | grep mysqld Jun 02 20:14:05 -rwxr-xr-x 1 root root 265 Feb 9 19:45 mysqld Jun 02 20:14:23 and I don't really understand what to do with that volatiles thing Jun 02 21:56:40 hey i have uNSLUng-6.10-beta installed but even after rebooting with a formated drive (iPod) attached it still says "uNSLUng status: Running from Internal Flash" Jun 02 21:56:46 any tips? Jun 02 22:14:39 fakhir: you need to follow the instructions in the README file to do the native format of a device (not your iPod), and do the unsling command. Jun 02 22:16:07 ahh ok so it is actually one or more commands that need to be entered to make it work. Jun 02 22:16:42 dont understand this part "(not your iPod)". using an iPod is not possible? Jun 02 22:17:32 fakhir: Unslung is based on the Linksys firmware; so it is *unusually* sensitive to following a certain procedure *exactly* correctly. This is documented in the README, and if you deviate in any way, you may find that it will not operate correctly. Jun 02 22:18:19 fakhir: Please also read the wiki about selecting the correct USB port, and about the meaning of a native format; if you natively format your iPod (assuming it will do that), your iPod will cease to funciton as an iPod. Jun 02 22:18:52 ok ill go back to the documentation. Jun 02 22:18:54 thanks Jun 02 22:19:03 You can use your iPod as a "FAT-formatted disk" on Unslung, but that means that you cannot unsling to it, you must use some other device if you wish to unsling the NSLU2. Jun 02 22:19:43 yes i used the web interface to format it Jun 02 22:19:59 I hope it did NOT do it! Jun 02 22:20:49 it did but the ipod seems to be fine. its an old one anyway which is why i am using it in the first place Jun 02 22:21:50 And when you plug it in, what does the "disks" page on the Linksys GUI say about the iPod? Jun 02 22:22:31 USB Port 1: Type: Apple iPod Jun 02 22:22:40 Formatted (EXT3) Jun 02 22:23:29 How big? Jun 02 22:24:06 Free Space: 32 MBytes( 89% ) Jun 02 22:24:40 i think the ipod is 4GB Jun 02 22:24:53 It didn't work then. Jun 02 22:25:24 k Jun 02 22:25:31 mwester, the atag_empty_core.patch is applied to all kernels i use on flash or with kexec Jun 02 22:26:08 Then something else must be causing those symptoms; that's the only thing I've ever encountered. Jun 02 22:26:45 (that patch is *not* applied to any 2.6.25 kernels built by the master makefile that I'm aware of) Jun 02 22:28:23 mastermake is only used for 2.6.24 Jun 02 22:29:08 mwester, thanks for the help. i will look deeper in the documentation and come back to bother you guys again if i still have problems ;) Jun 02 22:29:42 It can be used for any kernel version that's in svn; 2.6.25 is currently in an experimental state and there's 2.6.26 support in some state as well. Jun 02 22:29:57 i try to log all the boot informations the next days and post the important parts Jun 02 22:30:14 The presence/absence of that patch is not apparent from boot logs. Jun 02 22:30:47 i mean I used it only for the 2.6.24 Jun 02 22:31:06 but some ATAG informations Jun 02 22:32:21 the patch is in the patches folder, in the series file and i look in the source, so i see the patch is applied Jun 02 22:32:36 I'm a skeptical person; I would ask that you double-check your other kernels to make sure that the patch did get applied to the source. Jun 02 22:35:38 to both 2.6.24 kernels it is really applied, but the 2.6.25... i take a closer look... Jun 02 22:49:18 after boot from 2.6.24-7 (flash) to 2.6.24-7 (kexec) , both with patch, /proc/atags is empty and cmdline args from kexec (--append=...) are not used Jun 02 22:49:40 oh, wait... Jun 02 23:05:11 ok, mwester, possible the patch is not in 2.6.25, so i test tomorrow only with 2.6.24. thanks for this help! **** ENDING LOGGING AT Tue Jun 03 02:59:57 2008