=== foka_ is now known as foka [01:43] anyone here willing to help me debug a kernel-related suspend/resume problem on 2.6.24-17 on Hardy? It appears to be scheduler-related, but debugging it beyond what I can see in the log is a bit tricky. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/212660 has details -- the short version is that suspend/resume last worked properly on 2.6.24-12 for me. [01:50] from what I can tell, something broke in the way the scheduler freezes processes between 2.6.24-12 and 2.6.24-14 [01:53] because (and this is in the bug report if you read the suspend-failed.log attachments), the first suspend on kernels later than 2.6.24-12 work, but the second and subsequent attempts fail and spew loads of scheduler debugging information into the logs. [01:53] my read of them is that it fails to freeze pm-suspend [01:56] which is rather silly, because pm-suspend is the shell script that at that instant told the kernel to suspend by echo'ing "mem" to /sys/power/state [01:58] the traditional solution to regressions is a bisection [01:58] you nab the kernel git tree and use git-bisect to binary search for the commit that broke it [01:59] this requires a number of rebuilds and general "able to build a kernel"-itude [02:00] im also not sure that's the right team to assign a bug to [02:01] hm. [02:01] who would be a better team? [02:01] I don't do much triaging myself =/ [02:02] i think the wiki has a guide on that [02:02] apparently the kernel team is too good to use the process the rest of ubuntu uses ;) [02:02] lurvley. [02:03] well, as far as triaging goes, my process went something like this: [02:03] boot to $latest-kernel [02:03] try to suspend/resume more than once. [02:03] observe failure [02:03] boot back to 2.6.24-12 [02:04] suspend/resume goes back to working reliably. [02:05] wait the next apt-get dist-upgrade introduces a new kernel [02:05] lather, rinse, repeat. [02:06] git-bisect will find the change that "broke" it. possibly in the straw that broke the camel's back sense, though [02:06] unfortunately, that nvidia module is bad news [02:08] that would be unfortunate [02:09] seeing as how suspend does not work at all without it, and the module version has not changed at all since 2.6.24-12. [02:09] (nv driver is not smart enough to do The Right Thing when reinitializing the video card on this system) [02:11] a) i have yet to figure out how to rebuild linux-restricted-modules in conjunction with a kernel b) if it turns out to be nvidia, we can't even report it, let alone fix it [02:11] on a related note, is iwl in linux-restricted drivers? [02:13] nah, it appears to be in linux-ubuntu modules [02:13] (or whatever the name of that package is) [02:13] based on a quick once-over of the /lib/modules/2.6.24-12 dir [02:15] well, perhaps i just screwed up the config of upstream .25 then. no matter, as I accomplished what i needed to accomplish to report a bug to upstream [02:19] iirc, iwl is native on .25 [02:23] anyways, off to clone the ubuntu git repo [02:24] see if vgrep can find anything suspicious before trying to git-bisect. [02:26] if mdomsch is paying attention, mabye he could also help a brother out. [02:26] :) [02:26] vlowther, how can I help? [02:27] woah, didn;t expect a response that fast. [02:27] git bisect suspend / resume bug? [02:28] (or at least pointers on how to read sched-debug logs more accurately) [02:28] vlowther: perhaps you should repeat the question for him [02:28] lp bug 212660 for backstory [02:29] short version is that every hardy kernel since 2.6.24-12 suspens and resumes properly once, second and subsequent attempts spew scheduler info instead fo freezing processes [02:30] de sched-debug info appears to say that pm-suspend refused to freeze, which is rather odd [02:31] as that is just a bash script that kicked off the kernel suspend process with 'echo "mem" >/sys/power/state' [02:31] laptop suspend/resume is a mystery even to me [02:31] no kidding [02:31] if it's a Dell, poke rez kabir [02:31] it is. [02:31] he on irc/ [02:31] er, ? [02:31] uh, no [02:31] ah [02:32] he'll be in PS2 in the morning though [02:33] ok [02:33] hmm [02:33] heck, if the git-bisect gods are smiling I might even have a patch by then. [02:34] "the morning" is of course, a relative term ;) [02:34] is ps2 an acpi term for awake? [02:34] (or is that the git-clone gods? Hard to tell with how fast this is going) [02:34] if not, i have no idea what that meant =( [02:34] not in this instance. [02:34] seekrit code. [02:34] ;) [02:35] ah, you're both in austin [02:36] pwnguin, "Parmer South 2" is one of the Dell buildings [02:36] was mine until 6 months ago [02:36] "mine" [02:37] 4 years 50 hours/week, yeah, "mine" [02:37] it saw more of me than my wife [02:39] vlowther, I added the Dell team to the bug in LP [02:39] ok [02:39] rez should be familiar with the D820 [02:40] he did a boatload of work on it about a year ago [02:40] kewl. [02:40] it has always worked nicely for me [02:44] * vlowther makes a note for tomorrow. [03:34] compile compile compile [04:17] damn -- 45 mins to compile the ubuntu kernel. [04:17] whiskey tango foxtrot! === asac_ is now known as asac === gnomefre1k is now known as gnomefreak === BenC__ is now known as BenC [13:59] Good morning everyone [14:06] BenC: Good morning, Sir. [14:14] BenC: are you working on the Gutsy security update for kees ? [14:22] rtg: Yeah [14:24] BenC: I was just noticing the state of the git tree is a little weird. the changelog was updated awhile ago by smb, but it never got uploaded. [14:24] I also pushed an SRU late yesterday that I wanted to make sure you picked up. [14:43] https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/58170 [14:50] rtg: Ok === gnomefre2k is now known as gnomefreak === asac_ is now known as asac [19:31] ] ugh [19:31] [14:31] I think git did something to the kernel source [19:31] [14:31] it never took 4+ hrs to make a kerne; [19:33] it's almost like it's looping a build [19:43] < ivoks> psufan: cd /tmp ; wget http://launchpadlibrarian.net/8736376/linux-source-2.6.15_nfsv4client.patch ; sudo apt-get install git-core ; git clone git://kernel.ubuntu.com/ubuntu/ubuntu-dapper.git ubuntu-dapper ; cd ubuntu-dapper ; patch -p1 -i ../linux-source-2.6.15_nfsv4client.patch ; sudo apt-get build-dep linux-image-`uname -r` ; sudo apt-get install fakeroot build-essential ; fakeroot dpkg-buildpackage # at this point, you [20:51] why is reiser4progs provided but reiser4 is not in the kernel? === asac_ is now known as asac === asac_ is now known as asac