public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
@ 2021-04-04 22:31 Alarig Le Lay
  2021-04-04 22:56 ` Michael
  2021-04-05 11:27 ` Dr Rainer Woitok
  0 siblings, 2 replies; 10+ messages in thread
From: Alarig Le Lay @ 2021-04-04 22:31 UTC (permalink / raw
  To: gentoo-user

Hello,

Has the 5.10 LTS has been stablised, I tried to upgrade it on some of my
boxes, but `make oldconfig` doesn’t want to use my old config:
Here is my make output: https://paste.swordarmor.fr/raw/2rRh
And here is my config:  https://paste.swordarmor.fr/raw/YHaG

Does anyone else has to redo its configuration, and did you manage to
reuse the old one?

Thanks,
-- 
Alarig


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

* Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
  2021-04-04 22:31 [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..." Alarig Le Lay
@ 2021-04-04 22:56 ` Michael
  2021-04-05 12:18   ` Alarig Le Lay
  2021-04-05 11:27 ` Dr Rainer Woitok
  1 sibling, 1 reply; 10+ messages in thread
From: Michael @ 2021-04-04 22:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

On Sunday, 4 April 2021 23:31:50 BST Alarig Le Lay wrote:
> Hello,
> 
> Has the 5.10 LTS has been stablised, I tried to upgrade it on some of my
> boxes, but `make oldconfig` doesn’t want to use my old config:
> Here is my make output: https://paste.swordarmor.fr/raw/2rRh
> And here is my config:  https://paste.swordarmor.fr/raw/YHaG
> 
> Does anyone else has to redo its configuration, and did you manage to
> reuse the old one?
> 
> Thanks,

The 'make oldconfig' script steps through the previous configuration 
selections and stops at any new options which require your input.  In the 
pasted output you provided the first option asking for your input is your 
preferred compression algorithm for the kernel image.  Choose any one of the 
list below, or leave it to default (gzip):

Kernel compression mode
> 1. Gzip (KERNEL_GZIP)
  2. Bzip2 (KERNEL_BZIP2)
  3. LZMA (KERNEL_LZMA)
  4. XZ (KERNEL_XZ)
  5. LZO (KERNEL_LZO)
  6. LZ4 (KERNEL_LZ4)
  7. ZSTD (KERNEL_ZSTD) (NEW)
choice[1-7?]: 

Then proceed to the next kernel option and so on.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
  2021-04-04 22:31 [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..." Alarig Le Lay
  2021-04-04 22:56 ` Michael
@ 2021-04-05 11:27 ` Dr Rainer Woitok
  2021-04-05 12:24   ` Alarig Le Lay
  2021-04-05 14:06   ` Matt Connell (Gmail)
  1 sibling, 2 replies; 10+ messages in thread
From: Dr Rainer Woitok @ 2021-04-05 11:27 UTC (permalink / raw
  To: gentoo-user, Alarig Le Lay

Alarig,

On Monday, 2021-04-05 00:31:50 +0200, you wrote:

> ...
> Has the 5.10 LTS has been stablised, I tried to upgrade it on some of my
> boxes, but `make oldconfig` doesn’t want to use my old config:

I'm always using  "make olddefconfig"  rather than  "make oldconfig" and
had no problems upgrading to 5.10.   After running "make olddefconfig" I
use "diff" to compare the new configuration  to a backup copy of the old
one,  and should something  catch my eye  I'm correcting it  using "make
menuconfig" as usual.

Sincerely,
  Rainer


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

* Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
  2021-04-04 22:56 ` Michael
@ 2021-04-05 12:18   ` Alarig Le Lay
  0 siblings, 0 replies; 10+ messages in thread
From: Alarig Le Lay @ 2021-04-05 12:18 UTC (permalink / raw
  To: gentoo-user

On Sun 04 Apr 2021 23:56:05 GMT, Michael wrote:
> On Sunday, 4 April 2021 23:31:50 BST Alarig Le Lay wrote:
> > Hello,
> > 
> > Has the 5.10 LTS has been stablised, I tried to upgrade it on some of my
> > boxes, but `make oldconfig` doesn’t want to use my old config:
> > Here is my make output: https://paste.swordarmor.fr/raw/2rRh
> > And here is my config:  https://paste.swordarmor.fr/raw/YHaG
> > 
> > Does anyone else has to redo its configuration, and did you manage to
> > reuse the old one?
> > 
> > Thanks,
> 
> The 'make oldconfig' script steps through the previous configuration 
> selections and stops at any new options which require your input.  In the 
> pasted output you provided the first option asking for your input is your 
> preferred compression algorithm for the kernel image.  Choose any one of the 
> list below, or leave it to default (gzip):
> 
> Kernel compression mode
> > 1. Gzip (KERNEL_GZIP)
>   2. Bzip2 (KERNEL_BZIP2)
>   3. LZMA (KERNEL_LZMA)
>   4. XZ (KERNEL_XZ)
>   5. LZO (KERNEL_LZO)
>   6. LZ4 (KERNEL_LZ4)
>   7. ZSTD (KERNEL_ZSTD) (NEW)
> choice[1-7?]: 
> 
> Then proceed to the next kernel option and so on.

Ah yes indeed, I never had a choice that early in the process. Thus, I
never saw the "Restart config..." and I misunderstood it. Thanks :D

-- 
Alarig


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

* Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
  2021-04-05 11:27 ` Dr Rainer Woitok
@ 2021-04-05 12:24   ` Alarig Le Lay
  2021-04-05 14:06   ` Matt Connell (Gmail)
  1 sibling, 0 replies; 10+ messages in thread
From: Alarig Le Lay @ 2021-04-05 12:24 UTC (permalink / raw
  To: gentoo-user

On Mon 05 Apr 2021 13:27:01 GMT, Dr Rainer Woitok wrote:
> I'm always using  "make olddefconfig"  rather than  "make oldconfig" and
> had no problems upgrading to 5.10.   After running "make olddefconfig" I
> use "diff" to compare the new configuration  to a backup copy of the old
> one,  and should something  catch my eye  I'm correcting it  using "make
> menuconfig" as usual.

It seems to be a nice upgrade process, thanks!


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

* Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
  2021-04-05 11:27 ` Dr Rainer Woitok
  2021-04-05 12:24   ` Alarig Le Lay
@ 2021-04-05 14:06   ` Matt Connell (Gmail)
  2021-04-05 18:04     ` antlists
  1 sibling, 1 reply; 10+ messages in thread
From: Matt Connell (Gmail) @ 2021-04-05 14:06 UTC (permalink / raw
  To: gentoo-user

On Mon, 2021-04-05 at 13:27 +0200, Dr Rainer Woitok wrote:
> "make olddefconfig"  rather than  "make oldconfig"

For the uninitiated, the difference here is that olddefconfig will
accept the default configuration value for any new/changed options,
whereas oldconfig will prompt the user for input.

The former is great if you just don't care and want to accept the
default, but it isn't right for every user.



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

* Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
  2021-04-05 14:06   ` Matt Connell (Gmail)
@ 2021-04-05 18:04     ` antlists
  2021-04-05 18:43       ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: antlists @ 2021-04-05 18:04 UTC (permalink / raw
  To: gentoo-user

On 05/04/2021 15:06, Matt Connell (Gmail) wrote:
> On Mon, 2021-04-05 at 13:27 +0200, Dr Rainer Woitok wrote:
>> "make olddefconfig"  rather than  "make oldconfig"
> 
> For the uninitiated, the difference here is that olddefconfig will
> accept the default configuration value for any new/changed options,
> whereas oldconfig will prompt the user for input.
> 
> The former is great if you just don't care and want to accept the
> default, but it isn't right for every user.
> 
> 
fwiw, I think I've always just copied the old .config across, then done 
"make menuconfig". I think that also just accepts defaults for anything new.

Cheers,
Wol


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

* Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
  2021-04-05 18:04     ` antlists
@ 2021-04-05 18:43       ` Neil Bothwick
  2021-04-06 12:59         ` Peter Humphrey
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2021-04-05 18:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]

On Mon, 5 Apr 2021 19:04:18 +0100, antlists wrote:

> > For the uninitiated, the difference here is that olddefconfig will
> > accept the default configuration value for any new/changed options,
> > whereas oldconfig will prompt the user for input.
> > 
> > The former is great if you just don't care and want to accept the
> > default, but it isn't right for every user.
> > 
> >   
> fwiw, I think I've always just copied the old .config across, then done 
> "make menuconfig". I think that also just accepts defaults for anything
> new.

It doesn't, it prompts for every change, with the default preselected.
It's more time consuming than running make olddefconfig but it does give
you the chance to see what the new options are, and read the help if you
need more.


-- 
Neil Bothwick

Top Oxymorons Number 19: Passive aggression

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
  2021-04-05 18:43       ` Neil Bothwick
@ 2021-04-06 12:59         ` Peter Humphrey
  2021-04-06 14:44           ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Humphrey @ 2021-04-06 12:59 UTC (permalink / raw
  To: gentoo-user

On Monday, 5 April 2021 19:43:29 BST Neil Bothwick wrote:
> On Mon, 5 Apr 2021 19:04:18 +0100, antlists wrote:
> > > For the uninitiated, the difference here is that olddefconfig will
> > > accept the default configuration value for any new/changed options,
> > > whereas oldconfig will prompt the user for input.
> > > 
> > > The former is great if you just don't care and want to accept the
> > > default, but it isn't right for every user.
> > 
> > fwiw, I think I've always just copied the old .config across, then done
> > "make menuconfig". I think that also just accepts defaults for anything
> > new.
> 
> It doesn't, it prompts for every change, with the default preselected.

Eh? Did you read 'oldconfig' where 'menuconfig' was written?

> It's more time consuming than running make olddefconfig but it does give
> you the chance to see what the new options are, and read the help if you
> need more.


-- 
Regards,
Peter.





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

* Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."
  2021-04-06 12:59         ` Peter Humphrey
@ 2021-04-06 14:44           ` Neil Bothwick
  0 siblings, 0 replies; 10+ messages in thread
From: Neil Bothwick @ 2021-04-06 14:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

On Tue, 06 Apr 2021 13:59:11 +0100, Peter Humphrey wrote:

> > > fwiw, I think I've always just copied the old .config across, then
> > > done "make menuconfig". I think that also just accepts defaults for
> > > anything new.  
> > 
> > It doesn't, it prompts for every change, with the default
> > preselected.  
> 
> Eh? Did you read 'oldconfig' where 'menuconfig' was written?

Doh!


-- 
Neil Bothwick

IBM: I Blame Microsoft

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2021-04-06 14:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04 22:31 [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..." Alarig Le Lay
2021-04-04 22:56 ` Michael
2021-04-05 12:18   ` Alarig Le Lay
2021-04-05 11:27 ` Dr Rainer Woitok
2021-04-05 12:24   ` Alarig Le Lay
2021-04-05 14:06   ` Matt Connell (Gmail)
2021-04-05 18:04     ` antlists
2021-04-05 18:43       ` Neil Bothwick
2021-04-06 12:59         ` Peter Humphrey
2021-04-06 14:44           ` Neil Bothwick

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