**** BEGIN LOGGING AT Tue Nov 09 02:59:57 2010 Nov 09 12:01:29 hi Nov 09 12:01:48 I think I have some problems with my fonera and its disk Nov 09 12:02:06 scsi 0:0:0:0: rejecting I/O to dead device Nov 09 12:02:06 Buffer I/O error on device sda1, logical block 66056142 Nov 09 12:02:06 lost page write due to I/O error on sda1 Nov 09 12:02:13 this kind of problem Nov 09 12:22:19 ls Nov 09 12:22:21 ehm Nov 09 12:22:23 sorry Nov 09 12:22:51 ls is my usual approach to a shell :-p Nov 09 15:22:23 hi Nov 09 15:24:07 hi Nov 09 15:24:13 hey blogic :-D Nov 09 15:25:23 I don't remember the command to see logs on the fonera Nov 09 15:28:08 logread Nov 09 15:28:08 and Nov 09 15:28:10 dmesg Nov 09 15:28:26 logread Nov 09 15:28:38 it isn't a standard linux command Nov 09 15:28:42 (I think) Nov 09 15:29:06 Nov 9 12:24:10 Fonera user.emerg syslog: onlined: Check failed. Error count: 1 Nov 09 15:29:29 it means it failed to resolve connectivity Nov 09 15:29:33 aaaah ok Nov 09 15:29:33 24h disconenct of dsl maybe Nov 09 15:29:43 I think my external drive is gonna die :-p Nov 09 15:29:44 it needs 3 fails to go offline i think Nov 09 15:29:47 ouch Nov 09 15:29:58 I'm trying to find out why Nov 09 15:30:18 kernel keeps telling me scsi 0:0:0:0: rejecting I/O to dead device Nov 09 15:30:29 It doesn't smell good :-p Nov 09 15:31:29 I want to tell if is a filesystem, a kernel, or an hardware problem Nov 09 15:31:50 and if is hardware if is a disk or a fonera one Nov 09 15:35:32 I am being serious now. That crazy thing is not part of any test protocol Nov 09 15:36:59 Tas: I assume you tried replugging the USB disk? Nov 09 15:37:37 Tas: logread is a busybox applet, btw, so not standard linux indeed. It reads directly from the kernel log buffer, since nothing is written to disk by default Nov 09 15:42:08 blathijs: yep Nov 09 15:42:22 I tried replugging and also turning it off and on again Nov 09 15:43:07 Sounds like a dying disk or USB -> SATA controller Nov 09 15:43:18 Tried plugging it into another machine? Nov 09 15:49:32 no, too early in the morning ;-n Nov 09 15:49:34 :-p Nov 09 15:50:28 I found a "cheap" external western digital, but before I'd like to know that my fonera won't kill it before buying Nov 09 15:51:38 Frankly, I think that if a external disk can be killed over USB, then there's a bug in the disk or controller... Nov 09 15:52:02 For flash disks its different, because those can be killed through extensive wear Nov 09 16:17:04 blathijs: hi Nov 09 16:17:08 blathijs: found the led patch btw Nov 09 16:17:15 will try to get it out the way tomorrow Nov 09 16:17:23 blogic: Ah, nice Nov 09 16:17:53 we also need to add a patch to /lib/wifi/rt305x.sh Nov 09 16:18:12 I didn't touch that, so that should be fine. Just send me the patch :-) Nov 09 16:18:16 i have been creating noisy environments and testing the detection in the driver Nov 09 16:18:26 and there are 2 new params for this Nov 09 16:18:54 blogic: Did you have a working supllicant-thingy already? I think this wireless driver stuff is the last thing needed before I can start rolling the beta Nov 09 16:19:09 no Nov 09 16:19:13 well Nov 09 16:19:18 i have 1 for the SIMPL Nov 09 16:19:22 we need to adapt it a bit Nov 09 16:19:27 i will put all the info in a amil Nov 09 16:21:19 Perhaps I can have a go at getting it to work on 2.0n if you don't have the time? Nov 09 16:24:11 yes, that is the idea Nov 09 16:24:23 i have 2 code snippets they need to be merged and get some integration Nov 09 16:24:29 i will post that during the night Nov 09 16:24:36 and then the led thing tomorrow Nov 09 16:25:22 ok, great :-) Nov 09 17:05:14 blathijs: I don't think that can be killed from the fonera directly Nov 09 17:05:35 maybe I leaved it turned off too much Nov 09 17:06:21 Tas: How old is the disk? Nov 09 17:09:23 some years Nov 09 17:09:25 like six Nov 09 17:09:58 but it has been in a drawer for a lot of time Nov 09 17:10:33 (It's a box with a 3.5 ide hd within) Nov 09 17:14:32 Then I think the most likely cause is disk failure, really Nov 09 17:14:59 disks tend to die, and having them powered off for longer periods is usually a trigger to break them Nov 09 17:21:01 yup Nov 09 19:10:04 I am trying to move my mpd stuff to my USB disk. I am on the fonera via SSH Nov 09 19:10:36 where can I find my USB drive? It seems not be under mnt Nov 09 19:10:50 /tmp/mountd IIRC Nov 09 19:11:20 or /tmp/mounts has the named symlinks Nov 09 19:11:45 eeeh, ok. But JazzyJ advised to move it away from /tmp Nov 09 19:12:01 (sorry, I am a noob here) Nov 09 19:13:04 <_OldMan_> Use the tmp/mounts/name_of_disk that is safe. Nov 09 19:13:14 yes, I see it Nov 09 19:13:51 yeah!!, found it Nov 09 19:14:27 <_OldMan_> The other links change there name sometimes (after reboot) Nov 09 19:14:39 <_OldMan_> Use the tmp/mounts/name_of_disk that is safe. Nov 09 19:15:47 <_OldMan_> voorstad? Nov 09 19:16:17 <_OldMan_> voorstad_ ? Nov 09 19:17:49 yes Nov 09 19:18:35 <_OldMan_> voorstad_ : Use the tmp/mounts/name_of_disk That is safe. Nov 09 19:20:01 <_OldMan_> voorstad_ : Use the tmp/mounts/name_of_disk That is safe. Nov 09 19:20:11 I am working on it.... Nov 09 19:20:38 editing my mpd.conf to /tmp/mounts/Disc-A1 Nov 09 19:20:56 <_OldMan_> Okay, I have a bad internet connection that disconnect now and then. Nov 09 19:20:56 not sure however where I should put the mpd.conf file Nov 09 19:21:17 itś in /tmp now as well Nov 09 19:21:21 <_OldMan_> Give it a name first in the web interface, Nov 09 19:21:48 eehhhh...? Nov 09 19:22:15 <_OldMan_> After a reboot it sometimes the name changes into Disc-B1 Nov 09 19:22:37 <_OldMan_> If you give it a name in teh Nov 09 19:22:38 oh yeah, I can handle that Nov 09 19:22:58 <_OldMan_> the config screen it wil NOT change that name. Nov 09 19:23:35 <_OldMan_> Mine is named USBstick Nov 09 19:24:14 voorstad_: You can probably just put mpd.conf in /etc ? Nov 09 19:24:32 that was what I thought Nov 09 19:24:49 but how will it be seen by mpd? Nov 09 19:24:52 <_OldMan_> I think yes but i do not know mpd. Nov 09 19:25:09 @Oldman: where in the GUI can I set a name to a disc? Nov 09 19:25:24 voorstad_: Perhaps you can pass the config file at startup? Nov 09 19:25:30 <_OldMan_> I save my pictures on a stick and so I found this problem of the name change. Nov 09 19:26:38 @Blathijs: don t know how to pass a config file at startup Nov 09 19:28:37 voorstad_: Does mpd --help say anything useful? Nov 09 19:30:17 --help this usage statement Nov 09 19:30:17 --kill kill the currently running mpd session Nov 09 19:30:18 --create-db force (re)creation of database and exit Nov 09 19:30:18 --no-create-db don't create database, even if it doesn't exist Nov 09 19:30:18 --no-daemon don't detach from console Nov 09 19:30:18 --stdout print messages to stdout and stderr Nov 09 19:30:20 --verbose verbose logging Nov 09 19:30:22 --version prints version information Nov 09 19:33:46 JazzyJ said this:The default database is set to the /tmp folder so it will get deleted on reboot and depending how much music you have may fill up your router and mean you have to reboot it.. If you're ok manually starting it then you should edit the /etc/mpd.conf file and set the database location to your USB drive. Then run Nov 09 19:33:46 CODE: SELECT ALL Nov 09 19:33:46 killall mpd Nov 09 19:33:46 mpd Nov 09 19:33:46 to restart mpd and there shouldn't be any reason why it won't keep working for you. Nov 09 19:42:58 @Oldman: where in the GUI can I rename Disc-A1 into my own name? Nov 09 19:43:10 I am trying to find... Nov 09 19:44:38 voorstad_: That suggests that having /etc/mpd.conf is just fine by default? Nov 09 19:44:49 voorstad_: There's an USB disc icon on the dashboard for that IIRC Nov 09 19:44:55 ok, Iĺl give it a try Nov 09 19:45:02 voorstad_: You'll have to change the dropdown to "Folder" from "Automatic" Nov 09 19:45:13 I now will edit it to point to my USB disc Nov 09 19:46:28 USB disc is set to automatic Nov 09 19:47:33 You should set it to "Folder" and put some name in the box Nov 09 19:47:41 yep, just found it Nov 09 19:48:18 never new this. Although it is in the description above it :-8 Nov 09 19:48:29 new=knew Nov 09 19:52:11 In mounts, the drive is still called Disc-A1, although I renamed it... Nov 09 19:52:18 is that correct? Nov 09 20:07:19 ok, I edited the mpd.conf in etc and pointed the database mpd.db to my USB drive Nov 09 20:07:31 killall mpd and started mpd again Nov 09 20:07:36 Works! Nov 09 20:08:35 Blathijs, have you installed it already? It is really great! Nov 09 20:09:04 Did I already say I liked it? Nov 09 20:09:08 :-) Nov 09 20:13:10 Nope, haven't installed it yet Nov 09 20:13:19 Busy hacking on firmware and doing other work ;-p Nov 09 20:15:05 Well, you could enjoy some nice music on the background ;-) Nov 09 20:15:19 how is 2.3.7 doing by the way? Nov 09 20:15:52 Will it be before Sinterklaas or before SantaClaus? Nov 09 20:23:04 I've got fixes for just about anything Nov 09 20:23:27 I'll need to do a bit more testing and then start pushing out the fixes to SVN (they're only in my local git repository right now) Nov 09 20:23:40 and I'll need to do a bit more work on the wifi driver, together with blogic Nov 09 20:30:33 mmm, sounds more like SantaClaus then..... Nov 09 20:32:00 Anyways, I am playing around with mpd now. Let;s see if I can setup internetradio as well.... Nov 09 20:37:01 have fun :-) **** ENDING LOGGING AT Wed Nov 10 02:59:57 2010