/srv/irclogs.ubuntu.com/2006/07/12/#ubuntu-kernel.txt

=== kylem [n=kyle@206-248-151-76.dsl.ncf.ca] has joined #ubuntu-kernel
=== johanbr [n=j@jupiter.physics.ubc.ca] has joined #ubuntu-kernel
jbaileyBenC: MWAHAHAHAHAH12:50
jbaileyI mean.12:50
jbaileyIt's all good. =)12:50
chuck_who...xen-image-2.6.16-1-xen-686_2.6.16-1_i386.deb12:55
jbaileyNice!12:58
jbaileyNext I should make libc6-xen not suck.12:58
jbaileyHmm12:58
jbaileyMaybe later this week.12:59
jbaileyStill one more merge to do tomorrow.12:59
=== _human_blip_ [n=mike@220.157.65.29] has joined #ubuntu-kernel
=== nigel_c [n=nigel@nigel.suspend2.net] has joined #ubuntu-kernel
=== zul [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== johanbr [n=j@d154-20-189-105.bchsia.telus.net] has joined #ubuntu-kernel
=== zul_ [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== nigel_1 [n=nigel@nigel.suspend2.net] has joined #ubuntu-kernel
=== nigel_1 is now known as nigel_c
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-kernel
=== chris__ [n=chris@p54BE4619.dip0.t-ipconnect.de] has joined #ubuntu-kernel
=== chris__ [n=chris@p54BE4619.dip0.t-ipconnect.de] has left #ubuntu-kernel ["Ex-Chat"]
=== human_blip [n=mike@220.157.65.29] has joined #ubuntu-kernel
=== Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
=== doko [n=doko@dslb-088-073-107-122.pools.arcor-ip.net] has joined #ubuntu-kernel
=== lloydinho [n=andreas@rosinante.egmont-kol.dk] has joined #ubuntu-kernel
=== _human_blip_away [n=mike@220.157.65.29] has joined #ubuntu-kernel
=== mdz_ [n=mdz@studiocity-motorola-bsr1-70-36-194-85.vnnyca.adelphia.net] has joined #ubuntu-kernel
=== nigel_c [n=nigel@nigel.suspend2.net] has joined #ubuntu-kernel
=== Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel
=== zul [n=chuck@dsl-72-1-199.219.tel-ott.com] has joined #ubuntu-kernel
zulhey02:13
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
=== lloydinho [n=andreas@rosinante.egmont-kol.dk] has joined #ubuntu-kernel
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
zulhey BenC 05:06
BenChey05:21
BenCkernel-wedge is done, finishing up kernel-package05:21
zulcool...05:21
BenCinfinity, jbailey: ping05:46
zulwhoo...lunch time05:46
jbaileyBenC: pong, about to go for lunch05:46
BenCjbailey: nm, I'll ask adam about initramfs-tools05:49
Keybukask him which?05:49
BenCI want to sync it with debian along with kernel-{package,wedge}05:50
jbaileyBenC: I'm doing initramfs-tools05:50
jbaileyDon't sync it.05:50
jbaileyIt would break alot of things.05:50
BenCah, ok05:50
jbaileyLike, anyone who needs a framebuffer to work. =)05:51
BenCI'm really surprised that kernel-package isn't using update-initramfs now that it's in debian's initramfs-tools05:52
fabbionejbailey: while you are at it can you also look at the bug i did open today?05:52
BenCanyone know how debian is doing this...I recall they had a smimilar tool now05:52
=== lloydinho_ [n=andreas@rosinante.egmont-kol.dk] has joined #ubuntu-kernel
BenCKeybuk: kernel-wedge uploaded06:40
BenCkernel-package is almost done06:40
Keybukcool06:40
jbaileyBenC: Debian still supports yaird.07:03
zulyaird?07:05
Keybukyet-another-init-rd07:06
zulah ok07:06
jbaileyCreative naming and all. =)07:17
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
zulhehe..07:17
makxBenC: mkinitramfs-kpkg07:36
makxwrapper around mkinitramfs07:36
makxManoj wanted to stay on old style calling convention of initrd/initramfs generators07:36
makxyaird is dead water doesn't have decent uuid support07:37
BenCwhere's that script come from?07:37
jbaileymakx: Does yaird's author consider it dead yet?07:38
jbaileymakx: Are do we still have to crush it with proper dep support in initramfs-tools.07:38
makxjbailey mia since end of last year07:38
makxproper dep support is on my TODO list07:39
BenClet's see how badly I screwed up this kernel-package sync07:39
makxbut i'd prefer to have klibc only initramfs before07:39
makxthat is much higher priority07:39
makxBenC: yaird is a perl vodoo07:41
jbaileymakx: infinity said that he thought dep mode should be easy enough to do with the infrastructure in there.07:41
BenCmakx: No, I want to know where mkinitramfs-kpkg comes from :)07:41
jbaileyBut that klibc-only meant that you need to have some ability to detect when it's going to need more and then go all glibc/busybox.07:42
makxBenC: initramfs-tools07:42
jbaileyOh?07:42
jbaileyI haven't started the merge yet, is that something I need to bring into Ubuntu?07:42
makxjbailey: busybox needing boot scripts put an echo "BUSYBOX=y" in /usr/share/initramfs-tools/conf.d/<package>07:42
Keybukjbailey: which merge haven't you started yet ?07:43
jbaileyKeybuk: initramfs-tools. 07:43
Keybukjbailey: !!07:43
jbaileyKeybuk: I'm not doing any other merges.07:43
makxjbaley: depends on your kernel-package07:43
jbaileyKeybuk: What, there''s still 4 hours left in my workdayu.07:43
makxuups evident typo07:43
Keybukjbailey: hehe, you think you can do it in 4 hours? :p07:44
jbaileyKeybuk: I sponsor almost every upload to Debian.07:44
Keybukfair enough07:44
jbaileyKeybuk: That's why I still know the code as well as I do. =)07:44
Keybuka klibc-only initramfs always seems like a waste of effort07:44
Keybukyou have to compile everything twice, once for klibc and once for glibc07:44
makxnack07:45
Keybukand then you find something that doesn't work with klibc, and *boom* you may as well just go back to glibc again07:45
BenCif it was done right, it'd be awesome though07:45
Keybuksure, if we didn't need evms, lvm, etc. I'd love it07:45
makxyou get a much smaller initramfs07:45
jbaileyKeybuk: Given that klibc's on the running system, for anythign appropriate, you should just compile it once with klibc.07:45
Keybukjbailey: disagree,  you can't debug things compiled with klibc07:45
BenCyeah, having klibc+glibc in initramfs isn't so bad07:45
jbaileyKeybuk: I've used gdb on klibc binaries.07:46
KeybukBenC: except it somewhat defeats the point of compiling things additionally against klibc in the first place ... at that point you may as well just compile them against glibc07:46
makxKeybuk: more and more things will get klibc ready07:46
Keybukmakx: really?07:47
BenCklibc+glibc in corner cases isn't that bad, if we can make most installs klibs only07:47
Keybukgiven that the udev upstream has abandoned all attempts to make it work with klibc, I'd challenge that07:47
Keybuklikewise the modprobe upstream07:47
jbaileyIsn't modprobe and udev upstream the same person? ;)07:47
Keybuk            ^ new07:47
Keybukno, modprobe upstream is Jon Masters (now) and previously Rusty Russell07:47
fabbioneKeybuk: well because klibc was not entering linus tree07:47
fabbioneit is on its way now07:47
KeybukI'm all for a klibc-ONLY initramfs, don't get me wrong07:48
makxkpartx works already07:48
=== ivoks_ [n=ivoks@lns02-1513.dsl.iskon.hr] has joined #ubuntu-kernel
fabbioneKeybuk: oh i was just explaining what will push upstreams to work with klibc07:48
BenCeh, we should strive to get rid of glibc even on the running system and do klibc only :)07:49
=== Keybuk makes BenC stand in the corner
Keybukthat's almost Tollef levels of evilness07:49
jbaileyBenC: Spoken like a former glibc maintainer. =)07:49
fabbioneBenC: then we will see klibc growing up to libc707:49
BenCif you all continue to blame everything on the kernel, then I have no choice but to put everything in it :)07:49
fabbioneBenC: let's merge gcc and glibc into the kernel source07:50
fabbioneboot strap of death07:50
BenChehe, a bootstrap with real reboots :)07:50
jbaileyThey proposed merging a c compiler in at one point.07:50
Keybukcan we get X merged into the kernel too?07:51
fabbionejbailey: there is already a bootloader that can build the kernel at boot time07:51
Keybukjbailey: tcc?07:51
jbaileyKeybuk: I don't remember which one, but it was along the lines of "We don't trust the optimisers anyway, so why not just use our own compiler?"07:51
cjbKeybuk: X already *is* in the kernel, silly.07:51
BenCX is just a kernel extension anyway...why give it a life of it's own07:52
fabbioneBenC: yeah right.. why all this drm/dri sync issues.. let's just add mesa and server and drivers to the kernel07:53
BenChmm...new kernel package screws up my automated build scripts07:53
Keybukactually, if we stick everything in the kernel, it'll stop them being evil and thinking about putting partition detection into userspace07:53
Keybukor filesystems into userspace, etc.07:53
BenCor proposing perl/python/c++ kernel modules07:54
jbaileyKeybuk: Partition detection is *already* in userspace.07:54
jbaileyKeybuk: We just need to get the last dregs out of the kernel.07:54
KeybukI know, and I hate it07:55
BenClike the part that reads the partion map? :)07:55
jbaileyBenC: If you use evms, and (I think) LVM, all of that is redone by a userspace daemon anyway.07:55
BenCpartition map could be done in userspace now, I think07:55
Keybukthank god evms and lvm are gone from our default install07:56
jbaileyDid we pitch lvm?07:56
BenCusing stuff like loop devices to point to block offsets on a drive07:56
Keybukjbailey: yeah, it's something that shouldn't be in by default07:56
Keybukif people want it, it can be installed07:56
jbaileyKeybuk: lvm is Good And Right, dude. =)07:57
Keybukno, it, is, not07:57
jbaileyKeybuk: The problem with just doing things on raw partitions is that it's hard to do anythign useful later on.07:57
jbaileyYou can't just add a drive and span the partition, or add a drive and mirror.07:57
BenClvm doesn't scale well07:57
Keybukthe idea might be cute, but the implementation is from the dark ages07:58
BenCtry creating > 800 logical volumes, and then restart lvm (if you actually get them created)07:58
BenCyou'll see what I mean07:59
=== jbailey tries to imagine a system where 800 LVs would be a good idea.
BenCoffice fileserver07:59
BenCwhere each user has his own logical volume08:00
jbaileyTo overcome how badly the quota system sucks? =)08:00
BenCdoes away with silly quota stuff08:00
BenC:)08:00
BenCI actually used it in a commercial produce (www.swissdisk.com) so each customer has an encrypted filesystem08:01
BenCs/produce/product/08:01
jbaileyAh, I could see that.08:01
BenCI had to man handle the meta-data areas08:01
jbaileyAlthough if you're doing that, you really want to make sure that it doesn't pre-allocate all the space for each user.08:01
BenChack the hell out of the userspace tools, just to keep things limping along08:01
BenCthe main problem is that it takes 20 minutes to start lvm08:03
BenCrebooting the e4500 takes 10 minutes already...requiring 30 minutes for a reboot cycle minimum08:04
maswanYeah. I can see that sucking. Transparently migrating and extending filesystems does rock though. One of my favourite parts of AIX is the everything-on-lvm bit.08:04
BenCyeah, the whole idea of lvm kicks ass08:05
BenCbut I agree with Keybuk, the implementation sucks ass08:05
Keybukall you really want is the ability to tell the kernel to create a block device, based on other block devices08:05
Keybuke.g. "foo1" is "sda1 from block 512 to block 1000" and then "sda2 from block 0 to block 1024"08:05
Keybukand have the kernel map foo1 block requests to the underlying physical blocks08:06
Keybukthen you could set the block maps from udev08:06
Keybukand as foo1 would have a kobject in the block subsystem, udev would also know about virtual block devices08:06
BenCdpkg-gencontrol: error: package linux-headers-2.6.17-5-g3611c20c-dirty not in control info08:07
BenCkernel-package is really whacked out on this08:07
jbaileyBenC: Noone's really working on a better lvm, are they?08:07
BenC"they seem me rollin', they hatin', patrollin' and trying to catch me ridin dirty"08:07
BenCjbailey: not that I know of08:08
Keybukactually, it strikes me that the above would not be difficult to implement08:09
maswanI still remember the painful migration to lvm208:09
maswanIt would be good if someone got it right, really right. :)08:10
makxfedora does default lvm installs irc08:13
makxdidn't knew that the ubuntu default installs no longer do it08:14
cjbNah, not default, just easy to add.  There's an lvm button.08:14
makxwithout lvm2 even more args for klibc initramfs-tools: faster boot08:15
Keybukmakx: not much faster08:21
Keybukit's all in RAM anyway08:21
Keybukcjb: that's the same theory we're taking, if someone clicks "LVM" in the installer, we can always add it08:21
BenCKeybuk: kernel-package looks ok, but I want to do a full 6-arch build with it to make sure08:56
BenCprobably upload in a few hours08:56
=== kylem [n=kyle@206-248-151-76.dsl.ncf.ca] has joined #ubuntu-kernel
Keybukokey dokey09:09
mdzKeybuk: that's exactly what device-mapper does09:38
Keybukmdz: except that device mapper is its own subsystem, and doesn't just use the block subsystem09:39
Keybukand device-mapper isn't kobjectified09:40
Keybuketc.09:40
BenCanyone familiar with the debconf voodoo?09:50
BenCnew kernel-package image postrm script calls purge() and it seems to be causing the postrm script to fail for some unknown reason (even though it "exit 0"'s at the end)09:51
BenCif I comment out "my $ret = purge();", the script finishes and dpkg is happy09:52
BenCexcuse me, the script finishes no matter what, but with the purge() dpkg gets a non-zero exit09:52
cjbPerl implicitly returns the last scalar evaled as a ret value.09:53
cjbSo if the exit 0 isn't in the path, I'd say that purge() is failing and it's being passed on.09:53
cjbBut I don't know the code.  Just letting you know that there's an implicit 'return $ret' on the end if that's the last assignment in the sub.09:54
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
BenCso $ret is special?09:57
cjbNo, the last assignment of a sub is special.09:58
BenCmy $ret = purge();09:59
BenC....09:59
BenCexit 0;09:59
cjbAh.09:59
BenCthe .... is mainly a var and a for loop09:59
cjbDunno, then.09:59
cjbYou're sure it's hitting exit 0, rather than an exit 1 inside purge() or something?10:00
BenCyeah10:00
BenCI placed warn's all the way down to just before the exit10:00
zullater10:04
=== johanbr [n=j@jupiter.physics.ubc.ca] has joined #ubuntu-kernel
jbaileyUh oh, someone from BC..10:49
Keybukjbailey: yeah, I've sent the boys around to find out what's happened to initramfs-tools :p10:55
jbaileyKeybuk: Hmm?10:57
jbaileyOh, lol =)10:58
Keybukya know what, I'm going to entirely abandon our n-m packages10:58
Keybukand just fix the Debian ones10:58
=== nigel_c [n=nigel@nigel.suspend2.net] has joined #ubuntu-kernel
crimsunthat sounds entirely reasonable.11:40
jbaileyKeybuk: You could rejoin Debian and hijack the package ;)12:01
Keybukthat would involve touching n-m :)12:03
=== mdz_ [n=mdz@studiocity-motorola-bsr1-70-36-194-85.vnnyca.adelphia.net] has joined #ubuntu-kernel
johanbrjbailey: Yes, watch out for us coffee-drinking hippies.12:08

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