**** BEGIN LOGGING AT Mon Jun 02 02:59:56 2008 Jun 02 12:59:43 Can anyone help me with an openslug problem? Jun 02 13:01:02 People would not be able to answer such a question until they knew more about the problem itself. Jun 02 13:02:14 I've just switched to openslug, and I think I'm missing something basic whilst trying to edit MediaTomb (http://www.nslu2-linux.org/wiki/Info/MediaTomb) - I can't find /opt/ on my drive? Jun 02 13:30:39 http://www.nslu2-linux.org/wiki/Optware/Slugosbe might help Jun 02 13:31:19 oh wait, it's available without optware too... Jun 02 13:31:31 I would guess that the paths are starting from / or /usr instead of /opt then Jun 02 13:31:53 so /etc/mediatomb instead of /opt/etc/mediatomb Jun 02 13:35:21 I'm not seeing anything in /etc/ or /usr/ Jun 02 13:36:15 I can find the config files in ~/.mediatomb/ (i.e. config.xml), just not the other files Jun 02 13:39:28 other files? there's no /etc/init.d/mediatomb file? Jun 02 13:39:44 nah, that's the strange thing, I can't find anything in init.d either Jun 02 13:39:53 has it installed to the wrong location perhaps? Jun 02 13:40:06 /usr/local/etc/ ? Jun 02 13:40:27 no /local in usr Jun 02 13:40:40 ipkg files mediatomb Jun 02 13:40:46 should list all the files belonging to mediatomb.. Jun 02 13:42:05 ahh Jun 02 13:42:08 that looks more promising Jun 02 13:42:44 it seems to all be in /usr/share/mediatomb/ Jun 02 13:43:09 but nothing outside of that (nothing in /etc/init.d/ or default) Jun 02 13:51:51 Did I grab the wrong ver perhaps? It installed fine when I used ipkg update and then ipkg install mediatomb Jun 02 13:56:29 it runs fine, all I want to do it ensure that it runs automatically on boot Jun 02 21:56:25 Hey all - anyone have any idea how to reflash an NSLU that is already running openslug, to the same version of openslug? Mine was working perfectly off a flash disk, but now it won't even recognise flash disks in either USB port, and is running off the internal flash memory, so I figure its best to start from scratch again Jun 02 22:11:59 Ge1: Just follow the normal procedure with the same firmware bin file that you originally used. Jun 02 22:12:14 yeah, I tried that, but it managed to retain the original settings Jun 02 22:12:33 (external flash drive unplugged, so its not loading off that either) Jun 02 22:12:33 That's what it's designed to do. Jun 02 22:12:50 its still not picking up on USB devices though? Jun 02 22:13:22 SlugOS does not automatically select a USB device and start using it; you must use the "turnup" command to do that. Jun 02 22:14:31 well this is whats confusing me Jun 02 22:14:37 because I followed http://www.nslu2-linux.org/wiki/OpenSlug/InitialisingOpenSlug last time Jun 02 22:14:40 and it worked perfectly Jun 02 22:15:07 but I've been looking at dmesg, and df, and its not recognising the disk being inserted, whereas it was last time Jun 02 22:15:23 (so at the moment I can't even fdisk the device) Jun 02 22:15:55 Ok, then that's nothing to do with a reflash. Jun 02 22:16:14 ok, I just assumed it needed a wipe and a fresh start ^^ Jun 02 22:16:22 Test the flash drives in another computer to see if they are working correctly. Jun 02 22:16:26 check Jun 02 22:16:34 even tried using a different flash drive Jun 02 22:19:48 And when you plug in a FAT-formatted flash drive, what happens? Jun 02 22:23:01 still nothing in df Jun 02 22:23:08 and fdisk wont work either Jun 02 22:23:10 What does dmesg say? Jun 02 22:23:45 a lot, but the last few lines are plain eth0 details Jun 02 22:24:20 Then unplug the device, wait 15 seconds, plug it in, run dmesg again, and describe the added information Jun 02 22:25:01 unplug the PSU, or the flashdrive? Jun 02 22:25:09 flashdrive Jun 02 22:25:13 no change Jun 02 22:25:29 What firmware is currently flashed? Jun 02 22:25:45 slugOSBE-4.8-beta Jun 02 22:27:20 And have you done anything with it since flashing it? Jun 02 22:27:36 since I reflashed it? Jun 02 22:27:48 Or since I flashed it from the Linksys firmware? Jun 02 22:28:47 since you reflashed SlugOS Jun 02 22:29:12 nothing, I've just been trying to get the flashdrive working Jun 02 22:31:34 Ok. Then one would assume that all the drivers are present, and nothing has happened to the software that would explain it. The flash drive works on another computer. This leaves only the USB ports themselves as a problem, or perhaps the power-supply for the NSLU2 is marginal. Jun 02 22:31:56 hmm Jun 02 22:32:18 I'll move the PSU over, its the only thing that's changed since it was working Jun 02 22:33:03 just to check, the flashdrive should be in P1, and being formatted FAT32 is fine yeah? Jun 02 22:37:20 The flashdrive can be in any USB port; there is no difference with SlugOS between the ports. FAT32 is fine. Jun 02 22:37:55 ok Jun 02 22:38:08 how old will dmesg be? that's not just from 1 boot is it? Jun 02 22:39:51 (and does the number of beeps the NSLU2 is throwing off matter? Because I don't think I remember it being that vocal when I first flashed it to openslug - or is part of that because it can't find the external flash?) Jun 02 22:46:06 demsg is in-memory, so that is the output since it last booted. Jun 02 22:47:16 The beeps indicate the boot results; it will beep if it cannot complete its boot as directed (due to some error, for example an external disk missing or such). It will give three beeps when it completes a successful boot. Jun 02 22:49:15 ok, well at the moment I'm getting four beeps, followed by a ~5sec pause, then 3 beeps, so I guess thats normal Jun 02 22:57:18 is it not just possible to wipe the info currently on the slug, and write over it? Because it must be a setting on the device somewhere surely? Jun 02 23:03:06 Ge1: Have we not just established that your device is not able to detect a flash drive plugged into the USB ports? Jun 02 23:03:51 You have told me that you have made no changes since you flashed the device last, hence there is no settings that would affect this. Jun 02 23:03:55 yeah, but AFAIK nothing has happened to the device (no rough power switches etc) Jun 02 23:04:01 true Jun 02 23:04:13 but its got remnants of the last flash on it Jun 02 23:04:19 Where? Jun 02 23:04:35 werid bits like the mediatomb front page is still accessible Jun 02 23:04:41 You just flashed SlugOS 4.8 onto it, right? Jun 02 23:04:55 yep, using upslug Jun 02 23:05:05 watched it go through the whole process Jun 02 23:05:27 Then mediatomb is not present; that would probably be your browser cache. Jun 02 23:05:32 ok Jun 02 23:05:49 so theres no point just trying to reflash it in another way? Jun 02 23:07:46 You can try it, it won't hurt anything. Jun 02 23:08:12 does it matter if the flashdrive is plugged in, or should it be removed? Jun 02 23:08:56 You need to get it to be able to recognize that a USB device has been plugged into the port - you can see this by seeing what dmesg prints out. It will mention something about the USB devices when a device is inserted and removed. Jun 02 23:09:19 You should not have anything plugged into the USB ports when flashing it, but it's unlikely that would make a difference. Jun 02 23:12:45 nope, no change Jun 02 23:12:51 dmesg hasn't changed a bit Jun 02 23:14:16 Then I think either your power supply has failed, or your USB ports have failed, or perhaps your flash disk has failed in an unusual manner. Jun 02 23:14:54 What's the output from the "lsmod" command? Jun 02 23:15:58 Module Size Used by Jun 02 23:15:58 ixp4xx_mac 14612 0 Jun 02 23:15:58 ixp4xx_qmgr 5388 5 ixp4xx_mac Jun 02 23:15:58 mii 3424 1 ixp4xx_mac Jun 02 23:15:58 ext3 110504 0 Jun 02 23:15:59 jbd 47784 1 ext3 Jun 02 23:16:01 mbcache 5604 1 ext3 Jun 02 23:16:03 ohci_hcd 16804 0 Jun 02 23:16:05 ehci_hcd 30252 0 Jun 02 23:16:27 Nothing wrong there... Jun 02 23:16:45 What about "uname -a" Jun 02 23:17:04 Linux MediaServer 2.6.21.7 #1 PREEMPT Mon Dec 24 23:12:24 UTC 2007 armv5teb unknown Jun 02 23:18:09 All seems well. :( You have tried the other USB port, right? Jun 02 23:18:14 yep Jun 02 23:18:19 bit weird to loose both at once Jun 02 23:18:34 when I plug in a USB hub, it does light up, so its not like the port is completely dead Jun 02 23:18:55 but the USB flashdrive just fails to respond completely - LED doesn't blink once Jun 02 23:19:24 They are all on the same chip so it's possible that they may all fail. Does dmesg record anything when you plug in the hub? Jun 02 23:19:57 nah, no change with the hub, with devices plugged in or alone Jun 02 23:21:03 You can try a new power supply, they go bad often, but they usually don't fail in that manner. Jun 02 23:21:43 ^^ gotta be a better bet than just ditching the unit Jun 02 23:21:59 dmesg is chronologically ordered yeah? Jun 02 23:22:08 Yes, dmesg is in order. Jun 02 23:22:17 ok Jun 02 23:22:38 oh well, I'll go have a hunt for a new PSU in the morning I guess, see if that helps Jun 02 23:22:56 thank you very much for your time, and sorry to have been such a pain! Jun 02 23:24:36 No problem -- it's a shame about the device. But don't throw it out, perhaps someone will have a use for it and may be willing to purchase it even without USB ports. Jun 02 23:25:19 aye, not like its totally useless yet ;P Jun 02 23:25:20 thanks again **** ENDING LOGGING AT Tue Jun 03 02:59:57 2008