/srv/irclogs.ubuntu.com/2005/06/27/#ubuntu-kernel.txt

=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
=== ds [~ds@dsl081-053-082.sfo1.dsl.speakeasy.net] has joined #ubuntu-kernel
fabbionemorning06:16
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
jbaileyFabio!06:51
jbaileyfabbione: I have kernelish things to pester you about too re: initramfs. =)06:54
fabbionejbailey: sure.. go ahead06:54
jbaileyPart of what I want to do is have the kernel ship bundles of things to be included in the initramfs - Like a collection of ide drivers in a cpio file, or scsi drivers, or net/nfs drivers, etc...06:54
fabbionehmmm ok06:55
fabbionewhy do you need it shipit in a special way?06:55
jbaileyI want to take the logic of choosing the drivers to include out of the hands of the initramfs and have it assemble the initramfs from bundles that exist on the system.06:55
jbaileyThe eventual goal is that grub or whatever bootloader should be able to assemble them at runtime.06:56
jbaileySo there's no work to be done by mkinitramfs at all on each kernel install.06:56
=== fabbione scratches his head
jbaileyRemove the generation step completely.  That's a future.06:56
jbaileyHave you looked at the initramfs stuff at all?06:57
fabbionei am not sure i understand ....06:57
fabbionejust give me a sec... brb06:57
jbaileySure, or I can come back in 6 hours to talk then.  I should go to sleep. =)06:57
fabbionere06:57
fabbioneno i didn't look at initramfs at all yet06:58
fabbionei know you need modules.. that's crystal clear :)06:58
fabbionewhat i don't understand is why the kernel should select them for you06:58
fabbioneit sounds a lot like creating a udeb06:58
jbaileyWhich I also think the kernel package should do...06:58
jbaileyBut yes, along the same lines of it.06:59
fabbioneand how do you want me to ship what?06:59
jbaileyBasically gzip'd cpio files.07:00
jbaileyOf the modules that would be interesting for booting.07:00
fabbioneyes ok.. but what modules?07:00
jbaileyThat's the part that I have to work out with you. =)07:00
fabbioneah ok07:00
jbaileyI have some guesses. =)  I need more eyes on the problem to get it right.07:01
fabbioneok..07:01
fabbionebecause it sounds like a subset of udeb modules07:01
jbaileyIt might be, or it might be the same set, and there might be a sane way of merging the two ideas.07:01
jbaileyColin and I chatted a bit about the idea that udebs should just be cpio files in Sydney.07:02
jbaileyIf that were the case, they could be merged perfectly.07:02
=== fabbione smells good crack
jbaileyI don't expect we'll get it right for Breezy, but I'm hoping we can get it close. =)07:02
fabbionelet's plan a meeting between the 3 of us?07:03
jbaileyTomorrow (my tomorrow, later today for you..) I'll get a new initramfs-tools up that does all the IDE and SCSI detection correctly, in which case I think the setup should be good for anyone not using lvm or evms.07:03
fabbioneok07:04
jbaileyI don't have either of those running here, so I need someone else to help me test those setups before I inflict them on the world.07:04
fabbionei can create test boxes for that07:04
fabbionethat's easy for me07:04
jbaileyCool.07:04
fabbionegiven that probably the default install will be on lvm07:04
jbaileyReally?07:04
jbaileyWow.07:04
jbaileyMeans I should probably learn it. =)07:05
fabbioneit's simple really.. don't be so scared07:05
jbaileyI suspect a simple diagram of how physcial volume, to logical volumes, to device nodes all map together would solve it all for me.07:05
fabbionesure...07:06
jbaileyIt also doesn't help that the PPC installer pretends to support LVM but doesn't really.07:06
jbailey(Missing parted support before)07:06
jbaileySo the time I spent trying to learn LVM was on a setup that couldn't work.07:06
fabbionehda* -> each of them add becomes a pv07:06
fabbioneall pv are aggregated into one or more vg07:06
fabbioneyou create lvm volumes out of a vg space07:07
fabbionelvm volumes are like block devices07:07
fabbionepv is basically a tag that sais device hda1 is part of a vg (volume group)07:07
jbaileyAlways aggregated, or sometimes raidN?07:07
fabbioneyou can think of a volumegroup as an aggregation of pv07:07
fabbionealways.. you don't see them as devices07:08
fabbionea vg exports the overall space to lvm07:08
jbaileyOkay, so an md setup would be on top of the vg?07:08
fabbionethan you create the "real" device with lvm07:08
fabbionei use the other way around07:08
jbaileyor on top of the volume?07:08
fabbioneit makes more sense to have lvm on top of raid07:08
fabbionebut you can do both07:08
jbaileyCreepy. =)07:09
dilingeri thought you could only do it one way07:09
dilinger?07:09
jbaileyAutodetecting that in the initrd will really suck.07:09
fabbioneindeed07:09
fabbionenah07:09
dilingerlvm over raid07:09
fabbionelet's make an example:07:09
fabbioneyou have 2 partitions... sda1 and sdb207:09
jbaileyWell, I will have to recurse through detecting and assembliung until I eventually get something with a filesystem on it. =)07:09
fabbionejbailey: it's possible to detect it.07:10
fabbionewith a very simple C program07:10
jbaileyOh good. =)07:10
fabbionei can possibly write it for you07:10
jbaileyEven if you pseudocode if for me, I'd appreciate it.07:10
fabbionebut there are already tools to do that07:10
jbaileyThat would do too.07:10
fabbionejbailey: well basically both lvm and md use metadata on the disk07:10
jbaileyAlthough a simple C program might be better to keep the size of the stuff on the initramfs down.07:10
fabbioneso you just need to recurse a couple of times to undertsand the layoyt07:11
fabbionethe best way is always to try to detect md before lvm07:11
jbailey'k07:12
jbaileyWill you be around in 6 hours?07:12
jbaileyI'm starting to fade.07:12
fabbionei will be around till 13:00 UTC07:12
fabbionethan i need to go out for a couple of hours07:12
jbaileyLovely, so I'll have 3 or 4 hours with you.07:12
fabbionebut i can come back .. that's for sure07:12
jbaileyWell, this doesn't have to all happen today, but if I can get started on lvm support that would be lovely.07:13
fabbionei need to take my wife to the doctor..07:13
jbaileyI want to put out a wider call for testers.07:13
fabbioneso i really can't postpone it07:13
jbaileyjdub is now using initramfs-tools to boot his system. =)07:15
fabbioneehhehe07:16
jbaileyHe pointed out some ide booting issues, but after that, I'm guessing that most of the systems out there could sanely boot with the initramfs without touching their configs.07:18
fabbionejbailey: i need to get .12 final out.. but i plan to switch to initramfs asap07:19
jbaileyNo worries.07:20
jbaileyIt needs to be the default for .1307:20
jbaileyI have no intention of fixing initrd-tools to work without devfs.07:20
jbaileyI'm off to pass out.07:21
fabbionejbailey: i am going to kill devfs in .12 soon07:22
fabbionewe won't get .13 in breezy07:22
jbaileydilinger: I'll try to look at the cdbs testsuite email you sent tomorrow.  Failing that, I'll do it while at the summit.07:22
jbaileyThere's enough talks there that I truly just don't understand, I should have hack time. =)07:22
fabbionejbailey: let's talk about it later when you wake up :)07:22
fabbionegood night07:22
jbaileyg'n =)07:22
dilingerjbailey: i committed some small debug changes07:23
jbaileyaway "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."07:23
dilingerthat were attempts at a cleanup07:23
dilingerbut alas, bash stupidity kept me from committing the rest07:23
jbaileydilinger: Ugh.  Feel free to commit with stuff hardcoded to ${Andres-favourite-shell}07:24
jbaileyI'll mop it up after.07:24
jbaileyZzzz...07:25
dilingergood night07:26
=== ..[topic/#ubuntu-kernel:fabbione] : Ubuntu kernel development discussion ONLY | http://www.ubuntulinux.org/wiki/KernelTeam | There are no kernel bugs.. only broken hardware | http://people.u.c/~lamont/Archives/kernel-team@ubuntu.com--2005/ playground: kernel-debian--preX,1--2.6.12 | if baz merge doesn't work.. your code is ok.. use baz merge --star-merge .. deprecated algo that actually does the right thing
fabbione(new playground.. kill the abi number from the branch name)07:40
=== JaneW [~JaneW@nnwc-ip-nas-1-p286.telkom-ipnet.co.za] has joined #ubuntu-kernel
=== JaneW [~JaneW@nnwc-ip-nas-1-p286.telkom-ipnet.co.za] has left #ubuntu-kernel ["Leaving"]
=== chmj [~d3vic3@dumbledore.hbd.com] has joined #ubuntu-kernel
fabbionehey chmj 09:38
chmjhye 09:45
=== ds [~ds@dsl081-053-082.sfo1.dsl.speakeasy.net] has left #ubuntu-kernel ["Leaving"]
fabbionechmj: i have started swithing the external-driver to passed.kwatch09:47
fabbioneand cleaned up the overall09:47
fabbioneif you want to checkout the playground as in topic :)09:47
fabbioneit would be nice if you could finish the conversion from external-drivers to passed.kwatch09:48
chmjok 09:55
chmjhave just been fiddling with sf.net urls 09:55
chmjbecouse of the way they use mirrors 09:55
fabbionechmj: ok there is a way to access always the same as reference.. i just can't remember how09:56
chmjfabbione: is there? 10:00
fabbionechmj: ?10:00
fabbionechmj: is there what?10:01
chmjI mean, a way to access specific files 10:04
chmjwithout using the mirrors 10:05
fabbionechmj: you can just use always the same mirror10:05
fabbionethat should be safe enough10:05
chmjthats what i'm trying 10:06
=== crappledev [~gemini_bo@pcp08916442pcs.hcksrd01.tn.comcast.net] has joined #ubuntu-kernel
=== crappledev [~gemini_bo@pcp08916442pcs.hcksrd01.tn.comcast.net] has left #ubuntu-kernel []
=== Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-kernel
=== zul [~chuck@CPE0006258ec6c2-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
zulhey01:11
fabbionehey zul01:12
zulhow goes it?01:12
fabbioneit's going good01:12
=== karlheg [~karlheg@host-250-237.resnet.pdx.edu] has joined #ubuntu-kernel
fabbioneworking on .1201:12
zuli noticed01:13
fabbionei think this will be one of the fastest kernel release we will ever make :)01:13
fabbionethere is not a single patch that doesn't apply01:13
zuli did some work on lnsm this weekend01:13
fabbioneand guess what?01:13
zulnifty01:13
fabbioneNO ABI CHANGE!01:13
zulwohoo!01:13
fabbioneMUHA MUHA01:13
fabbionebut i am still updating the external drivers01:13
fabbioneso that might take more time01:13
zulheh01:13
zuli did some work on non-supported-modules this weekend...almost had it working01:14
fabbioneah neat01:14
dokofabbione: misdn update?01:18
fabbionedoko: there is no misdn in the kernel :)01:18
fabbionei will look at it after i get .12 final out of the door01:18
doko" but i am still updating the external drivers"01:19
dokofabbione: thanks01:19
fabbionedoko: misdn is not even there01:19
fabbionedoko: so it's not question of updating.. but adding ;)01:19
thomfabbione: make ipw2100 work ;-)01:19
zulits in restircticed-modules isnt it?01:19
fabbionethom: did you test what i asked you?01:19
fabbionezul: not all of it01:19
thomno, couldn't get it to build01:19
fabbioneuh?01:20
zulfabbione: http://zulinux.homelinux.net/lnsm-rules01:20
zulits just me testing kind of01:21
fabbioneok :)01:21
fabbioneyou scared me for a second :)01:22
zulany comments though01:22
fabbionei will need to look at it in details..01:22
fabbioneand test it..01:22
zulsure01:22
fabbionewhy don't you put in baz?01:22
zulits doesnt work yet though01:22
fabbioneso i can check the branch...01:22
zuli was going to get it to partially work today then put it in baz01:23
jbaileykarlheg: My x-chat is full anyway, freenode won't let me join more channels.01:32
jbaileyModule arguments, good.01:32
jbaileyIt's one of the things I hadn't thought through yet.01:32
karlhegIt's fairly easy to do.  Instead of a 'for x in ...' it does 'cat file | while read mod args'01:33
karlhegI'll send you the patch.01:33
karlheg(give me a few minutes)01:33
karlhegIt's not tested; I've not ever tried to run it, but it's pasted with small edits from a script I know is working.01:34
jbaileyCool.01:34
jbaileyDo you have any questions about the hook scripts?01:34
karlhegIn mkinitramfs, I'm thinking of .'ing in the 'functions' script, then calling 'run_scripts /etc/mkinitramfs/mkinitramfs-hooks' just before the call to cpio.  what do you think?01:35
karlhegI've added 'local-bottom' and 'nfs-bottom' directories to the 'dirs' file also.01:35
jbaileyIf you do that, you should do both /etc/mkinitramfs/mkinitramfs-hooks and /usr/share/initramfs-tools/hooks01:36
jbaileyPackagies needing to do things should probably drop things into /usr/share rather than /etc...01:36
=== jbailey thinks about this.
jbaileyI guess the package can decide if it's something the user ought to edit or not....01:37
jbaileyTHe trick to remember is that almost all decisions should be deferred until runtime.01:37
karlhegAh, right, so packages can drop in non-conffile ones.01:38
jbaileySo I'm reluctant to encourage people to write build-time hooks mostly because I'm moving towards the ability to have one initramfs do *everything* needed to boot.01:39
jbaileyI know it's not completely realistic. but I'd rather people think more in terms of "my module might be always included, and that's a good thing"01:39
jbaileyAnd then provide a way for that to be included or not and have those decisions deferred to boottime.01:40
Mithrandirjbailey: problem with "this does everything" solutions is that the space covered by "everything" is ever-growing.01:40
jbaileyMithrandir: Right, that's why I want to the bootloader to eventually be able to assembly the modules dynamically.01:40
jbaileySo then the decision to include or remove functionality is left as late as possible and allows for a potentially more recoverable system.01:40
Mithrandirjbailey: yeah, and as we discussed in .au, that should be an easy fix for grub.01:41
karlhegSoftware Suspend 2 needs the userui binaries installed in the initramfs, and also needs a hook to run before any file systems are mounted.01:41
Mithrandirjbailey: lilo is probably a lost cause, since it doesn't understand file systems.01:41
jbaileyRight.  So in this case what I'd like to see is suspend2 providing a .cpio.gz file that gets dropped into some useful location that mkinitramfs will (right now) just assemble into the initramfs.01:42
jbaileykarlheg: Are you aware of how the cpio unpack magic works in the kernel?01:42
karlhegSo the /etc/mkinitramfs/hooks/ is needed for that.  At hibernate time, it needs it in PATH, at resume, in the initramfs or initrd.01:42
karlhegI think it can unpack a series of cpio, each successive one potentially overwriting the one before it?01:43
jbaileyRight01:43
jbaileyAnd you can just cat the .cpio.gz files together to assemble them.01:43
karlhegThe hook script will copy the needed binary to the TMPDIR, I thought.01:43
jbaileySo I'd rather that the package just provide the cpio.gz file all bundled together already.01:44
jbaileyThen the decisions can be made at boot time.01:44
karlhegAh.01:44
karlheg? At boot time?  How does that work?  Wouldn't the decision about what cpio are in the initrd loaded by the bootloader be made at kernel-install time or at mkinitramfs time?01:45
Mithrandirkarlheg: if the boot loader did concatenate the cpio files, there wouldn't be a need for mkinitramfs.  It would happen when you booted.01:46
jbaileyRight now, in the legacy case, mkinitramfs has to cat the modules together.01:46
jbaileyBut I don't want any logic around it - I'd really like it to be "You have this package installed, so we include it"01:47
karlhegPatch is in the mail.01:50
karlhegI just don't like the idea of having to install both a cpio.gz and the binary itself, when all that's needed in the initramfs is the binary and a very short script.01:52
karlhegThat script would go in /etc/mkinitramfs/local-top or local-premount.01:52
jbaileykarlheg: We'll probably be doing it for a bunch of other things.01:52
karlhegusplash01:54
karlhegThe hook script approach allows custom logic behind what gets put into the initramfs.  The cpio.gz does not... the hooks are run via 'run_scripts', and are dependancy ordered.  How would you determine the order of catenation of cpio.gz, in case one is meant to shadow another?01:57
karlhegPerhaps that catenation should be managed by hook scripts, perhaps using a 'functions' API to simplify the client code?01:58
jbaileyThat would work.01:58
jbaileyI haven't thought that through beyond my dream that mkinitramfs eventually goes away.01:58
karlhegcatenate_cpiogz /path/to/my/cpio.gz01:59
karlheg... with the depends stuff above it, and maybe some custom logic too.01:59
karlheghow will that work?  The bootloader is already an OS...02:00
fabbionejbailey: i think waldi gave me the solution for the kernel problem on new glibc02:01
fabbionetesting now the linking crap02:01
jbaileyfabbione: Do tell?02:02
karlhegThe catenation can be done that way, via a function, and before the TMPDIR cpio is created.  The function will create a temporary cpio.gz, and after the main one is made, will catenate that onto the end.02:02
karlhegThen the hooks are there for either method, and don't have to be segregated into pre-cpio, post-cpio.02:02
karlheg?02:02
karlhegIf that is acceptable, I will implement it if you like.02:03
karlhegCoffee beckons...  I shall return \aprox 20 min.02:05
=== jbailey chews on the idea.
jbaileySometime you'll have to explain to me why you're up at 5 am. =)02:09
jbaileykarlheg: +++ scripts/functions 02:42
jbailey@@ -1,3 +1,5 @@02:42
jbailey+# -*- shell-script -*-02:42
jbaileyIs that emacs-fu?02:42
Mithrandirjbailey: yes02:42
jbailey'k02:43
Mithrandirit means shell-script-mode will be active for that file.02:43
jbaileyCool.  Been awhile since I used emacs. =)02:43
Mithrandirsimilary, you can have # -*- shell-script; coding: utf-8 -*- to force it to be treated as utf8.  vim has about the same thing, iirc.02:43
jbaileyI tend to disable all that crap for vim - it tends to guess things poorly for me.02:43
Mithrandirwhich is why you can set it explicitly in the file.02:44
jbailey*shrug* apathy.  But if it's useful for him, I'll include it in the patch.02:45
=== TheMuso [~luke@dsl-202-173-132-131.nsw.westnet.com.au] has joined #ubuntu-kernel
zulfabbione: ping02:58
fabbionezul: pong03:00
zuldid you put the .12 on your webpace?03:01
fabbionezul: only the orig03:01
zulok..03:01
zulcan you put up the rest? :)03:01
fabbionedone03:02
fabbioneusual rule apply.. get the baz archive after03:02
zulthanks03:02
karlhegI've got an Ubuntu linux-source-2.6.12 patched up with Software Suspend 2, 1Gb-lowmem, and madwifi.  It builds; I have not booted it.03:02
karlhegQ: Why one monolithic patch for Ubuntu linux-source, rather than split patches like the Debian kernel?  (and I wonder how they maintain that.)03:03
fabbioneA: read the sourse Luke.03:04
fabbioneall the patches are there ... one by one03:04
fabbioneyou want apt-get source linux-source-2.6.1203:04
fabbionenot apt-get install linux-source-2.6.1203:05
karlhegsure, but in one patch file, rather than split out.  I just wonder whether you find that eaier to maintain, or what?  I've little experience with that kind of work, at this point.03:05
fabbionekarlheg: the patches are all separated.03:05
fabbionekarlheg: you are mixing 3 different packages03:05
fabbionethe source03:05
fabbionethe install linux-source-2.6.1203:05
fabbioneand the linux-ubuntu-patch-2.6.1203:05
fabbioneyou want the source03:06
karlhegAh.  Let me try that.  Perhaps it would have been less work to do the patch-up I did yesterday to add Suspend2.03:06
fabbioneapt-get source linux-source-2.6.1203:06
zuluh...ok...suspend203:06
fabbionewe won't include it anyway03:06
karlhegWhat tools do you use to maintain a kernel source package with associated patches?03:06
zulvim mostly..:)03:07
karlhegI know; I think it should be the one used.03:07
fabbionekarlheg: apt-get build-dep linux-source-2.6.1203:07
karlhegI like it a lot better than the default.  Have you tried it?03:07
karlheg(recently, with userui?)03:07
karlhegOk...  I'm running 'apt-src install linux-source-2.6.12' right now.03:07
fabbioneno03:08
fabbioneapt-get source linux-source-2.6.1203:08
karlhegI like apt-src better.  Have you tried it?03:10
fabbioneno..03:12
fabbionei usually edit stuff directly in the .diff.gz03:12
fabbionei rarely need to get the unpacked source03:12
thomfabbione: why does 2.6.10-34.2 not have any of the abi stuff and why isn't it in arch? :P03:12
fabbionethom: it's in arch03:12
fabbioneand the abi is named with the previous version03:12
fabbionethom: you just baz mv that dir to the version03:13
zul*sigh* guinea pig is making a mess03:13
thomfabbione: 34.1 is in arch, i can't see 34.203:13
fabbionethom: just baz mv 34.1 to 24.203:13
fabbionemeh03:13
fabbione34.203:13
karlhegfabbione, wow, and with 'echo' and 'cat', right?  You would never use 'ed' or any of those other sissy tools.03:13
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
fabbionethe abi files for 34.2 are generated at build time. since there was no abi change, you can safely copy the old ones03:14
thomfabbione: dude. there's  kernel-debian--mainline-2,6,10-34,1--0/  ; no 34,203:14
fabbionekarlheg: sed is my friend03:14
thomthis is what i mean03:14
fabbioneops03:14
karlheg(reads fast, doesn't need 'more')03:14
fabbionethom: i think i might have forgot to tag it?03:14
thomtsk tsk03:14
fabbionethom: gimme a sec...03:15
fabbionethom: did you get the last mail from pitti?03:16
karlhegAnyone ever thought of trying to load a software speech synth in the initramfs or initrd... will that work with 'speakup'?  I wonder how feasable that is.03:17
jbaileykarlheg: Easy.  Add an audio module to the initramfs, and a binary to do the console to speech work.03:17
=== fabbione falls asleep on baz
jbaileykarlheg: I don't see that as any more annoying, really, than the fact that usb keyboards aren't built in.03:18
jbailey(And I suspect that frame buffers will eventually go into the initramfs too)03:18
thomfabbione: todays one? yes03:18
fabbionethom: ok03:18
zulinotify updated03:18
jbaileyzul: You just like pain, don't you?03:19
zuli live in ottawa dont i? :)03:19
jbaileyRight.03:19
jbaileyAre you coming to gcc summit?03:19
karlhegThere seems to be some relatively new code concerning support for usb-legacy mode?03:19
fabbionezul: slow down boy... i am working on updating drivers too03:19
jbaileyI've just finalised my ride up there tomorrow and back on Saturday.\03:19
karlhegDoes that give Linux usb-legacy via BIOS or something?03:19
zuljbailey: i wish..dont have the money03:19
fabbionezul: please keep working on the l-n-s :)03:19
zulmeh..03:19
zul:)03:20
jbaileykarlheg: Dunno.  I install the drivers, and I hope it works. =)03:20
fabbionezuk: i will merge the inotify but i need to do some other stuff before that03:20
karlhegI'd rather use HID of course...  I did not look at it long; still reading prereq to really comprehend it.03:20
fabbiones/zuk/zul03:20
zuluh someone changed external-drivers on me03:20
=== karlheg is a Junior CS student.
fabbionezul: no shit.. i told you i was updating everything03:20
fabbionezul: external-drivers is dieing03:20
fabbioneread the changelog03:21
zul:P03:21
fabbionewe are switching to passed.kwatch that will take a more decent named after we finish the conversion03:21
zulk cool03:21
fabbionei also have some changes pending here that i can't commit until concordia is up and running again. they need to be test-builded03:22
fabbioneso leave the drivers alone until i am back in 2 hours :)03:22
zulnoooooo..:)03:22
zuljbailey: but we will have to have lunch when you come up03:23
jbaileyCool. =)03:24
fabbionethom: almost done... baz is on slow crack today03:27
fabbionethom: kernel-team@ubuntu.com--2005/kernel-debian--pre34,3--2.6.10 <- all the abi/changelog/00list files work is done. you only need to add the patches, build, test and upload.03:29
fabbionei need to run03:29
fabbionebbl03:29
thomfabbione: ah, rock. thanks03:30
zulewww...thats a big lass http://www.thepowerteam.com/roster/jclark.htm03:51
=== doko [~doko___@dsl-084-059-069-224.arcor-ip.net] has joined #ubuntu-kernel
thomzul: i don't even want to know how you found that03:56
zulit was on tv03:56
karlhegWhere can I read brief wrt 'abi' ?03:57
karlhegMy guess is it has to do with glibc builds and sys_* ?03:58
=== jbailey blinks
jbaileyWha?03:58
jbaileykarlheg: Which abi are you refering to?03:58
zulkarlheg: uh not exactly..03:58
zul*sigh* stop upload gcc...its hurts :)04:00
jbaileythis sentence no verb.04:00
jbaileytry again?04:00
zulman...i need breakfast...bbl04:00
=== jbailey hands a couple uppers to chuck.
zulthat would do nicely04:00
karlheg:-)  I'm looking at the kernel source debian/abi and rules.04:00
karlheg'read' <-- verb.04:00
jbaileyzul: I think it's interesting that we tend on a legalisation side of downers: codeine, alcohol, marijuana.04:00
jbaileyzul: But the only upper we allow is caffeine.04:01
zuli havent had any caffine in like a week04:01
jbaileyNice!04:01
zulnot really..04:01
jbaileyI haven't had any in a decade and don't miss it now.04:01
jbaileyThe first two weeks were hell, though.04:01
zulits not by choice ;)04:02
zulmy wife is evil04:02
zuli dont think she loves me sometime ;)04:04
jbaileyMy wife passed by, read over my own shoulder and commented that it's probably for your own good.04:05
jbailey(She has a coffee in her hands)04:05
zul:P04:05
=== karlheg raises my cup to jbailey's wife.
jbaileykarlheg: So do you stay up all day too? =)04:07
karlhegSure.  Or else I won't sleep all night again.04:10
karlhegMy clock is off from weekend all-nighters.04:10
jbaileyAh.  I was thinking that perhaps you were an overnight sysadmin at the school.04:10
karlhegNo.  Just a wanna-bee programmer...  It's the beginning of summer break, and I've finally got enough free time to get after some things I had no time for during school term.04:11
karlhegI have more projects than I can finish over the summer...  and a pile of books I need to read.  I wanted a new kernel, to try latest Suspend2 and started working on that.  I learned about initramfs when I tried fbsplash, along with the fbsplash support in Suspend2 and it's fb userui.04:13
jbaileyRight, I understand.04:13
jbaileyI can't remember the last time I had fewer projects than spare time. =)04:13
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
karlhegI wonder how you folks go about creating and maintaining all of those dpatch files?  Do you work with multiple kernel source directories, or what?  Is there a writeup?04:14
karlhegI'll look in dpatch doc...04:14
=== dilinger feels the caffeine start to take effect
jbaileyg'm Andres. =)04:15
zulkarlheg: there is a README.NMU in the debian directory start there04:16
=== lamont [~lamont@15.238.5.145] has joined #ubuntu-kernel
karlhegCheck (done)04:18
zuland then look at an example dpatch04:18
dilingerjbailey: 'morning04:20
lamontmooorning04:21
jbaileyHeya LaMont!04:22
zulhey lamont 04:22
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
zulhmmm...reports of 2.6.12 haning on udev04:27
jbaileyEh?04:30
jbaileyudev is just an app, how would it hang?04:30
zulhttp://lkml.org/lkml/2005/6/18/1904:32
jbaileyDear user, learn to use strace, figure out what's hanging.  udev has no magic in it.  kthxbye.04:33
zulheh04:34
zulor http://lkml.org/lkml/2005/6/18/4104:34
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
=== Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-kernel
zulfabbione: the baz stuff is in my arch05:50
zuler...the non-supported modules stuff05:50
fabbionezul: ok05:52
fabbionejbailey: apparently 2.6.12 final needs a version of udev that's not even in sid.05:52
=== netjoined: irc.freenode.net -> orwell.freenode.net
=== dilinger [dilinger@mouth.voxel.net] has joined #ubuntu-kernel
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
fabbionezul: out of curiosity... before updating inotify.. did you actually check the there are already 3 versions more out?06:44
zulyeah...i got -1006:44
fabbioneand there is -13 out :)06:44
zulbugger06:44
fabbioneahhaha06:44
fabbioneok don't worry... keep working on the lnsm stuff06:45
fabbionei will take care of the drivers :)06:45
fabbione(also because i want to try to avoid to bump the abi this time ;))06:46
thomfabbione: can you quickly verify something for me; i don't think can-2005-1764 is applicable to hoary; changeset is here: http://tinyurl.com/aq3zr06:46
fabbionethom: checking06:47
zulfabbione: i have a lnsm-install-686 i was wondering how to create a deb out of it06:49
fabbionezul: hint: instead of doing the work in debian/build...06:49
fabbioneadd the linux-n-s-m in debian/control06:49
fabbionemeh right06:49
zulcp the files to the linux-n-s-m06:49
fabbionenevermind06:49
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
fabbionedpkg-deb is what you need but there is more that needs to be done there06:50
zulyou need to remove the drivers from linux-image as well though06:50
fabbioneexactly..06:51
zulbag06:51
fabbionethat's why i need to look at it in details06:51
zulbah..even06:51
fabbionethom: it looks to me that hoary is not affected.06:51
fabbionethom: apparetntly somebody did a mistake across the development06:51
fabbionethom: and reverted adding a - 4096 instead of the value of TASK_SIZE we have in hoary06:52
fabbioneprobably the one in git is more readable..06:52
thomyeah06:52
thomthanks for the confirm, i'm leaving well alone then :-)06:52
=== svenl [~luther@AStrasbourg-251-1-7-191.w82-126.abo.wanadoo.fr] has joined #ubuntu-kernel
fabbionethom: i think that's the same bug Herbert says it doesn't apply in warty06:53
thomfabbione: it is, yes06:53
fabbionethom: but i am pretty sure i did forward the mail to you06:53
fabbioneperfect06:53
=== fabbione ^5s thom
thomthanks dude06:55
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
zulmeh...another one today06:59
fabbioneinterview?07:06
zulyeah PHP developer07:07
dilingermy condolences07:07
zulthanks...they think my starting pay is high...well see...07:07
fabbioneDear PHP Developer, die. kthxbye07:08
zulhey!07:09
dilingerDear PHP Developer, please fork php and make it not suck.   Thank you.  Sincerely, Everyone Who's 07:09
dilingerEver Dealt With PHP07:09
fabbionehaha07:09
Mithrandirdilinger: a) kill it off b) kill all the developers who've ever touched it.07:18
dilingerMithrandir: c'mon, there are plenty of developers that touched it that didn't  mean to.  they were drunk.  or young and naive, and stupid.  or both.07:19
Mithrandirdilinger: ok, excuse those, but kill the rest.07:19
dilingergood plan07:20
Mithrandirdilinger: and I did (at first) intend to just kill those who've touched php's code, not php code.07:20
zuldilinger: *ahem* im none of the above07:25
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
=== dilinger [dilinger@mouth.voxel.net] has joined #ubuntu-kernel
=== calc [~ccheney@ip70-185-4-246.ma.dl.cox.net] has joined #ubuntu-kernel
karlhegzul, have you ever used or looked over HTML::Mason ?09:11
karlheg(OT)09:11
=== jbailey [~jbailey@CPE00501836c657-CM014260028338.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
karlhegjbailey, I've got only a little more to go on that, and I'll send you another patch.  Have you made changes today?09:50
karlhegIf not, I'll just send a replacement diff.09:50
karlheg... for your review and approval.09:51
jbaileyI have not, I just got back from a meeting that I've been at for the last 3.5 hours09:51
karlhegQuestion: When the run_init is called, the /dev filesystem is mounted in /, right?  And run_init nukes the ramfs /, then chroot chdir / into the new rootfs... but where is /dev now?09:52
jbailey/dev isn't mounted, it's just a directory.09:53
jbaileySince / is a tmpfs, there's no need for a seaparate /dev09:53
karlhegI'm confused about the semantics of the MS_MOVE mount, I guess.09:53
jbaileyMS_MOVE literally moves the mount of the /root filesystem on top of /09:53
karlhegSo the run_init will remove the /dev directory and contents?09:53
jbaileyRight.09:53
karlhegHow can it do that if anything has a device open?09:54
jbaileyThere's nothing left on the / filesystem at that point.09:54
jbaileyNothing is holding the inode in /deb open at that point.  It's all in-kernel09:54
jbaileySo the kernel doesn't care if I remove the deivce node, it's got everything it needs.09:54
karlhegBut there may be running processes that have devices open... ?  Hmmm... I supposed that something like usplash can simply close the fb before the run_init.09:55
jbaileyRight.  Haven't got as far as usplash yet.  It would probably have to do something like that, though.09:55
karlhegAh, the refcount goes down, it's still there, but invisible?  But won't it keep the file system busy?09:55
karlheg"standing on it"?09:55
jbaileyNope, the kernel doesn't go through the filesystem to talk to its own devices - that would be inefficient.09:55
karlheg"literally moves" means what?  cp -a ?09:56
karlhegI think I'll have to UTSL to "get" this one.09:56
jbaileyUmm, how to describe.09:57
jbaileyThe effect of the MS_MOVE is that the filesystem is now as if it were mounted on / instead.09:57
jbaileyApparently overmounting like this makes it so that kernel threads that do rely on the filesystem don't have to have crazy magic applied to them.09:58
karlhegUhh... so if anything has /dev/console open on it's stdin / stdout, the device inode has a refcount.  Even if you rm the device file, it's still "there", I think.09:58
jbaileyIt depends.  For userspace applications, yes.09:58
jbaileyIf something inside the kernel is using the device, it's no big dealk.09:59
karlhegOh!  That's what it is when I see that /dev/root stuff and there's two mounts shown for / in /proc/mounts?  So that /dev can just stay there until it's closed?  But what about freeing the ramfs... I guess when it's empty, it's free anyhow.09:59
jbaileySo for right now, no process is accessing those devices, so we can delete them and their refcount is zero.09:59
jbaileyRight.  The kernel will reduce the memory used for the ramfs with no penalty.09:59
jbaileyBut ideally nothing should keep a ref open to something in /dev.  The FB and /dev/console are the two things I can think of, and hopefully those can be released for long enough to fire up run-init, and start their stuff once udev is running on the other side of init.10:00
karlhegPerhaps /dev should be a mount point and move mounted into the real root under a different name, say, "/tmp/initramfs-dev",, and then a later-in-the-boot sequence script can clean it up when all procesess that had devices there open are done.10:00
jbaileyThat's a possibility that hasn't been necessary so far.10:01
karlhegAny new opens will happen in /dev, which is shadowed by udev's ramfs anyhow...10:01
karlhegPerhaps the 'refcount' I'm thinking of does not really happen with device inodes?  I'd better look at the kernel source and learn how that works.10:02
karlhegIf the move mount of /dev happened, it would anyway get shadowed by udev just as the hard-drive /dev does, I think.  Perhaps the devices open from inside initramfs /dev can be shadowed in a similar way...10:05
karlhegThey can remain open, but are no longer visible to 'ls'.  The leakage of resources is probably very minor, like a few pages of virtual memory at most, and the physical pages would get reclaimed soon enough anyhow?  or a struct for that ramfs that never can go away, or can it?  What happens to it when we MS_MOVE mount on top of it?10:07
=== dilinger [dilinger@mouth.voxel.net] has joined #ubuntu-kernel
=== dilinger [dilinger@mouth.voxel.net] has joined #ubuntu-kernel
=== Traxer [traxer@shell6.powershells.de] has joined #ubuntu-kernel
=== Traxer [traxer@shell6.powershells.de] has joined #ubuntu-kernel
=== Traxer [traxer@shell6.powershells.de] has joined #ubuntu-kernel
zulheylo10:52
zulwhoa...one of my patches made it into 2.6.1210:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!