/srv/irclogs.ubuntu.com/2011/04/11/#ubuntu-kernel.txt

=== _LibertyZero is now known as LibertyZero
JoshuaLSince the kernel freeze is in 3 days I have a request, can someone please take a look at this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/75482508:04
JoshuaL_Oops, kernel panic08:10
apwJoshuaL_, that is the 'staging' driver for broadcom chips right?  does your system work ok with the proprietry wl driver ?08:11
JoshuaL_apw: its the driver enabled by default, the same happens with the proprietary driver 08:12
apwJoshuaL_, if the panic is the same with the prop driver then i suspect that the brcm80211 driver has not been disabled correctly08:17
JoshuaL_apw: ok, how can i check if it is disabled properly and if not how do i disable it then?08:19
apwJoshuaL_, it would make sense to see if brcm80211 is blacklisted in /etc/modprobe.d/* .... if it is not make a new file blacklist-brcm80211.conf containing 'blacklist brcm80211'08:22
apw(all when the prop driver is enabled) and see if that works as a combination08:22
apwthe brcm80211 driver is very flaky as far as i know at the current release08:23
JoshuaL_blacklist-bcm43.conf is present, ill add the blacklist-brcm80211.conf and see if it helps08:24
apwJoshuaL_, thanks08:24
JoshuaL_apw: isnt it an idea to have it disabled by default in the final release?08:24
apwJoshuaL_, yes may well be ... will decided based on your testing08:25
apwits enabled on all my systems with those chips but seems to silently do nothing with wl in place so you are slightly unique08:25
apwbut it also seems odd that installing bcmwl does not add the disable08:25
JoshuaLOops, after my last message i had the kernel panic, could you please repeat what I had to blacklist?08:26
apw<JoshuaL_> blacklist-bcm43.conf is present, ill add the blacklist-brcm80211.conf and see if it helps08:27
apw<apw> JoshuaL_, it would make sense to see if brcm80211 is blacklisted in /etc/modprobe.d/* .... if it is not make a new file blacklist-brcm80211.conf containing 'blacklist brcm80211'08:27
JoshuaLapw: thanks. isnt it an idea to disable the driver by default in 11.04?08:28
apw<apw> its enabled on all my systems with those chips but seems to silently do nothing with wl in place so you are slightly unique08:28
apw<apw> but it also seems odd that installing bcmwl does not add the disable08:28
diwicpoor dude08:29
apwyep he has a bad case of the bouncy bouncy08:29
JoshuaLit makes me happy to hear that I am unique :D08:30
JoshuaL:p08:30
diwichmm, that was the old one disconnecting though, thought he had another panic08:30
JoshuaLi am going to reboot so the bad driver gets disabled, brb08:32
apwdiwic, heh me too08:32
=== smb` is now known as smb
JoshuaL_back, is there anything i could do to collect more information to solve the problem?08:35
apwJoshuaL_, the quality of that driver is so bad right now just avoiding it seems to be the recommendation ... i don't think its going to mature for a few upstream kernel releases08:36
apwit is one of the drivers which truly deserves to be in staging08:36
JoshuaL_ok :)08:36
apwstill at least it exists and is improving, better than nothing08:37
JoshuaL_true08:37
ppisatikexec -l /boot/vmlinuz-2.6.38-1207-omap4 -append="console=ttyO2 ..."11:23
ppisatiMemory for crashkernel is not reserved11:23
ppisatiPlease reserve memory by passing "crashkernel=X@Y" parameter to the kernel11:23
ppisatibut if i add "crashkernel=16M" and flash-kernel11:23
ppisatithe board dioesn't boot anymore11:23
ppisatiso, what's the magic to get kexec work on ARM?11:23
ppisatii'm just following: LP51784111:23
ogra_i think ericm and cooloney worked on kexec support on arm in the past 11:25
ogra_(but gave up when it broke over and over again)11:25
ppisatilet's see if they are still around11:25
apwppisati, does that work without a 'where' part?11:33
ppisatiapw: it should figure out where to reserve memory by itself11:34
ppisatiapw: that's what the kdump doc says11:35
ppisatihttp://www.mjmwired.net/kernel/Documentation/kernel-parameters.txt11:35
ppisaticrashkernel=size[KMG][@offset[KMG]]11:35
ppisatithe funny thing is that, all the docs i found about kexec didn't mention this crashkernel= option11:35
apwppisati, ahh ok, supprised for most use cases you need to also know where it is ... but that shouldn't stop it working i ugess11:35
ppisatiso i wonder if it has been added later11:36
apwyou shouldn't need a crash kernel if you are just using it for kexec though should you ?11:36
ppisatinope11:36
apwie if you are kexec 'load' then reboot or whatever you do these days11:37
ppisatiapw: the i guess you need to specify where the "new" kernel is loaded11:37
apwi thought when you -l'd it it just found enough space in memory for it anywhere11:37
ppisatiactually is the kexec tools that complains about that option11:37
apwthen copied it to the normal place on actuall hand over11:37
ppisatithat was the plan, but it complains11:37
ppisatikexec -l ...11:38
ppisatiMemory for crashkernel is not reserved11:38
ppisatiPlease reserve memory by passing "crashkernel=X@Y" parameter to the kernel11:38
ppisatiThen try loading kdump kernel11:38
* apw wonders if there are two load options11:38
apwor possibly that simply it cannot find enough memory to load it11:38
ppisatiperhaps the second one11:39
ppisatithe kexec man page states:11:39
ppisatikexec -l /boot/vmlinux --append=root=/dev/hda1 --initrd=/boot/initrd11:39
ppisatiand then11:39
ppisatikexec -e11:39
* apw whines about installing kexec-tools to just look at the man page regenerating his initramfs11:40
apwppisati, oddly there are two load options '-l' and '-p' and the message you get is what i'd expect from -p11:41
ppisatikexec-tools broken?11:42
apwpossible11:42
apwi would try -p for giggles and see what it does11:43
ppisation mvl-dove it doesn't complain about the missing crash-kernel=11:46
apwppisati, wihch kernel did you say it was complaining?11:48
apwi wonder if there is a kexec config difference on omap411:48
ppisatiyep, omap411:48
ppisatiLinux panda 2.6.38-1207-omap411:49
=== yofel_ is now known as yfoel
=== yfoel is now known as yofel
=== chuck_ is now known as zul
fairuz Hi, If I patched my kernel with a xxx.h, and I build an external modules that uses xxx.h. I've tested it on the patched kernel and it works. Is it possible to use the module (by recompiling of course) with an unpatched kernel? or will it complaining about the missing xxx.h?13:36
apwfairuz, all depends where the xxx.h is, if its with the module source it should be foudn13:46
fairuzapw: ok ty13:57
ogasawaraapw: \o/ welcome back!14:07
apwogasawara, YAY!14:14
=== diwic is now known as diwic_afk
jjohansenapw: Bug #75754914:52
apwbug #75754914:54
* apw hits ubotu14:54
* smb thinks ubotu has quit14:55
=== sconklin-gone is now known as sconklin
* ogasawara back in 2015:00
=== kentb_ is now known as kentb_dell
=== kentb_dell is now known as kentb
=== kentb is now known as ubuntu-touch
=== ubuntu-touch is now known as kentb
=== jjohansen is now known as jj-afk
=== hggdh_ is now known as hggdh
* apw goes to touch test natty on his main dev box16:16
donriI'm having sound issues with ALC892 in Maverick and I'd like to try a more recent kernel. Do I have to build myself?16:34
lagapw: Why doesn't checkpatch like emacs?16:35
lagapw: Specifically, it's tabs16:41
apwlag, define not liking them, how does it complain16:43
lagIt's not checkpatch's fault, it's Emacs16:44
lag0001-Framework-for-exporting-System-on-Chip-information-v.patch:69: WARNING: line over 80 characters16:44
lag#69: FILE: drivers/base/soc.c:22:16:44
lag+                                                                                 struct device_attribute soc_attrs[])16:44
apwsuspected as much16:44
lagAuto indentation 16:44
apwemacs is stupid at times16:44
apws'why real men don't use it :)16:45
* lag tuts16:45
lagI like it :)16:45
lagIt's never done this before though?16:45
lagAll looks good in the file, but when you run checkpatch I receive a million errors16:45
lagI thought you may have heard of it before and have a solution?16:46
apwits nearly 15 years since i gave up on emacs for wrecking my wrists, sorry :)16:47
lag:(16:47
apwit must think you want spaces though16:47
lagOkay, thanks anyway16:47
apwyou could try unexpand to clean up on it16:47
lagIt only happens for function parameters 16:47
apwoh that may be deliberate16:48
apwthats a gnu ism16:48
apwto use '    ' to fix auto indent on those16:48
lagWhy put 1500 spaces?16:48
lagUse what?16:48
apwso that if you display tabs as 2 characters they line up or something16:48
lagWhat's '   '?16:49
apwthose are spaces :)16:49
lagCheckpatch winges about spaces16:49
apwthere are setting on c-mode to control that sort of thing iirc16:49
apwyes as it should, gnu c formatting is not right for the kernel16:50
apwthey have different and equally bizarre rules as the kernel16:50
apwthere is a guide on how to configure emacs for the kernel somewhere16:50
lagEven git doesn't play nicely with emacs16:51
lag+static ssize_t ux500_get_family(struct device *dev,16:51
lag+                                                               struct device_attribute *attr,16:51
lag+                                                               char *buf)16:51
apwlag see the very very large bit of lisp in Documentation/CodingStyle16:51
apwlag, that is just poor presentation of epicly long lines16:51
lagYou'll have to expand XChat if you want to see what I'm talking about16:51
apwsee chapter 9 'You've made a mess of it'16:52
lagThat could work16:52
lagapw: Didn't work17:11
lagapw: How annoying!17:11
lagapw: This isn't something I've noticed before?17:12
=== herton is now known as herton_lunch
apwlag, hrm you are hosed :)17:13
apwmust be a change in emacs17:13
donriIs recompilation the only option to get a more recent kernel?17:18
donriMaverick17:18
apwdonri, more recent than what?17:30
donriapw: than the 'linux' package in main17:35
apwfor maverick no there is nothing offered officially17:35
donrippa?17:36
apwdonri, not that i can recall no17:41
donriokay thanks17:42
kirklandJFo: hey17:42
kirklandJFo: I just wanted to make sure that https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/747090 is on your radar17:42
* JFo looks17:42
JFokirkland, I don't usually look at qemu-kvm bugs. Does it need a kernel patch?17:43
* JFo reads some more17:43
JFoah yeah17:43
JFoI see serge's comments17:44
donrihow about something like http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-rc2-maverick/ ?17:44
* JFo adds a kernel task17:44
kirklandhallyn: am i correct in reading that https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/747090 is kernel-only, ie, no bug in qemu-kvm userspace, right?17:44
kirklandJFo: i just marked it high/triaged/B2 against linux17:44
kirklandJFo: feel free to adjust according to your standards ;-)17:44
JFokirkland, you beat me to it :-)17:44
JFowill do17:44
kirklandJFo: ;-)17:45
=== jj-afk is now known as jjohansen
kirklandhallyn: i think the qemu-kvm task to that bug should be marked invalid17:45
JFoI've tagged it so it will show up in our hot list17:45
kirklandJFo: you da man17:46
JFoogasawara, https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/747090 which you are probably already looking at. :-)17:46
JFokirkland, no, that is you. I am the man standing next to da man :)17:46
hallynkirkland: yes, i believe so17:49
kirklandhallyn: cool, i updated accordingly already17:49
=== herton_lunch is now known as herton
hallynkirkland: thx17:52
=== sforshee is now known as sforshee-lunch
kirklandjjohansen: any progress on https://bugs.launchpad.net/ubuntu/+source/linux/+bug/610597 ?18:04
jjohansenkirkland: no, I was poking at it and reproduced, and then it kind of fell by the wayside to a couple critical bugs18:05
jjohansenkirkland: aufs suffers from the same basic thing though18:06
kirklandjjohansen: okay, i just noticed it was milestoned against b218:06
kirklandjjohansen: right18:06
kirklandjjohansen: it's not critical to me, i was just wondering if it was really a b2 bug18:06
jjohansenwell, hrmm I guess not18:06
jjohansenthat is its not going to get done for beta218:07
jjohansenkirkland: also the best solution I have come up with is entirely userspace18:07
kirklandjjohansen: oh?18:08
kirklandjjohansen: something i can put in ecryptffs-utils?18:08
kirklandjjohansen: what is it?18:08
jjohansenkirkland: its walking the mounts late in resume18:08
kirklandah18:09
kirklandjjohansen: so mountall?18:09
jjohansenyeah possibly, I hadn't decided on where exactly, but that is a candidate18:09
kirklandjjohansen: okay, well, i've moved the milestone on the linux part of that bug to ubuntu-later, rather than natty-b218:10
kirklandjjohansen: feel free to update if you change your mind ;-)18:10
kirklandjjohansen: or perhaps adding a task for mountall18:10
jjohansenkirkland: oh, thanks.  I just might I want to poke at it a little more before adding the mountall task18:11
jjohansenkirkland: of course I can see some kernel dev that could be done for it, might be fun to start sending out udev events, that propogate up a mount chain :)18:13
kirklandjjohansen: k18:13
JFo<-lunch18:23
=== hallyn is now known as hallyn-afk
* apw calls it a day ... this is toooo much like work18:44
kirklandJFo: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/75168919:22
kirklandJFo: me, jdstrand, and slangasek  have all hit this bug in the last few days19:22
jdstrandlast few days? I've hit it all cycle19:23
jdstrandit affects the maverick kernel too (it's in the bug)19:23
kirklandjdstrand: yeah, i've been hitting it in Maverick randomly for a while now19:24
kirklandjdstrand: but i've hit it 2 days in a row (for the first time) on Natty19:24
jdstrandkirkland: you just need to hit all 8 cpu/threads for a while19:33
jjohansenhey vendors need to stop shoving 45W parts in little machines19:40
jjohansens/hey/heh/19:40
JFokirkland, ok thanks19:53
kristian-aalborgjjohansen: ping - private?19:55
jjohansenkristian-aalborg: can you wait 30 min?19:56
kristian-aalborgsure19:56
kristian-aalborgI didn't mean to stress you :)19:56
slangasekkirkland: hum, I never hit this bug before upgrading to natty, and I was running my system at full-throttle at various points during UDS20:12
slangaseknow I've hit it 4-5 times in the past two weeks20:12
stgraberkirkland: +1 on x201s ;) Had the issue twice today working with kvm ...20:22
hallynslangasek: which bug?20:24
hallynoh, you all are having the kvm memory bogosity?20:24
hallynall on x201s?20:24
slangasekhallyn: no, kernel failing to throttle the CPU when it hits the thermal threshold20:25
slangasekand the machine shutting down when it hits the critical point20:25
slangasekeither it's a kernel bug or I've worn out my fan in the past 6 months :)20:25
stgraberlaptop going from 60C to 100C in 5 minutes, then triggering emergency shutdown ...20:25
hallyndoh20:26
stgraberI have a "watch -n1 cat /proc/acpi/ibm/thermal" running on my external monitor, as soon as I see it reach 98C I usually start killing kvms :)20:26
slangasekhah20:27
stgrabergets down to 60-70C really fast after that :)20:27
jjohansensadly the better we make use of the cpu, the more likely this is to happen20:32
jjohansennot saying there isn't a bug here,20:32
* jjohansen -> lunch20:50
kirklandstgraber: interesting, i hadn't tied the heat to my use of lots of kvm's yet;  thanks for the pointer20:58
stgraberkirkland: today with AC/heating fighting at the office (new building ...) just starting an ubuntu desktop install would get my laptop to 100C21:00
kirklandstgraber: wowsers21:01
lrf0808_Hello!23:48
=== chuck_ is now known as zul

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