[13:25] <nzoueidi> Hello, is there any newbie bugs related to the kernel? something I need to start of with
[15:13] <green_> apw: any ideas on the situation
[15:18] <apw> green_, i have no scrollback, so i have no idea as to what we are talking about
[16:34] <green_> apw: The whole output http://dpaste.com/2BDBVZW  Do you think it's fine.
 green_, that sounds like you enabled the src lines for the CD and not the archive
[16:35] <green_> apw: I was trying to recompile kernel and run the command 
[16:35] <green_> apw: using instructions here https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
[16:36] <green_> apw: apt-get source linux-image-$(uname -r)   
[16:36] <green_> apw: I wanted to recompile the same kernel I am  using and edit regd.c file in source
[16:36] <apw> it is the ones with archive.ubuntu.com that you want to add/uncomment deb-src lines for for that to work
[16:36] <apw> not the deb-src related to the non-existant cdrom
[16:37] <green_> That line was not in the source file. There is only one line in the file 
[16:37] <green_> you then asked me to check whether there are other files
[16:37] <apw> likely, if apt is finding our ubuntu repositories they must be listed somewhere
[16:38] <apw> likely in /etc/apt/sources.list.d/*
[16:39] <green_> I am running mint 18.1. there is /etc/apt/sources.list.d/official-package-repositories.list
[16:39] <green_> That file has this line # Do not edit this file manually, use Software Sources instead.
[16:40] <apw> you could do that then
[16:41] <green_> all other lines are uncommented. None have deb-src; they all begin with deb and then an URL e.g. deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
[16:41] <apw> likely software source will add them if you enable sources
[16:42] <green_> What would I do specifically in software sources?
[16:43] <apw> green_, i think there is a 'source code' tickable, but i don't use it often
[16:44] <green_> there is "enable source code repositories"
[16:45] <apw> that sounds like the sort of ting
[16:45] <green_> and then update cache?
[16:47] <green_> apw: Thanks. that worked I think
[17:02] <ogra_> apw, this is mint ... donnt expect something like "software sources" to work as in ubuntu ;) (or anything else for that matter)
[17:05] <apw> it is all a guessing game that is for sure
[17:05] <green_> ogra_: So it appears I downloaded the source for 4.8.0 and updates for 4.8.0-34.36 but I am running -28 specifically because it works with sound
[17:05] <green_> ogra_: the idea was to enable chan 13 on the sound card by editing regd.c on this exact kernel which work correctly with the sound on a new kaby lake machine
[17:07] <green_> In update manager, the -28 is listed as the first available. Would that mean that 4.8.0 source that I downloaded is -28 or could it be some other version
[17:11] <apw> -28 who knows, that isn't anything recent
[17:15] <green_> Is there any way to check in some file? Is this statement correct for mint also For example to obtain the source for the currently running kernel you can use the command:
[17:15] <green_>     apt-get source linux-image-$(uname -r)
[17:16] <ogra_> doesnt mint have its own kernel package ? that would likely not be called linux-image-*
[17:16] <green_> does "currently running kernel" mean the specific ver (-28) that I am running or just 4.8.0 without any specific version.
[17:22] <ogra_> aha ... http://packages.linuxmint.com/pool/main/l/linux-kernel/ 
[17:22] <ogra_> so they call it linux-kernel-
[17:23] <apw> cat /proc/version_signature
[17:23] <apw> or it is unrelated and all bets are off
[17:34] <green_> I am not really sure. I was pointed to Ubuntu when I asked about kernels. That list at  http://packages.linuxmint.com/pool/main/l/linux-kernel/  ends at 4.4 while currently the latest are 4.8
[17:46] <apw> green_: I know little to nothing about how mint selects it's kernels
[17:47] <apw> but the apt-get incantation gives you source for what you are running ...
[17:49] <green_> I got this with the cat command Ubuntu 4.8.0-28.30~16.04.1-generic 4.8.6
[17:50] <green_> apw: so I don't need to check if the source is the same version as what I am running. I could just try to recompile and use those instructions
[17:50] <green_> apw: for ubuntu
[17:51] <apw> that is some achient version, but if the .DSC you have matches you are good
[17:54] <green_> apw: I guess I could wait for 4.10 and try it instead since I am already recompiling. I am not sure what .DSC is
[17:54] <green_> apw: or how I would check it matches
[17:55] <apw> the versions is in the filename.
[17:56] <green_> apw: You mean this linux-hwe-edge_4.8.0.orig
[17:56] <green_> apw:  of the downloades source?
[17:58] <apw> there is one ending .dsc
[18:01] <green_> apw: aha. actually no, it's 34.36 with .dsc and I am running 28.  I also see this dpkg-source: warning: failed to verify signature on ./linux-hwe-edge_4.8.0-34.36~16.04.1.dsc
[18:03] <apw> then this is not the one you want
[18:03] <green_> apw: 3 files were downloaded: linux-hwe-edge_4.8.0.orig, linux-hwe-edge_4.8.0-34.36~16.04.1 and linux-hwe-edge_4.8.0-34.36~16.04.1.dsc
[18:04] <green_> I think 36 did not work correctly with the sound, while 34 I did not try
[18:07] <apw> well the command you are meant to run, should get the one you are running and no other
[18:36] <green_> apw: ok so what do you think happened. I did run that exact command. Is it possible that the orig file is what I am running and the 34.36 are updates?
[18:36] <apw> what was the command you ran
[18:37] <green_> apt-get source linux-image-$(uname -r) pasted from https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
[18:38] <apw> and what does "uname -r" say
[18:38] <green_> 4.8.0-28-generic
[18:38] <green_> 4.8.0-28-generic is  aslo in mint update manager as "active"
[18:38] <apw> so run that in a new clean directory, and pastebin the output
[18:40] <green_> I am running it. I see this line Picking 'linux-hwe-edge' as source package instead of 'linux-image-4.8.0-28-generic'
[18:41] <apw> the source package for linux-image-* can be different, linux, liux-lts-*, linux-hwe, etc etc
[18:43] <green_> is there a keyboard shortcut to select all text in terminal
[18:44] <green_> http://dpaste.com/2JXCHTY
[18:45] <apw> oh it is getting the latest version of the kernel on the assumption you are running the latest
[18:47] <apw> apt-get source linux-image-$(uname -r)/$(uname -r)
[18:47] <apw> green_, ^ does that get a different version ?
[18:52] <green_> should I run this apt-get source linux-image-$(uname -r)/$(uname -r)
[18:52] <apw> might work, you never knwo
[18:52] <apw> i can't trivially test it here, though if it goes wrong it will get the same wrong one it did before
[18:53] <green_> ok. I'll try it. I guess I could also update the kernel to 34 and see if it works with the hardware. I believe I tested 36 but not 34; I don'[t remember. But 34.36 is also confusing
[18:54] <green_> What's the difference between the 2 commands
[18:54] <apw> apt-get source linux-image-$(uname -r)
[18:54] <apw> apt-get source linux-image-$(uname -r)/$(uname -r)
[18:55] <apw> in theory i am requesting a specific version, no idea if it works, it would for a binary
[18:56] <green_> apw: Reading package lists... Done
[18:56] <green_> Picking 'linux-hwe-edge' as source package instead of 'linux-image-4.8.0-28-generic'
[18:56] <green_> E: Unable to find a source package for linux-hwe-edge
[18:57] <apw> bah
[18:57] <green_> What about 34.36 What does that mean exactly. If I look at update manager I see 2 different ones: 34 and 36
[18:58] <green_>  4.8.0-34.36~16.04.1 (dsc)
[18:59] <apw> that is the what we call the ABI number
[19:00] <green_> apw: If I click on changelogs in update manager I see both 34 and 36 described as _4.8.0-36.36~16.04.1/changelog was not found on this server.
[19:00] <green_> apw: Actually no. 34 is 34.36
[19:01] <green_> I could try updating the kernel to 34 (34.36); If it works with the sound hardware I could conceivably recompile that kernel.
[19:02] <green_> apw: Why doesn't the command download what I am running and downloads a later kernel with that assumption. 
[19:03] <apw> it defines an upload variant within the 4.8.0 series and increments over time
[19:03] <apw> green_, it seems to assume you would only want to edit the latest code and move forward
[19:04] <apw> green_, how about this "dget -d https://launchpad.net/ubuntu/+archive/primary/+files/linux-hwe-edge_4.8.0-28.30~16.04.1.dsc"
[19:05] <apw> green_, i have gone to the source publication history for that package and found the specific .dsc for that version
[20:43] <lamont> is it possible that a Core2 Q8400 would be better served by not using zram swap?  This machine is generally swapped to death everytime I go away for a while and come back
[20:52] <ogra_> i cant really imagine a scenario where zram wouldnt be a good idea (unless you only have 128M on a 200MHz single core or so)
[20:52] <ogra_> but easy to test i guess ... just remove the zram stuff and see