2009-04-04 15:28:25

by Ming Lei

[permalink] [raw]
Subject: [BUG 2.6.29] make install failed

commit 6bb597507f9839b1349878

[lm@linux-lm linux-2.6]$ sudo make install
CHK include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
SKIPPED include/linux/compile.h
CC init/version.o
LD init/built-in.o
CC kernel/trace/trace.o
LD kernel/trace/built-in.o
CC kernel/module.o
LD kernel/built-in.o

LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/linux/compile.h
SKIPPED include/linux/compile.h
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
sh /home/lm/git/linux-2.6/linux-2.6/arch/x86/boot/install.sh 2.6.29
arch/x86/boot/bzImage \
System.map "/boot"
WARNING: Couldn't open directory /lib/modules/2.6.29: No such file or directory
FATAL: Could not open /lib/modules/2.6.29/modules.dep.temp for
writing: No such file or directory
No modules available for kernel "2.6.29".
mkinitrd failed


--
Lei Ming


2009-04-04 16:36:27

by Cong Wang

[permalink] [raw]
Subject: Re: [BUG 2.6.29] make install failed

On Sat, Apr 04, 2009 at 11:28:05PM +0800, Ming Lei wrote:
>commit 6bb597507f9839b1349878
>
>[lm@linux-lm linux-2.6]$ sudo make install
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> UPD include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-x86
> CALL scripts/checksyscalls.sh
> CHK include/linux/compile.h
> SKIPPED include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> CC kernel/trace/trace.o
> LD kernel/trace/built-in.o
> CC kernel/module.o
> LD kernel/built-in.o
>
> LD vmlinux.o
> MODPOST vmlinux.o
>WARNING: modpost: Found 2 section mismatch(es).
>To see full details build your kernel with:
>'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> GEN .version
> CHK include/linux/compile.h
> SKIPPED include/linux/compile.h
> LD .tmp_vmlinux1
> KSYM .tmp_kallsyms1.S
> AS .tmp_kallsyms1.o
> LD .tmp_vmlinux2
> KSYM .tmp_kallsyms2.S
> AS .tmp_kallsyms2.o
> LD vmlinux
> SYSMAP System.map
> SYSMAP .tmp_System.map
>sh /home/lm/git/linux-2.6/linux-2.6/arch/x86/boot/install.sh 2.6.29
>arch/x86/boot/bzImage \
> System.map "/boot"
>WARNING: Couldn't open directory /lib/modules/2.6.29: No such file or directory
>FATAL: Could not open /lib/modules/2.6.29/modules.dep.temp for
>writing: No such file or directory
>No modules available for kernel "2.6.29".
>mkinitrd failed

Probably you forgot to do 'make modules_install'?


--
Do what you love, f**k the rest! F**k the regulations!

2009-04-05 02:32:38

by Ming Lei

[permalink] [raw]
Subject: Re: [BUG 2.6.29] make install failed

2009/4/5 Am?rico Wang <[email protected]>:
> On Sat, Apr 04, 2009 at 11:28:05PM +0800, Ming Lei wrote:
>>commit 6bb597507f9839b1349878
>>
>>[lm@linux-lm linux-2.6]$ sudo make install
>> ?CHK ? ? include/linux/version.h
>> ?CHK ? ? include/linux/utsrelease.h
>> ?UPD ? ? include/linux/utsrelease.h
>> ?SYMLINK include/asm -> include/asm-x86
>> ?CALL ? ?scripts/checksyscalls.sh
>> ?CHK ? ? include/linux/compile.h
>> ?SKIPPED include/linux/compile.h
>> ?CC ? ? ?init/version.o
>> ?LD ? ? ?init/built-in.o
>> ?CC ? ? ?kernel/trace/trace.o
>> ?LD ? ? ?kernel/trace/built-in.o
>> ?CC ? ? ?kernel/module.o
>> ?LD ? ? ?kernel/built-in.o
>>
>> ?LD ? ? ?vmlinux.o
>> ?MODPOST vmlinux.o
>>WARNING: modpost: Found 2 section mismatch(es).
>>To see full details build your kernel with:
>>'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>> ?GEN ? ? .version
>> ?CHK ? ? include/linux/compile.h
>> ?SKIPPED include/linux/compile.h
>> ?LD ? ? ?.tmp_vmlinux1
>> ?KSYM ? ?.tmp_kallsyms1.S
>> ?AS ? ? ?.tmp_kallsyms1.o
>> ?LD ? ? ?.tmp_vmlinux2
>> ?KSYM ? ?.tmp_kallsyms2.S
>> ?AS ? ? ?.tmp_kallsyms2.o
>> ?LD ? ? ?vmlinux
>> ?SYSMAP ?System.map
>> ?SYSMAP ?.tmp_System.map
>>sh /home/lm/git/linux-2.6/linux-2.6/arch/x86/boot/install.sh 2.6.29
>>arch/x86/boot/bzImage \
>> ? ? ? ? ? ? ? System.map "/boot"
>>WARNING: Couldn't open directory /lib/modules/2.6.29: No such file or directory
>>FATAL: Could not open /lib/modules/2.6.29/modules.dep.temp for
>>writing: No such file or directory
>>No modules available for kernel "2.6.29".
>>mkinitrd failed
>
> Probably you forgot to do 'make modules_install'?

No, I really does make modules_install before make install.
I'll try it again.

Thanks!

>
>
> --
> Do what you love, f**k the rest! F**k the regulations!
>
>



--
Lei Ming