/srv/irclogs.ubuntu.com/2017/02/17/#ubuntu-kernel.txt

=== JanC_ is now known as JanC
=== JanC is now known as Guest38106
=== JanC_ is now known as JanC
nzoueidiHello, is there any newbie bugs related to the kernel? something I need to start of with13:25
green_apw: any ideas on the situation15:13
apwgreen_, i have no scrollback, so i have no idea as to what we are talking about15:18
green_apw: The whole output http://dpaste.com/2BDBVZW  Do you think it's fine.16:34
green_<apw> green_, that sounds like you enabled the src lines for the CD and not the archive16:34
green_apw: I was trying to recompile kernel and run the command 16:35
green_apw: using instructions here https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel16:35
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 source16:36
apwit is the ones with archive.ubuntu.com that you want to add/uncomment deb-src lines for for that to work16:36
apwnot the deb-src related to the non-existant cdrom16:36
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 files16:37
apwlikely, if apt is finding our ubuntu repositories they must be listed somewhere16:37
apwlikely in /etc/apt/sources.list.d/*16:38
green_I am running mint 18.1. there is /etc/apt/sources.list.d/official-package-repositories.list16:39
green_That file has this line # Do not edit this file manually, use Software Sources instead.16:39
apwyou could do that then16:40
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 multiverse16:41
apwlikely software source will add them if you enable sources16:41
green_What would I do specifically in software sources?16:42
apwgreen_, i think there is a 'source code' tickable, but i don't use it often16:43
green_there is "enable source code repositories"16:44
apwthat sounds like the sort of ting16:45
green_and then update cache?16:45
green_apw: Thanks. that worked I think16:47
ogra_apw, this is mint ... donnt expect something like "software sources" to work as in ubuntu ;) (or anything else for that matter)17:02
apwit is all a guessing game that is for sure17: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 sound17: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 machine17:05
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 version17:07
apw-28 who knows, that isn't anything recent17:11
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:15
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:16
ogra_aha ... http://packages.linuxmint.com/pool/main/l/linux-kernel/ 17:22
ogra_so they call it linux-kernel-17:22
apwcat /proc/version_signature17:23
apwor it is unrelated and all bets are off17:23
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.817:34
apwgreen_: I know little to nothing about how mint selects it's kernels17:46
apwbut the apt-get incantation gives you source for what you are running ...17:47
green_I got this with the cat command Ubuntu 4.8.0-28.30~16.04.1-generic 4.8.617:49
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 instructions17:50
green_apw: for ubuntu17:50
apwthat is some achient version, but if the .DSC you have matches you are good17:51
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 is17:54
green_apw: or how I would check it matches17:54
apwthe versions is in the filename.17:55
green_apw: You mean this linux-hwe-edge_4.8.0.orig17:56
green_apw:  of the downloades source?17:56
apwthere is one ending .dsc17:58
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.dsc18:01
apwthen this is not the one you want18: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.dsc18:03
green_I think 36 did not work correctly with the sound, while 34 I did not try18:04
apwwell the command you are meant to run, should get the one you are running and no other18:07
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
apwwhat was the command you ran18:36
green_apt-get source linux-image-$(uname -r) pasted from https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel18:37
apwand what does "uname -r" say18:38
green_4.8.0-28-generic18:38
green_4.8.0-28-generic is  aslo in mint update manager as "active"18:38
apwso run that in a new clean directory, and pastebin the output18:38
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:40
apwthe source package for linux-image-* can be different, linux, liux-lts-*, linux-hwe, etc etc18:41
green_is there a keyboard shortcut to select all text in terminal18:43
green_http://dpaste.com/2JXCHTY18:44
apwoh it is getting the latest version of the kernel on the assumption you are running the latest18:45
apwapt-get source linux-image-$(uname -r)/$(uname -r)18:47
apwgreen_, ^ does that get a different version ?18:47
green_should I run this apt-get source linux-image-$(uname -r)/$(uname -r)18:52
apwmight work, you never knwo18:52
apwi can't trivially test it here, though if it goes wrong it will get the same wrong one it did before18:52
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 confusing18:53
green_What's the difference between the 2 commands18:54
apwapt-get source linux-image-$(uname -r)18:54
apwapt-get source linux-image-$(uname -r)/$(uname -r)18:54
apwin theory i am requesting a specific version, no idea if it works, it would for a binary18:55
green_apw: Reading package lists... Done18: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-edge18:56
apwbah18:57
green_What about 34.36 What does that mean exactly. If I look at update manager I see 2 different ones: 34 and 3618:57
green_ 4.8.0-34.36~16.04.1 (dsc)18:58
apwthat is the what we call the ABI number18:59
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.3619:00
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:01
green_apw: Why doesn't the command download what I am running and downloads a later kernel with that assumption. 19:02
apwit defines an upload variant within the 4.8.0 series and increments over time19:03
apwgreen_, it seems to assume you would only want to edit the latest code and move forward19:03
apwgreen_, 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:04
apwgreen_, i have gone to the source publication history for that package and found the specific .dsc for that version19:05
=== JanC is now known as Guest50386
=== JanC_ is now known as JanC
lamontis 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 back20:43
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 20:52

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