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

=== ogra is now known as Guest96093
apwbryceh, yep, working on getting a kernel which will boot on 32 and 64 bit at the same time09:48
apwcking, this may be of interest to you09:52
apwcommit d551d81d6a720542873f478def60baab6b5df40309:52
apwAuthor: Rafael J. Wysocki <rjw@sisk.pl>09:52
apwDate:   Wed Jan 19 22:27:55 2011 +010009:52
apw    ACPI / PM: Call suspend_nvs_free() earlier during resume09:52
ckingapw, ta. last night we cornered the bug down to issues in the i915 driver for sure.09:56
=== ogra is now known as ogra_
=== ogra_ is now known as ogra
apwdiwic, about ?13:06
apwhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/682617 <-- anything happening on this bug ?13:06
ubot2Launchpad bug 682617 in linux "Microphone not working in Optiplex 980" [Critical,Incomplete]13:06
apwdiwic, it seems that that one is not a kernel issue per-see, perhaps a pulse setup issue ?13:07
diwicapw, let me see13:07
diwicapw, yeah, I wanted cr3 to confirm that I and he had the same opinion on what was wrong and he never replied back13:09
diwicapw, or replied back saying he had more important issues that day13:09
apwdiwic, would it make sense to move it over to pulseaudio package13:09
diwicapw, yes, and would hopefully be fixed with my pulse-mixer patch which should be in Natty given some more testing and review13:10
diwicapw, ok, moved to pulseaudio13:12
apwdiwic, wicked thanks13:14
=== Quintasan_ is now known as Quintasan
apwcking,     2. powersave (CPU_FREQ_DEFAULT_GOV_POWERSAVE) (NEW)13:40
apw <-- might be of business13:40
bguthrodwic, we developed a fix for that same problem...let me see if I can pastebin it somewhere13:46
bguthrodwic, take a look here:13:49
bguthrohttp://paste.ubuntu.com/556518/13:49
bguthroI don't think my colleague has had an opportunity to submit it upstream yet...13:50
bguthroFWIW, this was developed under 10.0413:51
apwhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/53946713:54
ubot2Launchpad bug 539467 in pm-utils-powersave-policy "SATA link power management causes disk errors and corruption" [Undecided,Fix released]13:54
smbsforshee, Morning, btw /me seems to be always around as I got a bip proxy running. Still always worth checking but I could be off :)13:58
sforsheesmb, I figured you were probably offline, but like you said, always worth checking14:01
sforsheepgraner said you've fixed problems with the Huawei modems in the past?14:02
diwicbguthro, hmm, I've fixed optiplex 380 a while ago - I think that fix has reached Lucid as well as Maverick and Natty by now, but I'm not completely sure 14:03
smbsforshee, I certainly was looking at one or two bug with them. Though usually it was finding stuff upstream. wHY?14:03
sforsheesmb, does but 565058 look like anything you've dealt with before?14:04
* smb punches the stupid capslock key14:04
smbbug 56505814:04
ubot2Launchpad bug 565058 in linux "Lucid: hotplugging Huawei E220 doesn't load 'option' module" [Undecided,Incomplete] https://launchpad.net/bugs/56505814:04
bguthrodwic, it's entirely possible. We're working with a somewhat outdated local mirror.14:04
sforsheethe mode switch happens okay, but the ttyUSB devices don't show up14:04
sforsheenot sure if udev isn't loading the option module or something else14:05
smbsforshee, I think we looked at that briefly in Dallas. Wasn't it the usb id showing up in two drivers or so?14:05
sforsheesmb, not sure what you mean14:06
sforsheethe id does match usb_storage and option14:06
smbThough reading the description, things do work when manually loading the option driver. Just that autoloading seems to stop with the storage module14:06
sforsheebut the device class, etc. are different between the two14:06
sforsheeyeah, I think it's that udev doesn't load the module, but I'm trying to get some more logs to verify that for certain14:07
sforsheeI do see for sure that udev receives events for the device that should match the option module though14:08
smbsforshee, It surely will be interesting to see what events get triggered by udev. So lsusb says we got one device with three interfaces, one of which is generic storage class and the other two probably the modem part.14:11
smbSo (I am guessing) option probably matches only based on the usb id, while usb-storage matches on the class. 14:13
sforsheesmb, if you look at the udevadm_monitor.txt attachment, you see the events for the modem interfaces14:13
sforsheeactually usb_storage matches only on the id and option matches on the class14:13
smbok, have not got that far yeet14:13
sforsheealias usb:v12D1p1003d0000dc*dsc*dp*ic*isc*ip* usb_storage14:14
JFoiirc there was some issue with them where it wouldn't work if it had storage mounted, but it you unmount that it begins working14:14
sforsheealias usb:v12D1p1003d*dc*dsc*dp*icFFiscFFipFF* option14:14
smbsforshee, Ah, actually option matches on both14:15
sforsheeJFo, when it's first plugged in it shows up as a storage device, then udev runs something called usb_modeswitch14:16
JForight14:16
sforsheethat part is working, but after the modeswitch things are going wrong14:16
JFohmmm14:17
sforsheeit ought to be able to use all three interfaces that appear after the modeswitch concurrently though14:17
sforshee(one of those being a storage device)14:17
smbYeah, one would expect14:18
sforsheesmb, if you haven't dealt with this situation before I'll just keep working on it14:18
sforsheejust wanted to make sure there wasn't a known solution14:18
smbAnd as manually loading is said to work there must be something in the udev rules14:18
sforsheemaybe14:19
sforsheeI wish udev would output what it actually does in response to an event14:19
smbThat would be nice14:19
smbActually I think you should look for whether there is indvidual events for the interfaces14:20
smbInterface 0 matches up with the storage device14:20
sforsheethere are events for the interfaces14:20
sforsheeafter the mode switch interfaces 0 and 1 are the modem, and interface 2 is the storage device14:20
sforsheesmb, the only other interesting thing I see is that usb_modeswitch thinks the mode switch failed14:22
sforsheeit looks like it's just an error in the logic14:22
smbOh, right, wrong line taken for the interface number14:23
sforsheethat shouldn't affect udev's response to the events for the modem interfaces, right?14:23
sforsheewell, the logic error is that it expects to see more modem interfaces after the mode switch than before, but the way it counts both before and after the mode switch is incorrect14:23
sforsheeit's fixed in later versions14:23
smbI would think it should run driver probes for each interface14:23
sforsheeas long as the option module is loaded14:24
smbrigth and that I would hope to be tied to an event that occurs when those interfaces come up14:24
sforsheeit should be, due to the line in modules.alias14:25
sforsheeunless another udev rule matches the devices first, I guess14:25
sforsheedoesn't udev stop after the first match for an event?14:25
smbINO, they should all be checked. And every match may add additional things to run or other info14:31
sforsheeokay, thanks for clarifying, I couldn't remember for sure14:32
tgardnerapw, CONFIG_NR_CPUS=256 did the trick14:32
apwtgardner, awsome ...i'll just apply that to my latest tree14:33
apwas i have done an updateconfigs since then, which flavours are we going for?14:33
tgardnerapw, we likely only need it for server flavours, right?14:33
smbsforshee,At least all the interfaces seem to emit events again after (I would think by modeswitch) the go away briefly14:33
smbsforshee, But as you say, there is no way to see from this what actions were started14:34
apwtgardner, yeah so -generic-pae and -server i guess14:34
apwactually perhaps it doesn't make any diff on 32 bit14:34
tgardnerapw, I'm not sure we want to support that many on generic-pae. I think tahts insane14:35
smbsforshee, I wonder whether that could be made visible by changing the loglevel of udev for a moment14:35
apwtend to agree.   ok i'll apply it just for amd64 server, how about virtual, you might be mad enough to have a lot of cpus; maybe14:35
apwsmb, whats the most cpus you can get in ec2 instancs ?14:35
tgardnerapw, I think we should leave -virtual alone for now until we run into a case where its really needed.14:36
apwtgardner, ack, just -server amd64 for now then14:36
sforsheesmb, any idea how that's done?14:37
smbapw, Bonkers, the doc say 20 ec2 compute units (which is 8 virtual cpu with 2.5 ec2 computeunits). Cant they write normal terms?14:37
apwheh 8 then, ok14:38
smbapw, but I think in essence 8 vcpus14:38
tgardnercertainly less then 6414:38
sforsheesmb, I found it, it's in /etc/udev/udev.conf. I'll look to see what kind of things get logged at other levels14:38
smbsforshee, There is also a way with udevadm14:39
smbsforshee, udevadm control --log-priority=debug14:39
smbor back to err14:39
sforsheesmb, that's even easier, thanks!14:39
=== sconklin-away is now known as sconklin
=== smb` is now known as smb
=== yofel_ is now known as yofel
sconklinhttps://launchpad.net/ubuntu/+source/linux/2.6.32-28.55/+buildjob/215961415:18
smagounpgraner: sconklin: Hi, OEM would like to request an SRU verification exception for https://bugs.launchpad.net/ubuntu/+source/linux/+bug/685015 . The patch has already been tested and signed-off by OEM QA in a custom OEM kernel. OEM no longer has access to the specific hardware for testing the patch in -proposed. We think the patch is a very low risk of regression - it affects only a single hardware variant.15:25
ubot2Launchpad bug 685015 in linux "[MAVERICK] Thinkpad Edge 13 External headphones/mic not functiona" [Low,Fix committed]15:25
pgranersmagoun, dude are we a bit late on this? the deadline was yesterday15:28
apwsmagoun, where is the custom OEM kernel, it would be good to know how similar to the one that was tested by oem-qa to know how valid that testing is15:29
vanhoofapw: its in oem-master15:29
vanhoofone sec15:29
smagounpgraner: yup, I realize that. We've been scrambling to try to find access to the hardware, and our last lead ran out yesterday at about 7pm ET. I understand that the upload happens today at 11am ET15:29
vanhoofapw: http://kernel.ubuntu.com/git?p=hwe/oem-master.git;a=shortlog;h=refs/tags/oem/kernel/sutton/0215:30
pgranersmagoun, yea in 30 min? 15:30
pgranersmagoun, I thought we were supposed to have two of everything in OEM QA? 15:30
smagounpgraner: In this case the vendor asked us to return the machines for use in a trade show15:31
pgranersmagoun, gotcha, let me talk to the stable team and get the thoughts there15:32
smagounpgraner: thanks, let me know if I can help15:32
pgranersmagoun, TBH I hate doing this cuz it sets a precedence, and we can't keep doing things like this15:32
smagounpgraner: I agree, I don't want to do this either. I'm out of options though, and I don't want an ubuntu update to cause a regression on hardware that ships with Ubuntu15:33
pgranersmagoun, and have it sustainable15:33
pgranersmagoun, ack lemme take the the team on risk and such15:33
pgranersmagoun, can you send an email to ubuntu-kernel asking for the exception and we will get the proper acks15:35
smagounpgraner: will do that right now15:35
pgranersmagoun, its not totally our decision we recommend and it has to be accepted by the release team make sure you cc: skaet 15:35
smagounACK15:36
sconklinand pitti15:36
smagounpgraner: mail sent to kernel-team cc skaet, pitti, and vanhoof15:55
pgranersmagoun, ack thanks15:55
ilmarihm, no updated drm-intel-next kernels since 2011-01-1316:03
apwJFo, hey17:21
kamalI'm looking for AKPM's (Andrew Morton)'s kernel git tree (is it still called the "-mm" tree?).  anyone know where I can find that?17:42
kamaloh... http://en.wikipedia.org/wiki/Mm_tree says that the -mm tree is now the linux-next tree, which I can find easily at kernel.org17:44
apwjjohansen, about ?17:46
jjohansenyep17:46
apwkamal, there is no git for it is there?17:46
apwjjohansen, you have three patches in our delta whch i am wondering if we still need or not17:46
jjohansenapw: shoot?17:47
apwUBUNTU: SAUCE: Improve Amazon EBS performance for EC2 (d4cd6a8bb5575a999e3ff8a4c28b79188e4e542a)17:47
apwUBUNTU: SAUCE: fix pv-ops for legacy Xen (43a5c4e9edd44daf3beaf563724d1fcd60de242d)17:47
apwUBUNTU: SAUCE: blkfront: default to sd devices (fe8b3202017eba2a51c805c6ed1d64e0f24bc47d)17:47
apwdo we need em?17:47
apwi suspect we do17:47
jjohansenUBUNTU: SAUCE: Improve Amazon EBS performance for EC2 yes17:47
jjohansengive me a sec to check the other ones17:48
apwcool then i can close off your task :)17:48
kamalapw: there is a git tree for -next :   http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=summary17:48
apwkamal, not sure that represents -mm though17:48
jjohansenUBUNTU: SAUCE: fix pv-ops for legacy Xen yes17:49
sforsheekamal, apw, http://userweb.kernel.org/~akpm/mmotm/mmotm-readme.txt17:49
sforsheemaybe this is what you're looking for?17:49
apwsforshee, thats my memory of where its at17:49
jjohansenapw: hrmm, I thought we reverted fe8b3202017eba2a51c805c6ed1d64e0f24bc47d17:49
kamalapw: oh I'm not sure of that either, but the wiki article impled that there just isn't anything called "mm" anymore17:50
apwjjohansen, let me check we may have17:50
jjohansenI know I tested reverting it and had problems, but smb picked it up17:50
jjohansenas I recall reverting it was working for him17:50
kamalsforshee: yes, I guess I stumbed upon that also, but that appears to be just a snapshot, and the git tree it points to is bogus17:51
smbyes it has17:51
apwjjohansen, yes it is dropped already, page out of date17:51
apw(page fixed)17:51
sforsheekamal, I think maybe all that's provided is a snapshot17:51
sforsheeiirc akpm maintains -mm as a patch series using quilt or something like that17:51
apwsforshee, indeed so, he is not a git-ter17:52
jjohansenapw: okay17:52
apwjjohansen, the third one looks needed to my eye too, concur ?17:52
kamalsforshee: ah, got it.  ok, anyway I think -next is what I'm really looking for.  thanks much!17:52
jjohansenapw: yep, its needed.  so two needed 1 reverted17:52
apwjjohansen, cool i'll do the admin, and you can forget about that task -> DONE17:53
jjohansenapw: actually I thought I had marked it DONE17:54
jjohansenapw: maybe I didn't hit save :(17:54
apwseems not... somehow, maybe it came back or something as i note its missing from those slipped too17:54
apwso its probabally a balls up elsewhere17:55
apwsconklin, about ?17:57
sconklinapw: yep17:57
apwsconklin, you have an open slipped A1 task "document officially supported flavours on a per release basis and who is responsible for those (eg ti etc)" ...17:58
apwi seem to remember you had done most of that somewhere along the line?17:58
sconklinhmmm. Let me look for the wiki page I made and the spreadsheet it came from. I'm not sure it's complete17:59
apw[jjohansen] PV on HVM support (XEN_PCI_PLATFORMDEV) turned on for all, requires testing: INPROGRESS17:59
apwjjohansen, is that testing done, is it something smb should be doing?17:59
jjohansenapw: done17:59
apwjjohansen, ok will close it off for you :)17:59
jjohansengah, I can't even get to it, I keep getting server error18:00
apwjjohansen, heh working for me, and now closed :)18:01
sconklinapw: here's what I had done https://wiki.canonical.com/KernelTeam/StableSupportMatrix18:03
apwsconklin, that looks pretty complete18:04
sconklinI'd be happy to have it marked as a completed task18:04
apwsconklin, if you added ti-omap4 and marked "patches from TI" i recon that one is closed18:04
sconklinok, which releases?18:05
apwnatty, and i think maverick18:05
apwsconklin, i'll assume you're adding those two lines and write it up and close it18:05
sconklinI can check. I am all up in maverick today18:05
sconklinapw will do18:05
apwsconklin, thanks ... i am glad to find we are not as far back as the items are sayng18:06
=== sforshee is now known as sforshee-lunch
sconklinyay18:06
sconklinanother reason to drink18:06
sconklinapw: done18:11
apwsconklin, great ... two more items down ... *smack*18:11
sconklinyou're channeling ogasawara18:12
apwsomeone has to :)18:12
apwJFo, about?18:13
apw[jeremyfoshee] look at arsenal scripts to nag the users:TODO18:14
apwyou have that one hanging about?18:14
apwsconklin/bjf, actually do you already have automation in place for nagging people to validate ?18:14
apw(in launchpad bugs; for stable releases)18:15
apwsconklin, also, do you know if victor has done any of these, i guess most of it would be output for your consumption:18:17
apw[vtuson] HW Cert team - provide a description of what testing they provide, and an idea of the number of hours required to run those:TODO18:17
apw[vtuson] to investigate which systems are "common" for cert testing:TODO18:17
apw[vtuson] blueprint for cert-team:TODO18:17
sconklinapw: yes, we have a nag script done18:18
apwsconklin, ok so shall i assign that to bjf or you, as i close it?18:18
sconklindon't know about victor's items. we've still been discussing the best platforms to use for test, but I haven't seen written docs that address the work items18:18
sconklinassign it to bjf AND close it.18:19
apwsconklin, sounds like not done then, hastle time :)18:19
apwsconklin, will do18:19
apw*smack* one more closed18:20
apwsconklin, you have been doing a git bisect haven't you ... recently ... wonder if you are going to document the how of it18:23
sconklinapw: it's not obvious by running "git bisect --help"?18:25
sconklinwell, I suppose that doesn't tell you what to do with the changelog, ets18:25
apwwell i suspect there is some hoop jumping when config is broken or changelog is ... yeah18:26
apwi personally just pull debian* from HEAD each time18:26
sconklinok, I'll document that. Won't touch the config broken case. with a pole.18:26
apwbut ... perhaps between us we need to document a sane way to make them18:26
apwi can add to it when done18:26
apwsconklin, we have a task for it, so i'll pencil you in on it18:27
sconklinok18:27
apw(its not urgent or anything)18:27
apwsconklin, uts i18:27
sconklinshould be part of newbie training anyway, and is potentially something anyone in the community can do for themselves18:27
apwsconklin, its on https://blueprints.launchpad.net/ubuntu/+spec/hardware-kernel-n-bug-handling18:28
apwsconklin, well you could instruct sforshee-lunch and pass it on to him too :)18:28
apwcnd about?18:29
sconklinIt'll be easy for me to do as I still have the bisect log and all that, and we have an example bug that shows testing. 18:29
cndapw, yep18:29
apw[chasedouglas] Investigate input-redirection patches:18:29
apwany idea whats going on with that?18:29
cndyou can close it out18:29
cndwe don't need it for natty18:29
apwcnd, excellent thanks18:30
apwcnd, gone18:31
=== sforshee-lunch is now known as sforshee
* tgardner --> lunch19:05
apwtgardner, i think that it is allocating memory for all possible CPUs, and as we have HOTPLUG_CPU=y that might mean all that you allow:19:11
apw *  If HOTPLUG is enabled, then cpu_possible_mask is forced to have19:11
apw *  all NR_CPUS bits set, otherwise it is just the set of CPUs that19:11
apw *  ACPI reports present at boot.19:11
apwtgardner, seems that this line in dmesg tells you how many pages per CPU you are allocating19:30
apw[    0.000000] PERCPU: Embedded 30 pages/cpu @ffff880001e00000 s91520 r8192 d23168 u104857619:30
apw(so 30 pages per CPU in my case)19:30
apwtgardner, and this line tells you how many 'possible' CPUs you have:19:33
apw[    0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs19:33
apwin my case 2 + 0 is how many 'possilble' bits are set19:33
apwfrom tangerine i see this:19:33
apw[    0.000000] SMP: Allowing 64 CPUs, 0 hotplug CPUs19:33
apwbut i think that is the maximum anyhow19:34
apwbut this is from tyler:19:34
apw[    0.000000] SMP: Allowing 24 CPUs, 0 hotplug CPUs19:34
apwso that implies, dispite the comments i pasted above, that actually it knows that no more CPUs can come, and its stopped at 2419:35
tgardnerapw, so, should we reconsider  HOTPLUG_CPU=y for very large machines?19:35
apwtgardner, if you read the rest of that, i think its lying when it says HOTPLUG_CPU will make all of them available19:36
apwcould you check the new machine?19:36
apwpm me if you prefer19:36
apwthe SMP and PERCPU lines from dmesg19:36
tgardnerapw, actually, tangerine should show the results we need19:36
apwtgardner, i thought it has 64 cpus, which is what the thing is set to19:37
tgardneror any 64 bit machine for that matter19:37
apwtherefore its not representative19:37
apwtyler there says 24, so i think we are ok19:37
apwbut i'd like to see your line from the thing with 256 set19:37
tgardnerI booted a kernel with NR_CPUS=25619:37
tgardnerok, gimme a bit19:37
tgardnerit takes about 5 minutes to boot19:38
apwtgardner, as far as i can tell that initla comment is out of date, if you look at prefill_possible_map19:39
apwit seems to take some account of HOTPLUG but only to enable 'disabled' processors in your acpi information19:39
apwso i think it really bounds out at what holes you have in the mobo19:39
tgardnerapw, agreed, though it looks like it rounds up to the nearest power of 2. I have a 6 core hyper thread, with 'NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:16 nr_node_ids:1'19:40
apwwhats the SMP line looks like19:41
tgardnerapw, actually, I'm mistaken. its a 4 core19:41
tgardnerSMP: Allowing 16 CPUs, 8 hotplug CPUs19:41
apwok so i thinks you have 16 real cpus int he machine and space for 8 more19:42
apwmy laptop for instance has 19:43
apw[    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:2 nr_node_ids:119:43
apw[    0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs19:43
apwso it would only be wasting room for two dispite NCPUS=6419:43
tgardnerhere is the 4 way server: SMP: Allowing 80 CPUs, 0 hotplug CPUs19:43
apwand dispite having HOTPLUG on19:43
apwso your bios is reporting 80 cpus!19:43
apwand no extra space ...19:44
apwso we are golden19:44
* jjohansen -> lunch19:47
* smb -> out20:11
bjfrtg, https://spreadsheets.google.com/a/canonical.com/ccc?key=0AgFTUDTDyXredE92dFdsVGkxN1FMMWJabS0wZENLRWc&hl=en&ndplr=1#gid=020:54
sconklinhttps://api.edge.launchpad.net/beta/bugs/cve/2010-308621:04
sconklinhttps://bugs.launchpad.net/launchpad/+bug/32256021:04
ubot2Launchpad bug 322560 in launchpad "Cannot lookup CVEs by name" [Medium,Triaged]21:04
bjfsconklin, https://edge.launchpad.net/+apidoc/1.0.html#cves21:05
bjfsconklin, that gets you a collection of cves21:06
bjfsconklin, https://edge.launchpad.net/+apidoc/1.0.html#cve21:07
sconklinyeah, and the data structure reflects what's in that page of cve info21:07
sconklinlooking at that now21:07
=== bjf is now known as bjf[afk]
sivanghi all22:22
sivangI hae a very strange behavior with LG T380 and maverick22:22
sivangthe keyboard misses keys while I type22:23
sivange.g. as if the keyboard interrupt is being ignored or blocked through the normal operation of the kernel22:23
sivangcan that be? What would be the way to solve this?22:23
sivanghttp://pastebin.com/PxKdQVh822:24
sivangthis is my cpuinfo22:24
sivangany lead will bemuchly appreciated22:24
=== sconklin is now known as sconklin-gone

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