**** BEGIN LOGGING AT Sat Mar 29 02:59:56 2008 Mar 29 03:14:21 mwester - did you get my message from the other day I left here? Mar 29 03:15:59 All - my problem is that I have two USB 2.0 enclosures attached to my Unslung (6.10) NSLU2 and when I copy more than 2 or 4 files at a time it chokes. I can watch on my network monitor on Windbloze XP that the network activity hits about 50% for a short time. My current theory (cont) Mar 29 03:17:28 is that the old drives I'm using, both IDE, one is 6GB (Unslung) and the other is 10GB (Data) can't handle the throughput of USB 2? Like a small cache/buffer and it is overwelmed. It is a graceful exit on error, and usually only copies a small portion of the last file that it dies on. Mar 29 03:17:47 Anyone care to speculate on this? Mar 29 03:47:33 Smurf-Slayer: No. Mar 29 03:47:53 Slow drives just mean slow transfer rates, not failures. Mar 29 03:48:56 ssh into the device, and see what messages appear in the /var/log/messages file, and what the content of the kernel message buffer is ("dmesg" command). Mar 29 03:49:29 Since the logs are not always time stamped, do that before and after the failure, so you can see what new messages appear, if any. Mar 29 03:50:41 Another thing to try is to enable the ftp server on the NSLU2 (on the admin GUI pages), then ftp a bunch of files up to the disks. Mar 29 04:33:19 mwester - Dmesg has no errors and is a short file. However, /var/logs/messages is quite large. I see this in there "Dec 31 16:00:31 (none) user.debug kernel: WARNING: USB Mass Storage data integrity not assured" Mar 29 04:43:22 That's normal. Mar 29 04:43:45 How are your systems all connected to the network? Mar 29 04:43:49 mwester - The ftp seems to work, but with the same problem, only no errors. The first three files go at around .55 to .64 seconds around 4580.xx kbytes/sec, then the fourh one takes 73 seconds at only 34.04 kbytes/sec. The 4 more really fast at around .59 to .78 seconds... I'm still waiting for the next one... Mar 29 04:44:10 They are all wired. Is that what you mean? All 100Mb Mar 29 04:45:16 You might try to reformat the disks to FAT/NTFS, install the Linksys firmware, then reformat the disks, and retest - just to see if anything changes. Mar 29 04:45:21 Then, the next "slow one" took 181 seconds at 15.72 kbytes/sec. While the others are all around .49 to .70 second between 3900 and 4800 kbytes/sec Mar 29 04:45:54 You mean the r24v63 firmware? Mar 29 04:46:08 Or any other version you care to Mar 29 04:46:09 err.. r23v63 Mar 29 04:46:33 y Mar 29 04:46:33 y Mar 29 04:46:34 y Mar 29 04:46:52 Opps.. Sorry... Mar 29 04:47:21 Okay, so the FTP doesn't cause errors, but it exhibits the same "real fast" then "real slow" behavior. Mar 29 04:48:06 So, I'm guessing that the Windows Explorer has a much tighter threshold on the "timeout" period resulting in the error. Since it doesn't see an "ack" it gives the error that the "folder" is no longer available. Mar 29 04:48:45 Does that imply that the "Windows Explorer" method is flawed, or is this problem I'm having unique to me? (Meaning that most folks would just use FTP?) Mar 29 04:49:26 mwester - the problem I had with the Linksys firmware was that I couldn't format my disks because of the 10GB rule... Mar 29 05:01:42 FTP is completely different from the Windows share, so this might only indicate only that FTP is more resiliant to whatever problem is present. Mar 29 05:02:22 You need to do your timing/speed tests with files that are significant in size, otherwise caching effects overwhelm the real data. Mar 29 05:03:03 Try to copy just files > several MB in size at least, and pref. copy the same file several times. Mar 29 05:03:13 I still think there are network issues going on. Mar 29 05:03:22 Did you ever build a network map? Mar 29 05:04:00 I never made a map, but I turned off everything but the windows box, the cable modem and the NSLU2 Mar 29 05:05:03 I would suggest that you build a chart showing the specific network settings obtained from each machine: IP address, netmask, gateway, DNS servers, domain names, etc. Mar 29 05:05:25 Like an Excel Spreadsheet kind of chart? Mar 29 05:05:28 Yep. Mar 29 05:06:19 Trust nothing; fetch the info from each machine ("ipconfig /all" on windows, "ifconfig -a" on linux/unslung, and the various other tools for DNS servers, etc). Mar 29 05:07:11 And especially be suspicious of that cable thingy. Unless you bought it, and paid top dollar for it, it's the cheapest one the cable company could find, and they really care nothing for your side of the link, only for what's on their side of the device. Mar 29 05:07:56 It's a DSL modem. And it seems to be pretty good. It's an Actiontec GT-701WG Mar 29 05:08:10 errr.... GT701-WG Mar 29 05:08:54 Okay, Column A is Machine name, B is IP Address, C is Gateway, D is netmask and E is DNS... Anything else? Mar 29 05:20:50 mwester I have the info? I don't see anything out of the ordinary, but I'm no guru... Mar 29 05:31:25 domain name for each machine Mar 29 05:33:27 I'm not sure what you mean by domain name? Like "DNS Suffix Seach List"? Mar 29 05:33:51 Or "Primary DNS Suffix:"? Mar 29 05:35:38 :) Both - Windows will use both if it can. Mar 29 05:35:58 XP or Vista? Mar 29 05:36:33 Both my windows boxes are domain.actdsltmp for both of those, but it doesn't show on the ifconfig or ifconfig -a Mar 29 05:37:09 Then how do you know? Mar 29 05:37:35 How do I know what? Mar 29 05:37:52 Oh - you meant you can't find the domain name on the linux system? Mar 29 05:38:01 Yes, that is what I meant. Mar 29 05:38:32 use the GUI on Unslung; it's not too standard. Mar 29 05:42:26 There is no "domain name" in the GUI that I can find. I found the other information though. Mar 29 05:43:09 What about "workgroup"? Does that matter? Mar 29 05:47:09 How do I get Ubuntu or the Slug to tell the DNS Servers? Mar 29 05:47:22 Yep, workgroup would be good too. Mar 29 05:47:48 DNS servers should be in the GUI on Unslung. On either linux you should be able to just cat /etc/resolv.conf Mar 29 05:49:25 Ahh! Got it. I have all of this information in a spreadsheet for all of the machines that are on, and most of it for the machines that are off. Mar 29 05:49:37 I just don't see anything that says "This is screwed up"? Mar 29 05:50:43 Ok, well why don't you share some of the info. What columns are the same for all the systems, and what is the value? Mar 29 05:51:41 Okay... I have 7 machines, 2 are powered off... One is a camera, and the other is a Windows 2000 box... They are off and have been for some time. Mar 29 05:53:21 All of the IP address are different. They are all 192.168.0 and are .1 DSL Modem, .2 WinXP machine, .4 WinXP machine, .3 Win 2K Pro (powered off), .4 Win XP Pro, .20 D-Link Camera (powered off), .78 the Slug, .100 an Ubuntu box. Mar 29 05:53:44 Bcast is only available for both the Slug and Ubuntu, they are the same at 192.168.0.255 Mar 29 05:54:05 Gateway for everything but the DSL modems is 192.168.0.1 which is the DSL modem. Mar 29 05:54:19 Netmask? Mar 29 05:54:49 DNS is all 192.168.0.1 (Pri), 205.171.3.65 (Sec), 205.171.2.65 (Tit) Mar 29 05:55:09 Netmask is 255.255.255.0 for everything Mar 29 05:55:49 Workgroup is "workgroup" for the two WinXP boxes, the Slug and the W2k Pro box Mar 29 05:56:00 Ok Mar 29 05:56:30 And on the machines that I can get the Domain from it is domain.actdsltmp Mar 29 05:57:30 Ok. The important stuff looks ok. Which of these are DHCP, and which are manually set? Mar 29 05:57:57 I have that too.. All Win is DHCP, the Ubuntu, Slug and Camera are all Static. Mar 29 05:58:34 And do all the systems have unique hostnames? Mar 29 05:58:52 You mean like the "Machine Name"? Mar 29 05:59:43 That's an interesting question. It might be. Depends on so many configuration things, combined with what the vendor thought "machine name" meant to them. Mar 29 06:00:22 Its set in the slug's GUI, but Windows will generate a name for you when it installs. Mar 29 06:02:21 In any case, your gateway device is claiming to be the name resolver -- but if it only DHCP's some of the devices, then it may not know of the others by name. hence it will be unable to resolve the name -- and it will (potentially) kick it up to your ISP to see if they know the name. Probably not, in which case it just takes a long time, but worst case is that there's a host on the internet with that name. Mar 29 06:03:04 Windows can use its own naming server, but it has a search order that is so complicated that the order might as well be random. Mar 29 06:03:19 Okay, so here is what I know... Mar 29 06:03:31 So we really don't know if your Windows box knows about the slug by name reliably. Mar 29 06:03:32 The slug is "SLUG1", I put that in the GUI. (I plan on having more). Mar 29 06:04:02 Ok. Can you type "ping slug1" on the ubuntu box, and have it work? Mar 29 06:04:14 One WinXP box is SNE1 and the other is WX1. The W2K is SNE. I don't know what the host name is of the Ubuntu box. Mar 29 06:04:28 No. Nothing resolves my names for me. Mar 29 06:04:40 Ok,nothing wrong with those names. Mar 29 06:04:40 Holy cow! It DOES work! Mar 29 06:05:25 Or no... Wait it DOESN'T work... I did it in a SSH to SLUG1... Mar 29 06:05:40 Ubuntu can't resolve the name(s). Mar 29 06:06:17 However, WinXP can resolve "slug1" to the right IP and it DOES answer. Mar 29 06:06:47 Yes, WinXP uses its own resolver, and the NSLU2 (samba, actually) responds. Mar 29 06:07:07 Okay.. I'm familiar with SAMBA (at least a little anyway.) Mar 29 06:07:34 But try this, to avoid any confusion anywhere: add an entry for SLUG1 to the hosts file on the WinXP box, and see if that makes a difference. Mar 29 06:07:38 Well, I can't imagine that my Slug is "broken"... It seems to do everything I ask of it... Mar 29 06:07:52 Where is that host file? Mar 29 06:07:53 Oh it's not broken. Mar 29 06:08:21 C:\WINDOWS\system32\drivers\etc or something like that. Mar 29 06:09:41 It's getting late, I'll check in later to see it that made any difference, also make sure to test with files > several MBytes, otherwise all you are testing is cache performance. Mar 29 06:12:16 Do 2M or 3M files count, or do you want bigger? Mar 29 06:20:41 I added it in and it still does the same thing :-( Mar 29 14:35:43 hi, mwester compared today without and with a powered usb hub same files . I got somtinhg like 0.7 MB SLOWER with the powered. tried from vista-->slug 100 mb mp3:s. Mar 29 14:39:49 haha Mar 29 14:39:55 janne-5011, that sounds counter productive Mar 29 14:40:25 indeed Mar 29 14:40:52 well i needed a usb hub anyway Mar 29 14:40:57 :) Mar 29 14:41:17 and when I was there buyed a usb audio to play with to=) Mar 29 14:41:24 heh Mar 29 14:41:32 I got one that i could use powered, but im not currently - my printer and 500GB MyBook are self powered, then i've just got a 512 memory stick running from the usb power Mar 29 14:43:06 yes I got a lot of usb discs for this and that, and got only 2 good ports at my windows machine so hub needed Mar 29 14:44:28 hm slower lol. need a cig=) Mar 29 14:45:09 did you get a named brand one, orr something else? Mar 29 14:49:25 its from deltaco.eu 7 port 480Mbit/s Mar 29 14:50:13 http://deltaco.eu/Details.aspx?PID=UH-710 Mar 29 14:50:33 small and looks good Mar 29 14:53:06 24 uk pund Mar 29 14:58:13 Hmm Mar 29 15:00:49 mwester - if you responded to me last night I didn't get the response, apparently my power went off. Mar 29 15:11:10 No, I went to sleep, so you didn't miss anything. Mar 29 15:11:36 So you now know some things that *are not* the problem; that's good too (just ask Edison, if he were still alive) Mar 29 15:12:00 Have you ever checked the samba logs, BTW? /var/log/messages/samba or something like that, usually. Mar 29 15:12:59 janne-5011: I'm a bit surprised about that significant a drop in network performance too. I expected that the network speed of the Slug would be so much slower than USB that the extra overhead of a hub would be invisible. That's a significant slowdown. Mar 29 15:13:52 yes, 0.7 Mar 29 15:19:41 forget I had toorents upload. need to redo it Mar 29 17:48:58 mwester - lots of "connection reset by peer" in /var/log/samba/log.smbd Mar 29 17:52:03 No errors in /var/log/samba/log.nmbd..... Mar 29 17:52:40 This is also in log.smbd "getpeername failed. Error was Transport endpoint is not connected" Mar 29 18:49:54 I try to get a usb audio card ot work , when i do" insmod /lib/modules/2.4.22-xfs/kernel/drivers/sound: Mar 29 18:49:54 soundcore.o" it says no module found . But ls -R /lib/modules shows them. Mar 29 18:58:43 never mind fixed Mar 29 19:15:31 anyone tried a upnp server with a ps3? Mar 29 19:17:57 novacane_22 you can look at mediatomb Mar 29 19:18:21 think mt work with ps3 if I rememeber correct Mar 29 19:18:36 I have just tied mediatomb, ushare and fuppes Mar 29 19:18:48 They all work for jpgs but no audio Mar 29 19:18:51 hi@all Mar 29 19:19:10 hi asa Mar 29 19:40:22 I get the same thing from all 3 servers when I try and play mp3s, the play station gives and unsupported error msg Mar 29 19:41:02 Twonkymedia? Mar 29 19:41:27 did not try twonky, ushare, mt and fuppes Mar 29 20:06:33 <^IcE-bOy^> hi Mar 29 20:06:46 <^IcE-bOy^> I have a NSLU2 with debian, but always i have the same prolem :( too very slow in boot, lot ot time watting with status in orange and disk1 in green (not blinking) Mar 29 20:07:04 <^IcE-bOy^> about 30 minutes in boot ... Mar 29 20:07:04 <^IcE-bOy^> about 20 minutes in boot .. and not always boot :( Mar 29 20:07:10 <^IcE-bOy^> what can i do? thanks Mar 29 20:09:47 have you more than 1 drive attached? Mar 29 20:14:07 <^IcE-bOy^> Reedy, no Mar 29 20:14:22 <^IcE-bOy^> and i have the same problem using a Hard Disk that a pendrive Mar 29 20:14:38 <^IcE-bOy^> i can telnet en redboot Mar 29 20:14:48 <^IcE-bOy^> but i don't know what can i do from here :( Mar 29 20:15:22 <^IcE-bOy^> when appears to be freeze, nothing happens (not logs in pendrive, not pendrive led blinking, ..) **** ENDING LOGGING AT Sun Mar 30 02:59:56 2008