**** BEGIN LOGGING AT Sat May 10 02:59:57 2008 May 10 04:03:55 anyone alive? May 10 04:05:41 anyone............. anyone May 10 09:55:33 Hi! I got a nslu2 yesterday, and the speed when transferring files suck bad. I'm thinking about running some alternative firmware on it, but i'm not sure which to choose. I basically need three things. faster and more stable file transfers, and to run a bittorrent client May 10 09:55:53 which dist should i go for? May 10 10:03:23 i'm thinking about trying unslung, but i can't find anything about the transfer speed May 10 10:04:46 hm May 10 10:04:58 you want to try out Debian May 10 10:06:34 Pinky__1: what speed do you get? May 10 10:07:15 about 1mb/s May 10 10:07:29 if i connect the drive via usb i get about 13-14mb/s May 10 10:08:32 also when trying to download files from it the connection is very unreliable May 10 10:08:42 uploading is stable though May 10 10:09:18 did you try to connect your slug directly to your pc? May 10 10:10:20 no.. gimme a sec and i'll try May 10 10:16:37 strange.. i'm getting ~5.5mb/s now. what could cause this loss on the LAN? May 10 10:17:26 strange. i got about 5.5mb/s now. what could cause this on my lan? :S May 10 10:20:59 Pinky__1, maybe broken cables May 10 10:21:05 i'm on wireless through a wrt54gl running dd-wrt and the nslu2 is connected directly to the router. copying things between other computers on the lan is much faster May 10 10:21:21 Pinky__1, the wireless is it maybe May 10 10:21:32 wireless transfer rates can heavily suck May 10 10:21:48 especially when you're not directly in front of the router May 10 10:21:53 i did use a different cable for connecting directly to the nslu than i did when connecting it to the router, and i thought about that so i swapped the cable. same result still May 10 10:22:16 HardDisk_WP: i get faster speeds even off the internet May 10 10:22:23 strange May 10 10:22:35 is nslu2 - router - pc by ethernet, no wireless, also slow? May 10 10:22:53 i'll try.. brb May 10 10:25:49 meh.. seems to be the wireless after all :( sorry for bothering you, and thanks for the help anyway May 10 10:27:31 np May 10 10:29:02 Nightwolf, do you have an idea if my idea works: i want to use my nslu as timer, using cron...and i wanna plug an USB keyboard into it, and when i press space key, i want the beep stop May 10 10:30:35 or, that I can use the keyboard as some kind of piano board May 10 10:39:56 do any of the firmwares let you bind arbitrary stuff to the power button? May 10 10:40:08 if so, the powerbutton could be your alarm-off May 10 10:42:47 not really, as I use the powerbutton for turning it off and on^^ May 10 10:42:51 debian supports that May 10 10:43:31 why would you want to turn it off :) May 10 10:44:28 when I change the wiring in my room, which happens pretty often May 10 10:45:59 ah May 10 10:47:51 I want to make a battery powersupply for mine May 10 10:48:39 HardDisk_WP: try it ;-) May 10 10:48:57 I think it should run 4 hours on a single li-ion D cell May 10 10:49:02 (with a boost circuit) May 10 12:54:07 anyone out there? May 10 14:28:59 anyone available to try and help me trouble shoot a problem? May 10 14:31:27 yeah May 10 14:31:28 whazzap May 10 15:16:49 on a NSLU2 without graphic output, I have attached an USB keyboard May 10 15:17:03 how can I get what I type on the keyboard May 10 15:17:03 , /dev/input/by-path/pci-0000\:00\:01.1-usb-0\:1\:1.0-event-kbd outputs garbage May 10 15:21:55 HardDisk_WP: Do you want to use the keyboard in a terminal or just assign certain functions to various keys? May 10 15:23:18 treitmayr, i want to pipe the characters to the STDIN of php process May 10 15:23:24 this in turn will then call beep May 10 15:23:41 so that I can use the slug as mini "piano" May 10 15:23:58 treitmayr, anyway, we can talk German if you like May 10 15:24:12 hmm, either language is ok :) May 10 15:25:25 ^^ May 10 15:25:26 I just interpreted the output of the event interface to do stuff May 10 15:25:33 ok May 10 15:25:49 the binary output you saw can be interpreted by different programs May 10 15:26:20 eg. "evtest", "lirc" (that's more for remote controls) or my own "keyevent" May 10 15:26:55 evtest and keyevent do not only give you a single character but also additional information May 10 15:26:58 Event: time 1210433210.904265, type 1 (Key), code 28 (Enter), value 0 May 10 15:26:58 Event: time 1210433210.904281, type 0 (Reset), code 0 (Reset), value 0 May 10 15:27:03 cool May 10 15:27:09 exactly May 10 15:27:38 for keyevent I added some more timing information - long press, "double click" May 10 15:28:21 it the evtest output enough for your needs? May 10 15:28:32 its better than nothing ;) May 10 15:28:46 can I please take a look at your "keyevent"? May 10 15:29:03 LOL http://chezphil.org/slugterm/slugbox.jpeg May 10 15:29:06 thats cool May 10 15:29:16 ok, do you have a cross-build envionment set up? May 10 15:29:32 no, I build native on the nslu May 10 15:29:46 BTW, I just a regular remote control + USB dongle for stuff like on the pic, just no display :( May 10 15:29:56 ah, ok, then have a look at... May 10 15:30:17 well, I'm gonna use my C-Control for display output^^ have you ever seen a CC? May 10 15:30:36 CC? nope May 10 15:31:44 link is: http://www.devbase.at/svn/view.cgi/keyevent/trunk/?root=nslu2 (unfortunately there is no direct svn access, bit it is effectively just on source file in the src/ directory May 10 15:31:47 they're pretty sweet, can do a lot of stuff...but I only gonna use it as cheap RS232-to-display converter May 10 15:31:47 ) May 10 15:33:04 aha, there seem to be quite a lot of products available for c-control, nice May 10 15:35:16 I did not use keyevent in a while so I am not 100% sure how it does on very recent kernels May 10 15:36:57 it's 2.6.18 May 10 15:37:11 stock debian^^ May 10 15:37:23 ah, that's not too recent ;) May 10 15:38:00 argh, fuck autoconf May 10 15:38:37 hmm, you could probably just directly compile the file May 10 15:39:00 no May 10 15:39:03 it misses config.h May 10 15:39:13 just create an empty one May 10 15:39:20 that should do it, I guess May 10 15:42:11 HardDisk_WP: any success? May 10 15:43:11 configure.in: 9: required file `./[config.h].in' not found May 10 15:43:17 it's not in SVN May 10 15:43:23 oh May 10 15:44:39 it should be generated by autoheader May 10 15:45:12 maybe autoreconf May 10 15:46:06 but I still think if you create an empty config.h and then directly compile keyevent.c in the src/ directory, that should work... May 10 15:46:45 gcc -o keyevent keyevent.c May 10 15:47:13 i try May 10 15:47:45 works May 10 15:47:48 how to invoke it? May 10 15:48:37 ok, the first two parameters are VID + PID May 10 15:49:33 then the timeout values: May 10 15:50:02 04b4:8328 May 10 15:50:12 s/:/ / May 10 15:50:50 hmm, if I could remember whether the durations are specified in ms or us... May 10 15:51:16 works with zero May 10 15:51:19 all zero May 10 15:51:26 should be milliseconds May 10 15:52:15 so: keyevent 04b4 8328 1000 1000 400 10000 May 10 15:52:29 for example May 10 15:52:38 k May 10 15:52:40 all zero, hmm, a corner case :/ May 10 15:52:44 well, i have all zero now May 10 15:52:45 it works May 10 15:52:46 but May 10 15:53:13 die pfeiltasten und der einfg-block (also die tasten drumrum) geben auch noch sysrg pressed/released May 10 15:53:48 ahf, jetzt gehts mit den werten May 10 15:53:49 passt May 10 15:53:54 is genau was ich brauche May 10 15:54:50 treitmayr, jetzt muss ich nur noch den debugkram zu beginn weghauen dann geht alles May 10 15:54:53 but: all zeros will give you 1000s for the delays, but you may not need them anyway May 10 15:54:56 treitmayr, exzellente arbeit, danke May 10 15:54:58 ok, passt May 10 15:55:22 sollte für meine zwecke ausreichen :) May 10 15:55:28 ok May 10 15:55:32 jetzt muss ich nur noch nen USB-Hub auftreiben May 10 15:56:04 ja, die USB-Anschluesse gehen schnell aus May 10 15:56:35 treitmayr, irgendeine idee wie ich die drei LEDs kontrolliere? May 10 15:59:45 HardDisk_WP: That should also work via the event interface, but I don't know a simple program to do that... May 10 16:02:56 i think it just is writing some commands into the devicefile, but i have no idea what ones May 10 16:03:41 hmm, I would also have to do some research to find out... May 10 16:05:09 you dont have to^^ May 10 16:08:22 there is some information here: http://www.linuxjournal.com/article/6429 including sample code but looks more like reading the current status... you will find out :) May 10 16:17:24 treitmayr, well, I have some problems with the double-pressed stuff...but elsewhile its working perfect May 10 16:17:53 the problem is that when I hold a key pressed May 10 16:18:16 it has three press events May 10 16:18:24 but i gonna sort that out May 10 16:18:57 I'm looking for a little help. My HDD that was attached to my NSLU2 is no longer being recognized as being formated. I've attached the drive to my linux machine and found that Gparted also finds it as not formated. Its saying "sdb: unknown partition table" - i was wondering if anyone had some magic on how to recover the data....assuming its there yet... May 10 16:19:23 HardDisk_WP: you can either tweak the source code or pipe the output through "grep -v double", for example May 10 16:23:17 anyone? May 10 16:24:45 lunchbox2: what does "dd if=/dev/sdb bs=512 count=1 | hexdump -C" tell? (FYI that's the Master Boot Record) May 10 16:25:30 treitmayr, doesnt matter, i solved the issue^^ May 10 16:25:45 HardDisk_WP: fine! May 10 16:25:50 lunchbox2: if possible copy it to http://pastebin.com/ May 10 16:26:27 its actually not even finding the device but it shows up on gpart....go figure May 10 16:26:28 treitmayr, i'm gonna write the PHP program in a way that you can pipe its output to the STDOUT of a program May 10 16:26:37 and there is no diff for the program May 10 16:27:55 HardDisk_WP: so you just translate the keyevent output to single characters, right? May 10 16:28:14 yeah May 10 16:28:23 but I also parse the modifier keys May 10 16:28:29 like shift, capslock, ctrl, alt etc May 10 16:28:56 for example, simple press of a echoes "a" May 10 16:29:01 but with shift, "A" May 10 16:29:07 ah, that will be quite some task, for the whole 102 keys (or so) ;) May 10 16:29:10 wow May 10 16:30:27 lunchbox2: there is no /dev/sdb? In the other channel I saw dmesg outputting some messages about sdb May 10 16:31:04 Yep - that works for some reason but trying to access the drive doesn't - I don't get it May 10 16:31:10 treitmayr, not really, you just need something to parse the modifier and their effects May 10 16:31:37 treitmayr, i'll give you the src when i'm done May 10 16:35:23 It also shows up as a USB2.0 Storage Device on USB devices... May 10 16:36:49 HardDisk_WP: Ok, that would be nice - for the day when the buttons of my remote control will not be sufficient anymore... May 10 16:39:27 lunchbox2: accessing the drive as a raw byte stream should really work, with and without proper partitions. Maybe udev does not create the device node though(?) May 10 16:39:52 From the device manager.... May 10 16:39:54 Key: block.device Type: string Value: /dev/sdb May 10 16:40:16 there it is May 10 16:40:35 You guys are way beyond me on that one - I'm just trying to find something to get this to work... sparking ideas perhaps May 10 16:42:15 hm May 10 16:42:19 Progress....xxxxxxx@silverstar:~$ /dev/sdb May 10 16:42:20 bash: /dev/sdb: Permission denied May 10 16:42:26 you not root May 10 16:42:26 man May 10 16:42:38 run "su" May 10 16:42:39 right! May 10 16:42:46 then "file -s /dev/sdb*" May 10 16:42:54 file shall detect what is going on May 10 16:43:04 it normally detects a lot of stuff. May 10 16:43:23 treitmayr, the basic stuff is working :) May 10 16:43:51 HardDisk_WP: great! May 10 16:44:40 I'm going to bash my head into a wall - I can't remember my root pw May 10 16:44:57 lunchbox2: can you do "sudo bash"? May 10 16:45:20 yep May 10 16:45:45 root@silverstar:~# file -s /dev/sdb* May 10 16:45:46 /dev/sdb: writable, no read permission May 10 16:45:48 root@silverstar:~# May 10 16:47:39 that is not good. May 10 16:47:55 lunchbox2, ls -lah /dev/sdb* May 10 16:48:01 :'( May 10 16:48:29 root@silverstar:~# ls -lah /dev/sdb* May 10 16:48:31 brw-rw---- 1 root plugdev 8, 16 2008-05-10 05:58 /dev/sdb May 10 16:50:06 thou have read permission May 10 16:50:10 id -a please May 10 16:50:27 treitmayr, http://s-m.homeip.net/evparser.php May 10 16:50:34 root@silverstar:~# id -a May 10 16:50:34 it's sufficient for hello world :D May 10 16:50:35 uid=0(root) gid=0(root) groups=0(root) May 10 16:50:39 k May 10 16:50:51 now file /dev/sd* May 10 16:51:01 notice the missing -s and the b May 10 16:51:15 root@silverstar:~# file /dev/sd* May 10 16:51:16 /dev/sda: block special (8/0) May 10 16:51:17 /dev/sda1: block special (8/1) May 10 16:51:19 /dev/sdb: block special (8/16) May 10 16:51:26 okay May 10 16:51:36 now file -s /dev/sdb May 10 16:52:07 root@silverstar:~# file -s /dev/sdb May 10 16:52:09 /dev/sdb: writable, no read permission May 10 16:52:11 May 10 16:53:11 strange May 10 16:53:12 you have w May 10 16:53:16 and r May 10 16:53:33 lunchbox2, chmod 777 /dev/sdb May 10 16:53:39 then again file -s /dev/sdb May 10 16:54:17 root@silverstar:~# chmod 777 /dev/sdb May 10 16:54:19 root@silverstar:~# file -s /dev/sdb May 10 16:54:21 /dev/sdb: writable, executable, no read permission May 10 16:54:35 o_O May 10 16:54:39 for hell May 10 16:54:48 that is not possible, something is wrecked. May 10 16:54:48 it's on the floor I can just kick it... May 10 16:54:51 no! May 10 16:54:54 that's a tough nut May 10 16:55:00 treitmayr, the PHP script? May 10 16:55:18 lunchbox2, hmm...you know pastebin? then run "dmesg", and pastebin its output May 10 16:55:30 ah, no, the disk, not the script! May 10 16:55:37 ^^ May 10 16:55:51 HardDisk_WP: Thanks, just took a look at it and will try it... May 10 16:55:57 :) May 10 16:56:11 beware, it doesnt support anything other than A-Z, 0-9 and space May 10 16:56:15 oh, enter May 10 16:56:39 HardDisk_WP: yep May 10 16:57:23 http://pastebin.com/d7af4174f May 10 16:58:52 # May 10 16:58:53 # May 10 16:58:53 [ 202.654232] sd 4:0:0:0: scsi: Device offlined - not ready after error recovery May 10 16:58:54 # May 10 16:58:54 [ 202.654239] sd 4:0:0:0: [sdb] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK,SUGGEST_OK May 10 16:59:16 lunchbox2, disconnect it from powersupply and USB, then replug May 10 16:59:26 and for what the hell do you still use a floppy drive?! May 10 16:59:46 :) May 10 16:59:51 I don't - but it was laying around so I put it in :) May 10 17:00:33 ah kk May 10 17:01:02 done May 10 17:01:46 lunchbox2, now, file -s /dev/sdb* May 10 17:02:12 * treitmayr crosses his fingers May 10 17:02:50 root@silverstar:~# file -s /dev/sdb* May 10 17:02:51 /dev/sdb*: ERROR: cannot open `/dev/sdb*' (No such file or directoy) May 10 17:03:14 root@silverstar:~# file -s /dev/sd* May 10 17:03:16 /dev/sda: x86 boot sector, extended partition table (last)\011 May 10 17:03:17 /dev/sda1: x86 boot sector, code offset 0x52, OEM-ID "NTFS ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 63, dos < 4.0 BootSector (0x80) May 10 17:03:21 :) May 10 17:03:26 oh wait May 10 17:03:30 what the ... May 10 17:03:34 again, dmesg please May 10 17:03:38 (in pastebin) May 10 17:04:57 http://pastebin.com/m7423c714 May 10 17:07:48 [ 1879.584087] usb 2-1: reset high speed USB device using ehci_hcd and address May 10 17:08:04 lunchbox2, do you have an nvidia Nforce based motherboard? May 10 17:08:23 please plugout again, and choose a different usb port May 10 17:08:24 yep May 10 17:08:30 ok May 10 17:08:38 nforce is pretty buggy sometimes with USB May 10 17:09:53 root@silverstar:~# file -s /dev/sd* May 10 17:09:54 /dev/sda: x86 boot sector, extended partition table (last)\011 May 10 17:09:56 /dev/sda1: x86 boot sector, code offset 0x52, OEM-ID "NTFS ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 63, dos < 4.0 BootSector (0x80) May 10 17:10:05 sdb is interesting May 10 17:10:14 but it isnt there again May 10 17:10:18 nforce is fucked May 10 17:10:26 lunchbox2, do you have another machine? May 10 17:10:32 which is not nforce based May 10 17:10:34 nope May 10 17:10:39 :( May 10 17:10:40 fuck... May 10 17:10:45 could there be a problem with the USB case? May 10 17:10:46 PCI to USB extender? May 10 17:10:49 treitmayr, no May 10 17:10:53 this is NForce bug May 10 17:11:05 no I don't May 10 17:11:18 lunchbox2, hmm...do you have an USB hub? May 10 17:11:21 I can just install the drive to the machien though May 10 17:11:23 how is the drive attached? May 10 17:11:27 ok, do this May 10 17:11:37 but please, only when the machine is turned off May 10 17:13:53 go ahead and install the drive as an internal drive? May 10 17:14:26 yes May 10 17:14:56 ok - sorry I thought you had another recommendation that was coming - I shall return May 10 17:32:29 Alrighty - i'm back May 10 17:33:53 :) May 10 17:34:01 now open rootshell May 10 17:34:09 done May 10 17:34:10 then file -s /dev/hd* May 10 17:34:20 one of these shall be the disk May 10 17:34:29 does the disk spin up actually? May 10 17:34:37 yep May 10 17:35:03 root@silverstar:~# file -s /dev/hd* May 10 17:35:04 /dev/hdc: x86 boot sector; partition 2: ID=0x5, starthead 254, startsector 3823 4700, 1751085 sectors, code offset 0x48 May 10 17:35:06 /dev/hdc1: Linux rev 1.0 ext3 filesystem data (needs journal recovery) (large fi les) May 10 17:35:07 /dev/hdc2: x86 boot sector, extended partition table (last)\011 May 10 17:35:09 /dev/hdc5: Linux/i386 swap file (new style) 1 (4K pages) size 218876 pages May 10 17:35:10 /dev/hdd: data May 10 17:35:29 ah okay May 10 17:35:33 it is hdc? May 10 17:35:49 then fsck -Crf /dev/hdc1 May 10 17:36:17 fsck 1.40.2 (12-Jul-2007) May 10 17:36:18 e2fsck 1.40.2 (12-Jul-2007) May 10 17:36:20 /dev/hdc1 is mounted. May 10 17:36:21 WARNING!!! Running e2fsck on a mounted filesystem may cause May 10 17:36:23 SEVERE filesystem damage. May 10 17:36:51 run with it? May 10 17:36:57 no May 10 17:37:06 fuck May 10 17:37:11 run "mount" please May 10 17:37:16 then pastebin it May 10 17:37:21 and dmesg also May 10 17:38:16 mount : http://pastebin.com/d17f63778 May 10 17:39:50 dmesg: http://pastebin.com/d2f905fdb May 10 17:41:25 lunchbox2, the drive SATA or IDE May 10 17:41:32 IDE May 10 17:41:43 # May 10 17:41:43 [ 41.870329] hdd: WDC WD1200JB-22GVA0, ATA DISK drive May 10 17:41:47 is it this model? May 10 17:41:49 Yes May 10 17:41:57 # May 10 17:41:57 # May 10 17:41:59 [ 42.011839] hdd: unknown partition table May 10 17:42:19 this => not good May 10 17:42:34 somehow the partition table, is fucked up May 10 17:42:42 wonderful.... May 10 17:42:47 type /join #ubuntu May 10 17:43:06 then ask if someone can help you with a disk with broken partition table May 10 17:43:18 * treitmayr wonders what "dd if=/dev/hdd bs=512 count=1 | hexdump -C" would tell May 10 17:43:43 lunchbox2, oh, do what treitmayr says May 10 17:43:59 got it May 10 17:44:11 ? May 10 17:44:29 just take the hex section to pastebin? May 10 17:44:54 uh^^ May 10 17:45:01 the whole output May 10 17:45:08 k May 10 17:45:35 http://pastebin.com/d60204d06 May 10 17:46:51 this looks...eh...fucked May 10 17:47:07 treitmayr, any idea? May 10 17:47:27 right, does not look good at all May 10 17:47:48 thats not reassuring May 10 17:47:48 it must have been overwritten May 10 17:48:02 I think you have to recreate a partition table May 10 17:48:17 wait May 10 17:49:40 how many partition did you have on that disk? May 10 17:50:13 should be just one May 10 17:51:19 hm May 10 17:51:49 it still looks like it was overwritten May 10 17:52:01 treitmayr, if its just one: is it possible to write a general partition table to it, with one big partition ext3? May 10 17:52:07 there is no signature in the last two bytes (should be 55 AA) May 10 17:52:16 true May 10 17:52:22 the disk or the partition table? I don't know how the disk woudl have been overwritten seeming it was the drive attached May 10 17:52:33 I did some stuff like that for vmware a while ago May 10 17:52:36 anyway May 10 17:53:11 lunchbox2: that's a good question... May 10 17:54:11 treitmayr, the best would be to write some parttable creating one huge partition ext3 May 10 17:54:31 i believe so, was it ext3? May 10 17:54:32 then we at least can search for the 1st sector of the linux partition May 10 17:54:37 treitmayr, doesnt matter May 10 17:54:46 treitmayr, we let file detect what type it is/was May 10 17:56:16 where should it detect it from? if it was ntfs or fat or something? May 10 17:56:17 I'm not sure if it was ext3 or not - I formated it years ago when I first messed with unslung software - so if thats what it uses thats what it was May 10 17:57:46 ok, I never wrote a partition table on a hardisk containing data using fdisk, for example May 10 17:58:01 but I hope it does not write to some other parts of the disk May 10 18:00:01 let's try it? May 10 18:00:17 running out of options why not May 10 18:01:02 treitmayr, file's detection is _magic_ May 10 18:01:09 it detects every big FS out there May 10 18:01:20 treitmayr, fdisk only manipulates partition tabke May 10 18:01:25 create one big May 10 18:01:28 then we can go ahead May 10 18:01:35 then reboot May 10 18:01:41 this is important May 10 18:01:48 else the kernel won't recognize May 10 18:02:01 then you can run file, fsck etc May 10 18:02:27 afk, eating May 10 18:04:28 lunchbox2: need help with fdisk? May 10 18:04:56 probably so - I could probably do it in gparted but I'd rather follwo some instructions May 10 18:07:43 fdisk /dev/hdd May 10 18:08:02 "p" should tell you that there are no partition May 10 18:08:03 s May 10 18:08:20 Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel May 10 18:08:23 Building a new DOS disklabel with disk identifier 0x1527c5a9. May 10 18:08:24 Changes will remain in memory only, until you decide to write them. May 10 18:08:26 After that, of course, the previous content won't be recoverable. May 10 18:08:27 The number of cylinders for this disk is set to 14593. May 10 18:08:29 There is nothing wrong with that, but this is larger than 1024, May 10 18:08:30 and could in certain setups cause problems with: May 10 18:08:32 1) software that runs at boot time (e.g., old versions of LILO) May 10 18:08:33 2) booting and partitioning software from other OSs May 10 18:08:35 (e.g., DOS FDISK, OS/2 FDISK) May 10 18:08:36 Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) May 10 18:08:48 ok, now "n" for new May 10 18:09:05 "p" - "1" May 10 18:09:28 first cylinder? May 10 18:09:37 First cylinder (1-14593, default 1) May 10 18:09:39 it should suggest 1, so just enter May 10 18:09:51 and again just "enter" May 10 18:10:01 for the last cylinder May 10 18:10:09 Last cylinder or +size or +sizeM or +sizeK (1-14593, default 14593): May 10 18:10:10 Using default value 14593 May 10 18:10:12 Command (m for help): May 10 18:10:44 "p" should show the new partition already May 10 18:10:59 Device Boot Start End Blocks Id System May 10 18:11:01 /dev/hdd1 1 14593 117218241 83 Linux May 10 18:11:07 ok May 10 18:11:47 now just "w" for writing it to the disk May 10 18:12:15 Calling ioctl() to re-read partition table. May 10 18:12:16 Syncing disks. May 10 18:12:20 k May 10 18:12:21 and as HardDisk_WP said, reboot May 10 18:12:36 and cross my fingers May 10 18:12:55 I'll be back.... with either good news or bad news :) either way I appreciate the help May 10 18:13:01 ok May 10 18:16:04 treitmayr, my piano is working :) May 10 18:16:05 cool May 10 18:16:40 treitmayr, the piano is located at http://s-m.homeip.net/piano.php May 10 18:16:50 call it via php evparser.php | php piano.php May 10 18:17:23 hey lunchbox2 :) May 10 18:17:26 IT WORKED! May 10 18:17:36 YOU GUYS ARE AWESOME! May 10 18:17:36 nice :) May 10 18:17:39 thx May 10 18:17:42 great! May 10 18:17:58 WOO HOO! May 10 18:18:01 lunchbox2, now: fsck the partition!!!!! May 10 18:18:04 open shell May 10 18:18:16 run fsck -Crf /dev/hdd1 May 10 18:18:28 this shall repair your partition May 10 18:19:38 root@silverstar:~# fsck -Crf /dev/hdd1 May 10 18:19:39 fsck 1.40.2 (12-Jul-2007) May 10 18:19:41 e2fsck 1.40.2 (12-Jul-2007) May 10 18:19:42 /dev/hdd1 is mounted. May 10 18:19:44 WARNING!!! Running e2fsck on a mounted filesystem may cause May 10 18:19:45 SEVERE filesystem damage. May 10 18:19:47 Do you really want to continue (y/n)? May 10 18:20:02 lunchbox2: first unmound the partition May 10 18:20:12 umount /dev/hdd1 May 10 18:20:48 running May 10 18:21:34 inodes that were part of a corrupted orphan linked list found. Fix ? May 10 18:22:31 i guess so. HardDisk_WP? May 10 18:23:31 hmm... May 10 18:23:32 n May 10 18:23:39 at least for now May 10 18:23:46 i want to know what other errors are May 10 18:23:49 ok May 10 18:24:58 so while this runs - its time to make sure this doesn't happen again - I was using this HD on a Nslu2 obviously - I was stupid and never bought a 2nd hd to back this one up - do you think I should just buy another hd or think about buying linksys's new NAS May 10 18:25:48 ass 1: Checking inodes, blocks, and sizes May 10 18:25:49 Inodes that were part of a corrupted orphan linked list found. Fix? no May 10 18:25:51 Inode 1507347 was part of the orphaned inode list. IGNORED. May 10 18:25:52 Inode 2392114 was part of the orphaned inode list. IGNORED. May 10 18:25:54 Pass 2: Checking directory structure May 10 18:25:55 Pass 3: Checking directory connectivity May 10 18:25:57 Pass 4: Checking reference counts May 10 18:25:58 Pass 5: Checking group summary information May 10 18:26:00 /dev/hdd1: ********** WARNING: Filesystem still has errors ********** May 10 18:26:01 /dev/hdd1: 30792/14630912 files (2.8% non-contiguous), 5436561/29260381 blocks May 10 18:26:42 okay... May 10 18:26:57 it should be safe to re-run and fix May 10 18:27:24 lunchbox2, another HD...or does anyone know if linksys' new NAS also is supported by linux? treitmayr ? May 10 18:27:59 unslung has some additional software out there for it May 10 18:28:03 hmm, I took a quick look at the new NAS but it looks weaker than the slug May 10 18:28:37 its also cheaper to just buy a hd then a whole new system that would require 2 new SATAs May 10 18:28:57 i just don't need this problem again May 10 18:29:13 sure ;) May 10 18:30:03 I personally use a combination of 2nd harddisk + DVDs (the latter mostly for audio/video) May 10 18:30:47 depending on how frequent the data changes May 10 18:31:11 Inode 1507347 was part of the orphaned inode list. FIXED. May 10 18:31:12 Inode 2392114 was part of the orphaned inode list. FIXED. May 10 18:31:14 Pass 2: Checking directory structure May 10 18:31:15 Pass 3: Checking directory connectivity May 10 18:31:17 Pass 4: Checking reference counts May 10 18:31:18 Pass 5: Checking group summary information May 10 18:31:20 /dev/hdd1: ***** FILE SYSTEM WAS MODIFIED ***** May 10 18:31:21 /dev/hdd1: 30792/14630912 files (2.8% non-contiguous), 5436561/29260381 blocks May 10 18:31:26 yeah - I might do that May 10 18:31:47 when this crashed I realized how much stuff is actually on here May 10 18:31:47 now you can remount it and check if everythink looks ok May 10 18:33:38 looks ok although I can't open files - "Cound not open location; you might not have persmission to open the file." May 10 18:34:20 HardDisk_WP: just saw your link to piano.php (I was probably overcooking my noodles at the time), will try it out, thanks! May 10 18:35:09 treitmayr, if you wait some minutes, you will even have recording support^^ May 10 18:35:40 wow May 10 18:36:27 treitmayr, so does this mean that I can reinstall the drive to the USB case May 10 18:36:59 aehm May 10 18:37:01 yes May 10 18:37:42 ok - we'll see what happens - thanks again guys - i'm off to eat - buy another USB drive and then get the rest of this working May 10 18:37:52 ^^ May 10 18:38:05 bye, lunchbox2 May 10 18:38:30 thanks again - you guys rock May 10 18:38:43 treitmayr, for some reason when using the two phps together, sometimes there comes spontaneous output...but i cant figure out where these get created May 10 18:38:59 because i dont press any key, and evparse.php alone doesnt do anything May 10 18:39:17 output like "idle" or similar? May 10 18:39:20 oh May 10 18:39:21 Notice: Undefined offset: 1 in /static/slugpiano/evparser.php on line 19 May 10 18:39:22 yes May 10 18:39:26 its the idle stuff May 10 18:39:27 lol May 10 18:39:46 i misspelled the filtercode which should filter this^^ May 10 18:39:48 hmm, that was something I had to include for my buggy USB sound card! May 10 18:42:06 treitmayr, [KEY_COFFEE] = "Coffee", May 10 18:42:12 you run a Mac keyboard?? May 10 18:42:25 coffee? May 10 18:42:39 I just copied the stuff from evtest May 10 18:42:53 but that's actually a good idea May 10 18:43:02 Lol May 10 18:43:10 btw, I think the "beeper" does not really play frequencies well (did not check with your program, but some weeks ago") May 10 18:43:45 wanted to give me feedback how well the reception of my dvb-t receiver is May 10 18:43:59 you run a DVB-T tuner on the NSLU?! May 10 18:44:03 but I could hardly tell whether the tone was rising or falling May 10 18:44:05 I tried this once May 10 18:44:07 sure May 10 18:44:10 :) May 10 18:44:11 it instantly crashed here May 10 18:44:16 I can even record ... May 10 18:44:16 the nslu was overloaded May 10 18:44:20 that it did too... May 10 18:44:24 before I fixed it May 10 18:44:33 can even record 2 streams at the same time May 10 18:44:36 well, i unplugged the dvb-t tuner and it reacted again May 10 18:44:43 treitmayr, WTF May 10 18:44:53 how the hell did you do this?!?! May 10 18:44:58 there was some problem with the size of the dma buffer May 10 18:45:13 it is a terratec cinergy t2 diversity May 10 18:45:22 where was the bug? May 10 18:45:27 mine is conexant stuff May 10 18:45:41 the dma buffer was > 4096 (something like 38kB) May 10 18:45:55 and there is code in the kernel to reject that May 10 18:46:06 so when I connected the serial cable May 10 18:46:20 I saw the error messages and dug until I found the cause May 10 18:46:34 patched it to 4096 and now it works May 10 18:46:52 I even have a tiny http server that according to the URL tunes to one of the channels May 10 18:47:00 ROFL May 10 18:47:02 and allows me to watch my my PC May 10 18:47:04 dude, that is cool May 10 18:47:22 but it is a pain with these tiny antennas May 10 18:47:22 treitmayr, can you please tell me where you patched? May 10 18:47:33 sure, one moment May 10 18:49:15 sed -i 's%buffersize = 39480%buffersize = 4096%' drivers/media/dvb/dvb-usb/dib0700_devices.c May 10 18:49:47 maybe there is something similar possible for the conexant driver May 10 18:51:00 hmm, the buffer size seems to be 8192 in cxusb.c (if that's what is used) May 10 18:51:12 hmmm... May 10 18:51:22 upps, maybe not May 10 18:51:25 i think i gonna stop all unneccessary stuff on the slug May 10 18:51:27 and then try May 10 18:52:36 yes, it seems to be 8192 May 10 18:53:04 I also increased .count from 4 to 7, just in case May 10 18:56:07 HardDisk_WP: I checked with kernel 2.6.25, not sure how your version 2.6.18(?) looks like regarding cxusb.c May 10 18:56:17 treitmayr, http://pastebin.ca/1013961 May 10 18:56:25 this is dmesg fail May 10 18:57:03 bad May 10 18:57:25 BUG: warning at arch/arm/mm/consistent.c:363/dma_free_coherent() May 10 18:59:57 there seems to be an ongoing issue with that May 10 19:02:19 hello May 10 19:02:31 anyone got VDR on NSLU2 working? May 10 19:02:33 now I am not sure if my adapter or its driver is just different or if it is the newer kernel or the new DVB-T drivers May 10 19:03:24 treitmayr, what kernel do you run? May 10 19:04:58 Linux NSLU2 2.6.25-rc6 #1 Thu Apr 3 23:23:57 CEST 2008 armv5teb unknown May 10 19:05:19 + the dvb driver from around 4 weeks ago May 10 19:05:32 right now i have debien etch on nslu2 May 10 19:05:45 is it possible to upgrtade to lenny? May 10 19:08:56 treitmayr, mmh...how do I crosscompile a kernel? May 10 19:09:06 HardDisk_WP: it was a bit tedious to compile that kernel version because there is no config-file for the slug yet May 10 19:09:13 I use the MasterMakefile May 10 19:09:16 I dont want to compile Linux on the Slug ^^ May 10 19:09:20 whats that? May 10 19:09:36 hmm, that's SlugOS stuff :) May 10 19:10:01 the packages are taken from openembedded May 10 19:10:31 and the mastermakefile just allows to start the build process for the whole image with one command May 10 19:12:24 HardDisk_WP: http://www.devbase.at/Bildschirmfoto-3.png May 10 19:13:36 WTF cool May 10 19:14:04 treitmayr, brb reboot to linux May 10 19:20:04 re May 10 19:21:41 treitmayr, i now take 2.6.18 config and compile .25 on it May 10 19:22:03 for the slug? May 10 19:23:10 yeah May 10 19:23:12 but it dont work May 10 19:23:17 how do i change the arch? May 10 19:23:34 you need a whole cross-compile environment May 10 19:23:46 argh :/ May 10 19:23:52 where to get one in debian format? May 10 19:25:02 hmm, even if we could copy some of the binaries - I use big-endian May 10 19:26:22 what does debian use? May 10 19:26:31 I am not really an export for debian unfortunately May 10 19:26:48 probably cross-compile it... May 10 19:30:49 HardDisk_WP: Is it possible to have the kernel of sid (which should be 2.6.25) installed in parallel to your stable version? May 10 19:31:09 mh May 10 19:31:13 i dont think so May 10 19:31:17 because kernel is inflash May 10 19:31:56 ok, just like in slugos May 10 19:33:29 there is no other way May 10 19:51:04 kexec May 10 20:00:19 mwester: kexec looks interesting, I have to try it for my next kernel upgrade! May 10 20:00:26 thanks May 10 20:03:42 I FUCKING HATE CROSSCOMPILING May 10 20:04:02 i HAVE installed everything for arm from http://speedblue.org/cross_compilation/ May 10 20:04:14 but WHY does make still whine about missing arm-ld?! May 10 20:05:35 brb May 10 20:11:50 still around Harddisk_WP? May 10 20:17:34 re May 10 20:17:36 lunchbox2, yea May 10 20:17:56 I'm looking for some help transfering files between HDDs - everytime I try and move to a backup disk it tells me /media/dis...filename cannot be copied because you do not have permissions to read it. - any ideas? May 10 20:18:15 run as root May 10 20:18:40 as dumb as this sounds - how May 10 20:22:30 well May 10 20:22:38 how do you currently transfer files? May 10 20:22:42 via commandline? May 10 20:24:04 I'm all GUI man =/ May 10 20:26:03 hello May 10 20:26:10 i need to install ntfs-3g May 10 20:26:18 i tried the backports how-to May 10 20:26:26 but apt-get doesnt find the package May 10 20:26:43 lunchbox2, uh... run "mount", pastebin it May 10 20:26:56 then tell me from where to where you want to copy May 10 20:29:31 hello? May 10 20:30:11 http://pastebin.com/d2bcadaea May 10 20:31:54 dev/hdd1/Stack1 to dev/sdb1/stack1/ May 10 20:33:29 again, how to install ntfs-3g? May 10 20:33:53 I wish I could help docmax_ but I have no idea May 10 20:34:55 for what its worth - I put the drive back in the USB box and it still reads ad unformated - i put it back in the PC - I'm just going to copy the info over to the new USB drive - log back into windows and burn them to a disk - I need to make sure I have proper permissions so I can access them May 10 20:35:37 docmax_, you do NOT want to do this May 10 20:35:41 lunchbox2, hm May 10 20:36:07 lunchbox2, run ls -lah /media May 10 20:36:32 drwxr-xr-x 7 root root 4.0K 2008-05-10 10:08 . May 10 20:36:33 drwxr-xr-x 22 root root 4.0K 2008-05-10 07:40 .. May 10 20:36:35 lrwxrwxrwx 1 root root 6 2007-10-27 16:23 cdrom -> cdrom0 May 10 20:36:36 drwxr-xr-x 2 root root 4.0K 2007-10-27 16:23 cdrom0 May 10 20:36:38 drwxr-xr-x 2 root root 4.0K 2007-10-27 16:23 cdrom1 May 10 20:36:40 drwxrwxr-x 25 502 501 4.0K 2007-11-25 23:43 disk May 10 20:36:41 lrwxrwxrwx 1 root root 7 2007-10-27 16:23 floppy -> floppy0 May 10 20:36:43 drwxr-xr-x 2 root root 4.0K 2007-10-27 16:23 floppy0 May 10 20:36:44 drwxrwxrwx 1 root root 4.0K 2008-05-10 14:47 FreeAgent Drive May 10 20:36:46 -rw-r--r-- 1 root root 129 2008-05-10 10:08 .hal-mtab May 10 20:36:47 -rw------- 1 root root 0 2008-05-10 10:08 .hal-mtab-lock May 10 20:36:49 treitmayr, still around? May 10 20:37:24 lunchbox2, strange, you should have all needed... May 10 20:37:35 lunchbox2, and change out your USB box May 10 20:41:41 I plan on it but first I want to get the data off the drive and someplace I actually have access to it - once that is done I'm making back up DVD's - I'm probably going to reflash my slug and reformat the drive and see if it works then - need to transfer the files first May 10 20:47:39 FUCK May 10 20:47:44 i messed it up somehow May 10 20:47:44 why not want to do this? May 10 20:48:04 docmax_, ntfs-3g is cpu hog May 10 20:48:15 any of the devs on? May 10 20:51:01 harddisk.. any other solutions? May 10 20:51:11 why do you want ntfs support? May 10 20:51:24 i have 4x 500GB HD May 10 20:51:29 anyway, ntfs-3g doesnt exist for arm May 10 20:51:36 and for such big HDDs use ext3 May 10 20:51:39 i had windows before May 10 20:51:54 nfts with compression May 10 20:52:01 now i went to linux May 10 20:52:13 can i convert the filesystem? May 10 20:52:20 no May 10 20:52:25 you need to copy the files by hand May 10 20:52:27 format all? May 10 20:52:31 damn May 10 20:52:38 no May 10 20:52:43 is ext3 fast? May 10 20:52:46 treitmayr, ping! May 10 20:52:52 pong May 10 20:52:53 all linux FS are May 10 20:53:02 treitmayr, you run debian on your slug, right? May 10 20:53:05 does it support compression? May 10 20:53:14 docmax_, no, and you dont need it May 10 20:53:15 i d like to have compresson May 10 20:53:17 I run SlugOS/BE May 10 20:53:20 for what? May 10 20:53:25 treitmayr, :( May 10 20:53:33 anyone here running debian on his slug? May 10 20:53:38 I really want minimum resource usage May 10 20:53:46 2 GB files with nothing in it would take 2GB space May 10 20:53:49 HD only spins up when needed May 10 20:53:54 but compressed only 10 KB May 10 20:54:12 then you need manual compression; and why do you store such stuff May 10 20:54:12 sorry HardDisk_WP May 10 20:54:13 yes i have debian 4.0r3 May 10 20:54:20 docmax_, on the slug? May 10 20:54:23 good... May 10 20:54:25 * lunchbox2 waits patiently May 10 20:54:26 yes May 10 20:54:57 can you please somehow cp /dev/mtd* into some archive or so and send it me? May 10 20:55:12 I have fucked up my flash (kernel & initramfs) May 10 20:55:20 my slug...well, i can reach it in upslug May 10 20:55:28 and so i want to reflash a debian kernel May 10 20:58:04 for these situations i always backup my SD card May 10 20:58:11 dev/mtd? May 10 20:59:21 mtd is just a link May 10 20:59:26 where are the actual files? May 10 21:00:57 ahf, ok May 10 21:00:59 then forget it.. May 10 21:03:32 why forget it? May 10 21:09:34 root@marco-laptop:/static/linux-kernel/nslu# upslug2 -k /tmp/vmlinuz-2.6.18-6-ixp4xx -R /tmp/initrd.img-2.6.18-6-ixp4xx -U May 10 21:09:34 NSLU2 00:1d:7e:af:1b:6b Product ID: 1 Protocol ID: 0 Firmware Version: R23V63 [0x2363] May 10 21:09:35 /tmp/vmlinuz-2.6.18-6-ixp4xx: file too large or too small: fatal error [std::exception] May 10 21:09:39 aaaaaaargh May 10 21:09:56 anyone who can help me?! May 10 21:12:33 Nightwolf, around? May 10 21:13:22 perfect timing May 10 21:13:30 lol May 10 21:13:37 Nightwolf, do you run debian on your slug? May 10 21:13:41 yes May 10 21:14:09 Nightwolf, can you please make me an dd image of the flash partitions? May 10 21:14:18 I have messed up my flash with a broken .25 kernel May 10 21:14:34 so I need an image of the mtd partitions May 10 21:14:47 ok May 10 21:14:50 as upslug2 doesnt let me flash vmlinuz image :/ May 10 21:15:24 you should have made a backup ;-) May 10 21:15:58 I had May 10 21:16:10 but i didnt know upslug2 refuses vmlinuz kernel images :( May 10 21:18:51 Nightwolf, do you know why it refused the image? May 10 21:20:18 no May 10 21:20:32 kk May 10 21:22:02 Nightwolf, when you're done, please send the image(s) to marco@velirat.de May 10 21:22:34 do you have a link where this dd mtd is explained? i already have done it some time ago but can't find the link again May 10 21:23:06 no idea... May 10 21:23:28 Nightwolf, can you please file -s /dev/mtd* ? May 10 21:23:39 then it should be visible what of them i need May 10 21:26:51 ok i meant this link: http://www.nslu2-linux.org/wiki/Debian/FAQ May 10 21:27:53 ok :) May 10 21:28:00 Nightwolf, oh wait May 10 21:28:01 stop May 10 21:28:04 this not good May 10 21:28:15 when i flash this image, i flash the bootloader :( May 10 21:28:16 what? May 10 21:28:26 http://www.nslu2-linux.org/wiki/Info/RedBootSequence states that mtdblock2 contains the kernel and mtdblock3 the ramdisk May 10 21:28:35 so you need only one of them? http://www.nslu2-linux.org/wiki/Info/RedBootSequence May 10 21:29:26 Nightwolf, i need two May 10 21:29:38 hi May 10 21:29:42 dd if=/dev/mtdblock2 of=/tmp/kernel May 10 21:29:49 dd if=/dev/mtdblock3 of=/tmp/ramdisk May 10 21:29:54 anybody here using transmission? May 10 21:29:58 then mail me the two files in /tmp May 10 21:30:01 thx :) May 10 21:36:43 Nightwolf, noch da? May 10 21:37:01 ja sorry, bin gerade dabei May 10 21:37:07 thx :) May 10 21:40:25 hast post May 10 21:41:29 thx May 10 21:41:35 schaun wir mal obs klappt... May 10 21:43:20 Nightwolf, du läufst auf 2.6.18? May 10 21:44:32 hm gute frage ;-) May 10 21:44:57 jo stimmt May 10 21:47:08 arghl... May 10 21:47:44 Nightwolf, kannst du bitte kurz ls -lah /dev|grep mtd machen? May 10 21:48:12 Nightwolf, mindestens eine der beiden images ist falsch May 10 21:48:37 wie falsch? May 10 21:48:49 kernel ist nur 128K May 10 21:48:57 image ist 1,4MB, vermutlich der Kernel May 10 21:49:22 Nightwolf, mach mal bitte des kommando...ich glaube die aufteilung da gilt für upslug May 10 21:49:43 http://nopaste.php-quake.net/28488 May 10 21:50:09 hm May 10 21:51:37 Nightwolf, mtdblock0 is der bootloader May 10 21:51:55 HardDisk_WP: just FYI, ntfs-3g exists for ARM, and works quite well. I think perhaps it's just not in the debian feeds. May 10 21:52:01 Nightwolf, kannst du mir bitte noch die anderen mtdblocks schicken? May 10 21:52:05 mwester, ah k May 10 21:57:49 yo. so I just discovered the nslu2, looking at something to replace a fileserver @ home thats generally only used for smb/nfs/upnp serving. does the 3rd party firmware stuff spin the drives down or have options as to how many minutes of inactivity to spin them down? May 10 21:57:54 Nightwolf, ? May 10 21:58:02 HardDisk_WP: sekunde... May 10 21:58:11 falz, you can use hdparm for example, when you run debian May 10 21:58:49 dies that tie into ACPI stuff for power somehow, or independant? May 10 21:58:55 ? May 10 21:59:07 I don't know what hdparm's purpose is. May 10 21:59:12 i dont think the nslu has acpi May 10 21:59:18 falz, hdparm controls disks May 10 21:59:55 so it sounds like I'd have to have some combo of lsof w/ hdparm to spin things down. May 10 22:01:06 for what lsof? May 10 22:01:12 list open files. May 10 22:01:20 I'm just thinking of a proper way to spin the disk down without files in use May 10 22:01:29 I may be overthinking it since I dont even have it May 10 22:02:08 heh I guess I could just read.. http://www.nslu2-linux.org/wiki/FAQ/SpinDownUSBHarddisks May 10 22:04:58 thanks. May 10 22:05:41 np May 10 22:05:54 Nightwolf, noch da? May 10 22:06:36 HardDisk_WP: ja nur mal keine hektik, hab auch noch andere sachen zu tun May 10 22:06:42 is klar^^ May 10 22:06:52 will dir keinen streß machen^^ May 10 22:30:46 Nightwolf, thx May 10 22:39:36 Nightwolf, weisst du ob debian ein rootfs zusätzlich zur initrd nutzt?! May 10 22:55:20 Has anyone had problems installing sendmail? May 10 22:55:35 I'm having dependencies problems. May 10 23:16:48 anyone still awake? May 11 01:36:39 HardDisk_WP: yes **** ENDING LOGGING AT Sun May 11 02:59:56 2008