[01:10] is it possible to git pull a fix from kernel.org before it's put into linus' tree? [01:10] there are some fixes here > http://git.kernel.org/?p=linux/kernel/git/mchehab/linux-next.git;a=summary [01:11] that should fix my webcam, but i don't when they will be put into linus' source === speck is now known as nuspeck [01:32] billybigrigger: yes. you can cherry pick commits from another tree and merge them into your own [01:41] so if i have linus' source in ~/linux-2.6 [01:41] cd ~/linux-2.6 [01:41] git pull git://git.kernel.org/?p=linux/kernel/git/mchehab/linux-next.git [01:41] ? [03:24] whats a good book for device driver programming? [03:24] http://lwn.net/Kernel/LDD3/ is decent and free [03:25] thank you I'll take a loot at it. === MobileMyles6o7 is now known as TwoToneSpirit [04:46] hi all... Does Ubuntu actually use group scheduling? It enables Group CPU Scheduler and Control Group support, but I don't see it mounts cgroup fs and use it... [09:32] apw: so what is genconfig used for? [09:33] for debugging the config [09:33] you run that and it gives you a CONFIG/* with the compile level configs [09:33] lets you check things are as you expect [09:34] so it give you the merged config? [09:34] it gives you a clean config for each arch/flavour which you can use to build [09:35] and to confirm options end up set as desired [09:35] every time i changed anything in the config i wanted to be able to confirm i'd done it right [09:35] aah, so you can copy it to you .config, analyse it in menuconfig, etc... [09:35] and so i had a patch to do 'genpatch' and figured it was generally useful [09:35] right exactly that [09:36] do 'grep ADFS_FS' and check its on in all of them as expected [09:37] ok, just wonder how it was different from calling the 'prepare' target [09:37] *wondered [09:37] it makes _all_ of them instead of just one [09:37] yeah, now I understand [09:38] its most handy when one is changing the config system again :) [09:43] apw: I'm ready to do one last test and _then_ create the configs for imx51 on karmic. Are the configs going to be relatively stable today. That last config patch almost always fails to apply when the git tree changes. [09:44] the configs just changed, as i just rebased the tree to -rc4 [09:45] *groan* [09:45] its not yet pushed ... just testing it [09:45] we rebase weekly your life is never going to be easy [09:45] is this going into the master branch or onto its own [09:46] into its own branch for now [09:46] with that new config fix the configs are easier to inject [09:46] then the config is always going to conflict ... [09:46] as you are going to be a rebase tree ongoing till you arn't a branch [09:46] true [09:46] you could just keep the entire configs as a file [09:47] and put it as the flavour config [09:47] and not run updateconfigs [09:47] or ... keep it separate somewhere else in the tree [09:47] that's an idea! [09:47] and cp it to the flavour and run updateconfigs after each rebase [09:47] which will collapse it in [09:48] (now i've fixed the config update :)) [09:48] OTOH, since imx51 kernels are needed by -mobile to create images, are we prepared to have a different package namespace for this for karmic? [09:49] separate branch would mean separate source package [09:49] we need to have a conversation about this, if it can wait, then at sprint would be appropriate [09:49] we need a strategy on how we handle these branches [09:49] it needs to get in before A4 [09:49] and sooner the better so that -mobile team works out all the kinks in image building [09:50] so this new branch makes a new amx51 flavour yes? [09:51] it adds the patches for the new mx51 flavour yes. We already have a mx51 flavour in karmic, but it is borked and defaults to some mx3 config [09:51] imx even [09:51] basically karmic has the infrastructure for imx51 flavour but no code :) [09:52] yeah so if this is a branch, then we have no machinary to get that built in the main build [09:52] so either we need some of that, or we need to make it a different source package [09:52] and strip imx51 from the main tree [09:53] its custom-binary basically [09:53] IMHO, we should just merge this into the karmic tree after reviewing that all the fencing is in place to separate Freescale code from upstream code. [09:54] thats a simpler approach i am sure [10:40] hi apw , you saw rc4? [10:40] yes [10:40] tell me when you are done [10:40] archive is frozen for alpha-3 [10:40] so there won't be an upload for a bit [10:41] i dont need uploads, i need only git [10:41] kdb.c has a conflict [10:41] and there are some modules more [10:41] a conflict with what? [10:43] i guess with one of your sauce patches [10:43] there is no kdb.c [10:43] well maybe not that name, but similar, was on the other pc ;) [10:44] ah atkbd.c perhaps [10:45] something like that yes [10:46] its in progress ... will go up once its tested ok [10:46] rc3-git5 had still several bad issues for me [10:46] like kdesu not working [10:47] virtualbox module working in 50% of all cases [10:47] can't say i generally test on kubuntu [10:47] i can test kubuntu, maybe kdesu can be tested when a root account is enabled... [10:48] just need to reset the sudo override [10:54] in what way is it not working? [10:54] well here i get connection to su refused [10:55] only with that kernel, when i boot 2.6.30, no problem [10:57] Hrm. Has the virtual box KMS module not been built successfully with 2.6.31 then? [11:06] hmm for some reason, grub refuses to load the 2.6.28-14 kernel [11:06] -generic. [11:10] cking: for vbox it is no problem building the module [11:10] cking: you have to restart the service till you dont get a dmesg error, when i do that 100 times about 50 fails [11:11] Lemme look into that later today and see what's up [11:12] Kano, what dmesg error do you get? [11:12] it has something to do with the watchdog [11:13] I suggest filing a bug, putting all the dmesg details in and then we can see exactly what's up [11:18] hmm when i try to write a custom .kde/share/config/kdesurc in the home it does not seem to work [11:18] with super-user-command=su [11:20] ok, it works,but you have to disable the admin line with visudo [11:23] try booting with nmi_watchdog=0 [11:23] yes thats the error, but that option does not help [11:24] you just try a few times then it works [11:24] i just dont get why kdesu is not in the path on kubuntu... [11:25] apw: but the error you can verify [11:25] apw: the passwd is not accepted [11:25] wait, what does kdesu have to do with vboxdrv? [11:26] there is no connection error as with kde 3.5,but the correct pass fails [11:26] ? [11:26] you haven't answered my question. [11:26] hyperair: both errors are because of .31 [11:27] ...ha? [11:27] i don't see how .31 can affect kdesu [11:27] but then again i don't use kde, i use gnome. [11:27] and i don't use gksu very often either. i usually use sudo because i'm in the temrinal most of the time [11:27] well ubuntu does not use su by default at all [11:28] so no vaild comparison [11:28] you play with sudo all the time [11:28] right. [11:28] and what's the problem with kdesu now? [11:29] the connection fails [11:29] what connection? [11:29] on kde 3.5, not fully sure if kdesu is reading the super-user-command override [11:29] hyperair: thats the error message [11:29] ._. [11:29] what a pile of fail. [11:30] it is harder to verify that error with u [11:30] imo you should go and poke the kde people about this. [13:15] apw, did you pick up Ike;s bnx2x firmware patch for Karmic? [13:15] has that been resubmitted? [13:16] * apw checks [13:16] apw, I don't think he needed to. It was correct in its original form. [13:18] ahh i saw cjwat sons responce and hand't seen ikes responce. will double check his stuff and pull it in [13:19] yeah ike appears to be correct, subtle having xxx and libxxx in the kernel [13:19] * apw sucks [13:23] rtg_, this is mind mangling.. had a discussion this am how the installer does not use udebs and yet we are updating udebs for the installer ... [13:24] i guess this could be the alternate cd images ? hrm [13:24] apw, Ubiquity doesn't use udebs, but the alternate installer does. [13:24] * apw watches the light bulb go on ... makes sense [13:24] so if we could ubuquity on the alternate cds all of kernel wedge could go away [13:25] apw, ain't gonna happen. [13:25] apw, udebs are also used on the server install IIRC [13:25] i assume that is actually just an alternate installer [13:26] apw, yep [13:26] same framework with some behavioral differences [13:39] rtg_, Would you agree with a modified version of your e1000e-next patch that adds the new module to the nic udeb [13:39] smb_tp, sounds right, especially if you want net booting to work [13:40] or net install, rather [13:40] rtg_, Yeah, thought so. Ok, then I guess it is ready to push now [13:44] apw, how about pushing your -rc4 stuff. I'm working on an rfkill bug, and I want to be able to complain on the wireless list about it using current kernel bits. [13:45] note that rfkill is not in wireless-testing [13:46] rtg_, will do ... will poke you when its done [13:56] rtg, karmic updated [13:58] apw: can I rebase on top of this? [14:00] amitk, you ought to be able to. we won't rebase again until the next rc [14:03] rtg_: do you plan on make a separate source package for imx51 karmic? [14:03] *making [14:04] amitk, if its on a topic branch, then yes. [14:04] amitk, do you have something functional yet for karmic? [14:05] rtg_: yes, cleaning up the patchset (merging, annotating, etc.) currently. [14:06] rtg_: but I won't be able to fix up a new source package for the next upload. [14:06] amitk, yeah its basically there, just pushed one more patch [14:07] amitk, then why not put it in the master branch? Its not like the current imx51 flavour is doing us much good, is it? [14:09] rtg_: It would certainly make it easier for me to put things in master. And yes, the current imx51 flavour is a dud. [14:09] rtg_: there might be rebase conflicts though, until .31 is released [14:11] amitk, I'd just as soon avoid the hassle of a topic branch if you have something that works. 2.6.31 is getting pretty close do being done, so I wouldn't expect many rebase conflicts. [14:14] apw: do you know why dm is still borken and needs a patch? [14:14] i don't know that dm is broken [14:15] http://kanotix.com/files/excalibur/linux-2.6.31-generic/source/ [14:15] i also would suggest to apply at leaste the copy ieee header patch [14:15] that will be needed for dvb external [14:16] not yet compiling with .31 however, but thats a requirement i found for .30 [14:16] 2.6.31-rc2-v2-dm-table-pass-device-s-length-to-device_area_is_valid.patch [14:16] that was needed to make dm work [14:21] apw: why don't we set CONFIG_IP_PNP? [14:21] what the heck does that do? [14:21] kernel autoconfiguration (bootp, dhcp, rarp) for diskless systems [14:22] https://wiki.ubuntu.com/KernelTeam/2.6.28-2-generic-config doesn't have any remarks [14:38] apw: CONFIG_ATM=y? [14:38] amitk, every desktop should have an ATM stack [14:39] i would say take the default from i386 if in doubt [14:40] and list the defaults you think are wrong separatly... we can then review those now or at sprint [14:40] amitk, if size is not a consideration, then I'd like to see as many common selections as possible across ARM and x86. [14:41] rtg_: size isn't a consideration on ARM anymore. But I assume that for drivers/protocols that can be modules, we default to modules, except when boot critical. And ATM didn't fit that category :) [14:42] amitk, ATM is a protocol stack, so I'm not sure why its built in. apw ? [14:43] * apw will check hang on [14:43] apw: that was meant as a question. Why it is built-in? Not "should I build it in". But I'll stop bothering you and just keep a list of options needing review [14:44] i thought at the jaunty uds we decided to move a lot of those =y [14:44] bringing in the stacks themselves, not the drivers [14:45] well, the stacks that are in common use. When was the last time you connected to an ATM device? [14:45] indeed, have to agree it seems anomolous [14:46] trying to see when it occured to see if there is some reasoning supplied [14:46] it could be we were all so zoned out by that time in the review that it just slipped by [14:46] heh yeah quite likely [14:46] 'its a stack =y' [14:47] apw, I'm fine with CONFIG_ATM=m across the board [14:48] rtg_, yeah me too... will wait for amitks list and we can do them all together [14:49] it think he and brad will explode if the config changes radically again before they can even finish rebasing onto the current one [14:49] apw, besides, we have a bit more experience now with what is _actually_ boot essential. [14:49] apw, ack on the stable config for now :) [14:49] yes very true ... [15:12] apw, A3 is released, so I guess we can crack a kernel just about anytime. [15:12] rtg_, anything pending? [15:13] from your end? if not i'll do the do on it [15:13] apw, you might check with jjohansen. how about the printk format fix? [15:13] yeah good point [15:13] apw, I'd say just apply it and he'll pick it up when he rebases. [15:14] yeah will do that [15:14] apw, I've about got it built, so I can do some boot testing while working on rfkill [15:15] cool [15:15] i'll shove that one fix in and tie the bows on it [15:19] * smb_tp waves to chris-qBT, thanks for testing all that kernels :) [15:20] smb_tp, no problems :) [15:20] I was surprised no one else reported that problem. [15:20] I guess jfs is not used as much as I thought [15:21] chris-qBT, Yeah, that seem to be true. Even not upstream [15:21] smb_tp, Thanks a lot for fixing this. This bug was annoying me since rc1. [15:21] Or we found it first. apw will make sure it is in our next upload [15:21] great. [15:22] smb_tp, is that that nasty rcu freeing things which are not free looking bug? [15:22] apw, yes [15:23] yeeks, that one is very nasty ... use after free ... be worth getting in me thinks, get it on the mailing list so rtg can review it [15:24] * smb_tp is lready typing [15:25] ack [15:46] apw, you gonna get that jfs patch in before you tie the ribbon ? [15:46] rtg yep, [18:00] rtg, when building the kernel, where is the knob to not spawn multiple compiles? [18:05] bjf: CONCURRENCY_LEVEL=1 [18:35] apw, its all built, I'll upload in a bit [18:35] rtg_, thanks ... [18:41] apw, you gonna send out the ABI bump announcement? Its uploading ... [18:42] rtg_ ack [18:43] apw, how is it that dmraid4-5 ever compiled? [18:43] thats a goodie [18:44] cause on all of our architectures test_bit is a #define [18:44] so its defined as (soemthing) [18:44] so it _happens_ to be valid code [18:44] ah, makes sense [18:44] its wild amazing luck [18:44] I pushed that fix [18:44] ack [20:03] hi people.. I've got a _really_ weird problem with a Karmic kernel ATM, I figured maybe someone wants debug-info before I reboot? [20:04] basically, "du -sh" at a certain folder chews disk like a maniac, and consumes 100:s of MB of rsize.. [20:06] oh.. cd:in into a certain subfolder makes my shell go nuts as well.. :S [20:08] strac:ing the process (either DH), or the shell process, I get TONS of getdents64() calls.. [20:08] rawler: best thing would be to note all these observations with logs to a bug in launchpad [20:10] is there anything in particular to make note of? I've got a really bad experience submitting bugs to LP.. even when I submit bugs with a solution (I.E. working patch), I've seen it take years to get attention.. [20:10] so, for a problem like this (which may perhaps even go away after a reboot), I'm naturally a bit reluctant.. [20:11] this is interesting though.. ls says the _directory_ itself is 170M.. :S [20:14] rawler: the best way to capture this is ubuntu-bug -p linux [20:14] if it goes away after boot then there is a least a record of it in launchpad [20:15] seriously? is that going to figure exactly what happened here? [20:15] also if it goes away after boot, it is going to be really hard to replicate [20:15] rawler: no, but it does grad a lot of info and feed a bug into lp [20:15] yeah, my thought exactly.. which is why I wondered if someone wanted to do some short investigation BEFORE I reboot.. :) [20:16] rawler: what kind of short investigation? ssh into the box? [20:17] (although, considering the directory-entry itself is of ridiculous size, I kindof doubt that the problem will go away.. my prime suspect right now is that ext4 have done something bad.. :S) [20:17] jjohansen: well, I thought maybe one could start by feeding specific info to a pastebin or something like that.. :) [20:17] rawler: ugh, I hope not [20:17] rawler: feel free to paste away [20:17] neither do I.. :) [20:18] well, I don't know how to troubleshoot this further.. ls on the directory kills the shell, du on the directory kills du.. (or at least, takes a ridiculous amount of time), and the directory itself is silly large.. [20:19] http://pastebin.com/d7cae0828 <- info is the culprit.. look at the size.. can a dir-entry even grow that big? [20:20] also, it must have happened fairly recently.. I clean .Trash fairly often so anything taking THIS much time would have been noted before.. [20:21] is it better to take this directly to ##kernel, or so? [20:23] rawler: what does strace ls on the dir show [20:23] and what is in dmesg, when ls gets killed [20:24] it goes http://pastebin.com/d396295e9 [20:24] dmesg shows nothing in particular.. [20:25] ls doesn't die.. it just spins the disk like crazy, and consumes ridiculous amounts of ram.. (100s of meg after a while) [20:26] rawler: well that isn't surprising considering the size of directory [20:26] actually, my bad.. ls doesn't seem to go nuts with ram.. THAT is just du who does.. ls keeps to a few megs of rsize.. [20:27] but, what could have happened making the directory that big all of a sudden? [20:27] and, 170meg directory-entry.. that's absolutely HUGE? [20:28] what do fsck -nf show [20:28] that's millions of files? [20:28] maybe, I am wondering if it can spot format corruption [20:28] fsck while the fs is mounted? [20:29] well -n == nochanges [20:30] yeah.. I just thought about false positives while checking a mounted FS.. :) [20:30] it still not ideal but when trying to avoid a reboot ... [20:31] (it's just done pass 1 so far, but i does complain about some maybe 75 orphaned inodes.. [20:32] damn.. I've gotta re-run.. I forgot to set LANG before fsck, and I assume you don't read swedish.. ;) [20:32] it also complains something about a bunch of faulty blocks.. I'll pastebin it all.. [20:33] http://pastebin.com/da2bb66a [20:36] oh, yeah.. I forgot to mention one piece of information that may be relevant.. I run on mdadm-raid1, and yesterday I did "replace" one of the disks.. (actually, just re-partitioned it, but still) [20:36] it maybe also have made something funky, perhaps.. [20:39] dmesg (and uptime just in case).. problems were discovered today, and I'm pretty sure I emptied trash this monday without problems [20:43] rawler: sigh mdadm-raid1 and repartion, I have a feeling this is going to be one of those bugs that isn't easily reproduced [20:43] http://pastebin.com/d3f52b941 [20:43] jjohansen: me too.. which was the largest reason why I felt a LP-bug would just add noise and help nobody.. :) [20:43] is it interesting to keep troubleshooting, or should I just reboot and fsck and be done with it? [20:44] as [20:45] as I said, this IS a weird problem.. :) [20:45] rawler: I don't see anything to follow, the interesting bit has already happened and left its mess [20:45] yep [20:45] I would fsck it and see if that fixes it [20:45] oki.. I'll just make it work again and be done with it then.. :) [20:45] thanks for now, and have fun! [21:34] hiiii [21:35] looking for source code of fopen function [21:35] want to know if fopen calls open to get its task done in the end [21:49] jjohansen (or anyone else reading): well, fsck showed no problems after a clean unmount.. :S [21:51] now trying to rm the problematic dir, but it's been going on for over an hour, with no luck.. :S [21:53] one peculiar thing is that it seems to make a lot of others apps freeze up for a while.. :S [22:00] although, it now seems like there's actually really nothing wrong on the fs (thank god).. when stracing the rm-process it actually prints the files it removes while working... for some reason, it seems nautilus actually has created millions of files.. :S [22:00] of the form file..extension.trashinfo.. [22:01] in any case, not an ext4-problem, or a softraid-related problem (again, thank god).. just nautilus having done something stupid.. [22:02] rawler: well it is nice to hear that it is unlikely the kernel but it is still disturbing [22:04] yeah, kindof.. there's thousands of .trashinfo for each file I've removed during the last week.. that's what made the dir so big, and I guess the utils didn't really cope all that well with that huge amounts of files.. [22:06] interesting kernel-related question though; since it makes my system half-freeze for up to 15-secs at a time, could this be used to DOS a multi-user-system? [22:07] it certainly doesn't seem like the I/O is CFQ-scheduled while doing this... :) [22:08] rawler: possibly, though with the proper limits set a user could be prevent from ever creating those millions of files [22:09] oh? in ulimit, or where? [22:11] well ulimit would be run time limits I was thinking more of quotas [22:13] btw, while I'm here, I've actually already devised a small prgram that really sinks my desktop machine I/O-wise.. [22:13] what it does is allocate just a little too much ram, so the swap gets used... [22:14] rawler: yep that will do it [22:16] then iterate over it's memory, doing some read/write in a cyclic fashion.. it absolutely kills my desktop-machine.. power-cycle or sysrq is the only way to kill it.. logging in through ssh will just time out, so it's almost impossible to terminate this remotely [22:16] on my laptop, it's not just as bad.. it definately gets tired, but it doesn't keel over and die.. [22:17] the interesting part of this, is that on my desktop, I've actually set a ulimit rss-size on half my ram.. [22:17] so, in theory, other apps should be able to use the remaining 512 GB, which SHOULD be enough to login and kill the memhog.. :S [22:18] I've been waiting to get it tested on more systems before concluding anything, but isn't this also a potential DOS on multiuser-systems? [22:18] esp. if ulimit is not effective? [22:18] rawler: in theory, but swap storms can make apps very unresponsive if they involve any disk io [22:19] how come? if ulimit is limiting rss, I mean? [22:20] it still shouldn't be much worse than, for instance copying a file, I'd presume? [22:21] rawler: well, you can get into situations where you are triggering swap, even with the rss limit set to half. [22:21] rawler: it would depend on what kind of mem the other apps are using [22:22] rawler: not saying it isn't broken, just it is possible [22:22] yeah, but things like ssh? it could certainly do with 512MB ram before, when that was all that was in the system? [22:23] oki.. seems a bit worrying to me.. :) (that's administrating a multi-user-system at work.. sure, everyones benevolent NOW ;) ) [22:23] well ssh still works with a lot less. But again its the sum of the parts, and if you manage to push a machine into a swap storm all bets are off [22:24] ouch.. :S [22:24] sounds like a minefield.. just hoping someone doesn't go nuts with memory.. [22:24] rawler: it does sound broken, but I would want to see a lot more detailed accounting of where all the memory is being used [22:25] if you're interested, compile up http://pastebin.com/df09cd1c and test on your machine.. :) [22:26] rawler: yeah, I am not a fan of swap, from a usability stand point it can be better to fail things than going to swap [22:26] well.. swap is good in theory, provided it does not burden the rest of the system more than other I/O access does.. (like, copying a file) [22:27] swap in THEORY, shouldn't be any worse than an app mmap():ing a large file.. [22:27] although, practice seem to differ.. :) [22:29] in any case, I think maybe ubuntu, especially -server, should think a little about this.. it may still be an issue with some part of my specific system that makes it completely freeze and die.. but in that case, I wonder exactly what that circumstance is, and if it's likely to affect others.. [22:31] jjohansen: oh, btw.. if you (or someone else) DO decide to test my little program, do remember that oom-kill is triggered by sysrq+f.. (you won't be able to look it up after ;) ) [22:32] and, if you're on a 32-bit-system with more than 2GB ram, you'll want to run the program several times at once, each instance set to consuming a couple of gigs.. [22:32] hehe, yeah that is why you don't run something like that on your main system :) [22:32] yep.. :) [22:34] also, I'm a bit curious exactly how evil that is in virtualization.. I.E. what happens on a KVM-system.. does other vhosts also get bogged all down to unusable, or does that somehow work differently..