**** BEGIN LOGGING AT Mon Oct 27 02:59:57 2008 Oct 27 03:01:34 Is your disk drive self-powered? Is the hub powered? Is is a 2.0 or 1.1 hub? Oct 27 03:02:11 the disk has a power supply Oct 27 03:02:31 the hub is 2.0 Oct 27 03:02:48 the hub is not powered Oct 27 03:12:30 looking through the dmesg it found something Oct 27 03:12:34 >Buffer I/O error on device sdb, logical block 0 Oct 27 03:12:55 <6>sd 255:0:0:0: SCSI error: return code = 0x00070000 Oct 27 03:13:05 <4>end_request: I/O error, dev sdb, sector 0 Oct 27 03:13:17 <3>Buffer I/O error on device sdb, logical block 0 Oct 27 03:13:31 <4> unable to read partition table Oct 27 03:14:10 Yeah, that would be a problem. Oct 27 03:14:35 If you plug the disk in directly, does it recognize it then? Oct 27 03:14:37 there is quite a bit of documentation about using hubs and problems with them on the site Oct 27 03:14:54 but if I plug it in directy it shows in fdisk -l Oct 27 03:15:22 DogBoy what site? Oct 27 03:15:24 Ok. Then clearly the hub or the cable is not good. Oct 27 03:15:43 the hub should work Oct 27 03:16:09 let me test it on my pc, it worded befor Oct 27 03:16:10 Unfortunatly, "should" and "does" are often different :( Oct 27 03:16:35 THE SITE Oct 27 03:16:40 :P ok one sec Oct 27 03:16:41 the one in the topic Oct 27 03:17:04 I have trouble with my hub too Oct 27 03:17:26 printing wouldn't work with it and sometimes hard drive would be there and sometimes not Oct 27 03:17:52 actualy the printer worked with the hub Oct 27 03:18:01 with your hub Oct 27 03:18:20 es Oct 27 03:18:22 yes Oct 27 03:23:14 ok it comes up in windows Oct 27 03:23:30 wont open because its ext3 Oct 27 03:23:43 unless i format it Oct 27 03:24:01 should I? Oct 27 03:25:03 Formatting it won't make any difference for the NSLU2 Oct 27 03:25:42 no it wont, but yes for the pc, so no i wont format Oct 27 03:26:32 ok so the hub works Oct 27 03:34:17 The hub works on the PC. Unfortunately that doesn't mean that it works with the NSLU2; there are some unique things about the NSLU2. But try swapping the cables about a bit, or use a diffferent one if you have another one around. Oct 27 03:34:28 DogBoy: Im on the artical but cant find the site http://www.nslu2-linux.org/wiki/FAQ/USBHubs Oct 27 03:34:53 I have 2 same hubs Oct 27 03:35:17 and it sometimes shows up in port 2 Oct 27 03:37:20 sorry that port 3 Oct 27 03:37:35 Is this unslung or SlugOS? Oct 27 03:37:41 slugos Oct 27 03:38:04 ok it can up after unplinging it a few times Oct 27 03:38:13 *unpluging Oct 27 03:39:18 Ok. SlugOS should do better than unslung with hubs. But we can't do anything about the way the hardware is wired, and what happens with un-powered hubs. If you have anything else plugged into that hub, you might unplug it all, and just connect the disk -- see if that makes it connect reliably. (might be something else on the hub that is sucking too much power). Oct 27 03:41:21 actually the hub has what lookes like a power connecter, but is was sold as self powered, I will ask him if I can connect a +5v supply to it. Oct 27 03:42:15 so a powered hub workes better? Oct 27 03:45:23 Most hubs will take a +5V connector. I have had very good luck with a high-quality (expensive) 2.0 powered hub; it works with almost everything. Oct 27 03:46:11 Oddly enough, I have also had very good luck with a no-name 2.0 hub (unpowered) that was handed out as a promotional item at a booth at a trade show. ... Oct 27 03:47:17 humm, well I just emailed the guy and will see what he says, Oct 27 03:47:31 while that I will try ir out Oct 27 03:47:36 it* Oct 27 03:47:44 ok thanks Oct 27 03:47:59 I got to go, good night Oct 27 07:05:09 speaking of hubs earlier ... I'm using the cheapest no-name brand I could find on ebay (paid like a $1 for it) and it works perfect with slugos Oct 27 07:06:21 it's all gonna depend on what's inside Oct 27 07:08:10 I have 3 things on mine hub Oct 27 07:08:32 printer, USB drive for swap memory, and a usb audio thing Oct 27 07:08:40 all 3 work just dandy Oct 27 07:09:59 http://cgi.ebay.com/4-IN-1-USB-HUB-MINI-EDITION_W0QQitemZ250313328119QQcmdZViewItem?hash=item250313328119&_trksid=p3286.c0.m14&_trkparms=66%3A2|65%3A15|39%3A1|240%3A1318 Oct 27 07:10:02 that's the one I have Oct 27 07:10:05 except mine is blue Oct 27 07:10:29 not powered eh Oct 27 07:10:33 nope Oct 27 07:10:41 bummer Oct 27 07:11:06 why bummer? Oct 27 07:12:14 added stress on the slug ps Oct 27 07:12:37 the whole reason I got a hub was to lighten the load on the ps Oct 27 07:12:39 http://cgi.ebay.com/USB-1-1-4-Ports-Hub-Mini-Splitter-HUBS-for-Notebook-PC_W0QQitemZ260293111757QQcmdZViewItem?hash=item260293111757&_trksid=p3286.c0.m14&_trkparms=66%3A2|65%3A15|39%3A1|240%3A1318 Oct 27 07:12:47 that one looks exactly like mine Oct 27 07:12:51 except mine is 2.0 Oct 27 07:12:56 and I didn't pay near that price for it Oct 27 16:00:58 I can mount samba shares that are on my SlugOS/BE machine, but can't mount samba shares on my SlugOS/BE machine, I have samba and kernel-module-smbfs installed, does anyone know why? Oct 27 16:02:53 if that doesn't make sense, I mean, when I try mount -t smbfs //share/name /mountpoint, I get an odd msg, smbfs: mount_data version 1970496882 is not supported, which I haven't been able to find much information on, except that some people say that means I don't have smbfs installed Oct 27 18:58:38 i'm getting closer to solve my issue I think... Oct 27 18:59:15 I think whatever installs smbmount is creating some incorrect symlinks, is it the samba package or kernel-module-smbfs? Oct 27 18:59:28 this is on SlugOS/BE 4.8 Oct 27 19:22:23 umm Oct 27 19:22:27 what exactly is your problem Oct 27 19:23:35 DrJ: /usr/sbin/mount.smbfs is a symlink to /usr/bin/smbmount, i think that it's the wrong location Oct 27 19:24:04 DrJ: I think it should be /sbin/mount.smbfs->/usr/bin/smbmount Oct 27 19:24:47 DrJ: either the samba or kernel-module-smbfs ipkg does this(don't know which one), and i think it's incorrect Oct 27 19:25:34 anyways, I fixed that, but I'm still unable to mount any Windows or Samba shares on my SlugOS/BE 4.8 Oct 27 19:27:12 I get either 1 of these 2 errors: "Can't set perms on /etc/mtabsmbmnt failed: 1" or "Can't get /etc/mtab~ lock filesmbmnt failed: 1" Oct 27 23:12:57 uh guys, I have something wirde going on with my slug Oct 27 23:14:06 Harddrive 2 changed from sdb1 to sdc1 to sdd1 to sde1, whats going on? Oct 27 23:15:34 -_- now its sdf1 Oct 27 23:20:56 after a reboot is has gone back to sdb1 Oct 27 23:23:03 hum it works now... Oct 27 23:23:19 lets say for now.. Oct 27 23:23:35 btw is it ok to have /dev/sdb1 1 1232 9896008+ 7 HPFS/NTFS Oct 27 23:24:05 even though mount says /dev/sdb1 on /media/sdb1 type ext3 (rw,sync,data=ordered) Oct 27 23:24:27 is there an easy way to just share a drive publicly on the lan? samba is giving me trouble Oct 27 23:25:15 in fdisk the system is HPFS/NTFS but in mount it says ext3? I did install ext3. Oct 27 23:26:56 lol I think I found out why I was having hd problems! Oct 27 23:28:04 The disk had room for only one of the 2 downloads I had in transmission. I was short exactly .1GB Oct 27 23:28:07 :P Oct 27 23:42:34 right, see what happens is that transmission puts a hold equal to the size of the torrent on the disk, then when you run out of space it goes to the next disk, but because I did not have anything greater then sdb1 it changed sdb1 to something bigger like sdc1, Oct 27 23:43:21 and every time it tied to resume it it went one higher, Oct 27 23:44:07 - Oct 27 23:44:41 -_- and with my luck it just stoped, after going very well... Oct 27 23:45:36 I get 2 errors one is unspecified I/O error the other is permission denied Oct 27 23:51:44 hi all, Oct 27 23:51:59 is there a simple way to completely clone a nslu2 with openwrt? Oct 27 23:52:07 something about mtd? Oct 27 23:54:30 i's guess copy the harddrive data using "dd" to a new drive and dump the flash from the first slug and upload it to the second one Oct 27 23:54:40 i'd* Oct 27 23:55:13 however if you use dd the harddrives must be exactly the same Oct 27 23:55:39 you can set-up the drive from scratch and copy all the files over from the root filesystem and the other partitions Oct 27 23:55:58 and just change /etc/fstab frely Oct 27 23:56:00 freely* Oct 27 23:57:09 i don't have hard drive Oct 27 23:57:18 only some scripts in flash Oct 27 23:57:26 i've used openwrt kamikaze Oct 28 00:07:34 then dump the flash to a file and upload it to the second slug, that should do i guess Oct 28 00:07:54 however they might get conflicting IPs if they're static, keep such things in mind Oct 28 00:08:35 note however that i haven't tried this, it's just a guess, although a guess pretty likely to work Oct 28 00:09:08 which portion of flash i've to clone? Oct 28 00:09:18 cat /proc/mtd: Oct 28 00:09:37 the whole flash (except the boot loader, redboot or whatever it's called) Oct 28 00:09:37 dev: size erasesize name Oct 28 00:09:37 mtd0: 00040000 00020000 "RedBoot" Oct 28 00:09:37 mtd1: 00020000 00020000 "SysConf" Oct 28 00:09:38 mtd2: 00020000 00020000 "Loader" Oct 28 00:09:38 mtd3: 00100000 00020000 "Kernel" Oct 28 00:09:39 mtd4: 00660000 00020000 "rootfs" Oct 28 00:09:39 mtd5: 00560000 00020000 "rootfs_data" Oct 28 00:09:41 mtd6: 00020000 00020000 "FIS directory" Oct 28 00:10:12 i think the safest way is to shut it down, put it in upgrade mode and use a tool to dump the flash to a file Oct 28 00:10:27 i'm unsure if any windows tool can dump it Oct 28 00:10:30 do you know an utility that do this? Oct 28 00:10:35 but i'm fairly certain the linux tool can Oct 28 00:10:35 barbaz: http://www.nslu2-linux.org/wiki/HowTo/CompletelyBackupTheNSLU2 Oct 28 00:10:52 i've read that guide but it doesn't work Oct 28 00:11:08 with linux toold do you mean upslu2? Oct 28 00:11:11 should work Oct 28 00:11:13 yea, that one Oct 28 00:11:13 upslug2, sorry? Oct 28 00:11:52 hm Oct 28 00:11:58 i don't see a dump option :q Oct 28 00:12:06 but the dd thing in the wiki should work Oct 28 00:12:11 it's pretty much the same thing Oct 28 00:12:28 is not a dump option... Oct 28 00:12:35 with dd i've got a lot of problem Oct 28 00:12:47 also i don't know how to rebuild the image with slugimage Oct 28 00:13:00 what's ramdisk, for example, ? Oct 28 00:13:05 slugimage isn't even mentioned in the wiki Oct 28 00:13:48 yes,ok. i've tried to use dump of mtdblock to build an image with slugimage Oct 28 00:14:16 well, dump them all like the wiki says and just cat them together (like the wiki says) Oct 28 00:14:20 that way you get everything of interest Oct 28 00:14:43 no, the image is too big (is something like 13M) Oct 28 00:14:54 i think that wiki is for squashfs Oct 28 00:14:57 i'm using jffs Oct 28 00:16:17 shouldn't matter as long as you backup all the partitions on the flash in the correct order Oct 28 00:16:22 when you're using mtdblock[0-5], does it matter what fs you're using? Oct 28 00:16:35 now i'm trying to using opewrt original image, and then rewrite mtdblock....let's see... Oct 28 00:16:51 no it shouldn't, the fs is in the partition, so Oct 28 00:16:57 right Oct 28 00:17:21 in the wiki it mention only 6 partion, i've got 7 Oct 28 00:17:34 yea, that's a difference in the distro you're using Oct 28 00:17:41 just dump em all in the correct order Oct 28 00:17:46 and cat them all together in the correct order Oct 28 00:17:52 that way you get the whole flash image Oct 28 00:21:19 and i've to upload it with -C option? Oct 28 00:24:14 now i've a solution! Oct 28 00:24:26 upload the original image with upslug2 Oct 28 00:24:40 then overwrite /dev/mtdblock4 and /dev/mtdblock5 Oct 28 00:24:43 with dump Oct 28 00:24:59 a little bit longer of what i want but a good solution! :P Oct 28 00:26:05 don't use -C unless you really need to i think Oct 28 00:26:24 cause if the image were to be corrupt you could blow up RedBoot, ie. bricking your slug Oct 28 00:26:38 yes, i prefer to aavoid that too Oct 28 00:27:04 now i've got the solution...i can go sleep....in italy is 01:26 :D Oct 28 00:27:10 thank you all guys! Oct 28 00:27:14 :) Oct 28 00:27:15 same time here Oct 28 00:27:24 gn, and good luck **** ENDING LOGGING AT Tue Oct 28 02:59:57 2008