You are not logged in.

#1 2017-09-08 06:19:18

sitwano
Member
Registered: 2017-07-07
Posts: 83

.config keeps getting overridden when making kernel

I've downloaded the 4.13 kernel sources. I'm following the arch wiki and I've tried using the default arch configuration by

 zcat /proc/config.gz > .config 

However, when I run make i'm being prompted to choose options again. For this I've just pressed enter to select default option for every prompt. Is this normal? I see that by doing this my .config file is being replaced. Am I doing this correctly??

Offline

#2 2017-09-08 06:28:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: .config keeps getting overridden when making kernel

You need to work through the new options for the .13 kernel, they won't be included in the current running kernel's config.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-09-08 06:35:29

sitwano
Member
Registered: 2017-07-07
Posts: 83

Re: .config keeps getting overridden when making kernel

Okay thanks. One more thing, how do I get the linux headers from the source I downloaded? The wiki only talks about modules. The headers are needed for virtualbox DKMS.

Offline

#4 2017-09-08 06:59:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: .config keeps getting overridden when making kernel

"downloaded the 4.13 kernel sources" isn't very exact, but the kernel.org tarball of course includes all headers - how would you build it otherwise.
You'll have to install them like the modules for that kernel.

Why are you trying to build 4.13 yourself?

Offline

#5 2017-09-08 07:08:12

sitwano
Member
Registered: 2017-07-07
Posts: 83

Re: .config keeps getting overridden when making kernel

Ok thanks. I guess its just going to be

#make headers_install

I'm compiling the kernel to check whether my touchpad issues are fixed. Normally I'd look at the changelog but kernel.org doesn't provide changelog for this version. I'm also interested in learning how to do compile kernel on my own.

Offline

#6 2017-09-08 07:15:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: .config keeps getting overridden when making kernel

Ok, but fyi: 4.13 is in preparation for two days and will likely be released before you're done. So don't be frustrated - you still learned things ;-)

https://bugs.archlinux.org/task/55030 ?

Offline

#7 2017-09-08 07:19:52

sitwano
Member
Registered: 2017-07-07
Posts: 83

Re: .config keeps getting overridden when making kernel

AWH MAN! I didn't know that! lol anyways its this problem https://bbs.archlinux.org/viewtopic.php?id=229349. I also have this problem https://bbs.archlinux.org/viewtopic.php?id=229776 . If this doesn't work I'm just going to compile the LTS kernel with the patch that fixes my hibernation problem. Sigh, the things I do to get everything working properly on my laptop.... tongue

Offline

#8 2017-09-08 07:24:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: .config keeps getting overridden when making kernel

seth wrote:

Ok, but fyi: 4.13 is in preparation for two days and will likely be released before you're done.

It will probably be longer than that. Major versions usually take longer to get to [testing], however there is linux-mainline in the AUR if you can't wait...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2017-09-08 09:54:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: .config keeps getting overridden when making kernel

Sorry, I meant in preparation "since" two days.

Offline

#10 2017-09-08 10:43:04

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: .config keeps getting overridden when making kernel

Should be noted the 4.13 commit to the linux package will not build see https://bugs.archlinux.org/task/55500#comment160863

==> Starting package_linux-headers()...
install: cannot stat 'Documentation/DocBook/Makefile': No such file or directory
==> ERROR: A failure occurred in package_linux-headers().
    Aborting...
==> Removing installed dependencies...

Full makepkg output https://ptpb.pw/Ytnh
You could try linux-hardened which is now based on 4.13

Offline

#11 2017-09-09 09:41:18

sitwano
Member
Registered: 2017-07-07
Posts: 83

Re: .config keeps getting overridden when making kernel

Quick question.

I've compiled the kernel following arch wiki. However I've been researching online and I see that there is also the #make install command. Does this work to install linux kernel in arch linux? Does it take care of all the manual stuff specified in the arch wiki?

Offline

#12 2017-09-09 09:47:54

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,721
Website

Re: .config keeps getting overridden when making kernel

I'm not sure what you mean by "all the manual stuff", but see https://wiki.archlinux.org/index.php/Ke … ompilation

It's generally preferable to use the ABS method rather than this "traditional" method, since packages are easier to maintain than untracked files that pacman has no idea about.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB