/srv/irclogs.ubuntu.com/2009/12/03/#ubuntu-kernel.txt

=== bjf is now known as bjf-afk
dtchenjk-: after reading Grant's LWN article, I thought I'd mention (in its comments) that you should check out the patch format expected by snd-hda-intel if you don't already know of it.02:23
whatchasay!ops03:39
ubot3Help! lamont, zul, T-Bone, mdz, or jdub03:39
whatchasayk-line me03:54
Kanohi apw , 2.6.32 final is out, when will it be rebased?09:12
* apw notes that he has a robot which tells him when its out09:13
apwrebase is planned for today, likely tested and availble tomorrow09:14
Kanoi only need git09:14
=== chuck_ is now known as zul
Kanohi tormod 13:18
tormodhi13:19
Kanodo you have got a gt220 to test?13:25
Kanojust thinking of a kernel patch13:25
Kanoi just dont know if it is a 2ch or 8ch device13:26
Kanofor the hdmi port13:26
tormodI even don't know what a gt220 is :)13:26
Kanonvidia13:26
tormodoh I have close to zero experience with nvidia13:26
tormodthey are a bad OSS player13:27
Kanowell i only have got ssh access to it, but after rebase of .32 i will compile a kernel with experimental support13:27
Kano2ch i try first...13:27
tormodI have one lab computer with it, running happily with nv and I don't touch it13:27
Kanoonly the dx10.1 cards have got integrated hdmi soundcard just like ati13:28
Kanothere is a simple patch in one board, but not against .32 as there you have to select 2ch or 8ch13:30
Kanohttp://www.vdrportal.de/board/thread.php?postid=85355813:30
Kanothe rest is the same13:31
Kanowell will take break and hope then the git is up2date ;)13:34
Kanobbl13:34
abhinavhow do I find out if a particular commit in the kernel has made it into the one being used in karmic ? I am interested in knowing whether this is solved in my current karmic installation : http://lkml.org/lkml/2009/5/3/14113:34
rtgabhinav, git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git ?13:35
abhinavrtg: do I just copy paste the above in a browser ? 13:36
rtgabhinav, for that use http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-karmic.git;a=summary13:37
apwjjohansen, any changes to -ec2 pending, am about to rebase it13:43
jjohansenapw: nope13:44
apwgood stuff13:44
jjohansenwith .32 going final I expect there will be some updates with in the next week or so13:45
apwi am just abuot to rebase it to there, and we'll seee if it builds13:46
tormodapw: [drm] radeon defaulting to kernel modesetting.14:12
apwtormod, ?14:13
tormodwhen did this happen? I think a post to ubuntu-x would have been appropriate? Or mention in changelog?14:13
tormodapw, you know that our user-space does not support it yet?14:13
apwi was told the opposite14:14
tormodhmm14:14
apwat the UDS session which discussed it14:14
tormodthere are a few quirks, see https://wiki.ubuntu.com/X/RadeonKMS14:14
apwthats not helpful ... can you confirm its not going to work, as i am about to upload and can turn it back off14:15
tormodI guess whoever told you at UDS, meant "should be generally supported"14:15
apwthat page doens't say its not supported in userspace, it just says to use a lucid kernel to enable it14:16
tormodwhat happens now is that X start, causes loading of radeon, but checks for KMS support before it is there14:16
tormodread on14:16
tormodso X goes on to think there is no KMS and does its own modesetting as well...14:16
apwhrm, what a mess.  14:17
tormodshould not be a big problem to fix it, but now with KMS on by default it will become so much more urgent14:17
apwso do i leave it enabled to encourage you x-types to fix it :)  or do i turn it off again14:18
tormodupstream/fedora admitted they gave up to make it switchable by user14:19
tormodyou see my upstream hack on that wiki page, we could do something like that for now14:20
* apw is unimpressed. i was getting messages that radeon kms was ready14:20
apwi am uploading a rebase kernel shortly which will be whats in alpha1 most likely14:21
tormodthe radeon part yes, lucid no14:21
apwso i need a decision on whether its on or off for alpha-1 i guess14:21
tormodhow much time do we have on that decision?14:22
apwi was planning the upload in a couple of hours, but i can hold it a while14:22
apwbut we're unlikely to get another upload in after that before alpha-1 14:22
tormodI have been forcing KMS on manually for so long, so I missed the change in kernel configuration14:23
tormodwhich, again, was not mentioned in the changelog AFAICS14:24
tormodapw, I wonder how this works so effortlessly with intel, any clue?14:26
apwintel put a lot of effort into it?14:27
apw  * Revert "SAUCE: default ATI Radeon KMS to off until userspace catches up"14:27
apwthat was the first changelog entry on 2.632-6.714:27
apwok the freeze is tuesady ... the kernel takes about 2 days to get into the archive, so i need to get it up tommorrow at the very latest to hit the deadline14:28
tormodapw, wow that was 2.6.31-2.15 so long back I did not even look14:29
apw?  no we defautled it off back then14:29
apwi undid the off so it defaults to the default of on, for the previous lucid upload14:29
tormodapw, oh yes sorry14:29
tormodapw, and the un-SAUCE did not get mentioned14:30
apw?14:30
apwwhats an un-sacue14:30
tormodthat revert, I don't see it14:31
apwi cut that from the published changelog14:31
apwhttps://edge.launchpad.net/ubuntu/+source/linux/2.6.32-6.714:31
apwbut yes, i should have put more info in the annoucenment14:32
apwi thoought bryce was aware and ready for it14:32
tormodI am reading /usr/share/doc/linux-image-2.6.32-5-generic/changelog.Debian.gz14:32
apwthats -5 ?14:32
* tormod hides14:33
tormodso I understand it just happened14:34
tjaaltontormod: what exactly are we missing from userspace?14:34
apwyep, we had a UDS discussion on it and it was an action on the kernel team to turn it on14:34
tormodsomething that makes sure kms is initialized before starting X14:34
apwso i turned it on :)14:35
tormodapw, ok good boy :)14:35
apwseems that the action should have been 'wait for userspace to be ready, and turn it on'14:35
tjaaltonso we just need to fix it before tuesday? :)14:35
tjaaltonuserspace that is14:35
tormodtjaalton, yes, and make sure we know we can fix it by then, today14:35
apwyou need to decide if you can fix it by tuesday, by tommorrow am14:35
tjaaltonah, right14:36
tjaaltonok14:36
tjaaltonplenty of time14:36
tormodyes I would say it should not be a problem14:36
apwthe sooner the better, as if i have to respin all the kernels i've just done, i have a days work to do14:36
apwand its has to be done by tommorrow end14:37
tjaaltontormod: so it's the ddx that needs to be taught about kms if it's enabled?14:37
tjaaltontormod: maybe we should move this to #ubuntu-x14:38
tormodtjaalton, yes the ddx checks the sys tree, but does it too fast14:39
rtgapw, I wouldn't hold up everyone else for Radeon KMS issues. I suggest going with what is enabled in user space right now, and we'll get to it after A1.14:39
apwso i'll re-disable it then ...14:40
tormodrtg, we have known user-space workarounds though14:40
rtgapw, Bryce should be online in an hour or so. This is a config issue, so should not affect your rebase against 2.6.32, right? You can consult with him as well.14:43
apwrtg the rebase is done and ready for upload, pending this change ... so yep will wait on bryce14:44
apwKeybuk, about?15:14
Keybukapw: yes :p15:34
apwKeybuk, i have a patch which makes kms init async whcih is one of the boot performance patches that have been suggested15:35
Keybukwe have the drm stuff as modules15:35
Keybukdoes it make much a difference there?15:35
KeybukI would have thought that's the kind of patch that'd only make a difference if you compiled the driver in15:36
apwKeybuk, to be honest i have no idea, tseliot claimed so ... but the issue i was seeing with it15:36
apwwas that the intereaction with the probe of vga16b ...15:37
apwi was getting that loading before the fbcon0 and losing kms as a result15:37
apwand i hear radeon may already be async15:37
apwso just wanted to make you aware15:37
mjg59You're seriously falling back to vga16fb?15:38
Keybukmjg59: can you think of a better *fb to fall back to?15:43
mjg59Well, if falling back to an fb is a design requirement, vga16fb is the best choice15:43
Keybukapw: yeah, that's the kind of issue I would have expected15:43
mjg59There are some machines we never got it working on, though15:43
Keybukas long as the module init claims the device, it's fine15:43
Keybukmjg59: right, it's the best fallback that avoids text mode15:43
Keybuk16 colours is enough for a little B&W ubuntu logo in the middle15:43
mjg59Yeah15:44
Keybukand that was enough for me to persuade Mark that we really should kill usplash now15:44
mjg59Using Plymouth?15:44
Keybukthe "text mode if you don't have KMS" was always the big issue with plymouth15:44
Keybukright15:44
mjg59You've taught it to use vga16?15:44
Keybukmjg59: didn't take much teaching15:44
Keybukplymouth already had a frame-buffer backend15:44
Keybuk(as well as the DRM one it uses for KMS)15:44
mjg59Yeah, it's just a matter of writing the right kind of packed stuff15:45
mjg59Unless you want to do scrolling15:45
=== bjf-afk is now known as bjf
mjg59Adding extra things to bogl's vga16fb backend wasn't fun15:45
Keybukyeah I stole some code form bogl to that15:45
Keybukbut tbh, we literally just paint a logo etc.15:45
Keybukso it wasn't hard15:45
mjg59Yeah, it shouldn't be too much of a problem15:46
mjg59I just wish I knew why it failed on the VIA craptop15:46
KeybukI have it using a special plugin rather than the default, etc.15:46
Keybukapw: so, on the whole ISA thing I missed15:46
Keybukmjg59's memory matches my own15:46
Keybukwe use PNPACPI on ACPI-based systems, which have acpi:PNP* module aliases15:46
Keybukand we use PNPBIOS on non-ACPI systems, which *you* patched to have the pnp:PNP* module aliases :p15:46
Keybukso I'm not sure if we even use ISAPNP for anything15:47
Keybuklike mjg59 says, no module would get auto-loaded as a result of having it15:47
Keybukdo you need it if you force-load a sound card module? 15:47
mjg59Yes, if you want automatic resource allocation to work15:47
Keybukwill they not use the PNPACPI or PNPBIOS code?15:48
mjg59Not if it's an ISAPNP device15:48
mjg59Ie, plugged into an ISA slot, not just an on-board ISA device15:48
Keybukright15:48
Keybukold sound blaster stuff15:48
mjg59Yeah15:48
mjg59Which, well15:49
Keybukwould there be a problem with doing isapnp_init as an async thing?15:49
mjg59I was going to say "You'd need to do it before any ISA drivers tried to allocate resources", then realised that those drivers won't bind unless (a) isapnp_init has run, or (b) the user has supplied module options, in which case you don't need the pnp code15:50
=== hggdh_ is now known as hggdh
Keybukso the question there would be, would the module load fail?15:53
Keybukor would the module load, and leave the driver unbound15:53
* Keybuk suspects the former15:53
mjg59What would trigger the module load?15:54
mjg59Are you ever going to load a module before the async calls have finished?15:54
Keybukone assumes /etc/modules16:02
Keybukso no16:02
Keybukthe only issue would be if someone compiles in a driver16:02
Keybukand if they're doing that, they'll probably fail to base it off the ubuntu kernel source anyway16:02
mjg59If it's compiled in, it won't be bound until isapnp discovery is complete16:03
mjg59Because otherwise it's got no way of knowing that there's hardware for it to bind to16:03
Keybukgood point16:03
Keybukso there shouldn't be any risk then16:03
mjg59Right16:03
apwi cna say i tried to make the call async and got a big fat hang16:27
apwKeybuk, ^^16:27
Keybukwhat was the hang?16:30
apwdidn't investigate yet, it was a hard hang under usplash16:31
Keybukhuh16:36
Keybukthat's odd16:36
Keybukusplash doesn't tend to run until after the kernel16:37
apwKeybuk, yeah that doesn't make sense now does it16:37
apwi'll need to redo that test 16:37
Keybukare you sure you didn't just trip into one of our other bugs that happens from time to time? :p16:37
apwno not at all sure16:37
Keybuklike the gdm-not-starting one? :p16:37
apwKeybuk, heh perhaps16:38
apwKeybuk, i will go for a repeat test16:41
=== chuck_ is now known as zul
=== hggdh_ is now known as hggdh
* BenC1 is unimpressed that so many pata/sata drivers are built in to the kernel now19:52
BenC1especially considering I am getting conflicts between two drivers that I cannot resolve because I cannot blacklist/unload a module19:52
=== chuck_ is now known as zul
rtgBenC1, you've been sacrificed on the alter of boot speed.19:55
BenC1rtg: libata+ahci is good for boot speed19:55
BenC1rtg: pata-acpi built-in is not :-/19:55
BenC1in fact, pata-acpi is a failsafe, why it's built-in is not even clear to me19:56
=== BenC1 is now known as BenC
rtgcould be it just got peanut buttered into the general effort to improve boot performance by building inn boot essential devices.19:56
BenCrtg: there's like bcollins@maclara:rce/stuff/ubuntu-karmic$ grep 'CONFIG_SATA_.*=y' /boot/config-2.6.31-15-generic  | wc -l19:57
BenC1219:57
BenCbcollins@maclara:rce/stuff/ubuntu-karmic$ grep 'CONFIG_SATA_.*=m' /boot/config-2.6.31-15-generic  | wc -l19:57
BenC319:57
BenCrtg: I mean really, why not just build them all in at that point?19:57
rtgBenCis nVidia one of them? I think it  was a problem driver19:58
BenCrtg: nv is built-in, but I am not running that19:58
rtgnope, VIA, MV, and SVW19:59
BenCrtg: my problem is I have a promise card that pata-acpi is stepping all over19:59
rtgBenC: send a patch, maybe Stefan will SRU it.20:00
BenC$ grep 'CONFIG_PATA_.*=y' /boot/config-2.6.31-15-generic | wc -l20:00
BenC3320:00
BenCthat one just scares me20:01
BenCrtg: well, I haven't even verified that removing pata-acpi will fix it, but finding out will take a kernel recompile20:02
rtgBenC: I assume you remember how :)20:02
johanbrDo the mainline kernel builds have as much stuff built-in?20:02
BenClol20:02
rtgjohanbr, likely, though I haven't looked too close. I'm pretty sure Andy started with an Ubuntu config to build the mainstream kernel.20:03
smbYeah he does20:03
smbBase is the current ubuntu config + anything new used with default values20:04
BenCrtg: I really hope you guys revisit this idea...I was pretty sure when we discussed this initially that the idea was to only include actual hardware drivers that would benefit the large majority of users20:05
BenCtossing in random things doesn't seem helpful at all20:05
smbBenC, help us to remember with mails to the list. Its less volatile than irc20:08
BenCsmb: this was all discussed at UDS/jaunty, IIRC20:09
rtgBenC: I got no problem with that. Its likely I didn't understand the ramifications of building in the PATA stuff.20:10
smbMe neither. It just better to have somewhere a written down explanation to ourselves as we tend to forget things20:12
BenCsmb, rtg: Filed a general bug on the subject of built-in storage drivers20:36
BenCBug #49207820:36
ubot3Malone bug 492078 in linux "Building in random drivers hurts the majority" [Undecided,New] https://launchpad.net/bugs/49207820:36
rtgBenC ack20:37
smbok, ta20:37
dyekHi! I want to run Ubuntu 9.10 as Xen guest on top of Fedora 12's Xen VM (considering 64-bit Xen host or alternatively 32-bit). Does anybody know if standard Ubuntu desktop kernel support Xen guest? If not, is it easy to accomplish what I want?21:56
rwthello23:01
jjohansendyek: it should run fine as a pvops guest23:10
dyekjjohansen: Thanks! It sounded like I can just use Cento5's Dom0 (recent Fedora release is still missing Dom0 support) and run Ubuntu desktop as one Xen guest. I'll try it out. 23:19
jjohansendyek: yeah it should work, I have booted as a guest under Centos523:20
dyekCool! Thanks!23:21

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