[gentoo-user] Re: How to make a boot menu?

2022-04-17 Thread Martin Vaeth
Rich Freeman  wrote:
> On Sun, Apr 17, 2022 at 3:00 PM Martin Vaeth  wrote:
>>
>> Yes, without a manually written grub.cfg you get none of these features -
>> the default grub.cfg is just horrible.
>> Well, the most powerful feature is probably still available:
>> The possibility to edit the kernel's command line, partition and path which
>> theoretically can cover everything else, though it is rather inconvenient.

Just to clarify: I mean to edit the kernel's command line immediately
before booting (that is, for instance, in emergency cases like a non-booting
new kernel together with a damaged init-system. Or when you are at a
conference with your laptop and need to connect to a beamer which for some
reason did not display anything so that perhaps forcing a different
resolution helps. I had all this, and wouldn't like to miss grub in such
situations).

> The GRUB bootloader just parses its config file, which can be manually
> edited as you point out.

This config file has many shell-like features like functions and variables
and can source helper libraries. I suggest to use of all this! (See below.)

> You also have grub-mkconfig

grub-mkconfig is meant for binary distributions. A gentoo user typically
compiles the kernel manually, anyway, and they typically know precisely
which kernel they want to boot. So they have no use for any of the
(mis-)features from grub-mkconfig.
They might use it *once* to get some grub.cfg to start with, but then
I recommend to dump grub-mkconfig.

> grub-mkconfig just runs a bunch of shell scripts to generate
> everything [...] Obviously it would be more elegant to add a loop over
> a configuration variable.

That's not what I meant. I meant to dump grub-mkconfig completely and
not writing any substitute for it. Instead, write your grub.cfg manually,
making full use of its features like variables and functions.

For instance, I have one menu entry for each init-system (openrc,
systems, and 3 more for emergency shells). But selecting such an
entry just changes a (grub.cfg) variable and does not boot yet.

Then there are menu entries for selecting/editing the resolution
variables, etc.

And only a few menu entries are for actually choosing the kernel and
booting it (according to the previously set variables).

Of course, there are default values for the variables if I make no
selection and a default boot entry as well which normally is
auto-booted after a few seconds.

Note that if I would like to have a separate entry for each
combination I might ever have a need for, I would need hundreds of
menu entries, as their number is exponential in the number of
variables which are used.

> I'm not aware of anybody having actually done this, however, so you'd
> have to DIY.

https://github.com/vaeth/grub-cfg-mv/releases/
You can install it with sys-boot/grub-cfg-mv in the mv overlay, but
you still have to read the instructions and write the "main" grub.cfg
by yourself (although you can start from the example and from the
grub.cfg generated by one initial call of grub-mkconfig).




Re: [gentoo-user] Re: How to make a boot menu?

2022-04-17 Thread Rich Freeman
On Sun, Apr 17, 2022 at 3:00 PM Martin Vaeth  wrote:
>
> Yes, without a manually written grub.cfg you get none of these features -
> the default grub.cfg is just horrible.
> Well, the most powerful feature is probably still available:
> The possibility to edit the kernel's command line, partition and path which
> theoretically can cover everything else, though it is rather inconvenient.

The GRUB bootloader just parses its config file, which can be manually
edited as you point out.  You also have grub-mkconfig which outputs a
config file for the bootloader to use, and it is typically used to
scan /boot and find all the kernels/initramfs present and create menu
items.

grub-mkconfig just runs a bunch of shell scripts to generate
everything, so you can have it autogenerate anything you want.  It
seems like a rough way to do it would be to just copy the regular
linux once for each runlevel so that you end up with each kernel show
up more than once, and then the individual runlevels can be tweaked
accordingly.  Obviously it would be more elegant to add a loop over a
configuration variable.

I'm not aware of anybody having actually done this, however, so you'd
have to DIY.

-- 
Rich



Re: [gentoo-user] for the speakup users on the list

2022-04-17 Thread Mark Knecht
On Sun, Apr 17, 2022 at 11:57 AM John Covici  wrote:

>
> Speakup works in most recent kernels, 5.10.x and it is now in the
> mainstream kernel, but I forget what release it got in there.  There
> are two types of synthesizers, hardware and software.  Most people use
> software synthesizers these days, I still use a hardware synthesizer.
>   You might need the espeakup package to make it work, or speechdup
>   and speech-dispatcher.
>   I am pretty sure speakup is even in the net install of gentoo.
>

John,
   Great info. Thanks. On my Kubuntu system a simple terminal command

espeak "hello"

worked without much trouble. Initially it went to a USB device but I
reconfigured in pulseaudio and now hear audio. I was also able to type a
few sentences and it properly put some extra delay in at the periods.

   This suggests (to me) that if Jude gets stuck on the Gentoo part
of this he could fall back to something like Kubuntu as a test of his
hard issues at least.

Cheers,
Mark



Re: [gentoo-user] Re: systemd-boot on openrc

2022-04-17 Thread Rich Freeman
On Sun, Apr 17, 2022 at 1:05 PM Martin Vaeth  wrote:
>
> Peter Humphrey  wrote:
> > On Sunday, 17 April 2022 16:42:35 -00 Martin Vaeth wrote:
> >> Peter Humphrey  wrote:
> >> > On Sunday, 17 April 2022 14:54:50 -00 Rich Freeman wrote:
> >> >> Can't you just fix your USE flags with systemd-utils?  Why revert?
> >> >
> >> > No, because the flag I'd need is 'boot', and that triggers switching from
> >> > elogind to systemd.
> >>
> >> No, USE=boot for systemd-util does not trigger anything like that.
> >
> > I meant, if I set that flag, portage wants me to remove elogind andinstall
> > systemd.
>
> Maybe, but the fault is certainly not this flag but something else.
> For instance, that you do not have keyworded something which you should have.

It would probably be helpful to post more relevant output, like
portage output including --verbose and so on so that it is clear what
it is actually doing.

systemd-utils blocks systemd, so I can't see how it could force you to
install systemd (after all, it just supplies things that are otherwise
bundled with systemd already).  Maybe in addition to setting the boot
USE flag you also changed something else?

--
Rich

-- 
Rich



[gentoo-user] Re: How to make a boot menu?

2022-04-17 Thread Martin Vaeth
Michael  wrote:
> On Sunday, 17 April 2022 17:48:04 BST Martin Vaeth wrote:
>> Michael  wrote:
>> > From: Michael 
>> >
>> > On Sunday, 17 April 2022 16:52:34 BST Peter Humphrey wrote:
>> >> > Why not try rEFInd? It handles UEFI booting simply, without the
>> >> > no-longer-needed bloat of GRUB.
>> >>
>> >> Hm. If I'm reading the wiki right, it can't handle choice of run levels
>> >> with a selected kernel. Or is that wrong?
>> >
>> > From what I understand you should be able to tweak kernel command line
>> > options in /boot/EFI/gentoo/refind_linux.conf.
>>
>> You can only choose between fixed combinations. Nothing like the
>> possibilities of grub to choose e.g. options for resolution in one
>> variable, options for boot system in another variable etc and to
>> combine all of those (without adding an exponential number of
>> options to select from). Not to speak about the possibility to
>> edit the command line freely.
>
> I see.  I never had to customise the default set up in depth, or at all from
> what I recall.  Perhaps GRUB with a manually edited grub.cgf is the solution
> to these particular user requirements

Yes, without a manually written grub.cfg you get none of these features -
the default grub.cfg is just horrible.
Well, the most powerful feature is probably still available:
The possibility to edit the kernel's command line, partition and path which
theoretically can cover everything else, though it is rather inconvenient.




Re: [gentoo-user] for the speakup users on the list

2022-04-17 Thread John Covici
On Sun, 17 Apr 2022 13:28:50 -0400,
Mark Knecht wrote:
> 
> On Sun, Apr 17, 2022 at 9:53 AM Jude DaShiell  wrote:
> >
> > Yes, I am blind and can disassemble computers okay but never could learn
> > to assemble them since the equipment to test memory external to computers
> > has been and will remain inaccessible.  This if it's done will have to be
> > done by a repair shop and likely will cost more to repair this machine
> > than replace it if that much work is involved.
> >
> 
> I was curious about speakup as I had not heard about it so I attempted
> an install on my Ubuntu desktop but it's not in the default repositories.
> 
> Reading the Ubuntu docs they say speakup is applied as a kernel
> patch to 2.4 & 2.6 level kernels and that to use it with a modern
> version the patches would have to be ported. It appears that all
> the docs on speakup I found quickly stalled out in 2008-2010.
> 
> https://wiki.ubuntu.com/Accessibility/doc/Speakup
> 
> Do you know of newer work?
> 
> I'm curious about the program from a persona point of
> view. When I started at National Semiconductor in 1978
> we had a cantankerous old guy working on text-to-speach
> synthesizers so I had a little bit of exposure.
> 
> There are old Ubuntu releases here:
> 
> https://old-releases.ubuntu.com/releases/
> 
> If I can figure out what kernels they were running I could
> possibly try creating a VM and see where it leads me.
> 
> Echoing Jack's comment, I'm not sure this is a heat
> sink problem. Misoperation at the time of letting
> go of the reset button prior to POST. If the machine is
> starting cold a processor wouldn't overheat that fast but
> I haven't yet read all of your thread.
> 
> I think there's also an opportunity here to do some sort
> of remote debug with you if we can find anything that does
> boot.

Speakup works in most recent kernels, 5.10.x and it is now in the
mainstream kernel, but I forget what release it got in there.  There
are two types of synthesizers, hardware and software.  Most people use
software synthesizers these days, I still use a hardware synthesizer.
  You might need the espeakup package to make it work, or speechdup
  and speech-dispatcher.
  I am pretty sure speakup is even in the net install of gentoo.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Dale
Neil Bothwick wrote:
> On Sat, 16 Apr 2022 23:44:58 -0500, Dale wrote:
>
 That's even more typing than /dev/sdk.  Some things I do easily by
 using tab completion and all.  When mounting, I let fstab remember
 the UUID for it.  
>>> That's what copy/paste is for.  How often are you editing your
>>> crypttab anyway?  This way when you move drives around they still
>>> work.  
>> What is crypttab?  I type in the command manually.
> Then use a shell alias, even less typing.
>
>


I've done a couple basic alias things here but never grasped it enough
to do anything beyond making ls run with -al each time.  I think there
is another one I did but it was long ago.  I'd have to dig to find it. 

My biggest thing, I'm so used to using sdk1 that I'm likely to have to
hit the backspace key quite often until this gets sorted out.  My OS
stuff is on sda, sdb, sdc and was on sdd.  Anything above that was
external.  If one of the storms knocks my lights out, I may get a chance
to reboot.  See if that fixes things.

Dale

:-)  :-)



Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Mark Knecht
On Sun, Apr 17, 2022 at 11:04 AM Dale  wrote:

>
> When I bought my current TV, I avoided the smart ones.  At the time, it
> was new technology and people were talking about how buggy it was so I
> bought a regular TV.  If I had to buy one today, I'd buy a smart one.
> They seem to work pretty well now.  Nice and stable at least.  Still, I
> check to make sure whatever I buy is based on Linux as its OS.  One can
> usually check the manual and see the copyright notice in the last few
> pages.  It mentions the kernel.  If it mentions windoze, I move on.  LQ
> is almost always Linux based.
>
> I'm at the point where I know I need to do this.  It's just getting
> there.  I even thought about putting the OS on a USB stick.  After all,
> once booted, it won't access the stick very often.  I could even load it
> into memory at boot up and it not even need the stick at all once
> booted.  Like is done with some Gentoo install media.
>
> One of these days.

Fair enough.

You might also investigate whether a newer Roku/AppleTV type
machine will access a network share. I suspect they will.

TrueNAS will run from a USB stick. You'll need two - one for
the setup media and a second to install it to, but after that you
only need storage drives to hold your backups or media.

I think a NAS for backups and media playback makes sense.
You want the machine on most of the time, but if you shut it
down it won't generally stop you from using your main computer.

On the other hand, with NVMe drives in my new machine I
have no spinning media so I use the NAS as a network store
much as you envision watching movies on your TV, but for me
it's mostly astrophotography data.

Have fun. Happy Easter if you celebrate it. Happy Sunday if
you don't.

Cheers,
Mark



Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Dale
Rich Freeman wrote:
> On Sat, Apr 16, 2022 at 6:39 PM Dale  wrote:
>> Neil Bothwick wrote:
>>> Use /dev/disks/by/partlabel/foo or /dev/disks/by-partuuid/bar.
>>>
>> That's even more typing than /dev/sdk.  Some things I do easily by using
>> tab completion and all.  When mounting, I let fstab remember the UUID
>> for it.
> That's what copy/paste is for.  How often are you editing your
> crypttab anyway?  This way when you move drives around they still
> work.
>

I did a google search for crypttab.  After reading what its purpose is,
I see why I don't have one.  It seems it is more for decrypting and
mounting things during bootup.  I don't need to mount encrypted data to
boot up or even log into KDE.  I just need it to access data when
needed.  Most of the encrypted data that I access often is actually my
external drives.  When I leave home, I close the encrypted data.  When I
get home, I open it and remount it.  If I need it for something. 

One day I may encrypt my /home directory.  Maybe.  I don't really see
the need since any data I want protected can just be put on the
encrypted part I have now. Anyway, I suspect when I reboot, this is will
be back to the old way.  I thought I was going to have a opportunity to
do that last night.  My lights went off for a few seconds.  UPS kicked
in and they came back on.  It's not over yet tho.  ;-)

Or am I missing something?

Dale

:-)  :-) 



Re: [gentoo-user] Re: How to make a boot menu?

2022-04-17 Thread Michael
On Sunday, 17 April 2022 17:48:04 BST Martin Vaeth wrote:
> Michael  wrote:
> > From: Michael 
> > 
> > On Sunday, 17 April 2022 16:52:34 BST Peter Humphrey wrote:
> >> > Why not try rEFInd? It handles UEFI booting simply, without the
> >> > no-longer-needed bloat of GRUB.
> >> 
> >> Hm. If I'm reading the wiki right, it can't handle choice of run levels
> >> with a selected kernel. Or is that wrong?
> > 
> > From what I understand you should be able to tweak kernel command line
> > options in /boot/EFI/gentoo/refind_linux.conf.
> 
> You can only choose between fixed combinations. Nothing like the
> possibilities of grub to choose e.g. options for resolution in one
> variable, options for boot system in another variable etc and to
> combine all of those (without adding an exponential number of
> options to select from). Not to speak about the possibility to
> edit the command line freely.

I see.  I never had to customise the default set up in depth, or at all from 
what I recall.  Perhaps GRUB with a manually edited grub.cgf is the solution 
to these particular user requirements.

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


Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Dale
Mark Knecht wrote:
> On Sun, Apr 17, 2022 at 10:22 AM Dale  wrote:
> 
>> I was wanting to have a NAS that also puts video on my TV.  That way I
>> can turn off my puter and still watch TV.  It would be as much a media
>> system as a NAS.  I have a mobo, ram and I think I have a extra video
>> card somewhere.  I'd need a case, power supply and such.  I'd also need
>> a place to put all this which is going to be interesting.  I'd want
>> plenty of hard drive bays tho.  I found a fractal 804 case that caught
>> my eye.  Can't recall all the details tho.
>>
>> Still, needs money and right now, I got to many other coals in the
>> fire.  Plus, I'm trying to figure out this crypttab thing.  From what
>> I've read, it is for opening encrypted drives during boot up which is
>> not really what I want.  I can boot and login into my KDE without
>> anything encrypted being mounted.  Kinda like this new setup really.
>>
>> I'll be so glad when fiber internet gets here.  I think I'm going with
>> the 500Mb/sec plan.  Costs about the same as my current 1.5Mb/sec plan.
>> lol
>>
>> Dale
> I believe all of that can be done on TrueNAS, and most likely with
> any of the prepackaged boxes like Synology, but I've not do it myself.
>
> Most modern flatscreens can access NAS servers and play video
> and or music over the network so the NAS server itself
> need not have a GPU. I did put a VGA in both of mine as building
> them is easier, but it wasn't strictly necessary. TrueNAS can be
> built on a headless machine if you know the IP address.
>
> As for FreeBSD, they have 'jails' which I think are more or less
> chroot environments, so you can put whatever MythTV is called
> these days in a jail and run it from there. People do that with
> DNS, network monitors and all sorts of things. (Assuming
> you have enough compute power.)
>
> No need to do any of this now. It's good that you're thinking
> about solutions so that when the money comes along you'll
> be ready.
>
> Cheers,
> Mark
>
>


When I bought my current TV, I avoided the smart ones.  At the time, it
was new technology and people were talking about how buggy it was so I
bought a regular TV.  If I had to buy one today, I'd buy a smart one. 
They seem to work pretty well now.  Nice and stable at least.  Still, I
check to make sure whatever I buy is based on Linux as its OS.  One can
usually check the manual and see the copyright notice in the last few
pages.  It mentions the kernel.  If it mentions windoze, I move on.  LQ
is almost always Linux based.

I'm at the point where I know I need to do this.  It's just getting
there.  I even thought about putting the OS on a USB stick.  After all,
once booted, it won't access the stick very often.  I could even load it
into memory at boot up and it not even need the stick at all once
booted.  Like is done with some Gentoo install media. 

One of these days.

Dale

:-)  :-) 

P. S.  New drive seems to be working fine.  Now to figure out what to do
with old one.  :-D



Re: [gentoo-user] for the speakup users on the list

2022-04-17 Thread Mark Knecht
On Sun, Apr 17, 2022 at 10:42 AM Jude DaShiell  wrote:
>
> I'm checking on a lower bucks user group to see if it's still active.
> They do all manner of operating systems including linux in that group.
>
>


I was able to set up an Ubuntu 10.04.4 Lucid VM here in under 15
minutes. It came up running the 2.6.32 kernel which I think
should be patchable with speakup.

Will continue to investigate.

Mark



Re: [gentoo-user] for the speakup users on the list

2022-04-17 Thread Jude DaShiell
I'm checking on a lower bucks user group to see if it's still active.
They do all manner of operating systems including linux in that group.


On Sun, 17 Apr 2022, Jack wrote:

> I think many on this list would be willing to help with this, if the location
> were close enough.  You might hunt for a local linux users group, or other
> group of folks likely to be interested and willing to tinker with hardware. 
> You might also see if there is a local high school or technical school with
> relevant classes, to ask if there is a student willing to help you.
>
> The actual work in removing and replacing heat sink and fan is not that great
> - but if it is not near definite that is the cause of your problem, then it
> might be a wasted effort.
>
> On 4/17/22 12:53, Jude DaShiell wrote:
> > Yes, I am blind and can disassemble computers okay but never could learn
> > to assemble them since the equipment to test memory external to computers
> > has been and will remain inaccessible.  This if it's done will have to be
> > done by a repair shop and likely will cost more to repair this machine
> > than replace it if that much work is involved.
> >
> >
> > On Sun, 17 Apr 2022, Mark Knecht wrote:
> >
> >> On Sun, Apr 17, 2022 at 8:14 AM Jude DaShiell  wrote:
> >>> Has the links browser crashed other computers when used with speakup?  If
> >>> it turns out I'm not unique maybe a safer browser choice ought to go on
> >>> the next minimal iso.
> >>>
> >>>
> >> To start, as you mention speakup, if you are yourself blind I acknowledge
> >> at the outset my suggestions below may not be the most practical.
> >>
> >> I'd start by doing everything I could to ensure the underlying motherboard
> >> and memory are stable:
> >>
> >> 1) Disconnect all external devices other than your keyboard
> >> 2) Disconnect all internal drives other than the one you need to install to
> >> 3) Remove all memory except for 1 stick
> >> 4) If the machine has a motherboard VGA AND you have a card-based
> >> GPU then remove that card
> >> 5) Leave wired ethernet connected if the machine and your network
> >> support it.
> >>
> >> At that point run memtest86 from USB or a DVD. If it's stable then
> >> start adding back memory. Double check that all memory is the
> >> same spec. I bought a used MB recently with 6 sticks but 2 of them
> >> weren't the same as the other 4.
> >>
> >> If all of that works I'd install some very light distro - probably
> >> Ubuntu Server but you're free to choose - with the goal to
> >> get a Linux kernel running. At that point I'm probably going to
> >> install something like btop and watch temperatures.
> >>
> >> If all that worked then you've made forward progress. If it
> >> doesn't you've also made forward progress.
> >>
> >> Good luck,
> >> Mark
> >>
> >>
>
>



Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Mark Knecht
On Sun, Apr 17, 2022 at 10:22 AM Dale  wrote:

>
> I was wanting to have a NAS that also puts video on my TV.  That way I
> can turn off my puter and still watch TV.  It would be as much a media
> system as a NAS.  I have a mobo, ram and I think I have a extra video
> card somewhere.  I'd need a case, power supply and such.  I'd also need
> a place to put all this which is going to be interesting.  I'd want
> plenty of hard drive bays tho.  I found a fractal 804 case that caught
> my eye.  Can't recall all the details tho.
>
> Still, needs money and right now, I got to many other coals in the
> fire.  Plus, I'm trying to figure out this crypttab thing.  From what
> I've read, it is for opening encrypted drives during boot up which is
> not really what I want.  I can boot and login into my KDE without
> anything encrypted being mounted.  Kinda like this new setup really.
>
> I'll be so glad when fiber internet gets here.  I think I'm going with
> the 500Mb/sec plan.  Costs about the same as my current 1.5Mb/sec plan.
> lol
>
> Dale

I believe all of that can be done on TrueNAS, and most likely with
any of the prepackaged boxes like Synology, but I've not do it myself.

Most modern flatscreens can access NAS servers and play video
and or music over the network so the NAS server itself
need not have a GPU. I did put a VGA in both of mine as building
them is easier, but it wasn't strictly necessary. TrueNAS can be
built on a headless machine if you know the IP address.

As for FreeBSD, they have 'jails' which I think are more or less
chroot environments, so you can put whatever MythTV is called
these days in a jail and run it from there. People do that with
DNS, network monitors and all sorts of things. (Assuming
you have enough compute power.)

No need to do any of this now. It's good that you're thinking
about solutions so that when the money comes along you'll
be ready.

Cheers,
Mark



Re: [gentoo-user] for the speakup users on the list

2022-04-17 Thread Mark Knecht
On Sun, Apr 17, 2022 at 9:53 AM Jude DaShiell  wrote:
>
> Yes, I am blind and can disassemble computers okay but never could learn
> to assemble them since the equipment to test memory external to computers
> has been and will remain inaccessible.  This if it's done will have to be
> done by a repair shop and likely will cost more to repair this machine
> than replace it if that much work is involved.
>

I was curious about speakup as I had not heard about it so I attempted
an install on my Ubuntu desktop but it's not in the default repositories.

Reading the Ubuntu docs they say speakup is applied as a kernel
patch to 2.4 & 2.6 level kernels and that to use it with a modern
version the patches would have to be ported. It appears that all
the docs on speakup I found quickly stalled out in 2008-2010.

https://wiki.ubuntu.com/Accessibility/doc/Speakup

Do you know of newer work?

I'm curious about the program from a persona point of
view. When I started at National Semiconductor in 1978
we had a cantankerous old guy working on text-to-speach
synthesizers so I had a little bit of exposure.

There are old Ubuntu releases here:

https://old-releases.ubuntu.com/releases/

If I can figure out what kernels they were running I could
possibly try creating a VM and see where it leads me.

Echoing Jack's comment, I'm not sure this is a heat
sink problem. Misoperation at the time of letting
go of the reset button prior to POST. If the machine is
starting cold a processor wouldn't overheat that fast but
I haven't yet read all of your thread.

I think there's also an opportunity here to do some sort
of remote debug with you if we can find anything that does
boot.

Mark



Re: [gentoo-user] Re: systemd-boot on openrc

2022-04-17 Thread Peter Humphrey
On Sunday, 17 April 2022 17:05:18 -00 Martin Vaeth wrote:
> Peter Humphrey  wrote:
> > On Sunday, 17 April 2022 16:42:35 -00 Martin Vaeth wrote:
> >> Peter Humphrey  wrote:
> >> > On Sunday, 17 April 2022 14:54:50 -00 Rich Freeman wrote:
> >> >> Can't you just fix your USE flags with systemd-utils?  Why revert?
> >> > 
> >> > No, because the flag I'd need is 'boot', and that triggers switching
> >> > from
> >> > elogind to systemd.
> >> 
> >> No, USE=boot for systemd-util does not trigger anything like that.
> > 
> > I meant, if I set that flag, portage wants me to remove elogind andinstall
> > systemd.
> 
> Maybe, but the fault is certainly not this flag but something else.
> For instance, that you do not have keyworded something which you should
> have.

Ok. I'll look again in the morning.

-- 
Regards,
Peter.






Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Dale
Mark Knecht wrote:
> On Sat, Apr 16, 2022 at 6:06 PM Dale  wrote:
>> Mark Knecht wrote:
>>> On Sat, Apr 16, 2022 at 3:53 PM Dale  wrote:
>>> 
>>> Maybe this is a good excuse
 to start working on a NAS.  :/
>>> That's my vote. (For the second time)
>>>
>>> I'm using a FreeBSD Nas (TrueNAS) but they recently came out with a
>>> Linux version which you might be more comfortable with. If you use a
>>> 1Gb/S or higher network connection it's quite fast.
>>>
>>> You can also go the Synology route via Amazon. You can get a 2-disk
>>> NAS chassis which does RAID for around $250 last time I looked.
>>>
>>> Good luck whatever you do.
>>>
>>> Mark
>> Other than being another piece of equipment running up a light bill, it
>> is the best way to deal with this.  The way I'm doing now is a bit of a
>> struggle at times.  I just need to get other things done first, from a
>> money perspective which inflation isn't helping on.  A trip to the
>> grocery story is no fun anymore.
>>
>> One of these days tho.  I just gotta do it.
>>
>> Dale
> I hear you about groceries and inflation. Wol pushed me to build my
> first one just using an old computer. I had an old machine - case,
> power supply with a bad motherboard so I purchased an  i3-2120 CPU @
> 3.30GHz motherboard with 8GB memory used at a computer store for $40.
> Surprisingly that's more than enough CPU & memory for basic backups.
> No matter what you're going to have to pay for the drives whether they
> go in your box, in external cases or in a backup machine.
>
> I only turn it on to do backups or to retrieve data so not much electricity.
>
>


I was wanting to have a NAS that also puts video on my TV.  That way I
can turn off my puter and still watch TV.  It would be as much a media
system as a NAS.  I have a mobo, ram and I think I have a extra video
card somewhere.  I'd need a case, power supply and such.  I'd also need
a place to put all this which is going to be interesting.  I'd want
plenty of hard drive bays tho.  I found a fractal 804 case that caught
my eye.  Can't recall all the details tho. 

Still, needs money and right now, I got to many other coals in the
fire.  Plus, I'm trying to figure out this crypttab thing.  From what
I've read, it is for opening encrypted drives during boot up which is
not really what I want.  I can boot and login into my KDE without
anything encrypted being mounted.  Kinda like this new setup really. 

I'll be so glad when fiber internet gets here.  I think I'm going with
the 500Mb/sec plan.  Costs about the same as my current 1.5Mb/sec plan. 
lol 

Dale 

:-)  :-) 



Re: [gentoo-user] for the speakup users on the list

2022-04-17 Thread Jack
I think many on this list would be willing to help with this, if the 
location were close enough.  You might hunt for a local linux users 
group, or other group of folks likely to be interested and willing to 
tinker with hardware.  You might also see if there is a local high 
school or technical school with relevant classes, to ask if there is a 
student willing to help you.


The actual work in removing and replacing heat sink and fan is not that 
great - but if it is not near definite that is the cause of your 
problem, then it might be a wasted effort.


On 4/17/22 12:53, Jude DaShiell wrote:

Yes, I am blind and can disassemble computers okay but never could learn
to assemble them since the equipment to test memory external to computers
has been and will remain inaccessible.  This if it's done will have to be
done by a repair shop and likely will cost more to repair this machine
than replace it if that much work is involved.


On Sun, 17 Apr 2022, Mark Knecht wrote:


On Sun, Apr 17, 2022 at 8:14 AM Jude DaShiell  wrote:

Has the links browser crashed other computers when used with speakup?  If
it turns out I'm not unique maybe a safer browser choice ought to go on
the next minimal iso.



To start, as you mention speakup, if you are yourself blind I acknowledge
at the outset my suggestions below may not be the most practical.

I'd start by doing everything I could to ensure the underlying motherboard
and memory are stable:

1) Disconnect all external devices other than your keyboard
2) Disconnect all internal drives other than the one you need to install to
3) Remove all memory except for 1 stick
4) If the machine has a motherboard VGA AND you have a card-based
GPU then remove that card
5) Leave wired ethernet connected if the machine and your network
support it.

At that point run memtest86 from USB or a DVD. If it's stable then
start adding back memory. Double check that all memory is the
same spec. I bought a used MB recently with 6 sticks but 2 of them
weren't the same as the other 4.

If all of that works I'd install some very light distro - probably
Ubuntu Server but you're free to choose - with the goal to
get a Linux kernel running. At that point I'm probably going to
install something like btop and watch temperatures.

If all that worked then you've made forward progress. If it
doesn't you've also made forward progress.

Good luck,
Mark






[gentoo-user] Re: systemd-boot on openrc

2022-04-17 Thread Martin Vaeth
Peter Humphrey  wrote:
> On Sunday, 17 April 2022 16:42:35 -00 Martin Vaeth wrote:
>> Peter Humphrey  wrote:
>> > On Sunday, 17 April 2022 14:54:50 -00 Rich Freeman wrote:
>> >> Can't you just fix your USE flags with systemd-utils?  Why revert?
>> >
>> > No, because the flag I'd need is 'boot', and that triggers switching from
>> > elogind to systemd.
>>
>> No, USE=boot for systemd-util does not trigger anything like that.
>
> I meant, if I set that flag, portage wants me to remove elogind andinstall
> systemd.

Maybe, but the fault is certainly not this flag but something else.
For instance, that you do not have keyworded something which you should have.




Re: [gentoo-user] for the speakup users on the list

2022-04-17 Thread Jude DaShiell
Yes, I am blind and can disassemble computers okay but never could learn
to assemble them since the equipment to test memory external to computers
has been and will remain inaccessible.  This if it's done will have to be
done by a repair shop and likely will cost more to repair this machine
than replace it if that much work is involved.


On Sun, 17 Apr 2022, Mark Knecht wrote:

> On Sun, Apr 17, 2022 at 8:14 AM Jude DaShiell  wrote:
> >
> > Has the links browser crashed other computers when used with speakup?  If
> > it turns out I'm not unique maybe a safer browser choice ought to go on
> > the next minimal iso.
> >
> >
>
> To start, as you mention speakup, if you are yourself blind I acknowledge
> at the outset my suggestions below may not be the most practical.
>
> I'd start by doing everything I could to ensure the underlying motherboard
> and memory are stable:
>
> 1) Disconnect all external devices other than your keyboard
> 2) Disconnect all internal drives other than the one you need to install to
> 3) Remove all memory except for 1 stick
> 4) If the machine has a motherboard VGA AND you have a card-based
> GPU then remove that card
> 5) Leave wired ethernet connected if the machine and your network
> support it.
>
> At that point run memtest86 from USB or a DVD. If it's stable then
> start adding back memory. Double check that all memory is the
> same spec. I bought a used MB recently with 6 sticks but 2 of them
> weren't the same as the other 4.
>
> If all of that works I'd install some very light distro - probably
> Ubuntu Server but you're free to choose - with the goal to
> get a Linux kernel running. At that point I'm probably going to
> install something like btop and watch temperatures.
>
> If all that worked then you've made forward progress. If it
> doesn't you've also made forward progress.
>
> Good luck,
> Mark
>
>



Re: [gentoo-user] Re: systemd-boot on openrc

2022-04-17 Thread Peter Humphrey
On Sunday, 17 April 2022 16:42:35 -00 Martin Vaeth wrote:
> Peter Humphrey  wrote:
> > On Sunday, 17 April 2022 14:54:50 -00 Rich Freeman wrote:
> >> Can't you just fix your USE flags with systemd-utils?  Why revert?
> > 
> > No, because the flag I'd need is 'boot', and that triggers switching from
> > elogind to systemd.
> 
> No, USE=boot for systemd-util does not trigger anything like that.

I meant, if I set that flag, portage wants me to remove elogind andinstall 
systemd.

-- 
Regards,
Peter.






[gentoo-user] Re: How to make a boot menu?

2022-04-17 Thread Martin Vaeth
Michael  wrote:
> From: Michael 
> On Sunday, 17 April 2022 16:52:34 BST Peter Humphrey wrote:

>> > Why not try rEFInd? It handles UEFI booting simply, without the
>> > no-longer-needed bloat of GRUB.
>>
>> Hm. If I'm reading the wiki right, it can't handle choice of run levels with
>> a selected kernel. Or is that wrong?
>
> From what I understand you should be able to tweak kernel command line options
> in /boot/EFI/gentoo/refind_linux.conf.

You can only choose between fixed combinations. Nothing like the
possibilities of grub to choose e.g. options for resolution in one
variable, options for boot system in another variable etc and to
combine all of those (without adding an exponential number of
options to select from). Not to speak about the possibility to
edit the command line freely.




Re: [gentoo-user] How to make a boot menu?

2022-04-17 Thread Peter Humphrey
On Sunday, 17 April 2022 16:38:23 -00 Peter Humphrey wrote:
> On Sunday, 17 April 2022 16:12:29 -00 Michael wrote:
> > On Sunday, 17 April 2022 16:52:34 BST Peter Humphrey wrote:
> > > On Sunday, 17 April 2022 14:33:01 -00 Neil Bothwick wrote:
> > > > Why not try rEFInd? It handles UEFI booting simply, without the
> > > > no-longer-needed bloat of GRUB.
> > > 
> > > Hm. If I'm reading the wiki right, it can't handle choice of run levels
> > > with a selected kernel. Or is that wrong?
> > 
> > From what I understand you should be able to tweak kernel command line
> > options in /boot/EFI/gentoo/refind_linux.conf.
> 
> Ah, right. I'll have a look at that.

I'm writing this on an Android tablet in my local, over VNC. Technology rules, 
OK? 

-- 
Regards,
Peter.






[gentoo-user] Re: systemd-boot on openrc

2022-04-17 Thread Martin Vaeth
Peter Humphrey  wrote:
> On Sunday, 17 April 2022 14:54:50 -00 Rich Freeman wrote:
>>
>> Can't you just fix your USE flags with systemd-utils?  Why revert?
>
> No, because the flag I'd need is 'boot', and that triggers switching from
> elogind to systemd.

No, USE=boot for systemd-util does not trigger anything like that.




Re: [gentoo-user] How to make a boot menu?

2022-04-17 Thread Peter Humphrey
On Sunday, 17 April 2022 16:12:29 -00 Michael wrote:
> On Sunday, 17 April 2022 16:52:34 BST Peter Humphrey wrote:
> > On Sunday, 17 April 2022 14:33:01 -00 Neil Bothwick wrote:
> > > Why not try rEFInd? It handles UEFI booting simply, without the
> > > no-longer-needed bloat of GRUB.
> > 
> > Hm. If I'm reading the wiki right, it can't handle choice of run levels
> > with a selected kernel. Or is that wrong?
> 
> From what I understand you should be able to tweak kernel command line
> options in /boot/EFI/gentoo/refind_linux.conf.

Ah, right. I'll have a look at that.

-- 
Regards,
Peter.






Re: [gentoo-user] for the speakup users on the list

2022-04-17 Thread Mark Knecht
On Sun, Apr 17, 2022 at 8:14 AM Jude DaShiell  wrote:
>
> Has the links browser crashed other computers when used with speakup?  If
> it turns out I'm not unique maybe a safer browser choice ought to go on
> the next minimal iso.
>
>

To start, as you mention speakup, if you are yourself blind I acknowledge
at the outset my suggestions below may not be the most practical.

I'd start by doing everything I could to ensure the underlying motherboard
and memory are stable:

1) Disconnect all external devices other than your keyboard
2) Disconnect all internal drives other than the one you need to install to
3) Remove all memory except for 1 stick
4) If the machine has a motherboard VGA AND you have a card-based
GPU then remove that card
5) Leave wired ethernet connected if the machine and your network
support it.

At that point run memtest86 from USB or a DVD. If it's stable then
start adding back memory. Double check that all memory is the
same spec. I bought a used MB recently with 6 sticks but 2 of them
weren't the same as the other 4.

If all of that works I'd install some very light distro - probably
Ubuntu Server but you're free to choose - with the goal to
get a Linux kernel running. At that point I'm probably going to
install something like btop and watch temperatures.

If all that worked then you've made forward progress. If it
doesn't you've also made forward progress.

Good luck,
Mark



Re: [gentoo-user] How to make a boot menu?

2022-04-17 Thread Michael
On Sunday, 17 April 2022 16:52:34 BST Peter Humphrey wrote:
> On Sunday, 17 April 2022 14:33:01 -00 Neil Bothwick wrote:
> > Why not try rEFInd? It handles UEFI booting simply, without the
> > no-longer-needed bloat of GRUB.
> 
> Hm. If I'm reading the wiki right, it can't handle choice of run levels with
> a selected kernel. Or is that wrong?

>From what I understand you should be able to tweak kernel command line options 
in /boot/EFI/gentoo/refind_linux.conf.

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


Re: [gentoo-user] How to make a boot menu?

2022-04-17 Thread Michael
On Sunday, 17 April 2022 15:33:01 BST Neil Bothwick wrote:
> On Sun, 17 Apr 2022 13:45:37 +, Peter Humphrey wrote:
> > I use bootctl from sys-boot/systemd-boot to creat a boot-time menu
> > (photo attached) from which I choose what system I want to run. This
> > has worked well, but I'm not confident I'll be able to mix systemd and
> > openrc like this for much longer.
> 
> [snip]
> 
> > My question is how to do this in Grub.
> 
> Why not try rEFInd? It handles UEFI booting simply, without the
> no-longer-needed bloat of GRUB.

+1 for the relative simplicity of rEFInd.  I've only used it on a MacBook Pro, 
some years ago now, but it worked like a champ to dual boot Gentoo:

https://wiki.gentoo.org/wiki/Refind

GRUB is rather bloated, because it tries to be all things to all men.  
However, you don't have to use GRUB's mkconfig command to automatically 
generate a boot menu.  You still can author manually your very own grub.cfg as 
described further down this page:

https://www.gnu.org/software/grub/manual/grub/grub.html#Booting

Then you'll configure whatever GRUB_CMDLINE_LINUX kernel options you need.

There's also syslinux, which I have only used once.  It worked.  Not sure if 
it meets your needs, but I mention it for completeness:

https://wiki.gentoo.org/wiki/Syslinux


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


Re: [gentoo-user] How to make a boot menu?

2022-04-17 Thread Peter Humphrey
On Sunday, 17 April 2022 14:33:01 -00 Neil Bothwick wrote:

> Why not try rEFInd? It handles UEFI booting simply, without the
> no-longer-needed bloat of GRUB.

Hm. If I'm reading the wiki right, it can't handle choice of run levels with a 
selected kernel. Or is that wrong?

-- 
Regards,
Peter.






Re: [gentoo-user] systemd-boot on openrc

2022-04-17 Thread Peter Humphrey
On Sunday, 17 April 2022 14:54:50 -00 Rich Freeman wrote:
> On Sun, Apr 17, 2022 at 9:03 AM Peter Humphrey  
wrote:
> > On Sunday, 17 April 2022 12:13:06 -00 Neil Bothwick wrote:
> > 
> > --->8
> > 
> > > It looks like this is cause my using mixed keywords, amd64 for udev and
> > > ~amd64 for systemd-boot/utils. Does keywording udev-250 resolve the
> > > blocks?
> > 
> > Yes, after keywording several others, thus:
> > 
> > ~sys-apps/systemd-tmpfiles-249.9
> > ~sys-apps/systemd-utils-250.4
> > ~sys-fs/udev-250
> > ~virtual/tmpfiles-0-r2
> > 
> > But then, after rebooting because of the udev update, systemd-boot-250-r1
> > has come in. I can't revert those keywords though, because then I'd have
> > to ditch elogind in favour of systemd. I really do not want to do that.
> 
> Can't you just fix your USE flags with systemd-utils?  Why revert?

No, because the flag I'd need is 'boot', and that triggers switching from 
elogind to systemd.

> If I need to bump a package up to ~arch temporarily usually I just do
> it with an atom like " that, so that I keep getting ~arch updates within the major version,
> but the next major bump happens when it hits stable.  Obviously you
> need to understand the versioning/stabilization policies for the
> packages involved if you do that, and it is situational, but you
> really shouldn't be mixing keywords anyway unless you're comfortable
> with that.

No, I know it's a bad idea to mix keywords, but how else do I get systemd-boot 
on a stable system?

-- 
Regards,
Peter.






Re: [gentoo-user] gentoo uninstallable on this hardware

2022-04-17 Thread Michael
What you describe may be a hardware problem, but it could also be related to 
the kernel options enabled in the Live-USB media.  I've had some MoBos 
overheating when booting with one Live media OS, but not another.  Chroot-ing 
was OK, but trying to build anything thereafter ended up in overheating and a 
crash.  I suggest you try some other Live-USB and see if the problem persists.  
You can install Gentoo from any Live-CD/DVD/USB, you don't need to restrict 
yourself to the Gentoo offering.  Essentially you're looking for a kernel with 
more options for the CPU scheduler.

Alternatively, you could try setting a max CPU frequency in the scheduler 
before you kick off with any resource intensive installation step and see if 
this works for you.  Check for the options to tweak under:

 /sys/devices/system/cpu/cpu0/cpufreq

On Sunday, 17 April 2022 16:06:56 BST Jude DaShiell wrote:
> I have had several system crashes trying a gentoo install.
> These crashes involve the loss of speakup and no capability to resurrect
> speakup either.
> Further to that, when the system is shutdown it cannot be restarted
> without use of the reset button additional to the power button.
> When I take my finger off the reset button, the fan inside the computer
> speeds up and the system dies again with the fan turning off.
> It could be I have hardware problems over here and will have to replace
> this system soon.
> Most recent crash happened after opening links on the gentoo page itself.
> So far, gentoo is the only flavor of linux used around here that crashes
> my hardware like that.  It was suggested the special glue holding the fan
> to the cpu may have given out and in that case it's time for a new
> computer.
> 
> In any case, this has been max frustrating.



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


Re: [gentoo-user] gentoo uninstallable on this hardware

2022-04-17 Thread Jack

On 4/17/22 11:06, Jude DaShiell wrote:

...
Most recent crash happened after opening links on the gentoo page itself.
So far, gentoo is the only flavor of linux used around here that crashes
my hardware like that.  It was suggested the special glue holding the fan
to the cpu may have given out and in that case it's time for a new
computer.
I don't believe that is glue, but thermal compound, which is supposed to 
assist the flow of heat from the CPU to the heat sink. If that is the 
problem, then your shutdowns would be due to overheating.  Depending on 
the particular motherboard/CPU combination, it should be possible for 
someone to remove the fan and heat sink from the CPU, clean off the old 
compound, and replace the heat sink using new thermal compound.  I don't 
know if there is any way for you to monitor the CPU temperature or at 
least get a warning if that is the reason for the shutdown.

In any case, this has been max frustrating.


Quite understandable.

Jack




[gentoo-user] for the speakup users on the list

2022-04-17 Thread Jude DaShiell
Has the links browser crashed other computers when used with speakup?  If
it turns out I'm not unique maybe a safer browser choice ought to go on
the next minimal iso.




[gentoo-user] gentoo uninstallable on this hardware

2022-04-17 Thread Jude DaShiell
I have had several system crashes trying a gentoo install.
These crashes involve the loss of speakup and no capability to resurrect
speakup either.
Further to that, when the system is shutdown it cannot be restarted
without use of the reset button additional to the power button.
When I take my finger off the reset button, the fan inside the computer
speeds up and the system dies again with the fan turning off.
It could be I have hardware problems over here and will have to replace
this system soon.
Most recent crash happened after opening links on the gentoo page itself.
So far, gentoo is the only flavor of linux used around here that crashes
my hardware like that.  It was suggested the special glue holding the fan
to the cpu may have given out and in that case it's time for a new
computer.

In any case, this has been max frustrating.




Re: [gentoo-user] systemd-boot on openrc

2022-04-17 Thread Rich Freeman
On Sun, Apr 17, 2022 at 9:03 AM Peter Humphrey  wrote:
>
> On Sunday, 17 April 2022 12:13:06 -00 Neil Bothwick wrote:
>
> --->8
> > It looks like this is cause my using mixed keywords, amd64 for udev and
> > ~amd64 for systemd-boot/utils. Does keywording udev-250 resolve the
> > blocks?
>
> Yes, after keywording several others, thus:
>
> ~sys-apps/systemd-tmpfiles-249.9
> ~sys-apps/systemd-utils-250.4
> ~sys-fs/udev-250
> ~virtual/tmpfiles-0-r2
>
> But then, after rebooting because of the udev update, systemd-boot-250-r1 has
> come in. I can't revert those keywords though, because then I'd have to ditch
> elogind in favour of systemd. I really do not want to do that.

Can't you just fix your USE flags with systemd-utils?  Why revert?

If I need to bump a package up to ~arch temporarily usually I just do
it with an atom like "

Re: [gentoo-user] How to make a boot menu?

2022-04-17 Thread Neil Bothwick
On Sun, 17 Apr 2022 13:45:37 +, Peter Humphrey wrote:

> I use bootctl from sys-boot/systemd-boot to creat a boot-time menu
> (photo attached) from which I choose what system I want to run. This
> has worked well, but I'm not confident I'll be able to mix systemd and
> openrc like this for much longer.

[snip]
 
> My question is how to do this in Grub.

Why not try rEFInd? It handles UEFI booting simply, without the
no-longer-needed bloat of GRUB.


-- 
Neil Bothwick

I am Scooby Doo of Borg- Reware roo re arimorated, Raggy!


pgpeEv2DbQPsz.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Mark Knecht
On Sat, Apr 16, 2022 at 6:06 PM Dale  wrote:
>
> Mark Knecht wrote:
> > On Sat, Apr 16, 2022 at 3:53 PM Dale  wrote:
> > 
> > Maybe this is a good excuse
> >> to start working on a NAS.  :/
> > That's my vote. (For the second time)
> >
> > I'm using a FreeBSD Nas (TrueNAS) but they recently came out with a
> > Linux version which you might be more comfortable with. If you use a
> > 1Gb/S or higher network connection it's quite fast.
> >
> > You can also go the Synology route via Amazon. You can get a 2-disk
> > NAS chassis which does RAID for around $250 last time I looked.
> >
> > Good luck whatever you do.
> >
> > Mark
>
> Other than being another piece of equipment running up a light bill, it
> is the best way to deal with this.  The way I'm doing now is a bit of a
> struggle at times.  I just need to get other things done first, from a
> money perspective which inflation isn't helping on.  A trip to the
> grocery story is no fun anymore.
>
> One of these days tho.  I just gotta do it.
>
> Dale

I hear you about groceries and inflation. Wol pushed me to build my
first one just using an old computer. I had an old machine - case,
power supply with a bad motherboard so I purchased an  i3-2120 CPU @
3.30GHz motherboard with 8GB memory used at a computer store for $40.
Surprisingly that's more than enough CPU & memory for basic backups.
No matter what you're going to have to pay for the drives whether they
go in your box, in external cases or in a backup machine.

I only turn it on to do backups or to retrieve data so not much electricity.



Re: [gentoo-user] systemd-boot on openrc

2022-04-17 Thread Peter Humphrey
On Sunday, 17 April 2022 12:13:06 -00 Neil Bothwick wrote:

--->8
> It looks like this is cause my using mixed keywords, amd64 for udev and
> ~amd64 for systemd-boot/utils. Does keywording udev-250 resolve the
> blocks?

Yes, after keywording several others, thus:

~sys-apps/systemd-tmpfiles-249.9
~sys-apps/systemd-utils-250.4
~sys-fs/udev-250 
~virtual/tmpfiles-0-r2 

But then, after rebooting because of the udev update, systemd-boot-250-r1 has 
come in. I can't revert those keywords though, because then I'd have to ditch 
elogind in favour of systemd. I really do not want to do that.

So I have a running system now - thanks. If this gets more complicated in 
future, I can always try blocking =>sys-boot/systemd-boot-250.

> > On another system, ~amd64 openrc, I was
> > told to set USE=boot on systemd-utils, so I did that and now when I
> > boot I have no mouse or keyboard.
> > 
> > Is this the end of the road for systemd-boot on openrc?
> 
> I think that USE flag just causes the systemd-boot part of systemd-utils
> to be built. systemd-boot itself is just a virtual now. It doesn't sound
> like that would cause this problem, did you emerge anything X related at
> the same time?

Nope, nothing else. And I forgot to say that smartd failed to start on that 
machine too, with nothing in dmesg or /var/log/messages. (I'm working on that 
machine via ssh.)

-- 
Regards,
Peter.






Re: [gentoo-user] systemd-boot on openrc

2022-04-17 Thread Neil Bothwick
On Sun, 17 Apr 2022 11:41:23 +, Peter Humphrey wrote:

> I've been using bootctl from sys-boot/systemd-boot for several years,
> with some success, but I'm stuck after today's --sync.
> 
> First I was told I had to keyword sys-apps/systemd-utils, so I did
> that, but now I get this, which I can't decode:
> 
> Calculating dependencies  ... . . done!
> [ebuild  N~] sys-apps/systemd-utils-250.4::gentoo  USE="boot
> (split-usr) sysusers tmpfiles udev (-selinux) -test" ABI_X86="(64) -32
> (-x32)" 10,872 KiB [ebuild U ~] sys-boot/systemd-boot-250::gentoo
> [249.9::gentoo] 0 KiB [blocks b  ]  (" sys-apps/systemd-utils-250.4) [blocks B  ]
>  soft blocking sys-apps/systemd-utils-250.4) [blocks B  ]
>  apps/systemd-utils-250.4)
> 
> Total: 2 packages (1 upgrade, 1 new), Size of downloads: 10,872 KiB
> Conflict: 3 blocks (2 unsatisfied)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (sys-apps/systemd-tmpfiles-249.9-2:0/0::gentoo, installed) pulled in
> by sys-apps/systemd-tmpfiles required by
> (virtual/tmpfiles-0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
> 
>   (sys-apps/systemd-utils-250.4:0/0::gentoo, ebuild scheduled for
> merge) pulled in by
> sys-apps/systemd-utils[udev] required by (sys-boot/systemd-
> boot-250:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"
> 
>   (sys-fs/udev-249.6-r2-3:0/0::gentoo, installed) pulled in by
> >=sys-fs/  
> udev-232:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
>  
> (>=sys-fs/udev-232:0/0[abi_x86_64(-)]) required by
> (virtual/libudev-232- r5-2:0/1::gentoo, installed) USE="-systemd"
> ABI_X86="(64) -32 (-x32)"
> >=sys-fs/udev-217 required by (virtual/udev-217-r3-1:0/0::gentoo,   
> installed) USE="" ABI_X86="(64)"
> 
> This is an amd64 openrc system.

It looks like this is cause my using mixed keywords, amd64 for udev and
~amd64 for systemd-boot/utils. Does keywording udev-250 resolve the
blocks?

> On another system, ~amd64 openrc, I was
> told to set USE=boot on systemd-utils, so I did that and now when I
> boot I have no mouse or keyboard.
> 
> Is this the end of the road for systemd-boot on openrc?

I think that USE flag just causes the systemd-boot part of systemd-utils
to be built. systemd-boot itself is just a virtual now. It doesn't sound
like that would cause this problem, did you emerge anything X related at
the same time?


-- 
Neil Bothwick

without C people would code in Basi, Pasal and Obol


pgpalhNg49Ji2.pgp
Description: OpenPGP digital signature


[gentoo-user] systemd-boot on openrc

2022-04-17 Thread Peter Humphrey
Hello list,

I've been using bootctl from sys-boot/systemd-boot for several years, with 
some success, but I'm stuck after today's --sync.

First I was told I had to keyword sys-apps/systemd-utils, so I did that, but 
now I get this, which I can't decode:

Calculating dependencies  ... . . done!
[ebuild  N~] sys-apps/systemd-utils-250.4::gentoo  USE="boot (split-usr) 
sysusers tmpfiles udev (-selinux) -test" ABI_X86="(64) -32 (-x32)" 10,872 KiB
[ebuild U ~] sys-boot/systemd-boot-250::gentoo [249.9::gentoo] 0 KiB
[blocks b  ] =sys-fs/
udev-232:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
 
(>=sys-fs/udev-232:0/0[abi_x86_64(-)]) required by (virtual/libudev-232-
r5-2:0/1::gentoo, installed) USE="-systemd" ABI_X86="(64) -32 (-x32)"
>=sys-fs/udev-217 required by (virtual/udev-217-r3-1:0/0::gentoo, 
installed) USE="" ABI_X86="(64)"

This is an amd64 openrc system. On another system, ~amd64 openrc, I was told 
to set USE=boot on systemd-utils, so I did that and now when I boot I have no 
mouse or keyboard.

Is this the end of the road for systemd-boot on openrc?

-- 
Regards,
Peter.






Re: [gentoo-user] x11-misc/sddm-0.18.1-r6 exits inexplicably

2022-04-17 Thread Michael
On Sunday, 10 April 2022 17:06:17 BST Michael wrote:
> On Sunday, 10 April 2022 16:31:01 BST Neil Bothwick wrote:
> > On Sun, 10 Apr 2022 15:45:39 +0100, Michael wrote:
> > > > The laptop has an ethernet NIC on the MoBo, which is gimped at
> > > > 100Mbps. This is not used under normal circumstances.  Instead I use
> > > > a USB 3.0 1Gbps ethernet adaptor.  Following your prompts I unplugged
> > > > the USB ethernet adaptor, connected the ethernet cable to the NIC on
> > > > the MoBo and rebooted. No problem.  SDDM launches as it should.
> > > > 
> > > > So this could be udev related?  While udev isrobing the USB adaptor
> > > > and starting the dhcp negotiation, somehow this sequence interferes
> > > > with the SSDM starting up?
> > > 
> > > I replaced  the USB ethernet adaptor with a USB wireless adaptor,
> > > plugged into the same port.  Rebooted and SDDM starts normally.  So,
> > > this problem only occurs when I have the wired USB adaptor plugged in.
> > > What could be a possible cause?
> > 
> > Does it still do it when the USB adaptor is plugged in with no cable?
> 
> No, it only occurs when the ethernet cable is connected to the USB adaptor.
> Hmm ... is your DNS statement coming back to haunt me?  O_O

Still unable to get SDDM to come up when the ethernet cable is connected to 
the USB NIC adaptor dongle.  :-(

I added "rc_start_wait=500" in '/etc/conf.d/display-manager' just in case 
delaying SDDM would allow it to launch without any interference from the 
network configuration and start up, but it made no difference.  The only way 
for 
SDDM to launch successfully is to make sure the ethernet cable is unplugged 
from the USB NIC adaptor at boot, or to use a different NIC.

Is there something which might explain this behaviour?  :-/

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


Re: [gentoo-user] Hard drive error from SMART

2022-04-17 Thread Neil Bothwick
On Sat, 16 Apr 2022 23:44:58 -0500, Dale wrote:

> >> That's even more typing than /dev/sdk.  Some things I do easily by
> >> using tab completion and all.  When mounting, I let fstab remember
> >> the UUID for it.  
> > That's what copy/paste is for.  How often are you editing your
> > crypttab anyway?  This way when you move drives around they still
> > work.  
> 
> What is crypttab?  I type in the command manually.

Then use a shell alias, even less typing.


-- 
Neil Bothwick

Ninety-Ninety Rule Of Project Schedules - The first ninety percent of
the task takes ninety percent of the time, and the last ten percent
takes the other ninety percent of the time.



pgpiVTyW_1cBX.pgp
Description: OpenPGP digital signature