2013-03-09 19:38:18

by Chris Clayton

[permalink] [raw]
Subject: linux-3.9.0-rc1+: Output from "make kernelrelease"contains incorrect data

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



2013-04-01 09:28:44

by Chris Clayton

[permalink] [raw]
Subject: Re: linux-3.9.0-rc1+: Output from "make kernelrelease"contains incorrect data

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


On 03/09/13 19:38, Chris Clayton wrote:
> 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
>
>
>

2013-04-03 14:32:59

by Michal Marek

[permalink] [raw]
Subject: Re: linux-3.9.0-rc1+: Output from "make kernelrelease"contains incorrect data

On 1.4.2013 11:28, Chris Clayton wrote:
> 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

You need to run make -s kernelrelease.

Michal

2013-04-03 15:41:43

by Chris Clayton

[permalink] [raw]
Subject: Re: linux-3.9.0-rc1+: Output from "make kernelrelease"contains incorrect data



On 04/03/13 15:32, Michal Marek wrote:
> On 1.4.2013 11:28, Chris Clayton wrote:
>> 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
>
> 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

> Michal
>