=== joefso23jh [n=joefso@ip503d4396.speed.planet.nl] has joined #ubuntu-kernel === shwag [n=steven@static-71-165-111-2.lsanca.dsl-w.verizon.net] has joined #ubuntu-kernel [12:36] what kernel does dapper server install by default ? [12:37] the -server kernel [12:37] what is the difference between linux-image-686 and linux-686-smp ? they both actually appear to be SMP [12:43] with and wihtout preempt? [12:43] -smp is a meta-package [12:44] I pulled 2.6.19 from git today [12:45] and I got: http://pastebin.ca/270903 [12:45] to make sure those who had an smp kernel in previous versions of Ubuntu didn't get stuck with an old useless kernel after an upgrade [12:45] (while building the same config from 2.6.19 feitsy) [12:45] s/the/with the/g [12:47] shwag: almost all kernels are smp-ready since dapper [12:47] joefso23jh, so? [12:48] is there any fix? [12:48] Yah it looks like, linux-686-smp is preemt ... while linux-image-server is not preemt. [12:48] it's in git. not uploaded. [12:48] so it's known? [12:48] why don't you go get the source from feisty. [12:48] cause packages.ubuntu doesn't seem to be uptodate [12:49] uhh...how do I safely remove linux-686-smp from my system ? [12:50] apt-get remove --purge ? [12:52] joefso23jh: will that put grub back properly ? === joefso [n=joefso@ip503d4396.speed.planet.nl] has joined #ubuntu-kernel [12:59] i use synaptic its much neater for kernel removal i have found === qhartman [n=qhartman@12.111.169.2] has joined #ubuntu-kernel [01:01] Intel has released a security advisory about a buffer overflow in their e100/e1000 nic drivers at http://support.intel.com/support/network/sb/CS-023726.htm [01:02] this seems to affect Ubuntu, given the versions they mention. === qhartman [n=qhartman@12.111.169.2] has left #ubuntu-kernel ["Leaving"] [01:14] so I installed a kernel image and now I regret it. How do I put grub back to the old kernel ? === rikai [n=rikai@unaffiliated/rikai] has joined #ubuntu-kernel [01:24] common team...that should be an easy question. [01:28] shwag: you can select a kernel for the next boot with grub-reboot (check man grub-reboot). [01:28] shwag: reboot and select the older kernel to boot. Then remove the new kernel with 'sudo apt-get --purge remove linux-kernel-(version of the new one)'. The grub entry will be removed automagically [01:28] shwag: this is not a support channel... [01:28] my bad === shwag [n=steven@static-71-165-111-2.lsanca.dsl-w.verizon.net] has left #ubuntu-kernel ["Leaving"] [01:29] and tehre is no kernel in the -smp package === marcin_ant [n=marcin@194.114.146.126] has joined #ubuntu-kernel === zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel === datten_ [n=datten@xdsl-81-173-180-223.netcologne.de] has joined #ubuntu-kernel === anibal [n=anibal@debian/developer/anibal] has joined #ubuntu-kernel === datten_ is now known as datten === doko_ [n=doko@dslb-088-073-080-165.pools.arcor-ip.net] has joined #ubuntu-kernel [04:53] Paravirtualization support (EXPERIMENTAL) (PARAVIRT) [N/y/?] (NEW) [04:53] yummy [04:58] 10. Core 2/newer Xeon (MCORE2) (NEW) [04:58] hmm...wonder if it's worth it to do a Core2 kernel [05:04] Doubt it === johanbr [n=j@blk-89-201-184.eastlink.ca] has joined #ubuntu-kernel [05:25] BenC: building with dpkg-buildpackage did indeed get rid of the -rel- like you said. [05:26] But now it has the identical name to Ubuntu's package. [05:27] Is there any easy way to insert my version in the package name? [05:27] Something like EXTRAVERSION = .14-ubuntu1-vs2.0.2.1 [05:28] ... actually, I think I know the answer. I need to add a changelog entry? [05:30] Is there any way with dpkg-buildpackage to only build 386? These 5 hour compile cycles are killing me! [05:51] bronson: rm configs you don't want from debian/config/i386 [05:51] BenC: thanks. === _human_blip_ [n=mike@220.157.65.29] has joined #ubuntu-kernel === rikai_ [n=rikai@unaffiliated/rikai] has joined #ubuntu-kernel === Game_Ender [n=jlisee@220.242.171.66.subscriber.vzavenue.net] has joined #ubuntu-kernel [07:00] Is this the proper channel to discuss compiling a kernel module from upstream? [07:01] I am looking at the Attansic L1 Ethernet driver [07:02] yes, I think so [07:04] Can someone point me the right direction of what I would do with patch set once I get it? [07:05] The driver is being worked on as a patch for 2.6.19 [07:05] So I could remove my current kernel module (compiled from the source on my motherboard CD) [07:06] then try to apply the patch to ubuntu kernel module [07:06] I would then have to configure the entire kernel to build that one module correct? [07:12] well its off to sleep [07:12] I should probably try when its not 11PM - 1AM in the US === joefso [n=joefso@ip503d4396.speed.planet.nl] has joined #ubuntu-kernel [07:35] CC [M] ubuntu/misc/dm-bbr.o [07:35] ubuntu/misc/dm-bbr.c:102:59: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 [07:35] ubuntu/misc/dm-bbr.c: In function 'bbr_alloc_private': [07:35] ubuntu/misc/dm-bbr.c:102: error: 'INIT_WORK' undeclared (first use in this function) [07:35] ubuntu/misc/dm-bbr.c:102: error: (Each undeclared identifier is reported only once [07:35] ubuntu/misc/dm-bbr.c:102: error: for each function it appears in.) [07:35] make[3] : *** [ubuntu/misc/dm-bbr.o] Error 1 [07:35] make[2] : *** [ubuntu/misc] Error 2 [07:35] make[1] : *** [ubuntu] Error 2 [07:35] i'm trying to compiles 2.6.19 on edgy [07:35] using make oldconfig [07:35] however, it fails as we see === joefso [n=joefso@ip503d4396.speed.planet.nl] has joined #ubuntu-kernel === Lure [n=lure@external-7.hermes.si] has joined #ubuntu-kernel === dade` [n=dade@nectarine/admin/dade] has joined #ubuntu-kernel === gebruiker [n=gebruike@81.58.38.138] has joined #ubuntu-kernel [09:15] 2.6.19 doesn't build on edgy [09:22] I think it does [09:23] YOU THINK? [09:23] jeejz [09:24] yes I can think === Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-kernel [09:30] ubuntu/misc/dm-bbr.c:102:59: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 [09:30] ubuntu/misc/dm-bbr.c: In function bbr_alloc_private: [09:30] ubuntu/misc/dm-bbr.c:102: error: INIT_WORK undeclared (first use in this function) [09:30] ubuntu/misc/dm-bbr.c:102: error: (Each undeclared identifier is reported only once [09:30] ubuntu/misc/dm-bbr.c:102: error: for each function it appears in.) [09:31] how do you compile it ? [09:32] sudo make-kpkg --rootcmd fakeroot --initrd --append-to-version=-1 kernel-image kernel-headers [09:32] is this a git kernel ? [09:32] yes [09:32] ok wait [09:32] https://wiki.ubuntu.com/KernelCustomBuild [09:32] read this [09:33] yes I did? [09:33] no you didn'y [09:33] t === joefso [n=joefso@ip503d4396.speed.planet.nl] has joined #ubuntu-kernel [09:36] dude [09:36] even if the code is *not* from git [09:37] the code fails with the same error when using linux-source-2.6.19_2.6.19-7.11.tar.gz [09:38] well, I don't know, but compiling a git kernel with that command is wrong. [09:39] there is no guide on compiling git kernels the proper way [09:39] I just gave you [09:40] kernelcostumbuild? [09:40] have you read it? [09:40] yes === Lure_ [n=lure@external-7.hermes.si] has joined #ubuntu-kernel === joefso [n=joefso@ip503d4396.speed.planet.nl] has joined #ubuntu-kernel [10:37] what a bunch of crap dade` even invoke just 'make' makes the build fail [10:38] .. [10:39] ubuntu/misc/dm-bbr.c:102:59: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 [10:39] ubuntu/misc/dm-bbr.c: In function bbr_alloc_private: [10:39] ubuntu/misc/dm-bbr.c:102: error: INIT_WORK undeclared (first use in this function) [10:39] ubuntu/misc/dm-bbr.c:102: error: (Each undeclared identifier is reported only once [10:39] ubuntu/misc/dm-bbr.c:102: error: for each function it appears in.) [10:39] make[2] : *** [ubuntu/misc/dm-bbr.o] Fout 1 [10:39] make[1] : *** [ubuntu/misc] Fout 2 [10:39] make: *** [ubuntu] Fout 2 [10:52] BenC broke the tree ;\ [10:54] gebruiker: sounds like you are building against an upstream kernel, not an ubuntu one [10:55] no [10:55] it's pulled from git [10:55] according to the kernelGitGuide [10:55] i don't thing dm-bbr.c is in vanilla [10:55] its not [10:56] its part of the evms patchset [10:59] have you tried using 'AUTOBUILD=1 fakeroot debian/rules binary-debs ...' on a clean git source ? [11:05] how does one let it build it's own config without affecting the debian tree/ [11:05] ? === Lure [n=lure@external-7.hermes.si] has joined #ubuntu-kernel [11:16] UTOBUILD=1 fakeroot debian/rules binary-debs flavours=386 doesnt' even work [11:16] +a === Lure [n=lure@external-7.hermes.si] has joined #ubuntu-kernel === gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel === Lure [n=lure@external-7.hermes.si] has joined #ubuntu-kernel === zul [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel === ivoks [n=ivoks@83-131-33-62.adsl.net.t-com.hr] has joined #ubuntu-kernel === pmjdebruijn [n=pmjdebru@pmjdebruijn.xs4all.nl] has joined #ubuntu-kernel === rikai_ is now known as rikai === gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel [02:58] BenC: ping [02:59] zul: yo [02:59] i was thinking that the vmi (vmware stuff) can go straight into the generic kernel but the xen bits of paravirt would need its own flavour...of course i would have to test tis [03:03] *this [03:03] damn i need more coffee === ivoks [n=ivoks@161.53.50.54] has joined #ubuntu-kernel === zul [n=chuck@dsl-72-1-199.219.tel-ott.com] has joined #ubuntu-kernel === Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel === kylem obtains coffeee. [03:56] hey kylem [03:57] yay, ubuntu-2.6 is building again [03:58] workqueues fixed? [03:58] workqueue, freezer, crypto API's, SLAB_* crap [03:59] cool [03:59] 2.6.20 is a bigger leap than 2.6.19, which scares me [03:59] heh ill break it again for you dont worry..:) [03:59] $ debian/rules printchanges | wc -l [03:59] 2423 [03:59] jesus. [03:59] ouch.. [03:59] zul: upstream is doing a fine job of it already :) [04:00] now git is .20 ? [04:00] dade`: 2.6.20-pre [04:01] Keybuk: ping [04:03] BenC: yo [04:03] Keybuk: I think I figured out the missing bit for "the plan" [04:04] maybee this one will sleep WITH macbook [04:04] Keybuk: I was wondering how all this would work when udev didn't have a "rule" for device->driver, and we wanted binding to just work...udev had no info on this [04:04] (wow sexy) [04:04] go on? [04:04] Keybuk: So what I am going to do is make the kernel send a "match" event for when it would normally bind with a device, so that udev can send that bind to the driver [04:05] how do you mean? over the netlink socket? [04:05] how would you know udev was on the other end? [04:06] if auto-bind is disabled, the kernel would send an event of some kind saying "this driver and device match, do something", and whatever is on the other end would do that thing [04:07] Keybuk: unless I'm missing something, in the plan you have now, if udev disables auto-bind in the kernel, there's nothing that says to actually do the binding on devices that don't have a specific driver rule [04:09] kylem: I don't see CVE-2006-4572 listed in your dapper changelog [04:09] BenC, i still haven't heard back from patrick, i pinged him again last night. [04:09] BenC: the plan was that there'd be a generic rule [04:10] kylem: So are we uploading dapper without 4572 fix? [04:10] make DRIVER= work like NAME=, so the first one sticks [04:10] then just do specific stuff early [04:10] BenC, yes, pitti wanted it uploaded because of a local root hole, iirc [04:10] and as a final rule, just have a general ENV{MODALIAS}=="?*", DRIVER="modprobe $env{MODALIAS}" [04:10] (where modprobe is the udev builtin thing) [04:10] so breezy is ok as well since it doesnt have CVE-2006-4572 and its already been uploaded previously [04:11] BenC: the one thing I was thinking; bind and unbind override the usual device tables, yes? [04:11] Keybuk: Sure, that will load the driver, but I mean what will cause the bind? [04:11] BenC, 4572 isn't exactly what i'd call a critical hole... [04:11] kylem: Ok, just making sure I had everything [04:12] BenC: I was thinking we just make udev always do it [04:12] so as well as making /dev nodes, one of its other primary functions is to bind devices and drivers [04:13] so after processing a rule, if there's any DRIVER set, it binds it [04:13] Keybuk: but what if there's no driver set? :) [04:13] we'd set one from the alias tables? [04:13] as a default rule [04:16] ok === datten_ [n=datten@xdsl-87-78-104-193.netcologne.de] has joined #ubuntu-kernel === datten_ is now known as datten [04:45] i so much dislike rpm === irc [n=themaste@55-20-246-201.adsl.terra.cl] has joined #ubuntu-kernel === ivoks [n=ivoks@vipnet163-164.mobile.CARNet.hr] has joined #ubuntu-kernel === joefso [n=joefso@ip503d4396.speed.planet.nl] has joined #ubuntu-kernel [06:24] where can I get a list of patches that are applied to ubuntu kernel tree? [06:24] git [06:24] yes git can pull them in [06:25] howveer I want a _list_ of patches [06:25] that are applied to the src tree === Lure [n=lure@clj46-234.dial-up.arnes.si] has joined #ubuntu-kernel === holycow [n=a@mail.wjsgroup.com] has left #ubuntu-kernel ["Ex-Chat"] === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel [07:32] joefso: Is this ubuntu-2.6? [07:34] Can anyone suggest a version number for my linux-vserver enabled kernel? I'm basing it off kernel 2.6.17.1-10.35 and adding vserver 2.0.2.1 [07:35] Would that be 2.6.17.1.vserver2.0.2.1-10.35? [07:36] Or should I change something else? [07:42] bronson: I actually suggest just making a new flavour [07:43] BenC: sounds good. How do I do that? [07:43] bronson: Copy debian/config/i386/*.generic to *.vserver-2.0.2.1 [07:43] and edit was needed [07:43] then do : debian/rules debian/control.stub [07:43] Ah, OK. [07:43] and do the normal build [07:44] Would it make sense to have generic-vserver2.0.2.1, server-bigiron-vserver2.0.2.1, etc? [07:45] That would make sense to me, anyway. :) I'll try it. [08:44] BenC: I also need to change the files in debian/abi/2.6.17-10.34/i386 right? [08:44] no [08:44] ignore those [08:45] bronson: Edit debian/rules and set skipabi=true [08:45] ah, ok. Will do. [08:45] I notice that the kernel is .34 but the abi is still .33 in the 2.6.17 git tree. [08:47] .33 is not the ABI [08:47] the ABI is 10 [08:47] .33 and .34, those are the release revs [08:48] it increments everytime we do an upload...the 10 is only incremented when the ABI changes [08:48] I mean, the directory is named debian/abi/2.6.17-10.33 [08:49] right, we keep the previous abi's to compare with the current build [08:49] cool. [08:49] current ABI's are only known after the build, so we can't very well keep those in the upload [08:49] :) got it. [08:49] thanks. [08:56] BenC: skipabi was true because I'm using AUTOBUILD=1. [08:56] I think there's a missing skipabi check at line 238? [08:57] That exit 1 always fires regardless of the value of skipabi. === dade` [n=dade@nectarine/admin/dade] has joined #ubuntu-kernel === jorgp [n=jorgp@adsl-70-234-108-24.dsl.tul2ok.sbcglobal.net] has joined #ubuntu-kernel [09:04] Yes, adding '-a "$(skipabi)" != "true"' to debian/rules line 238 appears to work. [09:16] Benc Yes. [09:17] joefso: debian/rules diffupstream > ubuntu.diff [09:17] BenC, however i want to apply -rt but acpi problems [09:17] BenC: I just thought of something. My packages are built from a different source tree than the ubuntu kernel. But if I only change the flavor, then my packages will claim to be built from the regular Ubuntu kernel source. [09:18] I need to change the package name too? [09:18] BenC, would it beneift community if we would package -ck kernels ontop of the -generic patched kernels? === dade1 [n=dade@host112-226-dynamic.4-87-r.retail.telecomitalia.it] has joined #ubuntu-kernel [09:18] joefso: No [09:18] or s/lowlatency/ck [09:18] BenC, could you eleborate a bit? [09:18] lowlatency is just a config option change [09:18] i noticed hz change [09:18] I'm adding any any very obtrusive patches to our tree [09:18] but wha'ts the reason that -ck tree wouldn't benefit community? [09:19] it wont benefit our users [09:19] 1) Creating too many kernel package options confuses users [09:19] joefso: what -ck feature do you want? [09:19] 2) Adding huge patches to our tree makes it hard to maintain [09:20] well 1) we already have lowlatency in feitsy 2) ck isn't that dificult to main, most of the time it applies clieanly ontop of the git tree [09:20] joefso: You are more than welcome to provide such kernel packages yourself though === anibal [n=anibal@debian/developer/anibal] has joined #ubuntu-kernel [09:21] joefso: You've no idea what it takes to maintain the kernel once you've added patches that modify stock kernel code [09:21] security, updates, changes from upstream, all these things break it [09:21] I just spent the past two days getting our ubuntu/* drivers to build under 2.6.20-pre git [09:22] that's easy because it didn't touch stock kernel code [09:22] well, most of the time con just takes vanilla and then inclues latest stable into his patchset. However just applying them from broken-out is not much work until now, atleast those a re my experiences. And I have used it for quite some time now. The only thing I havn't really done is benchmark them to ubuntu kernels. [09:23] well perhaps I should take it for testing through ubuntuforums? [09:23] and see where it gets me [09:23] and how the community reacts [09:23] joefso: What is in -ck that would be so beneficial? [09:24] mm-*prio === calavera [n=calavera@195.Red-80-26-32.staticIP.rima-tde.net] has joined #ubuntu-kernel [09:24] *-ionice [09:24] why are those patches not in mainline kernel? [09:25] that's not really a question, it's more of a statement [09:25] yes I noticed [09:25] they aren't in there because they aren't stable yet [09:25] did you ever had time to take a look at it? [09:26] give me a URL? [09:26] and I remember some time where andrew morton would put ck code into -mm [09:26] http://members.optusnet.com.au/ckolivas/kernel/ [09:27] -mm isn't a stable tree by any means :) [09:27] eh, it already gets a big NO [09:27] latest is against .18, and we are doing .20pre [09:27] take a look at the patches dir [09:28] perhaps i(havn't looked yet) there are patches for .20pre in testing patches [09:28] even .19 is not good enough [09:29] and if it's worth con kolivas could even provide it, if we would just ask, or else fix up the broken diffs our selves. Form the point I have seen it all he does until now is keepon syncing code with current stable. [09:30] joefso: 33 changes files, and 125k diff [09:30] that's more than our current delta against the mainline kernel [09:30] by almost double [09:30] BenC: Instead of creating different flavors, I need to create packages with an entirely different base name? Does that sound right or am I missing something? [09:30] bronson: Why? [09:31] Because if I only change the flavor, my package will still claim to be built from Ubuntu's source package. [09:31] It's not though... I've applied the linux-vserver patch. === Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel [09:32] it will be linux-image-2.6.17-10-vserver package name though [09:32] But it still claims to be built from linux-source-2.6.17-10 right? [09:32] if you want that much differentiation from our source, I can't help you...way too much involved [09:33] Well, the source issues are solved. It's the packaging issues that are stumping me. :) [09:36] you're getting into common packaging questions that are probably best solved in #ubuntu [09:37] Am I? Not many people there have dealt with control.stub... [09:37] Or kernel flavors. [09:38] but you want to change the source package [09:38] which actually is as simple as editing the changelog [09:39] Or building with -sa. [09:42] I guess you're right -- it's not a problem. I must have screwed up reprepro somehow. [09:43] My package's source package: linux-source-2.6.17_2.6.17.1-10.34.vserver2.0.2.1.tar.gz :) [09:43] I don't think there's quite enough version numbers in there... maybe I could add grsecurity. === low_ [n=low@wbb192.fwa4.jaring.my] has joined #ubuntu-kernel [10:31] hi [10:32] hi low === cassidy [n=cassidy@host-213-189-171-21.brutele.be] has joined #ubuntu-kernel === joefso23 [n=joefso@ip503d4396.speed.planet.nl] has joined #ubuntu-kernel [10:43] hello [10:44] I'm unable to use "!" when invoking dialog --yesno "tekst" 5 80 [10:44] and? [10:45] when i add a ! to the "tekst" I get: rror: Expected no more than 3 tokens for --yesno, have 5 [10:45] how is this a kernel problem. [10:45] damn wrong channel [10:45] excuse me [10:45] ps: add a \ [10:46] no won't do, but anyway excuse me [10:47] works in zsh. ;-) try single quotes instead of double in bash. [10:59] BenC: When I run debian/rules debian/control.stub, a bunch of packages get "-ref" added to their names. [10:59] Is there an easy way to make -ref not appear? [11:00] bronson: no [11:00] So just live with it? :) [11:00] OK. [11:00] you're trying to do stuff that the build system there wasn't designed to do [11:00] you're sort of on your own :) [11:01] True. I can live with that. Hope you don't mind if I ask you easy questions though. === ivoks [n=ivoks@161.53.50.54] has joined #ubuntu-kernel [11:07] joefso23: I wrote this up real quick, since your question about including patches comes up quite often [11:07] joefso23: It explains things in more detail [11:07] https://wiki.ubuntu.com/KernelPatches === gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel [11:09] BenC, can you tell me briefly where -ref comes from? [11:09] what do you mean by -ref? [11:09] linux-headers-2.6.17-10-ref [11:09] I don't know what -ref is [11:09] (from the debian/control file) [11:10] is that what it actually says? [11:10] Yes, it showed up when I ran debian/rules debian/control.stub. [11:10] I'll dig deeper. [11:10] if you actually see "-ref" then you likely buggered something to make it do that [11:10] head -1 debian/changelog [11:10] let me see that [11:11] The full line is "Package: linux-headers-2.6.17-10-ref" [11:11] not all names have -ref, just some. [11:11] here you go: linux-source-2.6.17 (2.6.17.1-10.34.vserver2.0.2.1) edgy; urgency=low [11:14] No, it didn't show up when I ran debian/rules debian/control.stub . That went OK. [11:15] I'll dig into this further before asking more. And start with a fresh git tree. [11:17] that's the problem [11:17] do not add the .vserver2.0.2.1 in the versioning [11:19] Ah, good. [11:19] Is there a place I can maintain a rev number? I don't expect to get this package right the first time. :) [11:20] Or do I just need to bump the .34 to .35 and diverge from your upstream package? [11:21] that's the idea [11:21] OK, will do. [11:21] Thanks. === rikai_ [n=rikai@unaffiliated/rikai] has joined #ubuntu-kernel === _human_blip_ [n=mike@220.157.65.29] has joined #ubuntu-kernel === rikai_ is now known as rikai [12:10] guys, i'll pay you a beer at next FOSDEM or GUADEC if you package the fix for this bug ASAP https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.17/+bug/63418 :) [12:11] i just received my new laptop and it's very frustrating to not be able to use it ;) [12:16] cassidy: is this the ipw3945 softlockup when rfkill is on?