/srv/irclogs.ubuntu.com/2010/11/22/#ubuntu-kernel.txt

=== amitk is now known as amitk-afk
=== ericm_ is now known as ericm|ubuntu
=== doko_ is now known as doko
=== ericm|ubuntu is now known as ericm-afk
sleblancHello, is there a tool to automatically generate a config file with the best value to its corresponding hardware?09:34
aboganiIt depends from what you mean for "best value".09:35
* abogani waves all09:36
apwsleblanc, i think there might be something to minimise it, but not sure i know what it is called09:42
apwabogani, morning09:42
sleblancI want to get a smallest kernel, but with the need to work properly.09:42
sleblancIt is to realize a network appliance with 2 GB of disk space.09:45
aboganiapw: Good morning!09:45
aboganisleblanc: Perhaps "make localmodconfig" could help you.09:48
sleblancThanks,09:50
krautmoin10:01
=== amitk is now known as amitk-afk
=== amitk-afk is now known as amitk
ArnoldHi all, I have a question hope you can help11:03
ArnoldI'm applying a kernel patch that adds 3 system calls on kernel 2.6.32 (Ubuntu 10.04)11:04
ArnoldNow I'm noticing that unistd.h and syscall_table_32.S doesn't match up11:05
ArnoldAlso there doesn't seem to be a syscall_table_64.S file...11:07
ArnoldDoes someone know why there is a discrapancy in the system call numbers from the header file and the syscall table?11:08
apwArnold, what version was the patch originally for11:41
apwArnold, as 64bit doesn't seem to do its syscall linkage in the same way at all11:43
=== xfaf is now known as zul
=== ogra_ac_ is now known as ogra_ac
=== amitk is now known as amitk-afk
apwhttp://people.canonical.com/~apw/master-natty/13:34
apwhttp://people.canonical.com/~apw/ronx-revert-natty/13:37
apwhttp://people.canonical.com/~apw/master-natty/13:52
=== ogra_ac_ is now known as ogra_ac
apwtgardner, how did urbana tae the master-natty update14:41
tgardnerapw, yep, though the kernel you sent still had an -rc2 in the signature. I've rebuild from master and am just booting that.14:42
tgardnerapw, looks good now: Ubuntu 2.6.37-6.16-server 2.6.37-rc314:43
apwtgardner, huh ? i have it booted here with -rc314:43
tgardnerapw, maybe I grabbed the wrong one. no matter.14:43
apwtgardner, good enough i'll upload it14:44
tgardnerapw, wfm14:44
Arnoldapw: Sorry I was in a meeting15:19
ArnoldThe patch was for 2.6.24, but I've completely rewritten it for 2.6.3215:20
apwok well then the syscall infrastructure has changed a lot between the two15:21
Arnoldi've noticed ;)15:22
ArnoldCan you explain the numbering in include/asm-generic/unistd.h to me?15:23
apwwell the numberiing its using is in arch/x86/include/unistd_64.h15:23
Arnoldok, I'm building a 32bit kernel, so I guess it's unistd_32.h15:25
Arnoldthe asm-generic is not used.. k thnx, that explains :)15:25
apwArnold, well no i think 32bit is different again15:26
Arnoldi do have a arch/x86/include/asm/unistd_32.h15:26
apwthere _is_ a suscall_table_32.S15:26
apwwhich i think has to be kept in sync15:26
apwwhereas 64 bit is fixed so they cannot be out of sync15:26
Arnoldok15:26
apwso 32 bit is harder as you have to do both, 64 just the one15:27
Arnoldin 2.6.24 they also needed to be in sync. I was unaware of how the 64bit version was now working and that the files ware renamed15:28
Arnoldthanks apw ! ++15:28
tgardnerapw, Uploading linux-lts-backport-natty_2.6.37-6.16~lucid115:31
apwtgardner, is there anything in there ?15:31
=== bjf[afk] is now known as bjf
tgardnerapw, do you mean is there anything currently in the kernel-ppa ?15:32
apwtgardner, DOH i missread it, ignore me, and thanks15:33
tgardnerapw, pushed to the repo as well15:33
smoserjjohansen, are you working today ?16:38
jjohansensmoser: yep16:38
smoserso you and i have different results with https://bugs.launchpad.net/ubuntu/+source/linux/+bug/66949616:38
ubot2Launchpad bug 669496 in linux (Ubuntu) "natty fails ec2 boot on i386 or t1.micro (affects: 1) (heat: 10)" [Critical,Confirmed]16:38
smoserwhich is "interesting", "fun" or whatever you want to call it :)16:39
jjohansensmoser: yeah, though I am not sure it is that different16:40
smoserat very least, i think all of you, i and smb have booted the kernel successfully on m1.large, and my initial attached logs show filesystem or block device failing after user space starts.16:40
jjohansenI launched a lot of instances and most didn't produce console output16:40
smoseryeah, so thats the first thing to fight i guess.16:41
smoserwithout console output, you're black magic skills have to come in.16:41
jjohansen:(16:41
jjohansenblack magic == iterate16:42
jjohansenbut its not all bad we actually have a half decent starting point in maverick16:42
smoseryeah. 16:45
apw[plus some madman is changing natty under your feet all the time]16:45
smbAnd unfortunately all the console output looks like pre kernel start 16:45
smosersmb, well, yes, but jjohansen and i know better than to trust that.16:45
smoserunfortunately, you can't16:45
smbjjohansen, I thought I might try to see what old versions we have in the natty repo (ie 2.6.36) and try how that goes...16:45
smosersmb, see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/58871516:46
ubot2Launchpad bug 588715 in linux-meta-ec2 (Ubuntu) (and 1 other project) "instance had only post-shutdown console output (affects: 1) (heat: 22)" [Undecided,New]16:46
smoserbasically, i do not 100% trust the console collection in the hypervisor.16:46
jjohansensmb: sure, I was going to troll through the commits to block front and back16:47
smbsmoser, No worries I am not really trusting anything there. Just was trying to say, that no output from the natty kernel in any cases16:47
smosersmb, well, right... i'm just saying that I suspect that the kernel is getting loaded, properly writing plenty of things to hvc0 , crashing, and that crash causes hypervisor to not be able to display logs16:48
smbThe x sectors of 0 bytes initially were looking strange but that is the same in maverick i386 and that boots16:48
smoserpossibly its just a buffer that was lost or something, but one way or another, sometimes console logs aren't there, when you know that the kernel wrote something.16:48
smoserjjohansen, smb i trust both of you, so i'll stop nagging :)16:49
smosersmb, for the pv-on-hvm in natty, we think that is just kernel config options (s/think/hope/) 16:50
smoserright ?16:50
smbI agree that it would be too nice to really look at the machine it happens and to see whether one might pull a memory dump or so. Sadly thats out of qquestion.:)16:50
smbsmb, right16:50
smbAnd we hope they are already turned on (at least it looks like that to me)16:50
smbI believe jjohansen wanted to play a bit with those on Fri16:51
smoseroh. i didn't realize they were turned on.16:51
smoserin -virtual ?16:51
smoserthat would rock. i'm going to install a centos here and poke at getting hvm instances going16:51
smoseri suspected i would have to recompile kernel, but not having to do that is nice16:51
smbthere at least. 16:52
jjohansensmoser: yeah its just a kernel config option16:52
jjohansenwhich makes it nice and easy16:52
jjohansenI was just playing with whether to turn on for server/generic or only -virtual16:53
smbIf it is XEN_PVHVM then its even turned on for all confis16:53
jjohansenI think just a module for all16:53
smoserjjohansen, i'd think it makes sense to turn it on as modules in server, right ?16:53
smoseror is there something negative from that.16:54
jjohansensmoser: i don't see anything negative16:55
jjohansenI just wanted to make sure16:55
smosersize of ramdisk ?16:55
jjohansensmoser: well turning it on is different than sticking it in the ramdisk16:56
jjohansensmoser: sticking it the ramdisk is another issue16:56
smoserwell, yes, but i was under the impression that we touched the mkinitramdisk stuff very little16:57
jjohansenI think we will have to do that for -server16:57
smoser(ie, didn't change "MOST" and the like)16:57
oldkidmoin moin17:12
apwhi17:16
smbjjohansen, So ubuntu-2.6.36-2.8 fails to boot as well (which is less surprising when one finds out that this is based on 2.6.37-rc1)17:35
jjohansensmb: o_O17:36
jjohansensmb: yea I wasn't expecting it to boot but that version skew is worthy of a double take17:36
smbjjohansen, I guess such things happen during development phase17:37
jjohansenyeah17:37
smbI am moving back to a real .36 and check again17:38
keesapw: whoa. I wonder when module ro/nx broke so badly for your system? It was fine for me.17:40
keess/when/why17:40
apwa good question, but i did a single patch revert to confirm it was that support which borked everything17:40
keeswhat cpu do you have?17:41
apwit broke on both my atoms, 32bit and 64bit17:41
apwit also broke all of tgardner's installs, including a big-iron intel17:42
tgardnerkees, plus 2 of my machines17:42
tgardnerah, what apw said17:42
apwkees, it looked like it was trying to link modules and failing17:42
apwi also had an ftrace failure17:42
apw(for sky2)17:43
keesand you pulled all 4 patches? now I wonder what I did wrong in my testing. I even built with page table debugging to verify it worked17:43
apw4 patches ?17:43
keesyeah, my pull request show 3 from mat and 1 from me (config)17:43
apw849fdf5 UBUNTU: [Config] update config for CONFIG_DEBUG_SET_MODULE_RONX17:44
apw18f3991 x86: Add RO/NX protection for loadable kernel modules17:44
apw5c0fd04 x86: Add NX protection for kernel data17:44
apw18e43c9 x86: Fix improper large page preservation17:44
apwthose yes ?17:44
keesyup. bizarre17:44
apwok the only one i had to dunk was the last one17:44
apwwell the last two i guess17:44
apwas they are one change17:44
keesright17:44
keeshunh17:44
apwthe kernel data NX survived ok17:45
apwkees, what base did you test it on17:45
keesi tested in 2 VMs (32 and 64)17:45
apwi mean which base version of the kernel17:45
keesand they had all kinds of modules17:46
keesthe natty based on -rc217:46
keesplus the NFS fix17:46
keesshould still be on tangerine17:47
apwhrm, cannot explain it at all17:49
keeswell, I didn't test on real hardware, but I know kvm handles NX correctly, so maybe it's something subtly wrong in kvm17:51
tgardnerkees, also just saw this in LKML, a resume regression: Bisect to commit 5bd5a45(x86: Add NX protection for kernel data).17:51
keeslike maybe it only handle nx in ring317:51
kees*handles17:51
* apw puts security patches on his shit list :)17:52
keesheh17:52
keesi'l follow up with the author and try to reproduce on bare metal. bleh.17:53
tgardnerapw, I think we should back the NX patches out for now until we can have a closer look. I just has an unexplained reset on my Urbana17:53
tgardnerwhich _could_ be something else...17:54
apwtgardner, fair enough17:54
apwtgardner, i can confirm that my amd64's do not resume with this kenel18:01
apwoddly my i386s do18:01
tgardnerapw, Lin Ming just posted 'x86: Resume trampoline must be executable' which should fix it18:02
apwtgardner, out it goes18:03
tgardnerapw, but, given this stuff will show up in .38 I think we should back it out for now until the dust settles.18:03
apwyep, it'll be back but tested i hope18:03
tgardnerapw, I dropped a couple of patches in master-next. I think this is worthy of another upload.18:04
tgardnerthis being the NX/RO revert18:05
apwone of these days one of my uploads will finish building before it turns to shite18:05
apwyep if its breaking suspend as well its going to generate much whining18:06
tgardnerit'll generate some whinging from me, for sure :)18:06
smbjjohansen, Partial good news. What we are looking for happened somewhere between 2.6.36 and 2.6.37-rc1 (I know that is still quite broad)18:16
jjohansensmb: yep, also check your mail some interesting info there18:17
smbSaw it. Just need to grok what that exactly said about the micro instances.18:18
smbBut at least a 2.6.36 final rebase from our git tree still boots18:18
smbjjohansen, oops, maybe I should have checked the dmesg first...18:20
smbjjohansen, Seems I am on a ro filesystem after io errors happened. But I was able to ssh into it18:21
=== yofel_ is now known as yofel
jjohansensmb, smoser: we should split bug #669496 as t1.micro failing is a separate issue from t1.small and t1.medium failing19:08
ubot2Launchpad bug 669496 in linux (Ubuntu) "natty fails ec2 boot on i386 or t1.micro (affects: 1) (heat: 10)" [Critical,Confirmed] https://launchpad.net/bugs/66949619:08
* tgardner lunches19:08
smoserjjohansen, sure.19:09
jjohansenI was surprised by smb reporting boot success of 2.6.36 because the initial bug was filed against a 2.6.36 kernel, but of course it was t1.micro failing19:09
smbjjohansen, Well there was a small addition to that19:09
jjohansensmb: oh what was the addition?19:09
smoserm1.small and c1.medium19:09
smbWhich meant it booted but failed with the "io error"19:10
jjohansenah, I missed that19:10
smoserjjohansen, well, the original failure showed both on m1.large and t1.micro19:10
smoserbut... who cares.19:10
smosergoing forward i think there are possibly 3 issues:19:10
smoser * amd64 sometimes doesn't boot19:10
jjohansenhrmm, well t1.micro failing on x86_64 is definitely a different issue than i38619:10
smoser * i386 never boots19:10
smoser * t1.micro never boots19:11
jjohansenright19:11
jjohansent1.micro has the additional issue of memory constraints19:11
smoserso, i will defer to however you and smb want to handle the bugs there.19:11
smbjjohansen, How did you read that? For micro one needs to configure it to use no huge memory layout? Cause it is assigned only around 500M19:13
smbbtw it was a t1.micro that booted into the ro-fs but was accessible through ssh19:14
jjohansensmb: hrmm, I'm not sure.  I think we need to play with it a bit to clarify exactly what the constraints are19:14
jjohansensmb: oh you had to go add that little detail didn't you19:15
jjohansen:(19:15
jjohansenalright we won't split the bug yet19:16
jjohansenbut I expect its 2 maybe 3 separate issues19:16
smbProbably I wanted to retry a few more times before I add that info to the bug19:17
smberr19:17
smbThats should be "probably <dot> I ..."19:17
ohsixanyone have any idea on how receptive vendors are to reports for bios breakage; like do they ever fix things (in general, compaq/hp in particular)19:50
jjohansenohsix: sometimes, it doesn't hurt to try19:53
ohsixthis is what fwts has to say about my laptop: http://paste.ubuntu.com/535329/19:53
ohsixdoes ubuntu have any swing with hp/compaq? or anyone i can directly send a report to that will really count, experience lends that mails sent to general support addresses are almost never acknowledged19:54
jjohansenohsix: I am sure canonical as some relationship with hp/compaq but I don't know the details and I don't have anything I can give you19:55
ohsixalright, cool19:56
ohsixwould it be appropriate to report it to launchpad if its not strictly related? is there a place for that?19:56
ohsixpart of fixing some problems i have with my video is lending me to looking at lots of things that are also telling me things are broken :O19:57
h0nkhi, I was wondering if kafs allowed to set permissions on the afs mount (using kafs)20:00
h0nkright now only root can read some mounts below it20:01
ohsixargh; can't even find an email to report stuff to21:02
ohsixthis is like the only stuff that really pisses me off :] (my sn is out of warranty on their little form so i can't see _any_ support addresses)21:06
ohsixyou could obfuscate it enough that nobody is ever able to contact you, that saves money so people do it :[21:14
=== tgardner is now known as tgardner-afk
=== ogra_ac__ is now known as ogra_ac

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