irclog2html for #openzaurus on 20050816

00:11.29*** join/#openzaurus ZonE-HaKin9|WorK (n=ZH_n_SB@port-212-202-49-90.dynamic.qsc.de)
00:25.58*** join/#openzaurus Geo_KM (n=keith@bh02i525f01.au.ibm.com)
00:36.31*** join/#openzaurus rabies (n=testing@unaffiliated/rabies)
00:36.36rabieshow long does it take to install a package?
00:36.58rabiestaking forever
00:40.08*** join/#openzaurus aaronz (n=aaronz@pdpc/supporter/student/aaronz)
00:40.36aaronzwhen i use monotone to get the sources for openembedded, how long is this suppose to take?
00:40.47aaronzlike more than 1 hour?
00:40.50ljpforever
00:41.02aaronzbut it will eventually get it
00:41.10aaronzand the program will exit, correct?
00:41.12ljpyou should
00:41.42aaronzwhy does it take so long (im not familiar with monotone)
00:41.51rabiesits taking forever for me install a binary
00:41.53rabiesa binary!!
00:41.54ljpdont know.
00:44.02aaronzshould i just grab the snapshot instead? also, the docs dont mention how to 'update it', but just to do it
00:49.13rabiesmaybe i should install packages overnight...
00:57.20*** join/#openzaurus ZonE-HaKin9 (n=ZH_n_SB@tor/session/x-355f91e8613d166b)
00:58.16ZonE-HaKin9has any1 got epenembedded to work on OSX yet??
01:05.03*** join/#openzaurus popetodd (n=popetodd@static-151-204-225-194.bos.east.verizon.net)
01:06.55popetoddjoin #linux
01:07.30popetodd?
01:07.39popetodd##help
01:07.56popetodddamn
01:08.02popetoddforgot already
01:09.40popetoddgot it
01:24.07*** join/#openzaurus synth (n=cb@pcp0010680183pcs.venice01.fl.comcast.net)
01:39.38*** join/#openzaurus Timelord (n=TL@66.84.189.72)
01:58.43tanqcan you install qtopia on gpe?
02:10.27ZonE-HaKin9don't think u can, gpe is x11 based??
02:11.00ZonE-HaKin9but u can install opie & gpe on the same system i did it a few weeks ago for my altboot rom rootfs
02:24.29*** join/#openzaurus Biblio_peb__ (n=peb@p549BDB75.dip.t-dialin.net)
02:32.36*** join/#openzaurus hufnus (n=slonsiki@mf83c36d0.tmodns.net)
02:32.58*** join/#openzaurus meshuga (i=keith@silenceisdefeat.org)
03:22.55*** join/#openzaurus Apple (n=appleboy@freematrix/dj/apple)
03:22.59AppleJustinP: you there?
03:27.26JustinPApple: yes
03:29.08*** join/#openzaurus synth (n=cb@pcp0010680183pcs.venice01.fl.comcast.net)
03:29.10JustinPApple: yes?
03:36.36JustinPApple: .....what's up with your connection?
04:22.46ljpyou know apple seeds have arsenic in them?
04:27.48*** join/#openzaurus mithro (n=tim@c213-100-42-188.swipnet.se)
05:42.56*** join/#openzaurus Geo_KM (n=keith@bh02i525f01.au.ibm.com)
05:45.08*** join/#openzaurus eumel (n=chatzill@p548328FD.dip0.t-ipconnect.de)
07:13.01*** join/#openzaurus FallenHitokiri (n=TimoZimm@p54ACF2A1.dip.t-dialin.net)
07:19.03*** join/#openzaurus FallenHitokiri (n=TimoZimm@p54ACF2A1.dip.t-dialin.net)
07:58.15*** join/#openzaurus ZonE-HaKin9 (n=ZH_n_SB@cippola.gondor.de)
08:00.20*** join/#openzaurus Timelord0 (n=TL@66.84.189.72)
08:06.45CoreDump|homemorning
09:22.08*** join/#openzaurus __law__ (n=law@mail.stiftadmont.at)
09:25.29*** join/#openzaurus Shdwdrgn (i=Picard@sourpuss.net)
10:03.38*** join/#openzaurus mrz80 (i=1000@caledonia.cns.ufl.edu)
10:18.55*** join/#openzaurus LordVan (n=lordvan@gentoo/developer/LordVan)
10:40.06XorAyo tanq
11:41.27*** join/#openzaurus zinga (n=arnaudb@186.80-203-227.nextgentel.com)
11:56.21*** join/#openzaurus zinga_ (n=arnaudb@186.80-203-227.nextgentel.com)
12:07.19*** join/#openzaurus kolla (i=kolla@firda.uninett.no)
12:23.50*** join/#openzaurus baldurk (n=baldurk@user-13-193-151-83.e7even.com)
12:28.43*** join/#openzaurus Timelord (n=TL@216.137.177.110)
12:38.29*** join/#openzaurus Shdwdrgn (n=shdwdrgn@sourpuss.net)
12:42.30AppleJustinP|zZz: well, had some issues yesterday for about 5 minutes, probably because it was downloading shit
12:42.43AppleI'm recompiling everything in a chroot
12:42.45Applehalfway done
14:09.45*** join/#openzaurus mrz80 (i=1000@caledonia.cns.ufl.edu)
14:27.03*** join/#openzaurus Exis (n=Exis@oscnet249.osc.edu)
14:27.24*** join/#openzaurus Exis (n=Exis@oscnet249.osc.edu)
15:20.38*** join/#openzaurus kolla (i=kolla@firda.kolla.no)
15:46.26*** part/#openzaurus _law_ (n=law@213.173.86.202)
16:01.31*** join/#openzaurus _law_ (n=law@213.173.86.202)
16:04.39*** join/#openzaurus Timelord0 (n=TL@216.137.177.110)
16:11.28JustinPApple: Things seem to be ok now.
16:52.17BCSRight, how can I diagnose the fault with opie-console.
16:59.57*** join/#openzaurus [cc]smart (n=smart@gw.ptr-62-65-149-158.customer.ch.netstream.com)
17:18.57*** join/#openzaurus incinerator (n=incinera@82-41-24-164.cable.ubr04.edin.blueyonder.co.uk)
17:19.02*** join/#openzaurus LordVan (n=lordvan@gentoo/developer/LordVan)
17:29.23*** join/#openzaurus hufnus (n=slonsiki@m8c8b36d0.tmodns.net)
18:16.35*** join/#openzaurus bipolar (n=bipolar@146.145.26.90)
18:28.05*** join/#openzaurus slisk (n=slisk@adsl-67-121-203-137.dsl.sndg02.pacbell.net)
18:29.51sliski tried to execute "pivot_root /media/card/debian-arm /media/card/debian-arm/mnt/oldroot" and got the error "Invalid argument".  both directories exist and i'm root, what's wrong?
18:50.38sliski tried the command again with invalid dirs and files, they gave different errors
19:53.50*** join/#openzaurus Timelord (n=TL@216.137.177.110)
19:56.19JustinPslisk: I think your problem is that the second argument should be as if fromt he new root....
19:56.30JustinPpivot_root /media/card/debian-arm /mnt/oldroot
19:56.32JustinPperhaps
19:57.32slisktried, no good
19:58.23slisksay directory doesn't exist
19:58.39sliskand it doesn't on the original fs
19:59.32sliski also tried cd /media/card/debian-arm ; pivot_root . mnt/oldroot
19:59.38slisksame problem
20:04.06sliskhow do i create a kernel image that includes a binary module (that can't be compiled in), and that loads this b4 the the root fs?
20:04.45sliskif i could get the sharp_mmcsd_m.o modules to load then set the /dev/mmcda to root that'd really help
20:07.19JustinPslisk: well, this is precisely what altboot does....
20:07.32JustinPslisk: I suggest you at least check out altboot (or rboot) for working examples
20:07.40JustinPaltboot makes it very simple to pivot to SD
20:09.45sliskis it in the oz3.5.3 feed?
20:10.05JustinPnope
20:10.10JustinPit's on hentges.net, though
20:10.31JustinPMr Hentges is the original dev of altboot (AKA CoreDump)
20:10.39JustinPI added some stuff a little while ago as well :-)
20:10.58sliski made a custom script based upon unionroot which use the command as i do, no idea why mine doesn't work
20:11.20JustinP::shrug::
20:11.46sliskdo i have to dl the whole rom or just the src to that?
20:15.32AppleJustinP: !
20:15.33Applehiya
20:19.49JustinPslisk: only the altboot ipk
20:19.51JustinPApple: hi
20:20.08*** join/#openzaurus mcgyveri (n=jepjep@85-156-28-156.elisa-mobile.fi)
20:24.39Applehow's it going?
20:29.40*** join/#openzaurus _StarScream (n=am@81-178-240-82.dsl.pipex.com)
20:33.56sliskwhere do i dl the altboot ipk?  i checked the website, but i can't find it
20:36.03JustinPApple: going pretty well. I've gotten e17 nearly ready for the Z and am likely going to be pushing some patches upstream :-)
20:36.58JustinPslisk: good question...I thought it was up there
20:37.53*** join/#openzaurus hufnus (n=slonsiki@m0f1f36d0.tmodns.net)
20:44.30JustinPslisk: I'll try to get an ipk for you quick...
20:44.31*** part/#openzaurus mcgyveri (n=jepjep@85-156-28-156.elisa-mobile.fi)
20:44.37sliskthx
20:44.46sliski lucked out and found that: Invalid argument = EINVAL = put_old is not underneath new_root
20:44.56sliskbut this is not the case, wtf?
20:44.57JustinPah, heh
20:45.02JustinPnot sure
20:45.11sliski'll still need that ipk if you can get it
20:45.26JustinPyou can always view the altboot code as well. It's in the OE repository
20:46.14sliskhow do i dl just the source?
20:50.38JustinPwell you could use viewmtn to find them or just get the OE db and checkout a copy
20:50.59JustinPhttp://monotone.vanille.de/viewmtn/manifest.psp?id=25916dace5d51144e2d55018aaefdabb86f6b163&
20:51.02JustinPlook for packages/altboot
20:52.05*** join/#openzaurus ljp (n=lpotter@203.94.178.46)
20:52.25Biblio_peb__Has anyone of you tried MONO on Zaurus, or is using MOno to write programs for the z?
20:52.28JustinPok, I'm bitbaking altboot for collie...will take a few minutes at least as I cleared out my caches and such for collie
20:53.06sliskwoot, thx
20:54.10Appleno wonder why my system started to slow down for a moment
20:55.20JustinPhehe
20:55.28JustinPApple: is it a problem?
20:57.05JustinPslisk: yeah, going to take a few minutes...it's rebuilding the cross-compile tools and such (although it doesn't really need them for altboot..)
20:57.20sliskk, thx
21:00.02AppleJustinP: no
21:00.10AppleI've gotten used to it
21:00.51Appleit's when I'm using emerge and you're using that that it freaks out
21:06.20JustinPheh
21:12.07Appleanyway, done wih training, must do other stuff
21:12.08Applebbl
21:13.47sliskOOOOOOOOOOOHHHHHHHHHHHHHHHHHHHH
21:13.50sliskfigured it out
21:14.03sliski had a device mounted at /media/card
21:14.19sliski wanted to pivot_root with a directory inside that /media/card/debian-arm
21:14.56sliskapparently pivot_root requires not just a directory but a root dir of a device so that it can rearrange mounts
21:15.28JustinPslisk: well...yeah, pivot_root moves mounts around. You can't pivot to a directory which isn't the root of a dvice
21:15.32sliski tried to pivot with a sub dir that couldn't be seperated from the parent directory
21:15.36JustinPheh
21:15.52sliskreally need mroe descriptive error messages
21:15.57JustinPyeah
21:16.03JustinPbut this is busybox, remember...
21:16.14JustinPit doesn't even have decent --help, so....
21:16.22JustinPthe *real* pivot_root may have better errors
21:16.46sliskno i tried the pivot_root in the debian-arm bootstrap, it gave the same error
21:16.56JustinPhmm?
21:17.08JustinPyou sure that's not a vusybox pivot_root?
21:17.12JustinPbusybox
21:17.19sliskit's a full blown minimal system, uses bash and everything
21:17.39JustinPI see...is this from OE?
21:18.06sliskno it's the deboostrap package, you can find it on packages.debian.org
21:18.12JustinPok
21:18.36sliskit's made for chrooting though, so i copied the one off the installation cd, though it does the same thing
21:18.40sliskbut you can boot into it
21:19.05sliskit just doesn't have a kernel, runlevels and inittab, and user info
21:19.43sliski imagine that you can modify the script debootstrap uses to automatically configure everything for a fully bootable environment
21:20.29sliski'd like to load the mmc module with the kernel and set the root to /dev/mmcda...
21:20.33slisk...do you know how to do that?
21:21.46JustinPumm...just do what you said
21:21.58JustinPmodprobe (sd module)
21:22.09JustinPmount -t ext2 /dev/mmcda1 /media/card
21:22.22JustinPpivot_root /media/card /media/card/mnt/realroot
21:22.36JustinPaltboot can do this for you BTW
21:24.14JustinPhttp://dioxide.randomvoids.com/~papercrane/feed.collie/altboot_1.0-r8_collie.ipk
21:29.26sliski just finished making an init script myself after figuring that out, though i still appreciate the altboot ipk for reference
21:42.41*** join/#openzaurus buffer (n=buffer@wnstmnhed01-lo0-pool0-a14.wnstmn.tds.net)
21:42.54bufferAnyone installed a linksys wcf12 on a 5500
21:44.33_StarScreambuffer: yeh i have..it detected it..but I couldn't get it working though apparently it does...
21:49.32bufferyea?
21:49.34bufferthat sucks
21:49.36bufferI can't get it to go
21:49.41buffereverybody else says it's so easy.
21:50.09_StarScreambuffer: i have trouble getting my 5500 updated anyway...:) i just suck
21:50.16bufferheheh
21:50.18bufferI got it updated
21:50.22_StarScreamhrw or CoreDump|home  will be of most help
21:50.26bufferI just can't get the fricken card to work
22:02.50*** part/#openzaurus CoreDump|home (N=mhentges@hentges.net)
22:02.50*** join/#openzaurus CoreDump|home (N=mhentges@hentges.net)
22:03.27CoreDump|homebuffer: is the driver auto-loading? does iwconfig show the wlan0 device?
22:05.41bufferhold on
22:10.25bufferokay..
22:10.27bufferit works now
22:10.29bufferdon't know why
22:10.31bufferor what I did
22:10.33bufferor what was done
22:10.34bufferbut it works
22:12.09CoreDump|homeok :)
22:13.37bufferthanks though :)
22:15.17sliskok this is really wierd...
22:15.57sliski pvirot_root into another (valid) environment and suddenly everything int he new env and the old can't be executed
22:16.06sliskerr pivot_root
22:16.34sliski get "--sh: [file]: not found
22:16.40slisk--sh: [file]: not found
22:17.58sliskthe only think that still works is the cd command
22:18.21sliskwhat else is hard coded into busybox?
22:18.42sliskand by that i mean, what commands can be used without symlinks
22:19.41kollais there working unionfs for the collie-kernel?
22:19.56JustinPthere is no working unionfs for anything
22:20.12kollaok, fair enough :)
22:20.14JustinPslisk: if you're pivoting from busybox to non-busybox that could be the "problem"....
22:21.35sliskkolla: i'm alraedy using unionfs, seems to work fine, though once you add a device to a union that is the rootfs it becomes busy can you can't dismount
22:21.49sliskthough not with the pivot'ing stuff
22:22.00CoreDump|homeslisk: _everything_ is hardcoded into busybox and can be used w/o symlinks. Just use "busybox $appname" instead
22:22.40kollaslisk: ok
22:23.19kollaslisk: what I'd like is readonly internal flash with readwrite SD ontop :)
22:24.00sliskthe other rootfs i ultimately want to get into isn't ont he root of the device so paths don't line up.  i tried typing out the entire path thorught he dir the oldroot was pivoted to, but i get "--sh ./mnt/oldroot/bin/busybox: no found"
22:24.20sliskkolla: yeah that's what unionroot does
22:24.29sliskkinda...
22:24.34kollayes, I've been playing with it on the PC tonight..
22:24.49kollabut I goot way to many odd situations :)
22:25.19sliskkolla: you either need to manually use unionctl to --add the device tot he union, put in a boot script, or (my choice) put it into /etc/sdcontrol
22:25.20bufferanyone know some package servers?
22:25.34kollaideally it should be possible to just insert/remove memory cards on the fly and have them merged ontop of the internal flash on /
22:26.05kollaslisk: right, the latter is more what I'm looking for
22:26.12sliskkolla: the problem with that is, how should it behave with open files on the removable card?
22:26.32kollayeah, well.. that's a fundamental flaw (IMO) in how unix works
22:26.34sliskkolla: i'll send you my sdcontrol script through irc
22:26.58kollano need to
22:27.19kollaI have too much other things to do first before playing with the zaurus again :)
22:27.27kollawas just curios on the status
22:27.27sliskkolla: nah it's a conceptual problem, if you're running a program off the device, what should it do? what if that program is ciritcal to the OS's execution or the device's dismount?
22:28.00kollawell, it should behave and dont just die or get killed :)
22:28.05kollaand not..
22:28.24slisksend it
22:28.37kolla"insert cdevice blurb (continue|abort)"
22:28.39JustinPkolla: "I want to be able to remove my hard drive and still have my OS running". That's not going to happen...
22:28.53sliskexactly what i'm getting at
22:29.09kollaJustinP: yes, exactly
22:29.15sliskthere's a lot of gray area between completely removable and total panic
22:29.24ljpyoud be amazed at how far rm -rf / gets :)
22:29.55kollaJustinP: hence IMO linux is wrong type of OS for many ..embedded (read mobile) devices
22:30.02sliskljp: well technically rm doesn't destroy a file just erase's the reference to it in the fs
22:30.26ljpstill, the system cant used it
22:30.39JustinPljp: no, it can as long as it's open
22:30.48kollawhen I used my Z as a pda and people wanted to look at it... how often didnt they just click out the SD.. sigh..
22:30.55JustinPljp: if a file is open and you "rm" it then the file is still open and accessible
22:31.00kollawith a 50% chance of stall/crash.. :)
22:31.22JustinPkolla: well...that's your problem for asking them not to...or taping over the SD card
22:31.46JustinPkolla: if you have your root FS on a SD card you just can't eject it and still expect things to run. Period.
22:31.57kollaJustinP: 10 years ago we had OSes that did this just fine :)
22:31.57sliskkolla: the problem is the concept of putting critical files on the remoable device.  even if there were a confirmation it wouldnt' really be continue or abort, it'd be crash or don't crash
22:32.22kollaJustinP: why not, everything that is running is located in memory and not on disk :)
22:32.42JustinPkolla: yeah, load all 10K of it into RAM and you're fine. No, not going to happen today. There's *way* too much that's running and needs files from the FS.
22:33.02kollayes
22:33.23JustinPkolla: the point is that everything today (normally) is dynamically loaded, so the system doesn't load the file/lib until it needs it
22:33.29JustinPand when it's gone you're SOL
22:33.33sliskkolla: technically you can physically remove the card and it'll still run, but there's also things like sockets and such that actively use the fs
22:33.43JustinPthat as well, yeah
22:33.46kollayes sure
22:34.02JustinPkolla: which is why Sharp ran the root from the Flash and let you "install" to SD.
22:34.02kollaI know all that, my point is simply that this sucks :)
22:34.15JustinPthis won't crash your OS but programs running off it will crash still
22:34.34JustinPkolla: what do you propose? load all storage into RAM as soon as it's inserted?
22:35.14kollaI dont propose anything, with linux it's a lost case
22:35.25ljpJustinP: accessible only to that process
22:35.26kollait simply wont happen anyways, so why bother proposing anything
22:35.53sliskkolla: i think it's a design flaw in unionfs, i don't think it checks for the consequences of removing a device to determine if it's possible, just an absolutel check if something (namely a direction) is open
22:35.54kollaI'm just saying that these are the exact issues why, IMHO, that linux isnt suited
22:36.06sliskkolla: even if the target device's portion of the union is empty
22:37.07sliskkolla: linux, like most OS's are designed around the expectation that the user interact with the system, as opposed to the system simply submitting to everything
22:37.36sliskkolla: without that expectation, the system has to load thigns into memory, backup everything and prepare for all contingencies
22:37.57kollaI wont go into this :)
22:37.57sliskkolla: on an embedded device that consumes a relatively large amount of resources
22:38.14sliskkolla: you can tailor linux to act as you want it to
22:38.23sliskkolla: it's just not like that by default is all
22:38.54sliskkolla: also the programs your runnign aren't designed to run entirely in memory
22:38.56sliskoh i got it
22:39.09sliskjust load everything in ramdisk
22:39.18sliskproblem solved
22:39.19kollatodays embedded devices have a tenfold more resources both in terms of memory and CPU power than computers we had 10-15 years ago that were perfectly usable back then - systems that for most part relied on floppy jocking
22:39.36kollaand had no problem dealing with vanishing filesystems
22:40.16sliskthat's cuase everything loaded into memory, and there are linux distros like that today that even have gui's
22:40.24kollayes
22:40.31sliskthe OZ distro does not load everything into memory though
22:40.43sliskyou coudl tell it to, and it'd work as you like it too
22:40.49sliskit's just not like that by default
22:44.10kollayou dont have to load everything into memory, you just have to be more aware on how you use the filsystem and not keep files open all over, and last but not least - have methods to communicate with the user to tell thep person to reinsert missing filsystem or abort
22:44.41kollabut again - not going to happen on linux
22:44.47kollaso the discussion is moot
22:44.56slisklol, what amkes you say it's not goign to happen?
22:45.11kollaall developers I have ever met
22:45.17kollareally, the lot
22:46.20kollathey point me to how bad MSDOS was and make smirk remarks if I bother to mention some certain other system that did this fine
22:46.27kollaso I wont bother
22:47.12sliski can understand why the wouldn't want to do that though, your method would require halting parts of the system entirely
22:47.43sliskin a console only environment that's fine, but with services serving other services, that can cause a lot of problems
22:47.51kollacorrect
22:48.09sliskevery program would have to be made in conjunction with every other program
22:48.27kollasuch systems need graphical interface in the core of the OS as well
22:48.28sliskthat's not going to happen period for a generalized OS, that's a LOT of programs
22:48.44sliskalso transparency is an issue
22:48.52kollayes, you are quite correct :)
22:49.18sliskthe typical programming methodology is that each layer of a system shouldnt' require knowledge beyond it's immediate interfaces
22:49.22kollavery strict programming regime, strict apis, no fancy "smart" tricks.. :)
22:50.08kollaand never bother with compatibility :)
22:50.30kollaposix capability would have to be offered inside a sandbox so to speak
22:51.01kollaif at all
22:51.04sliska particularly strict programming methodlogy could allow for generalized programming...
22:51.33sliskwait no...
22:52.06slisk...say programs A and B are built to this specification, they would be downwards compatible with the layers below theirselves, but what about across?
22:52.36kollayou mean IPC?
22:52.37sliskof A interfaces with a timeout to B, but B freezes cause a fs is gone...
22:53.29sliski supposed A could check the program status of B b4 interfacing...
22:53.43kollathe programs should not even have to know about the filesystem, they should ask the kernel/OS for such resources
22:54.48kollaprograms should not check oneanother, they should themselves only have to deal with the OS/kernel
22:55.10slisklower layers would have the ability to force compliance upon higher layers, that's a given, but what lateral interfacing?  which multiple programs have no authority of each other?
22:55.25sliskbut what about tiem sensitive application?
22:55.43sliskoperating with hardware and the real world for example
22:56.15kollayou mean device drivers?
22:56.23sliskwhat about a game that expects the server to respond within a certain amount of time?
22:56.47sliskor another program on the same system operating through sockets?
22:58.03kollaif you design a game for a system and have wrong expectations on how it works.. then perhaps a deeper study of the system is in order :)
22:58.36JustinPslisk: if the person running the server pulls the FS that's their problem...
22:58.53kollafor time sensitivity.. linux is one of the systems where I dont expect anything to happen on time
22:59.21sliski'm with you justinp, i think remove an fs that host critical files is a user flaw...but it's entertaining to explore this
22:59.46sliskthere are real time kernels and patches, let's assume we have one of those
23:00.05kollawhat ever for :)
23:01.04sliskif a program is not expected to be responsible for the fs, then what about after a fs is removed and it seeks another file off it?  how would the kernel know which fs the was from if it was never sought b4?
23:01.52sliskeven worse, the file could later be overwritten by another fs being unionized
23:02.00kolla"file not found error"?
23:02.02kollaor -
23:02.32kollaif the program asking for it uses a label/alias/assign in its path, something that the user will know what is
23:03.02kolla"program XYZ is looking for blurb:path/blabla - please insert blurb:"
23:03.19kolla(ok | cancel)
23:03.46kollayou know.. use those filesystem labels for something usable :)
23:04.00kollas/usable/usefull/
23:04.05sliskbut what if the the fs the program comes from and the file it's looking for come from different fs?  we're still talking about unions right?  a file could exist on a different medium entirely
23:04.24kollasure..
23:04.41sliskhow would the kernel know which medium to request?
23:04.49kollawell, the relevance to unionfs here is limited
23:05.22sliskwell the idea of a unionfs
23:05.32kolla"insert blurb:" makes program A happy and it moves on..remove blurb: and insert blarb: and program B will be happy
23:06.06kollain worst case you'd have to either "get another floppy drive", or do some jockeying
23:07.34JustinPof course those also were not multitasking systems. You'd be swapping in and out all the time with a normal system now
23:07.39kollathere are alsoways to do such things without involving unionfs
23:07.47kollaJustinP: sure they were
23:07.55kollapreemptive multiasking systems
23:07.57sliskwhat if the sought file fullfils the requirements for a files type/structure and passes program sanity checks, but the files performs differently that expect?  e.g. 2 scripts that do different things both still quality as scripts
23:08.36kollaslisk: that's will be a problem just like it is on any system
23:08.54sliskwell actually all these issues aren't limited to union fs, they apply to any system when a fs can be modified without the systems' supervision
23:09.02kollayes
23:09.17kollaif you want to fix that, get openvms
23:09.32sliskso what do you actually do with the fs you remove if you shouldn't modify it b4 reinserting it?
23:09.45kollathen you wont be able to run a single command untill you and the program are clarified :)
23:10.18kollaofcourse you can modify it
23:10.23kollaunlike on old macs
23:11.10kollayou can copy in new files on it.. change files..
23:11.52kollaon a different machine, copy in pics from camera or whatever
23:12.50sliskwhat if the program's operation depends upon the existence of certain files, not just their utility?  to the program, wouldn't a fs being removed equate to nonexistence?
23:13.29slisksay a package manager determine's dependecies based upon the existence of certain files that are named by their installed packages
23:13.52sliskif you remove the fs hosting those files, how is the program to know whther they were removed or never existed?
23:14.35sliskalso, just how many fs can exist on the removed fs and still allow their names and directory structures to be cached?
23:14.37kollawhy would it have to?
23:15.08sliskif it thought the files never existsed, it could incorrect fail all dependencies and nothign could be installed
23:15.08kollathat's a memory issue :)
23:15.26kollayes, that's quite ok
23:15.39kolla"cannot find file blabla"
23:16.12sliskbut still, the kernel would need to cache the structure of removed all removed fs in order to request their reinsertion right?  what's the limit upon this?
23:16.50sliskjust how big a fs can you remove and reinsert?  what happens when the limit is reached, just clear the cache?
23:16.54kollabut if the program knows that these certain files usually exists on a given volume, then it can ask for that - if the user know those files are elsewhere in the system, he/she'd typically have an assign to that location
23:17.19kollathink of assign as a symlink with many destinations... unionsymlink
23:17.23sliskWHOOOA "usually" that gets into heuristics and statistics, let's not go there
23:18.00kollamy amiga A600 at work has a 150GB USB disk with 18 partitions, and that works :)
23:18.47sliskand you can remove the disk and it can still request files not already opened and know to ask for the usb disk?
23:18.54sliskor do you just mean it keeps running?
23:18.57kollaI unplug it, and some program will occationally ask for one of the partitions, I can then plug it back in or if I have copied over that file elsewhere fix a temporary assign
23:19.05kollayes
23:20.22sliskwell just asking for a disk label is simple, every program can be associated with the label it comes from, and upon a file not found error simply requrest that partition. but what about a union fs where any file can come from anywhere, or an fs not yet associated with the program?
23:20.41kollafor instance the libary path might be pointing to it, and it if hasnt found a library on the ...uhm.. earlier locations, it will ask for the missing parition
23:21.30sliskwait, if you use an automounter to mount devices on demand, it could easily be programed to make such requests
23:22.01sliskhalt or send to sleep the requesting progarm until it is able to load the the desired device
23:22.48kollaon amiga you can do things like.. "assign blurb: sys:path/blarb df0:blirb usb0:blorb"
23:23.13sliski know the open command locks until the file operation is resolved, if the automounter could simply never time out the device mounting request and post a simple message, that's what you're looking for
23:23.47kollaif a program looks for blurb:file, the system will look for sys:path/blarb/file, then move onto looking into whatever floppy is in df0: and blirb directory, and then usb0: disk, blorb directory
23:24.06kollaif file is found in sys:blarb, it wont ask for the others if they are missing
23:25.12sliski think what you're asking can be implemented within automounter.  it's actually pretty simple, just insert a function into the "mount timeout" block to ask the user to insert the device and retry the action is retry is replied
23:25.39slisks/is retry/if retry/
23:26.11sliskyou should search the net for automount, there may already be a patch
23:26.15kollayes, it should be possible
23:26.48sliskhell check the man page there might be an option (doubt it though)
23:27.03sliskthere's also multiple automounters out there, another may do what you ask
23:27.56kollabut it wont help if someone removes a filesystem while it is in use
23:28.18kollawhen it is open
23:28.20sliskthough the requestion program would need to differentiate between a "must open" attempt and a "try to open" attempt.  since a fiel may have never existsed
23:29.05kollaah well.. I need to get some sleep :)
23:29.44sliski don't know how linux handles files once their open, but i'm sure it you could tell it to reopen the file and seek the previous location if it's gone without closing
23:30.17kollayes, that should definetly be possible
23:30.58sliskyou should search the net for patches/programs that do what you're asking.  i don't know what keywords to use to narrow it down, but you could try lookign for pages associated with the amiga system you mentioned
23:31.06kollathe typcal solution so far has been to kill the program in order to unount :P
23:31.33kollawhich in my experince often has meant bringing down opie in one way or other
23:32.45sliski think with the explosion of storage space, developers have abandoned such considerations on the expectation that the desired medium wuodl always be available for critical files, and the removable files wouldnt' be stored seperately
23:32.55sliskyou shuold looking into nfs as well
23:33.11sliskthat's an obvious medium in which the fs cuold disappear at any moment
23:33.35sliskit may behave as you'd like it to
23:33.57sliskif so you could implement any removable medium as a nfs volume
23:35.46sliskOne interesting thing about NFS is its statelessness. You can reboot a server and the client won't crash. It won't be able to access files on the server's export while the server is down, but once it returns, you'll pick up right where things left off. Other network file sharing systems are not so resilient.
23:36.14kollayes
23:36.43kollaI'm having problems with KDE and NFS at the moment, pretty weird :)
23:37.14kollawith $HOME on NFS, all program menues, kcontrol etc are.. like.. empty :)
23:37.55sliskfound it
23:37.58sliskThen we want to make the mount interruptible. This means that if the server goes away, for any reason, client programs that are trying to access the export can be interrupted. Otherwise, the client will continue trying to access the export until the filesystem times out. Set this with the intr option.
23:38.05kollathis happened just a few weeks ago, but if it was new KDE version or something else I dont know.. but I can still start programs manually, so it's ok :)
23:38.27sliski think that's how you had it setup kolla
23:38.56kollayes, and that timeout can be _really_ annoying if you for some reason want to.. say.. reboot the client machine :)
23:39.20sliskjust use the intr option, problem solved
23:39.32kollaaha
23:39.38sliskread and write locks until the volume is available again
23:40.12sliskjust imagine if you combined this with unionfs...
23:40.19sliski wonder how it would perform...
23:40.49kollaheh, I already had intr
23:41.00kollamust have read that man page at some point :)
23:41.12kollayes
23:41.16sliski'm no nfs expert, you'll have to get help on that elsewhere
23:41.35kolladid I mention that I tried to use unionfs on homedir on nfs + homedir on machine?
23:42.01sliskwhat happened?
23:42.21kollagot some very nice kernel oops and segfaults when I tried ls on the unionfs :)
23:42.37kollaand it didnt manage to umount.. busy :)
23:42.47kollaso I did a sync followed by reboot -n -f
23:43.14sliskwell unionfs is fairly immature, if you tried to used nfs traditional after configuring it, i'm sure it'd perform better
23:43.27hardwireI use unionfs on debian :)
23:43.29hardwirefor /
23:43.30hardwire:)
23:43.35hardwireit makes life fun
23:43.35kollacool :)
23:44.45kollaguess my attempt was doomed, nfs+ext3, nfs via autofs :)
23:44.54sliski think the problem with unionfs branches always beign busy are subdirectories and files being held open either on another branch in the same location or in another dir which some parent dirs in common
23:46.08sliski imagine removing directories or files in unionfs must create some difficult problems for the devs to solve withou major overhauls
23:46.35kollayeah, I think so too
23:46.57sliskit all sounds similar to work with binary trees where you're operating on leaf nodes, trying to generalize onto parent branches
23:47.53sliskonly you've got multiple trees...

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.