**** BEGIN LOGGING AT Sun Jan 29 02:59:57 2006 Jan 29 07:04:25 hi masters Jan 29 07:06:21 is there anybody here who can help me building kernel-module for a synology DS101 ? Jan 29 07:06:59 I ask google first, I read a lot on www.nslu2-linux.org but I'm lost :( Jan 29 07:09:34 when I 'make' my kernel (linux-2.4.X sources taken from synology web site) (crosstool-0.38, gcc3.4.4, binutils-2.15.94.0.2 glibc-2.2.5) I always have this : Jan 29 07:09:46 "blkpg.c:252: error: asm-specifier for variable `__r1' conflicts with asm clobber list" Jan 29 07:13:23 I know I should change gcc or binutils version but this don't solve my problem. Jan 29 07:14:08 does anyone succeed in compile ds101 module ? Jan 29 09:28:39 Hi, how do I verify my NSLU2 has booted from my unslung disk? Jan 29 09:28:55 the Howto I'm reading doesn't really make it clear? Jan 29 09:45:58 ah, never mind Jan 29 10:03:37 I'm trying to follow some instructions to get the NSLU2 to disable the swap space on boot Jan 29 10:03:43 because I'm booting from a flash device Jan 29 10:04:13 but it's not running my script at boot, seemingly. I've put it in /unslung/rc.unslung ? Jan 29 10:12:18 ciaran: rc.unslung-start Jan 29 10:12:39 just rename it? Jan 29 10:12:42 yup Jan 29 10:13:04 Is there a way of restarting the NSLU2 over telnet?? Jan 29 10:13:13 It's in the other room to my PC ;-P Jan 29 10:13:16 reboot Jan 29 10:13:21 nice Jan 29 10:13:38 and of course via web interface Jan 29 10:13:51 my scripts should be in /unslung right, not /share/hdd/conf/unslung ? Jan 29 10:14:25 unslung has worked for me Jan 29 10:16:42 okay Jan 29 10:17:05 aha, that worked great! Jan 29 10:17:12 thanks man Jan 29 10:24:45 you're welcome Jan 29 11:07:52 Hi Jan 29 11:08:07 hi Reedy Jan 29 11:08:37 Can someone help me with setting up unslung with a usb stick? Jan 29 11:08:45 i know there is an article, but i cant seem to find it again Jan 29 11:11:03 is it 'unslinging'? Jan 29 11:11:26 Reedy follow the instructions in the firmware image zip file.. there's a readme Jan 29 11:11:52 ok, cheers Jan 29 11:12:02 however, it isn't easy to read due to the skew formatting Jan 29 11:12:45 oh, hang on Jan 29 11:12:56 theres a readme you can download seperately which is followable Jan 29 11:17:24 Reedy, http://www.nslu2-linux.org/wiki/HowTo/UseAMemoryStickAsMainDrive Jan 29 11:18:08 yeah, cheers, had just found that again Jan 29 11:18:23 is the linux machine necessary? Jan 29 11:18:36 no, it isn't Jan 29 11:18:42 helps if i read! Jan 29 11:24:52 hello Jan 29 11:25:21 i need help setting up a cross-compile env Jan 29 11:26:40 antisamw did you read the wiki page? Jan 29 11:28:54 yes i did Jan 29 11:29:18 there are a few steps that are vauge, and im on an os x box Jan 29 11:29:22 but i meet the req Jan 29 11:29:52 which is basicly just a new version of GCC and a few dep that i have Jan 29 11:30:21 hi jelle Jan 29 11:31:22 antisamw no clue on mac os Jan 29 11:33:04 thanks anyways, ill just forge ahead into the unknown ;) Jan 29 11:33:12 how come you guys aint got a forum then for everyone? Jan 29 11:33:37 cause it'd be useful Jan 29 11:33:40 Reedy most of the stuff is on the wiki Jan 29 11:35:32 yeah Jan 29 11:35:40 suppose, it makes sense Jan 29 11:35:47 cause you've got this chat Jan 29 11:36:33 you can view the logs the the channel too, which is sort of like a forum, when used with a good search tool hehe Jan 29 11:36:55 i thought it wasn't working? Jan 29 11:37:10 hmm, i didnt check Jan 29 11:37:19 Logging seems to be dead, only historic logs available Jan 29 11:37:54 this channel isn't logging by the jbot (rikers.org), but #nslu2-linux is.. Jan 29 11:38:17 i see, sorry then Jan 29 11:39:39 hmm Jan 29 13:09:04 Is it possible to mount an NTFS drive on disk 2? Jan 29 13:09:48 I'm booting from a flash device on Disk 1 and have installed UFSD but it doesn't seem to be recognised Jan 29 13:11:36 nick hells Jan 29 13:11:57 /nick bla Jan 29 13:12:06 thx Jan 29 13:12:09 no problem Jan 29 13:13:46 can i post a question? Jan 29 13:14:11 does ufsd only allow NTFS drives on disk 2? Jan 29 13:15:21 looking for some clues on installing mpd Jan 29 13:17:33 ciaran, no, port 1 should work Jan 29 13:17:53 i've got a flashdevice in port 1... Jan 29 13:18:13 will it be able to boot from the flash in port 2?\ Jan 29 13:18:47 hells - Multiple Personality Disorder? Jan 29 13:19:17 If I reformat as FAT32 will it be usable on Disk 2? Jan 29 13:20:39 ciaran, if you do a /sbin/unsling disk2, imho yes, just try it out Jan 29 13:21:06 If it's already been unslung, should I be able to just stick it in disk 2 and boot off it? Jan 29 13:21:10 I'll try it now Jan 29 13:21:33 no, there is a flag file in the main dir .sda1root Jan 29 13:21:50 maybe, if you change this to .sdb1root Jan 29 13:23:24 ciaran i don't think so why do you ask? Jan 29 13:23:50 hells - Making a joke about MPD... ignore me Jan 29 13:24:05 caplink811_log - hm, ok will have a look Jan 29 13:24:11 lol Jan 29 13:25:32 caplink 811_log - Hm it's not booted from it, and it's not even recognising the disk in port 2 Jan 29 13:25:39 Maybe I'll just reformat the HD as FAT32 Jan 29 13:46:45 hi, still looking for some clues on MPD installation Jan 29 13:54:46 hells - what do you want to do with it? Jan 29 13:56:59 I can't get port 2 to recognise my Flash disk Jan 29 13:57:10 the web interface just says 'not installed' Jan 29 13:57:12 any ideas? Jan 29 13:58:24 well i just intalled an USB FM transmitter on port 2 Jan 29 13:58:51 It is recognized after install kernel audio and soem other pgs Jan 29 13:59:07 i can play audio with madplay Jan 29 13:59:42 but i want to make a webinterface so i can use this to make playlists etc. Jan 29 14:00:00 i think mpd can do this or am i wrong Jan 29 14:00:29 ah, I'm afraid I've no idea Jan 29 14:00:32 sorry Jan 29 14:01:00 don't suppose you know how to get a 320GB drive to format as FAT32 Jan 29 14:01:27 hmm Jan 29 14:02:06 there should be enough info on this on the site Jan 29 14:02:45 when you connect it a pc ypu shuold be able to this with part magic? Jan 29 14:10:10 ciaran - did you read? http://www.nslu2-linux.org/wiki/HowTo/AttachAFAT32FormattedDrive Jan 29 14:10:26 hells - yeah Jan 29 14:10:41 what happened was I had a WD 320GB drive, which came FAT32 formatted Jan 29 14:10:49 Then like an IDIOT I formatted it to NTFS Jan 29 14:11:01 and completely failed to get the NSLU2 to recognise it in drive 2 Jan 29 14:11:13 so now I want to format it back to FAT32... and Windows won't let me Jan 29 14:11:25 I'm having a go at formatting it from OSX to 'MS-DOS Format' Jan 29 14:11:30 in the hope that'll work Jan 29 14:12:40 http://www.microsoft.com/resources/documentation/Windows/XP/all/reskit/en-us/Default.asp?url=/resources/documentation/Windows/XP/all/reskit/en-us/prkc_fil_tdrn.asp Jan 29 14:12:57 you'll have to partition it into several smaller parts Jan 29 14:13:37 if you do it with windows ofcourse Jan 29 14:13:41 bazz - from what I've read, Windows will read larger FAT32 volumes, you just have to format them on another OS... Jan 29 14:13:56 some other partition manager may be able to format it as large as you want it to be Jan 29 14:14:09 I'm trying OSX's Disk Utility, and if that doesn't work I'll have a look at Linux boot CDs Jan 29 14:14:35 osx? fat32? hrmm Jan 29 14:18:37 why not do it the other way round using http://www.fs-driver.org/index.html Jan 29 14:26:07 hells: did you try it already? Jan 29 14:27:47 no just read about it in a thread when looking for clues on my problem Jan 29 14:28:11 nice thing though Jan 29 14:30:42 bazz here is the url http://www.broadbandbuyer.co.uk/Shop/Reviews.asp?ProductID=1716 Jan 29 14:31:44 it's expensive in the uk Jan 29 14:31:58 thx Jan 29 14:32:17 hi cap Jan 29 14:32:24 bazz-, :) Jan 29 14:32:58 unfortunately file permissions are not being maintained by this driver Jan 29 14:33:23 still better than having to pump everything through with 4mb/s Jan 29 14:33:51 caplink811_log: how fast are your transfer rates, did you try? Jan 29 14:34:12 around 3.5-4mb/sec Jan 29 14:34:34 a few days ago someone claimed having speeds of 10mb/s here Jan 29 14:34:55 i don't believe this Jan 29 14:34:56 he said he was using nfs Jan 29 14:34:59 * bazz- neither Jan 29 14:37:45 in my network config, i don't try that out, linus (unslung-5.5) is in the dmz, the 2nd router is a wrt54g (which may slow down the transfer speed) and pigpen (opendebianslug) is behind the wrt54g, and i have no other linus devices Jan 29 14:39:22 * bazz- has also a wrt54g Jan 29 14:39:36 but it's just for internet nat Jan 29 14:39:50 which firmware are you using on the wrT? Jan 29 14:40:17 DD-WRT v23 (12/19/05) Jan 29 14:40:40 it is Jan 29 14:40:43 i tried it, it's a nice firmware, but couldn't get ipv6 running Jan 29 14:40:55 (the mini build) Jan 29 14:40:58 no need for this, atm Jan 29 14:41:12 it's nice though Jan 29 14:41:31 now using talisman 1.05 Jan 29 14:42:39 anyway, i'm going to sleep, i've got an exam tomorrow Jan 29 14:42:48 good night Jan 29 14:42:52 gnite bazz- Jan 29 14:48:39 Hi Jan 29 14:48:43 I'm an idiot but Jan 29 14:49:07 I'm trying to unsling with 5.5 beta Jan 29 14:49:10 And I screwed up Jan 29 14:49:14 And now I'm trying to fix it Jan 29 14:49:20 And I think it's still screwed up Jan 29 14:49:40 Does anyone want to help me out? Jan 29 14:49:57 Here's what happened: I got to the point where I run the /sbin/unsling script Jan 29 14:49:59 That went fine Jan 29 14:50:02 Then I rebooted Jan 29 14:50:12 Without changing the /share/hdd/conf/passwd file Jan 29 14:50:22 And I couldn't login through telnet Jan 29 14:50:23 D'oh! Jan 29 14:50:24 should work Jan 29 14:50:33 couldn't work Jan 29 14:50:37 oh. Jan 29 14:50:42 Anyways Jan 29 14:50:47 So then I disconnected the disk Jan 29 14:50:52 jelle, :) Jan 29 14:50:55 Rebooted without the disk Jan 29 14:50:56 :) Jan 29 14:51:00 Got to the web interface Jan 29 14:51:03 Enabled telnet Jan 29 14:51:15 Logged in through telnet (root, uNSLUng) Jan 29 14:51:26 And now I'm staring at this /share/hdd/conf/passwd file... Jan 29 14:51:34 And I'm not sure how to change the root passwd in it Jan 29 14:51:41 Oh wait... Jan 29 14:51:47 keep talking... Jan 29 14:51:56 I forgot to mention that after I logged in through telnet, I reconnected the hard drive Jan 29 14:52:04 And I can see it in the Web interface Jan 29 14:52:10 k Jan 29 14:52:19 So I basically did all the steps up until running /sbin/unsling, again Jan 29 14:52:29 I tried just running "passwd" to change the password Jan 29 14:52:37 ...but it didn't affect /share/hdd/conf/passwd Jan 29 14:52:45 there is no need for running unsling again Jan 29 14:52:52 caplink811_log: that's what I figured Jan 29 14:53:13 running passwd, change your password Jan 29 14:53:16 What I need is to change the root password so when I reboot _with_ the disk connected, I can log in through telnet Jan 29 14:53:30 not so fast.. Jan 29 14:53:45 cahnge your password, by running passwd Jan 29 14:53:59 so the change affects /etc/passwd Jan 29 14:54:24 and ten copy (cp) /etc/passwd to /share/hdd/conf/passwd Jan 29 14:54:24 oooooh Jan 29 14:54:56 Duh Jan 29 14:55:21 http://www.nslu2-linux.org/wiki/FAQ/CantTelnetAfterModifyingPasswd Jan 29 14:55:25 OK, did that, let's see if this works... Jan 29 14:55:31 http://www.nslu2-linux.org/wiki/HowTo/ChangePasswordsFromTheCommandLine Jan 29 14:55:33 /etc/passwd is a sym link to /share/hdd/conf/passwd, but when you run passwd it becomes a real file, so you should cp it to /share/hdd/conf/passwd Jan 29 14:55:59 right Jan 29 14:56:13 OK, booting now... Jan 29 14:56:22 *** poof *** Jan 29 14:56:32 or are you not irc'ing from slug? lol Jan 29 14:56:46 OK, lesseee Jan 29 14:57:44 Hey, I'm in! Jan 29 14:57:47 Sweet-o Jan 29 14:57:53 Thanks gang Jan 29 14:57:53 no slang pls, i'm not a native english spekaer Jan 29 14:58:11 caplink811_log: sorry Jan 29 14:58:14 Hurray! Jan 29 14:58:15 no problem Jan 29 14:58:18 :) Jan 29 14:58:52 hip hip Jan 29 14:59:01 Alright, I gotta motor... guests just showed up at the house and I ducked out to try to fix this problem... Jan 29 14:59:11 ... you know you're a Linux geek when ... Jan 29 14:59:34 I have a different problem. My slugs used to work fine, although sometime's it wouldn't see the hard disk, but after a reboot it usually would. Jan 29 14:59:50 now my slugs won't see the harddisks anymore, won't boot from them Jan 29 14:59:56 openslug over here... Jan 29 15:00:12 could be the controller in the usb case, how can i know if that is the problem? Jan 29 15:00:49 I can mount the disk after it booted, but it won't boot from the disk, doesn't want it when starting up Jan 29 15:01:00 any tips? I can post a dmesg somewhere... Jan 29 15:02:02 or should I ask in #openslug? Jan 29 15:03:03 What do I have to do to get a FAT32 drive mounted on drive 2? Jan 29 15:03:43 jelle, is ther ea .recovery anywhere on your disk? Jan 29 15:03:56 think not... I'll check Jan 29 15:05:37 on the disk there is yes... Jan 29 15:05:41 I'll dump that Jan 29 15:05:52 jelle, http://www.nslu2-linux.org/wiki/FAQ/DiskNotMountedAtBoot Jan 29 15:06:04 thought it would be on the slug itself.. Jan 29 15:06:12 lol... nice link... Jan 29 15:07:18 in the link it does say rm /.recovery Jan 29 15:07:30 should be /mnt/disk/.recovery right? Jan 29 15:07:41 I guess I should alter the wiki. Jan 29 15:08:08 any .recovery seems to be bad ;) Jan 29 15:08:23 :) Jan 29 15:08:38 slug is starting up again, thanks. I'll try the other slug later. Jan 29 15:08:54 nice Jan 29 15:09:22 yes. Jan 29 15:10:25 can you review my changes in the wiki, to be sure? Jan 29 15:11:05 i'll try it.. Jan 29 15:11:33 it's there Jan 29 15:13:54 looks logically to me, but i'm on unslung, so i couldn't realy verify that Jan 29 15:14:12 Is my FAT drive on port 2 meant to be /dev/sdb1 ? Jan 29 15:14:26 basically it is /dev/sdb Jan 29 15:14:53 1,2,3 depends on the partitions on it Jan 29 15:15:20 It has a single partition, so is that going to be /dev/sdb? Jan 29 15:15:27 I'm trying to get it mounted... Jan 29 15:15:38 /dev/sdb1 it is Jan 29 15:15:54 if it is a primary partition Jan 29 15:15:56 mount /dev/sdb1 /mnt? Jan 29 15:16:01 sure Jan 29 15:16:18 hm, no such device or address Jan 29 15:16:34 could also be /dev/sda1 Jan 29 15:16:44 if there is nothing in the other usb Jan 29 15:16:46 it is a primary partition? Jan 29 15:16:51 I thought so Jan 29 15:17:01 do a fdisk -l /dev/sdb Jan 29 15:17:17 good hint.. Jan 29 15:17:26 my first.. ;) Jan 29 15:17:31 Disk /dev/sdb: 255 heads, 63 sectors, 38913 cylinders Jan 29 15:17:31 Units = cylinders of 16065 * 512 bytes Jan 29 15:17:31 Device Boot Start End Blocks Id System Jan 29 15:17:37 No other output... Jan 29 15:17:41 jelle, ;) Jan 29 15:17:52 try fdisk -l /dev/sda Jan 29 15:18:05 Device Boot Start End Blocks Id System Jan 29 15:18:16 hm Jan 29 15:18:18 nothing under that? Jan 29 15:18:23 It pasted wrong Jan 29 15:18:24 straaaange Jan 29 15:18:32 I basically have 3 linux partitions Jan 29 15:18:39 That's my flash drive, in port 1 Jan 29 15:18:46 ok. Jan 29 15:19:03 I have the HD on port 2 but it... just doesn't seem to be doing anything Jan 29 15:19:06 the LED is on thoguh Jan 29 15:19:30 past both outputs in pastebin.com Jan 29 15:19:41 please Jan 29 15:19:43 ok Jan 29 15:20:45 http://pastebin.com/529485 Jan 29 15:21:23 If I head /dev/sdb then I get some stuff that mentions FAT32... Jan 29 15:21:25 the output of /dev/sdb is strange Jan 29 15:21:40 looks like exists, but is not formatted, no partitions Jan 29 15:22:03 was there any data on it? Jan 29 15:22:08 no Jan 29 15:22:12 right. Jan 29 15:22:21 wait 1 sec, I'll plug it into my laptop Jan 29 15:22:26 sure Jan 29 15:22:28 and stick somke text on there Jan 29 15:22:42 no you won't, it is not formatted :) Jan 29 15:22:47 hm Jan 29 15:23:04 but try and see what your laptop does. is the laptop windows? Jan 29 15:23:09 OSX Jan 29 15:23:29 tell us what osx makes of it Jan 29 15:23:32 hi! i'm trying to install cyrus imapd on openslug 2.7, but I can't locate cyradm needed for mailbox setup. what package am i missing? Jan 29 15:23:41 I formatted it using an OSX command-line thing Jan 29 15:23:46 but it looked ok afterwards Jan 29 15:24:42 ok OSX sees it Jan 29 15:25:56 and I just saved a TXT file on there Jan 29 15:26:08 maybe osx formatted it as osx filesystem without partitions, just a guess Jan 29 15:26:35 just looking Jan 29 15:26:41 Disk utility says it's FAT32 Jan 29 15:26:51 but I suppose it could have done something weird Jan 29 15:27:22 just did a verify operation on it and it passed Jan 29 15:27:33 hm Jan 29 15:28:19 do you have access to a linux/windows machine to check from there? I'm quite new to OSX Jan 29 15:28:36 Don't really know how to check partitions from OSX Jan 29 15:29:46 it's got some version of fdisk Jan 29 15:30:00 but I can connect it to a win2k box, bear with me Jan 29 15:33:31 HM Jan 29 15:33:41 Windows doesn't think it's allocated Jan 29 15:33:54 I guess that's mystery solved - OSX has formatted it in some crazy way Jan 29 15:34:28 looks like it indeed Jan 29 15:34:32 damn Jan 29 15:34:53 I think maybe I've managed to format it without a primary partition or something Jan 29 15:34:55 format it FAT32 under windows, that makes it readable for all os'es Jan 29 15:35:03 yes, that was what I thought Jan 29 15:35:19 Windows won't format it FAT32 Jan 29 15:35:25 that happens to memorysticks sometimes, maybe OSX thought it was a memorystick Jan 29 15:35:28 how big is it? Jan 29 15:35:37 it's 300GB, so I was trying to format it on OSX instead Jan 29 15:35:48 I read Windows can read larger partitions than it can format Jan 29 15:35:55 yes. Jan 29 15:36:16 either format from linux, or use images :) Jan 29 15:36:37 images? Jan 29 15:36:51 I haven't got a handy linux install at home Jan 29 15:37:12 What is annoying is I had it pre-formatted as FAT32 and STUPIDLY formatted it to NTFS :-/ Jan 29 15:37:12 I do that under windows: create a partition that is very large and use GHOST to write an image to that partition. Even though the original image might be 100 MB, ghost will fill the partition with fat32 for you. Jan 29 15:37:34 do you have ghost? Jan 29 15:37:43 no but I could download I guess Jan 29 15:37:49 You mean burn a random disk image to it? Jan 29 15:37:53 actually you do have a handy linux install at home... you have your slug Jan 29 15:38:09 can the slug format the drive FAT32 Jan 29 15:38:23 can I do that with fdisk? Jan 29 15:38:41 no, fdisk wil create parition(s) ,you do that first Jan 29 15:39:03 maybe I'll try that and then format the partition with the mac Jan 29 15:39:13 then you make a fat32 filesystem. Jan 29 15:39:18 hold... Jan 29 15:40:11 holding Jan 29 15:40:25 can't find a mkfs.fat32 on slug. Jan 29 15:40:44 I think your solution is better: format FAT32 from OSX after partitioning. Jan 29 15:41:10 or indeed try burning a random FAT32 image to the partition Jan 29 15:41:22 with an app called GHOST, you say Jan 29 15:41:26 I'll try the mac thing first Jan 29 15:41:28 yes. Jan 29 15:41:30 sure Jan 29 15:41:53 I'll have to kick my second slug some more... cant' even ping it anymore. Jan 29 15:43:07 While I'm waiting for it to reboot, I have another question if that's ok? Jan 29 15:43:28 sure Jan 29 15:43:39 Once I've got this all set up, I told a friend I'd copy my setup for him Jan 29 15:44:03 Can I plug a second USB key into the disk2 and DD between them, to duplicate it? Jan 29 15:44:46 that should be possible Jan 29 15:44:50 probably... Jan 29 15:45:19 okay, so I've booted from flash and plugged the HD in Jan 29 15:45:41 web interface says it sees the flash, and disk 2 is 'not installed' Jan 29 15:46:48 fdisk /dev/sdb ? Jan 29 15:48:08 fdisk -l /dev/sdb Jan 29 15:48:35 Disk /dev/sdb: 255 heads, 63 sectors, 38913 cylinders Jan 29 15:48:44 jelle, your customer ;) me heading to bed now Jan 29 15:48:44 no partitions, from the looks of it Jan 29 15:48:53 thanks for the help caplink Jan 29 15:49:06 no problem Jan 29 15:49:21 how do I create a partition then Jan 29 15:50:43 Easy way: Find a windows machine, create partition there. Jan 29 15:51:00 mwester - it won't let me create a large FAT32 partition I thought Jan 29 15:51:09 I thought I could do it with fdisk? Jan 29 15:52:06 Why do you want FAT? Windows won't do it for very very good reasons -- FAT is horrible with big disks. Jan 29 15:52:48 what would you suggest instead? Jan 29 15:53:03 It needs to work on my slug, my iBook and my Windows desktop Jan 29 15:53:17 I had thought NTFS but can't get it to work on the slug on disk 2 Jan 29 15:53:20 oh , i'm back Jan 29 15:54:08 Hmm. Personally, if the iBook and Windows machine can do NTFS, I'd fix the slug to work (you are trying to use unslung, right?) Jan 29 15:54:23 yep Jan 29 15:54:45 I believe the iBook can just about do NTFS but haven't looked at it in-depth Jan 29 15:54:51 the NTFS support isn't ideal, I know that much Jan 29 15:55:28 Ok - what about "cutting up" the 300 GB drive into smaller partitions? Easier to backup that way, too.? Jan 29 15:55:52 what, smaller FAT32 partitions? Jan 29 15:55:58 Sure. Jan 29 15:56:04 I think the most windows will do is 32GB? Jan 29 15:56:09 that'd make 10 partitions Jan 29 15:56:29 I'd go insane ;-) Jan 29 15:56:46 Which windows are you using? I can format 120+ GB in FAT32 on Windows 2000 Jan 29 15:56:54 my 80 GB fat32 works fine Jan 29 15:57:22 oh really? I've been misinformed then Jan 29 15:57:46 might be "not recommended" or "not supported" but working fine Jan 29 15:57:58 I've found that the mac has a version of fdisk so I'll have another crack at formatting the drive wiht Jan 29 15:58:01 that Jan 29 15:58:01 check the internet to see what limitations hold for fat32 Jan 29 15:58:09 yeah it does seem a bit crap Jan 29 15:58:10 yds Jan 29 15:58:12 yes Jan 29 15:58:25 Hm Jan 29 15:58:47 I think it's a matter of "ideal" -- there's a fixed size to the number of entries in the File Allocation Table, so as the size of the parttion rises, the size of the allocation units also rises. the bigger the disk, the more wastged space (sorry about the spelling) Jan 29 15:58:56 should the slug be able to recognise an NTFS drive on port 2? Jan 29 15:59:09 Which firmware? Jan 29 15:59:12 I installed UFSD but still no joy. Jan 29 15:59:14 I heard rumours about slugs being able to do NTFS... Jan 29 15:59:23 :D Jan 29 15:59:32 unslung 5.5b Jan 29 15:59:46 I installed the USFD package from ipkg Jan 29 15:59:53 but couldn't see what to do to get it to work Jan 29 16:00:29 My slug does NTFS nicely. You'll have to manually mount the partition on 5.5, but I got it to work ok. I had some problems installing the ufsd, but once I got past that all was well Jan 29 16:00:44 oh maybe I just need to manually mount it then Jan 29 16:01:58 That could be it. I don't remember if there are any examples in the Wiki, though. Jan 29 16:02:03 * ciaran gets partition magic out Jan 29 16:04:12 wb Jan 29 16:04:44 not used to this mac IRC app ;-) Jan 29 16:05:30 I've formatted it NTFS and plugged it in... Jan 29 16:05:42 web interface says 'not installed' Jan 29 16:06:27 Which port did you plug it into? Jan 29 16:06:59 2 Jan 29 16:07:23 fdisk says it's /dev/sdb1 Jan 29 16:07:35 Ok, on unslung 5.5 that's right. Jan 29 16:07:39 what do I do to mount it then? Jan 29 16:07:49 Any info from fdisk? Jan 29 16:08:07 Device Boot Start End Blocks Id System Jan 29 16:08:32 /dev/sdb1 1 38913 312568641 7 HPFS/NTFS Jan 29 16:08:40 looks ok? Jan 29 16:09:03 Yep!! Looks very good. Jan 29 16:09:21 so how do I mount it? Jan 29 16:09:30 mount /dev/sdb1 /foo ? Jan 29 16:10:16 I don't remember. You need to tell it that it needs to use ufsd. First, make sure that the directory /mnt exists and is empty Jan 29 16:10:30 mnt has stuff in it Jan 29 16:10:46 Then try something like this: mount -t ufsd /dev/sdb1 /whereever Jan 29 16:10:51 is it something like -t ufsd? Jan 29 16:10:52 aha Jan 29 16:11:25 -bash-2.05b# mount -t ufsd /dev/sdb1 /share/NTFS Jan 29 16:11:25 mount: Mounting /dev/sdb1 on /share/NTFS failed: No such device Jan 29 16:11:26 make sure the "mount point" directory exists, or it will give you the same errors as if the drive was missing or the partition missing. Jan 29 16:12:05 /share/NTFS definitely exists Jan 29 16:12:34 loaded the ufsd module? Jan 29 16:12:58 define 'loaded' Jan 29 16:13:03 insmod Jan 29 16:13:22 Does /share/NTFS exist? Jan 29 16:13:23 I've only done ipkg ufsd and let whatever script run... Jan 29 16:13:27 mwester yes Jan 29 16:13:34 insmod ufsd Jan 29 16:14:07 lsmod to see loaded modules Jan 29 16:14:38 lsmod shows ufsd is there Jan 29 16:15:06 Did you load the ufsd into the kernel? Might (or might not) be done at boot time. what does the "lsmod" command report? Jan 29 16:15:06 mounting still fails Jan 29 16:15:07 could you paste result: fdisk -l /dev/sdb Jan 29 16:15:32 Device Boot Start End Blocks Id System Jan 29 16:15:32 /dev/sdb1 1 38913 312568641 7 HPFS/NTFS Jan 29 16:17:26 are there some other options I should be giving mount? Jan 29 16:17:35 should I try a reboot maybe Jan 29 16:17:49 I'm pretty sure that's not the problem Jan 29 16:19:25 hm Jan 29 16:19:45 after a reboot the web interface is reporting 'not formatted' instead of 'not installed' for disk 2 Jan 29 16:20:14 what does mount say Jan 29 16:20:28 -bash-2.05b# mount -t ufsd /dev/sdb1 /share/NTFS Jan 29 16:20:28 mount: Mounting /dev/sdb1 on /share/NTFS failed: No such device Jan 29 16:20:33 mount Jan 29 16:20:35 fdsik says same as before Jan 29 16:20:37 not anything else Jan 29 16:20:58 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jan 29 16:21:00 tsk Jan 29 16:21:14 my client won't paste stuff with lots of / at the start of lines, 1 sec Jan 29 16:21:36 mount says: Jan 29 16:21:37 /dev/sda1 on /initrd type jffs2 (rw) Jan 29 16:21:37 /dev/sda1 on / type ext3 (rw) Jan 29 16:21:37 /proc on /proc type proc (rw) Jan 29 16:21:37 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jan 29 16:21:39 /dev/sda1 on /share/hdd/data type ext3 (rw) Jan 29 16:21:42 /dev/sda2 on /share/hdd/conf type ext3 (rw,sync) Jan 29 16:22:29 is the module present now? Jan 29 16:23:10 hm, no Jan 29 16:23:30 it's disappeared from the list Jan 29 16:23:42 should I insmod it? Jan 29 16:24:57 YUP Jan 29 16:24:59 sorry Jan 29 16:25:58 oho, it's mounted Jan 29 16:26:12 paste Jan 29 16:26:46 /dev/sda1 on /initrd type jffs2 (rw) Jan 29 16:26:47 /dev/sda1 on / type ext3 (rw) Jan 29 16:26:47 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jan 29 16:26:47 /dev/sda1 on /share/hdd/data type ext3 (rw) Jan 29 16:26:52 /dev/sda2 on /share/hdd/conf type ext3 (rw,sync) Jan 29 16:26:54 /dev/sdb1 on /share/NTFS type ufsd (rw) Jan 29 16:27:00 also cat /etc/mtab Jan 29 16:27:07 I tried the same moun command again and it worked this time Jan 29 16:27:30 #/dev/ram0 / ext2 defaults 1 1 Jan 29 16:27:33 #none /proc proc defaults 0 0 Jan 29 16:27:36 #none /dev/pts devpts gid=5,mode=620 0 0 Jan 29 16:27:40 /dev/sda1 /share/hdd/data ext3 defaults,usrquota 1 1 Jan 29 16:27:42 /dev/sda2 /share/hdd/conf ext3 defaults 1 1 Jan 29 16:27:45 /dev/sda3 swap swap defaults 0 0 Jan 29 16:27:47 no mention in there Jan 29 16:28:10 /etc/fstab Jan 29 16:28:30 same as the mtab Jan 29 16:28:38 nothing about ntfs? Jan 29 16:28:41 or ufsd Jan 29 16:28:42 nope Jan 29 16:29:17 I put a text file on the disk earlier and I can cat that ok from /share/NTFS Jan 29 16:29:27 but there are a lot of other files in there starting with $ ? Jan 29 16:29:42 is that just windows system stuff? Jan 29 16:29:45 windows stuff Jan 29 16:30:04 ok I'll ignore it Jan 29 16:30:10 are you planning using it as rw or ro Jan 29 16:30:14 rw Jan 29 16:30:20 Sorry, phone call - I see you've made progress - looks like you've got it! The $ files are normal NTFS stuff on all NTFS volumes, windows just hides them. Jan 29 16:30:26 I've heard that accessing ntfs is rather slow Jan 29 16:30:31 oh? Jan 29 16:30:52 I was planning on basically sharing that drive over NFS / SMB Jan 29 16:30:53 my friend got so tired of it he formatted his drives ext3 Jan 29 16:30:57 gah Jan 29 16:31:26 I hope you have better experiences Jan 29 16:31:26 I need to seriously consider whether the portability is worth it, then Jan 29 16:31:59 how can I get this to mount on boot then? Jan 29 16:32:12 I could put that mount command into my rc.unslung-start Jan 29 16:32:13 ? Jan 29 16:32:36 No -that's what the /etc/fstab file is for. Jan 29 16:33:06 Just add the entry and it'll mount it for you. Jan 29 16:33:18 my friend had probs with that file - it kept replacing that file on boot Jan 29 16:33:49 but try that out Jan 29 16:34:31 I also suggest to add gid and mode settings to fstab so the mounts can be accessed by others as well Jan 29 16:34:33 hm Jan 29 16:34:50 /dev/sb1 /share/NTFS ufsd defaults .. Jan 29 16:34:56 what are the two 1/0 values at the end? Jan 29 16:35:08 Hmm... it might do that if you add and remove the drive - perhaps it *would* be best to mount it from a diversion script Jan 29 16:35:22 okay ;-) Jan 29 16:35:56 my next step was to work out how to share it over SMB and NFS but maybe that can wait until the morning Jan 29 16:37:39 thanks a million for the help - I honestly don't know what I'd have done! Jan 29 16:39:28 I just did a test reboot and the module is missing again Jan 29 16:39:35 how do i make it stay in there? Jan 29 16:39:51 the module? Jan 29 16:39:52 or should I just re-add it in the diversion script Jan 29 16:40:01 lsmod doesn't list ufsd Jan 29 16:40:09 but it's mounted? Jan 29 16:40:19 no Jan 29 16:40:23 I just did a reboot Jan 29 16:40:28 to test whether the mount would survive Jan 29 16:40:43 well, it can't mount without the module Jan 29 16:40:45 I added the mount to my diversion script Jan 29 16:40:58 add also insmod Jan 29 16:40:59 oh so adding the module isn't a permanent thing? Jan 29 16:41:01 ok Jan 29 16:41:14 Shameless Plug: All this is done for you on Unslung 6.5 - including the sharing via Samba. We just need a few more folks to build it and test it before we can release it.... Just an advertisement! Jan 29 16:41:15 :D Jan 29 16:41:34 mwester - what's the ETA on that Jan 29 16:41:52 I'm pulling my hair out Jan 29 16:42:50 I dunno - we're stuck waiting for folks willing to compile it and test it - can't release until we hit 20. If you're willing, you can follow the "MasterMakefile" info on the wiki, build it yourself, and reflash your slug. Jan 29 16:44:17 I might do that as soon as I'll get my linux machine up and running again Jan 29 16:44:26 I will when I'm confident enough ;-) Jan 29 16:44:30 give me a week Jan 29 16:44:41 Those additions to the diversion script did the trick Jan 29 16:44:45 good Jan 29 16:44:52 and the fstab survived? Jan 29 16:44:59 the reboot Jan 29 16:45:08 I didn't change fstab to be honest Jan 29 16:45:18 I just added the insmod and the mount to the diversion script Jan 29 16:45:24 ok Jan 29 16:45:36 rc.unslung-start? Jan 29 16:45:47 or which Jan 29 16:46:00 yes Jan 29 16:46:13 I had one there anyway to disable swap on the flash stick Jan 29 16:46:29 drif, I think you are correct that the fstab may be rewritten if the system boots up with a different set of drives/partitions - so it may survive for a while, but the fstab might not be the best way in the long run. Jan 29 16:47:35 Actually, if you did: Jan 29 16:47:37 touch /.ext3flash Jan 29 16:47:38 that would signal the bootup process to not swap on the flash disk, and it would remount the flash disk partions with the noatime option to further reduce I/O on the flash... Jan 29 16:50:03 I had serious probs (occured now and then) when using .ext3flash file - it took multiple boots to get my flash mounted at all Jan 29 16:50:29 not sure why :-\ Jan 29 16:50:45 after I removed it no probs Jan 29 16:51:52 mwester - touch /.ext3flash in the rc.unslung-start ? Jan 29 16:52:14 I'm doing /sbin/swapoff /dev/sda3 at the moment Jan 29 16:52:39 ciaran: nope, just touch once Jan 29 16:52:45 it creates an empty file Jan 29 16:53:00 ah Jan 29 16:53:21 and to what end? Jan 29 16:53:33 hm? Jan 29 16:53:47 what exactly does that do, I mean Jan 29 16:54:00 touch or when you have created the ext3flash file? Jan 29 16:54:12 what does the prescence of the file do Jan 29 16:54:24 I believe mwester already made that clear Jan 29 16:54:40 fair enough Jan 29 16:55:01 it makes some preparations so it's more suitable for flash usage Jan 29 16:55:19 my whole reason for booting from Flash was that I wanted to be able to use the HD separately. I wonder if it's worth just ditching that now, seeing as I've had to format it NTFS Jan 29 16:55:32 It seems the iBook can only mount NTFS as read only Jan 29 17:02:08 have you tried transferring files through network from NTFS yet? Jan 29 17:05:10 I was just looking at the SMB config file Jan 29 17:05:32 did you add the gid (or uid) and mode to mount options? Jan 29 17:05:41 erm huh? Jan 29 17:05:42 :-) Jan 29 17:05:44 no I didn't Jan 29 17:06:07 I presume for the SMB I want read only = yes and then write list = "everyone" ?? Jan 29 17:07:28 I am mounting with mount -t ufsd /dev/sdb1 /share/NTFS Jan 29 17:08:36 should I have more options there? Jan 29 17:11:05 I suggest reading http://man.he.net/man8/mount Jan 29 17:11:58 uid, gid, mode etc. Jan 29 17:12:35 ok will do, thanks Jan 29 17:12:42 I'm going to hit the sack now Jan 29 17:12:57 annd think about whether to just use the damned thing as EXT3... Jan 29 17:13:17 again, thank you ever so much for the help this evening, you've stopped me from going mad Jan 29 17:13:18 I'm having that same problem Jan 29 17:13:25 oh yeah?? Jan 29 17:13:35 I have stack of NTFS drives :-\ Jan 29 17:13:42 heh Jan 29 17:13:54 once i figure out what the hell I'm doing with Samba I'll benchmark the thing Jan 29 17:14:23 you do that - let me know? Jan 29 17:14:45 yep Jan 29 17:14:54 I'll probably revert to EXT3 though Jan 29 17:15:07 I'm wondering if EXT2 is an option, because there are mac drivers for that Jan 29 17:15:27 definitely worth a try Jan 29 17:15:40 As I understand it, you can read/write EXT3 using them, but then EXT3-savvy OSes complain that the journaling is fuxxored Jan 29 17:17:09 that friend of mine came to same conclusion when trying out some windows software Jan 29 17:17:28 but maybe if the disk was formatted EXT2 to start... Jan 29 17:17:31 I believe he's using ext2 now Jan 29 17:18:53 aha, he's way ahead of me ;-) Jan 29 17:37:35 im having trouble getting my usb ethernet adapter working, it uses the pegasus module Jan 29 17:37:53 i installed the ipkg for it, the did insmod Jan 29 17:38:07 and get no interface, or lights on the adapte Jan 29 17:38:08 r Jan 30 00:03:30 hi all Jan 30 00:04:12 could anybody help me with ntpclient? I installed it with ipkg install ntpclient but the created cronjob doesn't run Jan 30 00:05:20 the installation creates a file in /opt/etc/cron.d/ called ntpclient ... but it doens't work, ntpclient doesn't run Jan 30 00:05:41 do I need to start a cron deamon? when calling "ps" I see "crond" running Jan 30 00:07:51 ntpclient works when starting it manually... it's just the cron job that never runs Jan 30 00:09:12 thats the content of ntpclient in /opt/etc/cron.d/ : 56 * * * * root /opt/bin/ntpclient -h pool.ntp.org -s &>/dev/null Jan 30 00:22:52 hm Jan 30 00:23:46 ./opt/bin/ntpclient -s -l -h ptbtime1.ptb.de > /var/log/ntp.log && hwclock --systohc --utc &>/dev/null Jan 30 00:23:56 btw there's no message in /var/log/messages about the cronjob Jan 30 00:24:22 this is working for me Jan 30 00:24:29 hwclock --systohc doesn't work for my system... I'm getting the message "timed out waiting for time change" Jan 30 00:24:32 are you using unslung ? Jan 30 00:24:35 is my hwclock broken? Jan 30 00:24:39 yeah, unslung 5.5 Jan 30 00:26:09 i got no problems running hwclock --systohc --utc Jan 30 00:26:22 maybe you need to adjust the timezone parameter Jan 30 00:26:37 how can I do this? Jan 30 00:26:54 or maybe you can try this first Jan 30 00:27:08 try pinging the timeserver Jan 30 00:27:21 oh, I found the timezome parameter in the web interface... it's set to my timezone Jan 30 00:28:19 ping doesn't come through Jan 30 00:28:33 but I guess that's because my router is blocking it Jan 30 00:28:43 running ntpclient from the command line works fine Jan 30 00:30:01 can I use /etc/crontab to start cron jobs too? or does it get overwritten after each reboot? Jan 30 00:34:48 yes /etc/crontab is the place where i put the command Jan 30 00:35:27 does this file get overwritten after each reboot? Jan 30 00:36:09 mine doesnt Jan 30 00:36:29 ok, will try that Jan 30 00:36:40 rebooting now Jan 30 00:38:29 if it is working you should remove or comment out "1 * * * * root /usr/sbin/hwclock -s &>/dev/null" Jan 30 00:38:42 in /etc/crontab Jan 30 00:40:39 great, it works! :-) Jan 30 00:40:46 :-) Jan 30 00:41:10 where is the best place to start the ntpclient at startup? Jan 30 00:41:25 can I add it to /unslung/rc.bootbin ? Jan 30 00:45:45 hm... doesn't seem to work in rc.bootbin :-/ Jan 30 00:46:10 no need for that Jan 30 00:46:40 but after reboot date is set to 1970 again (it seems my hwclock is broken) Jan 30 00:46:49 http://www.nslu2-linux.org/wiki/HowTo/FixTheClockUsingAdjtimexAndNtpclient <- look at the bottom of the side Jan 30 00:47:46 hm i think that is a "feature" after running the ntpclient command with crontab Jan 30 00:47:55 everything should be fine Jan 30 00:48:08 ok, will try that, thanks a lot for your help! :-D Jan 30 00:48:16 no problem Jan 30 00:48:42 have to leave, have a nice day, bye! Jan 30 01:21:39 hi all **** ENDING LOGGING AT Mon Jan 30 02:59:57 2006