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

=== lamont__ [~lamont@15.238.5.130] has joined #ubuntu-kernel
=== Seveaz [~seveas@seveas.demon.nl] has joined #ubuntu-kernel
=== TMM [~hp@c51471f2c.cable.wanadoo.nl] has joined #ubuntu-kernel
fabbionemorning06:13
fabbioneMithrandir: apt-cache search pistachio06:49
=== netjoined: irc.freenode.net -> orwell.freenode.net
=== dilinger [dilinger@mouth.voxel.net] has joined #ubuntu-kernel
Mithrandirfabbione: no hits, yes09:24
fabbioneMithrandir: it's in debian.. but a very old version09:32
=== JaneW [~JaneW@tpr-ip-nas-1-p278.telkom-ipnet.co.za] has joined #ubuntu-kernel
=== doko [~doko___@dsl-084-059-075-240.arcor-ip.net] has joined #ubuntu-kernel
=== JaneW [~JaneW@tpr-ip-nas-1-p278.telkom-ipnet.co.za] has left #ubuntu-kernel ["Leaving"]
=== netjoined: irc.freenode.net -> orwell.freenode.net
=== crimsun [~crimsun@crimsun.silver.supporter.pdpc] has joined #ubuntu-kernel
fabbionei just uploaded 1.212:14
fabbioneplease wait to commit around that i need to do the baz dance12:14
fabbioneand get some food before that :)12:14
zulhola01:40
fabbionehey zul01:41
zulhey fabbione how goes it01:41
fabbionethe main baz repo seems to be fucked01:41
zulhuh?01:41
fabbionewe are investigating the problem01:41
fabbionethere are some strange merge issues01:41
zuli didnt do it :)01:41
fabbioneand i can't tag 1.2 upload01:41
fabbionei know :)01:41
fabbioneit's a baz bug apparently01:41
zulbah...lets use cvs ;)01:42
fabbionei can take your word for it :)01:42
zullol01:42
=== ..[topic/#ubuntu-kernel:fabbione] : Ubuntu kernel development discussion | 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--pre1,3--2.6.11.94 | if baz merge doesn't work.. your code is ok.. use baz merge --star-merge .. deprecated algo that actually does the right thing
fabbionezul: i am almost done with the tagging :)02:00
zulok im trying to track down something02:00
fabbione1.3 is open :)02:24
fabbionehave fun02:25
fabbionei am off for a bit02:25
jbaileyHmm.  depmod will have to be done at boot time to deal with module assembly. =(02:41
jbaileyI know the kernel can cause modules to be loaded automatically.  Does it shell out to insmod or something, or does it rely on a hotplug event to get that right?02:43
jbaileyI'm thinking things like sd_mod02:44
zuli think it relies on hotplug02:44
zulbut im not 100% sure02:44
jbaileyCool.  Thanks, Chuck.02:44
zulnp02:46
fabbionejbailey: depmod can run at initramfs creation time, but it's always a good idea to run it at boot03:07
fabbioneand if can.. please stop using insmod and switch to modprobe03:07
jbaileyThis is simply for the modules that exist in the initramfs for hardware autodetection.03:07
jbaileyThe problem is that at build time I can't assume that I have all the modules that will eventually be present in there, so to get the modules.aliases file right, I need to run it on the bits in the initramfs03:08
jbaileyAlready stopped using insmod in my local tree.03:08
fabbionejbailey: ah ok.. i see03:09
jbaileyBooyah!  She boots!03:32
jbaileyThe only modules I have to hardcode now are md, raid1, and sd_mod03:32
fabbioneTotal 2075 package(s)03:33
fabbione^ sparc needs-build03:33
fabbione24 hours ago they were 220003:33
jbaileyHmm, I could drop md from that list, nice.03:34
=== doko [~doko___@dsl-084-059-081-250.arcor-ip.net] has joined #ubuntu-kernel
jbaileyIs there any way to tell which things in kernel/drivers/net are actually for hardware devices and which ones are just things for ppp/slip etc?04:07
fabbionenot automatically04:12
jbailey'k, thanks.04:13
fabbioneppp is hardware.. it gives you a device back04:13
fabbioneeven if it's "virtual"04:13
jbaileyYeah, I was hoping for a device tag or something.04:13
jbaileyNo biggy, they're pretty small, and I can always do a blacklist later.04:13
jbaileyOr hey, perhaps we can support NFSRoot over PPP04:13
jbailey*puke*04:13
fabbioneahahhaa04:14
=== lamont [~lamont@15.238.5.145] has joined #ubuntu-kernel
jbaileyLesse..  Reasonable root filesystems:  ext2, ext3, jfs, nfs, reiserfs, xfs.04:16
jbaileyWould anyone try over afs, hfs or ufs?04:16
zulreiserfs4..hah!04:16
jbaileyI don't see that in the Ubuntu kernel...04:17
fabbioneahaha04:18
dilingerjbailey: i'd like to get our root filesystems using afs, but i'm not sure if that's possible04:23
dilingergiven afs has a global namespace that always has to be /afs/<cell>04:23
dilingerit would require some ugliness involving symlinking, for example, /usr into /afs/<cell>/root/usr or somethihng04:24
dilingeror bind mounting04:24
dilingeror something04:24
jbaileydilinger: Mind if I ignore that case for now?  We can always add the drivers in later.04:25
=== dilinger nods
jbaileyThat sounds in the same class as root over NFSv4 =)04:25
dilingerdoes nfs4 employ some weird namespace?04:26
jbaileyIt uses strong auth like Kerberos as well. =)04:26
dilingerinteresting04:26
jbaileydilinger: Eh, you might know the question chuck answered earlier.04:27
jbaileyYou mentioned before that SCSI can autoload things like sd_mod when it loads the appropriate driver.04:27
lamont  CC [M]   drivers/net/fealnx.o04:28
lamontdrivers/net/fealnx.c:907:2: warning: #warning Processor architecture undefined!04:28
jbaileyDoes it shell out to insmod, or rely on a hotplug event?04:28
lamontfabbione: I think we can disable that driver for hpp04:28
lamonta04:28
fabbionelamont: go ahead :)04:29
lamontheh04:29
fabbionebaz commit -s'Fix FTBFS on sparc64'04:29
=== fabbione sighs
=== lamont wonders if the ubuntulog bot could watch and announce baz commits to the kernel-team repository
fabbionelamont: nope.. it knows nothing about baz04:31
fabbionewe can make another bot for it04:31
jbaileyWire it up to the commits bot?04:31
fabbionehmmm actually.. given that sparc32 is not supported.. i could make sparc64 the default and kill sparc04:31
lamontkernel-team@ubuntu.com--2005/kernel-debian--pre1,2--2.6.11.9404:32
jbaileyIt would probably be easy to write a module for CIA, and nice for baz projects to have it anyway.04:32
lamontthat's the right version, yes?04:32
fabbionejbailey: no. i don't like to mix too much04:32
fabbionelamont: nope..04:32
fabbionethat's been released today04:32
fabbione1,304:32
lamontyou uploaded -1.2, ok04:32
lamont-1.2 went to main?04:33
jbaileyfabbione: Why not?  There are enough people who look at the #commits channel, and it keeps stats and such.  Might just be interesting PR for Ubuntu.04:33
lamonts/went to/is headed for/04:33
dilingerjbailey: i don't think it calls out to insmod, i think it calls the internal stuff that does module loading04:34
fabbionejbailey: because i don't want another extra service to run on my own server.04:34
dilingerjbailey: map the driver into memory, call the init function, etc.  that's just a guess, though; i haven't looked at the module loading code04:34
fabbionejbailey: if somebody wants to set it up.. more than welcome :)04:34
jbaileydilinger: 'kay thanks.  I'll look and see what I can find.04:35
=== jbailey adds jbd to the initramfs so that ext3 can load.
fabbionebrb04:37
jbaileyUgh.  Now the network drivers are detected in the initramfs, which is correct, but hotplug on the boot system isn't triggered by the module loading, so the network doesn't get started. =(04:47
lamontjbailey: don't make us hurt you....04:58
jbaileyWhat if I beg?04:58
=== crimsun [~crimsun@216.239.132.100] has joined #ubuntu-kernel
zulhey...the live cds dont have a System.map do they?06:18
zulhuh...where is the kernel-image for powerpc 2.6.1207:45
fabbionethey should....08:07
zulnot on the iso08:08
fabbionestrange...08:08
zulchuck@homer:/media/cdrom$ find . -name "System.map" -print08:09
zulchuck@homer:/media/cdrom$08:09
fabbionewe should ask Kamion if they get removed to save space08:09
zuli was trying to track down that amd64 problem to see what is causing it to crash08:10
Micksaalright, hibernate works08:16
Micksathat was easy08:16
Micksaheh, even my ssh sessions stayed running 8)08:16
jbaileymdz: Around?08:36
mdzjbailey: yep08:43
jbaileymdz: I have all the hardware autodetection working right, but it has the side effect of not letting hotplug generate a colplug event (since the module is already loaded).  The end result is that ifup is never called.08:44
jbaileymdz: I think the fix is in hotplug.  I can upload what I have for now if you'd like to test it, though (or post .deb's or whatnot)08:45
jbaileymdz: s/is in/needs to go in/08:45
mdzjbailey: go ahead and upload08:45
mdzwe don't rely on a plug event to call ifup by default anyway, right?08:46
mdzwe just do ifup -a at boot08:46
jbaileyHmm, it didn't on my box.08:47
jbaileyI can look for that, though.08:47
mdzthat's certainly how it works here08:53
jbaileymdz: If you're testing it locally you still might have to add ide-general or sd_mod, but all the actual hardware drivers are autodetected.  The kernel is supposed to autoload those, but I'm guessing that I don't have something quite right.09:00
mdzjbailey: the kernel should load sd_mod when needed, but ide-generic has never worked that way (unfortunately)09:01
mdzjbailey: wasn't it you who implemented the workaround in the hotplug package for that?09:02
jbaileyI did, I haven't ported that to it yet.09:03
jbaileydilinger said that a recent rc version included the patch to ide to make it use the driver model.09:03
jbaileySo it might do the autoloading on its own.09:03
jbaileyIn any event, my test system for this is sata, and sd_mod isn't being autoloaded, so I'm trying to see what I need to make that happen as well.09:03
jbaileyThe rest of the hacks are nice known things, so I can just toss them in easily enough.09:03
=== jbailey gets confused.
jbaileyI didn't have auto eth0 in my interfaces file... =(09:07
jbaileymdz: btw, thanks for the fix to initramfs.09:11
mdzjbailey: no problem10:11
mdzjbailey: is busybox-cvs-initramfs waiting in queue/new or something?10:11
jbaileyFilename: pool/universe/b/busybox-cvs/busybox-cvs-initramfs_20040623-1ubuntu18_powerpc.deb10:12
mdzah, no, it's in universe10:12
jbaileyI thought dependancies were automatically taken care of?10:12
mdzwhere "taken care of" means "show up in the anastacia output the next day", yes10:13
jbaileyAh. =)10:13
mdzjbailey: which MODULES choice should I used to get the network drivers included?10:15
jbaileyIt does it unconditionally at the moment.  Did it miss yours?10:15
mdzs/used/use/10:15
mdzno, I didn't look10:16
mdzI had MODULES=list, so I assumed it wouldn't add them10:16
jbaileyThat will be a valid assumption soon. =)10:16
mdzjbailey: does it get af_packet as well (for dhcp)?10:16
jbaileyIt appears not.10:17
jbailey(I'm in my initramfs atm)10:17
mdzmy ethernet driver didn't get loaded10:18
jbaileyWhich driver?10:18
mdzoh, silly me; I installed busybox-cvs-initramfs and then forgot to go back and upgrade initramfs-tools10:19
jbailey=)10:19
mdzthat's more like it; taking much longer to build the initramfs now :-)10:19
jbaileyIf you want to take a look inside it, I have a script locally that I use that basically does mkdir /tmp/initramfs; (cd /tmp/initramfs && zcat /boot/initramfs <cpio -i)10:20
jbaileyI current save my initramfs as /boot/initramfs for testing.10:20
mdzjbailey: I get some error messages from invalid modprobe invocations, but it does work10:20
jbaileyYup, I haven't done noise reduction at all on this.10:21
jbaileyDid you have to add af_packet?10:21
mdzI didn't take it out of mkinitramfs/modules10:21
jbailey'k10:22
mdzI added it in the first place when ipconfig failed to work without it10:22
mdzso I assume it's still needed10:22
jbaileyYup, and it's definetly not getting pulled in atm.10:22
mdzit's probably a safe assumption that all nfs-root setups should have it10:22
=== ivoks [~ivoks@lns01-0039.dsl.iskon.hr] has joined #ubuntu-kernel
mdzjbailey: hmm, taking nfs out of modules fails too10:25
mdzI end up with an initramfs which has the nfs module in it, but not its dependencies10:25
mdzalso, the kernel-package hook doesn't seem to work10:25
mdzroot@mizar:/usr/bin/X11 # dpkg-reconfigure linux-image-2.6.12-1-38610:25
mdzCannot find /lib/modules//lib/modules/2.6.12-1-38610:25
mdzFailed to create initrd image.10:25
mdzlooks like mkinitramfs syntax differs slightly from mkinitrd10:26
jbaileyHmm.  I'm copying whole directory trees at this point into the initramfs.  I thought I had most of what we needed for nfs.  I'll add more in.10:26
mdzjbailey: why does it work via /etc/mkinitramfs/modules, but not via the nfs magic?10:29
mdzdo you resolve deps in one case and not the other10:29
mdz?10:29
jbaileyRight.10:30
jbaileyIn modules, I'm actually resolving dependancies.  In the other case, I'm using cp -a to get thigns from /lib/modules into the initramfs10:30
jbaileyI can add specific things to resolve dependancies on, but I don't want to wind up with a list of drivers that we copy in - that just means we have to maintain it.10:31
mdzyep10:32
mdzjbailey: is the kernel-package thing simple to fix?  it'd simplify my life10:33
jbaileyI'm rebooting into the working system to test it now.10:33
jbaileyI'll also add the dependancy check for nfs and af_packet10:33
mdzcool10:34
jbaileyAnd force those to modprobe in the nfs case.10:34
jbaileyAt that point will the modules file be empty on your nfs system?10:34
mdzaf_packet and nfs should both autoload fine, no?10:34
jbaileyThere's nothing in there to autoload them right now.  If you list them in modules, they get modprobed.10:35
jbaileyBut in nfs mode, they should be modprobed too10:35
mdzoh, kmod doesn't work?10:38
jbaileyDoesn't seem to, I haven't tracked that down.10:41
jbaileybut sd_mod isn't being autoloaded either.10:41
jbaileyI was asking dilinger about that earlier.10:41
jbaileymdz: Looks like 0.11 will make :33, it has your fixes.11:32
mdzjbailey: cool, thanks11:33
jbaileymdz: One of the things in the nfsroot spec currently is: Add ability to specify module loading from the kernel command line and additional module details (IRQ, IO Address, Port) to support older network cards.11:50
jbaileymdz the ltsp folks didn't think it was so necessary, since it's pretty rare to see non-pci devices (and our hardware detection won't find it atm anyway)11:50
jbaileyI will hack it so that if module information is specified it will get used, but do you otherwise see any problem with dropping that?11:51
jbaileyEither that, or I can also take a parameter for additional modules to load from the command line.11:51

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