/srv/irclogs.ubuntu.com/2009/06/16/#ubuntu-kernel.txt

zeroproghey guys i keep getting invalid module format and ive recompiled the kernel...turned loadable module support on...downloaded a new kernel and tried the same thing but nothing works01:25
zeroprogthe module is in .ko format01:25
lifelesszeroprog: is it for the same arch?01:30
mjg59You'll get "invalid module format" if it's built for a different kernel version or configuration01:36
mjg59Check dmesg for the actual error01:36
zeroproghello: disagrees about version of symbol struct_module01:42
zeroprogand my kernel v is 2.6.28-11 and the kernel source is 2.6.2801:43
=== bjf is now known as bjf_afk
TheMusoC04:32
zeroprogalright on kernel.org they dont have 2.6.28.11 so what linux source can i use 07:10
apwKeybuk, i had a conversation with the vfs union mount peeps last night and they sent me a rebase to 2.6.30 with a couple of race fixes, so i've make you a new kernel (again): https://edge.launchpad.net/~apw/+archive/green08:08
apwcking, you had a machine (a dell i think) which had a problem with halt and reboot which only exhibited itself when splash was enabled but i think turned out to be like reboot=b was required and we added a quirk, can you remember?09:20
ckingapw, reboot=b forced it to work OK. Not sure about the quirk being added for the Dell Inspiron 6400 though. I cannot recall that (too much water under the bridge, or old age :-)09:21
apwyour memory matches mine09:22
haitao0826请教大家个问题,编译内核之前要怎么配置才能在编译时把不需要的东西排除09:33
haitao0826怎么没人说话阿?09:34
=== cjwatson_ is now known as cjwatson
amitkhaitao0826: The language of this IRC channel is English. I'm afraid most people here don't read Japanese.09:37
haitao0826ok,sorry09:38
haitao0826bey09:38
smbamitk, Its chinese 09:38
apwgoogle says it says "Question to ask you, how to compile the kernel before the compile-time configuration in order to rule out things that do not need no one how to speak Albanian?"09:38
_rubenall i saw was a bunch of ?'s ;)09:41
smb_ruben, Iterestingly we saw the chinese letters, but the translation is still a bit weird :)09:43
_rubentrue ;)09:44
amitksmb: oh well. I thought 'tao' was more Japanese. I need to figure out how to tell Chinese, Korean and Japanese apart09:49
ikepanhceh, just someone speak in chinese?09:50
cooloneyapw, you are close09:52
apwcooloney, google was close :)09:52
amitkapw: its quite compact (chinese) to encode all that information in such few 'characters'09:54
apwyeah its very compact thats for sure09:55
xivulonapw hi, would you have some time to investigate a swapon freeze during ubuntu install?09:58
xivulonthis happens when a swpa file is created and used within a fat fs09:58
apwthat sounds like a bad idea :)09:58
apw(putting swap in fat)09:58
apwdo you get any panic output?09:59
xivulonthe alternative is swap at all09:59
xivulondavmor2 has set up a machine with ssh access09:59
xivulonone sec09:59
apwxivulon, ok, so this swap file is it directly on the fat, or inside your ext4 loopback into a file crack ?10:07
apwxivulon, is there a bug filed for this one?  so i have somewhere to record stuff?10:09
xivulondirectly on fat10:11
xivulonI guess 376120 is the same issue10:11
xivulonthe file is in /host/ubuntu/disks/swap.disk 10:11
xivulonwhere /host is the fat partition10:11
xivulondavmor2 should provide you with instructions to ssh in10:12
apwthaks10:13
apwthanks10:13
xivulonthere should be a swapon and a couple of mkswap processes (from tests I assume) that cannot be killed 10:14
apwxivulon, yeah i think i know waht this might be10:23
apware we sure this bug# 376120 is the same bug or should i make a new one10:23
apwand get that one dupped against it should it be the same cause, its not clear from the bug10:24
xivulonapw I think it is the same bug, but feel free to open a new one with a more explicit title10:26
apwthats ok, if you are pretty sure then i am happy10:27
apwxivulon, if i get you a fixed kernel are you able to test it ?10:28
davmor2apw: check with xivulon, but as far as I am aware wubi on windows side creates the drives and imports the cd image and then runs an automated install against that image on first run.10:32
davmor2if it's a case of following instructions in this current environment I can test it.  But only use little words :D   I'm going to be away for a couple of hours so it would need to be after that, if that is okay10:33
apwdavmor2, i suspect it is complex as we need to replace the kernel somewhere in here, i'll let xivulon talk to that10:34
davmor2apw: np's10:36
apwxivulon, ?10:42
xivulonhi apw10:50
apwxivulon, hi ... i am building you some test kernels with what i believe is the fix for the issue applied10:51
apwwill let you know when they are built and pushed, and will update the bug also10:51
xivulonapw thanks a lot10:51
apwi am assuming you will be able to wave your hands over them and see if they fix things10:51
xivulonhmm deployment would be complex though, as it will have no effect unless a new ISO is shipped10:52
xivulonalthough users could replace the kernel inside of windows before rebooting10:52
apwyeah indeed.  but i am hoping you can at least frig it into a test install10:52
apwto at least confirm this is the right fix10:52
apwthen we can make up some way to handle that10:53
xivulonno module/initrd are involved correct?10:53
xivulonhmm actually they are I guess10:54
apwits actually the fat module which is updated, so yes10:54
xivulonwell vmlinuz/initrd is still ok10:54
apwyou build initrds on the machine normally10:55
xivulonusers can simply drop them into a directory, easy enough10:55
apwas in the installation of an updated kernel image builds an initrd them10:56
apwthen10:56
xivulonthe initrd must be a live CD one (with casper and lupin-casper)10:56
apwhrm, no idea how those get generated10:56
xivulononce you have the patch ready I'll see to have one built10:57
apwi'll let this test build run and then push up the patch and images, and you can use whichever works best for you :)10:58
xivulonapw thanks a lot11:02
apwnp11:02
cjwatsonapw: FYI I have cdimage/livecd-rootfs changes now to support using lzma compression for the live CD initramfs, once the next kernel lands; it saves 3MB so seems well worth it11:04
apwcjwatson, nice.  the size constraint in that context more than justifies any performance risk11:05
cjwatsonxivulon: could you make wubi try each of /casper/initrd.gz, /casper/initrd.bz2, and /casper/initrd.lz? I see that it currently hardcodes initrd.gz11:05
cjwatsonoh, and I'd better fix ubiquity too11:06
* apw notes cjwatson is making much work for himself11:06
cjwatsonoh, no, I don't need to fix ubiquity, never mind that11:06
cjwatsonI did think about making it just initrd.img but I sort of like having the extension there11:07
cjwatsonif it turns out to be a real hassle somewhere I'll reverse that choice11:07
apwyeah ... its kinda nice to know what it is, just by the name as shell can do that check nice and easy11:08
apwcjwatson, you might have some clever ideas on this, we have found what appears to be a kernel bug which affects the wubi installer and hangs it.  the fix is likely a replacement kernel but it needs to be in a cdimage to be useful to wubi as i understand it11:09
cjwatsonI don't have direct access to the buildds that produce the live filesystems11:10
cjwatsonyou could build updated initrd/filesystem combinations using the livecd-rootfs package though11:10
cjwatsonxivulon: ^-11:10
xivuloncjwatson, sure that is easy enough11:12
xivulonbut is that required for this jaunty update, or is it for karmic?11:13
apwthe lzma initrd would presumably be karmic onwards11:14
xivulonin karmic I will try not to have an external boot  dir at all and use grub2 loop module if possible11:14
apwsounds sexy11:15
xivulonwill still need to edit the menu.lst (or whatever is called these days)11:15
apwxivulon, things in /etc/grub.d/* which then make /boot/grub/grub.cfg11:17
cjwatsonxivulon: what apw said11:19
* apw muses that grub2 seems to have some kind of splash/background support11:20
xivulonyep, will need to edit grub.cfg directly though, but should be easy11:23
xivulonI will have to find partitions UUID from windows though11:24
Keybukapw: weird, I can't even chroot into the union mount11:24
Keybukbash just segfaults11:24
Keybukin fact, now it just hangs11:24
apwKeybuk, poop, so thats worse11:25
apwwhich one you got? 7?11:25
Keybuk-811:25
Keybukvfsunion611:25
Keybukin fact, this looks like a very old one ;)11:26
Keybuklinux (2.6.30-8.10~vfsunion6) karmic; urgency=low11:26
Keybuk  [ Andy Whitcroft ]11:26
Keybuk  * forward port of the VFS union-mount patch set.11:26
Keybuk -- Andy Whitcroft < apw@canonical.com>   Fri, 05 Jun 2009 11:42:53 +010011:26
Keybukare you sure you uploaded a new one? <g>11:27
apwhrm11:27
apwyeah ... one sec11:27
Keybukthere's a vfsunion7 in your "staging" PPA ;)11:28
apwKeybuk, yeah forgot to copy it over, spanner11:28
apwits copying now, take that one11:28
Keybukok11:28
apwthat was an update i got last night from val11:28
apwand it is meant to fix a locking issue11:28
apwso it might even fix what you are seeing11:29
Keybukright, that sounds just like what I'm seeing ;)11:29
apwthey are being pretty responsive so far, keen to get some testing i suspect11:29
apwi have tooo many ppas and no delete button, grrr11:30
Ngwho would be a good person to pester about getting one of the kernel/ubuntu/misc/ modules updated for bug #387756 ? :)11:30
ubot3Malone bug 387756 in linux "[karmic] please update tp_smapi" [Undecided,New] https://launchpad.net/bugs/38775611:30
apwisn't that tp_smapi thing the driver of questionable provenance?11:31
Ngapw: afaik it's been refused a merge into the vanilla kernel because the author insists on remaining anonymous11:32
apwright, the definition of questionable provenance11:33
Ngapw: but we've been shipping it for ages, so pragmatic precedent wins the day and we can update it ;)11:33
apwso lawyers may decide we remove it too :/11:33
Nglawyers schmawyers11:33
apweasy [sic] for you to say11:33
apwthere is a blueprint for reviewing all those drivers11:34
Ngdammit11:35
apw?11:35
Ngoh, do you mean reviewing as in "with a view to removing anything we can't square away legally"? or "so we can get them all spruced up and fresh"?11:35
apwa combination of the two, a review and decide what to do with each, with the result being either drop or update11:36
Ngwould dropping mean entirely removing all trace from the archive, or demoting to a DKMS/modass package?11:36
apwremoving from a kernel point of view would be 'washing hands of'11:37
apwi have no idea which way any particular item is going, or more specifically that item is marked RESEARCH, so its not been decided as yet11:37
apwadded links to both bug and spec (to the other)11:38
Ngta11:39
Ngif I were a petulant person, I'd suggest that an anonymous driver is a drop in the ocean of legal questionability that pours forth from multiverse, but I'm not, so I'll just wait quietly and hope that I don't lose the excellent tp_smapi driver ;)11:40
apwit is a worry that they won't tell people why they won't tell people who they are11:40
apwprobabally means they do not have the right to release the code, as it belongs to their employer or something11:41
Ngyeah I've always assumed it means they or someone they know works for ibm/lenovo and obtained the specs without permission11:41
Ngwhich is clearly not cool11:41
Ngand balanced against that obvious legal situation is the longevity of my battery ;)11:42
Nganyway, thanks for the linkage :)11:42
lifelesshttp://lkml.org/lkml/2008/11/17/35511:42
apwyep, if they had simply made up a believeable name and submitted it they would have gotten by11:43
apwby showing they are anon and making it clear there is a _reason_ they cannot tell us11:43
apwthey taint the code11:43
apwby implication11:43
apwand the law sadly expects you to be reasonable, and not ignore hints like that11:44
lifelesswell they've said they are willing to show trustworthy people11:44
lifelesswhich is why I linked that particular mail11:44
apwno they are willing to prove they are a person11:44
apwnot explain why they cannot tell everyone who they are11:44
apwwhich is the rub, its likely they have done something questionable11:45
lifeless"willing to disclose is identity to11:45
lifeless"11:45
lifelessAssuming thats a typo of 'his'11:45
apwthat is just their identity11:45
apwtheir need to hide their identity implies something about them or their working practice11:45
lifelessor where they live11:45
apwand one has to assume the worst, or open self to pain11:45
lifelesswell, thats clearly false.11:46
apwright, there is a possibility its cause they live in china or north korea or something11:46
lifelesseverything is patented, so why do we write code at all?11:46
apwthe law tends to be kinder if you had no way to know in advance11:46
apwthis situation creates a reasonable expectation we s11:46
apwshould be suspicious, that is the issue11:46
apwif they had called themselves something sane and we'd never known11:47
apwlife would have been fine11:47
DavieyCould it not be that they work for am employeer that is competition to the Linux kernel, and no exclusive code clause in contract - but would appear bad if they were known.11:47
lifelessI'd be much more suspicious of someone trying to pretend they didn't want to be anonymous11:47
lifelessDaviey: ecactly.11:47
apwits pretty unusual for an employer to not have the rights to everything one produces11:48
apwits a standard clause in all contracts i have seen and worked under11:48
lifelessThere are many reasons that being known as the author of that code *without it being tainted* could be problematic.11:48
apwyes, but the point is that the law is full of 'could reasonably expect to have assumed' type stuff in it11:48
lifelessapw: works in both directions.11:49
apwyou don't get the benefit of the doubt most of the time11:49
Davieyapw: Well i've avoided such contracts, but if that is the case - a HUGE amount of code in the Linux stack is therefore non-free, as the authors may not have had permission to release under a free licence11:49
apwindeed so, and lawyers are notoriously 'assuming the worst' kind of people11:49
apwDaviey, not necessarily i am employed, the code belongs to my work, i am specifically allowed to contribute it11:49
lifelesslawyers are often extremely risk averse. You have to take that into consideration.11:50
Davieyyes.. because you have your employeers permisson.  I would imagine that a great deal of patches are written by pure hobbyists, away from dayjob11:50
NgI wonder what our relationship with lenovo is like11:50
Ngthey don't have to do anything further than agree not to sue anyone because of us distributing a driver that makes their hardware look better11:51
apwin a previous job i had the right to do 'non-compete' things outside work in my own name11:51
apwanyhow, its not my decision to accept it into or not into mainline, they made their reasons felt, and i can understand them11:52
lifelessseemed rather inconclusive in the things I found, given Linus being willing to accept it :P11:53
apwand if he does then we get it for free and all is well11:53
cjwatsonand http://lkml.org/lkml/2008/11/18/272 says "SuSE asked, Lenovo said no"12:09
cjwatson(in the same thread lifeless linked to)12:09
Ngone does have to wonder exactly what suse asked though12:19
Keybukapw: still a segfault with vfsunion712:20
Keybukis weird12:20
Keybukit's not even a segfault, the kernel seems to kill bash12:20
apwhrm, well that might make sense12:20
apwdid you get any kernel stack traces on it12:20
apwif not, what does strace say happened12:21
Keybukstrace just hangs12:21
Keybukin the execve()12:21
apwhrm12:22
apwsetuid perhaps?12:22
Keybukjust going to fire up upstart and see why it thinks bash exits ;)12:22
apwheh nice12:23
apwdid you say there was nothing in dmesg at the time, most hard kills are reported12:24
Keybukdidn't look tbh12:25
apwworth checking then after it happens12:26
Keybukgot one12:27
KeybukBUG: unable to handle kernel NULL pointer deference at (null)12:28
apwpastebin?12:28
apwouch12:28
apwi'll have a look see if i can see what casues it if you paste the whole thing12:28
apwsomewhere12:28
Keybuksure12:28
Keybukone moment12:28
Keybukit's inside inode permission things ;)12:28
apwyeeks :(12:29
* apw waits impatiently for the trace12:31
apwKeybuk, poke12:33
Keybukrebooting12:33
apwouch12:33
Keybukgot stuck in kernel and wouldn't shut down :p12:33
apwit has that tendancy :/12:33
Keybukapw: http://pastebin.ubuntu.com/197021/12:36
apweip == 0 ouch12:37
Keybukuseful stack trace?12:47
apwKeybuk, i think its valid, an trying figure it out... what was your union of?12:55
apwKeybuk, ??13:02
=== mdomsch is now known as mdomsch_bos
=== cjwatson_ is now known as cjwatson
apwKeybuk, think its worth writing up what you did and sending that with the panic to val and jblunk, cc: me13:18
Keybukapw: back14:00
Keybukhad to run David to physio14:00
Keybukit was a union of the filesystem.squashfs from today's daily-live14:00
Keybukand a tmpfs14:00
KeybukI ran chroot /mnt /bin/bash14:00
=== sconklin-gone is now known as sconklin
apwsmb, heads up i just pushed a patch to jaunty-lrm, looks like you are working in there too15:23
smbapw, Thanks, though I must refresh my memory what I might do there15:24
smbuh oh15:25
smbapw, any chance you might kill that again for a sec? What version did you base on?15:27
apwsmb, ?  i fetched origin and put it on the top15:28
smbapw, Hm, yeah. It just looks to me I forgot to push a release15:28
apwsmb, then force it and i'll re do it15:28
smbok. thanks15:29
smbdone15:29
Keybukaww, nobody's picked up my LKML patch :'(15:30
rtgKeybuk: you should have sent it to a more specific audience15:30
Keybukrtg: there isn't one that I can tell15:30
Keybuknothing in MAINTAINERS for cn_proc or connectors in general15:31
rtgKeybuk: I'm can;t remember who was involved in the last round of syscall discussions, but they'd bea good starting point15:31
Keybukit isn't syscall though, no?15:32
rtgKeybuk: not really, but its up in the process control layer. Perhaps Ingo?15:32
apwKeybuk, if all else fails always send it to akpm he knows everyone15:33
Keybuktrue15:33
Keybukwill give it a few days ;)15:33
KeybukIngo, Andrew, Oleg, etc. tend to pick up things from LKML anyway15:34
rtgKeybuk: he might have missed it in the merge window storm15:34
smbapw, Just for info, the patch for jaunty lrm is for whch bug?15:34
apw    BugLink: http://bugs.launchpad.net/bugs/30558715:35
ubot3Malone bug 305587 in linux-restricted-modules "[Jaunty] warning: missing LSB information " [Medium,Fix committed] 15:35
rtgapw, jjohansen: is there a reason LGUEST_GUEST isn't enabled for i386?15:55
rtgin karmic, that is15:56
* apw looks15:56
apwLGUEST_GUEST implies we are building a paravirtualised kernel15:59
apwso i'd not expect it to be on for a primary i386 kernel i don't think15:59
apwrtg, ^^15:59
rtgapw: right, it allows the 32 bit lguest kernel to boot under an lguest hyper visor. why wouldn't we enable it?15:59
apwwell it would depend on whether it is independant of being a real kernel at the same time16:00
apwi would expect it enabled in a special kernel like the server virtual flavour16:00
rtgapw: all of the paravirt-op stuff is dynamic anyway.16:01
apwi'll see if it is enableable in parallel16:01
apwrtg then it should be fine. note it is only non-pae so we'd only get it in the new i386_nonpae flavour16:01
sorenLGUEST and PAE don't like each other.16:01
sorenI forget why.16:01
rtgapw: I think I remember someone at UDS requested it16:02
sorenOh, apw already said that.16:02
sorenNever mind me.16:02
apwshall i put it on the config review and spin a patch for it?16:02
rtgapw, soren: I'll get back to lguest in a bit. I'm currently making sure PAE works.16:03
apwack16:03
rtgapw: wait until I have the legacy flavour implemented16:03
apwi was about to respin that config merge patch16:03
apwif you are mid flavour mangle then it should wait16:03
apwrtg ^^16:04
rtgapw: it should be independent of the flavours, right? 16:04
apwyeah the code change is, but there is an associated fdr updateconfigs which isn't16:04
rtgapw: we could do them independently since the build process would pick up the config changes anyways16:05
rtgi.e., just the script patch with out the config file updates16:05
apwyeah we can do that for sure16:05
rtgI can collapse them later16:06
apwi'll send out the patch with a sample patch for the config change so peple can see what it does16:06
apwbut with a view to merging only the code change 16:06
rtgright16:06
apwok plan16:06
mohan_hi.. i am building kernel..17:04
mohan_how to make deb file out of it?17:04
mohan_hi.. any body pls help..17:09
rtgmohan_: start here: https://wiki.ubuntu.com/KernelTeam/KernelMaintenance17:13
mohan_rtg: ok.. thanx..17:15
mohan_rtg: fully confused .. :(17:18
mohan_i am right now done with make modules..17:18
rtgmohan_: then you are doing the wrong thing. see 'https://wiki.ubuntu.com/KernelTeam/KernelMaintenance#Normal full build'17:19
rtgmohan_: you must use debian commands to build the kernel17:19
rtgthe best way is to install devscripts and run 'debuild -b'17:19
mohan_hmm,.. but before it worked..17:19
mohan_i installed RT kernel before in this way..17:19
rtgmohan_: you may have installed it, but you didn't build it that way17:20
mohan_oh.. ok..17:20
mohan_i didn't build a deb package though..17:20
mohan_but now i want..17:20
mohan_but doing this : fakeroot debian/rules binary-generic17:20
rtgmohan_: then do as I've indicated. plod through the steps17:21
mohan_gave error: /usr/bin/fakeroot: line 176: debian/rules: No such file or directory17:21
mohan_ok sir..17:21
rtgmohan_: sudo apt-get install build-essential fakeroot devscripts17:21
mohan_ok.. sir.. its installing..17:22
mohan_takes one min..17:22
mohan_i have done passing menu config and make and make modules command..17:23
mohan_opened package configuration..17:23
rtgmohan_: then you've made a mess. do 'git checkout -f master;git clean -f -d'17:23
rtgthern 'debuild -b'17:23
mohan_ok..17:23
mohan_now what should i set in this package configuration?17:24
mohan_no mail?17:24
rtghuh?17:24
mohan_postfix configuration dialogue box is asking17:24
rtguse the default17:25
mohan_ok..17:25
mohan_what does git checkout do?17:25
rtgmohan_: uh, you must not be using the Ubuntu git repo?17:26
mohan_no..17:26
mohan_i downloaded kernel manually from kernel.org and patched RT kernel to it..17:26
rtgmohan_: then go back to https://wiki.ubuntu.com/KernelTeam/KernelMaintenance and read17:27
jjohansenThe kernel team weekly meeting will start in #ubuntu-meeting in 5 min17:55
=== bjf_afk is now known as bjf
=== lieb_ is now known as lieb
=== mcasadevall is now known as NCommander
zeroprog_ hey guys how do u check MTU size in ubuntu21:21
dtchenip(8), ifconfig(8)21:28
dtchen(same as in other Linux distributions)21:28
=== Twigathy is now known as Twigaboob
=== Twigaboob is now known as Twigathy
=== stew is now known as HolieThePony
maxbDoes anyone know if the lack of provision of a linux-image-debug package is deliberate?22:53
maxbOr is it just an accident of someone thinking that it's redundant now we have ddebs..... except ddebs are effectively only available for the current development release of Ubuntu22:54
dtchenmaxb: rtg answered that some time last week22:59
dtchenmaxb: briefly, the omission is intentional, as they can be built on the servers but result in gigantic binary packages23:01
maxbIt would be nice to have an official comment in LP 28908723:10
maxbubot3: ?23:10
maxbubot3: bug 28908723:10
maxbhrm23:10
ubot3Malone bug 289087 in linux "Missing linux-image-debug packages and metapackages since Intrepid" [Undecided,Confirmed] https://launchpad.net/bugs/28908723:10
ubot3Factoid bug 289087 not found23:10
dtchenmaxb: feel free. https://lists.ubuntu.com/archives/kernel-team/2009-June/005931.html23:12
maxb"How to build them" is not the same question as "Why are they no longer downloadable"23:20
dtchenmaxb: a deliberate attempt to avoid bloating the archive has been raised. i actually asked this question some time ago at the most recent UDS Mtn View.23:22
dtchenmaxb: if you feel it is necessary to have the rationale written precisely in response to why the large debug packages are unavailable from cc.archive.ubuntu.com, then by all means, go for it.23:23
maxbWell, I feel it necessary that the users legitimately noting that a feature present in Hardy is no longer available have some sort of explanation why that is the  case.23:32
=== HolieThePony is now known as stew

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