/srv/irclogs.ubuntu.com/2009/06/22/#ubuntu-kernel.txt

zeroproghey guys....im having a problem...i read the first 4 chapters of allesandro rubini driver book and still have no clue how to use what ive learned  or how to apply it to my device...is there a simple source in the kernel that i may be able to decipher02:31
=== cjwatson_ is now known as cjwatson
samir_hello there, i just wanna downgrade my kernel to 2.6.26*06:26
samir_so i just have to install linux-image-2.6.26* ??06:26
anubhavsamir_: that should work06:31
samir_anubhav : plus, that will install 2.6.26 modules for me? that's what i'm interested in06:37
anubhavsamir_: yes 06:40
anubhavsamir_: but i am not sure if .26 is present in the ubuntu repository06:41
samir_anubhav maybe in packages.ubuntu.com06:43
apwNCommander, am looking at the ports issue11:03
apwbah all the configs are in the toilet11:13
apwTheMuso, you about?11:13
StevenKapw: Given the time, TheMuso is probably dinner-ing11:39
apwyeah, i have a handle on the mess now thankfully11:40
StevenKapw: This will be another .30?11:42
StevenKapw: You should also be aware that i386 failed to upload (there's a new state for you) due to version number fun11:42
apwis that the linux-doc breakage?11:43
StevenKYup11:43
apwyeah can't fix that until rtg gets in as he has the tree, but we are aware11:54
apwrtg the GEM/PAE changes we were testing seem good, and indeed airlied has merged them already.  in theory that makes 2.6.31-rc1 capable of KMS on PAE too14:13
rtgapw: I have a test system. where have you stashed test kernels? your PPA?14:14
apwyeah in a ppa .... https://edge.launchpad.net/~apw/+archive/red14:15
apw(gah edge is slow today)14:15
apwrtg i note that the effect of pulling all the ports kernels back into our kernel has slipped the 386 kernel over to non-ports status14:48
rtgmdz: if I respun linux-meta and uploaded linux-meta_2.6.30.9.9 (with your linux-doc patch), then the existing linux-doc package would eventually get reaped, right? That should clear up any conflicts in case there is another 2.6.30 kernel upload (which I think we should do)15:19
mdzrtg: did you see my message to kernel-team@ from yesterday?  that's #2 out of the 3 options I suggested for how to fix it.  the trouble is that the old linux-doc package wouldn't get reaped right away, and might require manual Launchpad hackery, so Colin was (understandably) not thrilled with that idea15:21
rtgmdz: why would it need manual intervention?15:23
mdzrtg: when a source package stops building a binary package, Launchpad doesn't just delete the old one.  it hangs around for a grace period15:23
mdz"didn't get built" has different semantics from "was explicitly removed"15:24
mdzrtg: this is because it's hard for LP to tell the difference15:24
mdz"maybe this source package doesn't built that binary package anymore, or maybe it just hasn't built yet"15:24
mdzs/built/build/15:24
rtgmdz: what is the grace period? a couple days?15:25
mdzrtg: I think it's on the order of days, but I can't say for sure. cprov or bigjools or somebody could tell for sure15:25
sorenReally? They get automatically deleted eventually?15:25
sorenI thought they always had to be explicitly removed by an archive admin.15:26
rtgmdz: how about if I just restore the kernel package naming convention for linux-doc for now, then deal with the new linux-doc package name when we update to 2.6.31 next week?  In the meantime, I'll respin linux-meta and let the reaper do its thing.15:30
mdzrtg: fine with me15:31
mdzrtg: I just followed up to the list with a suggestion for the upload order15:32
rtgmdz: cool, I'd really like to get the new i386 pae flavour propagated.15:32
* Keybuk is having strange behaviour today15:41
Keybuknc -q0 ip port | dd of=/dev/sda bs=1M15:41
Keybukjust hangs eventually15:42
mdzKeybuk: on the network side or the sda side?15:42
Keybuksda side15:42
Keybukseems to be hung deep inside the io scheduler15:51
rtgapw: care to review ubuntu-karmic-meta.git for me before I upload it?15:54
* apw looks15:55
apwrtg, i see 9.9 at the tip?15:56
rtgapw: yes15:56
Keybukwow15:57
Keybukit really looks like it screwed the scheduler15:57
apwso this is just the meta change for mdz's change15:58
rtgapw: correct. next week you'll have to bumop the ABI when you do 2.6.3115:59
rtgapw: now, back to your comment about 386 becoming a non-ports package. Isn't that a function of the archive admin overrides?16:02
apwso the plan is to drop it from meta, but not add it to the kernel yet16:02
rtgcorrect16:02
apwthen when its cleared the archive, add it back into the kernel?  with the next abi update16:02
rtgcorrect16:02
apwsounds reasonable, and appears ok to me16:03
apwas for the ports comment i was more referring to the fact it ends up being updated16:03
apwconfig wise with the other x86 flavours16:03
rtgoh16:03
apwas the ports split we end up with is basically by architecture16:04
apwwe'd need to do a bit more work to make the different16:04
apwthought perhaps thats not a negative thing overall16:04
apwas there is probabally some benefit to us at least updating the configs for distro and ports at the saem time16:05
apwalways taking defaults for ports, and reporting them to the ports maintainers16:05
apwelse they will always fail to build16:05
apwwith a dirty config, if we don't16:05
rtgafter looking at your 'family' [atch, its not clear that 386 would build at all. there is no '386' flavour.16:06
apwhmmm ... so have i lost it or did the ports fixes lose it?16:07
rtgapw: methinks the ports fixes lost it, [PATCH 1/2] UBUNTU: split out the ports configs into their own family16:08
apwhmm but the family changes are just at the top level16:10
apwby which i mean the arch level16:10
apwthere is no config.flavour.386 at all in this origina commit:16:12
apw    UBUNTU: [Config] ports - Add configuration files for ports architectures16:12
apwso i think we never brought it over16:12
rtgapw: that is the conclusion I was just coming to as well.16:13
apwwant me to sort that out?16:13
apwi suspect it just got forgotten16:14
apwinserting a new complete config into the split configs is an interesting game, which i just did for the ports ones16:14
rtgapw: yeah, go ahead and sort it out. I've just pushed one more commit (reverting the linux-doc patch)16:15
rtgapw: can you make 386 it's own arch?16:18
apwit does appear the kernel arches are not the same as build arches right?16:18
rtgapw: hmm, I think 386 gets built on an i386 chroot16:19
apwwill have a play16:19
apwrtg what we care about is keeping 386 merging with ports configs 16:26
apwotherwise its fine?16:26
rtgapw: I dunno if its fine, but yeah, 386 should be part of the ports family of configs.16:28
mvohello! I noticed that there is a linux-image-debug-`uname -r` package on ddebs.ubuntu.com - but it appears to be not part of the Packages.gz file - is that intentional (the deb is pretty big)16:30
rtgmvo: I believe so. It keeps the mirrors from picking it up.16:31
mvook, thanks 16:32
rtgapw: the original patch set from Luke simply didn't contain a 386 config16:32
apwyeah or indeed anything about 386 at all16:32
rtgapw: ok, I'd say just drop him a note about it and lets move on with other work16:33
apwcan do that, i feel the 386 ports port is the one that is worth a tiny bit of our attention just cause its an x86.  but you are likely sensible there16:34
apwi t16:36
apwrtg ok one question, if its a flavour of x86 and it gets built on i386, i suspect that will make it part of the common i386 build and therefore that one can have greater dammage to our build process than the other builds16:37
rtgapw: it could, but I'm gonna let Luke figure it out16:37
apwok16:37
apwrtg ok, i've emailed him and copied u-k-t16:43
rtgapw: so, to test the KMS/PAE combination with your test kernels, I want https://edge.launchpad.net/~apw/+archive/red/+files/linux-image-2.6.30-9-server_2.6.30-9.10kms9_i386.deb, right?16:49
apwrtg yeah thats the one that should exhibit it16:49
apwi've personally tested some of the other combinations, which still work at least but would never have been affected16:50
rtgapw: I take it these are upstream cherry-picks?16:51
apwrtg, the patches on that kernel, one was direct from lkml from airlied and the other was mine.  since the equivalent of both has merged into what will be .31-rc116:56
apwi think dave got sick of them and just merged them16:56
rtgapw: well, can we easily cherry-pick from Linus tree, or should we just ignore the PAE problem until 2.6.31 ?16:57
apwthe only urgency is if we are pushing people to -pae at all during upgrades, if not then there is none16:58
apwi saw the whole testing of gem and pae and these two patches as a response to the 'blocker' if we were pushing people to -pae by default.  i cannot recall the outcome, or indeed if there was an outcome without this infrmation16:59
rtgapw: fresh installs will have the problem if > 4GB RAM. Otherwise, upgrades ought to be OK.16:59
apwso i think ... they can sensibly fall into the 'will wait for upstream to have them' bucket to my eye16:59
rtgapw: works for me. I'm gonna package and upload then.17:00
apwok17:00
apwthat should get us at least an upload with the new flavours me thinks17:03
rtgthats my goal17:03
Keybukrtg: can I ask a question?17:08
rtgKeybuk: always17:09
rtgwhether I can answer...17:09
Keybukrtg: I have an image file17:09
Keybukand I'm trying to write it to the disk17:09
Keybukbut every time, the kernel hangs inside the I/O scheduler17:09
Keybukis there a simple way to change that so I can use a different I/O scheduler17:09
Keybuk(and worry about filing the bug later :p)17:09
rtgKeybuk: yeah, there is a way to change the I/O scheduler dynamically. just need to remember how.17:10
Keybukrtg: what's a good "just do it" I/O scheduler?17:10
rtgdeadline?17:10
rtgKeybuk: find /sys|grep sched17:13
rtgcat /sys/devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sda/queue/scheduler17:13
rtgThis is a server install, so the default is deadline.17:13
Keybukok17:13
Keybukgreat17:13
* Keybuk tries that17:13
rtgKeybuk: try noop also, which is the simplest17:14
rtgIIRC17:14
noptysanyone familiar with recent changes to the e1000 driver?  It seems that in gutsy (2.6.22-14-generic), the 82573 wouldn't support jumbo frames, but with jaunty (2.6.28-11-generic), it lets you enable jumbo frames, but gets swapper allocation failures under network load17:19
rtgnoptys: perhaps you should email Jesse Brandenburg about that17:22
noptyscan do17:22
Keybukrtg: the deadline scheduler worked17:29
rtgKeybuk: is Ingo the I/O scheduler dude?17:29
rtgKeybuk: maybe Jens Axboe <axboe@kernel.dk> (block/cfq-iosched.c)17:32
apwingo is cpu scheduler to my mind17:32
rtgapw: Jens did the CFQ scheduler17:33
apwrtg he is also the maintainer of BLOCK in general, so a good starting point17:34
wjblackHello!20:27
wjblackSo I recently backported the 2.6.30 version of the r8169 driver to 2.6.28 and am wondering how to go about packaging it for e.g. a PPA.  The actual "how to put it in a package" details aside, I want to make sure I don't step on anyone's toes.  Should I just call it "r8169-backport-driver-2.6.28....*" or similar?20:29
wjblackAm I going about this the wrong way entirely?20:30
rtgwjblack: is it a DKMS based package?20:31
wjblackNope.  Modified vanilla kernel.org.20:31
wjblackLiterally, it's a patch to the 2.6.30 r8169.c that allows it to compile/run on 2.6.2820:32
wjblack(the 2.6.30 version has a slightly different api but a fix for a rather nasty MSI bug)20:32
rtgwjblack: the best way to package it so that you don't have to deal with ABI dependencies is to use DKMS20:33
wjblackHmm.  Okie-dokie.  Is there an Ubuntuish way to do that, or do I do generic dkms stuff?20:34
wjblack(never used DKMS before, obviously ;-) )20:34
rtgwjblack: there is a bit of a learning curve, but its not too bad once you grok things. here are some good example driver packages, e.g., bcmwl.20:35
rtgs/here/there/20:35
wjblackAah, so the bcmwl package that's available via apt-get somewhere uses dkms?  Excellent.20:35
* wjblack learns best by example ;-)20:35
rtgwjblack: yes, the maintainer is Alberto Milone (tseliot)20:36
rtgwjblack: in Karmic its called bcmwl-kernel-source20:36
wjblackI'm thinking this particular backport will have an effective lifespan of, er, rather short since >=2.6.30 should be in the main distro at some point...20:37
wjblackRight on.  I'll give it a looksee.  Thanks!20:37
rtgwjblack: 2.6.30 is in the Karmic archive right now, 2.6.31-rc1 soonish20:37
wjblackHmm.  Still might be nice to have a PPA for Jaunty.  I'll check out this rabbit hole and see if I can handle its depth. ;-)20:39
bullgard4Update Manager differentiates 'distriution updates' and 'security updates'. What is the difference? Does every single DE program package have a flag for that?21:29
bullgard4s/DE/DEB/21:30
_rubennot every bugfix relates to security issues21:30
bullgard4_ruben: Yes. --  So it depends solely on the maintainer's judgement?21:32
zeroproghey guys im a little confused as to what a module can do other than a device driver(which i cant figure out either)...could somebody explain to me some of the more useful modules21:39
johanbra module can do pretty much anything21:43
johanbrthink of it as a plugin for the kernel21:43
zeroprogjohanbr: i get that but....i dunno im having trouble understanding what modules do what....like i want to look at specific device drivers(webcam, audio, anything i can find) but i dont know which source does what 21:50
zeroprogin the module programming guide they said we can write a module that says "Hey that tickles" everytime i delete something....but how would i do that you know what i mean?21:50
johanbrlook at the kernel source for sth simple21:51
zeroprogok21:51
zeroprogdo you know where thats located?21:53
dtchenzeroprog: www.kernel.org, git.kernel.org, kernelnewbies.org, kernel.ubuntu.com/git23:29
dtchenzeroprog: see also #kernelnewbies on irc.oftc.net23:29

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