00:07.38 | christopher | bob_tm-away: glad to see that cups worked for you, thanks for the great write up |
00:17.58 | *** join/#nslu2-linux NSLU2-IRC (~NSLU2-IRC@firewall.reactivity.com) |
00:19.14 | danwalkowski | I'd really like to install the grep package, but ipkg refuses to let me, since it conflicts with busybox. No -force flags seem to help. Any ideas? |
00:19.22 | danwalkowski | busybox has sucky grep |
00:19.27 | danwalkowski | no -r |
00:20.58 | danwalkowski | anyone? |
00:24.44 | danwalkowski | ding! |
00:27.43 | ByronT | I haven't upgraded busybox - for a variety of reason - so I can't speak from experience |
00:32.44 | ByronT | have you upgraded busybox and that's where the conflict exists? |
00:33.51 | danwalkowski | yeah |
00:34.46 | ByronT | just an idea, remove busybox, install grep, re-install busybox |
00:34.58 | danwalkowski | the latest busybox has a slew of new commands, which is nice, but now ipkg refuses to let me install grep |
00:35.03 | danwalkowski | I get this: |
00:35.07 | danwalkowski | ipkg -force-reinstall -force-overwrite install grep |
00:35.18 | danwalkowski | Installing grep (2.4.2-3) to root... |
00:35.30 | danwalkowski | ERROR: The following packages conflict with grep: |
00:35.33 | ByronT | uh, -force-reinstall should only work if grep was previously installed |
00:35.39 | danwalkowski | <PROTECTED> |
00:35.45 | danwalkowski | An error ocurred, return value: 1. |
00:35.56 | danwalkowski | yeah, I've tried every permutation of -force |
00:36.34 | danwalkowski | that was just the last ne I tried |
00:42.04 | ByronT | so did you try removing busybox, installing grep and then reinstalling busybox? |
00:45.01 | ByronT | wait one (or search the yahoo nslu2 group mailing list... looks like someone else had the same problem |
00:48.09 | *** join/#nslu2-linux dyoung-web (www-data@netblock-66-159-209-60.dslextreme.com) |
00:49.49 | ByronT | just the use of -force-overwrite should allow the install to happen |
00:50.14 | danwalkowski | yeah, except it doesn't |
00:50.22 | danwalkowski | :) |
00:50.23 | ByronT | the raise a slug bug |
00:50.34 | ByronT | "then"... |
00:50.41 | dyoung-web | ipkg remove busybox; ipkg install grep; ipkg install busybox |
00:50.48 | danwalkowski | on the mailing list, rwhitby says they can't be used together |
00:51.22 | *** join/#nslu2-linux mimosa42_aw (~mimosa42@lns-vlq-7-lil-82-254-201-207.adsl.proxad.net) |
00:52.16 | ByronT | hmmm... I think I recommended that remove busybox, install grep, install busybox a while ago |
00:52.39 | danwalkowski | ipkg wont install busybox over grep, unless I overwrite the grep files with-force, defeating the purpose |
00:52.50 | danwalkowski | I am trying now |
00:53.31 | jacques | why doesn't -force-overwrite work? I've used it for this several times |
00:54.06 | danwalkowski | ipkg -force-overwrite install grep |
00:54.13 | danwalkowski | ERROR: The following packages conflict with grep: |
00:54.21 | danwalkowski | <PROTECTED> |
00:54.26 | danwalkowski | An error ocurred, return value: 1. |
00:54.32 | danwalkowski | that's why |
00:55.21 | danwalkowski | wtf doesn't the grep provoded by busybox have -r? |
00:57.10 | danwalkowski | there needs to be a -ignore-conflicts flag for ipkg, so I can install busybox over grep without it complaining, it jsut doesn't write those files |
00:58.59 | danwalkowski | ok, alternative approach. I don't install busybox, and make do with the old one in the firmware. then where do I get some of the missing commands? |
01:00.53 | billwernet | you might try -force-depends also; I needed to use that on another package... |
01:01.23 | *** join/#nslu2-linux [g2] (~g2@rdu57-8-035.nc.rr.com) |
01:01.36 | billwernet | i.e., ipkg -force-depends -force-reinstall -force-overwrite install grep |
01:01.43 | danwalkowski | ha |
01:02.06 | billwernet | no promises, but it did work for me on another ipk... |
01:02.11 | danwalkowski | no, force overwite is bad, it will overwrite the grep package. |
01:02.20 | [g2]-flu | dyoung-web, ping |
01:02.22 | danwalkowski | force resintall isn't needed, it |
01:02.26 | danwalkowski | 's not installed |
01:04.42 | billwernet | yes, -force-reinstall only if installing grep over busybox... |
01:05.04 | danwalkowski | yes, and yet it doesn't work |
01:05.14 | billwernet | hummmm.... |
01:05.32 | billwernet | did I say your mileage might differ? |
01:05.37 | billwernet | ... |
01:06.56 | billwernet | it just worked for me to do the following: ipkg -force-depends install grep |
01:07.20 | danwalkowski | and you have the latest busybox? |
01:07.47 | billwernet | let me check |
01:08.02 | danwalkowski | this worked: |
01:08.03 | danwalkowski | <PROTECTED> |
01:08.14 | danwalkowski | force depends made it install nothing. |
01:08.40 | danwalkowski | because of conflicts. force overwrite let it overwrite the lame busybox symlinks |
01:10.03 | danwalkowski | I live and die by grep. I need the full version, not the lame-o one in busybox that can only do a single file at a time |
01:10.59 | billwernet | understand |
01:11.27 | danwalkowski | so, to recap, for those who care: |
01:11.47 | danwalkowski | after installing busybox, you cannot install things that conflct with it (grep, findutils, etc). |
01:12.34 | danwalkowski | you get Error 1. just -force-overwrite does nothing. just -force-depends does nothing. but use both, and it will stomp over the busybox files with grep/etc. |
01:13.28 | danwalkowski | this is not the same behavior I got a few weeks ago. I only needed to use -force-overwrite. |
01:15.14 | danwalkowski | normally, this is wierd, to be overwriting other packages files. but in busybox case, it is just a bunch of symlinks leading to same binary, so no harm done. |
01:16.44 | danwalkowski | thanks for the help guys |
01:17.51 | ByronT | heading home... |
01:18.43 | *** join/#nslu2-linux Helius (~jeff@ip68-102-109-95.ks.ok.cox.net) |
01:39.34 | *** join/#nslu2-linux rwhitby-away (~rwhitby@CPE-144-136-199-164.sa.bigpond.net.au) |
01:41.54 | *** join/#nslu2-linux rwhitby-nslu2 (~rwhitby@CPE-144-136-199-164.sa.bigpond.net.au) |
01:48.15 | *** join/#nslu2-linux kergoth (~kergoth@ip71.churchill-park.dfw.ygnition.net) |
01:48.15 | *** join/#nslu2-linux scanline (~micah@scanline.active.supporter.pdpc) [NETSPLIT VICTIM] |
01:54.12 | *** join/#nslu2-linux kergoth (~kergoth@ip71.churchill-park.dfw.ygnition.net) |
01:54.12 | *** join/#nslu2-linux scanline (~micah@scanline.active.supporter.pdpc) [NETSPLIT VICTIM] |
01:54.57 | *** join/#nslu2-linux ByronT (~ByronTodd@1Cust6351.an1.tpa9.da.uu.net) |
01:58.20 | *** join/#nslu2-linux scanline- (~micah@128.138.74.40) |
02:01.37 | *** join/#nslu2-linux garpinc (~garpinc@pool-151-203-198-44.bos.east.verizon.net) |
02:44.02 | ByronT | jacques, are you here? |
02:59.58 | *** join/#nslu2-linux JefferyS (~JefferyS@pppte04-133.ght.iadfw.net) |
03:02.45 | ByronT | ~praise dyoung-web |
03:02.47 | jbot | All hail dyoung-web! |
03:15.42 | *** join/#nslu2-linux JefferyS (~JefferyS@pppte02-430.ght.iadfw.net) |
03:16.01 | JefferyS | Hello, I copied hard disk 1 to hard disk 2 using rsync. I removed hard disk 1 and put hard disk 2 in its place as the main drive. It looks like everything copied ok, but my appWeb and openssh doesn't start up when the slug boots. What do I need to check to see why its not working. |
03:19.48 | *** join/#nslu2-linux NSLU2-IRC (~NSLU2-IRC@pcp02225777pcs.bechgr01.in.comcast.net) |
03:21.39 | ByronT | JeffreyS, you might want to check your diversion scripts... |
03:23.19 | JefferyS | woud that be in the unslung directory? |
03:23.36 | NSLU2-IRC | can someone help me with how to setup a raid 1 mirror using mdadm - how do you disable USB_Detect and how do you use fdisk to change the partition type to fd? raid autodetect |
03:24.31 | *** join/#nslu2-linux [g2] (~g2@rdu57-8-035.nc.rr.com) |
03:24.50 | [g2] | !jbowler |
03:24.52 | [g2] | ~jbowler |
03:25.19 | [g2] | giel, ping |
03:26.38 | NSLU2-IRC | sorry let me try this again with my id - can someone help me with how to setup a raid 1 mirror using mdadm - how do you disable USB_Detect and how do you use fdisk to change the partition type to fd? raid autodetect |
03:27.03 | ByronT | JefferyS, check this page for a little more detail on diversion scripts... http://www.nslu2-linux.org/wiki/Unslung/DiversionScripts |
03:27.33 | ByronT | I think that lists the locations where you can find them |
03:27.46 | *** join/#nslu2-linux NSLU2-IRC (~NSLU2-IRC@pcp02225777pcs.bechgr01.in.comcast.net) |
03:31.39 | *** join/#nslu2-linux Guest3220 (~NSLU2-IRC@pcp02225777pcs.bechgr01.in.comcast.net) |
03:32.34 | kazoo_moonpie | can someone help me with how to setup a raid 1 mirror using mdadm - how do you disable USB_Detect and how do you use fdisk to change the partition type to fd? raid autodetect |
03:33.14 | ByronT | kazoo, I have no idea... |
03:35.04 | ByronT | I am of course, assuming that you have checked the wiki first? |
03:37.03 | kazoo_moonpie | yes there are instructions and they instruct you to do these things but I am not sure what is meant - i have also seen another ask the samne question in the yahoo group thread but there was no answer. It appears the dyoung may hold the key - he last modified the instructions |
03:38.31 | ByronT | well the fdisk instruction on the wiki is pretty straight forward... how to invoke it and then what to change it to |
03:38.52 | ByronT | how to use fdisk on linux, that would be a good thing to google |
03:39.38 | ByronT | now how to disable USB_Detect? dyoung seems to have stepped away for a moment |
03:39.49 | ByronT | I was chatting with him a bit ago |
03:39.57 | kazoo_moonpie | i tried to google fdisk on busybox but there was no reference to a -fd switch or raid autodetect - am i totally wrong in assuming it is a busybox command |
03:40.52 | ByronT | busybox is just the command interpreter (with limits) for the linux running on the NSLU2 |
03:41.15 | ByronT | http://www.ss64.com/bash/fdisk.html |
03:44.32 | ByronT | and USB_Detect is an executable in /share/hdd/conf/usr/sbin which means a script starts it (at boot time or cron?) |
03:47.21 | *** join/#nslu2-linux Guest5760 (~NSLU2-IRC@pcp02225777pcs.bechgr01.in.comcast.net) |
03:48.23 | kazoo_moonpie | so i am still confused about the partition type fd? how do you change a partition type to fd - it is either primary or extended correct? |
03:51.19 | kazoo_moonpie | here is the actual instruction: Using the BusyBox fdisk (call it like "/opt/bin/busybox fdisk /dev/sdx?), change the partition type to fd (raid autodetect) |
03:53.41 | ByronT | well you don't have to put in the /opt/bin/busybox but I wonder if the upgraded BusyBox is needed |
03:54.43 | kazoo_moonpie | another good question for dyoung perhaps? |
03:55.00 | ByronT | maybe :) |
03:55.16 | kazoo_moonpie | thanks for your reply |
03:55.21 | ByronT | but if he gives answer, then your *payment* should be updating that wiki page |
03:56.08 | kazoo_moonpie | oh i will do that for sure as this is near to my heart and i have seen a couple of other questions on the subject |
03:57.06 | kazoo_moonpie | you said you were talking to dyoung earlier - do you know of a better way to contact him than hanging out here and waiting? |
03:57.06 | ByronT | I've been playing with fdisk on my slug and am not sure about the changes either |
03:58.47 | ByronT | maybe posting again to yahoo mailing list if no answer right away... |
03:58.49 | dyoung-web | sigh |
03:58.58 | dyoung-web | ipkg install busybox |
03:59.25 | dyoung-web | that gives you the busybox that has fdisk in it |
03:59.37 | dyoung-web | "t" changes the partition type. |
04:00.17 | kazoo_moonpie | ah you are there lurking eh? so you do need busybox 1.00 and then -t fd ? |
04:00.44 | dyoung-web | I said "t" changes type. |
04:01.01 | dyoung-web | you need to do /opt/bin/busybox fdisk /dev/sda |
04:01.09 | dyoung-web | then "l" will list what you have |
04:01.33 | dyoung-web | Youll se a list of your partitions. The data partition will be 82 (or was that 83) |
04:01.45 | dyoung-web | "t" will let you change the type to something else like fd |
04:02.38 | kazoo_moonpie | o.k. thanks for the info - one more quick qeustion - how do you disable usb_detect |
04:03.12 | dyoung-web | excuse me "l" lists the types, "p" lists what you have already. |
04:03.32 | dyoung-web | standard ext2/3 partitions are type 83 |
04:05.17 | dyoung-web | Before continuing, it is likely that going to a RAID will cause a lot of the stock functionality to stop, and you may need to divert numerous startup scripts including rc.bootbin. |
04:05.34 | dyoung-web | if you see glc he may have more info about that. |
04:06.07 | dyoung-web | the proper way to disable USB_Detect is to divert the script that starts it. |
04:06.15 | glc | Have you ever run RAID 1 on a Linux box before? |
04:07.09 | kazoo_moonpie | not on linux - i am famaliar with mirroring on 'other' OSs ;-) |
04:08.01 | *** join/#nslu2-linux joule360-away (~nl@c-67-177-103-43.client.comcast.net) |
04:08.06 | glc | You will have to be familiar with the mdadm raid tool, and will have to make significant changes to the boot scripts. |
04:08.09 | *** part/#nslu2-linux joule360-away (~nl@c-67-177-103-43.client.comcast.net) |
04:08.27 | glc | May I ask why you want to run raid on the slug? |
04:09.57 | kazoo_moonpie | hmmm sounds a little more interesting than i thought - why you ask - because i like to keep my wife happy by not loosing any of her data - she is a photo bug and mirroring is the easiest way to ensure data integrity ;-) |
04:10.30 | dyoung-web | If you have 2 drives around the same size it might be easier to rsync one to the other a couple times a day. |
04:11.01 | glc | Ok. I have 2 120G Western Digital Drives. I have conf, data, and swap raided. |
04:11.28 | glc | It will take a couple of days to format, raid, and copy data onto the 2 drives. |
04:11.28 | ByronT | dyoung, that's what I was thinking |
04:11.29 | kazoo_moonpie | there is still the possiblitiy that the drive will crash between syncs - as has happened in the past therefore I am gun shy. |
04:12.17 | glc | You will need to start out with 2 new, empty drives. |
04:12.33 | kazoo_moonpie | got two 160 gigs ready and waiting |
04:13.39 | glc | I can send you my divirsion scripts to study. The wiki is pretty good at setting it up. |
04:14.30 | dyoung-web | glc, I'd be interested to see what all needed diverting. Specifically how you handled rc.bootbin and if you wrote a replacment script for it that sorta works... |
04:14.52 | glc | You will need to read The Software-RAID HOWTO from the Linux Documentation Project. |
04:15.20 | kazoo_moonpie | I have read thru this and this is where my quesitons come from acutally |
04:15.28 | glc | Dyoung: Give me your email address, or email me at gerald_clark@mindspring.com |
04:16.27 | glc | Kazoo: google the LDP and read the DOC. It is about 25 pages long, and detailed. |
04:17.49 | kazoo_moonpie | I will do that also can you be a little more specific on the disable usb_detect - i have seen several confusing methods on how to possible achieve this i am a little unclear on what to do here. |
04:18.10 | kazoo_moonpie | my email address is steven.price@comcast.net btw |
04:24.22 | glc | kazoo_moonpie: Sent. |
04:25.18 | glc | You will see that the diversion scripts don's start USB_Detect. They also replace rc.bootbin. |
04:25.53 | glc | Rc.bootbin is evil and messes with everything sacred in your system. |
04:25.57 | dyoung-web | glc: Good Job. |
04:26.05 | dyoung-web | Thanks! |
04:26.32 | kazoo_moonpie | thanks for the insight, help - can i reserve the possiblity of further discussion about this subject - when i get stuck :-O |
04:27.06 | kazoo_moonpie | i will also reveiw how to recover a bricked nslu2 - just in case ;-) |
04:27.08 | glc | I am usually hanging out here evenings CST. |
04:27.32 | kazoo_moonpie | cool thnaks i will digest the info |
04:29.18 | glc | www.tldp.org/HOWTO/Software-RAID-HOWTO.html |
04:29.48 | JefferyS | I want to copy everything in /share/hdd/conf to /share/flash/conf - Should I just use cp or would rsync be better? |
04:29.52 | glc | Also get the mdadm man pages. |
04:31.38 | glc | I set mine up because my 120G drive went click-buzzz one day. It held my nfsmounted home directory here. |
04:32.36 | glc | I had backed it up about a week ago ( while practicing raid ) and was able to recover MOST of my home directory from the backup and failed drive. |
04:33.15 | glc | The next day I went to OfficeMax and bought the only 2 120G USB drives they had on the shelf. |
04:35.13 | JefferyS | would this be the correct syntax to copy: cp -r /share/hdd/conf/* /share/flash/conf/* |
04:36.29 | glc | I use find and cpio. |
04:37.30 | glc | Rsync works good to. |
04:37.47 | glc | s/o./oo./ |
04:40.07 | JefferyS | there were so many options with rsync that I wasn't sure what to use. |
04:43.35 | JefferyS | if I use the options that are shown on http://www.nslu2-linux.org/wiki/HowTo/FixTheDriveBackupForUnslungFirmware without the delete part will that get everything? |
05:22.29 | *** part/#nslu2-linux JefferyS (~JefferyS@pppte02-430.ght.iadfw.net) |
05:23.02 | CIA-7 | 03kin-kwok * 10unslung/ (3 files in 2 dirs): new patch file to fix /sbin/mount.smbfs ln problem |
05:30.57 | *** join/#nslu2-linux _chris_ (~chris@pcp08890974pcs.gambrl01.md.comcast.net) [NETSPLIT VICTIM] |
05:47.27 | *** join/#nslu2-linux Guest0603 (~NSLU2-IRC@cm218-254-197-193.hkcable.com.hk) |
06:11.38 | *** join/#nslu2-linux glc (~glc@user-119ah2f.biz.mindspring.com) |
06:16.12 | *** join/#nslu2-linux ByronT (~ByronTodd@1Cust6351.an1.tpa9.da.uu.net) |
06:20.56 | ByronT | uuuugggghhhh - bk clone over dialup is not a recommended thing to do |
06:31.07 | *** join/#nslu2-linux goodnewscd (~goodnewsc@S0106000d88e128d3.cg.shawcable.net) |
07:02.10 | jacques | hmm I've seen that error before somewhere "You don't exist, go away!" |
07:04.01 | jacques | ah "an attempt to get the password file entry for your numeric user ID failed" |
07:09.41 | jacques | some dumbass on the list is telling him it's a virus |
07:12.50 | *** join/#nslu2-linux change-me (~change-me@h73.100.140.67.ip.alltel.net) |
07:23.32 | ByronT | the question becomes "do you correct the dumbass on the list, help out the idiot who can't search and/or read doco, or neither?" |
07:23.47 | jacques | for me, neither |
07:23.58 | jacques | i just make fun of them on the irc channel |
07:24.22 | ByronT | :) |
07:24.58 | jacques | first google hit on that error message had the answer |
07:25.30 | ByronT | whoa! the bk clone just finished up here |
07:26.07 | ByronT | only 133MB |
07:26.28 | ByronT | via dialup tonight |
07:26.28 | jacques | ouch :-( |
07:27.11 | ByronT | I was able to get it started oh about 6 hours ago |
07:37.44 | CIA-7 | 03jp30 * 10unslung/make/libtool.mk: libtool: do not install /opt/info/dir |
07:40.06 | *** join/#nslu2-linux kergoth (~kergoth@ip71.churchill-park.dfw.ygnition.net) |
08:25.19 | rwhitby-away | ByronT: I ignore mailing list posts which are FAQs. |
08:26.02 | rwhitby-away | Until they get so irritating that I tell them off and then they start a rampage and then get themselves banned ,,, |
08:27.08 | giel | yeah! kick ass! |
08:27.09 | giel | :) |
08:27.20 | ByronT | I'm heading to bed... 2:30 and my apple script just got blown away.... |
08:28.00 | ByronT | night all |
08:31.23 | CIA-7 | 03jp30 * 10unslung/make/ (21 files): many fixes to build procedure for xlibs and gtk+ |
08:39.09 | *** join/#nslu2-linux perlguru-work (www-data@netblock-66-159-209-60.dslextreme.com) |
08:39.19 | perlguru-work | hi all |
08:40.36 | rwhitby-away | hi |
08:41.47 | rwhitby-away | anyone tried 3.18 yet? |
08:41.49 | perlguru-work | yesterday my slug was completly unreasable :( even ping to it didn't work |
08:42.43 | rwhitby-away | and today? |
08:43.11 | perlguru-work | rebooted and it was fine, only the data partition was readonly after reboot |
08:43.28 | perlguru-work | and after every reboot it is ro |
08:43.35 | perlguru-work | strange |
08:43.51 | perlguru-work | i am going to reformat the drive and try openslug :) |
08:44.49 | *** join/#nslu2-linux la2aar (~la2aar@pcp07273245pcs.dalect01.va.comcast.net) |
08:45.29 | rwhitby-away | was it checking quotas? |
08:45.51 | rwhitby-away | (data partition is read only if you leave quota checking on while it is checking quotas - can take a number of minutes) |
08:46.24 | rwhitby-away | if you unsling to hdd-data, and you have programs wanting to write under /opt, then you need to divert quota off |
08:49.54 | christopher | is [g2] working on a slugnews volume 2? |
08:50.11 | christopher | I feel like I've been out of it lately, a summary would be good :-) |
08:50.32 | christopher | i c there are a lot more packages around though |
08:52.02 | perlguru-work | quota checking is a bit strange. for all my users quota checking if off. i'll create an unslung diversion :( |
08:52.49 | rwhitby-away | it's an easy diversion ... |
08:53.02 | perlguru-work | i know, i did it ones |
08:55.07 | rwhitby-away | christopher: yeah, lots of new packages not listed in READY_FOR_TESTING ... |
08:55.28 | jacques | maybe they're not ready for testing |
08:55.48 | christopher | hmm i c |
08:57.55 | rwhitby-away | jacques: yeah, maybe |
09:00.23 | jacques | for example I'm pretty sure jp30 is still working on the various X packages |
09:00.53 | jacques | oh yeah - you and I were going to talk about kaffe and its special circumstances |
09:01.50 | jacques | kaffe only builds native, but to build it needs an rt.jar file which can only be made cross (due to jikes needing about 200MB to compile it) |
09:06.35 | *** join/#nslu2-linux dyoung (~dyoung@cpe-24-94-83-103.hawaii.rr.com) |
09:15.33 | dyoung | jacques, that is a rather irritating Chicken/Egg problem now isnt it.... |
09:16.15 | jacques | dyoung yeah, I don't know how to fit it into our current build system |
09:18.03 | dyoung | pre-built rt.jar that gets downloaded maybe? |
09:18.19 | jacques | yeah that should worj |
09:18.21 | jacques | work |
09:19.27 | dyoung | we could provide a md5sum to give a false sense of security. |
09:21.15 | perlguru-work | would the traffic shaping stuff (Qos) from siddy an option for unslung-able 4.x?? |
09:30.12 | *** join/#nslu2-linux dyoung (~dyoung@cpe-24-94-83-103.hawaii.rr.com) |
10:14.51 | rwhitby | jacques: cross-compile an rt.jar package, and then require that package to be installed before kaffe can be built. |
10:15.32 | rwhitby | perlguru-work: yep, anything can go in -able at any time |
10:19.13 | jacques | rwhitby, so tomorrow I'll do a .mk for the rt.jar |
10:19.55 | perlguru-work | would be handy, more and more people are using a bittorrent client on the slug, so ip-traffic shaping is getting more important, so lets test! |
10:20.02 | rwhitby | cool - Elise has just gone to sleep, so I'm rwhitby instead of rwhitby-away for a while :-) |
10:20.16 | jacques | :-) |
10:20.39 | dyoung | I just discovered that the PL3507 is Evil. |
10:27.40 | giel | not as evil as lotus notes |
10:27.57 | dyoung | Muncher of MIME Attachments? |
10:28.03 | giel | muncher of producitvity |
10:44.27 | *** join/#nslu2-linux LarsAC (~chatzilla@134.130.124.227) |
10:57.35 | *** join/#nslu2-linux rwhitby-away (~rwhitby@CPE-144-136-199-164.sa.bigpond.net.au) |
11:02.03 | *** join/#nslu2-linux garpinc (~garpinc@pool-151-203-198-44.bos.east.verizon.net) |
11:02.23 | garpinc | ANyone home? |
11:03.26 | rwhitby-away | . |
11:03.40 | garpinc | hey |
11:03.57 | garpinc | I got the printer stuff working |
11:04.20 | garpinc | It works for me with lpd and with bob_tm with samba |
11:04.52 | garpinc | I have one problem however. I bought a usb hub and connected it to port 2 on slug |
11:05.22 | garpinc | I then plugged in hard drive 2 into hub and printer also into hub |
11:05.41 | garpinc | Then nslu2 reported that my drive was not formatted. |
11:06.13 | garpinc | Pluging the hard drive directly into the port again fixes the problem. |
11:06.17 | garpinc | Any insite? |
11:06.47 | rwhitby-away | debug the problem |
11:07.09 | garpinc | I've already done a lot of debugging... |
11:07.20 | rwhitby-away | and ... |
11:07.28 | garpinc | My question is have you heard of anything like that? |
11:07.59 | garpinc | Also I always have had a problem doing the initial format in port 2 |
11:08.11 | garpinc | Have you also heard of that problem? |
11:10.40 | rwhitby-away | there are a million reasons why both of those things could happen. share your debugging activities and results and maybe there will be some insight ... |
11:11.24 | rwhitby-away | dmesg, /proc/*_conn, usb/devices, ... |
11:12.23 | garpinc | Well the latter (only being able to do format in port 2): The debugging I did is I put it in port 1 and it formatted. Where no matter what I did in port 2 it didn't format. |
11:12.42 | rwhitby-away | that's not debugging |
11:13.11 | garpinc | But my question is have you ever formatted in port 2? |
11:13.20 | rwhitby-away | yes |
11:13.53 | garpinc | What was the size of the drive you formatted? |
11:13.58 | rwhitby-away | flash, cornice and real hard disk |
11:14.31 | rwhitby-away | (flash was with Unslung 1.x ext3flash variant |
11:15.11 | rwhitby-away | but you're still not debugging .... |
11:15.54 | garpinc | What was size of hard drive (I'm trying to get a direction of where I should start the debugging process) |
11:16.07 | rwhitby-away | 12Gb |
11:16.19 | rwhitby-away | 1.5Gb cornice |
11:16.41 | rwhitby-away | limit is 1Gb |
11:16.45 | garpinc | Mine was 250GB maybe that has something to do with it. |
11:17.04 | rwhitby-away | what does your debugging tell you? |
11:17.12 | garpinc | It formats for a while and then stops.. |
11:17.24 | garpinc | Like maybe it time out. |
11:17.38 | rwhitby-away | 21:41]<rwhitby-away> dmesg, /proc/*_conn, usb/devices, ... |
11:18.07 | rwhitby-away | linux tells you what it is doing ... |
11:18.42 | garpinc | I don't know what I should do with those commands and devices you mention. I'll have to do so research to see what they mean. |
11:21.13 | rwhitby-away | last time I explained all this to someone, they promised to put in the wiki, but didn't. Unfortunately, I run out of patuence when the second time comes around ... :-) |
11:22.13 | *** join/#nslu2-linux dyoung (~dyoung@cpe-24-94-83-103.hawaii.rr.com) |
11:23.09 | rwhitby-away | . |
11:26.04 | perlguru-work | , |
11:32.01 | garpinc | ok I'm looking at the dmesg output now.. |
11:32.23 | garpinc | Can I privately send it to you for a look? |
11:32.52 | garpinc | I tried the usb hub in port 1 and then port 1 hard drive failed to work. |
11:36.33 | garpinc | I see the following in /proc/*_conn: |
11:36.38 | garpinc | bash-2.05b# ls /proc/*_conn |
11:36.38 | garpinc | /proc/hd2_conn /proc/hd_conn /proc/usb_conn |
11:38.04 | garpinc | I don't know where to fine:usb/devices |
11:40.10 | perlguru-work | cat /proc/bus/usb/devices |
11:41.32 | perlguru-work | or: lsusb |
11:42.19 | perlguru-work | latter works only if usbutils is installed |
11:43.05 | rwhitby-away | if you have three *_conn files, then the linksys s/w is very confused |
11:43.31 | rwhitby-away | does the hub or something you are plugging into the hub (other than the hard disk) have some storage capability (like a flash card slot) ? |
11:43.53 | garpinc | Yes printer has flash card slot. |
11:43.55 | rwhitby-away | or does /proc/bus/usb/devices have three things with storage class? |
11:44.12 | rwhitby-away | that's your problem then - you can only have two storage devices on a slug. you have three. |
11:44.59 | rwhitby-away | please write these debugging steps and the outcome on the troubleshooting a drive not formatted wiki page |
11:45.29 | garpinc | Where is the limitation here. I heard you can only have 2 on the wiki. Is there a way to disable linux seeing my printer storage as a possible storage? |
11:45.51 | rwhitby-away | only by changing the kernel, or replacing USB_Detect |
11:46.09 | garpinc | Can a diversion script do that? |
11:46.22 | rwhitby-away | a very complex one can, yes. |
11:46.45 | rwhitby-away | (I've never done it, but others have) |
11:47.19 | garpinc | Of course there is no How To on the site right:-) |
11:48.05 | rwhitby-away | are your additions to the troubleshooting page up yet? |
11:48.12 | garpinc | What's a link to the howto wiki page you want me to create? |
11:49.07 | rwhitby-away | look on the howto page - it's not that hard to spot. |
11:49.29 | rwhitby-away | "on the troubleshooting a drive not formatted wiki page |
11:50.16 | rwhitby-away | or add an FAQ "When I plug my printer into a hub with a drive, why does the drive go missing?" |
11:50.26 | rwhitby-away | or do both if you really want to help others out |
11:55.58 | garpinc | I was up all night doing something for work and it's almost 7am... I'm going to bed now and I'll do it first thing tommorow. I've captured our conversation and I'll make it pretty to help out others. |
11:56.14 | garpinc | See you and thanks again for your help. |
11:56.15 | rwhitby-away | thx |
11:56.35 | rwhitby-away | since you are updating the wiki, you are very welcome :-) |
11:57.21 | rwhitby-away | with today's printers, I think this will be an FAQ .. |
11:57.49 | garpinc | BTW as soon as I unplug printer it sees my hard drive so you are absolutely right... |
11:58.15 | dyoung | Of course hes right. |
11:58.29 | dyoung | Having hacked the device to death and all.... |
11:58.42 | dyoung | and diligently studying the linksys kernel patches... |
12:16.49 | *** join/#nslu2-linux _mimosa42 (~mimosa42@lns-vlq-7-lil-82-254-201-207.adsl.proxad.net) |
12:59.49 | *** join/#nslu2-linux change-me (~change-me@h73.100.140.67.ip.alltel.net) |
13:31.02 | *** join/#nslu2-linux [1]garpinc (~garpinc@pool-151-203-198-44.bos.east.verizon.net) |
13:38.12 | CIA-7 | 03ingeba * 10unslung/sources/ncftp/control: Upped IPK version |
13:39.31 | CIA-7 | 03ingeba * 10unslung/make/ncftp.mk: Fixed ncftpbatch bug which caused bgget to fail |
13:47.09 | dJOEk | anyone here in the beijing area ? |
14:01.34 | *** join/#nslu2-linux VoodooZ_work (~VoodooZ@CPE00c0f021712c-CM014110003785.cpe.net.cable.rogers.com) |
14:10.03 | *** join/#nslu2-linux LarsAC (~chatzilla@134.130.124.227) |
14:24.15 | *** join/#nslu2-linux jipi (~jipi@cm65.gamma184.maxonline.com.sg) |
14:45.23 | perlguru-work | someone tried rsync over ssh yet? |
14:46.03 | CIA-7 | 03ingeba * 10unslung/sources/cups/printers.conf: Printer definition file for HP990c on NSLU2 |
14:46.55 | CIA-7 | 03ingeba * 10unslung/sources/cups/S88cups: Oh my, that last version was never supposed to be checked in |
14:48.15 | *** join/#nslu2-linux siddy (~sid@pD95F9C11.dip.t-dialin.net) |
14:55.16 | *** join/#nslu2-linux siddy (~sid@pD95F9C11.dip.t-dialin.net) |
14:58.21 | *** join/#nslu2-linux caplink811 (~joerg@pD956AF1B.dip.t-dialin.net) |
15:01.59 | *** join/#nslu2-linux [1]garpinc (~garpinc@pool-151-203-198-44.bos.east.verizon.net) |
15:17.59 | CIA-7 | 03ingeba * 10unslung/sources/cups/control: Up'ed version number |
15:19.03 | CIA-7 | 03ingeba * 10unslung/make/cups.mk: Added NSLU2-compatible printer config and set correct access for /opt/var/spool |
15:26.29 | *** join/#nslu2-linux _chris_ (~chris@pcp08890974pcs.gambrl01.md.comcast.net) [NETSPLIT VICTIM] |
15:28.59 | CIA-7 | 03ingeba * 10unslung/sources/xinetd/S10xinetd: Added comment |
15:29.14 | CIA-7 | 03ingeba * 10unslung/sources/xinetd/postinst: Added postinst info |
15:40.22 | CIA-7 | 03ingeba * 10unslung/sources/metalog/postinst: Fixed postinst information |
15:42.38 | *** join/#nslu2-linux [1]garpinc (~garpinc@pool-151-203-198-44.bos.east.verizon.net) |
15:50.05 | *** join/#nslu2-linux [2]garpinc (~garpinc@pool-151-203-198-44.bos.east.verizon.net) |
16:06.18 | *** join/#nslu2-linux [g2] (~g2@rdu57-8-035.nc.rr.com) |
16:08.04 | *** join/#nslu2-linux NSLU2-IRC (~NSLU2-IRC@het-kasteel.xs4all.nl) |
16:14.19 | CIA-7 | 03ingeba * 10unslung/sources/metalog/rc: Diversion script for metalog |
16:15.34 | CIA-7 | 03ingeba * 10unslung/sources/metalog/ (postinst S01metalog): Changing metalog setup to use diversion script |
16:17.24 | CIA-7 | 03ingeba * 10unslung/sources/metalog/control: Up'ed version number |
16:19.56 | CIA-7 | 03ingeba * 10unslung/make/metalog.mk: Changed startup to diversion script |
16:36.59 | bob_tm-away | Hey - anyone here with coreutils installed that can check whether uptime works on unslung? |
16:37.51 | bob_tm | It fails on mine and the docs says utmp/wtmp have to be active, which they are not on my system with ordinary Linksys syslogd |
16:47.10 | bob_tm | rwhitby-asleep: No answer - I suspect that coreutils uptime is broken on unslung, while procps one works. Should we remove the one from coreutils? |
16:48.05 | bob_tm | rwhitby-asleep: Please verify that it fails on unslung with unmodified Linksys syslogd, because I've made so many changes to my slug, it might be just me. |
16:48.41 | bob_tm | rwhitby-asleep: I'm keeping it in for this release (coreutils with man pages) |
16:50.16 | CIA-7 | 03ingeba * 10unslung/sources/coreutils/control: Upped version number |
16:51.15 | CIA-7 | 03ingeba * 10unslung/make/coreutils.mk: Added man pages |
17:29.19 | CIA-7 | 03jp30 * 10unslung/make/ttf-bitstream-vera.mk: ttf-bitstream-vera: various build fixes |
17:38.38 | *** join/#nslu2-linux smok (~richard@clyne.plus.com) |
17:54.32 | *** join/#nslu2-linux ByronT (ByronT@adsl-220-251-246.bhm.bellsouth.net) |
18:06.01 | *** join/#nslu2-linux perlguru (~mirc@217.121.204.204) |
18:06.38 | *** join/#nslu2-linux ByronT (ByronT@adsl-220-251-246.bhm.bellsouth.net) |
18:07.40 | *** join/#nslu2-linux pTweety (~pTweety@dialin-145-254-193-232.arcor-ip.net) |
18:11.57 | giel | ok, my openslug build gets past uclibc now |
18:18.34 | perlguru | I get this using fsck:Error reading block 8263 (Attempt to read block from filesystem resulted in short read) while doing inode scan. |
18:18.59 | perlguru | 40+ blocks continous |
18:19.14 | perlguru | bad disk :( |
18:31.17 | *** join/#nslu2-linux NSLU2-IRC (~NSLU2-IRC@84.51.133.29) |
18:31.41 | *** join/#nslu2-linux NSLU2-IRC (~NSLU2-IRC@84.51.133.29) |
18:34.11 | paulhar | Did my package make it - I notice the list seemed to "lose" the attachment? |
18:34.54 | perlguru | what package? |
18:35.03 | paulhar | xmail - posted on the mailing list |
18:35.18 | perlguru | try: ipkg list ;) |
18:36.09 | paulhar | ? |
18:36.29 | perlguru | you don't know that command?? |
18:37.31 | paulhar | Of course; but since I only just posted it up, I don't have cvs access, I'd be surprised if it were integrated yet. |
18:37.47 | perlguru | did you ask for it? |
18:38.56 | perlguru | entered a slugbug? |
18:38.59 | *** join/#nslu2-linux [cc]smart (~smart@gw.ptr-62-65-149-158.customer.ch.netstream.com) |
18:46.41 | paulhar | Am I supposed to? I'm just following the instrs on the AddAPackageToUnslung wiki |
18:47.14 | *** join/#nslu2-linux VoodooZ_work (~VoodooZ@CPE00c0f021712c-CM014110003785.cpe.net.cable.rogers.com) |
18:47.24 | perlguru | yes, you can make the package yourself, ask dyoung or rwhitby-away for CVS access |
18:48.50 | caplink811 | hi, according to the last changes from rwhitby, its no more neccesary (?) to ask for cvs access |
18:49.12 | caplink811 | only post the *.mk and conf.files on the mailing list |
18:49.34 | paulhar | Did that earlier; I notice the list seems to have stripped it out so wanted to check it got through. |
18:50.08 | perlguru | ping rwhitby-away |
18:50.54 | perlguru | guess he is asleep |
18:50.55 | paulhar | [rwhitby-way PING reply] : 0.656 seconds |
18:50.59 | paulhar | ;-) |
18:54.30 | caplink811 | meaning, last changes on AddPackageToUnslung, 30-01-2005 |
18:54.58 | giel | w00t |
18:55.06 | giel | i can ping my openslugged slug |
18:55.11 | giel | at least that's something |
18:56.02 | VoodooZ_work | Congrats giel |
18:56.19 | paulhar | Once I get some feedback on what I've done (i.e. someone fixes it for me and shows me where i'm going wrong) then I'll post up a couple more bits too |
18:56.28 | perlguru | caplink811, where? i dont see it |
18:57.51 | caplink811 | stay tuned, i've just look to the changes... |
18:58.24 | perlguru | i only remember something about 1st timers |
18:59.07 | giel | root@nslu2:~# |
18:59.08 | giel | w00t |
18:59.17 | giel | ok, now i can eat and watch tv happily |
18:59.23 | giel | being ill and all |
18:59.43 | giel | [g2]: it worked |
18:59.59 | [g2] | giel, CONGRATS! |
19:00.09 | giel | i'll be back later |
19:00.15 | [g2] | thx for the update |
19:00.26 | [g2] | are you in the yahoo DB ? |
19:00.34 | caplink811 | at AddAPackageToUnslung - Software Packaging Overview - 5th Part (in german -Absatz) |
19:00.41 | giel | no, i'll add myself later |
19:00.58 | [g2] | ok thx, pls do we need to get to 20 |
19:01.24 | giel | heh, k |
19:01.48 | perlguru | http://www.nslu2-linux.org/wiki/Unslung/AddAPackageToUnslung ?? |
19:02.06 | caplink811 | Si |
19:02.13 | perlguru | no german in there |
19:02.29 | perlguru | all plain english |
19:03.26 | caplink811 | yes, mean "5 part", cause english is not my native language, but, now i know, meaning 5th article in this document |
19:03.57 | caplink811 | forgotten, you're dutch, not german |
19:04.17 | perlguru | To add your package to the Unslung distribution, send your .mk file and any other associated source files to the mailing list as an attachment, and you will normally be given CVS write access as soon as an admin sees it. |
19:04.24 | perlguru | found it |
19:04.28 | caplink811 | fine ;-) |
19:04.54 | perlguru | as I said, code review for 1st-timers/new devs. |
19:05.55 | caplink811 | so i understand, there is no more asking for write access needed |
19:06.27 | caplink811 | and, i think, paulhar have the same understatement ;-) |
19:06.45 | caplink811 | s/have/has |
19:09.55 | giel | hm, booted slug with 21904kb free |
19:10.19 | perlguru | cool |
19:10.22 | giel | correction: 21976 |
19:10.28 | perlguru | cooler |
19:10.39 | [g2] | giel, actually that' about 24-25 looked at the cached number |
19:10.42 | giel | only dropbear running tho, so not terribly useful |
19:10.58 | [g2] | and portmap :) |
19:11.05 | giel | no, killed portmap |
19:11.07 | giel | and getty |
19:11.17 | giel | root@nslu2:~# free |
19:11.18 | giel | <PROTECTED> |
19:11.18 | giel | <PROTECTED> |
19:11.18 | giel | <PROTECTED> |
19:11.18 | giel | Total: 30648 8672 21976 |
19:11.48 | [g2] | cat /proc/meminfo |
19:12.10 | giel | ah, cool |
19:12.20 | giel | MemTotal: 30648 kB |
19:12.20 | giel | MemFree: 21992 kB |
19:12.20 | giel | Buffers: 4 kB |
19:12.20 | giel | Cached: 3456 kB |
19:12.56 | [g2] | so the 3.4MB that's cached is actually free |
19:13.06 | giel | uhu |
19:13.22 | giel | at least, it will be freed when it's needed |
19:13.45 | [g2] | which means 24.5 outta 30.6 is available |
19:13.59 | giel | i was confused, 'cause the free on my desktop adds a line with cached subtracted |
19:14.07 | giel | but i guess the busybox free doesn't |
19:14.22 | [g2] | looks that way :) |
19:14.38 | giel | anyway, next step is hooking up a hdd |
19:14.56 | [g2] | giel, what do you plan to do with the box ? |
19:15.10 | giel | vsftpd, some mta (pbly postfix) and imap server |
19:15.16 | giel | and samba or nfs for storage |
19:15.30 | giel | pbly nfs |
19:15.38 | giel | oh, and screen + irssi |
19:15.49 | [g2] | iirc you might be able to bb samba |
19:15.54 | ByronT | what? no mtdaapd? |
19:15.56 | [g2] | I know postfix bb's |
19:16.10 | giel | first i want my root filesystem on hdd |
19:16.14 | ByronT | I thought everyone used mt-daapd (sarcasm) |
19:16.24 | giel | ByronT: i'm no mac fetishist :P |
19:16.24 | [g2] | dunno about vsftpd |
19:16.38 | giel | [g2]: oh, i'll be able to crosscompile and port by hand if needed :) |
19:16.53 | ByronT | I'm a longtime windows user... mac user just recently |
19:17.08 | [g2] | giel, are you planning on a linuxrc in the jffs2 partition ? |
19:17.12 | ByronT | and btw, it only takes about 7 hours to bk clone over dialup |
19:17.14 | giel | used win, used mac, will stick with linux |
19:17.15 | [g2] | or using switchbox |
19:17.30 | giel | no plans yet :) |
19:17.33 | giel | first poke around a little |
19:17.38 | [g2] | have fun |
19:17.42 | giel | will do :) |
19:19.52 | VoodooZ_work | hey [g2]. Any big new discoveries? |
19:26.20 | kergoth | re |
19:34.22 | VoodooZ_work | hey |
19:35.23 | VoodooZ_work | kergoth: Do you think the software suspend2 stuff would work on the slug? |
19:35.52 | VoodooZ_work | Could be cool to press the power button and have the slug hibernate. |
19:36.23 | kergoth | dont know, i've never actually used swsusp |
19:44.28 | VoodooZ_work | cool. I'll try it soon on my portable |
19:44.54 | VoodooZ_work | ANything that speeds up the excruciatingly long boots is good to try. :) |
19:45.18 | VoodooZ_work | (especially when you're running on batteries and need to restart a lot) |
19:45.23 | kergoth | has anyone instrumented the startup scripts, or investigated solutions to the usb bottleneck? |
19:46.31 | VoodooZ_work | well, [g2] had it on his todo list I believe but It's after the depmod issue so it might take a while. |
19:46.42 | kergoth | heh |
19:46.51 | kergoth | i should really make my nslu2 actually useful this weekend |
19:46.58 | VoodooZ_work | If I can get my robot code done I'll check it myself but I'm way behind already. |
19:47.04 | VoodooZ_work | yep. It's fun. |
19:47.11 | kergoth | i could probably find a solution to the boot time issue, i expect |
19:47.20 | VoodooZ_work | I'm sure you would too! |
19:48.20 | VoodooZ_work | That would be definitely sweet if you could |
19:51.05 | giel | what's the problem? the ohci and ehci modules? |
19:51.18 | kergoth | thats the biggest one |
19:51.21 | kergoth | afaik |
19:51.45 | giel | hm okay... looks like we could use some profiling there :) |
19:51.56 | kergoth | precisely |
19:52.08 | kergoth | some basic instrumentation wouldnt be very difficult |
19:52.27 | giel | how basic are you thinking? a bunch of printk's? |
19:52.28 | CIA-7 | 03caplink811 * 10unslung/make/openldap.mk: initial checkin |
19:52.31 | giel | -' |
19:52.37 | kergoth | heh |
19:52.45 | kergoth | CELF already has a patch that adds instrumentation to printk itself |
19:52.54 | kergoth | specifically for use in debugging boot time issues |
19:53.01 | kergoth | but regardless, in this case its more userspace than kernel |
19:53.08 | giel | oh yeah, CELF, i really should learn more about those guys |
19:53.12 | kergoth | i'm thinking more instrumentation of hotplug and sysvinit |
19:53.18 | giel | especially as i'm somewhat part of the forum :S |
19:53.25 | kergoth | work for a member? |
19:53.29 | giel | yep |
19:53.30 | kergoth | same here, i missed the last meeting unfortunately ;\ |
19:53.55 | giel | well, i only work for them for 3 months or so |
19:54.04 | kergoth | where at? |
19:54.16 | giel | maybe we'll run into eachother some day :) |
19:54.35 | kergoth | heh, where do you work? |
19:54.43 | giel | philips |
19:54.46 | kergoth | ah |
19:54.50 | giel | and you? |
19:54.53 | kergoth | ti |
19:54.55 | giel | ah |
19:54.57 | CIA-7 | 03caplink811 * 10unslung/sources/openldap/control: initial checkin |
19:55.12 | giel | i know a guy at semiconductors who does experimentations on a TI board |
19:55.16 | giel | experiments* |
19:55.20 | giel | (damn i should get to bed) |
19:55.28 | giel | but now our own platform is done |
19:55.37 | giel | and this is exactly the moment i should stop talking about it :) |
19:55.48 | kergoth | hehe |
19:55.55 | giel | st00pid NDAs :P |
19:56.01 | kergoth | yep |
19:57.09 | [g2] | kergoth, I've run hotplug with set -x |
20:12.57 | VoodooZ_work | what does that do? |
20:13.06 | VoodooZ_work | debug mode? |
20:13.25 | kergoth | shows each command that the shell executes, as it executes |
20:13.42 | [g2] | it's sweet :) |
20:13.45 | VoodooZ_work | cool |
20:13.58 | [g2] | I've put it in rcS too |
20:13.59 | VoodooZ_work | so it's a shell option? |
20:14.09 | VoodooZ_work | found anything interesting? |
20:14.46 | [g2] | not really. It is very grounding to see everything happening |
20:15.03 | VoodooZ_work | I guess. |
20:15.13 | [g2] | hey kergoth, any suggestions for my minicom issue ? |
20:16.14 | [g2] | the -x provides tremendous visibility into what's happening |
20:16.29 | [g2] | for scripts obviously |
20:17.27 | kergoth | minicom issue? |
20:18.47 | [g2] | the minicom build dies because it wants either #ifdef POSIX_TERMIOS or #else |
20:18.47 | [g2] | # if defined (_BSD43) || defined (_V7) |
20:19.03 | [g2] | for openslug |
20:19.39 | [g2] | I figured it's POSIX_TERMIOS but don't know if that's what we want |
20:22.01 | CIA-7 | 03ptweety * 10unslung/ (4 files in 3 dirs): cyrus-sasl ready for testing; compiles native and cross. |
20:23.58 | [g2] | actually it dies because it wants m_word, but those #defines would cause it to be created |
20:26.03 | VoodooZ_work | Imagine I have a little util to shutdown the slug, where would I insert a call to have the shutdown procedure use it? |
20:26.49 | [g2] | Ummm I'm missing something there |
20:26.59 | [g2] | are you unhappy with shutodown -h ? |
20:27.07 | VoodooZ_work | That works? |
20:27.09 | [g2] | shutdown -h now |
20:27.19 | [g2] | all except for the power-off |
20:27.20 | VoodooZ_work | I don't have access to my box but I will try it later. |
20:27.35 | VoodooZ_work | oh, that's what I want to add. |
20:27.40 | [g2] | adding the gpio to the shutdown would power it off |
20:27.45 | VoodooZ_work | yep. |
20:28.00 | VoodooZ_work | This way I can tell the robot to shutdown by pressing the power or reset switch. |
20:28.21 | VoodooZ_work | It's not convenient to always have to log in during competition. |
20:28.55 | [g2] | when's the competition ? |
20:29.12 | VoodooZ_work | In april. I don't think I'll make it after all. |
20:29.30 | VoodooZ_work | Would still be nice nice for testing though. |
20:29.42 | [g2] | :(, well it's good to prepare |
20:29.50 | [g2] | I hope you're having fun |
20:29.58 | VoodooZ_work | Makes the slug like an appliance too. switch on/off. |
20:30.19 | VoodooZ_work | It's fun but I find myself stressing though. It's just a hobby after all. |
20:31.12 | [g2] | that's normal, you have a goal and if your not getting there it creates frustration |
20:31.23 | VoodooZ_work | yep. |
20:31.25 | [g2] | it's part of being human |
20:31.30 | VoodooZ_work | I guess. |
20:31.54 | VoodooZ_work | I get obssessed though which is not good. Balance is key in life. |
20:32.00 | [g2] | take 3 deep breaths, then just focus on what you need to do :) |
20:32.11 | VoodooZ_work | not always simple. |
20:32.19 | [g2] | OCD' |
20:32.21 | [g2] | s |
20:32.28 | [g2] | a requirement for programmers :) |
20:32.38 | VoodooZ_work | It gets quite complex. I'm basically doing the job of a whole team. |
20:33.18 | VoodooZ_work | mechanics, electronics, optics, programming (lots), etc.. But fascinating to see that little critter moving around once you get there. |
20:33.50 | [g2] | I'll bet |
20:35.46 | VoodooZ_work | I'm sure glad I took the plunge with linux though. It's even more cool. |
20:36.38 | VoodooZ_work | It opens a world of possibilities. |
20:37.43 | VoodooZ_work | I just wish I could have a <10secs boot though. It would feel so much better. I doubt that will ever happen on a 266Mhz box though. |
20:38.09 | VoodooZ_work | Even without the hotplug problem it would still take me ~45 seconds. |
20:38.35 | [g2] | VoodooZ_work, if you taylor the init scripts I think it could |
20:39.09 | [g2] | my Cirrus 200 Mhz Arm boot to a full prompt with apache and other stuff in 9 |
20:39.18 | VoodooZ_work | you think? I would need to shave off all the fluff like udev and hotplug though right? |
20:39.29 | VoodooZ_work | No way!! 9 seconds? cool! |
20:39.42 | [g2] | I don't know how long udev takes |
20:39.50 | VoodooZ_work | not that long actually. |
20:40.07 | VoodooZ_work | everything is statically linked so I would think it can't be better. |
20:40.09 | [g2] | but there 2 seconds in Redboot, many seconds with switchbox |
20:40.10 | kergoth | udev is basically the mount of the ramfs and a pile of mknod()s |
20:40.40 | [g2] | there's a bunch of stuff that could be speed up |
20:40.44 | VoodooZ_work | yeah, shouldn't be slow. |
20:40.48 | VoodooZ_work | like? |
20:40.56 | VoodooZ_work | (so I can add it to my todo list) |
20:40.57 | [g2] | like stuff I just mentioned :) |
20:41.11 | [g2] | bbiab |
20:41.15 | VoodooZ_work | ic |
20:41.37 | kergoth | first step is instrumentation |
20:41.46 | kergoth | you dont know what "stuff" can be sped up until you measure it |
20:41.47 | VoodooZ_work | yeah. |
20:41.49 | kergoth | heh |
20:42.06 | VoodooZ_work | profiling... then we can concentrate on the slower parts. |
20:42.22 | VoodooZ_work | Is that the CELF stuff? |
20:42.36 | kergoth | they've done all sorts of work on it |
20:42.41 | kergoth | including instrumentation |
20:42.55 | VoodooZ_work | I'm looking at the BootupTimeResources page right now |
20:43.28 | kergoth | http://tree.celinuxforum.org/CelfPubWiki/BootupTimeSpec_5fR2, etc |
20:43.30 | kergoth | nod |
20:43.48 | kergoth | iirc they really haent done as much work on startup scripts and the like, more kernel level |
20:44.04 | VoodooZ_work | cool. I'll read that. |
20:50.04 | *** join/#nslu2-linux LarsAC (~chatzilla@pD95013D7.dip0.t-ipconnect.de) |
20:52.35 | caplink811 | ping pTweety |
20:52.59 | pTweety | yes? |
20:53.04 | kergoth | weirdly coincidental |
20:53.18 | caplink811 | about your problem with libsasl and postfix |
20:53.19 | kergoth | just got an email from tim bird to the celf list about them needing a new bootup time working group chair |
20:53.23 | kergoth | heh |
20:53.37 | caplink811 | have aou a solution right yet? |
20:53.47 | caplink811 | s/aou/you |
20:54.23 | pTweety | no, today I was in hospital and had no time :-( |
20:54.38 | caplink811 | autsch |
20:54.46 | pTweety | exactly |
20:54.48 | VoodooZ_work | you should do it! :) |
20:55.32 | kergoth | heh, certainly could. dont really have either the time or the motivation though |
20:55.41 | VoodooZ_work | yeah. that could be an issue. |
20:55.41 | caplink811 | but, if you already fine, link all needed libraries to /lib, that should do the job, but ask me not why :-( |
20:56.07 | VoodooZ_work | kergoth: Are the patchset useful for us or? |
20:56.35 | pTweety | caplink811: I'm not sure wheter I should do that |
20:56.39 | kergoth | VoodooZ_work: the kernel patches? they could be useful, but again the current problems are more with userspace. optimize where you get the most benefit. |
20:56.47 | kergoth | go from there |
20:57.01 | pTweety | caplink811: first I'll try some more configure options |
20:57.07 | VoodooZ_work | yep. instrumentation is key |
20:57.37 | VoodooZ_work | It sucks that the redboot part takes up like 3-5 seconds all by itself. |
20:58.16 | *** join/#nslu2-linux caplink811_ (~joerg@pD956AF21.dip.t-dialin.net) |
20:58.33 | kergoth | http://tree.celinuxforum.org/CelfPubWiki/DmaCopyOfKernelOnStartup?action=AttachFile&do=get&target=NormalVsFastBoot.png |
20:58.56 | caplink811_ | pTweety: cause postlog search the libraries in /lib, i don't know why... |
20:59.38 | kergoth | look at the % of that boot time consumed by printk messages alone |
20:59.40 | kergoth | sheesh |
20:59.51 | VoodooZ_work | ouch! |
21:00.47 | pTweety | caplink811_: I'll have a look on postconf |
21:01.53 | caplink811_ | pTweety: ok, do that, i've tried another application, which use libsysl, and with ldap, everything works fine, so the stage thing should work right... |
21:02.02 | caplink811_ | pTweety: gute Besserung |
21:02.26 | pTweety | thanks |
21:03.19 | VoodooZ_work | You should have seen the amount debug stuff the kas11 led driver produced at first!! I disabled it as each led blink would cause a message! |
21:07.57 | *** join/#nslu2-linux LarsAC_ (~chatzilla@pD95013D7.dip0.t-ipconnect.de) |
21:15.19 | VoodooZ_work | kergoth: the CELF patches appear to require kernel 2.6.10. I guess that will motivate me to get it in OE. :) |
21:15.44 | VoodooZ_work | ooops. Disregard the previous comment |
21:15.56 | VoodooZ_work | I just saw the rest of the patches for 2.6.9. :( |
21:18.58 | VoodooZ_work | that's strange. My openslug-kernel package never completes. It just jams at the do_compile stage. |
21:33.24 | rwhitby-away | http://www.nslu2-linux.org/wiki/Unslung/AddAPackageToUnslung has been updated to correct the misconception that simply sending the paackage to the mailing list is enough to have it added. That's only enough to get you CVS write access. You still have to add it yourself. |
21:37.29 | caplink811_ | rwhtiby-away: thx |
21:38.22 | caplink811_ | s/rwhtiby-away/rwhitby-away |
21:38.33 | caplink811_ | nite all |
21:38.37 | *** part/#nslu2-linux caplink811_ (~joerg@pD956AF21.dip.t-dialin.net) |
21:55.59 | CIA-7 | 03rwhitby * 10unslung/Makefile: Promoted cups to both native and cross. |
21:56.19 | *** join/#nslu2-linux wipmac (DrFonk@J994e.j.pppool.de) |
21:56.25 | wipmac | http://ipkg.nslu2-linux.org is not reachable !? |
21:56.48 | bob_tm-away | It is |
21:57.06 | wipmac | hrmm.. ipkg update doesnt work for me. |
21:57.22 | wipmac | xsystem: ERROR: Child process died due to signal 2: `wget --passive-ftp -q -P |
21:57.35 | bob_tm-away | bash-2.05b# ipkg update |
21:57.36 | bob_tm-away | Downloading http://ipkg.nslu2-linux.org/feeds/unslung/unstable/Packages |
21:57.38 | bob_tm-away | Updated list of available packages in /usr/lib/ipkg/lists/unslung |
21:57.39 | bob_tm-away | bash-2.05b# |
21:57.46 | wipmac | k |
21:58.01 | rwhitby-away | pTweety: the sed in cyrus-sasl.mk doesn't worl |
21:58.04 | rwhitby-away | work |
21:58.29 | rwhitby-away | wipmac: read the FAQ ? |
21:59.05 | wipmac | rwhitby: no, since i ipkg'ed already many things from there. why shouldnt it werk all of a sudden? |
21:59.17 | pTweety | rwhitby-away: which one? |
21:59.27 | rwhitby-away | wipmac: cause something has changed on your slug or your environment? |
21:59.57 | bob_tm-away | wipmac: Can you reach it via your browser? If so, the problem is slug'ish. |
22:00.02 | rwhitby-away | pTweety: the CPPFLAGS and LDFLAGS inline seds - why are they needed? Mulitple spaces are not a problem. |
22:00.05 | bob_tm-away | If not, the problem is network |
22:01.01 | pTweety | for some reason the configure complains about the *FLAGS without the `sed...` |
22:01.56 | rwhitby-away | Hmm - yeah I see. What a stupid configure script |
22:01.56 | wipmac | rwhitby: read the faq now. but nuttin changed here.. gateway the same, netmask the same. |
22:02.17 | wipmac | ..and no dhcp server running |
22:02.28 | pTweety | well, I though with the sed it's the easiest solution |
22:03.21 | rwhitby-away | yeah - you need a < I think. |
22:03.35 | rwhitby-away | (and a comment :-) |
22:04.59 | pTweety | hm, can you please repeat the last sentence. I simply don't understand the meaning. Sorry, my bad english :-( |
22:08.51 | rwhitby-away | sure - I think you need to redirect or pipe the input into sed, cause it's thinking that you're telling it that the string is a file. |
22:09.24 | rwhitby-away | and then you need to put a comment in the .mk file to tell others why the sed is required (cause it's out of the ordinary, so a comment will save others continually asking questions about it) |
22:11.44 | pTweety | ahh, now I understand. Thanks for your patience. I'll rework cyrus-sasl.mk |
22:13.19 | rwhitby-away | no problem - thanks for your contribution |
22:15.51 | rwhitby-away | actually, you'll need to echo "...." | sed .... |
22:16.25 | rwhitby-away | I wonder if there is a GNU make built-in function which will do that canonicalisation of whitespace ... |
22:17.16 | wipmac | rwhitby: a reboot helped the ipkg-not reachable problem. any clues why? |
22:17.27 | rwhitby-away | nope |
22:18.49 | CIA-7 | 03ingeba * 10unslung/sources/metalog/postinst: Modified activation info |
22:20.04 | CIA-7 | 03ingeba * 10unslung/make/metalog.mk: Changed activation point by switching diversion script |
22:23.14 | jacques | bob_tm-away, thanks for the email - I'll add a configured man.conf today. |
22:26.34 | CIA-7 | 03ptweety * 10unslung/make/cyrus-sasl.mk: Reworked inline sed within the configure step. |
22:29.37 | pTweety | rwhitby-away: when reading the irc-log I found a discussion about stipping of executables. (In particular groff) You mentioned some policies for developers, but I havn't found such a policy yet. Can you please point me to the right place? |
22:37.39 | CIA-7 | 03ptweety * 10unslung/ (make/groff.mk sources/groff/control): Added the stripping of binaries to groff.mk |
22:39.05 | giel | hm |
22:40.15 | giel | is it wise to add all modules which are needed to access a hdd to the kernel, so i can use hdd as root filesystem? |
22:40.26 | giel | or use a linuxrc to load necessary modules and then change rootfs |
22:40.28 | giel | ? |
22:41.32 | jacques | I thought switchbox already had that capability, but maybe it's just switchbox-4.x |
22:41.36 | *** join/#nslu2-linux pompeysteve2002 (~pompeyste@host-84-9-19-15.bulldogdsl.com) |
22:41.43 | giel | might be |
22:42.12 | giel | i'm talking openslug btw |
22:42.13 | pompeysteve2002 | hi all, anyone tried building latest cups? |
22:43.21 | rwhitby-away | yep, it should be in the feeds in about 7 hours (just started a complete rebuild of cross on builds) |
22:43.38 | rwhitby-away | back later |
22:44.03 | giel | but the wiki page on switchbox doesn't really clear things up for me |
22:45.02 | jacques | do we have a standard location for mail spool on slug yet? |
22:45.31 | jacques | /opt/var/mail ? /opt/var/spool/mail ? /opt/spool/mail ? /opt/mail ? |
22:49.08 | *** join/#nslu2-linux mimosa42_aw (~mimosa42@lns-vlq-7-lil-82-254-201-207.adsl.proxad.net) |
22:57.09 | giel | yeah, can live with that one too |
22:57.18 | giel | as long as it's in /var or /opt/var somewhere |
22:58.21 | jacques | OK thanks guys |
22:58.41 | jacques | I'm going with option 2 and if we want we can symlink option 1 to it (it's like that on my desktop) |
22:59.04 | jacques | (well my desktop dosen't have the /opt :-) |
22:59.50 | pompeysteve2002 | anyone seen this kind of error before when Make-ing ? /opt/armeb/lib/gcc-lib/armv5b-softfloat-linux/3.3.5/../../../../armv5b-softfloat-linux/bin/ld: cannot find -lz |
23:04.59 | pTweety | which package do you want to make? |
23:05.09 | pompeysteve2002 | cups |
23:05.46 | pTweety | do you have zlib installed? |
23:05.54 | pompeysteve2002 | yep, AFAIK |
23:08.14 | pTweety | maybe adding zlib-stage to the $(MAKE) openssl-stage line can help |
23:08.40 | pompeysteve2002 | thanks |
23:09.35 | pompeysteve2002 | strange that it's saying "cannot find -lz" and not cannot find "libz.so" |
23:12.43 | pTweety | shrug |
23:13.08 | pompeysteve2002 | hmm just manually ran the command line without -lz and it all built just fine |
23:13.24 | pompeysteve2002 | (so far...) :D |