/srv/irclogs.ubuntu.com/2011/01/26/#ubuntu-kernel.txt

lucentwhat the heck, my USB-Serial adapter is now detected as an input device and not an RS232 port?01:55
lucentand not 10 seconds later, now, it's detected correctly01:56
lucentI'm so confused01:56
lucentexact same issue as http://www.linux-archive.org/debian-user/53249-ttyusb0-not-appearing-solved.html02:04
=== smb` is now known as smb
apwdiwic, 3209:11
ckingapw, 58f6425eb92f54943878b0b3f9c1e51f99c2cb7210:19
=== ogra_ is now known as ogra
=== cking is now known as cking-afk
=== amitk is now known as amitk-afk
=== JanC_ is now known as JanC
ekoorehi to all11:16
ekoorei habve a problem with acpi event11:16
ekooredo you can help me?11:16
=== amitk-afk is now known as amitk
=== diwic is now known as diwic_afk
=== diwic_afk is now known as diwic
apw_yawn ... quiet today12:48
* ogra makes some noise12:50
apwekoore, whats up with it?  could you give some details, then someone might be able to13:21
=== cking-afk is now known as cking
tgardnerapw, are you still debugging something on natty?13:58
apwtgardner, no i am pretty happy with it right now14:00
apwtgardner, did you get a chance to 'stress' the master-next yesterday?14:01
apwtgardner, working up to tying the bow, if your results are good ...14:01
apwjust pushing some binaries for smb et al to touch test and then it goes in14:01
tgardnerapw, yep, I dribbeled a note in IRC before leaving, but we all know how effective thath usually is. it withstood stress for an hour with loads of 130+14:02
apwtgardner, ahh excellent14:02
apwthe .deb will be up in 0:34 seconds apparently14:02
tgardnerapw, I'll go back to my xen headache then14:03
* smb presses the on-button on the aspire one14:03
apwsmb, :)14:03
smbtgardner, What kind do you have?14:03
tgardnersmb, CVE-2010-3699. do you still have a dom0 test machine?14:03
ubot2tgardner: The backend driver in Xen 3.x allows guest OS users to cause a denial of service via a kernel thread leak, which prevents the device and guest OS from being shut down or create a zombie domain, causes a hang in zenwatch, or prevents unspecified xm commands from working properly, related to (1) netback, (2) blkback, or (3) blktap. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3699)14:03
smbtgardner, I believe I still have the Hardy server installation, yes14:04
* smb rumbles through the harddrive collection. Yup its there14:05
smbtgardner, So let me know when you got something that needs testing14:05
tgardnersmb, can you make sure a guest still boots on a dom0 host using tangerine:~/kern/hardy/kern-64/linux-image-2.6.24-28-xen_2.6.24-28.83_amd64.deb ?14:05
smbtgardner, sure. let me boot up my box14:06
smbtgardner, you are aware that -28.83 is in proposed. :) testbox was whining about downgrading. :-P14:15
smbI mean .8414:15
apwsmb, when you get a chance: http://people.canonical.com/~apw/master-next-natty/14:15
smbapw, next thing on list14:16
apwta man14:17
tgardnersmb, hmm, must have missed it. it took me close to 4 hours to figure out this patch.14:17
smbtgardner, hmm. attempt  #1 -> box froze solid (no message seen but I have to switch vts to login). retrying...14:20
tgardnersmb, before you even started the guest?14:21
smbtgardner, guest start was automatic from saved session14:21
smbtgardner, Reboot after crash came up but without saved xen guest. And trying to start it returns an error (translated into function not implemented)14:24
tgardnersmb, shit. guess I'm gonna have to install some bare metal.14:24
smbtgardner, For your own test system?14:25
tgardnersmb, yep14:25
tgardnersmb, unless you wanna debug this14:26
smbtgardner, If you shove your patch over I can have a look. 14:27
smbThere is not much on dmesg you can see14:27
* apw opens his window, yep that is tangerine i can hear howling14:27
tgardnersmb, the patch and pull request are on the k-t list14:27
smbtgardner, ok, I will put it on my list14:28
smbapw, is next though14:28
smbapw, So I guess I should not put another buld on it. :)14:28
JFoheh14:32
apwsmb, 14:36
apwsmb, heh i am sure she won't mind14:36
smbapw, Not quite ready yet, but soonish I may try scary-patch v2 for Lucid14:37
=== zul_ is now known as zul
smbapw, Ok, aspire one came up has screen and wireless and no obvious new complaints from acpi with your latest natty kernel14:45
apwsmb, most gratifying14:54
ekoorehi apw14:54
ekooreapw, do you can help me?14:54
apwekoore, so does the screen turn off in grub etc ?  i assume not ?14:56
ekoorenot, it poweroff only after grub14:56
apwekoore, and presumably only once we get to userspace, i assume something there is responding to it.  does the device have a network you could ssh in over and watch to see what is getting generated when the twist happens14:57
apwinput-events might tell you ...14:57
ekooreyes14:58
ekooredo you want the ip of the machine?15:00
apwnot really got time to poke it right now, trying to get the natty kernel sewn up15:01
apwbut i suggest you try and work out what key is getting generated in userspae15:01
apwthat likely can be disconnected15:01
ekoorei have the same problem in usersace15:02
ekoorecan i do the comand for sisabling it, to the start of boot sequence, and not to the end, with rc.local?15:03
ekoorewhat is the version of the kernel in natty?15:07
apwekoore, its going to be .3815:07
ekooreok i understand15:08
apwekoore, ok i've had a bit of a poke and cannot see an easy way to turn it off early15:19
apwit seems to get turned on the first time when the consumer of the gpe starts, but i have no way to know15:19
apwwhat might be triggering that15:19
ekooreis not possible disabling it from the kernel source?15:22
apwekoore, i am sure you can change the kernel to prevent it being enabled, there is no obvious mechanism in there already to do so15:22
apwekoore, the assumption is that your bios asks for things to be enabled which make sense and it enabled them15:22
apwi am told that a gpe11 would trigger methods _L0B or _E0B would be called as a result of that interrupt occuring and those must be triggering the blackness ... looking at those may be fruitful as you have the bios15:25
ekooreapw, yes, but where is configurated the triggering of the blackness?15:27
apwekoore, the kernel will respond to gpe11 by calling the acpi methods listed above.  what those do is bios specific15:27
apwthe kernel does only what it is told to by the bios on those cases (as i understand it)15:28
ekooreyes, i think that is a problem of the bios, but i want solve in the kernel15:29
apwekoore, well the kernel has no feature to turn off gpes by default as far as i can tell, so you'd have to add one, or bitch at your bios vendor15:30
apwacpi_hw_low_set_gpe() seems to be the low level enable routine, somewhere in the call chain for that you'd want to add something to suppress it15:30
ekoorewith windows os, i don't have this problem15:31
* sforshee -> reboot15:32
apwekoore, and i am sure the kernel there has been modified to handle the bios brokeness15:32
apwekoore, as i am sure it has a machine specific module to handle this kind of thing15:32
apwekoore, as i say there isn't obviously a way to handle it without writing some code15:33
apwekoore, apparently noone has had this issue before, or if they have they have managed to get their bios fixed15:33
=== bjf[afk] is now known as bjf
ekoorein with way i can have the fix of the bios?15:38
ekooreis needed the source?15:38
ekooreor i can disassemble it?15:38
apwekoore, normally you report your issue to them and they fix it as far as i can tell15:38
ckingekoore, fixing the BIOS is not easy - you need to engage with the vendor15:38
ekooreis impossible solve from linux kernel?15:40
apwekoore, no not impossible.  just you need to write some code, as it is not already there15:40
ekooreyes i understand, do you can help me in this?15:41
apwi don't have the time i am afraid, no15:41
ekooreis possible do a comand after the loading of the kernel?15:44
=== sconklin-afk is now known as sconklin
apwekoore, not early enough to guarentee you cannot ever his the issue15:46
ckingthe only easy way to get insight at this point is to see if there any _L0B, _E0B methods in the ACPI DSDT and then see what they are doing15:48
cking..but you need to understand the AML code, which is a pain15:48
ckingekoore, http://smackerelofopinion.blogspot.com/2009/10/dumping-acpi-tables-using-acpidump-and.html and http://smackerelofopinion.blogspot.com/2010/03/debugging-acpi-using-acpiexec.html maybe useful15:52
sconklinhttp://www.pat-testing.info/recallnotice/sony-vaio.htm overheating Vaios due to a "firmware" problem15:55
apwtgardner, did the armel natty chroots get updated?  i am seeing 'cp15 insn xxxx' blammos from qemu16:05
tgardnerapw, the natty armel chroots still don't work, so I disabled them16:06
apwtgardner, oh i thought we had stale ones and they sort of worked16:07
tgardnerapw, I should remove the one on tangerine16:07
tgardnerapw, I probably messed up and did an update16:07
tgardnerogra mumbled something at me about using Maverick debootstrap or qemu, but I never followed up on his suggestion16:08
ograhmm ?16:08
tgardnernatty armel chroot16:08
ograyeah, i got that, whats your prob ?16:09
tgardnerit don't work16:09
ograhmm, i havent used x86 hosts for a while, they should work though16:09
tgardnerogra, gimme a bit, I can produce some error messages. it generally wedges the qemu session16:09
ograk16:10
tgardnerogra, https://pastebin.canonical.com/42364/16:12
ograhmm, whats the command you used there ? 16:13
ogralooks like an issue with your arch, is that amd64 or x86 ?16:14
tgardnerqemu-debootstrap --arch=armel natty /usr3/chroots/natty-armel http://mirror.rtg.net/ubuntu-ports16:14
tgardnerI: Running command: debootstrap --arch armel --foreign natty /usr3/chroots/natty-armel http://mirror.rtg.net/ubuntu-ports16:14
ograi think i have seen such an error on amd64 but not on x8616:14
tgardneramd6416:14
tgardnerogra, who has 32 bit servers these days?16:14
ograi do ... arm doesnt have 64bits yet :)16:15
tgardnerogra, well, all of my dev boxes have a zillion CPUs, so i386 doesn't make sense on them16:16
ograwell, but it sounds like a bug, if you have no option to build on an x86 machine i would suggest building a maverick chroot and dist upgrade that16:16
tgardnerogra, k, I'll try that16:17
tgardnersconklin, how is the SRU testing going?16:23
sconklintgardner: ask cert and qa16:24
sconklinI don't know, and they don't have any status pages that I'm aware of16:24
tgardnersconklin, they've got this one: http://people.canonical.com/~hwcert/sru-testing/current/16:25
sconklinwell ok, then, there's your answer16:25
tgardnersconklin, the reason I ask is that there are some non-zero numbers in the failures column and wondered if you're getting push back on some of the patches16:26
sconklintgardner: in every case in the past, those have turned out to all be false negatives, and the cert team has given them a pass.16:27
sconklinBut it's a good question16:28
tgardnersconklin, hmm, ok16:28
sconklinI wish there was more detail about the tests16:29
sconklinsru_disk_buf_read_perf_adv_tes doesn't mean anything to me16:30
sconklinbut I suspect a result of "command not found" is not a kernel problem16:30
tgardnersconklin, I suppose next you'll be wanting a link to the test source code :)16:30
sconklinsru_sleep_state_test failure looks like it may actually be a failure - that one is more worrisome16:31
tgardneris that an S3 test I wonder ?16:32
sconklinhmm, if you drill down, at least the first one if marked "Unresolved", while the second if fail. But they both show as fails on the status page16:32
tgardnerogra, no joy on dist-upgrade from maverick to natty, same basic error16:32
ograbut bootstrappping natty worked ?16:33
ograerr16:33
ogramaverick16:33
tgardnerogra, yes, maverick works16:33
ograhmpf16:33
apwall ogra's fault clearly16:35
ograi didnt touch qemu since 2 releases16:35
ograits your crappy hardware, use arm cortex-a15 :P16:35
ogracan also have 100s of cores and terabytes of ram16:36
tgardnerogra, well, we normally cross compile, but some stuff really requires a native armel environment.16:36
ograyeah16:36
ograi really dont know what makes qemu fail there, i know that slangasek is working on a new package from a different source for exactly the armel stuff16:37
ograbut i dont know where that stands16:37
tgardnerogra, if I filed a bug, would it be against qemu-kvm-extras-static ?16:38
ograyes, thats what holds the binfmt handlers16:38
tgardnerk16:39
apwtgardner, yeah like the perf packages cause we don't support cross compilation in the archive16:40
bjfapw, smb, tgardner, https://wiki.ubuntu.com/Kernel/Dev/FixingCVEs16:42
slangasekogra, tgardner: the plan is that qemu-kvm-extras-static gets taken over by a new qemu-linaro source package as a transitional package17:04
ekooreapw, cking, i am here17:04
=== cmagina is now known as cmagina-lunch
tgardnerslangasek, sometime soon?17:05
slangasektgardner: within the week17:05
tgardnerslangasek, cool. I'll watch for it17:05
JFo<- lunch and an errand... I hate taxes. :-/17:08
tgardnerslangasek, I assume your natty qemu-kvm-extras-static will work in a debootstrap on a lucid host?17:11
slangasektgardner: I also assume this :)17:30
slangasek(I don't have any evidence one way or the other at the moment, but if it doesn't work, we'll want to fix it)17:30
apwslangasek, i thought those packages were installed in the host, and loaded via init.  so wouldn't you need a native <host release> package to make it work in chroots ?17:31
apwvia the bin_fmt_misc thingy17:31
slangasekapw: well, we will be providing backported packages17:31
slangasekin the linaro ppa17:31
apwslangasek, that makes sense to me, cool17:32
apwis it ready yet, is it ready yet17:32
slangasekapw: but if you're doing interpreter resolution in a chroot, the paths are resolved relative to the chroot17:32
apwslangasek, they are, oh hrm really?17:33
slangasek(qemu has multiple modes for this stuff and I never remember which name is which... but if you've got an x86 chroot with a smattering of arm executables, that's all done within the chroot)17:33
slangasekapw: sure, otherwise it's an instant jailbreak :)17:33
apwslangasek, heh well i guess that makes sense and everything17:33
=== bjf is now known as bjf[afk]
=== cmagina-lunch is now known as cmagina
=== sforshee is now known as sforshee-lunch
apwslangasek, i think i am thinking of the armel chroot all armel inside case ... but anyhow i am sure we will work it out when they exist18:20
* tgardner --> lunch18:49
=== sforshee-lunch is now known as sforshee
=== bjf[afk] is now known as bjf
tgardnersmb, using stock 8.04.1 and http://www.howtoforge.com/ubuntu-8.04-server-install-xen-from-ubuntu-repositories I was able to boot a xen image19:28
tgardnerapw, root@e1501:~# cat /proc/version19:39
tgardnerLinux version 2.6.24-28-xen (buildd@crested) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP Wed Nov 24 10:58:54 UTC 201019:39
tgardnerroot@e1501:~# cat /proc/version_signature 19:39
tgardnerUbuntu 2.6.24-4.6-generic19:39
tgardnerroot@e1501:~#19:39
tgardnerapw, root@e1501:/boot# ls -l19:41
tgardnertotal 3614019:41
tgardner-rw-r--r-- 1 root root  420224 2008-06-18 10:51 abi-2.6.24-19-server19:41
tgardner-rw-r--r-- 1 root root   74169 2008-06-18 10:51 config-2.6.24-19-server19:41
tgardner-rw-r--r-- 1 root root   82909 2010-11-24 04:59 config-2.6.24-28-xen19:41
tgardnerdrwxr-xr-x 2 root root    4096 2011-01-26 11:50 grub19:41
tgardner-rw-r--r-- 1 root root 7517611 2011-01-26 11:39 initrd.img-2.6.24-19-server19:41
tgardner-rw-r--r-- 1 root root 7239178 2011-01-26 11:32 initrd.img-2.6.24-19-server.bak19:41
tgardner-rw-r--r-- 1 root root 7468145 2011-01-26 11:50 initrd.img-2.6.24-28-xen19:41
tgardner-rw-r--r-- 1 root root 7467768 2011-01-26 11:50 initrd.img-2.6.24-28-xen.bak19:41
tgardner-rw-r--r-- 1 root root  103204 2007-09-28 05:03 memtest86+.bin19:41
tgardner-rw-r--r-- 1 root root 1162275 2008-06-18 10:51 System.map-2.6.24-19-server19:41
tgardner-rw-r--r-- 1 root root 1129165 2010-11-24 04:59 System.map-2.6.24-28-xen19:42
tgardner-rw-r--r-- 1 root root 1928216 2008-06-18 10:51 vmlinuz-2.6.24-19-server19:42
tgardner-rw-r--r-- 1 root root 1895911 2010-11-24 04:59 vmlinuz-2.6.24-28-xen19:42
tgardner-rw-r--r-- 1 root root  401328 2009-02-20 20:04 xen-3.2.gz19:42
tgardnerapw, debian/config/amd64/config.generic:CONFIG_VERSION_SIGNATURE="Ubuntu 2.6.24-4.6-generic"19:43
apwdebian/rules.d/2-binary-arch.mk:        cat $^ | sed -e 's/.*CONFIG_VERSION_SIGN19:45
smbtgardner, Ok, it really was the xen-3.3 stuff I took from hardy-backports. Thrown everything away and now had no problem in booting the kernel with the updated patch and run a new domU20:11
tgardnersmb, otp, back in a sec20:13
tgardnersmb, http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/59f097ef181b20:17
bdmurrayJFo: wrt to this kernel bug handling work item its just reviewing the existing kernel team debugging procedures right?20:31
bdmurrayJFo: the one assigned to me20:32
JFohmmmm, let me look20:33
JFoI believe it was more to do with getting the qa team looking there for some reason, but I don't recall precisely20:34
JFoor perhaps there was some documentation that was needed20:34
JFoI can't recall20:35
JFolet me see if I can find my notes20:35
bdmurrayWhat I recall is you all wanted somebody outside the kernel team to review the rewritten debugging procedures and I believe Kamal mentioned grub and boot options.20:35
JFoah, that tickles a memory20:36
kamalbdmurray, JFo:  um...  I recently added this to the kernel team FAQ:  https://wiki.ubuntu.com/Kernel/FAQ#How do I add a Kernel Boot Parameter?20:36
kamalmake that:  https://wiki.ubuntu.com/Kernel/KernelBootParameters20:37
JFovery nice kamal 20:38
kamal(if that's even relevant to your conversation :-)20:38
JFo:)20:38
bdmurrayso its stuff like that I / my team is supposed to review20:38
JFobdmurray, your recollection works for me as I seem to have relocated my notebook (tax season)20:39
kamalbdmurray: I should have told somebody (you) about it I guess!  ooops.20:39
bdmurrayJFo: okay, I'll clarify the work item so its more definitive20:39
JFothank you sir20:40
sorenHow do I see what a given file looked like at a given revision with git?21:55
RAOFI *think* git show $SHA:path/to/file works21:57
=== sconklin is now known as sconklin-gone
=== bjf is now known as bjf[afk]

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