[solved] Errors when building a kernel

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sun Aug 23 08:04:34 UTC 2015


On Sat, 22 Aug 2015 22:54:22 +0200, I wrote:
>Tom's hint is useful, menuconfig's search option does the trick, I
>seemingly got rid of MPILIB=m.
>
>Thank you.

Thank you Tom :)

I was able to build the kernel packages and the Wily install currently
runs the kernel successfully.

[weremouse at moonstudio ~]$ uname -a
Linux moonstudio 3.10.61-rt65-1-moonstudio #1 SMP PREEMPT RT Sun Aug 23
02:13:10 CEST 2015 x86_64 x86_64 x86_64 GNU/Linux

In edition I needed to "disable"

CONFIG_MEGARAID
CONFIG_PCH_GBE

Building was done in around 1½ hours, from Sun Aug 23 02:00:09 to Sun
Aug 23 03:28:47 CEST 2015.

[weremouse at moonstudio ~]$ /etc/init.d/rtirq status

  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
  441 FF      90   - 130  0.0 S    irq/18-snd_hdsp	
  547 FF      85   - 125  0.0 S    irq/20-snd_ice1	
  566 FF      84   - 124  0.0 S    irq/21-snd_ice1
[snip]


[weremouse at moonstudio src]$ grep CONFIG_X86
config-3.10.61-rt65-1-rt-lts_x86_64.Arch_Linux_original|head -n3
CONFIG_X86_64=y CONFIG_X86=y
CONFIG_X86_64_SMP=y

[weremouse at moonstudio src]$ grep
CONFIG_X86 /boot/config-3.10.61-rt65-1-moonstudio|head -n3
CONFIG_X86_64=y CONFIG_X86=y
CONFIG_X86_64_SMP=y


[weremouse at moonstudio src]$ diff
config-3.10.61-rt65-1-rt-lts_x86_64.Arch_Linux_original /boot/config-3.10.61-rt65-1-moonstudio
3c3 < # Linux/x86 3.10.61 Kernel Configuration
---
> # Linux/x86_64 3.10.61 Kernel Configuration
52c52
< CONFIG_LOCALVERSION="-1-rt-lts"
---
> CONFIG_LOCALVERSION="-1-moonstudio"
162c162
< CONFIG_CHECKPOINT_RESTORE=y
---
> # CONFIG_CHECKPOINT_RESTORE is not set
321d320
< CONFIG_ASN1=m
1734c1733
< CONFIG_SCSI_ADVANSYS=m
---
> # CONFIG_SCSI_ADVANSYS is not set
1738,1740c1737,1739
< CONFIG_MEGARAID_MAILBOX=m
< CONFIG_MEGARAID_LEGACY=m
< CONFIG_MEGARAID_SAS=m
---
> # CONFIG_MEGARAID_MAILBOX is not set
> # CONFIG_MEGARAID_LEGACY is not set
> # CONFIG_MEGARAID_SAS is not set
2179c2178
< CONFIG_PCH_GBE=m
---
> # CONFIG_PCH_GBE is not set
4116,4117c4115
< CONFIG_DRM_I915=m
< CONFIG_DRM_I915_KMS=y
---
> # CONFIG_DRM_I915 is not set
5186c5184
< CONFIG_R8187SE=m
---
> # CONFIG_R8187SE is not set
5192,5193c5190,5191
< CONFIG_RTL8192E=m
< CONFIG_R8712U=m
---
> # CONFIG_RTL8192E is not set
> # CONFIG_R8712U is not set
5207,5208c5205,5206
< CONFIG_WLAGS49_H2=m
< CONFIG_WLAGS49_H25=m
---
> # CONFIG_WLAGS49_H2 is not set
> # CONFIG_WLAGS49_H25 is not set
6040,6042c6038
< CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=m
< CONFIG_PUBLIC_KEY_ALGO_RSA=m
< CONFIG_X509_CERTIFICATE_PARSER=m
---
> # CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE is not set
6125d6120
< CONFIG_CLZ_TAB=y
6128d6122
< CONFIG_MPILIB=m



Build with

[root at moonstudio src]# export CONCURRENCY_LEVEL=2;wget
https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.61.tar.gz
https://www.kernel.org/pub/linux/kernel/projects/rt/3.10/older/patch-3.10.61-rt65.patch.gz
&& tar zxf linux-3.10.61.tar.gz
&& mv linux-3.10.61 linux-3.10.61-rt65
&& cd linux-3.10.61-rt65 && gzip -dc ../patch-3.10.61-rt65.patch.gz | patch -p1
&& cp ../config-3.10.61-rt65-1-rt-lts.01.edit .config
&& make oldconfig && make menuconfig && make oldconfig
&& date
&& make-kpkg clean && make-kpkg --initrd kernel-image kernel-headers && make-kpkg clean
&& date



Regards,
Ralf



More information about the Ubuntu-devel-discuss mailing list