Re: kernel compile message

2022-11-02 Thread jim . cromie
On Mon, Oct 31, 2022 at 8:07 AM Anatoly Pugachev  wrote:
>
> got it again...
>
> mator@ttip:~/linux-2.6$ make V=1 -j olddefconfig; nice make -j20 &&
> nice make -j20 modules

just make might throw less stuff to the screen.

> make[1]: /bin/sh: Bad address

I pasted that line to google.
1st chunk of results are from stackexchange / serverfault

they look promising
/

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: kernel compile message

2022-10-31 Thread Anatoly Pugachev
On Mon, Oct 31, 2022 at 5:06 PM Anatoly Pugachev  wrote:
>
> got it again...
>

tracked it to

mator@ttip:~/linux-2.6$ rm include/config/auto.conf.cmd
mator@ttip:~/linux-2.6$ make V=1 include/config/auto.conf.cmd
: "  SYNCinclude/config/auto.conf.cmd"
make -f ./Makefile syncconfig
make[1]: /bin/sh: Bad address
make -f ./scripts/Makefile.build obj=scripts/basic
make -f ./scripts/Makefile.build obj=scripts/kconfig syncconfig
scripts/kconfig/conf  --syncconfig Kconfig
make: 'include/config/auto.conf.cmd' is up to date.

trying "syncconfig":

mator@ttip:~/linux-2.6$ rm include/config/auto.conf.cmd
mator@ttip:~/linux-2.6$ make V=1 -f ./Makefile syncconfig
make -f ./scripts/Makefile.build obj=scripts/basic
make -f ./scripts/Makefile.build obj=scripts/kconfig syncconfig
scripts/kconfig/conf  --syncconfig Kconfig
mator@ttip:~/linux-2.6$

^^ no error...

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: kernel compile message

2022-10-31 Thread Anatoly Pugachev
got it again...

mator@ttip:~/linux-2.6$ make V=1 -j olddefconfig; nice make -j20 &&
nice make -j20 modules
make -f ./scripts/Makefile.build obj=scripts/basic
make -f ./scripts/Makefile.build obj=scripts/kconfig olddefconfig
scripts/kconfig/conf  --olddefconfig Kconfig
#
# No change to .config
#
  SYNCinclude/config/auto.conf.cmd
make[1]: /bin/sh: Bad address
^Cmake: *** [include/config/auto.conf.cmd] Deleting file
'include/generated/rustc_cfg'
make: *** [include/config/auto.conf.cmd] Deleting file
'include/generated/autoconf.h'
make[2]: *** [scripts/kconfig/Makefile:77: syncconfig] Interrupt
make[1]: *** [Makefile:697: syncconfig] Interrupt
make: *** [Makefile:798: include/config/auto.conf.cmd] Interrupt

mator@ttip:~/linux-2.6$ make V=1 -j olddefconfig
make -f ./scripts/Makefile.build obj=scripts/basic
make -f ./scripts/Makefile.build obj=scripts/kconfig olddefconfig
scripts/kconfig/conf  --olddefconfig Kconfig
#
# No change to .config
#



so it's only seen when/after   "SYNCinclude/config/auto.conf.cmd" ...
but I don't have this file... How do I enable SYNC config on make ?
And V=1 does not help...

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: kernel compile message

2022-10-30 Thread Anatoly Pugachev
On Sun, Oct 30, 2022 at 3:33 AM Mulyadi Santosa
 wrote:
> On Tue, Oct 25, 2022, 16:29 Anatoly Pugachev  wrote:
>>
>> Hello!
>>
>> Doing kernel testing, occasionally I started to get messages:
>>
>> mator@ttip:~/linux-2.6$ make -j olddefconfig; nice make -j20 && nice
>> make -j20 modules
>> #
>> # configuration written to .config
>> #
>>   SYNCinclude/config/auto.conf.cmd
>> make[1]: /bin/sh: Bad address
>>   UPD include/generated/compile.h
>>   UPD include/config/kernel.release
>>   UPD include/generated/utsrelease.h
>>
>>
>> It is not always "bad address" is shown, next time i run "make
>> olddefconfig" it does not shows, but sometimes it shows... How do i
>> debug this ?
>
>
> Sounds like bad RAM to me

is a VM... and if it would be "bad ram" there would be random program
segfaults and kernel OOPS all around...
But thanks anyway, going to use "V=1"

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: kernel compile message

2022-10-29 Thread Mulyadi Santosa
On Tue, Oct 25, 2022, 16:29 Anatoly Pugachev  wrote:

> Hello!
>
> Doing kernel testing, occasionally I started to get messages:
>
> mator@ttip:~/linux-2.6$ make -j olddefconfig; nice make -j20 && nice
> make -j20 modules
> #
> # configuration written to .config
> #
>   SYNCinclude/config/auto.conf.cmd
> make[1]: /bin/sh: Bad address
>   UPD include/generated/compile.h
>   UPD include/config/kernel.release
>   UPD include/generated/utsrelease.h
>
>
> It is not always "bad address" is shown, next time i run "make
> olddefconfig" it does not shows, but sometimes it shows... How do i
> debug this ?
>

Sounds like bad RAM to me

>
> Thanks
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: kernel compile message

2022-10-29 Thread Random Guy
On Tue, Oct 25, 2022 at 5:20 AM Alexander Kapshuk
 wrote:
> You may want to raise the level of 'chattiness' by using W=1 with make
> to identify the command being executed by the shell which emits the

It's V=1, (V for verbosity). W=1 only raises the amount of warnings.

> error message in question.
> Higher levels of chattiness may be used if required.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: kernel compile message

2022-10-25 Thread Alexander Kapshuk
On Tue, Oct 25, 2022 at 12:29 PM Anatoly Pugachev  wrote:
>
> Hello!
>
> Doing kernel testing, occasionally I started to get messages:
>
> mator@ttip:~/linux-2.6$ make -j olddefconfig; nice make -j20 && nice
> make -j20 modules
> #
> # configuration written to .config
> #
>   SYNCinclude/config/auto.conf.cmd
> make[1]: /bin/sh: Bad address
>   UPD include/generated/compile.h
>   UPD include/config/kernel.release
>   UPD include/generated/utsrelease.h
>
>
> It is not always "bad address" is shown, next time i run "make
> olddefconfig" it does not shows, but sometimes it shows... How do i
> debug this ?
>
> Thanks
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

You may want to raise the level of 'chattiness' by using W=1 with make
to identify the command being executed by the shell which emits the
error message in question.
Higher levels of chattiness may be used if required.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


kernel compile message

2022-10-25 Thread Anatoly Pugachev
Hello!

Doing kernel testing, occasionally I started to get messages:

mator@ttip:~/linux-2.6$ make -j olddefconfig; nice make -j20 && nice
make -j20 modules
#
# configuration written to .config
#
  SYNCinclude/config/auto.conf.cmd
make[1]: /bin/sh: Bad address
  UPD include/generated/compile.h
  UPD include/config/kernel.release
  UPD include/generated/utsrelease.h


It is not always "bad address" is shown, next time i run "make
olddefconfig" it does not shows, but sometimes it shows... How do i
debug this ?

Thanks

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies