/srv/irclogs.ubuntu.com/2009/09/07/#ubuntu-kernel.txt

NoelJBdoes anyone know what to install for linux headers if installing linux-image-virtual?  there doesn't appear to be a matching headers .deb.  thanks.03:23
hyperairit's linux-headers-virtual03:24
NoelJBhyperair, yes, I see that (now) via apt-cache, but it doesn't get built when following https://help.ubuntu.com/community/Kernel/Compile03:26
hyperairwhat's the command you used?03:26
NoelJBLooking at linux-headers-virtual, though, it tells you that linux-headers-server is the matching one.03:26
NoelJBhyperair, command?  for what?03:26
hyperairfor compiling kernels?03:27
NoelJBdebian/rules updateconfigs; debian/rules clean; AUTOBUILD=1 fakeroot debian/rules binary-debs03:27
hyperairah03:27
hyperairhmmm03:27
NoelJBresulted in image-{virtual,server,generic}, headers-{generic,server} and the libc-dev03:28
hyperairah then install the -server one03:28
hyperairthe -virtual headers say that it's the same variant, right?03:28
NoelJByes, from apt-cache show linux-headers-virtual: "This package will always depend on the latest kernel headers available for virtual machines (which are the same headers as for the server flavour)"03:29
hyperairyeah, so install the -server headers!03:29
NoelJBso that's the answer.  I suppose I would have to build linux-meta to get the .deb.03:29
NoelJBhyperair, LOL I will.  I hadn't found that when I asked :-)03:29
NoelJBhyperair, thanks :-)03:30
cooloneyNoelJB, yeah, hyperair is correct. There is no specific -virt flavor kernel anymore.03:33
cooloneyNoelJB, -server flavor kernel can support all the virt requirement such as kvm, xen03:34
NoelJBcooloney, interesting, when installed, it appears as 2.6.31.9-generic-pae03:45
cooloneyNoelJB, so weird.04:05
NoelJBcooloney, so I thought, too.04:06
NoelJBcooloney, OK, something's odd.  MY build of if has the -server inside the -virtual, but when I quickly installed via apt-get into a VM, it says it did virtual, but I see generic-pae.04:11
NoelJBunless generic-pae is what it does for 32-bit?  hmmm.04:15
cooloneyNoelJB, your machine is 32-bit or 64-bit?04:19
NoelJBcooloney, both.  my host is 64 bit.  my builder VM (for building packages I intend to use) is 64-bit.  I was playing with a 32 bit Kubuntu VM, and wanted to see what (if any) benefit would come from the linux-virtual-image.  answer: none.  it blows up trying to boo it.04:20
NoelJBcooloney, so that may explain why it was -pae in one, and -server in the other.04:21
cooloneyNoelJB, -pae is for 32bit machine extension, which supports more than 4G memory. 04:22
NoelJBcooloney, I know what it is.  :-)  which is why it dawned on me that it might be because it was a 32 bit VM.  In any event, I won't spend more time on it for now.04:24
cooloneyNoelJB, yeah, i agree with you, 32bit VM -> -generic-pae, 64bit VM -> -server04:25
=== JayFo is now known as JFo
xkr47hello, has anybody considered trying ck's BFS patches ?07:25
rudlhi there! can one tell me in a short maner what the debian.master - folder is for and how to deal with it- make-kpkg seems to have problems with it..07:25
evonI was trying to build my kernel and got this error arch/i386/kernel/process.c:586: Error: suffix or operands invalid for `mov' can anyone help?07:26
rudldebian.master: what is that folder for, it seems to be new..??07:29
evonyou talking to me rudl?07:31
rudlanyone up and running in here?07:31
evoni am trying to compile a custom linux kernel to support fatx partitions07:31
evonI am using this howto http://www.xbox-linux.org/wiki/How_to_include_FATX_support_in_a_regular_Linux_kernel07:32
cooloneyrudl, since we add some flavors to support arm SoC, we keep debian.master as our master branch debian packaging control stuff07:32
rudlevon: no, not directly.. Sorry, have to leave for a meeting.. grrr07:32
cooloneyrudl, while debian.mvl for marvell soc specific debain control stuff07:33
evoncan anyone help me at all?07:34
rudlcooloney: so why do i get this stuff when cloning the git- repository for jaunty?07:52
rudlcooloney, okay, where do I find documentation about this directory, because make-kpkg fails because of the debian.master- directory08:22
cooloneyrudl, sorry for the delay, i just checked the git log of debain.master directory of jaunty git tree08:23
cooloneyrudl, http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-jaunty.git;a=history;f=debian.http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-jaunty.git;a=history;f=debian.master;hb=HEADmaster;hb=HEAD08:23
rudlcooloney, "403 Forbidden - Invalid file parameter "08:24
rudlcooloney, btw: thanks for your support08:25
cooloneyrudl, my pleasure, actually the author of this change might be on vacation.08:30
rudlcoolney, well: so debian is now "split" into debian and debian.master.08:59
rudlcoolney, FYI: This doesn't compile with current make-kpkg. Caused by the sed -e 's/ debian//g' -e 's/\.deb//g' it tries to deal with '.master' - (my case: 'crypto.master') wich is obviously not there09:00
rudlcoolney, http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-jaunty.git;a=commit;h=14618fc13a66f053b3680274b7ea18766664f43509:01
rudlcooloney, sorry, wron spelling, see my lines above to coolney09:04
cooloneyrudl, no problem. i just ping the smb for that. i did not try make-kpkg at all09:06
apwrudl, the directory is an abstraction mechanism to allow branches to be made more easily09:07
smbcooloney, "the" smb??? ;-)09:07
cooloneysmb, sorry, 09:07
apwthere may well be issues with make-kpkg, but you would need to make sure you have cleaned the tree correctly if you are using the git source09:08
cooloneysmb, adding 'the' to an noun name word is one of my typical typo09:08
smbcooloney, No problem. I was mostly joking09:09
rudlapw, all fine with me, just trying to "simply" compile a kernel, as I need to get rid of IPV6, as fetchmail delivers to exim using ipv6 and ipv6 is down using ip6tables.. I've come a long way so far..09:09
smbrudl, Actually one of the last security updates added an option to disable ipv609:10
cooloneysmb, i am also trying to sync with thie debian split change to my Android debian packaging.09:11
cooloneysmb, is there any wiki page about that?09:11
smbcooloney, Sorry not (yet)09:12
rudlsmb, "option?" what kind of option- kernel- option?09:12
cooloneysmb, no problem, i will follow your patches anyway09:12
smbrudl, http://bugs.launchpad.net/bugs/35165609:13
ubot3Malone bug 351656 in linux "IPv6 cannot be disabled on Jaunty" [Medium,Fix committed] 09:13
smbcooloney, That is what I did for repeating it on intrepid. In the commit messages there is a little info about it09:14
smbrudl, ipv6.disable=1 on kernel command line09:14
smbrudl, Though it might be in proposed only atm. checking...09:16
legend2440when compiling a ubuntu kernel is    kernel-package    the best method?09:16
rudlsmb, thanks for the shortcut, just seen what you mean- didn't know theese echo 1/0 > proc are called options09:16
cooloneylegend2440, generally, we use fakeroot debian/rules build-binary09:17
smbrudl, Yeah, but unfortunately they are broken in Jaunty and the fix was a bit complex and had some issues (though I cant remember which)09:17
smbrudl, Ok, for the option you need to enable proposed for the moment09:18
legend2440cooloney: thanks is there a good tutorial for that method?09:18
rudlsmb, no problem so far, I prefer not to COMPILE what I don't need, had a hijacker on my system using ipv6 once- well, all was safe for ipv4 - and ipv6 was open like a "barn door"09:19
rudlsmb, but for understanding: what do you mean "enable proposed"? I am allmost 100% autodidact so I am not familiar with such gramar09:20
rudlsmb, you mean something like --enable-proposed?09:24
rudlWell, I'll consider both variants- cooloney- thanks for the hint to git- log. Didn't know it's that perfectly usefull. Shall be able to reproduce to original structure and compile with make-kpkg that way..09:26
smbrudl, In the gui on installation source tick proposed update. Though that gives you everything in proposed09:26
smbrudl, I also got a PPA with the latest kernel (usually): https://launchpad.net/~stefan-bader-canonical/+archive/jaunty09:28
rudlsmb, aah.. we talk about the apt- sources09:28
cooloneylegend2440, please look up in our wiki https://wiki.ubuntu.com/KernelTeam/KnowledgeBase09:28
legend2440cooloney: thank you 09:29
rudlsmb, phuu- too much shortcuts for the moment.. what an earth is a ppa?09:32
smbrudl, Personal Package Archive09:32
rudlsmb, ppa- nice and short.. one more to learn, but thats what you have to deal with when you dance with the kernel-devils.. ;)09:41
rudlWell, I gota work- thanks a lot for your help- guess I'll be able to fix my problem that way. I'll have another compiling- session this evening..09:44
smbrudl, Heh, well actually PPAs are not restricted to us. You'll encounter them quit often09:45
jk-fish4pie09:49
jk-d'oh!09:49
apwjk-, i know what you are doing for the rest of the morning09:50
smbjk-, Can you give us the account information too :-P09:50
jk-apw: it's already done :D09:50
* jk- wipes brow09:50
* jk- remembers to change the keyboard around before trying to log into the other machine09:54
legend2440i have compiled ubuntu kernels in the past with varying degrees of success. i of course get the image and header deb files but i don't recall ever seeing the abi file  ie   abi-2.6.28-15-generic. how is that created and what is it for?10:22
=== jk-_ is now known as jk-
smbapw, I think I need you to have a second glance on bug 423296 with me. I checked on the mentioned DIDL patch and got the feeling you missed something there.13:44
ubot3Malone bug 423296 in linux "regression: linux-image 2.6.28-15.51 in jaunty-proposed breaks brightness control of T500" [Medium,Triaged] https://launchpad.net/bugs/42329613:44
smbPatch came in for bug 22839913:45
ubot3Malone bug 228399 in linux "Closing lid results in kernel panic visible on VT-1" [High,Fix committed] https://launchpad.net/bugs/22839913:45
apwsmb, hrm13:46
smbapw, My suspicion is that in the non-kms case (maybe even upstream) there is nothing that call acpi_video_register() after deferring it previously13:47
apwhmmm.13:48
apwsmb, thats not sounding right is it13:50
smbNo not really.13:50
smbMissed that somehow on the review13:50
apwpretty sure thats a pretty simple backport, and so likely bust upstream too ... hrm13:51
smbWell it is not that simple. There was much more code13:52
apwsmb, actually not sure how this would trigger?13:52
smbA lot KMS stuff13:52
smbIn the upstream patch it will as for:13:52
smb@@ -312,6 +370,11 @@ int intel_opregion_init(struct drm_device *dev)13:52
smb        if (mboxes & MBOX_ACPI) {13:52
smb                DRM_DEBUG("Public ACPI methods supported\n");13:52
smb                opregion->acpi = base + OPREGION_ACPI_OFFSET;13:52
smb+               if (drm_core_check_feature(dev, DRIVER_MODESET)) {13:52
smb+                       intel_didl_outputs(dev);13:52
smb+                       if (!resume)13:52
smb+                               acpi_video_register();13:53
smb+               }13:53
smbbut only with KMS I guess13:53
smbThough probably nobody does much without KMS as it is so neat13:53
apwsmb, we can call it on module load, as it _may_ be called from acpi_video_init13:54
apwstatic int __init acpi_video_init(void)13:54
apw{13:54
apw        if (intel_opregion_present())13:54
apw                return 0;13:54
apw        return acpi_video_register();13:54
apw}13:54
apwmodule_init(acpi_video_init);13:54
apwso we should only end up with it not there if we don't have the opregion13:54
smbThat is the place to deffer it13:55
smbYou get the problem if you have an opregion, then you do not register acpi video13:55
apwyou mean there is no later, try again13:55
smbyep13:55
smbThat other code if from the upstream patch13:55
smbIn the backport I see no try again13:56
apwyep but htat code is specifically MODESET only13:56
apwso ... it got removed on backport as we don't have kms there13:56
apwwhich implies its bust in non kms mode in both ... hrm13:57
smbYou might try with your i915 devs to disable kms and see whether you got backlight control13:57
apwyeah can do that.  interesting that they managed to test this and have it work for them13:58
apwi guess they tested it didn't explode, but not that it worked13:58
smbWell actually I have not looked upwards whether it was changed again.13:59
apwbah grub has changed, no menu13:59
apwhow do i get it back!13:59
smbset the hidden timeout to false in /etc/default/grub14:00
apwand if it won't boot without me fixing it, how do i do that14:00
smbdespair14:00
smbmaybe try to boot something external14:00
* apw puts up the 'not acceptable' flag14:01
apws'ok, seems that holdiing down shift gets you the menu back14:04
apwsmb, ok turning off modeset and i still have brightness control here14:05
apwso i guess i have h/w which has its 'opregions' initialised14:06
apwsmb, do we have anything which fails the test?14:06
smbapw, I would need to check on the aspire. There is a follow up patch to unregister acpi_video on unload too14:07
smbNot that we currently need it as we do not do it14:07
apwcrap, so fail all round14:07
smbI suppose it needs a few additions. But, depending on the effort, maybe better fix the new regression than to revert the initial patch as that was a crash14:10
apwperhaps yes.  we need to figure out if this is flawed upstream generally too14:10
apwas for a fix, i think we need to redo the check after the opregions are enabled14:11
smbYep, load it there and make sure we also unload it14:12
smbHm, thinking twice, the Acer is a poor test as it never had a working acpi video14:12
apwindeed i am not at all sure why we need anything other than too only do the acpi thingy once and only once after the intel_opregion_init()14:12
smbThe only complicated thing is that the intel driver is initialized much later14:14
smbapw, But somehow it feels that if you try to do that you need at least to do intel_didl_outputs, otherwise I see no other initialization14:17
apw+       /* Must be done after probing outputs */14:18
apw+       intel_opregion_init(dev);14:18
apwwe are expecting that to make the opregion appear14:18
apwbut it looks like we should be expecting that to i14:18
apwdo the init too14:18
apwsmb, it does look like we simply should have +       return acpi_video_register();14:19
apw after that14:19
apwas we didn't do it before14:19
smbFrom the description the need to defer acpi_video_init is that you need to have the list of display devices populated. In the backport this is not done as far as I see14:23
loolapw: hey do you have some script and/or instructions to create a kernel for a LP bug; I basically want to rebuild karmic's linux with a patch for a LP xxxxxx bug and need to update changelog and use a proper version tec.14:33
loolI see you often push kernels with lp-xxxxxx14:33
loolThe bug I'd like to produce a test kernel for is https://bugs.launchpad.net/ubuntu/+source/linux/+bug/40442114:34
ubot3Malone bug 404421 in linux ""Failed to restore crtc configuration: -22" on i915" [Medium,Confirmed] 14:34
loolor do you just do this by hand?14:36
apwmjg59, you about ?14:37
apwlool, i just nod the changelog and build it by han14:38
apwhand14:38
loolok thanks14:38
mjg59apw: Hi14:41
apwmjg59, just looking at this fix for the Intel crashes, when the opregion is not initialised and you call acpi methods on it14:41
apwand noting that we end up never registering acpi in non KMS mode ... trying to work out if thats soluable14:42
apwthe patch in 74a365b3f354fafc537efa5867deb7a9fadbfe2714:42
mjg59You need the connector list to populate DIDL, and that#s only available with KMS14:44
apwand without KMS that init comes from the X server one presumes14:44
mjg59Sorry for typing - broke my arm yesterday, still getting used to it14:44
apwoh no!  ouch14:44
mjg59Right, and X has no way to pass that info14:45
apwso we'd need to intuit it later somehow14:45
apwwe are seing regressions due to that change, in a backport to non-kms14:46
loolis there an easy way to build i386 kernel .debs on amd64?14:46
smblool, create a linux32 chroot14:46
loolhmm ok14:46
loolthanks14:46
apwmjg59, so it seems that 'most' intel hardware that 'requires' it either doesn't really require it, or is being initialised before hand14:47
apwi wonder if there is any way to tell either way, as not initialising acpi blindly seems to regress for a number of platforms14:48
loolThe upstream Makefile will properly pass -m32 if compiling a 32 bits kernel on amd6414:51
apwlool but to get it compiled the same way, its much safer to do it the same as the buildds14:52
apwmaking the chroot is pretty cheap14:52
loolWell I'd have to create the chroot, install bdeps again, setup ccache again... and I'm lazy   :-)14:53
loolIf this can work for cross-compiling ARM packages, it should work for x86-32 right?14:53
loolSince it's just for a test kernel for my test machines and for testers well I guess it's not a big risk I guess14:54
apwperhaps so indeed14:54
mjg59apw: Not that I know of14:59
Polterge|sthey can anyone in here tell me does the new real time kernel for Karmic work with compiz ?15:07
Polterge|stor does compiz crash it ?15:07
ghostcubePolterge|st: compiz is not kernel related15:16
Polterge|stno that isn't what I said15:17
Polterge|st:)15:17
Polterge|stI asked if this real time kernel crashes if I am running compiz 15:17
ghostcubehow should this happen15:17
Polterge|stin the past the last real time kernel would crash if someone was running compiz15:18
ghostcubeeh ?15:18
ghostcubeon jaunty ?15:18
apwPolterge|st, not heard any reports of it, but we don't monitor those kernels closly15:18
Polterge|stalso on suspend15:18
Polterge|stwhat kind of results are people getting out of the real time kernel and can it be installed on 32 bit ?15:18
ghostcubenever heard that compiz crashes rt for me it hadent 15:18
apwPolterge|st, i have no reason to use it15:19
Polterge|stbut does anyone know whether the real time kernel will work on 32 bit ?15:19
Polterge|stor is that version buggy ?15:19
ghostcubehmm it should work on 32 bit afaik15:19
ghostcubewhy do you want the rt kernel btw15:20
Polterge|stI think I will try to install it from repos15:20
Polterge|stthis is worth trying out anyway15:21
Polterge|stit would have better latency than this stock kernel15:21
Polterge|stI have pulse audio almost perfect in Karmic Alpha 515:21
Polterge|stI just need to try a better kernel15:21
evonI was trying to build my kernel and got this error arch/i386/kernel/process.c:586: Error: suffix or operands invalid for `mov' can anyone help?16:27
evonI was trying to build my kernel and got this error arch/i386/kernel/process.c:586: Error: suffix or operands invalid for `mov' can anyone help?16:38
evonbuilding a kernel and got this error make[1]: *** [arch/i386/kernel/apic.o] Error 116:39
evonmake: *** [arch/i386/kernel] Error 2. can anyone help?16:39
apwevon what version are you trying to build16:42
evon2.6.916:42
evonapw with an xbox patch16:43
evonapw: http://www.xbox-linux.org/wiki/How_to_include_FATX_support_in_a_regular_Linux_kernel16:43
apwevon, and what are you trying to build it on?16:43
mjg59evon: 2.6.9?16:44
mjg59I suspect people might have cared in 2005...16:44
apwthose xbox patches go up to at least 2.6.1616:44
evonapw: ubuntu16:45
evonapw you think i should try to patch a different kernel then?16:45
apw2.6.9 is well anchient16:45
mjg59evon: Ubuntu never shipped 2.6.916:45
evonlol16:45
evonanother question is once I patch this kernel will i be able to mount fatx filesystems on my desktop?16:46
apw+       tristate "FATX fs support (DANGEROUS)"16:46
apw+       depends on EXPERIMENTAL && BROKEN && !LBD16:46
apwits not even guarenteed you'd be able to do it with the patch it seems16:47
mjg59evon: If you're talking about x-box DVDs, no16:47
mjg59They can only be read with an actual xbox DVD drive16:47
apwmjg59, interesting, some kind of h/w drm'y poop?16:48
evonmjg59: no i'm talkin about usb's with fatx FS and HD with fatx FS16:48
mjg59Yeah16:48
mjg59evon: How do you have a fatx hard drive?16:48
* apw shudders16:48
evonmjg59: from the xbox16:48
mjg59apw: There's two DVD TOCs - the normal one just gives a small image with a video telling you to put it in an xbox. There's a command that needs to be sent to the drive firmware to get it to read the real TOC16:49
mjg59evon: Ah16:49
evonmjg59: so would i be able to?16:49
apwmjg59, heh now that is plain mean16:49
mjg59evon: In theory16:49
Kanohi, when can we expect rc9 based kernel16:49
evonok cool16:49
evonis 2.6.15 a good kernel to use? the latest xbox patch offered is for that version16:50
apwKano, when its been tested16:50
Kanowell intel without kms is broken,but luckly u uses it16:51
apwevon, i'd not define anything that old as good in general16:51
Kanocjwatson: did you optmize your initramfs code16:51
apwintel without kms is broken on 2.6.31-rc9?  on what hardware?16:51
evonapw: why is that? my intention is only to have that kernel as an option my grub. not to use it all the time16:52
Kanoapw: on vt switch on all i think, but can only test q4516:52
apwevon, what is your ubuntu release16:52
Kanovt switch or X shutdown16:52
evonmint based on jaunty16:53
apwevon, no idea if you'll be able to boot with such an old kernel on that userspace, thats a major delta16:53
evonoh i c. So i would have to get an old version of ubuntu or something to get this to work?16:53
apwyou might have to yes, worth trying it first16:54
apwyou checked there are no userspace tools to read fatx?16:54
evonnope. I have been looking for days16:55
Kanocjwatson: http://paste.debian.net/45952/16:56
Kanocjwatson: a) the modprobe check is absolutely useless as you can modprobe every module even without hardware16:56
Kanocjwatson: b) if you want to test for hardware you can check the loaded modules after udev16:57
Kanocjwatson: the current result of your code was that intel-agp and i915 is loaded on every system and FB=kms16:57
apwevon, it seems odd that xbox support stopped at 2.6.16 ... kinda implies they found another way16:58
evonapw: I've haven't come across anything. if you do please let me know17:01
evonapw: i've google searched all over for fatx support linux but i've come up with no way of fixing the prob. and there are many others with no solutions either17:03
apwevon, might be worth trying to ask the original authors of the patch what happened to it17:04
evonapw: ok17:05
karl86hi guys, after my machine has been running for a certain amount of time it seems to loose the ability to recognise when a cd is in the drive. Is there something I can restart (other than the machine) to get it back?20:09
=== TheMuso` is now known as TheMuso
johanbrnow that ipv6 is built-in (not a module), what's the recommended way of disabling ipv6?21:41
johanbroh... /proc/sys/net/ipv6/conf/all/disable_ipv6 I guess21:42

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