You are not logged in.

#1 2015-12-04 15:42:00

nadav96
Member
Registered: 2015-11-28
Posts: 25

[SOLVED] Upgrade kernel to 4.3 resulted in "recipe for target failed"

Hey there! I recently decieded to upgrade to a newer kernel, in attempt to get more support for the last generation intel cpu (skylake), which I heard supported in the newer kernels.

So I downloaded the 4.3 stable release tar.xz from here

Run make mrprober and menuconfig (left the configuration as is)

The errors started when I tried to make, here is the output:

make[1]: Entering directory '/home/nadav/kernel-4.3/build'
  CHK     include/config/kernel.release
  Using /home/nadav/kernel-4.3/linux-4.3 as source for kernel
  GEN     ./Makefile
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[2]: 'include/generated/mach-types.h' is up to date.
  CC      kernel/bounds.s
/home/nadav/kernel-4.3/linux-4.3/./Kbuild:44: recipe for target 'kernel/bounds.s' failed
/home/nadav/kernel-4.3/linux-4.3/Makefile:984: recipe for target 'prepare0' failed
make[1]: Leaving directory '/home/nadav/kernel-4.3/build'
Makefile:146: recipe for target 'sub-make' failed

What does recipe for target means? I checked the Changes file and all the software mentioned there is up to date in my laptop..

lspci -v:

00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 08)
	Subsystem: Dell Device 06b2
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
	DeviceName:  Onboard IGD
	Subsystem: Dell Device 06b2
	Flags: bus master, fast devsel, latency 0, IRQ 255
	Memory at d1000000 (64-bit, non-prefetchable) [size=16M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel modules: i915
...

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] (rev 81)
	Subsystem: Dell Device 06b2
	Flags: fast devsel, IRQ 279
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at e000 [size=256]
	Expansion ROM at d0040000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon

pacman -Qi linux:

Name           : linux
Version        : 4.2.5-1
Description    : The Linux kernel and modules
Architecture   : x86_64
URL            : http://www.kernel.org/
Licenses       : GPL2
Groups         : base
Provides       : None
Depends On     : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps  : crda: to set the correct wireless channels of your country
Required By    : None
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size :  73.54 MiB
Packager       : Tobias Powalowski <tpowa@archlinux.org>
Build Date     : Tue 27 Oct 2015 09:14:44 AM IST
Install Date   : Fri 27 Nov 2015 08:38:37 PM IST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

And the narrow specs of my laptop are (Dell inspiron 15 5559):
CPU - core i7-6500U
GPU - AMD Radeon R5 M335 4GB DDR3


Any help will be appreciated!

Last edited by nadav96 (2015-12-05 20:36:09)

Offline

#2 2015-12-04 15:45:50

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,125

Re: [SOLVED] Upgrade kernel to 4.3 resulted in "recipe for target failed"

You could try linux-4.3-1 from [testing] repo .

If you do want to roll your own kernel, check the wiki.
https://wiki.archlinux.org/index.php/Ke … ild_System seems like a good starting point.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2015-12-04 15:58:42

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Upgrade kernel to 4.3 resulted in "recipe for target failed"

Lone_Wolf wrote:

You could try linux-4.3-1 from [testing] repo .

If you do want to roll your own kernel, check the wiki.
https://wiki.archlinux.org/index.php/Ke … ild_System seems like a good starting point.

What are the benefits of the version in the arch repo? Is it more stable?

And can you help me understand what does this errors mean? I couldn't find documention about them in my search..

Sorry if it's trivial, I don't have much experience in the kernel area hmm

Offline

#4 2015-12-04 16:07:28

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: [SOLVED] Upgrade kernel to 4.3 resulted in "recipe for target failed"

nadav96 wrote:

What are the benefits of the version in the arch repo? Is it more stable?

1. It works already.
2. You don't have to compile it (unless you want to compile your own kernel).
3. It's tracked by pacman.

It's generally best practice to always install software with a package either from the repositories or made by writing
your own PKGBUILD file so that you can keep track of it and later remove it from your system in a clean way.

Last edited by TheChickenMan (2015-12-04 16:07:51)


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#5 2015-12-04 16:09:43

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 755

Re: [SOLVED] Upgrade kernel to 4.3 resulted in "recipe for target failed"

Archlinux uses vanilla packages, so it is basically what you get after compiling source from kernel.org.
As for the error, you gave only a fraction of what was going on (last error message is usually not the first one)

Online

#6 2015-12-05 20:35:30

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Upgrade kernel to 4.3 resulted in "recipe for target failed"

I found the solution! turns out all there was missing was the bc software
installed it and now it proceeding as expected!!

Many thanks to everyone smile

Offline

#7 2015-12-05 20:39:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Upgrade kernel to 4.3 resulted in "recipe for target failed"

This is another reason to use existing packages/PKGBUILDS.  Linux-mainline is already in the AUR, and it lists bc as a dependency, so you wouldn't have to guess, you could just run makepkg -s and the deps would be installed.

https://aur4.archlinux.org/packages/linux-mainline/


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB