/srv/irclogs.ubuntu.com/2012/10/10/#ubuntu-kernel.txt

bizhanMonaHI I like to use a Jtag to debug a kernel driver for a PCIe board we build in house, does anyone knows how to use Jtag with ubuntu? thx03:28
brendandhenrix_, ping07:32
=== smb` is now known as smb
=== henrix_ is now known as henrix
* apw yawns08:00
henrixbrendand: pong08:03
brendandhenrix, i decided this is a transient issue08:05
* smb gets more coffee08:05
brendandhenrix, we can't reproduce it08:05
henrixbrendand: ok, great. thanks for the update08:06
henrixbrendand: so, you're closing the bug, right?08:06
brendandhenrix, yeah. i guess to invalid08:07
henrixack08:08
hrwhi08:58
hrwcan someone remind me why deadline scheduler is used in quantal instead of cfq?08:59
=== ante_ is now known as ivoks
alexblighhrw, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/100840009:22
ubot2Ubuntu bug 1008400 in linux "Ubuntu server uses CFQ scheduler instead of deadline" [Medium,In progress]09:22
alexblighinter alia09:22
hrwthx 09:31
* henrix -> brb10:19
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== doko_ is now known as doko
rtgany thoughts on why this doesn't always work ? 'schroot --list --all|grep ^session|sed 's/^session://'|while read s;do sudo schroot -f -e --chroot=$s; done'13:00
rtgseems that session teardown is racy. udev is just too quick.13:01
Davieyis cking around?13:20
rtgDaviey, he's out for the week13:25
DavieySounds very unbritish, but ok13:25
Daviey(thanks)13:25
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
dokoapw, rtg: I see that the x32 support was reverted for quantal. will it be re-enabled for r?13:39
apwdoko, should be, it may even already be13:39
apwdoko, it was causing graphics regressions of all things13:40
dokoapw, generally, or just on certain hardware?13:40
apwi belive it was a specific subset, jsalisbury which h/w wsa affected by X3213:41
rtgapw, doko: an asus platform IIRC13:42
dokothanks, so I can probably just re-enable it locally13:44
rtgapw, I've disabled CONFIG_X86_X32 for R on the theory that it enables functionality that we are not actually using (except for doko)13:44
dokortg: we still have the x32 spec. I'll see how far the debian guys are with it13:45
rtgapw, so there is a bug on this schroot thing. at least I'm not the only one seeing it: bug #91733913:46
ubot2Launchpad bug 917339 in schroot "10mount: umount: /<<CHROOT>>/dev: device is busy" [Undecided,Confirmed] https://launchpad.net/bugs/91733913:46
smoserapw, https://groups.google.com/forum/#!msg/linux.kernel/QYDb9t1Bs1c/1ob8Ev9k4PUJ ("overlayfs and inotify") got no responses?13:53
apwsmoser, nope, they are not the most responsive of upstreams are they13:56
smoseri just would have thought that it would be a larger sticking point.13:56
apwsmoser, indeed13:56
smoseri just lost the better part of an hour wondering why upstart didn't recognize my new job in /etc/13:57
smoserer.. /etc/init/13:57
apwi detect a significant amount of fingers in ears in response13:57
apwi have mostly working patches for one possible approach, which closes most of the holes in inotify13:57
apwbut we're never going to be able to make tail -f work in its current form13:58
smosernow that i think about this, i'm really surprised that overlayroot (http://blog.dustinkirkland.com/2012/08/introducing-overlayroot-overlayfs.html) works as well as it does.13:58
apwindeed13:58
* rtg reboots tangerine in frustration14:04
rtgback in a bit14:04
jsalisburyapw, looking for which h/w14:10
utlemmingkernel team....for 12.10 it looks like hv_storesc was removed from the linux-image-extra package's initrd modules. Was this an intentions change? Before it was in the linux-image-virtual-extra package for 12.04. 14:15
jsalisburyapw, this was the bug regarding CONFIG_X86_X32: bug 104188314:16
ubot2Launchpad bug 1041883 in linux "Recent patch to asus-wmi module makes system unbootable" [High,Fix released] https://launchpad.net/bugs/104188314:16
apwutlemming, cirtainly nothing recently was deliberatly changed14:16
utlemmingapw: k, isn't kernel freeze tomorrow? 14:16
apwno it was last week14:17
apwfinal freeze is tommorrow14:17
utlemmingand what about getting this in as a emergency? Azure is busted with out this. MS finally got us logs that shows that the initrd lacks the drivers. 14:19
apwhow long have we known there was an issue?14:19
utlemmingwe have know there was an issue since beta-1, but were unable to get any logs to prove the issue. 14:20
apwand we are hearing about it today for the first time ?14:20
utlemmingto be frank, there was nothing to prove until we got the logs back. 14:22
apwwell the code in the kernel to include that module is the same in both p and q14:23
apwwhats the bug number14:23
apwutlemming, ok this module is in the normal packages14:25
apw-rw-r--r-- root/root     25008 2012-10-08 15:19 ./lib/modules/3.5.0-18-generic/kernel/drivers/scsi/hv_storvsc.ko14:25
apwnot in -extras, but in the main linux-image package as you need it for virtual hosts14:25
rtgtherefore in -virtual14:25
apwindeed14:26
utlemmingapw, rtg: sorry, I mispoke14:26
utlemmingbug 106507014:26
ubot2Launchpad bug 1065070 in linux-meta "hv_storesc driver has been removed from the linux-image-virtual-extra initird module list" [Critical,Confirmed] https://launchpad.net/bugs/106507014:26
apwso if this is a bug in anything then this is perhaps initramfs-tools14:26
apwrtg am looking at it14:27
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== amitk_ is now known as amitk
=== ikonia_ is now known as ikonia
alexblighapw, can I pick your brains on https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1064521 please?15:36
ubot2Ubuntu bug 1064521 in linux "Kernel I/O scheduling writes starving reads, local DoS" [Undecided,Confirmed]15:36
apwalexbligh, you can ask, i am running round like a headless chicken on release things so may be vague15:39
alexblighapw, ok we've given you a script to test this. Switching to deadline scheduler makes mysql updates take 11 seconds per update (average) rather than hanging indefinitely. Any ideas on how to advance on that? Worth trying ionice? Switching to qunatal kernel? Where should we go from here?15:40
apwalexbligh, the logical next step is to make a test rig and go on a bisect hunt for where it was introduced, between o and p15:42
apwalexbligh, probabally using the mainline builds if one is lucky enough to be able to boot them15:42
alexblighapw, if you had to guess, would you guess this was a mainline kernel regression rather than a difference in the way (say) the Ubuntu kernel is compiled? (different options etc.) - I am wondering whether there are other things other than change of elevator between O and P.15:43
apwi am not aware of anything, but you could switch to a mainline kernel at the same base patch level as your P kernel (see /proc/version_signature) to tell if it is an ubuntu patch issue15:44
alexblighapw, I meant more a different config option (brought about by the demise of -server)15:44
apwthere really was only the elevator in difference which is why we collapsed them, as that is configuraable at run time15:45
alexblighapw, do you know off hand whether there is any ionice type thing we can use to work around this? We are in control of the zcat.15:46
apwit would be worth trying making it 'idle' priority to see if this helps any15:46
alexblighapw, so (a) retest mainline kernels, (b) try ionice (workaround for me, but not for everyone), (c) try quantal and see if already fixed (from mainline) there? Is there enough info in the bug?15:48
apwalexbligh, i would yes test O level mainlnie and P level mainline kernels, if they show the same bracket good bad, then you can use the inbeween releeases to manually bisect for the regression15:49
apwthe mainline archive should have builds for any tag linus produces15:50
apwand for all the stable updates too15:50
apwand also i would confirm if the O kernel works as expected on the P userspace15:50
apwso confirm its kernel triggered not mysql level or something15:50
alexblighapw, good plan. In case you were wondering, we have an end-of-month release too :-)15:51
alexblighapw, doubt it's mysql, as it affects postgres too :-)15:51
apwindeed, but one has to be methodical15:51
* ppisati -> gym15:56
alexblighapw, ok, thanks, that's helpful.15:56
alexblighapw, so is 3.2.0-31-generic 3.2.28 (per /proc/versioninfo) the same as 3.2.28-precise (in the mainline build archive) or the same as 3.2.31? I think it's the latter.16:01
alexblighs/versioninfo/version_signature/16:02
apwits the same as 3.2.28 in mainline16:02
apw-31 is the abi number16:02
* smb -> errand16:02
alexblighapw, thx16:02
jsalisburyapw, rtg, it seems the amd64 mainline kernel is not building: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.6-quantal/16:51
jsalisburyapw, rtg, it also fails to build with the mainline-build-one script.  I'm looking into that now for clues.16:51
apwjsalisbury, fails how, with an error, or does nothing16:51
rtgmake: *** No rule to make target `build-generic-pae'.  Stop16:52
jsalisburyapw, nothing is posted for v3.5.6 on our mainline builds page.  16:52
apwrtg, that is normal, as we do not have pae any more16:53
jsalisburyrtg, that one is ok I beleive.  I've seen it for a while16:53
apwbut we do in older releases16:53
apwwe do it last for safety16:53
jsalisburyapw, I'm capturing the output from a mainline-build-one run right now.  I'll be able to review it shortly for errors.16:54
apwjsalisbury, ok this is something i have done to the main kernel build16:55
jsalisburyapw, ok16:56
apwgive me a bit16:56
jsalisburyapw, ok, thanks!16:58
apwjsalisbury, i have pushed a commit to quantal master-next, could you update your quantal head17:02
apwand see if that builds for you17:02
jsalisburyapw, will do17:03
apw(as the mainline builds publl the build engine from quantal in this case)17:03
jsalisburyDid that update this repository on tangerine: git://kernel.ubuntu.com/ubuntu/ubuntu-quantal.git17:04
hertonapw, jsalisbury:17:04
hertonhandoff=`dd if="/home/apw/COD/linux/debian/linux-image-3.5.6-030506-generic/boot/vmlinuz-3.5.6-030506-generic" bs=1 skip=514 count=6 2>/dev/null | od -s | awk '($1 == 0 && $2 == 25672 && $3 == 21362 && $4 >= 523) { print "GOOD" }'`; \17:04
herton        [ "$handoff" = "GOOD" ] && \17:04
herton                cp -p /home/apw/COD/linux/debian/linux-image-3.5.6-030506-generic/boot/vmlinuz-3.5.6-030506-generic \17:04
herton                        /home/apw/COD/linux/debian/linux-image-3.5.6-030506-signed/3.5.6-030506.201210071308/vmlinuz-3.5.6-030506-generic.efi17:04
hertonmake: *** [install-generic] Error 117:05
jsalisburyapw, if not, I can add a git remote somewhere else17:05
hertonI had this same problems on my builds17:05
apwherton, yes i've fixed that17:05
apwi hope :)17:05
hertonapw, yep, I used your fix :)17:05
apwjsalisbury, it updates like every hour i think17:05
jsalisburyapw, is there a link to the master.next repo ?  I can point there17:06
apwits on zinc17:06
jsalisburyapw, cool, thanks17:06
=== henrix is now known as henrix_
* herton -> errand17:07
=== henrix_ is now known as henrix
* rtg -> lunch17:32
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== henrix is now known as henrix_
=== tjaalton_ is now known as tjaalton
* rtg -> EOD20:28
slangasekapw, jsalisbury: hi, bug #1065263 for your UEFI enjoyment21:30
ubot2Launchpad bug 1065263 in linux "wrong stride for efifb on some systems" [Undecided,Incomplete] https://launchpad.net/bugs/106526321:30
mjg59That patch will only help if you're using the kernel EFI stub21:34
mjg59Otherwise you'll need equivalent code in grub21:34
slangasekyeah, cjwatson and I were just working through that :)21:34
slangasekmjg59: so you guys haven't pushed a patch for grub for this?21:35
mjg59And also the equivalent of the other patch for the kernel whose title I can't remember21:35
mjg59slangasek: No, we're using the kernel stub21:35
slangasekmjg59: hmm, I think I've lost track of y'all's implementation.  shim->grub2->kernel stub?  or shim->kernel stub?21:36
* slangasek gets everyone on the same channel :)21:38
slangasekmjg59: so we do have signed kernels bopping about now, precisely due to your advice about the quirking21:38
slangasekmjg59: but we need both the signed kernel (w/ efi kernel stub) and the above patch to get to efifb playing nice, correct?21:39
mjg59shim->grub2->kernel21:39
mjg59Yeah21:39
mjg59There may be one other patch as well21:39
slangasekok21:39
mjg59"X86: Improve GOP detection in the EFI boot stub"21:39
slangasekthanks21:40
=== jgriffit2 is now known as jgriffith
slangasekmjg59: so stgraber has just tested our boot path with Lenovo's SB implementation; turns out that when LoadImage fails there, it doesn't fail silently, but pops an error message that requires the user to acknowledge (press return)21:50
slangasekmjg59: have you guys run into this?21:50
mjg59slangasek: Oh for the love of christ21:50
stgrabermjg59: http://www.stgraber.org/download/DSC02669.JPG21:50
mjg59slangasek: No we hadn't21:50
cjwatsonAs usual there's nothing especially useful in the UEFI spec to forbid this stupid behaviour21:50
cjwatson(Although this behaviour is to some extent inference on our part)21:51
mjg59Yeah ok so the easiest thing to do there is to flip the order in shim21:51
cjwatsonI wonder if we need the LoadImage path at all21:51
slangasekwell, I guess the shim isn't currently checking db only dbx?21:51
slangasekbut yeah, I wonder if it should just skip LoadImage entirely21:52
mjg59slangasek: Yeah21:52
mjg59slangasek: Checking db as well as dbx would avoid it21:52
mjg59Meanwhile the LF have just done something stupid and dumb and stupid21:53
slangasekcjwatson: so, should I make elmo cry by revving shim, or do we have other priorities I should be worrying about at the moment?21:53
cjwatsonwell21:53
cjwatsonthis is in principle release-notable, since you can still boot21:54
cjwatsoneven though the release note would be horrible21:54
slangasekyou can still boot a signed kernel, anyway21:54
slangasekfrom what stgraber saw, you couldn't boot an unsigned kernel21:54
stgraberyeah, the part where I can't boot an unsigned kernel from grub is still kinda weird, not sure if it's related to the first problem at all :)21:54
slangasekpossibly because the firmware has lost its mind by that point and can't display the confirmation message21:54
slangasekstgraber: I expect it is the same issue, because we try to call LoadImage for the kernel too21:55
slangasekwhich obviously fails for an unsigned kernel21:55
cjwatsonuh21:55
cjwatsonit should call shim_verify first21:56
slangasekoh, does it?21:56
cjwatsonthe LoadImage bit is only in init_grub21:56
cjwatsonit's not in shim's verify protocol handler21:56
slangasekah, ok then21:57
slangasekcjwatson: well, it's easy enough to reverse the order of the check in shim; I could do that and aim it at quantal-proposed?22:02
cjwatsonif you're comfortable doing that, sure22:03
cjwatsonand make elmo's day a little bit worse22:04
mjg59Yeah can't say I'm unhappy that we've ended up slipping by a month22:05
jsalisburyslangasek, thanks :-)22:11
slangasekmjg59: proposed patch for shim sent your way; would appreciate it if you could spare the time to eyeball it before we go pushing an MS signature on it22:36
mjg59slangasek: Thanks22:37
mjg59slangasek: It'll be tomorrow before I check, if that's ok?22:37
slangasekmjg59: yeah; I think we can hold off on pushing this to MS until then22:38
slangasekI'll get the package uploaded in any case22:38
=== rsalveti_ is now known as rsalveti

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