Skip to contentSkip to conversation

linux-3.9.0-rc1+: Output from "make kernelrelease"contains incorrect data

DISCUSSION Chris Clayton 2 participants 4 messages Mar 9, 2013 – Apr 3, 2013 Kbuild

lore
Share & tools
lore
#0 lore raw

In Linus' current tree, the first time the command "make kernelrelease" is run after building a kernel, the output contains some unwanted text. Subsequent uses of the command produce the expected output. This appears to be a regression - 3.8.2 does not have this problem.

This is easily demonstrated from the command line by the following:

<build the kernel>
...
System is 2311 kB
CRC a4e38b86
Kernel: arch/x86/boot/bzImage is ready (#186)

$ make kernelrelease
scripts/kconfig/conf --silentoldconfig Kconfig 3.9.0-rc1+
$ make kernelrelease
3.9.0-rc1+

Happy to test the fix.

Chris

#1 lore raw

Ping!

This is still happening with 3.9-rc5.

[chris:~/kernel/linux]$ make bzImage
...
Kernel: arch/x86/boot/bzImage is ready  (#14)
[chris:~/kernel/linux]$ make kernelrelease
scripts/kconfig/conf --silentoldconfig Kconfig
3.9.0-rc5
[chris:~/kernel/linux]$ make kernelrelease
3.9.0-rc5

I'm assuming that the output from 'make kernelrelease' should be the string that represents the kernel release and only that string.

Chris

Quoted 23 lines · Chris Clayton

In Linus' current tree, the first time the command "make kernelrelease" is run after building a kernel, the output contains some unwanted text. Subsequent uses of the command produce the expected output. This appears to be a regression - 3.8.2 does not have this problem.

This is easily demonstrated from the command line by the following:

<build the kernel>
...
System is 2311 kB
CRC a4e38b86
Kernel: arch/x86/boot/bzImage is ready (#186)

$ make kernelrelease
scripts/kconfig/conf --silentoldconfig Kconfig 3.9.0-rc1+
$ make kernelrelease
3.9.0-rc1+

Happy to test the fix.

Chris

#2 lore raw
Quoted 4 lines · Chris Clayton

Ping!

This is still happening with 3.9-rc5.

Quoted 8 lines
[chris:~/kernel/linux]$ make bzImage
...
Kernel: arch/x86/boot/bzImage is ready  (#14)
[chris:~/kernel/linux]$ make kernelrelease
scripts/kconfig/conf --silentoldconfig Kconfig
3.9.0-rc5
[chris:~/kernel/linux]$ make kernelrelease
3.9.0-rc5

You need to run make -s kernelrelease.

Michal

#3 lore raw
Quoted 14 lines · Michal Marek
Quoted 4 lines · Chris Clayton

Ping!

This is still happening with 3.9-rc5.

Quoted 8 lines
[chris:~/kernel/linux]$ make bzImage
...
Kernel: arch/x86/boot/bzImage is ready  (#14)
[chris:~/kernel/linux]$ make kernelrelease
scripts/kconfig/conf --silentoldconfig Kconfig
3.9.0-rc5
[chris:~/kernel/linux]$ make kernelrelease
3.9.0-rc5
Quoted 2 lines

You need to run make -s kernelrelease.

Ah, right. I didn't see that announcement. The -s argument was not necessary with earlier releases.

Sorry for the noise.

Chris

Quoted 2 lines

Michal