You are not logged in.

#1 2011-01-31 22:00:29

cruznick
Member
From: México
Registered: 2010-07-15
Posts: 37
Website

Can not compile custom kernel

Hi I'm  trying to compile my own kernel for using fbcondecor and liquorix set of patches so I create a custom pkgbuild for kernel26 based on arch kernel26 pkgbuild from abs/core
The problem comes when I start compilation it gets aborted without error message, here are the files and the log :

CUSTOM PKGBUILD FOR KERNEL26
http://pastebin.com/8X9nmWaU

CONFIG FOR KERNEL
http://pastebin.com/A08CXFZ0

MAKEPKG LOG
http://pastebin.com/tLs9GnRC



Also my lscpi output

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

I know I'm missing something but I don't know what

For creating the config file I untar the kernel source and run localmodconfig and gconfig for removing what I think I don't need
Also I'm using the liquorix patches set becuase they allready include the support for fbcondecor

I am using this pages as reference for creating the config file
http://zen-kernel.org/tutorials/creatin … figuration
http://kmuto.jp/debian/hcl/index.rhtmlx
http://kernel-seeds.org/

Can someone point me to the right direcction I'll apreciate that a lot ( this  are my first attempts to compile a custom kernel smile )

I'm running arch x86_64 uptodate

Offline

#2 2011-02-01 01:34:11

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Can not compile custom kernel

why dont you try and build the custom kernel, with that pkgbuild and no patches applied first?

this way you will know if the fault is in the pkgbuild or the patches themselves. they might be needing a special config option.

Offline

#3 2011-02-01 13:09:43

Ber
Member
From: Belgium
Registered: 2006-07-05
Posts: 80
Website

Re: Can not compile custom kernel

Your error is here :

kernel/sched_bfs.c:3393:1: error: tipos en conflicto para ‘wait_for_completion_interruptible_timeout’
include/linux/completion.h:84:13: nota: la declaración previa de ‘wait_for_completion_interruptible_timeout’ estaba aquí
kernel/sched_bfs.c:3398:1: error: tipos en conflicto para ‘wait_for_completion_interruptible_timeout’
include/linux/completion.h:84:13: nota: la declaración previa de ‘wait_for_completion_interruptible_timeout’ estaba aquí
kernel/sched_bfs.c:3426:1: error: tipos en conflicto para ‘wait_for_completion_killable_timeout’
include/linux/completion.h:86:13: nota: la declaración previa de ‘wait_for_completion_killable_timeout’ estaba aquí
kernel/sched_bfs.c:3431:1: error: tipos en conflicto para ‘wait_for_completion_killable_timeout’
include/linux/completion.h:86:13: nota: la declaración previa de ‘wait_for_completion_killable_timeout’ estaba aquí
kernel/sched_bfs.c:3948:5: error: tipos en conflicto para ‘sched_setscheduler’
include/linux/sched.h:2069:12: nota: la declaración previa de ‘sched_setscheduler’ estaba aquí
kernel/sched_bfs.c:3954:1: error: tipos en conflicto para ‘sched_setscheduler’
include/linux/sched.h:2069:12: nota: la declaración previa de ‘sched_setscheduler’ estaba aquí
kernel/sched_bfs.c:3967:5: error: tipos en conflicto para ‘sched_setscheduler_nocheck’
include/linux/sched.h:2071:12: nota: la declaración previa de ‘sched_setscheduler_nocheck’ estaba aquí

As far as I can see it seems that your patches are actually doing something to sched_bfs.c, so it's probably their fault.  eldragon's advice could verify that.


V=RI sweet V=RI

Offline

#4 2011-02-15 11:48:37

gemon
Member
Registered: 2010-11-23
Posts: 20

Re: Can not compile custom kernel

since I'm experiencing exactly the same problems, starting from the arch official patchset to bring to kernel 2.6.37-5 by using ABS, is there any place where we can find the exact list of applied patches, a description, and most important the list of CONFIG options those patches depend on?
otherwise it's gotta be impossible to build a custom kernel using ABS and the arch patchset...

thanks in advance
Gemon

PS: the only place I could find some info about patches is at Kernel 2.6 Arch project page

Offline

#5 2011-02-15 12:10:06

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Can not compile custom kernel

That's all the info you need, isn't it?

I just omit it from mine, as I don't use anything that it provides. Might not work for everyone, of course. smile

Offline

#6 2011-02-16 15:26:49

gemon
Member
Registered: 2010-11-23
Posts: 20

Re: Can not compile custom kernel

To be honest, my problem didn't have anything to do with custom config options and patches...although I learnt another thing from this great distro about where patches are, and how makepkg works. Only thing is: there's nowhere declared if a patch assumes a given config option is enabled/disabled. Maybe 'cause they have no restrictions?

Sorry if I posted on an original post of a different problem of mine, but this helped me out at least to identify *my* problem smile

Gemon

Offline

#7 2011-02-16 17:25:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Can not compile custom kernel

Just apply some research and/or common sense e.g. if you decide to apply the aufs2 patches that are used in the Arch kernel, it's more or less assumed that you will enable aufs2 in the config.

Offline

Board footer

Powered by FluxBB