[gentoo-user] Manually updating gentoo-sources

2022-02-03 Thread Dale
Howdy,

I found a old email from Neil, hope you see this, and I think I followed
it correctly but maybe I either missed something or things have changed
since those instructions were posted.  What I'm wanting to do, update
gentoo-sources manually and remove them manually as well but running
emerge -auDN world doesn't pull in newer versions and --depclean leaves
the older versions alone as well.  Following the email info, I ended up
with this:


root@fireball / # cat /etc/portage/sets.conf
[kernels]
class = portage.sets.dbapi.OwnerSet
world-candidate = False
files = /usr/src
root@fireball / # cat /etc/portage/sets/kernels
sys-kernel/gentoo-sources
root@fireball / #



and this I've tried with and without:


root@fireball / # cat /var/lib/portage/world_sets
kernels
root@fireball / #



This is what I get tho:



root@fireball / # emerge -auDN world
Error during set creation: Redefinition of set 'kernels' (sections:
'usersets', 'kernels')

These are the packages that would be merged, in order:



There's nothing in the world file for gentoo-sources so it should be the
sets that pulls anything in.  For some reason tho, it wants to update
when I run my usual update world command.  That's not what I'm looking
for.  Did I miss something?  Have things changed and I need to adjust
something to the new way? 

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Kernel 5.15.11 won't boot

2022-02-03 Thread Neil Bothwick
On Tue, 28 Dec 2021 13:40:44 +, Neil Bothwick wrote:

> I recently upgraded several systems from gentoo-sources-5.10.76-r1 to
> 5.15.11, using my usual approach
> 
> copy current config to new sources
> make oldconfig
> all modules_install install
> run dracut
> reboot
> 
> All worked well except my desktop, which just sits there showing 
> 
> EFI stub: Loaded initrd from command line option

For the record, the problem was the CPU setting, CONFIG_MNATIVE_AMD=y.
 
I have an AMD FX-9590 and changing to CONFIG_MPILEDRIVER=y solved it.


-- 
Neil Bothwick

OPERATOR ERROR: Nyah, Nyah, Nyah, Nyah, Nyah!


pgpW2Otilu9QW.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] kernel 5.15+ (thru 5.16.5)

2022-02-03 Thread Neil Bothwick
On Thu, 3 Feb 2022 17:09:22 +, Neil Bothwick wrote:

> On Thu, 03 Feb 2022 08:17:06 +, Michael wrote:
> 
> > > I have the same with one machine, see the thread "Kernel 5.15.11
> > > won't boot". Nothing there helped me, and I haven't had time to
> > > investigate further, but there may be something for you.
> > 
> > I recall reading some foobar with "simple framebuffer" cropping up and
> > also I found this bug in case it helps with either of your machines:
> > 
> > https://bugs.gentoo.org/821406  
> 
> That's it, thanks!
> 
> I tried the FB settings but didn't expect it to work as the system
> really wasn't booting, as opposed to booting with do display.
> 
> Setting CONFIG_GENERIC_CPU=y results in a boot. I had been using
> CONFIG_MNATIVE_AMD.

CONFIG_MPILEDRIVER=y works too.


-- 
Neil Bothwick

ASCII stupid question... get a stupid ANSI!


pgpiJjlQE3P7_.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] kernel 5.15+ (thru 5.16.5)

2022-02-03 Thread Neil Bothwick
On Thu, 03 Feb 2022 08:17:06 +, Michael wrote:

> > I have the same with one machine, see the thread "Kernel 5.15.11 won't
> > boot". Nothing there helped me, and I haven't had time to investigate
> > further, but there may be something for you.  
> 
> I recall reading some foobar with "simple framebuffer" cropping up and
> also I found this bug in case it helps with either of your machines:
> 
> https://bugs.gentoo.org/821406

That's it, thanks!

I tried the FB settings but didn't expect it to work as the system really
wasn't booting, as opposed to booting with do display.

Setting CONFIG_GENERIC_CPU=y results in a boot. I had been using
CONFIG_MNATIVE_AMD.


-- 
Neil Bothwick

Windows - so intuitive you only need a meg of help files!


pgpcIGr64T_LW.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] kernel 5.15+ (thru 5.16.5)

2022-02-03 Thread Peter Böhm
Am Donnerstag, 3. Februar 2022, 16:08:26 CET schrieb Jack:
> Also, be careful - if you just search the config for "SIMPLE" it finds
> two FB related entries - you need one of them and not the other, but I
> am sitting at the wrong computer to check which.

For this problem we have some articles in our Gentoo Forum.

Between 5.10.x and 5.15.x there was a change:

You dont have a "Simple FB" in your old directory (when doing "make
menuconfig"); instead there is a new entry which leads to this in your .config:

CONFIG_SYSFB_SIMPLEFB=y

(Searching for "SIMPLE" in your .config gives you only this one +
"CONFIG_DRM_SIMPLEDRM=y". If you have the old entry also in your .config, then
you have not done "make oldconfig").

The "new" simpleFB is here:

Device Drivers  --->
  Graphics support  --->
[*] Simple framebuffer driver

The old one was here:

Device Drivers  --->
  Graphics support  --->
Frame buffer Devices  --->
  [*] Support for frame buffer devices  --->


Kind Regards,
--P





Re: [gentoo-user] kernel 5.15+ (thru 5.16.5)

2022-02-03 Thread Jack



On 2/3/22 03:17, Michael wrote:

On Thursday, 3 February 2022 08:04:07 GMT Neil Bothwick wrote:

On Wed, 2 Feb 2022 21:02:46 -0500, Alan Grimes wrote:

Do any of the kernels post 5.15.0 boot? I tried 5.15.2 and imediately
wrote off the 5.15 branch because it didn't even boot.

I came back to 5.16.5, same symptom, says "loading linux 5.16.5" and
then hangs, no further kernel output.

5.14.20 works great with same config, no known issues.

Now it's possible that something fantasmagorically stupid is going on
here, as is usual, but for the love of god WHY, just WHY?!?!??!

I have the same with one machine, see the thread "Kernel 5.15.11 won't
boot". Nothing there helped me, and I haven't had time to investigate
further, but there may be something for you.

I recall reading some foobar with "simple framebuffer" cropping up and also I
found this bug in case it helps with either of your machines:

https://bugs.gentoo.org/821406


I think there are possibly two separate issues going on here, at least 
for me.  I've been booting 5.16.1 and now 5.16.4 with no problems.  
However, I recently tried booting 5.17-rc1 and rc2 (direct from 
kernel.org, no gentoo package yet) and they both just sat there forever 
after "Loading initial ramdisk."  Going back to 5.16.4, I noticed that 
there was far less logging to console than usual until some video switch 
happened.  Adding the simple framebuffer got all my logging back.  It 
also got a bunch of logging output with 5.17-rc2, but that still won't 
boot for me - which is something for a different thread.  When the 
system is just sitting there - try to ssh in.  It has probably actually 
booted just fine, it's just not putting anything out to the screen.


Also, be careful - if you just search the config for "SIMPLE" it finds 
two FB related entries - you need one of them and not the other, but I 
am sitting at the wrong computer to check which.


Jack





Re: [gentoo-user] kernel 5.15+ (thru 5.16.5)

2022-02-03 Thread Alan J. Wylie
Alan Grimes  writes:

> Do any of the kernels post 5.15.0 boot? I tried 5.15.2 and imediately
> wrote off the 5.15 branch because it didn't even boot.
>
> I came back to 5.16.5, same symptom, says "loading linux 5.16.5" and
> then hangs, no further kernel output.
>
> 5.14.20 works great with same config, no known issues.
>
> Now it's possible that something fantasmagorically stupid is going on
> here, as is usual, but for the love of god WHY, just WHY?!?!??!

See the thread on the LKML at
https://lore.kernel.org/lkml/d8981e2a-4f61-72bb-e5cc-bf4ded29c...@synopsys.com/

Try setting "CONFIG_FB=y"

I had problems building nvidia-drivers, turning on
"CONFIG_DRM_CIRRUS_QEMU"
worked around the problem

https://lore.kernel.org/lkml/871r3cr08w@wylie.me.uk/

-- 
Alan J. Wylie  https://www.wylie.me.uk/

Dance like no-one's watching. / Encrypt like everyone is.
Security is inversely proportional to convenience



Re: [gentoo-user] kernel 5.15+ (thru 5.16.5)

2022-02-03 Thread Adam Carter
>
> I recall reading some foobar with "simple framebuffer" cropping up and
> also I
> found this bug in case it helps with either of your machines:
>
> https://bugs.gentoo.org/821406
>

That's not the first time CONFIG_MPILEDRIVER=y has caused issues. I just
stick to CONFIG_MBULLDOZER=y on my FX-8530.


Re: [gentoo-user] kernel 5.15+ (thru 5.16.5)

2022-02-03 Thread Michael
On Thursday, 3 February 2022 08:04:07 GMT Neil Bothwick wrote:
> On Wed, 2 Feb 2022 21:02:46 -0500, Alan Grimes wrote:
> > Do any of the kernels post 5.15.0 boot? I tried 5.15.2 and imediately
> > wrote off the 5.15 branch because it didn't even boot.
> > 
> > I came back to 5.16.5, same symptom, says "loading linux 5.16.5" and
> > then hangs, no further kernel output.
> > 
> > 5.14.20 works great with same config, no known issues.
> > 
> > Now it's possible that something fantasmagorically stupid is going on
> > here, as is usual, but for the love of god WHY, just WHY?!?!??!
> 
> I have the same with one machine, see the thread "Kernel 5.15.11 won't
> boot". Nothing there helped me, and I haven't had time to investigate
> further, but there may be something for you.

I recall reading some foobar with "simple framebuffer" cropping up and also I 
found this bug in case it helps with either of your machines:

https://bugs.gentoo.org/821406

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kernel 5.15+ (thru 5.16.5)

2022-02-03 Thread Neil Bothwick
On Wed, 2 Feb 2022 21:02:46 -0500, Alan Grimes wrote:

> Do any of the kernels post 5.15.0 boot? I tried 5.15.2 and imediately
> wrote off the 5.15 branch because it didn't even boot.
> 
> I came back to 5.16.5, same symptom, says "loading linux 5.16.5" and
> then hangs, no further kernel output.
> 
> 5.14.20 works great with same config, no known issues.
> 
> Now it's possible that something fantasmagorically stupid is going on
> here, as is usual, but for the love of god WHY, just WHY?!?!??!

I have the same with one machine, see the thread "Kernel 5.15.11 won't
boot". Nothing there helped me, and I haven't had time to investigate
further, but there may be something for you.


-- 
Neil Bothwick

Windows Error #56: Operator fell asleep while waiting.


pgp0jmgUaUz5U.pgp
Description: OpenPGP digital signature