public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Upgrading kernel with gcc6... use mrproper and not clean
@ 2017-12-19  2:46 Daniel Frey
  2017-12-19  2:50 ` [gentoo-user] " Daniel Frey
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Frey @ 2017-12-19  2:46 UTC (permalink / raw
  To: gentoo-user

I just thought I'd send this out in case others aren't aware...

I've updated some seven machines now to the new profile and gcc6. Out of 
the seven, four of them had problems rebuilding the kernel which led to 
an outright hang during booting (black screen, no kernel panic, just hang.)

I found out `make clean` is not enough, I had to backup my .config, use 
`make mrproper`, restore the .config and run `make silentoldconfig` 
before compiling the kernel and modules.

I am thinking `make clean` didn't remove everything made during the 
compile process and caused some strange race condition somewhere while 
booting (completely guessing here.)

I went back to the three that seemed to be working fine and did the 
mrproper process on them, because if something happens down the line I 
probably won't remember what caused the boot issue.

Dan


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: Upgrading kernel with gcc6... use mrproper and not clean
  2017-12-19  2:46 [gentoo-user] Upgrading kernel with gcc6... use mrproper and not clean Daniel Frey
@ 2017-12-19  2:50 ` Daniel Frey
  2017-12-19  4:06   ` Dale
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Frey @ 2017-12-19  2:50 UTC (permalink / raw
  To: gentoo-user

On 12/18/17 18:46, Daniel Frey wrote:
> I just thought I'd send this out in case others aren't aware...
> 
> I've updated some seven machines now to the new profile and gcc6. Out of 
> the seven, four of them had problems rebuilding the kernel which led to 
> an outright hang during booting (black screen, no kernel panic, just hang.)
> 
> I found out `make clean` is not enough, I had to backup my .config, use 
> `make mrproper`, restore the .config and run `make silentoldconfig` 
> before compiling the kernel and modules.
> 
> I am thinking `make clean` didn't remove everything made during the 
> compile process and caused some strange race condition somewhere while 
> booting (completely guessing here.)
> 
> I went back to the three that seemed to be working fine and did the 
> mrproper process on them, because if something happens down the line I 
> probably won't remember what caused the boot issue.
> 
> Dan

Sigh... from the kernel Makefile:

# clean - Delete most, but leave enough to build external modules

The computers in question that were hanging were using external modules 
such as nvidia, open-vm-tools modules, vmware modules, etc...

*smacks head against wall*

I guess I answered my own question now, and I'll bet that everyone here 
knew this already!

Dan


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Re: Upgrading kernel with gcc6... use mrproper and not clean
  2017-12-19  2:50 ` [gentoo-user] " Daniel Frey
@ 2017-12-19  4:06   ` Dale
  0 siblings, 0 replies; 3+ messages in thread
From: Dale @ 2017-12-19  4:06 UTC (permalink / raw
  To: gentoo-user

Daniel Frey wrote:
> On 12/18/17 18:46, Daniel Frey wrote:
>> I just thought I'd send this out in case others aren't aware...
>>
>> I've updated some seven machines now to the new profile and gcc6. Out
>> of the seven, four of them had problems rebuilding the kernel which
>> led to an outright hang during booting (black screen, no kernel
>> panic, just hang.)
>>
>> I found out `make clean` is not enough, I had to backup my .config,
>> use `make mrproper`, restore the .config and run `make
>> silentoldconfig` before compiling the kernel and modules.
>>
>> I am thinking `make clean` didn't remove everything made during the
>> compile process and caused some strange race condition somewhere
>> while booting (completely guessing here.)
>>
>> I went back to the three that seemed to be working fine and did the
>> mrproper process on them, because if something happens down the line
>> I probably won't remember what caused the boot issue.
>>
>> Dan
>
> Sigh... from the kernel Makefile:
>
> # clean - Delete most, but leave enough to build external modules
>
> The computers in question that were hanging were using external
> modules such as nvidia, open-vm-tools modules, vmware modules, etc...
>
> *smacks head against wall*
>
> I guess I answered my own question now, and I'll bet that everyone
> here knew this already!
>
> Dan
>
>


I never can remember which is which so I run them both.  If that ever
starts to fail, I may see how me using that rm command does with
cleaning out stuff.  ROFL 

Thanks for the heads up tho. 

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-19  4:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-19  2:46 [gentoo-user] Upgrading kernel with gcc6... use mrproper and not clean Daniel Frey
2017-12-19  2:50 ` [gentoo-user] " Daniel Frey
2017-12-19  4:06   ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox