/srv/irclogs.ubuntu.com/2009/11/30/#ubuntu-kernel.txt

=== Appiah_ is now known as Appiah
Kanohi, how to disable acpi-thermal when it is builtin?11:48
apwKano, it has a module param 'off' so you should be able to do that from the kernel command line12:15
Kanoacpi-thermal=off?12:15
apwmore likely acpi-thermal.off=1 by the look of it, the prefix is a bit of a guessing game12:16
Kanohmm maybe even without12:16
bencerhi all, i'm building a custom flavour of hardy kernel, but i get an error on abi-check. abi-check-* target is looking for an old build: http://launchpadlibrarian.net/36256913/buildlog_ubuntu-hardy-amd64.linux_2.6.24-25.63~ebox1_FAILEDTOBUILD.txt.gz12:26
bencerany clue on how to fix this ?12:26
Kanodisable all checks12:26
bencercustom-binary.d/README doesn't say anything about this12:26
Kanoskipabi=true skipmodule=true12:27
Kanoadd that12:27
bencerKano: where ? rules.d/ARCH.mk ?12:28
Kanoapw: btw. since .32 the virtual build is broken when i compile generic-pae. i do not need it anyway but i dont get why12:28
bencerKano: i think binary-custom.d/myfalvour/rules is the right place to do so, isn't it ?12:30
Kanobencer: i usually compile it manually12:31
bencerKano: i need to build it on my ppa ... local builds are easier to workarround, yes :)12:31
Kanoi think it is another file, apw should know it12:32
apwfor a PPA build putting it in the .mk will work just fine12:34
smbbencer, The "normal" way to get around this is to download the abi files from the last build "./debian/scripts/misc/getabis 2.6.24 <rel.nr>"12:34
apwoften those files are also available in the git report, if there is a startnewrelease commit12:34
bencersmb: i see, but to get this build on launchpad ?12:34
apwof course you would also need to have not made any abi sensitive changes to prevent the checks still triggering12:35
smbbencer, The last one in your case would be the latest that was build and released.12:35
smbIf you are using the latest repo, this would be 25.6312:36
smb(for which no startnewrelease has been done, yet"12:36
benceri'm patching this kernel with l7filter ...12:37
smbIts a bit of download as it pulls the binary packages of all kernels and arch12:37
smbCan't say I know from my head how much this changes12:38
apwthats likely to be an abi bumper anyhow, so you'd want to just turn it off12:38
smbThere could be a bumper as apw says12:38
ghostcubehi peoples 12:38
bencerok, going to switch off all these abi checks12:38
ghostcubei have a question about my nerdy webcam bug 12:38
ghostcubedoes the upstart do at anytime again an slow boot to ctch things changed ?12:38
ghostcubecatch12:38
ghostcubethis would explain why my cam works one day and a few days later it doesnt12:39
apwwhenever you install new packages, you will find it does a ureadahead rescan which is slower12:39
bencerbtw, i want the same config than the -server one, so i generated my binary-custom.d/myflavour/ARCH.config from config/ARCH/config + config/ARCH/config.server, is that right ?12:39
ghostcubeok that would explain why it worked yesterday again12:39
apwiirc we did suggest this was possible12:39
apwand i thought you were going to watch updates to confirm the pattern12:40
ghostcubeapw: yeah but iam still confused12:40
ghostcube:D12:40
ghostcubeapw: i cant exact tell you when it happpens12:40
ghostcubethats my problem iam watching it but cant get into the problem12:40
apwghostcube, but it is you that applies the updates, so you know if you did or not between each reboot12:40
ghostcubeis it needed to install complete new files or is an update enough ?12:40
smbbencer, For the ppa build it would recreate those again and actually build a server flavour too12:40
apwby tracking that you can work out if its related to the update12:41
ghostcubeso this would be the same if i update an package already installed ?12:41
smbbencer, If you really want to force it to use server for both, you'd copy config.server to config.generic in the arch dir12:41
ghostcubeor only a complete new one12:41
apwany package install which includes updates to packages12:41
ghostcubeok i will check this today12:41
ghostcubeand this week long12:41
ghostcubeafter the week i tell you again 12:42
ghostcubehavent got the time to last week12:42
ghostcubei have daily updates from an ppa so it should work 12:42
ghostcube:)12:42
smbbencer, Oh, actually sorry I missed that. Yeah, you would use the two to get that config for a custom flaour12:42
bencerok :)12:42
bencerthanks dude, trying to build now with checks off on binary-custom.d/flavour/rules12:43
* smb wonders... abi checks were done on custom flavours...12:44
apwone presumes its failing on the main flavours cause the source is changed and those are not disabled?12:45
apwbencer, are you disabling the main flavour builds?12:45
bencerapw: nope12:45
smbah ok12:45
bencerbut i should, because i don't need them12:45
smbyeah, then thats the reason12:45
apwso if you are building the main ones and the custom the mains will fail if you don't disable abi there too12:46
apwor drop tehm12:46
smbusually the way custom binaries were done is to add a patch to modify the main code in there12:46
apwthen he may be ok 12:47
smbyep, but still compile time sucks with having all the other stuff in12:47
smband space as well12:47
benceryes, ~3h12:47
apwcloser to 4 these days12:48
bencerand i don't need lpia builds neither ... i'll try to disable all these stuff once it builds12:48
lamontNov 30 05:56:59 mmjgroup kernel: [218942.819621] IPv6: sending pkt_too_big to self <-- something to do with karmic on the same v6 network, or a recent hardy kernel update... why does hardy hate on the v6 so much?13:14
apwlamont, not something i've heard of, smb?13:15
lamontfirst occurred Nov  1 23:43:57 local (-0800)13:17
lamonter, -070013:17
smbnot that I could give a good answer to that. beside ipv6 being sort of the bastard child of protocols and hardy sort of old13:17
lamontmeh.  lying.13:17
lamontsmb: hardy has just short of 4 years of support.13:17
lamontand v6 is like 12 years old.13:18
lamontand yeah, definitely the bastard child13:18
lamontthough everywhere not .us is caring about it more these days13:18
smbso rather to do with karmic on same network, I would be guessing, that they might have increased some packet sizes. I know, not that we forsee all the interactions13:18
* soren still doesn't care, fwiw :)13:18
apwi am constantly amazed we've not been forced over to v613:18
lamont(nov 1 is as far back as syslog goes atm, even though there are older names - those are from june... go me)13:19
smbHm, that would speak against Karmic13:20
lamontapw: .us doesn't care about v6 for the same reasons that the rest of the world cares - 80% or so of the routable v4 IP space belongs to .us (wag statistics for the win)13:20
apwheh a good chunk to ibm and mit13:20
smband from the efforts they put into making internet more "controllable" it does not seem they really spend much time on ipv613:21
lamontmine is a small chunk.  tiny, even.13:21
lamonthrm... not quite lying - backups tell me that the messages began sometime between 01:14 and 23:43 on nov 113:25
lamontsmb: the funny part is the 'to self' in that message...13:27
smblamont, yeah, sounds like something passing on to an internal if... ok, lets look what prints that13:28
lamontapw: I know of one company that owns an effective /713:28
apw /7 wow13:28
lamontapw: well.. historical class A, then they merged with another class-A owner, and well...13:30
lamontbut the blocks don't aggregate13:30
apwstill an allocation of epic proportions in this day and age13:30
apwibm has 9.x and uses one class C out of it for external addresses13:31
lamonthp has expanded beyond the /16 they used to use from their class A13:31
lamonthrm... given what I was doing then.... um, NFC what changed on nov 1.  highly unlikely that I would have done a remote kernel upgrade13:32
apware they spamming the logs or sparse these new messages?13:33
smblamont, Hm, so the likely way to get there is trying to xmit a packet bigger than the mtu and the text seems to want to tell you that it also sends a pkt_too_big message to itself...13:33
lamont4-6 per day13:33
smbactually the message level is debug...13:35
lamontthis AM: x6 @05:56:59, *4 at 05:57:0013:36
lamontyesterday, *10 @04:44:25-2613:36
lamontand 27Nov: *10 at 20:28:44-4513:36
lamontit seems to like that 10-tap13:37
lamontNov 30 05:56:59 mmjgroup kernel: [218942.819600] printk: 8 messages suppressed.13:38
lamontor maybe "more than 10-tap"13:38
smbIt might also happen for packets that are not allowed to be fragmented...13:38
apwyeah 10 at a time is interestng, the text of the message implies we are telling ourselves off as we send13:38
smbThe whole good case is "if ((skb->len <= mtu) || ipfragok || skb_is_gso(skb))" (no idea what gso is)13:38
smbapw, yep, so whatever is trying this should notice and back of in theory13:39
lamontso... consistent bit (across my sampled size of ... 2): postfix with a slew of v6 outbound traffic on the box in question13:40
lamontmaybe pmtu discovery?13:41
lamontthough "to self" kinda speaks against that13:41
smbmight be a logical explanation13:41
lamontthere is a tunnel involved, so MTU is shortened13:41
smbwell, trying something huge, gets told off13:41
smbthen trying smaller, told off again13:41
smb...13:41
smbuntil fits13:41
lamontheh.  how much smaller,I wonder?13:42
lamontmtu on the tunnel (which does not exist on the machine that's bitching) is 148013:42
lamontit could also be once-each for the smtp daemons, too13:43
apwthe message definatly implies local tried to send a packet that won't fit in the mtu if the channel and is not fragmentable, a real response is sent to itself ... so an error should be generated13:43
apwthere is also a stat generated so we should be able to see the real counts13:43
smbIt compares against mtu... That would need something bigger than that and then it makes no sense again to try bigger on the same machine...13:43
apw        IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_FRAGFAILS);13:43
lamontwhere does that show up in /proc?13:45
apwpossibly in /sys/class/net/<device>13:46
smbmaybe /proc as well if one would find the tree in the forest 13:48
lamont{t,r}x_{packets,bytes} are the only non-zero things in /sys/class/net/*/statistics/*13:49
lamont /proc/sys/net/ipv6/ip6frag_secret_interval:60013:50
lamont^^ sure doesn't look all that secret...13:50
apwlamont, :) heh no13:50
apwlets hope the interval is not the secret13:51
lamontheh13:51
smbnot anymore13:51
lamontevery box I look at, == 60013:51
lamontso it must be the interval for regenerating the secret13:51
apwheres hoping .. else kees will be hopping up and down13:51
lamont14%, 12%, 13%... maybe cloning hardy, karmic, _and_ lucid kernels at the same time was not-so-smart13:53
apwlamont, do you have a master linus tree?  if you get one of those and git clone --reference linus ubuntu-foo13:54
apwyou will download _much_ less13:54
lamontoh!13:54
apwthey can share the objects in common that way ... but do not delete the linus tree :)13:54
lamontright13:55
* lamont freshens his linus tree13:55
lamontwould referencing ubuntu-jaunty speed up ubuntu-karmic?13:56
lamont(curious only - I plan to nuke -jaunty, so not gonna actually do it)13:56
smbbetter never reference anything other than Linus13:57
lamontsmb: point.13:57
smbthats the only tree only going forward13:57
lamontafk for a few while the kernel fetches13:57
smb(or better is never rebased)13:57
akheronsmb: hey, thanks for the kernel building help13:59
akheronI was able to bisect the problem13:59
akheronand this is the result: http://bugzilla.kernel.org/show_bug.cgi?id=1470013:59
ubot3bugzilla.kernel.org bug 14700 in Power-Processor "Broken system because of a bad ACPI commit" [Normal,New] 13:59
smbakheron, Ah, you're welcome. And upstream already knows of that too. Perfect. :)14:01
apwakheron, so which patch did i you add to confirm the fix,  just the last one?14:01
akheronapw: originally I just reverted the commit mentioned in the bug report14:02
smbhm, that looks strikingly like something I've seen before14:02
akheronI'll try the patch in bugzilla later today14:02
smbhave you ever tried a ubuntu 2.6.31-16 kernel?14:02
akheronno14:02
smblet me quickly check14:02
apwsmb in our stable updates perhaps?14:02
smbI got the impression this might be in there...14:03
akheronthe bisecting took so long that I think it was -14 with which I found out that my machine doesn't boot14:03
smbyep, seems like its there14:03
smbakheron, https://launchpad.net/~stefan-bader-canonical/+archive/karmic14:04
smbtry that kernel14:04
smbakheron, Do you have a lp bug open as well?14:05
akheronyes14:05
akheronhttps://bugs.launchpad.net/linux/+bug/48176514:05
ubot3Malone bug 481765 in linux "ACPI: After an upgrade to Karmic, the system hangs on boot" [Unknown,Confirmed] 14:05
apwsmb, excellent we can tie the tat to the stable update14:05
smbyup14:05
akheronsmb: I'll try -1614:06
smbapw, but let akheron confirm that kernel does help him14:06
smbakheron, thanks14:06
akheronbut I don't have the machine in my hands right now14:06
apwsmb, indeed so14:06
akheronwhich commit in ubuntu-karmic fixes this?14:07
akheronor you think fixes it14:07
smbACPI: fix Compaq Evo N800c (Pentium 4m) boot hang regression14:07
akheroncannot find that one, has it been pushed out?14:07
smbIts in the git repo on the master branch14:07
akheroni'm using git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git14:08
akheronstill cannot find it14:08
smbHm, its in mine and it claims to be in sync with the remote one14:09
smbapw, You find it?14:09
apwcommit 24b73c5eac1aa8cdee7271dcba9d2fb7fea488be14:10
apwyep14:10
apwdon't search with the (...) bit of the title though14:10
smbakheron, are you still on a checkout of your bisect?14:10
apwelse less doesn't find it14:10
apwgit log origin/mater14:10
apwmaster14:10
smbah right14:11
akheronok I found it14:12
akheronit's already there in -14.4614:12
akheronmy cpu family      : 614:12
akheronso that fix shouldn't help with my problem14:12
smbakheron, what model?14:13
apwapw@dm$ git describe --contains 24b73c5eac1aa8cdee7271dcba9d2fb7fea488be14:13
apwUbuntu-2.6.31-14.46~1814:13
akheroncpu family      : 614:13
akheronmodel           : 1414:13
akheronthe whole cpuinfo is attached in http://bugzilla.kernel.org/show_bug.cgi?id=1470014:14
ubot3bugzilla.kernel.org bug 14700 in Power-Processor "Broken system because of a bad ACPI commit" [Normal,New] 14:14
smbthe patch seems to change behaviour for family = 6 and lowers the limit from 14 to 0f14:14
smbfor model14:14
smbhm...14:15
akheronyes14:15
akheronand I guess it should change from 6/15 and upwards14:15
akheronerr14:15
smbok, it would be the same in your case. probably even if you 14 is dec and those numbers are hex14:16
akheronit changes the behavior for 16/* and 6/14 and upwards14:16
akheronurgh, now I'll have to fly14:16
apwsmb, ok the patch you point to is _not_ the one in the upstream bug14:16
apwits yet a further refinement14:16
lamontheh.  my linus tree was ancient... now at 27%14:16
akheronare we talking about a different patch?14:16
akheron:)14:17
akheronI'll test -16 and the proposed fix in kernel bug 14700 later14:17
ubot3Malone bug 14700 in vnc "xvncviewer -listen X Error" [Medium,Fix released] https://launchpad.net/bugs/1470014:17
akheronsee ya14:17
apwsmb http://bugzilla.kernel.org/attachment.cgi?id=2397314:17
smbapw, I looked at http://bugzilla.kernel.org/show_bug.cgi?id=1470014:18
ubot3bugzilla.kernel.org bug 14700 in Power-Processor "Broken system because of a bad ACPI commit" [Normal,New] 14:18
apwyep, but the last patch therre he tested is not in our tree even in origin/master14:19
apw+    (c->x86 > 0xf || (c->x86 == 6 && c->x86_model >= 0x0f)))14:19
apwthe patch you pointed out changes the first 0xf14:19
apwthe last one in the bug, the attachment i pointed out 14:19
apwchanges the second 0xf14:19
smbright i see14:19
smbbut actually then, the patch we have could have more impact14:20
smbhm no14:20
apwdifferent impact14:20
smbwell actually in both cases it seems to be the same14:21
apwthe second looks like a refinement on the first14:21
* apw doesn't see that14:21
apwthe patch we have:14:21
apw-           (c->x86 > 0x6 || (c->x86 == 6 && c->x86_model >= 14)))14:21
apw+           (c->x86 > 0xf || (c->x86 == 6 && c->x86_model >= 14)))14:21
apwthe tested patch:14:21
apw-    (c->x86 > 0xf || (c->x86 == 6 && c->x86_model >= 14)))14:22
apw+    (c->x86 > 0xf || (c->x86 == 6 && c->x86_model >= 0x0f)))14:22
smbwith the version as it was before the one we have, it would go into the if as model >= 14 and x86 = 614:22
apwhe is testing with the first patch, and with both14:22
smbits always the second part of the || that applies, isn't it14:22
apwand there we move from >=14 which he has to >=16 which he does not14:23
apw<akheron> model           : 1414:23
smboh, heck14:23
smbmoving from dec to hex in that patch14:23
smbso yes14:23
smbsomehow my brain made both into hex14:24
apwheh14:24
=== Appiah_ is now known as Appiah
=== bjf-afk is now known as bjf
smoserapw, jjohansen or anyone ... according to man kernel-img.conf do_initrd only disables a warning that the ramdisk is being created.18:26
smoseris there a way to say "do not create ramdisk"  in /etc/kernel-img.conf ?18:26
apwsmoser, i don't think i am aware of it18:27
apwas in i don't think i know18:27
smoserreading the postinst, it doesn't look like it. seems like the kernel package itself defines that:18:28
smosery $initrd            = "YES";        # initrd kernel18:28
smoserthanks though.18:28
apwi'd not be supprised if we don't have support for no initramfs, as its needed for so much of our boot stuff18:28
=== NCommander is now known as Guest64268
brycesconklin, we're discussing -nouveau/kms on #ubuntu-x if you're interested23:31
sconklinbryce: thanks, joining23:32
dtchenbjf: I've been CCing you on these conversations; let me know if you'd like me to stop23:51

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