Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-22 Thread Wol

On 21/11/2022 18:15, Laurence Perkins wrote:

Separate displays is useful for multi-headed systems.  I know a couple people 
who buy one, high-power desktop for the whole family and then attach multiple 
screens and input devices.
If you want to do that, but your GPU can't handle multiple X displays, you can 
still set it up by using one master X server, and then running multiple, nested 
X servers, each given a specific region (which may or may not correspond 
precisely to one or more screens, but that's usually what you'd want).  Attach 
the IO devices to the nested ones obviously.


I'm trying to do that. I understood that video cards didn't support it, 
so I have two video cards, but I haven't managed to get both of them 
working together, so far ... (couldn't even get the computer to boot 
properly last I tried ...)


Cheers,
Wol



Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Frank Steinmetzger
Am Mon, Nov 21, 2022 at 07:37:01PM - schrieb Grant Edwards:

> >> My office setup had three screens, each with four virtual desktops.
> >> 
> >> When using multiple screens, you develop the habit of using one screen
> >> for common, always-on stuff (e.g. email, web browser) and the other
> >> screen(s) for working on code (or whatever).
> >
> > I found Enlightenment to be most versatile in this respect.  Unlike
> > say Plasma, which has two monitors locked on the same virtual
> > desktop and when you switch to another virtual desktop *both*
> > monitors flip over,
> 
> That's how all of virtual-desktop window managers I've tried over the
> decades work.

As a workaround within Plasma: set the window on your static monitor to show
on all virtual desktops. It won’t even animate when you change the desktop.
I use this feature mostly with video players, and even set a window rule to
be applied automatically upon launching a player.

> > in Enlightenment each monitor can switch to a different virtual
> > desktop independently.

Awesome WM also does this independently on separate screens. Just tested it.

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

Gentoo Linux is a rainbow with no end and no pot of gold.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Mark Knecht
On Mon, Nov 21, 2022 at 10:50 AM Grant Edwards 
wrote:
>
> On 2022-11-21, Mark Knecht  wrote:
>
> > I don't personally remember NVidia ever dropping a card totally
> > but I did get confused for awhile when they started segmenting their
> > drivers by different families and it was up to me to figure out which
> > driver package handled my card.
>
> IIRC, towards the end, that card was still supported by the "legacy"
> driver, but that required a kernel so old that other things I used
> everyday wouldn't work.
>

Ah, bummer. I guess I probably bought new cards once in a while
and never ran into that problem.

I think there's a bunch of 32-bit users in the same boat... ;-)

Thanks for the clarification.


[gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Grant Edwards
On 2022-11-21, Michael  wrote:
> On Monday, 21 November 2022 18:12:41 GMT Grant Edwards wrote:
>>
>>> You're right, I thought you meant two different monitors in Xinerama
>>> style.  I didn't know anyone who still uses separate displays
>>> (screens) these days.
>> 
>> I found it very helpful when I dealing with interruptions (which is
>> about 50% of a typical day). I could flip one of the screens to a new
>> virtual desktop (while leaving my email and web browser as-is on the
>> other screen), deal with the interruption, then flip that screen back
>> to the desktop containing whatever I was origininally working on.
>> 
>> My office setup had three screens, each with four virtual desktops.
>> 
>> When using multiple screens, you develop the habit of using one screen
>> for common, always-on stuff (e.g. email, web browser) and the other
>> screen(s) for working on code (or whatever).
>
> I found Enlightenment to be most versatile in this respect.  Unlike
> say Plasma, which has two monitors locked on the same virtual
> desktop and when you switch to another virtual desktop *both*
> monitors flip over,

That's how all of virtual-desktop window managers I've tried over the
decades work.

> in Enlightenment each monitor can switch to a different virtual
> desktop independently.  Like you, I keep always-on stuff on the left
> monitor, while switching between different virtual desktops on the
> right monitor.


>> There are two main drawbacks to the multiple-screen setup:
>> 
>>  * You can't drag a window from one screen to the other. With the
>>monitor sizes that are common now, that's not as big an annoyance
>>as it used to be.
>
> With Enlightenment you can move windows across monitors,
> irrespective of the virtual desktop each monitor displays.



That's Cool. I might have to give Enlightenment a try one of these
days.

How well does focus-follows-mouse work? With openbox there are a
couple scenarios where you can get the mouse in a window without that
window having focus until you move the mouse out of the window and
then back in again. I trip over that once or twice a day: I start
typing without noticing that the window where the mouse is does not
have focus. Then I've got stop, find the window that does have focus,
and figure out what damage that typing did.

--
Grant






Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Michael
On Monday, 21 November 2022 18:12:41 GMT Grant Edwards wrote:
> On 2022-11-21, Michael  wrote:
> > On Monday, 21 November 2022 16:50:14 GMT Grant Edwards wrote:
> >> On 2022-11-21, Michael  wrote:
> >> > On Monday, 21 November 2022 16:11:13 GMT Grant Edwards wrote:
> >> >> I did have to give up the option of having multiple X11
> >> >> screens. The proprietary NVidia driver supported multiple screens,
> >> >> but the drivers for built-in Intel and Radeon drivers don't seem
> >> >> to.
> >> > 
> >> > AMD APUs with embedded radeon graphics work fine here with two
> >> > monitors (DVI + HDMI ports).
> >> 
> >> Yes, multiple montors work fine with both Intel and Radeon embedded
> >> graphics with Xorg drivers.
> >> 
> >> It's multiple X11 screens that isn't supported.  An X11 screen is the
> >> entity that's managed by single window manager and comprises what's
> >> usually called "a desktop". A screen can include multiple monitors.
> >> 
> >> https://wiki.archlinux.org/title/multihead#Separate_screens
> > 
> > You're right, I thought you meant two different monitors in Xinerama
> > style.  I didn't know anyone who still uses separate displays
> > (screens) these days.
> 
> I found it very helpful when I dealing with interruptions (which is
> about 50% of a typical day). I could flip one of the screens to a new
> virtual desktop (while leaving my email and web browser as-is on the
> other screen), deal with the interruption, then flip that screen back
> to the desktop containing whatever I was origininally working on.
> 
> My office setup had three screens, each with four virtual desktops.
> 
> When using multiple screens, you develop the habit of using one screen
> for common, always-on stuff (e.g. email, web browser) and the other
> screen(s) for working on code (or whatever).

I found Enlightenment to be most versatile in this respect.  Unlike say 
Plasma, which has two monitors locked on the same virtual desktop and when you 
switch to another virtual desktop *both* monitors flip over, in Enlightenment 
each monitor can switch to a different virtual desktop independently.  Like 
you, I keep always-on stuff on the left monitor, while switching between 
different virtual desktops on the right monitor.


> There are two main drawbacks to the multiple-screen setup:
> 
>  * You can't drag a window from one screen to the other. With the
>monitor sizes that are common now, that's not as big an annoyance
>as it used to be.

With Enlightenment you can move windows across monitors, irrespective of the 
virtual desktop each monitor displays.


>  * There are a few brain-dead (but vital) applications (e.g. Chrome)
>that refuse to allow a user to run either multiple instances of the
>application or allow windows on multiple screens (or X
>servers). I'm a bit baffled by that restriction, but I'm sure it
>allowed the developers to take some shortcut that saved 12 bytes of
>data and 10 or 15 lines of code (out of many hundreds of megabytes
>of occupied RAM and millions lines of code).
> 
> That said, you're right: using mulitple screens is no longer common.
> It's not even supported by many desktops these days. I switched from
> XFCE to openbox when XFCE dropped support for multiple screens.
> 
> --
> Grant



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


RE: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Laurence Perkins


> -Original Message-
> From: Michael  
> Sent: Monday, November 21, 2022 9:24 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version
> 
> On Monday, 21 November 2022 16:50:14 GMT Grant Edwards wrote:
> > On 2022-11-21, Michael  wrote:
> > > On Monday, 21 November 2022 16:11:13 GMT Grant Edwards wrote:
> > >> I did have to give up the option of having multiple X11 screens. 
> > >> The proprietary NVidia driver supported multiple screens, but the 
> > >> drivers for built-in Intel and Radeon drivers don't seem to.
> > > 
> > > AMD APUs with embedded radeon graphics work fine here with two 
> > > monitors (DVI + HDMI ports).
> > 
> > Yes, multiple montors work fine with both Intel and Radeon embedded 
> > graphics with Xorg drivers.
> > 
> > It's multiple X11 screens that isn't supported.  An X11 screen is the 
> > entity that's managed by single window manager and comprises what's 
> > usually called "a desktop". A screen can include multiple monitors.
> > 
> > https://wiki.archlinux.org/title/multihead#Separate_screens
> 
> You're right, I thought you meant two different monitors in Xinerama style.  
> I didn't know anyone who still uses separate displays (screens) these days.
> 
Separate displays is useful for multi-headed systems.  I know a couple people 
who buy one, high-power desktop for the whole family and then attach multiple 
screens and input devices.
If you want to do that, but your GPU can't handle multiple X displays, you can 
still set it up by using one master X server, and then running multiple, nested 
X servers, each given a specific region (which may or may not correspond 
precisely to one or more screens, but that's usually what you'd want).  Attach 
the IO devices to the nested ones obviously.

LMP


[gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Grant Edwards
On 2022-11-21, Michael  wrote:
> On Monday, 21 November 2022 16:50:14 GMT Grant Edwards wrote:
>> On 2022-11-21, Michael  wrote:
>> > On Monday, 21 November 2022 16:11:13 GMT Grant Edwards wrote:
>> >
>> >> I did have to give up the option of having multiple X11
>> >> screens. The proprietary NVidia driver supported multiple screens,
>> >> but the drivers for built-in Intel and Radeon drivers don't seem
>> >> to.
>> > 
>> > AMD APUs with embedded radeon graphics work fine here with two
>> > monitors (DVI + HDMI ports).
>> 
>> Yes, multiple montors work fine with both Intel and Radeon embedded
>> graphics with Xorg drivers.
>> 
>> It's multiple X11 screens that isn't supported.  An X11 screen is the
>> entity that's managed by single window manager and comprises what's
>> usually called "a desktop". A screen can include multiple monitors.
>> 
>> https://wiki.archlinux.org/title/multihead#Separate_screens
>
> You're right, I thought you meant two different monitors in Xinerama
> style.  I didn't know anyone who still uses separate displays
> (screens) these days.

I found it very helpful when I dealing with interruptions (which is
about 50% of a typical day). I could flip one of the screens to a new
virtual desktop (while leaving my email and web browser as-is on the
other screen), deal with the interruption, then flip that screen back
to the desktop containing whatever I was origininally working on.

My office setup had three screens, each with four virtual desktops.

When using multiple screens, you develop the habit of using one screen
for common, always-on stuff (e.g. email, web browser) and the other
screen(s) for working on code (or whatever).

There are two main drawbacks to the multiple-screen setup:

 * You can't drag a window from one screen to the other. With the
   monitor sizes that are common now, that's not as big an annoyance
   as it used to be.

 * There are a few brain-dead (but vital) applications (e.g. Chrome)
   that refuse to allow a user to run either multiple instances of the
   application or allow windows on multiple screens (or X
   servers). I'm a bit baffled by that restriction, but I'm sure it
   allowed the developers to take some shortcut that saved 12 bytes of
   data and 10 or 15 lines of code (out of many hundreds of megabytes
   of occupied RAM and millions lines of code).

That said, you're right: using mulitple screens is no longer common.
It's not even supported by many desktops these days. I switched from
XFCE to openbox when XFCE dropped support for multiple screens.

--
Grant







[gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Grant Edwards
On 2022-11-21, Mark Knecht  wrote:

> I don't personally remember NVidia ever dropping a card totally
> but I did get confused for awhile when they started segmenting their
> drivers by different families and it was up to me to figure out which
> driver package handled my card.

IIRC, towards the end, that card was still supported by the "legacy"
driver, but that required a kernel so old that other things I used
everyday wouldn't work.







Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Michael
On Monday, 21 November 2022 16:50:14 GMT Grant Edwards wrote:
> On 2022-11-21, Michael  wrote:
> > On Monday, 21 November 2022 16:11:13 GMT Grant Edwards wrote:
> >> I did have to give up the option of having multiple X11
> >> screens. The proprietary NVidia driver supported multiple screens,
> >> but the drivers for built-in Intel and Radeon drivers don't seem
> >> to.
> > 
> > AMD APUs with embedded radeon graphics work fine here with two
> > monitors (DVI + HDMI ports).
> 
> Yes, multiple montors work fine with both Intel and Radeon embedded
> graphics with Xorg drivers.
> 
> It's multiple X11 screens that isn't supported.  An X11 screen is the
> entity that's managed by single window manager and comprises what's
> usually called "a desktop". A screen can include multiple monitors.
> 
> https://wiki.archlinux.org/title/multihead#Separate_screens

You're right, I thought you meant two different monitors in Xinerama style.  I 
didn't know anyone who still uses separate displays (screens) these days.

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


Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Mark Knecht
On Mon, Nov 21, 2022 at 9:11 AM Grant Edwards 
wrote:
>
>  They always worked great using the NVidia blob drivers, but
> using NVidia drivers was a constant source of minor pain. Often kernel
> updates had to be postponed until NVidia driver support caught up, and
> they too dropped support and forced me to replace a board that was
> still working perfectly.

The "waiting to catch up issue" is the reason I switched to the LTS
kernels. If the kernel got a minor bump the NVidia drivers still worked.

When a new LTS kernel came out NVidia would have a new driver
almost immediately and through the life of that LTS kernel I got
easy kernel updates and easy NVidia driver updates.

I don't personally remember NVidia ever dropping a card totally
but I did get confused for awhile when they started segmenting their
drivers by different families and it was up to me to figure out which
driver package handled my card.

- Mark


[gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Grant Edwards
On 2022-11-21, Michael  wrote:
> On Monday, 21 November 2022 16:11:13 GMT Grant Edwards wrote:
>
>> I did have to give up the option of having multiple X11
>> screens. The proprietary NVidia driver supported multiple screens,
>> but the drivers for built-in Intel and Radeon drivers don't seem
>> to.
>
> AMD APUs with embedded radeon graphics work fine here with two
> monitors (DVI + HDMI ports).

Yes, multiple montors work fine with both Intel and Radeon embedded
graphics with Xorg drivers.

It's multiple X11 screens that isn't supported.  An X11 screen is the
entity that's managed by single window manager and comprises what's
usually called "a desktop". A screen can include multiple monitors.

https://wiki.archlinux.org/title/multihead#Separate_screens







Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Michael
On Monday, 21 November 2022 16:11:13 GMT Grant Edwards wrote:
> On 2022-11-21, Dale  wrote:
> > I did re-emerge the nvidia drivers for the old kernel. [...]
> > 
> > If I get bored, and it warms up a little, I may build a 5.19 kernel. 
> > Thing is, by the time I get around to rebooting, nvidia may have updated
> > and the new one I already got will work.  :/
> 
> About 15 years ago, after a bad experience with ATI dropping Linux
> driver support for a card that was only a year old (and no luck
> getting the open source driver to work reliably), 

I had a similar experience about the same time, ATI proprietary drivers 
stopped working and the kernel driver was performing poorly - tearing when 
playing videos, etc.  Within a few months the kernel driver improved 
significantly and saved me the cost of buying another graphics card.


> I switched to NVidia
> (mostly Qaudro cards -- fanless until that ceased to be an
> option). They always worked great using the NVidia blob drivers, but
> using NVidia drivers was a constant source of minor pain. Often kernel
> updates had to be postponed until NVidia driver support caught up, and
> they too dropped support and forced me to replace a board that was
> still working perfectly.
> 
> Eventually, I just gave up and started using built-in Intel
> graphics. Life was much easier. A high-end gamer probably wouldn't be
> happy, but my mid-range mainboard happily drove three decent-sized
> displays (two DVI and one DP) at their native resolutions. I find the
> same to be true on my newer AMD system with built-in Radeon Vega
> graphics. It too "just works" with the in-kernel-tree support and
> open-source Xorg drivers.

By accident rather than design I ended up using mostly Radeon cards over the 
years.  I also had a laptop with Intel graphics.  Both intel and radeon have 
been working without problems with kernel drivers, but I am not a gamer to 
stress them to their limit.


> I did have to give up the option of having multiple X11 screens. The
> proprietary NVidia driver supported multiple screens, but the drivers
> for built-in Intel and Radeon drivers don't seem to.
> 
> --
> Grant

AMD APUs with embedded radeon graphics work fine here with two monitors (DVI + 
HDMI ports).

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


[gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-21 Thread Grant Edwards
On 2022-11-21, Dale  wrote:

> I did re-emerge the nvidia drivers for the old kernel. [...]
>
> If I get bored, and it warms up a little, I may build a 5.19 kernel. 
> Thing is, by the time I get around to rebooting, nvidia may have updated
> and the new one I already got will work.  :/

About 15 years ago, after a bad experience with ATI dropping Linux
driver support for a card that was only a year old (and no luck
getting the open source driver to work reliably), I switched to NVidia
(mostly Qaudro cards -- fanless until that ceased to be an
option). They always worked great using the NVidia blob drivers, but
using NVidia drivers was a constant source of minor pain. Often kernel
updates had to be postponed until NVidia driver support caught up, and
they too dropped support and forced me to replace a board that was
still working perfectly.

Eventually, I just gave up and started using built-in Intel
graphics. Life was much easier. A high-end gamer probably wouldn't be
happy, but my mid-range mainboard happily drove three decent-sized
displays (two DVI and one DP) at their native resolutions. I find the
same to be true on my newer AMD system with built-in Radeon Vega
graphics. It too "just works" with the in-kernel-tree support and
open-source Xorg drivers.

I did have to give up the option of having multiple X11 screens. The
proprietary NVidia driver supported multiple screens, but the drivers
for built-in Intel and Radeon drivers don't seem to.

--
Grant







RE: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-15 Thread Laurence Perkins
> That may be true.  I used to not mind rebooting as much but since I started 
> having to use the init thingy, I only do it when really necessary.  Those 
> init thingys have left a long term bad taste in my mouth.  If I could, I'd 
> likely never reboot.  Thing is, sometimes I have a power outage and just have 
> too. 
> 
Kernel livepatching is a thing now...  Use the LTS kernel and you might not 
have to reboot for a couple years.

Documentation on the wiki is a bit sparse.  Please add your notes and results!

https://wiki.gentoo.org/wiki/Kpatch
https://wiki.gentoo.org/wiki/Live_patching
https://wiki.gentoo.org/wiki/Elivepatch

LMP


[gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-14 Thread Grant Edwards
On 2022-11-14, Michael  wrote:

> Shutting down your desktop applications and rebooting with a new
> kernel takes no longer than a couple of minutes.

On my systems it typically takes about 15-20 seconds.

I try to reboot at least once a month when I have some spare time --
just to make sure I can.

What I don't want to happen is that some mishandled upgrade has broken
my system so that it won't boot properly, but I don't know about until
months later when I'm in the middle of something urgent and the power
glitches. Then I spend several hours I don't have trying to figure out
what's wrong. [Been there, done that, it's _not_ fun.]

If you wait years between reboots, and it doesn't go well when you do
have to reboot, there are usually a lot of possible causes.

The same applies to X11: I like to restart it every week or so just to
make sure nothing's been broken by recent upgrades.

It's a _lot_ easier to find/fix a problem when the upgrade that caused
it is recent (and there's only the one problem).

If you wait long enough, you end up with multiple problems that
sometimes aggravate each other.

--
Grant






Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-14 Thread Dale
Michael wrote:
> On Monday, 14 November 2022 21:05:57 GMT Dale wrote:
>
>> Thing is, I may go a year, sometimes more, without updating the kernel. 
>> If I rebooted often, I could see using a LTS kernel.  If a kernel can
>> run for months with no problems, it's stable enough for me.  Plus my
>> hardware works.
> Keeping the same kernel running for long periods can leave you exposed to 
> security vulnerabilities.  Either stable or LTS kernels will be similarly 
> exposed, if their latest backported versions are not booted with.  I 
> appreciate you're not running a public server so your profile is not as much 
> at risk, but bad code in some application which hasn't been patched up could 
> still leave you exposed.
>
>
>> I have even built a kernel but never actually booted it.  By the time I
>> get around to rebooting, I've had to build another kernel.  I generally
>> always work from a known stable config tho.  The only reason I wouldn't
>> is if I build a new system and have to start from scratch.  I've also
>> had times when I had to update because my video drivers wouldn't build
>> with a older kernel version that I'm running.  That doesn't happen to
>> often but I recall running into that at least once. 
> Shutting down your desktop applications and rebooting with a new kernel takes 
> no longer than a couple of minutes.  I mean even busy bank customer web 
> portals have planned downtime.
>


That may be true.  I used to not mind rebooting as much but since I
started having to use the init thingy, I only do it when really
necessary.  Those init thingys have left a long term bad taste in my
mouth.  If I could, I'd likely never reboot.  Thing is, sometimes I have
a power outage and just have too. 

The other thing, my computer is my entertainment system as well.  My TV
runs close to 24/7.  I may pause a video if I'm outside or something but
other than that, it is playing something about all the time.  I do go to
town each Thursday morning to get my shots and pick up groceries. 
Because of my lengthy time between trips anywhere, I put a trickle
charger on my car.  Sitting for a week wasn't doing the battery any good. 

Another reason my system runs even if I'm not home, downloading of
files.  I'm almost always downloading something.  It's how I entertain
myself after all.  ;-)  Basically, this system is busy doing things,
multiple things, almost all the time. 


>> Either way, biggest question was if there was some known breakage
>> between my old version and a newer version.  Maybe the one I tried just
>> had some weird problem that only affected me or I just missed something
>> during the oldconfig.  I wish I could recall the error.  Who knows on
>> that. 
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-) 
> Did you diff your current good kernel .config and the new failed to boot 
> kernel .config, to find out what options/modules have changed.  Besides any 
> booting errors, this could point you to something which was missed in the new 
> kernel, or perhaps shouldn't have been configured.  That's how I go about 
> finding the cause of a non-booting kernel in the rare occasions I end up with 
> a lemon.


I tried to boot with new kernel, saw the error, rebooted into a older
kernel and carried on.  That was several months ago so no clue what the
error was. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-14 Thread Wol

On 14/11/2022 21:44, Michael wrote:

Shutting down your desktop applications and rebooting with a new kernel takes
no longer than a couple of minutes.  I mean even busy bank customer web
portals have planned downtime.



There's a lot more to it than that ...

The reason I don't run new kernels all the time, is that finding the 
time to actually copy the old config, make, make modules, make install, 
fix grub, sort out problems, reboot, is actually quite hard.


It's not just a few minutes ...

Cheers,
Wol



Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-14 Thread Michael
On Monday, 14 November 2022 21:05:57 GMT Dale wrote:

> Thing is, I may go a year, sometimes more, without updating the kernel. 
> If I rebooted often, I could see using a LTS kernel.  If a kernel can
> run for months with no problems, it's stable enough for me.  Plus my
> hardware works.

Keeping the same kernel running for long periods can leave you exposed to 
security vulnerabilities.  Either stable or LTS kernels will be similarly 
exposed, if their latest backported versions are not booted with.  I 
appreciate you're not running a public server so your profile is not as much 
at risk, but bad code in some application which hasn't been patched up could 
still leave you exposed.


> I have even built a kernel but never actually booted it.  By the time I
> get around to rebooting, I've had to build another kernel.  I generally
> always work from a known stable config tho.  The only reason I wouldn't
> is if I build a new system and have to start from scratch.  I've also
> had times when I had to update because my video drivers wouldn't build
> with a older kernel version that I'm running.  That doesn't happen to
> often but I recall running into that at least once. 

Shutting down your desktop applications and rebooting with a new kernel takes 
no longer than a couple of minutes.  I mean even busy bank customer web 
portals have planned downtime.


> Either way, biggest question was if there was some known breakage
> between my old version and a newer version.  Maybe the one I tried just
> had some weird problem that only affected me or I just missed something
> during the oldconfig.  I wish I could recall the error.  Who knows on
> that. 
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 

Did you diff your current good kernel .config and the new failed to boot 
kernel .config, to find out what options/modules have changed.  Besides any 
booting errors, this could point you to something which was missed in the new 
kernel, or perhaps shouldn't have been configured.  That's how I go about 
finding the cause of a non-booting kernel in the rare occasions I end up with 
a lemon.

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


Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-14 Thread Mark Knecht
On Mon, Nov 14, 2022 at 2:06 PM Dale  wrote:
>
> Nikos Chantziaras wrote:
> > On 12/11/2022 23:37, Dale wrote:
> >> Usually, I try to update about once a year.  I don't change hardware
> >> much.
> >
> > The main reason I suggested LTS is because that, *when* you decide to
> > do a @world update, you will get the latest LTS of the same main
> > version you're already using. For example you'll go from 5.15.20 to
> > 5.15.78. And that means you won't have to bother with an array of
> > endless "make oldconfig" questions. There'll be like one or two at
> > most, which is trivial to deal with.
> >
> > I've been using LTS kernels for years now, and I never looked back.
> > "make oldconfig" usually doesn't say anything, making it a
> > ridiculously fast and no-brainer update, and yet I get the latest
> > bugfixes and security fixes.
> >
> > It just works :-)
> >
> >
> >
>
>
> Thing is, I may go a year, sometimes more, without updating the kernel.
> If I rebooted often, I could see using a LTS kernel.  If a kernel can
> run for months with no problems, it's stable enough for me.  Plus my
> hardware works.
>
> I have even built a kernel but never actually booted it.  By the time I
> get around to rebooting, I've had to build another kernel.  I generally
> always work from a known stable config tho.  The only reason I wouldn't
> is if I build a new system and have to start from scratch.  I've also
> had times when I had to update because my video drivers wouldn't build
> with a older kernel version that I'm running.  That doesn't happen to
> often but I recall running into that at least once.
>
> Either way, biggest question was if there was some known breakage
> between my old version and a newer version.  Maybe the one I tried just
> had some weird problem that only affected me or I just missed something
> during the oldconfig.  I wish I could recall the error.  Who knows on
> that.
>
> Thanks.
>
> Dale
>
> :-)  :-)
>
>

Dale,
   While I completely understand your 'reboot once a year' POV, I think
you might *possibly* be missing the point Nikos and others are making.

   If you are on 5.14.XX you aren't currently using a LTS kernel. The
LTS kernels would be the 5.10 and 5.15 series, according to kernel.org.

   If you don't CARE what kernel you are running then why not build
5.15.78 which is currently the most recent LTS kernel. If there are
updates to that series for bug & security fixes then once you have
built 5.15.78 (WHETHER YOU RUN IT OR NOT) then further
updates to that series won't be a big deal and probably don't even
require much of a config change or a tool chain change. It WILL
be easy.

   You would move forward going from 5.14.15 to 5.15.78. If
you don't NEED something in 6.0.5 or 6.0.8 then why bother?

   Once you have 5.15.78 built and installed it's there if you
reboot. If you don't reboot then you'll go on building 5.15
kernels until some newer LTS kernel is named.

   It is truly an easy way to manage the kernel part of
running Linux.

Good luck,
Mark


Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-14 Thread Dale
Nikos Chantziaras wrote:
> On 12/11/2022 23:37, Dale wrote:
>> Usually, I try to update about once a year.  I don't change hardware
>> much.
>
> The main reason I suggested LTS is because that, *when* you decide to
> do a @world update, you will get the latest LTS of the same main
> version you're already using. For example you'll go from 5.15.20 to
> 5.15.78. And that means you won't have to bother with an array of
> endless "make oldconfig" questions. There'll be like one or two at
> most, which is trivial to deal with.
>
> I've been using LTS kernels for years now, and I never looked back.
> "make oldconfig" usually doesn't say anything, making it a
> ridiculously fast and no-brainer update, and yet I get the latest
> bugfixes and security fixes.
>
> It just works :-)
>
>
>


Thing is, I may go a year, sometimes more, without updating the kernel. 
If I rebooted often, I could see using a LTS kernel.  If a kernel can
run for months with no problems, it's stable enough for me.  Plus my
hardware works.

I have even built a kernel but never actually booted it.  By the time I
get around to rebooting, I've had to build another kernel.  I generally
always work from a known stable config tho.  The only reason I wouldn't
is if I build a new system and have to start from scratch.  I've also
had times when I had to update because my video drivers wouldn't build
with a older kernel version that I'm running.  That doesn't happen to
often but I recall running into that at least once. 

Either way, biggest question was if there was some known breakage
between my old version and a newer version.  Maybe the one I tried just
had some weird problem that only affected me or I just missed something
during the oldconfig.  I wish I could recall the error.  Who knows on
that. 

Thanks.

Dale

:-)  :-) 





[gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-14 Thread Nikos Chantziaras

On 12/11/2022 23:37, Dale wrote:
Usually, I try to update about once a year.  I don't change hardware 
much.


The main reason I suggested LTS is because that, *when* you decide to do 
a @world update, you will get the latest LTS of the same main version 
you're already using. For example you'll go from 5.15.20 to 5.15.78. And 
that means you won't have to bother with an array of endless "make 
oldconfig" questions. There'll be like one or two at most, which is 
trivial to deal with.


I've been using LTS kernels for years now, and I never looked back. 
"make oldconfig" usually doesn't say anything, making it a ridiculously 
fast and no-brainer update, and yet I get the latest bugfixes and 
security fixes.


It just works :-)




Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-12 Thread Dale
Mark Knecht wrote:
>
>
> On Sat, Nov 12, 2022 at 12:13 PM Wol  > wrote:
> >
> > On 12/11/2022 18:22, Dale wrote:
> > > Where does one go for a list of the LTS kernels?  Since I reboot so
> > > rarely, what not use one of them??  Of course, the kernel I have
> in use
> > > now has long uptimes so it is sort of LTS for this rig anyway.
> >
> > Do you REALLY want an LTS kernel? Sounds like you don't. You need to
> > update them just as much as any other kernel.
> >
> > The point of an LTS kernel is it supposed to NOT receive feature
> > updates, just bug fixes. Given that Artificial Stupidity bots regularly
> > try to apply updates to stable kernels, is it worth restricting yourself
> >   to old kernels? Especially when it's not unknown for a bot to try to
> > backport a patch from kernel X+2, when it depends on a patch from X+1
> > that hasn't been backported, and anybody using that code finds their
> > "stable" kernel blowing up in their face.
> >
> > The idea behind stable kernels is great. The implementation leaves a lot
> > to be desired and, as always, the reason is not enough manpower.
> >
> > Cheers,
> > Wol
>
> Wol,
>    While I don't completely disagree with your technical points I
> really don't think your assessment of the purpose of a LTS kernel
> is wide ranging enough. 
>
>    I do agree that from what I know of Dale's usage he probably 
> doesn't NEED a long term support kernel, but he may be better 
> off with one.
>
>    If you are user of apps you pay for - in my case Mixbus - an paid
> version of Ardour - and PixInsight then you are not going to get 
> much support if you're off in the weeds running Gentoo and/or
> leading edge kernels. I run Kubuntu now, but not because I think
> it's a better distro, but because I get support. Harrison does all
> the dirty work on the audio stack and Pleiades Astro basically
> says you're on your own running unless you are on just a couple of
> distros. They were no help when I ran Gentoo. They are great 
> under Kubuntu.
>
>    An additional point is that if Dale limits himself to an LTS 
> kernel then he doesn't have to worry about changes to his
> tool chain. I'm just waiting for the day that Rust becomes
> a driving conversation point on this list. I don't think Dale 
> wants or needs to be involved in that.
>
>    Anyway, just my point of view.
>
> Best wishes,
> Mark


Usually, I try to update about once a year.  I don't change hardware
much.  I do plan to get a PCI SATA card with more ports later on but
still, I don't change hardware a whole lot.  Maybe a LTS isn't for me. 
I was just curious if I would benefit from using one since I don't
upgrade much and the kernels I run, run for months without problems.  So
to me, they are rock stable.  This is from uprecords, just the first
seven entries. 

1   303 days, 11:46:23 | Linux 4.5.2-gentoo    Sat Jul 29 23:20:27 2017
2   227 days, 22:10:30 | Linux 5.6.7-gentoo    Wed Oct 28 13:59:36 2020
3   200 days, 06:51:46 | Linux 4.18.12-gentoo  Sat Jan 12 03:42:55 2019
4   193 days, 09:28:37 | Linux 3.5.3-gentoo    Sat Sep 22 07:50:38 2012
5   184 days, 15:47:57 | Linux 3.18.7-gentoo   Tue Dec 15 21:53:59 2015
6   166 days, 20:47:12 | Linux 5.6.7-gentoo    Thu May 14 00:47:09 2020
7   147 days, 10:32:02 | Linux 5.14.15-gentoo  Sun Feb 13 01:09:41 2022

My current kernel is on the bottom.  With hard drive changes, I been
rebooting more often than usual.  Still, 147 days is pretty stable.  :-D

It was just a thought.  Maybe not even a good one.  ;-)

Dale

:-)  :-) 


Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-12 Thread Rich Freeman
On Sat, Nov 12, 2022 at 2:13 PM Wol  wrote:
>
> The idea behind stable kernels is great. The implementation leaves a lot
> to be desired and, as always, the reason is not enough manpower.
>

Two things: first, LTS kernels aren't the same as stable kernels.
Dale has been running stable kernels, and gentoo-sources kernels are
all stable kernels.

Second, I've been running LTS kernels for years without issue.  I got
into them due to running zfs/btrfs/nvidia.  ZFS and nvidia are out of
tree modules, and they tend to lag in support for the latest stable
branches, so it is a constant battle if you want to run stable.  If
you run LTS they just work.  When I was running btrfs I wanted to
stick to LTS mainly because btrfs was constantly breaking things in
new releases, which like every other subsystem are introduced in new
branches.  That was a while ago and maybe btrfs is more stable today.
If you run anything out of tree though LTS is a much easier target.

Aside from that, new kernel options are almost never added within LTS
branch releases, so I just run make oldconfig and I'm done.  You do
get the rare change, and it is very easy to manage those.

The downside is if you want some new kernel feature you won't get it,
and you might need to update for support for new chipsets/CPUs if
you're upgrading.  That isn't a big deal to manage as I don't do it
often.

I can't remember the last time an LTS kernel blew up on me, but I
never rush out to update a kernel the day it is released.
Occassionally I do see a regression fixed and it tends to happen
fairly quickly.

All that said, it would be nice if the kernel had more of a QA
process.  I think the kernel has basically deferred all of that to
distros, which means by running an upstream kernel I get none of it.
The upstream kernel config defaults are also less than ideal, which is
something distros also manage.

-- 
Rich



Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-12 Thread Mark Knecht
On Sat, Nov 12, 2022 at 12:13 PM Wol  wrote:
>
> On 12/11/2022 18:22, Dale wrote:
> > Where does one go for a list of the LTS kernels?  Since I reboot so
> > rarely, what not use one of them??  Of course, the kernel I have in use
> > now has long uptimes so it is sort of LTS for this rig anyway.
>
> Do you REALLY want an LTS kernel? Sounds like you don't. You need to
> update them just as much as any other kernel.
>
> The point of an LTS kernel is it supposed to NOT receive feature
> updates, just bug fixes. Given that Artificial Stupidity bots regularly
> try to apply updates to stable kernels, is it worth restricting yourself
>   to old kernels? Especially when it's not unknown for a bot to try to
> backport a patch from kernel X+2, when it depends on a patch from X+1
> that hasn't been backported, and anybody using that code finds their
> "stable" kernel blowing up in their face.
>
> The idea behind stable kernels is great. The implementation leaves a lot
> to be desired and, as always, the reason is not enough manpower.
>
> Cheers,
> Wol

Wol,
   While I don't completely disagree with your technical points I
really don't think your assessment of the purpose of a LTS kernel
is wide ranging enough.

   I do agree that from what I know of Dale's usage he probably
doesn't NEED a long term support kernel, but he may be better
off with one.

   If you are user of apps you pay for - in my case Mixbus - an paid
version of Ardour - and PixInsight then you are not going to get
much support if you're off in the weeds running Gentoo and/or
leading edge kernels. I run Kubuntu now, but not because I think
it's a better distro, but because I get support. Harrison does all
the dirty work on the audio stack and Pleiades Astro basically
says you're on your own running unless you are on just a couple of
distros. They were no help when I ran Gentoo. They are great
under Kubuntu.

   An additional point is that if Dale limits himself to an LTS
kernel then he doesn't have to worry about changes to his
tool chain. I'm just waiting for the day that Rust becomes
a driving conversation point on this list. I don't think Dale
wants or needs to be involved in that.

   Anyway, just my point of view.

Best wishes,
Mark


[gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-12 Thread Nikos Chantziaras

On 12/11/2022 21:13, Wol wrote:

On 12/11/2022 18:22, Dale wrote:

Where does one go for a list of the LTS kernels?  Since I reboot so
rarely, what not use one of them??  Of course, the kernel I have in use
now has long uptimes so it is sort of LTS for this rig anyway.


Do you REALLY want an LTS kernel? Sounds like you don't. You need to 
update them just as much as any other kernel.


The point of an LTS kernel is it supposed to NOT receive feature 
updates, just bug fixes. Given that Artificial Stupidity bots regularly 
try to apply updates to stable kernels, is it worth restricting yourself 
  to old kernels? Especially when it's not unknown for a bot to try to 
backport a patch from kernel X+2, when it depends on a patch from X+1 
that hasn't been backported, and anybody using that code finds their 
"stable" kernel blowing up in their face.


The idea behind stable kernels is great. The implementation leaves a lot 
to be desired and, as always, the reason is not enough manpower.


wat




Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-12 Thread Wol

On 12/11/2022 18:22, Dale wrote:

Where does one go for a list of the LTS kernels?  Since I reboot so
rarely, what not use one of them??  Of course, the kernel I have in use
now has long uptimes so it is sort of LTS for this rig anyway.


Do you REALLY want an LTS kernel? Sounds like you don't. You need to 
update them just as much as any other kernel.


The point of an LTS kernel is it supposed to NOT receive feature 
updates, just bug fixes. Given that Artificial Stupidity bots regularly 
try to apply updates to stable kernels, is it worth restricting yourself 
 to old kernels? Especially when it's not unknown for a bot to try to 
backport a patch from kernel X+2, when it depends on a patch from X+1 
that hasn't been backported, and anybody using that code finds their 
"stable" kernel blowing up in their face.


The idea behind stable kernels is great. The implementation leaves a lot 
to be desired and, as always, the reason is not enough manpower.


Cheers,
Wol



Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-12 Thread Mark Knecht
> Where does one go for a list of the LTS kernels?  Since I reboot so
> rarely, what not use one of them??  Of course, the kernel I have in use
> now has long uptimes so it is sort of LTS for this rig anyway.  ;-)
>
> Dale
>
> :-)  :-)

https://www.kernel.org/


Re: [gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-12 Thread Dale
Nikos Chantziaras wrote:
> On 11/11/2022 08:25, Dale wrote:
>> Howdy,
>>
>> I been stuck on gentoo-sources 5.14.15 for a while.  I tried upgrading
>> to I think 5.16 and then more recently 5.18.
> If you've been using 5.14 until now, it would appear to me you're the
> target audience of the LTS kernels. 5.15 is the latest LTS kernel.
> Those kernels are maintained with bugfixes and backports for at least
> 2 years.
>
> The next LTS will probably be 6.1, so if you update to that, stick to
> it for the next 2 years and then update to whatever is the latest LTS
> then.
>
>
>


I don't target LTS, I just rarely reboot.  My system runs 24/7.  I watch
TV from it plus do all the other things, check emails, look for info,
buy things etc etc.  Usually, I reboot when I lose power for more than a
couple minutes.  Where I live, if the power fails for more than 30
seconds or so, it's gonna be out longer than my UPS will last.  My UPS
mostly is to protect from those short blinks etc.  Anyway.  Recently, I
been shutting down when I move hard drives physically.  I put in a new
drive, get it set up, transfer data and such.  Once that is done, I
shutdown and physically move the drive to its permanent location. 
Lately, I'm having to use 5 1/4" spots and a adapter.  I'm out of 3.5"
spots. 

Where does one go for a list of the LTS kernels?  Since I reboot so
rarely, what not use one of them??  Of course, the kernel I have in use
now has long uptimes so it is sort of LTS for this rig anyway.  ;-)

Dale

:-)  :-) 



[gentoo-user] Re: Upgrading from 5.14 to 6.0 version

2022-11-12 Thread Nikos Chantziaras

On 11/11/2022 08:25, Dale wrote:

Howdy,

I been stuck on gentoo-sources 5.14.15 for a while.  I tried upgrading
to I think 5.16 and then more recently 5.18.
If you've been using 5.14 until now, it would appear to me you're the 
target audience of the LTS kernels. 5.15 is the latest LTS kernel. Those 
kernels are maintained with bugfixes and backports for at least 2 years.


The next LTS will probably be 6.1, so if you update to that, stick to it 
for the next 2 years and then update to whatever is the latest LTS then.