/srv/irclogs.ubuntu.com/2008/08/12/#ubuntu-kernel.txt

lagasilly question, but i'm not a kernel hacker. if i add stuff to debian/config/$arch/config, do these needs corresponding entries in ubuntu/aufs/Kconfig?00:01
BenClaga: yes00:16
benjehello is the kernel source in hardy include patch rt ? to compil 00:29
BenCbenje: there's already a linux-image-rt package you can install in hardy00:39
benjeBenC, this version of kernel doesn't work for amilo 00:39
benjebut the patch is in source trying apply new tellit ;) 00:40
benjeBenC, amilo don't get dvd working cause of pciide share irq options when get it off dvd working now i try to get sound card i get problem with compiling alsa-sources i retrying00:41
benjewith new fresh compil 00:41
benjeafter we solve compilation of alsa with this kernel i post it until fix is commited00:42
Kanohi, did somebody tell linus that paravirt enabled does not let fglrx + nvidia compile without a tricky hack?01:11
Kanowith 2.6.2701:11
Kanogpl only error...01:11
Kanofor exports: pv_cpu_ops and pv_lock_ops may not be gpl only01:12
Kanonow i know a trick that can compile any driver with gpl only symbols, but i dont know if that is ment to be used ;)01:14
Kanothink about it...01:15
BenCKano is so smart...none of us could have figured out how to make a module fake being gpl compatible to circumvent in-kernel license enforcement03:31
* lifeless snorts03:33
=== rikai_ is now known as rikai
nightwishlog08:08
=== thunderstruck is now known as gnomefreak
Kanohi rtg 14:38
Kanodid you try binary 3d drivers with 2.6.27 yet?14:38
rtgKano: I'm not working on 2.6.27, try BenC14:40
Kanowhy are you always the last with a commit then ;)14:40
BenCKano: I don't use them14:40
KanoBenC: you should,becauce it is critical currently when you want to use em14:40
BenCThat makes no sense14:41
Kanoboth fglrx and nvidia run into gpl-only problem14:41
Kanowhen paravirt is enabled14:41
BenCWell, I'm not disabling paravirt14:42
Kanothe changes needed to make the drivers compile are small14:42
Kanothen 2 symbols my not exported as gpl only14:42
BenCAnd I'm not changing upstreams decision on EXPORT_SYM_GPL()14:42
Kanomay14:42
Kanothese are wrong14:42
BenCThen get upstream to change them14:42
Kanotell upstream to do so14:42
BenCand acknowledge that14:43
Kanoif you want to be able to use binary drivers without extra hacks14:43
BenCYou're the one worried about it, don't boss me around to take care of the things you care about14:43
Kanowell YOU should be worried about because YOU dont want to patch it. and ia sure ubuntu users want to use those drivers!14:43
BenCAs far as I know, nvidia binary driver is working fine right now14:44
Kanoi know how to compile em and get around the problem14:44
BenCKano: does this only affect 2.6.27?14:45
Kanoyes14:45
BenCThen I don't have time for it right now14:45
Kanoa 2 line change14:45
BenCKano: A two line change the breaks the license of the GPL14:45
Kanopv_cpu_ops and pv_lock_ops are needed14:46
BenCEmail linux-kernel@vger.kernel.org14:46
NgBenC: the 2.6.27-rc2 kernel you pointed me at yesterday seems fine, audio works as well as it was from my own build of alsa (everything except the digital mic, which the alsa guy didn't manage to get working) :)14:46
BenCexplain this to them...14:46
BenCNg: excellent, thanks14:46
Ngnp, I hope this helps the quest for latest and greatest alsa in intrepid ;)14:46
KanoBenC: whre in the gpl it is broken when you change the code? you only have to publish the changes!14:46
BenCKano: if you change a GPL-only export for the sake of a non-GPL compliant module to use, that is definitely breaking the license14:47
KanoBenC: show me the line in the licence14:47
mjg59Kano: Changing the export is legal. However, it indicates that the third party module is illegal.14:48
mjg59If you're doing it in order to distribute the third party module along with the kernel, that's almost certainly illegal.14:49
Kanohow about compile tricks to avoid the problem?14:49
BenCKano: end-users are free to do what they want to get it to compile...however, we (as in Canonical) are not willing to put ourselves at risk of just the community backlash that it would incur14:50
mjg59No. If a closed module needs a symbol that's under EXPORT_SYMBOL_GPL, that indicates that the closed module is a derivative work of the kernel.14:50
mjg59Therefore there is no way to distribute that module unless you also distribute source.14:51
Kanomjg59: well ti was not when the module was introduced14:51
mjg59Kano: So?14:51
mjg59EXPORT_SYMBOL_GPL is a hint, not a technical protection mechanism14:51
Kanomjg59: so when you distribute it as source like you use dkms then it is legal?14:51
mjg59If the module is available under license terms compatible with the GPL, then that's fine14:52
BenCKano: the entire kernel has been GPL'd since it started...anything compiled against it is generally considered a derivative work14:52
mjg59In which case it should simply have a MODULE_LICENSE header that indicates it's under a GPL-compatible license14:52
KanoBenC: well but linus never wanted that you can not use 3d drivers14:52
Kanoand never forced nvidia to opensource the driver14:53
BenCKano: He doesn't care whether it's a 3d driver or not14:53
mjg59Linus didn't think that the nvidia driver was a derivative work of the kernel14:53
BenCThat's mainly because the binary blob was not written for Linux14:53
mjg59But Linus isn't the only copyright holder of the kernel14:53
Kanowell binary drivers usually are binary blobs + a wrapper to get integrated into the kernel14:54
BenCKano: which is just re-exporting functions, which is even more devious, and doesn't shield from being a derivative14:54
Kanohttp://www.nvnews.net/vbulletin/showthread.php?t=117209&page=214:55
Kano17+2314:56
Kanotake a deep look into 2314:57
lagaBenC: it seems you removed some files from the aufs tree when you integrated it, like br_nfs.c. was that intentional?14:59
KanoBenC: besides that, did you notice that rt2x00 does not compile?14:59
=== superm1 is now known as superm1|away
KanoBenC: and one last thing: why do you need 686 optimizsation,you gain no speed with it, you only make it impossible to boot the system with amd k6-(2/3) which are fast enough when they have got enough ram15:21
Kano586 is really enough15:22
BenCKano: rt2x00 compiles for me locally15:23
Kanocompiling again your git, when i tried last it did not work nor did it work with an addional git pull from master15:32
Kanoin master there is ath9k btw15:32
BenClaga: I probably removed it because we weren't compiling it in15:33
lagaBenC: i'll add it back then. 15:38
lagai'm getting an error which prevents me from building the intrepid kernel: http://pastebin.ca/116807615:38
lagahow can i resolve this?15:38
tseliotKano: if there are problems with the nvidia driver you should talk to me, since I'm the new maintainer. If something doesn't work I can write a patch for it. Any links to the issue?15:38
Kanohttp://www.nvnews.net/vbulletin/showthread.php?t=117209&page=215:39
Kanothe hack at 23 is only needed because the exports are gpl only15:39
Kanothe hack works perfectly, maybe too good ;)15:40
Kanoi patched the legacy nvidia drivers myself and fglrx 8-7 too15:40
Kanoall work now15:40
Kanobut you need that hack which should not be the case15:40
Kanocorrectly it has to work when the official patch at 17 is applied15:41
tseliotKano: ok, thanks, I'll have a look at it15:43
Kanoif you want the patch for the legacy drivers just tell me15:43
tseliotKano: thanks but I'm waiting for NVIDIA to make them compatible with the new Xorg first ;)15:44
Kanolegacy 3 aka 173 is compatible15:44
Kanoso 2/415:45
BenClaga: that pastebin is just a warning15:45
Kanotseliot: try my script with -v 3 option15:46
tseliotKano: I don't consider 173 legacy yet since 177 is still beta15:46
Kanoit is legacy because new cards dont run with 17315:46
Kanoit is for geforce 5 series only needed15:46
Kanogeforce 6+ run with 17715:47
tseliotKano: I know ;)15:47
Kanoalso the legacy definition is from nvidia15:47
tseliotI know this too15:48
Kanothen change you mind15:48
tseliotKano: I know it's a legacy driver but I still find it funny that NVIDIA has no non-legacy stable driver. That's all.15:50
KanoBenC: i dont know what you have got locally but when i check it out it get this: http://paste.debian.net/1459615:50
BenCtseliot: will 177 supercede 173, or does it drop support for things that are in 173?15:50
tseliotBenC: it adds the support for some cards and drops a series15:51
BenCKano: I don't know what you have, but it isn't the latest git...I reverted the patch that causes that15:51
BenCtseliot: nvidia is too quick to drop support, IMO15:51
KanoBenC: i checked it out 30 min ago!15:51
=== superm1|away is now known as superm1
BenCKano: Then you need to fix something...line 1127 in my tree is an empty line15:52
Kanoi can not fix anything, i only did a checkout of the official ubuntu-next git15:53
Kanomaybe you did not publish your change?15:54
BenCKano: confirmed at http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-next.git;a=blob;f=drivers/net/wireless/rt2x00/rt2x00dev.c;h=f42283ad7b023b697e4aa9375b5c01557ae54f2b;hb=HEAD15:54
tseliotBenC: I see your point but fortunately (for users, not for me...) they keep supporting legacy drivers15:54
BenCKano: no, it's definitely there...the problem is on your end15:54
KanoBenC: i wiped out the whole tree, it is a new checkout. maybe git is broken15:55
Kanocant you do a checkout on your system and try it15:55
Kanoi am sure i did not change a line myself in that driver15:56
BenCKano: I did a checkout already15:56
BenCto confirm15:57
BenCKano: it's a problem on your end15:57
BenCKano: git-pull and see what happens15:57
Kanoalways at the same file for every checkout?15:57
lagaBenC: you were right about the warning ;) i scrolled up and it showed me the real error15:59
lagaBenC: it looks like the kernel still needs patching for aufs. but that's just to make some functions public16:20
lagabut the symbols don't have to be exported anymore16:20
BenClaga: CONFIG_FS_AUFS=y16:20
lagayes. it still needs patches, or it won't compile.16:21
BenClaga: Ah, if we have to patch s/static// anyway, then we might as well export16:21
BenCOnly reason for doing =y was to avoid patching16:21
lagathat'd be good because it would allow aufs to work as a module, too.16:21
Kanowell i made already live iso images with 2.6.27 ;)16:22
lagais there any reason not to have a full-blown aufs module like in hardy?16:22
KanoBenC: what do you think about 586 not 686 like hardy?16:23
=== asac_ is now known as asac
BenClaga: Other than not liking to hack the hell out of the kernel, no16:24
Kanoi dont think that 2.6.27 should require a new system, that will break many old systems during upgrade16:24
lagaBenC: okay, then i will get a complete copy of the checkout you had back then, apply the kernel patches and submit it to you?16:29
KanoBenC: now you pushed some new things which introduced a new error, could you please update your system clock, you always changes things in the past16:32
Kanoyou added gfs which included asm/semaphore.h, but the new position is linux/semaphore.h16:32
Kanoyou definitely changed things at max 1 h ago and still it shows last change was 21h ago16:33
KanoBenC: http://paste.debian.net/1460016:34
BenCKano: it's not system clock, it's called a rebase16:36
Kanosure and then the error is on my end, clear...16:37
BenCKano: let me make this perfectly clear...2.6.27 is not my primary work...I do it to make things easier in the future16:38
BenCKano: if you are depending on it to produce some whack off-shoot of Ubuntu, then you'll just have to live with my delays16:38
lagaBenC: so would you be OK with including a complete copy of the source? that'd also make upstream happier i suppose16:44
lagaerr, complete copy of the source == everything that normally lives in aufs/fs/aufs/ in the upstream source.16:44
BenClaga: sure16:45
KanoBenC: could you fix that new error?17:05
BenCKano: yes, I will fix it17:09
Kanocan i wait for it17:10
BenCYou sure can17:22
Kano1 h or less17:23
alex_joniKano: it probably happened already17:23
Kano22h ago?17:24
alex_jonibut since the clock is off.. it probably hasn't :D17:24
alex_joniit depends how fast and in what direction you are travelling atm17:24
Kanoi thinks so...17:24
=== mkrufky is now known as mkrufky-away
hyperairBenC, which linux-restricted-modules-common should i download in order to get the iwlwifi-4965-2.ucode firmware?18:34
BenChyperair: 2.6.26-5.1218:34
hyperairthanks18:34
hyperairi suppose i'd need to install he 2.6 kernel with it?18:35
hyperairsorry 18:35
hyperairi meant 2.6.2618:35
BenCNo, it will work with 2.6.24 as well18:36
hyperairi see. okay.18:36
BenCbut since iwlagn is only in 2.6.27, it doesn't make much sense to download it for anything else18:36
hyperairhahah18:36
hyperairwell. 18:36
hyperairi did download the 2.6.27 kernel from kernel.ubuntu.com18:37
BenCthat will work then18:47
=== mkrufky-away is now known as mkrufky
KanoBenC: http://paste.debian.net/1461621:20
=== rikai_ is now known as rikai
lagaBenC: when you added aufs, did you use fs/aufs or fs/aufs25 from the upstream source tree?21:42
lagaBenC: i got a checkout from sourceforge from the same date as you (according to BOM) and i'm seeing lots of changes.21:44
lagaBenC: aaah, your checkout was probably too early for that monday release21:45
Kanowell 2 extre LM flags are missing...21:48
Kanoi dont know why you need gfs21:49
Kanojust disabled it and it compiled...22:49
=== superm1 is now known as superm1|away

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