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

calci'm trying to go a git bisect for drm-intel-nightly using mainline-build-one using the information from https://wiki.ubuntu.com/Kernel/KernelBisection but I am getting the following error http://pastebin.ubuntu.com/8274644/ any tips? Do I need to setup a chroot for it to work, I didn't see mention of that in the guide.00:02
calclooking in the script it looks like it hasn't been updated since precise00:08
DandelI have an issue with the kernel panicing due to the ath9k driver and was wondering how i would go about accessing the kernel logs stored in the uefi nvram.00:31
mjg59Dandel: You'll need to enable the UEFI pstore backend - I think it's turned off by default00:37
mjg59After that, abrt should automatically pick it up00:37
Dandelwho do i enable it?00:37
Dandelthe syslog, kernlog and others are useless since whenever it freezes or reboots there is spam of null character making it unreadable in text editors.00:38
Dandeland even after checking the backtrace never got saved to disk00:38
Dandelalso, how would i check how much free memory there is on the efi vars? ( there is a chance my system may brick due to samsung issues, it's a samsung laptop with an amd apu )00:39
mjg59The current kernel code should prevent that00:40
Dandeli did not.00:40
Dandel*it did not00:40
mjg59?00:40
Dandelspamtastic :) ( i get hundreds of lines of wifi spam )00:40
mjg59I mean, the kernel should prevent the bricking issue00:41
mjg59Boot with pstore_disable=000:41
Dandelk... also, the system has been up less than 40 minutes, and there is already 589 instances where the bandwidth changed00:42
Dandelath9k driver leading to a kernel panic in mac8021100:42
Dandelfrom what i can read on the picture i took, the hang is in rate_control_set_rates00:43
mjg59Oh, sorry, ignore what I said about abrt. Missed which channel I was in.00:45
mjg59After the panic and reboot, there should be some entries in /sys/fs/pstore00:45
mjg59Just rm them after you've copied them somewhere00:45
Dandelnothing made it there00:46
mjg59Have you booted with pstore_disable=0 and then had a crash?00:47
Dandelno, it takes a few days00:47
mjg59Ok00:47
mjg59You need pstore_disable=0 set before the crash00:48
DandelIt takes about 4 days00:48
Dandeland that depends on how much streaming of video.00:48
Dandelhow do i enable the pstore now so i can clear it out for next boot?00:54
mjg59Set pstore_disable=0 when you boot00:57
mjg59Er00:57
mjg59efivars.pstore_disable=000:57
mjg59Wait, no. Sorry.00:57
Dandelis there a way to make this permanent where updating grub does not wipe out the config?00:58
mjg59efi_pstore.pstore_disable=0 pstore.backend=efi00:58
mjg59I'm afraid I don't know how to configure Ubuntu's grub00:58
Dandeli know i can modify GRUB_CMDLINE_LINUX_DEFAULT in the file /etc/default/grub but package updates of grub usually wipe it out.00:58
Dandelmjg59, do you know if the samsung laptops that use amd processors are unaffected by the efi nvram bug you find?01:00
mjg59I have no idea, I'm afraid01:02
mjg59But the kernel should prevent nvram filling up now01:02
Dandelhow do i check how much free space is in nvram ?01:02
Dandelalso, do you have any idea on how to boot linux using the windows uefi boot loader? ( grub has a nasty habit of destroying hibernation support on windows )01:03
Dandelalso note, that it's uefi specific, so the requirement is that you haft to be setup to use efi/uefi only.01:04
mjg59You can't01:10
mjg59It'll only boot stuff that's signed by Microsoft01:10
Dandelthen what about refind?01:14
Dandelit's an alternative for grub and does not seem to have the issue with breaking windows hibernation.01:17
infinityDandel: Package updates of grub don't wipe out /etc/default/grub, that's the whole point of the file.04:34
Dandelinfinity, then do you have any suggestions at silencing the constant spam?10:27
Dandeli keep getting the same two messages spammed about 457 times an hour.10:32
infinityDandel: I have no idea about you wifi woes, I was just pointing out that your assetion that grub upgrade "wipe out" /etc/default/grub wasn't at all true.  It's a conffile whose sole purpose is for the package to leave it alone so you can configure your stuff.10:46
Dandelyea, but when the grub package updates it wipes that out.10:47
infinity...10:53
infinityNo, it really doesn't.10:53
TJ-Dandel: Only if the package upgrade is configured to replace it with the maintainers version10:54
infinityTJ-: Even then, not true, it's not a conffile, but a generated file that we then take great pains to not damage on upgrade.10:55
Dandelinfinity, then explain to me why when using grub on efi, it breaks hibernation on windows. ( not a known issue on non-efi systems )10:56
TJ-infinity: No, it is shipped in grub2-common, as "/usr/share/grub/default/grub"10:56
infinityTJ-: Right, but it's not magically replaced.10:59
infinityTJ-: Unlike a dpkg conffile, which you could configure dpkg to always take the maintainer's version.10:59
infinityDandel: That's a bit of a non-sequitor.  How does that relate to your claim that we overwrite your config?11:00
Dandelit's part of the issues i ran into with the system ( not sure where to report some of it )11:01
infinityThe hibernation issue is https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/122988611:03
ubot5Ubuntu bug 1229886 in grub2 (Ubuntu) "Grub2 cannot bring Win 7 out of hibernation - error 0xc000009a " [Undecided,Confirmed]11:03
infinityBut if you really are losing /etc/default/grub settings, we'd love a bug and information on how to reproduce it.11:03
infinityRandom assertions that we wipe out your config, however, I can't work with.  Cause we really do everything in our power not to.11:03
DandelI generally use the stock package configurations :)11:06
Dandelalthough, it was a pain to get dual booting with windows working... I'm thinking of doing a bug report requesting a change in how ubuntu is handled on x86-based efi systems. ( boot loaders )11:07
TJ-infinity: I just managed to provoke the "replace /etc/default/grub with the package maintainers version" on 14.04 - trying to figure out why it did that now11:08
infinityTJ-: You mean, without it asking?11:09
Dandeli think my crash on my wifi may be a user space bug 0o'11:16
ubot5Error: Launchpad bug 0 could not be found11:16
TJ-infinity: Yes. It is an edge-case but it can happen (usually because another sys-admin, or a forgetful sys-admin, is unaware/has forgotten about a previous choice they made with ucf) : http://paste.ubuntu.com/8279350/11:55
DandelTJ-, In my case it's more of a forgetful sys-admin, where i set things up once and do not expect to haft to prune overrides every time.12:11
TJ-Dandel: The only way I know of to cause it to happen every time is to change the UCF configuration itself12:14
Dandelucf configuration?12:15
Dandelthe only place i know to modify options for grub is /etc/default/grub and on top of that, the grub search scripts ( and the installer ) do not properly detect windows on efi systems.12:16
Dandelalthough i do not have the windows partitions mounted at boot, i mount them later on, but that should not cause issues since i do mount the efi partition.12:16
TJ-Dandel: Discovery of other OSes is done and controlled by  "/etc/grub.d/30_os-prober"12:35
EQ__hi there16:45
EQ__anybody free for some questions about kernel debugging?16:45
EQ__gdb does not show any function names even with the vmlinux loaded16:45
EQ__thx16:45
TJ-EQ__: You need the debug build (unstripped) from the ddeb repository, and possibly the kernel source tree if you wish to dig deeper17:29
EQ__I have both17:34
EQ__now I recompiled the source with CONFIG_DEBUG_INFO=y17:34
EQ__vmlinux is present, same applies here, no function names in the gdb17:35
EQ__I tried with different 3.13.0-x kernels, 3.11.0-x kernel it was the same17:35
EQ__but it was working with 3.5.0-x but there was no source on the repository17:35
EQ__I tried to debug from debian, now I copied the VM with the ubuntu17:52
EQ__I attached the debugger from ubuntu to ubuntu17:53
EQ__now it is working, but for me it is weird...17:53
TJ-EQ__: I've tried to reproduce the issue here, but it works fine. What function name(s) were missing?18:12
EQ__all of them, are you trying to do it from ubuntu?18:30
EQ__working with this: GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7 - This GDB was configured as "i686-linux-gnu".18:31
EQ__was not working with this: GNU gdb (GDB) 7.4.1-debian - This GDB was configured as "x86_64-linux-gnu"18:32
EQ__and yeah, I set the architecture to i386 afterwards18:32
EQ__when I hit ctrl+c there was no function names in the backtrace18:32
TJ-EQ__: We could theorize that the Debian gdb is configured differently in terms of where it looks for debug symbols; I'm not sure whether Debian have adopted the Ubuntu ddeb conventions fully as yet - I know there was discussion on doing that18:34
EQ__I see18:35
EQ__thanks for the info18:44
EQ__bye now18:44
Dandeli managed to decrease the log spam of the wireless, and it seems to involve an edge case brought on by mixing new and old equipment.21:19
Dandelin particular newer equipment capable of running 450mb/s over the 2.4ghz spectrum.21:19
DandelThe older hardware is the atheros AR9285 based wireless chip capable of up to 150 mb/s21:21
Dandelthe new router uses newer wireless chips, namely the atheros AR9381 and atheros AR9380 ( the later is for 5ghz )21:25

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