Re: [gentoo-user] preparing /dev/sda1 for gentoo install x86 handbook

2024-05-31 Thread Kévin GASPARD DE RENEFORT

Hello,

such things are better to talk on the #gentoo-w...@libera.chat, or in 
the discussion page of the page having something missing.


Thanks for reporting anything problematic tho, but your problem isn't 
elaborate enough as you written it IMHO to understand exactly what you 
are talking about.


Regards,
GASPARD DE RENEFORT Kévin

Le 31/05/2024 à 14:47, Jude DaShiell a écrit :

What's missing in those instructions is:
x
1
n
/boot
r
that's for the fdisk instructions.






[gentoo-user] preparing /dev/sda1 for gentoo install x86 handbook

2024-05-31 Thread Jude DaShiell
What's missing in those instructions is:
x
1
n
/boot
r
that's for the fdisk instructions.


-- 
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.



Re: [gentoo-user] Question about installkernel configuration

2024-05-30 Thread Michael
On Thursday, 30 May 2024 16:48:15 BST Jacques Montier wrote:
> Hello All,
> 
> It's not an issue but a question :
> I'm working with a 10 years old mobo.
> I have two systemd Gentoo.
> One (some years old) on ssd internal disk installed with dos partition and
> grub mbr
> The other one (newly installed) on usb3 external ssd disk installed with
> gpt partition and grub efi.
> I manually install gentoo-sources kernels (emerge, make, make
> modules_install, make install)
> installkernel use flags : grub, dracut, systemd.
> I have the same configuration of installkernel on both OS :
> nano /usr/lib/kernel/install.conf
> layout=grub
> initrd_generator=dracut
> uki_generator=none

You shouldn't use the same layout directive for both systems - see below.


> In /boot, the output of make install is different :
> On the internal ssd :
> vmlinuz-6.6.30-gentoo initramfs-6.6.30-gentoo.img  config-6.6.30-gentoo
> System.map-6.6.30-gentoo
> 
> On the new one :
> kernel-6.6.30-gentoo  initramfs-6.6.30-gentoo.img (no config nor System.map
> files)
> 
> My question :
> Why these differences (kernel name, config and System.map) ?

The old system using the GRUB bootloader in the MBR will install its files in 
/boot.  The new system in the EFI/ directory within the ESP.

Take a look at the following news items, which explain recent changes:

https://www.gentoo.org/support/news-items/2024-02-01-installkernel-new-use-systemd-boot.html

https://www.gentoo.org/support/news-items/2024-03-12-debianutils-installkernel.html

Also you should read this very detailed page on how to configure install.conf 
for both of your systems:

https://wiki.gentoo.org/wiki/Installkernel


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


[gentoo-user] Question about installkernel configuration

2024-05-30 Thread Jacques Montier
Hello All,

It's not an issue but a question :
I'm working with a 10 years old mobo.
I have two systemd Gentoo.
One (some years old) on ssd internal disk installed with dos partition and
grub mbr
The other one (newly installed) on usb3 external ssd disk installed with
gpt partition and grub efi.
I manually install gentoo-sources kernels (emerge, make, make
modules_install, make install)
installkernel use flags : grub, dracut, systemd.
I have the same configuration of installkernel on both OS :
nano /usr/lib/kernel/install.conf
layout=grub
initrd_generator=dracut
uki_generator=none

In /boot, the output of make install is different :
On the internal ssd :
vmlinuz-6.6.30-gentoo initramfs-6.6.30-gentoo.img  config-6.6.30-gentoo
System.map-6.6.30-gentoo

On the new one :
kernel-6.6.30-gentoo  initramfs-6.6.30-gentoo.img (no config nor System.map
files)

My question :
Why these differences (kernel name, config and System.map) ?

Thanks a lot for your response.

Cheers,

--
Jacques Montier.


Re: [gentoo-user] verifying stage3

2024-05-30 Thread Michael
On Thursday, 30 May 2024 09:43:32 BST Jude DaShiell wrote:
> I got:
> sha256sum --check
> stage3-amd64-desktop-openrc-20240526T163557Z.tar.xz.sha256
> stage3-amd64-desktop-openrc-20240526T163557Z.tar.xz: OK
> sha256sum: WARNING: 12 lines are improperly formatted
> Is the warning significant?

Check the contents of the file with the SHA256 hashes:

cat stage3-amd64-desktop-openrc-20240526T163557Z.tar.xz.sha256

The warning does not affect the archive you downloaded and are about to use, 
which was checked and found to be OK.  Instead it refers to the other 12 files 
you have not downloaded.


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


[gentoo-user] verifying stage3

2024-05-30 Thread Jude DaShiell
I got:
sha256sum --check
stage3-amd64-desktop-openrc-20240526T163557Z.tar.xz.sha256
stage3-amd64-desktop-openrc-20240526T163557Z.tar.xz: OK
sha256sum: WARNING: 12 lines are improperly formatted
Is the warning significant?


-- 
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.



Re: [gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-29 Thread Michael
On Tuesday, 28 May 2024 19:02:09 BST Dale wrote:
> Grant Edwards wrote:
> > On 2024-05-28, Dale  wrote:
> >> Grant Edwards wrote:
> >>> On 2024-05-21, Dale  wrote:
> > Here's my udev rules file that defines my network interface names
> > for the machine I'm on at the moment:
> > 
> > --/etc/udev/rules.d/70-my-persistent-net.rules
> > --- SUBSYSTEM=="net", ACTION=="add",
> > ATTR{address}=="2c:f0:5d:6f:10:af", NAME="net0" SUBSYSTEM=="net",
> > ACTION=="add", ATTR{address}=="00:1b:21:b1:d1:e9", NAME="net1"
> > -
> > >> 
> >> Got a little busy with my garden.  Found my first zucchini yesterday. 
> >> Ready to pick in a few days.  Found some small tomatoes too.  Anyway. 
> >> Did manage to create this rule tho.  This look reasonable?  I'm thinking
> >> it should be named something else tho.  It could clash with the usual
> >> name. 
> >> 
> >> # PCI device 0x11ab:0x4363 (Intel e1000e)
> >> #SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> >> ATTR{address}=="68:05:ca:42:17:39",ATTR{dev_id}=="0x0", ATTR{type}=="1",
> >> KERNEL=="eth*", NAME="enp3s0"
> > 
> > Did my examples (with the MAC addresses and device names changed) not
> > work?
> > 
> >> I got the ATTR address from ifconfig.  I'm not real sure on the other
> >> ATTR variables tho.
> > 
> > I don't use the other other ATTRs, ACTION, DRIVERS, or KERNEL and I
> > don't know why you added them, so I can't comment.
> > 
> > --
> > Grant
> 
> Well, I found one with google and sort of went by that.  Now that I read
> yours again, yours makes more sense, from what little I know.  o_O
> 
> Is ATTR address the same as Mac address?  If so, why not have the same
> names for all tools  How's this look?

An ATTR can be any of the identifying attributes of your particular NIC.  Take 
a look in /sys/class/net/ to find out the current name of the device, e.g. 
enp4s0, then look at its attributes:

udevadm info -a /sys/class/net/enp4s0/

You can use any attributes which *uniquely* identify the NIC, e.g. vendor/
device ID, MAC address, etc. to avoid misidentification.


> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="68:05:ca:42:17:39",
> NAME="dale0"
> 
> 
> I gave it a different name this time.  I'm assuming I'd need to reboot to
> test this or is restarting udev enough??

If it is a remote PC and you're using netifrc, you'll need to create a new 
symlink, e.g.:

ln -s /etc/init.d/net.lo /etc/init.d/net.dale0

You probably know you can stop the predictable device naming by adding to your 
kernel command line:

net.ifnames=0

If you only have one wired NIC, then it will pop up as eth0.


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


Re: [gentoo-user] hardware disk description

2024-05-28 Thread Michael
On Wednesday, 29 May 2024 00:10:07 BST Wols Lists wrote:
> On 28/05/2024 20:51, Jude DaShiell wrote:
> > My machine has protected mbr with gpt partitions on it.  Are those kind of
> > partitions hybrid?
> 
> This is completely standard nowadays. I think the "protected MBR" just
> points to the first four GPT partitions.
> 
> This is basically down to the fact that (a) the MBR can no longer
> describe a modern large disk (I'm not sure what the limit is, 2TB?
> 4TB?), and also older formatting tools - if they don't see an MBR - are
> known for assuming the disk is empty and trashing the start of it. Yeah
> they shouldn't, but they do ...
> 
> Cheers,
> Wol

The 'protective MBR' is a partition type 0xEE starting at sector 0 and 
spanning the entire length of a disk (or 2TiB).  Legacy partitioning tools 
which do not recognise GUID Partition Table structures will identify a GPT 
disk to have no free space left, instead of mistakenly consider it 
unpartitioned.

A hybrid MBR is a variant of the protective MBR and it also contains up to 3 
additional primary partitions occupying the same space as up to 3 GPT 
partitions.  Older OSs which cannot boot from GPT disks should be installed 
there, while modern OSs will be able to use the remaining GPT partitions on 
the disk.

Unless gdisk declares "MBR partitions" with their Status as "primary", you do 
not have a hybrid MBR or any primary partitions on your disk.

You can check this page for more information:

https://wiki.gentoo.org/wiki/Hybrid_partition_table


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


Re: [gentoo-user] hardware disk description

2024-05-28 Thread Wols Lists

On 28/05/2024 20:51, Jude DaShiell wrote:

My machine has protected mbr with gpt partitions on it.  Are those kind of
partitions hybrid?



This is completely standard nowadays. I think the "protected MBR" just 
points to the first four GPT partitions.


This is basically down to the fact that (a) the MBR can no longer 
describe a modern large disk (I'm not sure what the limit is, 2TB? 
4TB?), and also older formatting tools - if they don't see an MBR - are 
known for assuming the disk is empty and trashing the start of it. Yeah 
they shouldn't, but they do ...


Cheers,
Wol



Re: [gentoo-user] hardware disk description

2024-05-28 Thread karl
Jude DaShiell:
> My machine has protected mbr with gpt partitions on it.  Are those kind of
> partitions hybrid?

 Why not check for yourself:
https://en.wikipedia.org/wiki/GUID_Partition_Table

 You can use theese to find out what you have:
file -s /dev/sda
fdisk -l /dev/sda

Regards,
/Karl Hammar





Re: [gentoo-user] Terminal emulator to replace Konsole

2024-05-28 Thread Dale
Ionen Wolkens wrote:
> On Fri, Mar 22, 2024 at 03:01:44PM -0500, Dale wrote:
>> Howdy,
>>
>> I looked in x11-terms and there is a few options, I think.  I tried
>> looking at home pages and such but none of them mention a feature like
>> this but it may have it.  I was wondering if anyone knows of a terminal
>> emulator that allows the mouse to place the cursor to edit parts or
>> whole sections of a command.  Some of my commands are really long and it
>> seems the part I want to edit is always at the beginning.  :/
>>
> x11-terms/kitty can do this since it added some shell integration
> features (requires bash, zsh, or fish and a rc file to be loaded which
> is done by default), aka you can click anywhere in the command and
> it'll place the cursor there.
>
> The shell integration bits can also do things like open the output of
> the last command in a pager even if haven't done e.g. "... | less" or
> instantly copy it for pasting without awkwardly scrolling to select
> everything.
>
> Has quite a vast amount of features and configuration options, albeit
> it may come as a bit quirky and with a learning curve if coming from
> konsole (e.g. it does not even have a context menu and can only be
> configured by editing the .conf file directly), and is mostly intended
> for use with various keyboard binds than with pretty menus.


I have been playing with this a bit.  I kinda like it.  It's starting to
grow on me.  LOL  The one thing I can't figure out, the scroll thing on
the side of the window it's in.  On most things, web browsers and such,
there is a scroll thing on the right side.  You can left click and hold
and scroll rather quickly to a certain spot.  When there is a long page
of info, it can come in handy.  It is a LOT faster than using the mouse
wheel or the page up/down keys.  I can't figure out how to work the one
in Kitty tho.  I see the little bar but when I left click on it, it
doesn't do anything.  If I try to scroll with it, it just highlights
text in the window.  Also, usually the mouse pointer changes when I'm
over that little scroll part.  With Kitty, it doesn't change.  It stays
a little text bar like it does when over text.  It's there but it
doesn't allow the mouse to make use of it. 

I've been through the config file a few times and found scroll things
but I'm not seeing the part that controls it.  All the other windows I
use, web browsers, Konsole, file mangers etc work as they should.  I
don't think it is a KDE window setting since everything else works.  I
can't find anything with Kitty either tho. 

You have any idea what controls that behavior?  Maybe it is called
something I don't realize that is what it is or something. 

Oh, it is all controlled by the config file like you said.  It has no
settings or preference menu anywhere.  Heck, there's no menu at all. 
ROFL  Thing is, once set up, it doesn't matter. 

Thanks. 

Dale

:-)  :-) 



[gentoo-user] hardware disk description

2024-05-28 Thread Jude DaShiell
My machine has protected mbr with gpt partitions on it.  Are those kind of
partitions hybrid?


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.



Re: [gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-28 Thread Dale
Grant Edwards wrote:
> On 2024-05-28, Dale  wrote:
>> Grant Edwards wrote:
>>> On 2024-05-21, Dale  wrote:
>>>
> Here's my udev rules file that defines my network interface names
> for the machine I'm on at the moment:
>
> --/etc/udev/rules.d/70-my-persistent-net.rules---
> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="2c:f0:5d:6f:10:af", 
> NAME="net0"
> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1b:21:b1:d1:e9", 
> NAME="net1"
> -
>> Got a little busy with my garden.  Found my first zucchini yesterday. 
>> Ready to pick in a few days.  Found some small tomatoes too.  Anyway. 
>> Did manage to create this rule tho.  This look reasonable?  I'm thinking
>> it should be named something else tho.  It could clash with the usual
>> name. 
>>
>> # PCI device 0x11ab:0x4363 (Intel e1000e)
>> #SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
>> ATTR{address}=="68:05:ca:42:17:39",ATTR{dev_id}=="0x0", ATTR{type}=="1",
>> KERNEL=="eth*", NAME="enp3s0"
> Did my examples (with the MAC addresses and device names changed) not
> work?
>
>> I got the ATTR address from ifconfig.  I'm not real sure on the other
>> ATTR variables tho.
> I don't use the other other ATTRs, ACTION, DRIVERS, or KERNEL and I
> don't know why you added them, so I can't comment.
>
> --
> Grant

Well, I found one with google and sort of went by that.  Now that I read
yours again, yours makes more sense, from what little I know.  o_O

Is ATTR address the same as Mac address?  If so, why not have the same
names for all tools  How's this look?

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="68:05:ca:42:17:39", 
NAME="dale0"


I gave it a different name this time.  I'm assuming I'd need to reboot to test 
this or is restarting udev enough?? 

Dang it's humid outside.  I feel like I need diving gear out there so I can 
breathe.  O_O 

Dale 

:-)  :-)  




[gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-28 Thread Grant Edwards
On 2024-05-28, Dale  wrote:
> Grant Edwards wrote:
>> On 2024-05-21, Dale  wrote:
>>
 Here's my udev rules file that defines my network interface names
 for the machine I'm on at the moment:

 --/etc/udev/rules.d/70-my-persistent-net.rules---
 SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="2c:f0:5d:6f:10:af", 
 NAME="net0"
 SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1b:21:b1:d1:e9", 
 NAME="net1"
 -

> Got a little busy with my garden.  Found my first zucchini yesterday. 
> Ready to pick in a few days.  Found some small tomatoes too.  Anyway. 
> Did manage to create this rule tho.  This look reasonable?  I'm thinking
> it should be named something else tho.  It could clash with the usual
> name. 
>
> # PCI device 0x11ab:0x4363 (Intel e1000e)
> #SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="68:05:ca:42:17:39",ATTR{dev_id}=="0x0", ATTR{type}=="1",
> KERNEL=="eth*", NAME="enp3s0"

Did my examples (with the MAC addresses and device names changed) not
work?

> I got the ATTR address from ifconfig.  I'm not real sure on the other
> ATTR variables tho.

I don't use the other other ATTRs, ACTION, DRIVERS, or KERNEL and I
don't know why you added them, so I can't comment.

--
Grant







Re: [gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-28 Thread Dale
Grant Edwards wrote:
> On 2024-05-21, Dale  wrote:
>
>>> Here's my udev rules file that defines my network interface names
>>> for the machine I'm on at the moment:
>>>
>>> --/etc/udev/rules.d/70-my-persistent-net.rules---
>>> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="2c:f0:5d:6f:10:af", 
>>> NAME="net0"
>>> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1b:21:b1:d1:e9", 
>>> NAME="net1"
>>> -
>> Examples do help a lot.  I do use the enp* naming scheme.  My
>> understanding, that is the "new" way.
> The suffix for those enp* names comes from the PCI bus subsystem based
> on bus number, slot number, etc.  [Yes, slot number apparently does
> change based on what PCIe cards are present. No, that doesn't make
> sense to me either]
>
>> Based on your config, I would need to change the NAME= to enp* names
>> and that would correct that.
> I suppose you could, but I would not use enp* names. Those could
> conflict with the autogenerated names.
>
>> Where you have ATTR, is that a quote or did you edit to remove a
>> number, MAC address, IP or something? 
> What I posted is exactly what's in the file
> (without the --- delimiters).
>
> Here's more documentation:
>
> https://wiki.gentoo.org/wiki/Udev
> https://wiki.archlinux.org/title/udev
> https://wiki.archlinux.org/title/Network_configuration#Change_interface_name
>
> [The arch Wiki is always a good fallback if the Gentoo manual/Wiki
> don't have what you're looking for.]
>
>> If it is one of those, where do I find that info?  I checked
>> ifconfig and didn't see a MAC address.  I also checked lspci -v. 
>> I'm not sure where you get the needed info from.   BTW, right now,
>> I'm on my main rig. 
> The only thing you need to change from my example would be the mac
> address(es) (e.g. 2c:f0:5d:6f:10:af) and the names (e.g. net0).
>
>> I have the package net-misc/networkmanager installed.  Most likely
>> pulled in by something else.  Could I use it to configure this? 
> Possibly, I don't use networkmanager and don't know how it works on
> Gentoo.  I use the default Gentoo netifrc scheme
> https://wiki.gentoo.org/wiki/Netifrc.
>
>> I also have KDE installed on the NAS box, it is also a backup rig in
>> case my main rig dies.  It may have a GUI that I could use.  I'm not
>> opposed to the command line way tho.  Biggest thing, copy and paste
>> would be nice. 
> I don't know much of anything about KDE.
>
> --
> Grant

Got a little busy with my garden.  Found my first zucchini yesterday. 
Ready to pick in a few days.  Found some small tomatoes too.  Anyway. 
Did manage to create this rule tho.  This look reasonable?  I'm thinking
it should be named something else tho.  It could clash with the usual
name. 

# PCI device 0x11ab:0x4363 (Intel e1000e)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="68:05:ca:42:17:39",ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="enp3s0"

I got the ATTR address from ifconfig.  I'm not real sure on the other
ATTR variables tho.

I did this on my main rig.  It is commented out at the moment.  I'll use
it as a guide on the NAS box tho.  May enable this on my main rig, just
so they all the same.

Ironically, I removed the net.enp* from the default runlevel and put
dhcpd back.  It starts no matter where the card is located with that. 
It just sees it, starts it and carries on.  Still, I'd like all my
installs to be done the same way.  It's hard enough to remember how to
do things.  :/

Thanks.

Dale

:-)  :-) 



[gentoo-user] SAN multipathing

2024-05-28 Thread Grant Taylor

Hi,

I'm trying to set up SAN multipathing via dm-multipath for the first 
time in about a decade.


I am seeing the test LUNs (1 x 10 GB and 1 x 100 GB) twice on my 
relatively recent (< 60 days out of date) Gentoo system.  But I'm not 
able to get multipath to see anything.


Before I go too deep I was curious what the current state on Fibre 
Channel multi-path LUNs is in Linux, specifically Gentoo Linux.


The last time I did this was RHEL / CentOS 6.x, probably more than a 
decade ago.




--
Grant. . . .



Re: SOLVED: Re: [gentoo-user] Getting WiFi to work

2024-05-28 Thread Peter Humphrey
On Tuesday, 28 May 2024 15:52:35 BST Dale wrote:
> Peter Humphrey wrote:
> > On Sunday, 21 April 2024 23:58:04 BST Peter Humphrey wrote:
> >> On Sunday, 21 April 2024 23:30:54 BST Wol wrote:
> >>> Any chance you can document those steps?
> >> 
> >> Yes, I ought to do that. I just need to remember...   ;-)
> > 
> > I think there's only one thing for me to say: whatever web site I used
> > said to "chattr +i /etc/resolv.conf". It seems to be a dreadful hack, but
> > it does work.
> > 
> > -- Regards, Peter.
> 
> I don't have wifi on my rig so this might not apply.  When I started
> using a VPN, I had trouble with resolv.conf not getting the right
> settings when openvpn started.  I used resolv.conf.head and
> resolve.conf.tail to fix it.  That way resolve.conf could have changes
> to things that needed to be changed but my setting would over rule them
> if needed. 
> 
> Just something you might want to ponder on.  It might, just might,
> provide a better fix. 

Right. I'll look into that. Thanks Dale.

-- 
Regards,
Peter.


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


Re: SOLVED: Re: [gentoo-user] Getting WiFi to work

2024-05-28 Thread Dale
Peter Humphrey wrote:
> On Sunday, 21 April 2024 23:58:04 BST Peter Humphrey wrote:
>> On Sunday, 21 April 2024 23:30:54 BST Wol wrote:
>>> Any chance you can document those steps?
>> Yes, I ought to do that. I just need to remember...   ;-)
> I think there's only one thing for me to say: whatever web site I used said 
> to 
> "chattr +i /etc/resolv.conf". It seems to be a dreadful hack, but it does 
> work.
>
> -- Regards, Peter.


I don't have wifi on my rig so this might not apply.  When I started
using a VPN, I had trouble with resolv.conf not getting the right
settings when openvpn started.  I used resolv.conf.head and
resolve.conf.tail to fix it.  That way resolve.conf could have changes
to things that needed to be changed but my setting would over rule them
if needed. 

Just something you might want to ponder on.  It might, just might,
provide a better fix. 

Dale

:-)  :-) 


Re: SOLVED: Re: [gentoo-user] Getting WiFi to work

2024-05-28 Thread Peter Humphrey
On Sunday, 21 April 2024 23:58:04 BST Peter Humphrey wrote:
> On Sunday, 21 April 2024 23:30:54 BST Wol wrote:

> > Any chance you can document those steps?
> 
> Yes, I ought to do that. I just need to remember...   ;-)

I think there's only one thing for me to say: whatever web site I used said to 
"chattr +i /etc/resolv.conf". It seems to be a dreadful hack, but it does 
work.

-- 
Regards,
Peter.


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


Re: [gentoo-user] where is linux-firmware.log?

2024-05-28 Thread Jude DaShiell
I found out the existing system had installed with bios and not gpt.  When
I mostly got the gentoo install done I went the gpt path and that set up
complications.  Using gdisk to put gpt on the drives destroyed both the
gentoo system and the original system.
Reinstallation of the original system left me with a partition that had a
corrupted gpt on it.  After going through new email I will have gdisk
repair that partition then reboot and see if the original system continues
to work or if clearing that corruption also erased the original system.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Mon, 27 May 2024, Jack wrote:

> On 2024.05.26 07:11, Jude DaShiell wrote:
> >I have tried a couple different things so linux-firmware and other
> >packages can find the boot location and none of them have worked.
> >I'm going with openrc and efi and gpt.
> >originally I made an efi partition and mounted it mount /dev/sda1
> >/mnt/gentoo/efi once the efi directory had been created.
> >later I made /mnt/boot/efi and mount /dev/sda1 /mnt/boot/efi
> >I even named /dev/sda1 /boot in parted on existing system.
> >Still linux-firmware continues putting everything in /mnt/gentoo/boot.
> Try grepping for "/mnt/gentoo/boot" in /etc to see if that path is stuck in
> some config file.
>
>



Re: [gentoo-user] where is linux-firmware.log?

2024-05-27 Thread Jack

On 2024.05.26 07:11, Jude DaShiell wrote:

I have tried a couple different things so linux-firmware and other
packages can find the boot location and none of them have worked.
I'm going with openrc and efi and gpt.
originally I made an efi partition and mounted it mount /dev/sda1
/mnt/gentoo/efi once the efi directory had been created.
later I made /mnt/boot/efi and mount /dev/sda1 /mnt/boot/efi
I even named /dev/sda1 /boot in parted on existing system.
Still linux-firmware continues putting everything in /mnt/gentoo/boot.
Try grepping for "/mnt/gentoo/boot" in /etc to see if that path is  
stuck in some config file.




Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
Attempted disk repair failed.  All of gentoo got cleaned off that disk
along with all partition data.  I thought that disk had been wiped some
time ago and my mistake was failing to check what was actually on that
disk before trying to install gentoo on it.  The good thing about this is,
familiarity with the gentoo install process was gained so some of this
stuff should be easier the next time I go for it.
Now I think of it, those use flags could actually constitute a security
feature being a unique feature in linux.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Mon, 27 May 2024, Michael wrote:

> We have the following IDs associated with block devices and their filesystem:
>
> 1. Partition type.  For example the ESP with partition type 'ef00', has the
> GPT UID:
>
> Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system
> partition)
>
> You can check this if you launch gdisk, press i, followed by the number of a
> partition, e.g. 1 for your ESP.  This is the discoverable partition GUID
> string and is the same for all ESP type partitions.
>
> 2. There is also a unique ID stored in the GPT for each partition, this is
> different to the partition GUID code above:
>
> Partition unique GUID: a different 32 long character string, also in groups of
> 8-4-4-4-12 characters.
>
> This is the long string used by the efibootmgr to identify the ESP.  If you
> have more than disk and each disk has its own ESP, the efibootmgr will list
> them all with their unique 32 character partition GUID.
>
> If your efibootmgr incantation does not show the GUID of your ESP, then the
> installation of GRUB is incorrect.  Use the options I mentioned in my previous
> message.
>
> 3. There is the filesystem UUID, unique to each filesystem.  For a FAT
> formatted partition this will be 4-4 (8 character long).  Typically this is
> used in fstab.
>
> There's also a disk GUID, but this does not affect what you're trying to do
> here.
>
> The standards and landscape of different partitions, their mountpoint and
> bootloaders has changed over the years.  What the Handbook provides reflects
> the current state of affairs.
>
> Please read these relatively recent news items as they may affect how you
> install a binary kernel and initramfs (I don't use this kernel here to know
> its nuances):
>
> https://www.gentoo.org/support/news-items/2024-03-12-debianutils-installkernel.html
>
> https://www.gentoo.org/support/news-items/2024-05-17-dracut-ext-kmods.html
>
>
> On Monday, 27 May 2024 15:32:40 BST Jude DaShiell wrote:
> > None of the uid's for sda1 sda2 and sda3 are displayed in efibootmgr.
> > /dev/sda1 is vfat and /dev/sda3 is xfs.
> >
> >
> > --
> >  Jude 
> >  "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo.
> >  Please use in that order."
> >  Ed Howdershelt 1940.
> >
> > On Mon, 27 May 2024, Michael wrote:
> > > The command:
> > >
> > > lsblk -f
> > >
> > > will reveal the UUID of the respective partitions.  This is normally used
> > > in your fstab, unless you created this manually, in which case you can
> > > use logical names or filesystem labels.
> > >
> > > The efibootmgr will display the partition UUID where the .efi executable
> > > resides.
> > >
> > > You can check which block device has the same partition UUID with:
> > >
> > > lsblk -o NAME,SIZE,PARTTYPENAME,PARTUUID
> > >
> > > Note: the partition UUID is different to the partition type UUID.
> > >
> > > You probably need to be explicit where the ESP mountpoint is, when you
> > > install grub; e.g.:
> > >
> > > grub-install --efi-directory=/efi /dev/sda
> > >
> > > You may in addition need to specify where the '--boot-directory' is.  Best
> > > you check this page to compare against the contents of your /efi and
> > > /boot, in case you missed any steps:
> > >
> > > https://wiki.gentoo.org/wiki/GRUB#UEFI_with_GPT
> > >
> > > On Monday, 27 May 2024 14:05:49 BST Jude DaShiell wrote:
> > > > grub-update found boot partition in /dev/sda3.  The problem I now have
> > > > is
> > > > I cannot boot into gentoo.
> > > > The efibootmgr program on original system shows no available gentoo boot
> > > > drive and has lots of hex output so I can't locate /dev/sda3 in
> > > > efibootmgr
> > > > and all gentoo partitions I created have been changed to conform to the
> > > > discoverable standard mentioned in the handbook.
> > > >
> > > >
> > > > --
> > > >
> > > >  Jude 
> > > >  "There are four boxes to be used in defense of liberty:
> > > >  soap, ballot, jury, and ammo.
> > > >  Please use in that order."
> > > >  Ed Howdershelt 1940.
> > > >
> > > > On Mon, 27 May 2024, Jude DaShiell wrote:
> > > > > I think I fixed the problem by putting all of the boot stuff into the
> > > > > /mnt/gentoo/efi directory which has /dev/sda1 mounted to it.  Reason I
> > > > > think that problem got fixed was I repeated the steps and iucode 

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Michael
OK, the GPT Hybrid is a hack to allow legacy OSs which do know how to process 
GPT table structures to be able to access up to three partitions on the disk 
by creating MBR entries for them.

Since you have a UEFI MoBo it is best you use GPT partitioning, with an ESP 
and the MoBo's UEFI firmware to boot the OS, instead of the legacy DOS 
partitioning scheme with a boot loader in the MBR.

So, you can try using gdisk to convert from MBR to the GPT scheme.  There 
shouldn't be any data loss, but in any case you know the need for recent 
backups of any data you want to keep. 

Run gdisk.  It will announce something like:

"Found invalid GPT and valid MBR; converting MBR to GPT format
in memory."

Or,

"Found valid GPT with protective MBR; using GPT."

At this point you can enter w to write this GPT scheme to the disk.

There is also a Recovery & Transformation Menu in gdisk.  You can enter this 
by pressing r on the main menu.

It has the f option to load the MBR and use it to build a GPT from it.

Beware, you will need to reinstall GRUB and update its configuration.  If 
emerging kernel-bin will do this for you, then all should be good to go.


On Monday, 27 May 2024 17:39:38 BST Jude DaShiell wrote:
> Thanks for the help on gdisk.  I found both /dev/sda1 and /dev/sda3 are
> mbr and not gpt partitions.
> The weird thing was when setting these disks up fdisk offered to go into
> gpt hybrid as one of its menu choices.  I didn't go in there thinking that
> /dev/sda was already gpt.
>  -- Jude  "There are four boxes to be used in
>  defense of liberty: soap, ballot, jury, and ammo. Please use in that
>  order." Ed Howdershelt 1940.
> 
> On Mon, 27 May 2024, Michael wrote:
> > We have the following IDs associated with block devices and their
> > filesystem:
> > 
> > 1. Partition type.  For example the ESP with partition type 'ef00', has
> > the
> > GPT UID:
> > 
> > Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system
> > partition)
> > 
> > You can check this if you launch gdisk, press i, followed by the number of
> > a partition, e.g. 1 for your ESP.  This is the discoverable partition
> > GUID string and is the same for all ESP type partitions.
> > 
> > 2. There is also a unique ID stored in the GPT for each partition, this is
> > different to the partition GUID code above:
> > 
> > Partition unique GUID: a different 32 long character string, also in
> > groups of 8-4-4-4-12 characters.
> > 
> > This is the long string used by the efibootmgr to identify the ESP.  If
> > you
> > have more than disk and each disk has its own ESP, the efibootmgr will
> > list
> > them all with their unique 32 character partition GUID.
> > 
> > If your efibootmgr incantation does not show the GUID of your ESP, then
> > the
> > installation of GRUB is incorrect.  Use the options I mentioned in my
> > previous message.
> > 
> > 3. There is the filesystem UUID, unique to each filesystem.  For a FAT
> > formatted partition this will be 4-4 (8 character long).  Typically this
> > is
> > used in fstab.
> > 
> > There's also a disk GUID, but this does not affect what you're trying to
> > do
> > here.
> > 
> > The standards and landscape of different partitions, their mountpoint and
> > bootloaders has changed over the years.  What the Handbook provides
> > reflects the current state of affairs.
> > 
> > Please read these relatively recent news items as they may affect how you
> > install a binary kernel and initramfs (I don't use this kernel here to
> > know
> > its nuances):
> > 
> > https://www.gentoo.org/support/news-items/2024-03-12-debianutils-installke
> > rnel.html
> > 
> > https://www.gentoo.org/support/news-items/2024-05-17-dracut-ext-kmods.html
> > 
> > On Monday, 27 May 2024 15:32:40 BST Jude DaShiell wrote:
> > > None of the uid's for sda1 sda2 and sda3 are displayed in efibootmgr.
> > > /dev/sda1 is vfat and /dev/sda3 is xfs.
> > > 
> > > 
> > > --
> > > 
> > >  Jude 
> > >  "There are four boxes to be used in defense of liberty:
> > >  soap, ballot, jury, and ammo.
> > >  Please use in that order."
> > >  Ed Howdershelt 1940.
> > > 
> > > On Mon, 27 May 2024, Michael wrote:
> > > > The command:
> > > > 
> > > > lsblk -f
> > > > 
> > > > will reveal the UUID of the respective partitions.  This is normally
> > > > used
> > > > in your fstab, unless you created this manually, in which case you can
> > > > use logical names or filesystem labels.
> > > > 
> > > > The efibootmgr will display the partition UUID where the .efi
> > > > executable
> > > > resides.
> > > > 
> > > > You can check which block device has the same partition UUID with:
> > > > 
> > > > lsblk -o NAME,SIZE,PARTTYPENAME,PARTUUID
> > > > 
> > > > Note: the partition UUID is different to the partition type UUID.
> > > > 
> > > > You probably need to be explicit where the ESP mountpoint is, when you
> > > > install grub; e.g.:
> > > > 
> > > > grub-install --efi-directory=/efi /dev/sda
> > > > 
> > > > You may in addition need to specify where 

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
Thanks for the help on gdisk.  I found both /dev/sda1 and /dev/sda3 are
mbr and not gpt partitions.
The weird thing was when setting these disks up fdisk offered to go into
gpt hybrid as one of its menu choices.  I didn't go in there thinking that
/dev/sda was already gpt.
 -- Jude  "There are four boxes to be used in
 defense of liberty: soap, ballot, jury, and ammo. Please use in that
 order." Ed Howdershelt 1940.

On Mon, 27 May 2024, Michael wrote:

> We have the following IDs associated with block devices and their filesystem:
>
> 1. Partition type.  For example the ESP with partition type 'ef00', has the
> GPT UID:
>
> Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system
> partition)
>
> You can check this if you launch gdisk, press i, followed by the number of a
> partition, e.g. 1 for your ESP.  This is the discoverable partition GUID
> string and is the same for all ESP type partitions.
>
> 2. There is also a unique ID stored in the GPT for each partition, this is
> different to the partition GUID code above:
>
> Partition unique GUID: a different 32 long character string, also in groups of
> 8-4-4-4-12 characters.
>
> This is the long string used by the efibootmgr to identify the ESP.  If you
> have more than disk and each disk has its own ESP, the efibootmgr will list
> them all with their unique 32 character partition GUID.
>
> If your efibootmgr incantation does not show the GUID of your ESP, then the
> installation of GRUB is incorrect.  Use the options I mentioned in my previous
> message.
>
> 3. There is the filesystem UUID, unique to each filesystem.  For a FAT
> formatted partition this will be 4-4 (8 character long).  Typically this is
> used in fstab.
>
> There's also a disk GUID, but this does not affect what you're trying to do
> here.
>
> The standards and landscape of different partitions, their mountpoint and
> bootloaders has changed over the years.  What the Handbook provides reflects
> the current state of affairs.
>
> Please read these relatively recent news items as they may affect how you
> install a binary kernel and initramfs (I don't use this kernel here to know
> its nuances):
>
> https://www.gentoo.org/support/news-items/2024-03-12-debianutils-installkernel.html
>
> https://www.gentoo.org/support/news-items/2024-05-17-dracut-ext-kmods.html
>
>
> On Monday, 27 May 2024 15:32:40 BST Jude DaShiell wrote:
> > None of the uid's for sda1 sda2 and sda3 are displayed in efibootmgr.
> > /dev/sda1 is vfat and /dev/sda3 is xfs.
> >
> >
> > --
> >  Jude 
> >  "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo.
> >  Please use in that order."
> >  Ed Howdershelt 1940.
> >
> > On Mon, 27 May 2024, Michael wrote:
> > > The command:
> > >
> > > lsblk -f
> > >
> > > will reveal the UUID of the respective partitions.  This is normally used
> > > in your fstab, unless you created this manually, in which case you can
> > > use logical names or filesystem labels.
> > >
> > > The efibootmgr will display the partition UUID where the .efi executable
> > > resides.
> > >
> > > You can check which block device has the same partition UUID with:
> > >
> > > lsblk -o NAME,SIZE,PARTTYPENAME,PARTUUID
> > >
> > > Note: the partition UUID is different to the partition type UUID.
> > >
> > > You probably need to be explicit where the ESP mountpoint is, when you
> > > install grub; e.g.:
> > >
> > > grub-install --efi-directory=/efi /dev/sda
> > >
> > > You may in addition need to specify where the '--boot-directory' is.  Best
> > > you check this page to compare against the contents of your /efi and
> > > /boot, in case you missed any steps:
> > >
> > > https://wiki.gentoo.org/wiki/GRUB#UEFI_with_GPT
> > >
> > > On Monday, 27 May 2024 14:05:49 BST Jude DaShiell wrote:
> > > > grub-update found boot partition in /dev/sda3.  The problem I now have
> > > > is
> > > > I cannot boot into gentoo.
> > > > The efibootmgr program on original system shows no available gentoo boot
> > > > drive and has lots of hex output so I can't locate /dev/sda3 in
> > > > efibootmgr
> > > > and all gentoo partitions I created have been changed to conform to the
> > > > discoverable standard mentioned in the handbook.
> > > >
> > > >
> > > > --
> > > >
> > > >  Jude 
> > > >  "There are four boxes to be used in defense of liberty:
> > > >  soap, ballot, jury, and ammo.
> > > >  Please use in that order."
> > > >  Ed Howdershelt 1940.
> > > >
> > > > On Mon, 27 May 2024, Jude DaShiell wrote:
> > > > > I think I fixed the problem by putting all of the boot stuff into the
> > > > > /mnt/gentoo/efi directory which has /dev/sda1 mounted to it.  Reason I
> > > > > think that problem got fixed was I repeated the steps and iucode steps
> > > > > from emerge linux-firmware all the way down to emerge
> > > > > gentoo-kernel-bin
> > > > > and emerge didn't once mention it assumes I have no separate boot
> > > > > partition.  So I expect to be testing the system a little later today
> 

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
I didn't run grub-install yet but emerged gentoo-kernel-bin so maybe that
ran grub-install for me.
I'll check with gdisk and thanks much for your help on this problem.


-- 
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Mon, 27 May 2024, Michael wrote:

> We have the following IDs associated with block devices and their filesystem:
>
> 1. Partition type.  For example the ESP with partition type 'ef00', has the
> GPT UID:
>
> Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system
> partition)
>
> You can check this if you launch gdisk, press i, followed by the number of a
> partition, e.g. 1 for your ESP.  This is the discoverable partition GUID
> string and is the same for all ESP type partitions.
>
> 2. There is also a unique ID stored in the GPT for each partition, this is
> different to the partition GUID code above:
>
> Partition unique GUID: a different 32 long character string, also in groups of
> 8-4-4-4-12 characters.
>
> This is the long string used by the efibootmgr to identify the ESP.  If you
> have more than disk and each disk has its own ESP, the efibootmgr will list
> them all with their unique 32 character partition GUID.
>
> If your efibootmgr incantation does not show the GUID of your ESP, then the
> installation of GRUB is incorrect.  Use the options I mentioned in my previous
> message.
>
> 3. There is the filesystem UUID, unique to each filesystem.  For a FAT
> formatted partition this will be 4-4 (8 character long).  Typically this is
> used in fstab.
>
> There's also a disk GUID, but this does not affect what you're trying to do
> here.
>
> The standards and landscape of different partitions, their mountpoint and
> bootloaders has changed over the years.  What the Handbook provides reflects
> the current state of affairs.
>
> Please read these relatively recent news items as they may affect how you
> install a binary kernel and initramfs (I don't use this kernel here to know
> its nuances):
>
> https://www.gentoo.org/support/news-items/2024-03-12-debianutils-installkernel.html
>
> https://www.gentoo.org/support/news-items/2024-05-17-dracut-ext-kmods.html
>
>
> On Monday, 27 May 2024 15:32:40 BST Jude DaShiell wrote:
> > None of the uid's for sda1 sda2 and sda3 are displayed in efibootmgr.
> > /dev/sda1 is vfat and /dev/sda3 is xfs.
> >
> >
> > --
> >  Jude 
> >  "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo.
> >  Please use in that order."
> >  Ed Howdershelt 1940.
> >
> > On Mon, 27 May 2024, Michael wrote:
> > > The command:
> > >
> > > lsblk -f
> > >
> > > will reveal the UUID of the respective partitions.  This is normally used
> > > in your fstab, unless you created this manually, in which case you can
> > > use logical names or filesystem labels.
> > >
> > > The efibootmgr will display the partition UUID where the .efi executable
> > > resides.
> > >
> > > You can check which block device has the same partition UUID with:
> > >
> > > lsblk -o NAME,SIZE,PARTTYPENAME,PARTUUID
> > >
> > > Note: the partition UUID is different to the partition type UUID.
> > >
> > > You probably need to be explicit where the ESP mountpoint is, when you
> > > install grub; e.g.:
> > >
> > > grub-install --efi-directory=/efi /dev/sda
> > >
> > > You may in addition need to specify where the '--boot-directory' is.  Best
> > > you check this page to compare against the contents of your /efi and
> > > /boot, in case you missed any steps:
> > >
> > > https://wiki.gentoo.org/wiki/GRUB#UEFI_with_GPT
> > >
> > > On Monday, 27 May 2024 14:05:49 BST Jude DaShiell wrote:
> > > > grub-update found boot partition in /dev/sda3.  The problem I now have
> > > > is
> > > > I cannot boot into gentoo.
> > > > The efibootmgr program on original system shows no available gentoo boot
> > > > drive and has lots of hex output so I can't locate /dev/sda3 in
> > > > efibootmgr
> > > > and all gentoo partitions I created have been changed to conform to the
> > > > discoverable standard mentioned in the handbook.
> > > >
> > > >
> > > > --
> > > >
> > > >  Jude 
> > > >  "There are four boxes to be used in defense of liberty:
> > > >  soap, ballot, jury, and ammo.
> > > >  Please use in that order."
> > > >  Ed Howdershelt 1940.
> > > >
> > > > On Mon, 27 May 2024, Jude DaShiell wrote:
> > > > > I think I fixed the problem by putting all of the boot stuff into the
> > > > > /mnt/gentoo/efi directory which has /dev/sda1 mounted to it.  Reason I
> > > > > think that problem got fixed was I repeated the steps and iucode steps
> > > > > from emerge linux-firmware all the way down to emerge
> > > > > gentoo-kernel-bin
> > > > > and emerge didn't once mention it assumes I have no separate boot
> > > > > partition.  So I expect to be testing the system a little later today
> > > > > after running update-grub on the existing system which has osprober
> > > > > enabled.  If 

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Michael
We have the following IDs associated with block devices and their filesystem:

1. Partition type.  For example the ESP with partition type 'ef00', has the 
GPT UID:

Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system 
partition)

You can check this if you launch gdisk, press i, followed by the number of a 
partition, e.g. 1 for your ESP.  This is the discoverable partition GUID 
string and is the same for all ESP type partitions.

2. There is also a unique ID stored in the GPT for each partition, this is 
different to the partition GUID code above:

Partition unique GUID: a different 32 long character string, also in groups of 
8-4-4-4-12 characters.

This is the long string used by the efibootmgr to identify the ESP.  If you 
have more than disk and each disk has its own ESP, the efibootmgr will list 
them all with their unique 32 character partition GUID.

If your efibootmgr incantation does not show the GUID of your ESP, then the 
installation of GRUB is incorrect.  Use the options I mentioned in my previous 
message.

3. There is the filesystem UUID, unique to each filesystem.  For a FAT 
formatted partition this will be 4-4 (8 character long).  Typically this is 
used in fstab.

There's also a disk GUID, but this does not affect what you're trying to do 
here.

The standards and landscape of different partitions, their mountpoint and 
bootloaders has changed over the years.  What the Handbook provides reflects 
the current state of affairs.

Please read these relatively recent news items as they may affect how you 
install a binary kernel and initramfs (I don't use this kernel here to know 
its nuances):

https://www.gentoo.org/support/news-items/2024-03-12-debianutils-installkernel.html

https://www.gentoo.org/support/news-items/2024-05-17-dracut-ext-kmods.html


On Monday, 27 May 2024 15:32:40 BST Jude DaShiell wrote:
> None of the uid's for sda1 sda2 and sda3 are displayed in efibootmgr.
> /dev/sda1 is vfat and /dev/sda3 is xfs.
> 
> 
> --
>  Jude 
>  "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo.
>  Please use in that order."
>  Ed Howdershelt 1940.
> 
> On Mon, 27 May 2024, Michael wrote:
> > The command:
> > 
> > lsblk -f
> > 
> > will reveal the UUID of the respective partitions.  This is normally used
> > in your fstab, unless you created this manually, in which case you can
> > use logical names or filesystem labels.
> > 
> > The efibootmgr will display the partition UUID where the .efi executable
> > resides.
> > 
> > You can check which block device has the same partition UUID with:
> > 
> > lsblk -o NAME,SIZE,PARTTYPENAME,PARTUUID
> > 
> > Note: the partition UUID is different to the partition type UUID.
> > 
> > You probably need to be explicit where the ESP mountpoint is, when you
> > install grub; e.g.:
> > 
> > grub-install --efi-directory=/efi /dev/sda
> > 
> > You may in addition need to specify where the '--boot-directory' is.  Best
> > you check this page to compare against the contents of your /efi and
> > /boot, in case you missed any steps:
> > 
> > https://wiki.gentoo.org/wiki/GRUB#UEFI_with_GPT
> > 
> > On Monday, 27 May 2024 14:05:49 BST Jude DaShiell wrote:
> > > grub-update found boot partition in /dev/sda3.  The problem I now have
> > > is
> > > I cannot boot into gentoo.
> > > The efibootmgr program on original system shows no available gentoo boot
> > > drive and has lots of hex output so I can't locate /dev/sda3 in
> > > efibootmgr
> > > and all gentoo partitions I created have been changed to conform to the
> > > discoverable standard mentioned in the handbook.
> > > 
> > > 
> > > --
> > > 
> > >  Jude 
> > >  "There are four boxes to be used in defense of liberty:
> > >  soap, ballot, jury, and ammo.
> > >  Please use in that order."
> > >  Ed Howdershelt 1940.
> > > 
> > > On Mon, 27 May 2024, Jude DaShiell wrote:
> > > > I think I fixed the problem by putting all of the boot stuff into the
> > > > /mnt/gentoo/efi directory which has /dev/sda1 mounted to it.  Reason I
> > > > think that problem got fixed was I repeated the steps and iucode steps
> > > > from emerge linux-firmware all the way down to emerge
> > > > gentoo-kernel-bin
> > > > and emerge didn't once mention it assumes I have no separate boot
> > > > partition.  So I expect to be testing the system a little later today
> > > > after running update-grub on the existing system which has osprober
> > > > enabled.  If boot partition is found on sda1 I will have succeeded.



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


Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
None of the uid's for sda1 sda2 and sda3 are displayed in efibootmgr.
/dev/sda1 is vfat and /dev/sda3 is xfs.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Mon, 27 May 2024, Michael wrote:

> The command:
>
> lsblk -f
>
> will reveal the UUID of the respective partitions.  This is normally used in
> your fstab, unless you created this manually, in which case you can use
> logical names or filesystem labels.
>
> The efibootmgr will display the partition UUID where the .efi executable
> resides.
>
> You can check which block device has the same partition UUID with:
>
> lsblk -o NAME,SIZE,PARTTYPENAME,PARTUUID
>
> Note: the partition UUID is different to the partition type UUID.
>
> You probably need to be explicit where the ESP mountpoint is, when you install
> grub; e.g.:
>
> grub-install --efi-directory=/efi /dev/sda
>
> You may in addition need to specify where the '--boot-directory' is.  Best you
> check this page to compare against the contents of your /efi and /boot, in
> case you missed any steps:
>
> https://wiki.gentoo.org/wiki/GRUB#UEFI_with_GPT
>
>
> On Monday, 27 May 2024 14:05:49 BST Jude DaShiell wrote:
> > grub-update found boot partition in /dev/sda3.  The problem I now have is
> > I cannot boot into gentoo.
> > The efibootmgr program on original system shows no available gentoo boot
> > drive and has lots of hex output so I can't locate /dev/sda3 in efibootmgr
> > and all gentoo partitions I created have been changed to conform to the
> > discoverable standard mentioned in the handbook.
> >
> >
> > --
> >  Jude 
> >  "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo.
> >  Please use in that order."
> >  Ed Howdershelt 1940.
> >
> > On Mon, 27 May 2024, Jude DaShiell wrote:
> > > I think I fixed the problem by putting all of the boot stuff into the
> > > /mnt/gentoo/efi directory which has /dev/sda1 mounted to it.  Reason I
> > > think that problem got fixed was I repeated the steps and iucode steps
> > > from emerge linux-firmware all the way down to emerge gentoo-kernel-bin
> > > and emerge didn't once mention it assumes I have no separate boot
> > > partition.  So I expect to be testing the system a little later today
> > > after running update-grub on the existing system which has osprober
> > > enabled.  If boot partition is found on sda1 I will have succeeded.
>
>
>



Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Michael
The command:

lsblk -f

will reveal the UUID of the respective partitions.  This is normally used in 
your fstab, unless you created this manually, in which case you can use 
logical names or filesystem labels.

The efibootmgr will display the partition UUID where the .efi executable 
resides.

You can check which block device has the same partition UUID with:

lsblk -o NAME,SIZE,PARTTYPENAME,PARTUUID

Note: the partition UUID is different to the partition type UUID.

You probably need to be explicit where the ESP mountpoint is, when you install 
grub; e.g.:

grub-install --efi-directory=/efi /dev/sda

You may in addition need to specify where the '--boot-directory' is.  Best you 
check this page to compare against the contents of your /efi and /boot, in 
case you missed any steps:

https://wiki.gentoo.org/wiki/GRUB#UEFI_with_GPT


On Monday, 27 May 2024 14:05:49 BST Jude DaShiell wrote:
> grub-update found boot partition in /dev/sda3.  The problem I now have is
> I cannot boot into gentoo.
> The efibootmgr program on original system shows no available gentoo boot
> drive and has lots of hex output so I can't locate /dev/sda3 in efibootmgr
> and all gentoo partitions I created have been changed to conform to the
> discoverable standard mentioned in the handbook.
> 
> 
> --
>  Jude 
>  "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo.
>  Please use in that order."
>  Ed Howdershelt 1940.
> 
> On Mon, 27 May 2024, Jude DaShiell wrote:
> > I think I fixed the problem by putting all of the boot stuff into the
> > /mnt/gentoo/efi directory which has /dev/sda1 mounted to it.  Reason I
> > think that problem got fixed was I repeated the steps and iucode steps
> > from emerge linux-firmware all the way down to emerge gentoo-kernel-bin
> > and emerge didn't once mention it assumes I have no separate boot
> > partition.  So I expect to be testing the system a little later today
> > after running update-grub on the existing system which has osprober
> > enabled.  If boot partition is found on sda1 I will have succeeded.




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


Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
I will always be installing from stage3 not the boot media since I can't
bring up speakup and have it read everything on the screen after booting.
I'm glad the script will be helpful for you and anyone else that can use
it in my situation or who prefers to install starting with stage3.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Mon, 27 May 2024, Dale wrote:

> Jude DaShiell wrote:
> > Here's the script I used to get from an existing system into the gentoo
> > environment to install the gentoo system.  I started with stage3 and chose
> > openrc and went down that path.
> >
> > #!/usr/bin/bash
> > # file: sgentoo.sh - setup gentoo mounts
> > echo "once disk setup from gentoo handbook is complete"
> > echo "press  to chroot into gentoo environment."
> > read
> > sudo mount /dev/sda3 /mnt/gentoo
> > sudo mount /dev/sda1 /mnt/gentoo/efi
> > sudo swapon /dev/sda2
> > sudo cp --dereference /etc/resolv.conf /mnt/gentoo/etc
> > sudo mount --types proc /proc /mnt/gentoo/proc
> > sudo mount --rbind /sys /mnt/gentoo/sys
> > sudo mount --rbind /dev /mnt/gentoo/dev
> > sudo mount --bind /run /mnt/gentoo/run
> > sudo chroot /mnt/gentoo /bin/bash
> >
> > I found this useful since the gentoo installation as far as it went wasn't
> > done in a single session.
> >
>
>
> I found this useful when I was installing on my NAS box, a couple of
> them actually.  I'm still on old fashioned BIOS but this may come in
> handy.  It should work for EFI as well.  From the install handbook. 
>
>
> *Tip*
> If using Gentoo's install media, this step can be replaced with simply:
> arch-chroot /mnt/gentoo.
>
>
> If you are booting from one of the Gentoo boot media, that command
> should mount everything and chroot you into the system.  All that
> mounting is a bit tedious at times.  ;-)  I'm not sure when that command
> got added but it is nice to have.  You can find that in the chrooting
> section.
>
> Hope that helps.  The next install if nothing else. 
>
> Dale
>
> :-)  :-) 
>



Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Dale
Jude DaShiell wrote:
> Here's the script I used to get from an existing system into the gentoo
> environment to install the gentoo system.  I started with stage3 and chose
> openrc and went down that path.
>
> #!/usr/bin/bash
> # file: sgentoo.sh - setup gentoo mounts
> echo "once disk setup from gentoo handbook is complete"
> echo "press  to chroot into gentoo environment."
> read
> sudo mount /dev/sda3 /mnt/gentoo
> sudo mount /dev/sda1 /mnt/gentoo/efi
> sudo swapon /dev/sda2
> sudo cp --dereference /etc/resolv.conf /mnt/gentoo/etc
> sudo mount --types proc /proc /mnt/gentoo/proc
> sudo mount --rbind /sys /mnt/gentoo/sys
> sudo mount --rbind /dev /mnt/gentoo/dev
> sudo mount --bind /run /mnt/gentoo/run
> sudo chroot /mnt/gentoo /bin/bash
>
> I found this useful since the gentoo installation as far as it went wasn't
> done in a single session.
>


I found this useful when I was installing on my NAS box, a couple of
them actually.  I'm still on old fashioned BIOS but this may come in
handy.  It should work for EFI as well.  From the install handbook. 


*Tip*
If using Gentoo's install media, this step can be replaced with simply:
arch-chroot /mnt/gentoo.


If you are booting from one of the Gentoo boot media, that command
should mount everything and chroot you into the system.  All that
mounting is a bit tedious at times.  ;-)  I'm not sure when that command
got added but it is nice to have.  You can find that in the chrooting
section.

Hope that helps.  The next install if nothing else. 

Dale

:-)  :-) 


Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
grub-update found boot partition in /dev/sda3.  The problem I now have is
I cannot boot into gentoo.
The efibootmgr program on original system shows no available gentoo boot
drive and has lots of hex output so I can't locate /dev/sda3 in efibootmgr
and all gentoo partitions I created have been changed to conform to the
discoverable standard mentioned in the handbook.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Mon, 27 May 2024, Jude DaShiell wrote:

> I think I fixed the problem by putting all of the boot stuff into the
> /mnt/gentoo/efi directory which has /dev/sda1 mounted to it.  Reason I
> think that problem got fixed was I repeated the steps and iucode steps
> from emerge linux-firmware all the way down to emerge gentoo-kernel-bin
> and emerge didn't once mention it assumes I have no separate boot
> partition.  So I expect to be testing the system a little later today
> after running update-grub on the existing system which has osprober
> enabled.  If boot partition is found on sda1 I will have succeeded.
>
>
> --
>  Jude 
>  "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo.
>  Please use in that order."
>  Ed Howdershelt 1940.
>
> On Mon, 27 May 2024, Michael wrote:
>
> > Hi Jude,
> >
> > There are few decisions you have to make before you consider how to 
> > partition
> > your disk, which affect where /boot may be located.
> >
> > 1. EFI System Partition (ESP)
> >
> > This is a GPT partition of type ef00 and formatted as FAT32, necessary for 
> > an
> > EFI motherboard which is not configured to boot in BIOS/Legacy mode.
> >
> > This partition will eventually contain the boot manager's filesystem (e.g.
> > GRUB, rEFInd) and its efi executable, e.g. grubx64.efi and config file.
> >
> > It should be mounted under /efi on the installed system.
> >
> > Therefore what you have done is correct and in accordance with the Gentoo
> > Handbook.
> >
> > 2. A partition for /boot
> >
> > This is not strictly necessary, as the /boot directory can be located in 
> > the /
> > root partition itself.  Most binary distributions do this.  However, Gentoo 
> > is
> > flexible enough and you can create a separate partition for /boot if you so
> > prefer.  Just make sure the /boot partition is mounted when you come to
> > install your kernel, initramfs, and emerge linux-firmware.  Assuming you are
> > using the GRUB boot manager, you can format a separate /boot partition with
> > any of the Linux compatible filesystems:
> >
> > https://www.gnu.org/software/grub/manual/grub/grub.html#Filesystems
> >
> > NOTE: With systemd and bootctl you would create a partition of type ea00
> > XBOOTLDR and mount it on /boot.  Different OS' will install their kernel
> > images in there and bootctl will be able to access them.
> >
> > 3. Manual Alternatives
> >
> > If you use EFI stub for the UEFI MoBo firmware to boot the system directly
> > without a 3rd party bootloader, then you can mount the ESP on /boot and 
> > create
> > a /boot/EFI directory to place your kernel file executables there.
> >
> > The default is as per item 1 above.
> >
> >
> > On Monday, 27 May 2024 10:05:40 BST Jude DaShiell wrote:
> > > After having followed the handbook I end up with /boot in /sda3 even
> > > though mount /dev/sda1 /mnt/gentoo/efi had been run and /dev/sda1 is vfat
> > > 32 format and is efi system.
> > > What did I do wrong?
> > >
> > >
> > > --
> > >  Jude 
> > >  "There are four boxes to be used in defense of liberty:
> > >  soap, ballot, jury, and ammo.
> > >  Please use in that order."
> > >  Ed Howdershelt 1940.
> >
> >
>
>



Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
I think I fixed the problem by putting all of the boot stuff into the
/mnt/gentoo/efi directory which has /dev/sda1 mounted to it.  Reason I
think that problem got fixed was I repeated the steps and iucode steps
from emerge linux-firmware all the way down to emerge gentoo-kernel-bin
and emerge didn't once mention it assumes I have no separate boot
partition.  So I expect to be testing the system a little later today
after running update-grub on the existing system which has osprober
enabled.  If boot partition is found on sda1 I will have succeeded.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Mon, 27 May 2024, Michael wrote:

> Hi Jude,
>
> There are few decisions you have to make before you consider how to partition
> your disk, which affect where /boot may be located.
>
> 1. EFI System Partition (ESP)
>
> This is a GPT partition of type ef00 and formatted as FAT32, necessary for an
> EFI motherboard which is not configured to boot in BIOS/Legacy mode.
>
> This partition will eventually contain the boot manager's filesystem (e.g.
> GRUB, rEFInd) and its efi executable, e.g. grubx64.efi and config file.
>
> It should be mounted under /efi on the installed system.
>
> Therefore what you have done is correct and in accordance with the Gentoo
> Handbook.
>
> 2. A partition for /boot
>
> This is not strictly necessary, as the /boot directory can be located in the /
> root partition itself.  Most binary distributions do this.  However, Gentoo is
> flexible enough and you can create a separate partition for /boot if you so
> prefer.  Just make sure the /boot partition is mounted when you come to
> install your kernel, initramfs, and emerge linux-firmware.  Assuming you are
> using the GRUB boot manager, you can format a separate /boot partition with
> any of the Linux compatible filesystems:
>
> https://www.gnu.org/software/grub/manual/grub/grub.html#Filesystems
>
> NOTE: With systemd and bootctl you would create a partition of type ea00
> XBOOTLDR and mount it on /boot.  Different OS' will install their kernel
> images in there and bootctl will be able to access them.
>
> 3. Manual Alternatives
>
> If you use EFI stub for the UEFI MoBo firmware to boot the system directly
> without a 3rd party bootloader, then you can mount the ESP on /boot and create
> a /boot/EFI directory to place your kernel file executables there.
>
> The default is as per item 1 above.
>
>
> On Monday, 27 May 2024 10:05:40 BST Jude DaShiell wrote:
> > After having followed the handbook I end up with /boot in /sda3 even
> > though mount /dev/sda1 /mnt/gentoo/efi had been run and /dev/sda1 is vfat
> > 32 format and is efi system.
> > What did I do wrong?
> >
> >
> > --
> >  Jude 
> >  "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo.
> >  Please use in that order."
> >  Ed Howdershelt 1940.
>
>



Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Michael
Hi Jude,

There are few decisions you have to make before you consider how to partition 
your disk, which affect where /boot may be located.

1. EFI System Partition (ESP)

This is a GPT partition of type ef00 and formatted as FAT32, necessary for an 
EFI motherboard which is not configured to boot in BIOS/Legacy mode.

This partition will eventually contain the boot manager's filesystem (e.g. 
GRUB, rEFInd) and its efi executable, e.g. grubx64.efi and config file.

It should be mounted under /efi on the installed system.

Therefore what you have done is correct and in accordance with the Gentoo 
Handbook.

2. A partition for /boot

This is not strictly necessary, as the /boot directory can be located in the /
root partition itself.  Most binary distributions do this.  However, Gentoo is 
flexible enough and you can create a separate partition for /boot if you so 
prefer.  Just make sure the /boot partition is mounted when you come to 
install your kernel, initramfs, and emerge linux-firmware.  Assuming you are 
using the GRUB boot manager, you can format a separate /boot partition with 
any of the Linux compatible filesystems:

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

NOTE: With systemd and bootctl you would create a partition of type ea00 
XBOOTLDR and mount it on /boot.  Different OS' will install their kernel 
images in there and bootctl will be able to access them.

3. Manual Alternatives

If you use EFI stub for the UEFI MoBo firmware to boot the system directly 
without a 3rd party bootloader, then you can mount the ESP on /boot and create 
a /boot/EFI directory to place your kernel file executables there.

The default is as per item 1 above.


On Monday, 27 May 2024 10:05:40 BST Jude DaShiell wrote:
> After having followed the handbook I end up with /boot in /sda3 even
> though mount /dev/sda1 /mnt/gentoo/efi had been run and /dev/sda1 is vfat
> 32 format and is efi system.
> What did I do wrong?
> 
> 
> --
>  Jude 
>  "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo.
>  Please use in that order."
>  Ed Howdershelt 1940.



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


Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
Here's the script I used to get from an existing system into the gentoo
environment to install the gentoo system.  I started with stage3 and chose
openrc and went down that path.

#!/usr/bin/bash
# file: sgentoo.sh - setup gentoo mounts
echo "once disk setup from gentoo handbook is complete"
echo "press  to chroot into gentoo environment."
read
sudo mount /dev/sda3 /mnt/gentoo
sudo mount /dev/sda1 /mnt/gentoo/efi
sudo swapon /dev/sda2
sudo cp --dereference /etc/resolv.conf /mnt/gentoo/etc
sudo mount --types proc /proc /mnt/gentoo/proc
sudo mount --rbind /sys /mnt/gentoo/sys
sudo mount --rbind /dev /mnt/gentoo/dev
sudo mount --bind /run /mnt/gentoo/run
sudo chroot /mnt/gentoo /bin/bash

I found this useful since the gentoo installation as far as it went wasn't
done in a single session.

-- 
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Mon, 27 May 2024, Jude DaShiell wrote:

> After having followed the handbook I end up with /boot in /sda3 even
> though mount /dev/sda1 /mnt/gentoo/efi had been run and /dev/sda1 is vfat
> 32 format and is efi system.
> What did I do wrong?
>
>
> --
>  Jude 
>  "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo.
>  Please use in that order."
>  Ed Howdershelt 1940.
>
>



[gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
After having followed the handbook I end up with /boot in /sda3 even
though mount /dev/sda1 /mnt/gentoo/efi had been run and /dev/sda1 is vfat
32 format and is efi system.
What did I do wrong?


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.



Re: [gentoo-user] where is linux-firmware.log?

2024-05-26 Thread Jude DaShiell
I have tried a couple different things so linux-firmware and other
packages can find the boot location and none of them have worked.
I'm going with openrc and efi and gpt.
originally I made an efi partition and mounted it mount /dev/sda1
/mnt/gentoo/efi once the efi directory had been created.
later I made /mnt/boot/efi and mount /dev/sda1 /mnt/boot/efi
I even named /dev/sda1 /boot in parted on existing system.
Still linux-firmware continues putting everything in /mnt/gentoo/boot.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Sun, 26 May 2024, Jude DaShiell wrote:

> I'm getting a pair of errors when I do emerge linux-firmware:
> undefined license group
> emerge Assuming no boot partition
>
>
>



[gentoo-user] where is linux-firmware.log?

2024-05-26 Thread Jude DaShiell
I'm getting a pair of errors when I do emerge linux-firmware:
undefined license group
emerge Assuming no boot partition


-- 
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.



Re: [gentoo-user] Re: Off Topic - UPnP servers

2024-05-25 Thread Mark Knecht
On Sat, May 25, 2024 at 3:14 PM Grant Edwards 
wrote:
>
> On 2024-05-24, Mark Knecht  wrote:
>
> > The unit showed up today and was a breeze to set up and get running
> > at a basic level. The device requires an app on my phone.
>
> That sets of an alarm for me.
>
> > The app is available for Android and Apple but not available for the
> > Amazon Fire tablet.
>
> Good luck...  I avoid products like that. There have been too many
> "smart" things in the past that required an app -- then the app
> stopped working two or three years later. The purchaser of the thing
> now has a useless lump, and has to start shopping for a replacement.

Yeah, that's a reasonable point of view and one I hadn't considered.

Cheers.
Mark


[gentoo-user] Re: Off Topic - UPnP servers

2024-05-25 Thread Grant Edwards
On 2024-05-24, Mark Knecht  wrote:

> The unit showed up today and was a breeze to set up and get running
> at a basic level. The device requires an app on my phone.

That sets of an alarm for me.

> The app is available for Android and Apple but not available for the
> Amazon Fire tablet.

Good luck...  I avoid products like that. There have been too many
"smart" things in the past that required an app -- then the app
stopped working two or three years later. The purchaser of the thing
now has a useless lump, and has to start shopping for a replacement.

--
Grant






Re: [gentoo-user] Re: Off Topic - UPnP servers

2024-05-24 Thread Mark Knecht
On Fri, May 24, 2024 at 1:25 PM Tsukasa Mcp_Reznor 
wrote:
>
> For what it's worth I've been using gerbera for years, it'll pass-through
supported videos/codecs or you can set it up to transcode.   Highly
recommend it.  On my roku TV's I just use the roku media player, it'll see
UPnP servers just fine.

Thanks. Great info and much appreciated.

The unit showed up today and was a breeze to set up and get running at a
basic level. The device requires an app on my phone. The app is available
for Android and Apple but not available for the Amazon Fire tablet.

I was able to stream Internet Radio immediately. I then transferred
about 20% of my CD collection FLAC files to a flash drive and they play
fine and sound great. I am currently using the audio output on the unit but
will be testing my Schitt Modi DAC over the weekend, along with attempting
to connect to Plex.

One small problem I ran into is the unused flash drive I had in the flash
drive box had a default FAT filesystem on it and the FLAC library, ripped
mostly with k3b but also a little abcde, has characters in names that
aren't supported so I had some complaints getting things copied. I will say
that a big flash drive might be a great solution to not having to turn the
server on and having media available 24/7.

Cheers,
Mark


Re: [gentoo-user] mirrorselect build failed

2024-05-24 Thread Jude DaShiell
Both of these items have been handled.


-- 
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Fri, 24 May 2024, Michael wrote:

> Jude, the initial CFLAGS I suggested are safe, but suboptimal.  They do not
> tune your system's compiler to utilise all of your CPU's instructions.
>
> In the first instance, you should set the CFLAGS as appropriate for your PC
> and specifically include -march=native, as suggested by Waldo.  Please check
> this chapter in the Gentoo Handbook:
>
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/
> Stage#Configuring_compile_options
>
> Also, add the appropriate CPU USE flags either in CPU_FLAGS_X86="..." in your
> /etc/portage/make.conf, or in /etc/portage/package.use/00cpuflags.  You can
> install and run cpuid2cpuflags to print out your CPU's USE flags - e.g.:
>
> mkdir /etc/portage/package.use   # if not set up yet
> echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpuflags
>
> Then you can proceed with the steps in the Handbook to install your system.
>
> The download of binary packages is a more recent choice offered by Gentoo and
> can save time as opposed to compiling everything from source on your system.
> Previously posted links explain how to configure your system to set up and use
> a gentoo binhost.
>
> If there is a /binpackages/ subdirectory on the mirror it will contain the
> precompiled binary packages and given you are running a modern CPU, you should
> set /x86-64-v3 in your binrepos.conf.
>
> HTH.
>
> On Friday, 24 May 2024 13:29:46 BST Jude DaShiell wrote:
> > Michael,
> >
> > The changes you selected worked.  I got mirrorselect compiled and ran it
> > and got http ftp and rsync repos defined.  I'm wondering have all of the
> > gentoo mirrors got binaries?
> >
> >
> > --
> >  Jude 
> >  "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo.
> >  Please use in that order."
> >  Ed Howdershelt 1940.
> >
> > On Fri, 24 May 2024, Michael wrote:
> > > On Friday, 24 May 2024 09:57:36 BST Waldo Lemmer wrote:
> > > > Hi Michael,
> > > >
> > > > -march=x86-64 and -mtune=generic will not speed up your OS installation.
> > > > These flags tell compilers to produce binaries that can run on any AMD64
> > > > system and that aren't optimized for your specific system.
> > > >
> > > > These flags have no effect on binary packages, since those have already
> > > > been compiled.
> > >
> > > You're right, those are the settings the binary packages have been built
> > > with - my mistake, sorry!
> > >
> > > The CFLAGS on the client should/could be tuned to its own CPU with "-
> > > march=native". The "... speeding up of the OS installation" I had
> > > mentioned
> > > referred to downloading the binaries, rather than having to build them
> > > locally.
> > >
> > > Anyway, the CFLAGS Jude posted are incorrect:
> > >
> > > CFLAGS="-O2 -pipe -native"
> > >
> > > and his CPU_FLAGS_X86 are incomplete:
> > >
> > > CPU_FLAGS_X86="mmx mmxext sse sse2"
> > >
> > > Your links should hopefully help Jude to set the correct settings for this
> > > system, before he continues with the Gentoo Handbook.
>
>



Re: [gentoo-user] Re: Off Topic - UPnP servers

2024-05-24 Thread Tsukasa Mcp_Reznor
For what it's worth I've been using gerbera for years, it'll pass-through 
supported videos/codecs or you can set it up to transcode.   Highly recommend 
it.  On my roku TV's I just use the roku media player, it'll see UPnP servers 
just fine.


Re: [gentoo-user] Re: Off Topic - UPnP servers

2024-05-24 Thread Mark Knecht
On Fri, May 24, 2024 at 8:26 AM Grant Edwards 
wrote:
>
> On 2024-05-24, Mark Knecht  wrote:
>
> > I'm a Plex user for video and have also ripped my CD
> > collection. Plex plays audio fine to TVs that have a Plex app but
> > apparently sometimes doesn't work well (as of yet untested by me) to
> > network streaming players.
>
> I never got the Plex app for Roku to work in a usable manner (and I
> think it eventually got discontinued?).  The Plex app in Kodi has
> always worked fine for me (though I haven't used it for probably about
> a year).  Plex also worked with other DLNA clients I've tried (Kodi, VLC).
>
> > While I don't know if the above will be a problem I've purchased a
> > network streaming player and will test it out over the weekend when it
> > arrives but if Plex doesn't work, or doesn't work well,
>
> I'd be interested to hear what player you got and how it works with Plex.
>

The Cambridge Audio MXN10 which is arriving today. Good reviews but I've
never listened to it so that will be interesting. I'll be using an older
NAD pre
and power amp and a pair of Theil 1.2's. I'll start without my old
subwoofer
and see what it's like but the 1.2's aren't the greatest at low-end so I'll
add the SW if necessary.

I'd like to start with my ripped CD content but for about $10/month it will
stream from Tidal and a few other sources so if I have any trouble serving
content then I'll get a Tidal subscription.

I'll report back on the Plex side as it goes as well as any other servers I
try out. I'm sorta leaning toward Gerbera for it's simplicity and clean
looking interface but it comes down to how the server works with the
C.A. StreamMagic app as this streamer has no front panel controls.

Thanks for the info.

Cheers,
Mark


[gentoo-user] Re: Off Topic - UPnP servers

2024-05-24 Thread Grant Edwards
On 2024-05-24, Mark Knecht  wrote:

> I'm a Plex user for video and have also ripped my CD
> collection. Plex plays audio fine to TVs that have a Plex app but
> apparently sometimes doesn't work well (as of yet untested by me) to
> network streaming players.

I never got the Plex app for Roku to work in a usable manner (and I
think it eventually got discontinued?).  The Plex app in Kodi has
always worked fine for me (though I haven't used it for probably about
a year).  Plex also worked with other DLNA clients I've tried (Kodi, VLC).

> While I don't know if the above will be a problem I've purchased a
> network streaming player and will test it out over the weekend when it
> arrives but if Plex doesn't work, or doesn't work well,

I'd be interested to hear what player you got and how it works with Plex.

--
Grant




Re: [gentoo-user] mirrorselect build failed

2024-05-24 Thread Michael
Jude, the initial CFLAGS I suggested are safe, but suboptimal.  They do not 
tune your system's compiler to utilise all of your CPU's instructions.

In the first instance, you should set the CFLAGS as appropriate for your PC 
and specifically include -march=native, as suggested by Waldo.  Please check 
this chapter in the Gentoo Handbook:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/
Stage#Configuring_compile_options

Also, add the appropriate CPU USE flags either in CPU_FLAGS_X86="..." in your 
/etc/portage/make.conf, or in /etc/portage/package.use/00cpuflags.  You can 
install and run cpuid2cpuflags to print out your CPU's USE flags - e.g.:

mkdir /etc/portage/package.use   # if not set up yet
echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpuflags

Then you can proceed with the steps in the Handbook to install your system.

The download of binary packages is a more recent choice offered by Gentoo and 
can save time as opposed to compiling everything from source on your system.  
Previously posted links explain how to configure your system to set up and use 
a gentoo binhost.

If there is a /binpackages/ subdirectory on the mirror it will contain the 
precompiled binary packages and given you are running a modern CPU, you should 
set /x86-64-v3 in your binrepos.conf.

HTH.

On Friday, 24 May 2024 13:29:46 BST Jude DaShiell wrote:
> Michael,
> 
> The changes you selected worked.  I got mirrorselect compiled and ran it
> and got http ftp and rsync repos defined.  I'm wondering have all of the
> gentoo mirrors got binaries?
> 
> 
> --
>  Jude 
>  "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo.
>  Please use in that order."
>  Ed Howdershelt 1940.
> 
> On Fri, 24 May 2024, Michael wrote:
> > On Friday, 24 May 2024 09:57:36 BST Waldo Lemmer wrote:
> > > Hi Michael,
> > > 
> > > -march=x86-64 and -mtune=generic will not speed up your OS installation.
> > > These flags tell compilers to produce binaries that can run on any AMD64
> > > system and that aren't optimized for your specific system.
> > > 
> > > These flags have no effect on binary packages, since those have already
> > > been compiled.
> > 
> > You're right, those are the settings the binary packages have been built
> > with - my mistake, sorry!
> > 
> > The CFLAGS on the client should/could be tuned to its own CPU with "-
> > march=native". The "... speeding up of the OS installation" I had
> > mentioned
> > referred to downloading the binaries, rather than having to build them
> > locally.
> > 
> > Anyway, the CFLAGS Jude posted are incorrect:
> > 
> > CFLAGS="-O2 -pipe -native"
> > 
> > and his CPU_FLAGS_X86 are incomplete:
> > 
> > CPU_FLAGS_X86="mmx mmxext sse sse2"
> > 
> > Your links should hopefully help Jude to set the correct settings for this
> > system, before he continues with the Gentoo Handbook.



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


Re: [gentoo-user] mirrorselect build failed

2024-05-24 Thread Jude DaShiell
Michael,

The changes you selected worked.  I got mirrorselect compiled and ran it
and got http ftp and rsync repos defined.  I'm wondering have all of the
gentoo mirrors got binaries?


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Fri, 24 May 2024, Michael wrote:

> On Friday, 24 May 2024 09:57:36 BST Waldo Lemmer wrote:
> > Hi Michael,
> >
> > -march=x86-64 and -mtune=generic will not speed up your OS installation.
> > These flags tell compilers to produce binaries that can run on any AMD64
> > system and that aren't optimized for your specific system.
> >
> > These flags have no effect on binary packages, since those have already
> > been compiled.
>
> You're right, those are the settings the binary packages have been built with
> - my mistake, sorry!
>
> The CFLAGS on the client should/could be tuned to its own CPU with "-
> march=native". The "... speeding up of the OS installation" I had mentioned
> referred to downloading the binaries, rather than having to build them
> locally.
>
> Anyway, the CFLAGS Jude posted are incorrect:
>
> CFLAGS="-O2 -pipe -native"
>
> and his CPU_FLAGS_X86 are incomplete:
>
> CPU_FLAGS_X86="mmx mmxext sse sse2"
>
> Your links should hopefully help Jude to set the correct settings for this
> system, before he continues with the Gentoo Handbook.



Re: [gentoo-user] 100% CPU load in qtwebengine

2024-05-24 Thread Michael
On Friday, 24 May 2024 11:52:55 BST Peter Humphrey wrote:
> On Thursday, 23 May 2024 20:13:27 BST Michael wrote:
> > On Thursday, 23 May 2024 14:07:16 BST Peter Humphrey wrote:
> > > Hello list,
> > > 
> > > On this box I have this:
> > > 
> > > # grep '\-j' /etc/portage/make.conf
> > > EMERGE_DEFAULT_OPTS="--jobs --load-average=4 [...] "
> > > MAKEOPTS="-j4 -l4"
> > > 
> > > That seems to work well, except for a 20s period at the beginning of
> > > emerging qtwebengine, during which CPU load goes to 100%, according to
> > > gkrellm.
> > > 
> > > It seems that the ebuild runs a process other than make, ignoring
> > > make.conf. Does anyone here know what that might be, and why it
> > > disregards my preferences?
> > 
> > Does this happen while  the source archive is being decompressed?
> 
> It could be; the .tar.xz file is 288MB - but I didn't think bzip2 was
> multithreaded*. I tried to check by rerunning the emerge, but it found a
> Gentoo binary and went to fetch that.
> 
> *  And app-alternatives/bzip2 has installed bzip2.

The archive is compressed with xz, which in later versions can run in a 
multithreaded fashion.  I don't know if emerge calls upon it to operate with 
multiple threads (e.g. xz --threads 0 foo.xz).

PS. The bzip2 is single threaded and a slow compressor to boot, but pbzip2 is 
multithreaded.


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


Re: [gentoo-user] Off Topic - UPnP servers

2024-05-24 Thread Michael
On Friday, 24 May 2024 01:32:29 BST Mark Knecht wrote:
> Hi,
>Please excuse my off topic question. Does anyone here use a UPnP server
> for audio files that they recommend as being particularly good?
> 
>I'm a Plex user for video and have also ripped my CD collection. Plex
> plays audio fine to TVs that have a Plex app but apparently sometimes
> doesn't work well (as of yet untested by me) to network streaming players.
> 
>While I don't know if the above will be a problem I've purchased a
> network streaming player and will test it out over the weekend when it
> arrives but if Plex doesn't work, or doesn't work well, then I'd like to
> find a UPnP server that does. Browsing around on the web I find a number of
> names:
> 
> 1. Kodi – Home Theater Software
> 2. Universal Media Server
> 3. Jellyfin – Free Software Media System
> 4. DMS – UPnP DLNA Digital Media Server
> 5. Coherence – DLNA/UPnP Media Server
> 6. SimpleDLNA – Free DLNA Media Server
> 7. Gerbera – Free Media Server
> 8. ReadyMedia – MiniDLNA Media Server
> 9. Rygel – Home Media Solution
> 
>Anyone have any first hand experience?
> 
> Thanks,
> Mark

I have not used a Plex Media Server or any of its client apps.  I have used 
Kodi and also MiniDLNA (now ReadyMedia).

Kodi is a very feature rich HTC and would be my go to system for both audio 
and video.  The only problem I found is it can take some manual configuration 
to sort out your own audio file libraries, with preferred thumbnails, etc.  
Ripped CDs do not have this problem, as they will fetch artwork from online 
databases:

https://kodi.wiki/view/Artwork/Cache

It is worth mentioning you should keep a backup of your configuration 
settings, in case things go sideways at any stage:

https://kodi.wiki/view/Kodi_data_folder

The MiniDLNA is a very simple and reliable server I use to serve video/audio/
photos to TVs.  It has an also simple /etc/minidlna.conf file, it'll take you 
=<2 minutes to edit with the path to your media files. The gotchas here are 
more pertinent to the video/audio codec limitations of the TV DLNA clients, 
rather than the server.  The server will stream whatever file the client asks 
for over the DLNA protocol.

HTH.


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


Re: [gentoo-user] 100% CPU load in qtwebengine

2024-05-24 Thread Peter Humphrey
On Thursday, 23 May 2024 20:13:27 BST Michael wrote:
> On Thursday, 23 May 2024 14:07:16 BST Peter Humphrey wrote:
> > Hello list,
> > 
> > On this box I have this:
> > 
> > # grep '\-j' /etc/portage/make.conf
> > EMERGE_DEFAULT_OPTS="--jobs --load-average=4 [...] "
> > MAKEOPTS="-j4 -l4"
> > 
> > That seems to work well, except for a 20s period at the beginning of
> > emerging qtwebengine, during which CPU load goes to 100%, according to
> > gkrellm.
> > 
> > It seems that the ebuild runs a process other than make, ignoring
> > make.conf. Does anyone here know what that might be, and why it
> > disregards my preferences?
> 
> Does this happen while  the source archive is being decompressed?

It could be; the .tar.xz file is 288MB - but I didn't think bzip2 was 
multithreaded*. I tried to check by rerunning the emerge, but it found a 
Gentoo binary and went to fetch that.

*  And app-alternatives/bzip2 has installed bzip2.

-- 
Regards,
Peter.


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


Re: [gentoo-user] mirrorselect build failed

2024-05-24 Thread Michael
On Friday, 24 May 2024 09:57:36 BST Waldo Lemmer wrote:
> Hi Michael,
> 
> -march=x86-64 and -mtune=generic will not speed up your OS installation.
> These flags tell compilers to produce binaries that can run on any AMD64
> system and that aren't optimized for your specific system.
> 
> These flags have no effect on binary packages, since those have already
> been compiled.

You're right, those are the settings the binary packages have been built with 
- my mistake, sorry!

The CFLAGS on the client should/could be tuned to its own CPU with "-
march=native". The "... speeding up of the OS installation" I had mentioned 
referred to downloading the binaries, rather than having to build them 
locally.

Anyway, the CFLAGS Jude posted are incorrect:

CFLAGS="-O2 -pipe -native"

and his CPU_FLAGS_X86 are incomplete:

CPU_FLAGS_X86="mmx mmxext sse sse2"

Your links should hopefully help Jude to set the correct settings for this 
system, before he continues with the Gentoo Handbook.

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


Re: [gentoo-user] mirrorselect build failed

2024-05-24 Thread Waldo Lemmer
Hi Michael,

-march=x86-64 and -mtune=generic will not speed up your OS installation.
These flags tell compilers to produce binaries that can run on any AMD64
system and that aren't optimized for your specific system.

These flags have no effect on binary packages, since those have already
been compiled.

If you want to speed up packages you compile yourself, you should use
-march=native. This is all well documented at
https://wiki.gentoo.org/wiki/GCC_optimization.

In order to use binary packages that have been optimized for more modern
systems, see https://www.gentoo.org/news/2024/02/04/x86-64-v3.html.

Regards
Waldo


On Fri, May 24, 2024, 10:40 Michael  wrote:

> Hi Jude,
>
> If you intend to use Gentoo's precompiled binary packages, to speed up
> your OS
> installation, you should have 'generic' CFLAGS; e.g.:
>
> CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
>
> Please check these pages:
>
> https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html
> https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart
> https://wiki.gentoo.org/wiki/Binary_package_guide
>
>
> On Thursday, 23 May 2024 22:45:52 BST Jude DaShiell wrote:
> > Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop,
> > gcc-13, glibc-2.39-r6, 6.6.7 x86_64)
> > =
> >  System Settings
> > =
> > System uname:
> > Linux-6.6.7-x86_64-Intel-R-_Core-TM-_i7-10700K_CPU_@
> _3.80GHz-with-glibc2.39
> > KiB Mem:16156144 total,  14998556 free
> > KiB Swap:   40700884 total,  40700884 free
> > Timestamp of repository gentoo: Thu, 23 May 2024 00:45:00 +
> > Head commit of repository gentoo:
> 6731026bd416e5bd05a2b380cfdf6ff7e7134fe5
> > sh bash 5.1_p16-r6
> > ld GNU ld (Gentoo 2.42 p3) 2.42.0
> > app-misc/pax-utils:1.3.7::gentoo
> > app-shells/bash:   5.1_p16-r6::gentoo
> > dev-build/autoconf:2.71-r7::gentoo
> > dev-build/automake:1.16.5-r2::gentoo
> > dev-build/libtool: 2.4.7-r4::gentoo
> > dev-build/make:4.4.1-r1::gentoo
> > dev-build/meson:   1.4.0-r1::gentoo
> > dev-lang/perl: 5.38.2-r3::gentoo
> > dev-lang/python:   3.11.9::gentoo, 3.12.3::gentoo
> > sys-apps/baselayout:   2.15::gentoo
> > sys-apps/openrc:   0.54::gentoo
> > sys-apps/sandbox:  2.38::gentoo
> > sys-devel/binutils:2.42-r1::gentoo
> > sys-devel/binutils-config: 5.5::gentoo
> > sys-devel/gcc: 13.2.1_p20240210::gentoo
> > sys-devel/gcc-config:  2.11::gentoo
> > sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
> > sys-libs/glibc:2.39-r6::gentoo
> > Repositories:
> >
> > gentoo
> > location: /var/db/repos/gentoo
> > sync-type: rsync
> > sync-uri: rsync://rsync.gentoo.org/gentoo-portage
> > priority: -1000
> > volatile: False
> > sync-rsync-verify-max-age: 3
> > sync-rsync-verify-metamanifest: yes
> > sync-rsync-extra-opts:
> > sync-rsync-verify-jobs: 1
> >
> > Binary Repositories:
> >
> > gentoobinhost
> > priority: 1
> > sync-uri:
> > https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
> >
> > ACCEPT_KEYWORDS="amd64"
> > ACCEPT_LICENSE="@FREE"
> > CBUILD="x86_64-pc-linux-gnu"
> > CFLAGS="-O2 -pipe -native"
> > CHOST="x86_64-pc-linux-gnu"
> > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
> > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
> > /etc/gentoo-release /etc/sandbox.d" CXXFLAGS="-O2 -pipe -native"
> > DISTDIR="/var/cache/distfiles"
> > ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY
> > GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX
> PERL_CORE
> > PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME
> > XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe -native"
> > FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
> > binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks
> > ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict
> > network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted
> > preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms
> > strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
> > userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -native"
> > GENTOO_MIRRORS="http://distfiles.gentoo.org;
> > LANG="en_US.utf8"
> > LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
> > LEX="flex"
> > MAKEOPTS="-j7 -l8"
> > PKGDIR="/var/cache/binpkgs"
> > PORTAGE_CONFIGROOT="/"
> > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
> > --omit-dir-times --compress --force --whole-file --delete --stats
> > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
> > --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp"
> > SHELL="/bin/bash"
> > USE="X a52 aac 

Re: [gentoo-user] mirrorselect build failed

2024-05-24 Thread Michael
Hi Jude,

If you intend to use Gentoo's precompiled binary packages, to speed up your OS 
installation, you should have 'generic' CFLAGS; e.g.:

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"

Please check these pages:

https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html
https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart
https://wiki.gentoo.org/wiki/Binary_package_guide


On Thursday, 23 May 2024 22:45:52 BST Jude DaShiell wrote:
> Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop,
> gcc-13, glibc-2.39-r6, 6.6.7 x86_64)
> =
>  System Settings
> =
> System uname:
> Linux-6.6.7-x86_64-Intel-R-_Core-TM-_i7-10700K_CPU_@_3.80GHz-with-glibc2.39
> KiB Mem:16156144 total,  14998556 free
> KiB Swap:   40700884 total,  40700884 free
> Timestamp of repository gentoo: Thu, 23 May 2024 00:45:00 +
> Head commit of repository gentoo: 6731026bd416e5bd05a2b380cfdf6ff7e7134fe5
> sh bash 5.1_p16-r6
> ld GNU ld (Gentoo 2.42 p3) 2.42.0
> app-misc/pax-utils:1.3.7::gentoo
> app-shells/bash:   5.1_p16-r6::gentoo
> dev-build/autoconf:2.71-r7::gentoo
> dev-build/automake:1.16.5-r2::gentoo
> dev-build/libtool: 2.4.7-r4::gentoo
> dev-build/make:4.4.1-r1::gentoo
> dev-build/meson:   1.4.0-r1::gentoo
> dev-lang/perl: 5.38.2-r3::gentoo
> dev-lang/python:   3.11.9::gentoo, 3.12.3::gentoo
> sys-apps/baselayout:   2.15::gentoo
> sys-apps/openrc:   0.54::gentoo
> sys-apps/sandbox:  2.38::gentoo
> sys-devel/binutils:2.42-r1::gentoo
> sys-devel/binutils-config: 5.5::gentoo
> sys-devel/gcc: 13.2.1_p20240210::gentoo
> sys-devel/gcc-config:  2.11::gentoo
> sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
> sys-libs/glibc:2.39-r6::gentoo
> Repositories:
> 
> gentoo
> location: /var/db/repos/gentoo
> sync-type: rsync
> sync-uri: rsync://rsync.gentoo.org/gentoo-portage
> priority: -1000
> volatile: False
> sync-rsync-verify-max-age: 3
> sync-rsync-verify-metamanifest: yes
> sync-rsync-extra-opts:
> sync-rsync-verify-jobs: 1
> 
> Binary Repositories:
> 
> gentoobinhost
> priority: 1
> sync-uri:
> https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
> 
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="@FREE"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -pipe -native"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
> /etc/gentoo-release /etc/sandbox.d" CXXFLAGS="-O2 -pipe -native"
> DISTDIR="/var/cache/distfiles"
> ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY
> GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE
> PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME
> XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe -native"
> FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
> binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks
> ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict
> network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted
> preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms
> strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
> userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -native"
> GENTOO_MIRRORS="http://distfiles.gentoo.org;
> LANG="en_US.utf8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
> LEX="flex"
> MAKEOPTS="-j7 -l8"
> PKGDIR="/var/cache/binpkgs"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
> --omit-dir-times --compress --force --whole-file --delete --stats
> --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
> --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp"
> SHELL="/bin/bash"
> USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr
> cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm
> gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg
> multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit
> ppds qt5 readline sdl seccomp sound spell ssl startup-notification svg
> test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan
> wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64"
> ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb
> unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm
> authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid
> dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter
> headers include info log_config logio mime mime_magic negotiation rewrite

Re: [gentoo-user] mirrorselect build failed

2024-05-23 Thread Waldo Lemmer
Hi Jude,

When the build failed, emerge asked you post 3 things when you need
support. Of those, you've managed to omit the most important thing, i.e.
the build log. Without it, it would be impossible to help you.

Regards,
Waldo

On Thu, May 23, 2024, 23:46 Jude DaShiell  wrote:

> Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop,
> gcc-13, glibc-2.39-r6, 6.6.7 x86_64)
> =
>  System Settings
> =
> System uname: Linux-6.6.7-x86_64-Intel-R-_Core-TM-_i7-10700K_CPU_@
> _3.80GHz-with-glibc2.39
> KiB Mem:16156144 total,  14998556 free
> KiB Swap:   40700884 total,  40700884 free
> Timestamp of repository gentoo: Thu, 23 May 2024 00:45:00 +
> Head commit of repository gentoo: 6731026bd416e5bd05a2b380cfdf6ff7e7134fe5
> sh bash 5.1_p16-r6
> ld GNU ld (Gentoo 2.42 p3) 2.42.0
> app-misc/pax-utils:1.3.7::gentoo
> app-shells/bash:   5.1_p16-r6::gentoo
> dev-build/autoconf:2.71-r7::gentoo
> dev-build/automake:1.16.5-r2::gentoo
> dev-build/libtool: 2.4.7-r4::gentoo
> dev-build/make:4.4.1-r1::gentoo
> dev-build/meson:   1.4.0-r1::gentoo
> dev-lang/perl: 5.38.2-r3::gentoo
> dev-lang/python:   3.11.9::gentoo, 3.12.3::gentoo
> sys-apps/baselayout:   2.15::gentoo
> sys-apps/openrc:   0.54::gentoo
> sys-apps/sandbox:  2.38::gentoo
> sys-devel/binutils:2.42-r1::gentoo
> sys-devel/binutils-config: 5.5::gentoo
> sys-devel/gcc: 13.2.1_p20240210::gentoo
> sys-devel/gcc-config:  2.11::gentoo
> sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
> sys-libs/glibc:2.39-r6::gentoo
> Repositories:
>
> gentoo
> location: /var/db/repos/gentoo
> sync-type: rsync
> sync-uri: rsync://rsync.gentoo.org/gentoo-portage
> priority: -1000
> volatile: False
> sync-rsync-verify-max-age: 3
> sync-rsync-verify-metamanifest: yes
> sync-rsync-extra-opts:
> sync-rsync-verify-jobs: 1
>
> Binary Repositories:
>
> gentoobinhost
> priority: 1
> sync-uri:
> https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
>
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="@FREE"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -pipe -native"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
> /etc/gentoo-release /etc/sandbox.d"
> CXXFLAGS="-O2 -pipe -native"
> DISTDIR="/var/cache/distfiles"
> ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY
> GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE
> PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME
> XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
> FCFLAGS="-O2 -pipe -native"
> FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
> binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks
> ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict
> network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted
> preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms
> strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
> userpriv usersandbox usersync xattr"
> FFLAGS="-O2 -pipe -native"
> GENTOO_MIRRORS="http://distfiles.gentoo.org;
> LANG="en_US.utf8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
> LEX="flex"
> MAKEOPTS="-j7 -l8"
> PKGDIR="/var/cache/binpkgs"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
> --omit-dir-times --compress --force --whole-file --delete --stats
> --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
> --exclude=/packages --exclude=/.git"
> PORTAGE_TMPDIR="/var/tmp"
> SHELL="/bin/bash"
> USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr
> cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm
> gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg
> multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit
> ppds qt5 readline sdl seccomp sound spell ssl startup-notification svg
> test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan
> wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64"
> ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb
> unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm
> authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid
> dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter
> headers include info log_config logio mime mime_magic negotiation rewrite
> setenvif speling status unique_id userdir usertrack vhost_alias"
> CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq
> load memory 

[gentoo-user] Off Topic - UPnP servers

2024-05-23 Thread Mark Knecht
Hi,
   Please excuse my off topic question. Does anyone here use a UPnP server
for audio files that they recommend as being particularly good?

   I'm a Plex user for video and have also ripped my CD collection. Plex
plays audio fine to TVs that have a Plex app but apparently sometimes
doesn't work well (as of yet untested by me) to network streaming players.

   While I don't know if the above will be a problem I've purchased a
network streaming player and will test it out over the weekend when it
arrives but if Plex doesn't work, or doesn't work well, then I'd like to
find a UPnP server that does. Browsing around on the web I find a number of
names:

1. Kodi – Home Theater Software
2. Universal Media Server
3. Jellyfin – Free Software Media System
4. DMS – UPnP DLNA Digital Media Server
5. Coherence – DLNA/UPnP Media Server
6. SimpleDLNA – Free DLNA Media Server
7. Gerbera – Free Media Server
8. ReadyMedia – MiniDLNA Media Server
9. Rygel – Home Media Solution

   Anyone have any first hand experience?

Thanks,
Mark


[gentoo-user] mirrorselect build failed

2024-05-23 Thread Jude DaShiell
Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop, 
gcc-13, glibc-2.39-r6, 6.6.7 x86_64)
=
 System Settings
=
System uname: 
Linux-6.6.7-x86_64-Intel-R-_Core-TM-_i7-10700K_CPU_@_3.80GHz-with-glibc2.39
KiB Mem:16156144 total,  14998556 free
KiB Swap:   40700884 total,  40700884 free
Timestamp of repository gentoo: Thu, 23 May 2024 00:45:00 +
Head commit of repository gentoo: 6731026bd416e5bd05a2b380cfdf6ff7e7134fe5
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:1.3.7::gentoo
app-shells/bash:   5.1_p16-r6::gentoo
dev-build/autoconf:2.71-r7::gentoo
dev-build/automake:1.16.5-r2::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make:4.4.1-r1::gentoo
dev-build/meson:   1.4.0-r1::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python:   3.11.9::gentoo, 3.12.3::gentoo
sys-apps/baselayout:   2.15::gentoo
sys-apps/openrc:   0.54::gentoo
sys-apps/sandbox:  2.38::gentoo
sys-devel/binutils:2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config:  2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:2.39-r6::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-max-age: 3
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1

Binary Repositories:

gentoobinhost
priority: 1
sync-uri: 
https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf 
/etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 
GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT 
XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR 
XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 
binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks 
ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict 
network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 
preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict 
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv 
usersandbox usersync xattr"
FFLAGS="-O2 -pipe -native"
GENTOO_MIRRORS="http://distfiles.gentoo.org;
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j7 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet 
crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui 
iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib 
ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 
readline sdl seccomp sound spell ssl startup-notification svg test-rust tiff 
truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb 
xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" 
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias 
auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host 
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir 
env expires ext_filter file_cache filter headers include info log_config logio 
mime mime_magic negotiation rewrite setenvif speling status unique_id userdir 
usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" 
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 
CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm 
earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 
ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 
tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" 
LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" 
LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" 

Re: [gentoo-user] 100% CPU load in qtwebengine

2024-05-23 Thread Michael
On Thursday, 23 May 2024 14:07:16 BST Peter Humphrey wrote:
> Hello list,
> 
> On this box I have this:
> 
> # grep '\-j' /etc/portage/make.conf
> EMERGE_DEFAULT_OPTS="--jobs --load-average=4 [...] "
> MAKEOPTS="-j4 -l4"
> 
> That seems to work well, except for a 20s period at the beginning of
> emerging qtwebengine, during which CPU load goes to 100%, according to
> gkrellm.
> 
> It seems that the ebuild runs a process other than make, ignoring make.conf.
> Does anyone here know what that might be, and why it disregards my
> preferences?

Does this happen while  the source archive is being decompressed?

You can check in top (press 'c' then 'Shift+v') to see what command/child 
process is eating up CPU time.  Use Page Up/Down to navigate through the long 
list.

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


[gentoo-user] 100% CPU load in qtwebengine

2024-05-23 Thread Peter Humphrey
Hello list,

On this box I have this:

# grep '\-j' /etc/portage/make.conf
EMERGE_DEFAULT_OPTS="--jobs --load-average=4 [...] "
MAKEOPTS="-j4 -l4"

That seems to work well, except for a 20s period at the beginning of emerging 
qtwebengine, during which CPU load goes to 100%, according to gkrellm.

It seems that the ebuild runs a process other than make, ignoring make.conf. 
Does anyone here know what that might be, and why it disregards my 
preferences?

-- 
Regards,
Peter.


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


Re: [gentoo-user] emerge-webrsync error

2024-05-22 Thread James Massa
Anyone know anything about top secret mind control devices?

 

The devices are suspected to be in haymarket melbourne australia and can control peoples brains with audio and visual data?

 

if anyone knows anyone from darpa or other agency maybe let them now

 
 

Sent: Thursday, May 23, 2024 at 3:18 AM
From: "Jude DaShiell" 
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge-webrsync error

Thanks, if I get to that point I'll remember that number!

--
Jude 
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo.
Please use in that order."
Ed Howdershelt 1940.

On Wed, 22 May 2024, Michael wrote:

> Or, more appropriately if you do not use a desktop then please select profile
> No. 21:
>
> [21] default/linux/amd64/23.0 (stable)
>
>
> On Wednesday, 22 May 2024 16:05:09 BST Michael wrote:
> > Ah! OK, this probably explains it.
> >
> > The latest and now default Gentoo profile is no longer 17.1, but 23.0,
> > which uses a merged /usr directory structure.
> >
> > Consequently, select profile 23:
> >
> > [23] default/linux/amd64/23.0/desktop (stable)
> >
> > On Wednesday, 22 May 2024 15:53:11 BST Jude DaShiell wrote:
> > > I used bash but don't know that there's a problem with bash.
> > > I burnt the whole system to the ground and still have the verified and
> > > validated stage3 file available on my system.
> > > Once stage3 is installed was the tee utility included on stage3? If so I
> > > can capture what's going on. When I ran emerge-webrsync again I was told
> > > bzip2 couldn't be found so if that was installed by stage3 there may be
> > > other problems.
> > > I'm going with efi since that's the computer default and openrc since
> > > that's gentoo's original default in my choices for the system. On the
> > > profile I'm going for the default 1 which is I think a command line
> > > interface since that's where I live most of the time.
>
>
 






Re: [gentoo-user] emerge-webrsync error

2024-05-22 Thread Jude DaShiell
Thanks, if I get to that point I'll remember that number!

-- 
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Wed, 22 May 2024, Michael wrote:

> Or, more appropriately if you do not use a desktop then please select profile
> No. 21:
>
> [21]  default/linux/amd64/23.0 (stable)
>
>
> On Wednesday, 22 May 2024 16:05:09 BST Michael wrote:
> > Ah! OK, this probably explains it.
> >
> > The latest and now default Gentoo profile is no longer 17.1,  but 23.0,
> > which uses a merged /usr directory structure.
> >
> > Consequently, select profile 23:
> >
> > [23] default/linux/amd64/23.0/desktop (stable)
> >
> > On Wednesday, 22 May 2024 15:53:11 BST Jude DaShiell wrote:
> > > I used bash but don't know that there's a problem with bash.
> > > I burnt the whole system to the ground and still have the verified and
> > > validated stage3 file available on my system.
> > > Once stage3 is installed was the tee utility included on stage3?  If so I
> > > can capture what's going on.  When I ran emerge-webrsync again I was told
> > > bzip2 couldn't be found  so if that was installed by stage3 there may be
> > > other problems.
> > > I'm going with efi since that's the computer default and openrc since
> > > that's gentoo's original default in my choices for the system.  On the
> > > profile I'm going for the default 1 which is I think a command line
> > > interface since that's where I live most of the time.
>
>



Re: [gentoo-user] emerge-webrsync error

2024-05-22 Thread Michael
Or, more appropriately if you do not use a desktop then please select profile 
No. 21:

[21]  default/linux/amd64/23.0 (stable)


On Wednesday, 22 May 2024 16:05:09 BST Michael wrote:
> Ah! OK, this probably explains it.
> 
> The latest and now default Gentoo profile is no longer 17.1,  but 23.0,
> which uses a merged /usr directory structure.
> 
> Consequently, select profile 23:
> 
> [23] default/linux/amd64/23.0/desktop (stable)
> 
> On Wednesday, 22 May 2024 15:53:11 BST Jude DaShiell wrote:
> > I used bash but don't know that there's a problem with bash.
> > I burnt the whole system to the ground and still have the verified and
> > validated stage3 file available on my system.
> > Once stage3 is installed was the tee utility included on stage3?  If so I
> > can capture what's going on.  When I ran emerge-webrsync again I was told
> > bzip2 couldn't be found  so if that was installed by stage3 there may be
> > other problems.
> > I'm going with efi since that's the computer default and openrc since
> > that's gentoo's original default in my choices for the system.  On the
> > profile I'm going for the default 1 which is I think a command line
> > interface since that's where I live most of the time.



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


Re: [gentoo-user] emerge-webrsync error

2024-05-22 Thread Michael
Ah! OK, this probably explains it.

The latest and now default Gentoo profile is no longer 17.1,  but 23.0, which 
uses a merged /usr directory structure.

Consequently, select profile 23:

[23] default/linux/amd64/23.0/desktop (stable)


On Wednesday, 22 May 2024 15:53:11 BST Jude DaShiell wrote:
> I used bash but don't know that there's a problem with bash.
> I burnt the whole system to the ground and still have the verified and
> validated stage3 file available on my system.
> Once stage3 is installed was the tee utility included on stage3?  If so I
> can capture what's going on.  When I ran emerge-webrsync again I was told
> bzip2 couldn't be found  so if that was installed by stage3 there may be
> other problems.
> I'm going with efi since that's the computer default and openrc since
> that's gentoo's original default in my choices for the system.  On the
> profile I'm going for the default 1 which is I think a command line
> interface since that's where I live most of the time.



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


Re: [gentoo-user] emerge-webrsync error

2024-05-22 Thread Jude DaShiell
I used bash but don't know that there's a problem with bash.
I burnt the whole system to the ground and still have the verified and
validated stage3 file available on my system.
Once stage3 is installed was the tee utility included on stage3?  If so I
can capture what's going on.  When I ran emerge-webrsync again I was told
bzip2 couldn't be found  so if that was installed by stage3 there may be
other problems.
I'm going with efi since that's the computer default and openrc since
that's gentoo's original default in my choices for the system.  On the
profile I'm going for the default 1 which is I think a command line
interface since that's where I live most of the time.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Wed, 22 May 2024, Michael wrote:

> You can check while within your chroot, if /dev/fd is a symlink to the
> directory /proc/self/fd.
>
> If the above is correct, then there may be a problem with your shell.  Check
> what you get when you run:
>
> # echo $SHELL
>
> or,
>
> # ps -p $$
>
> Bash should work fine, but from the little I understand about zsh it uses
> slightly different process substitution than bash.  If your shell is not bash
> try changing to it, to see if it makes a difference:
>
> chsh -s /bin/bash
>
> I don't know if this is the cause of your problem, but it's worth a try.
>
>
> On Wednesday, 22 May 2024 14:45:40 BST Michael Orlitzky wrote:
> > On Wed, 2024-05-22 at 09:40 -0400, Jude DaShiell wrote:
> > > Yes, this is during installation.
> > > I did type:
> > > mount --rbind /dev /mnt/gentoo/dev
> > > I was outside of chroot at the time but that's all I did with dev before
> > > running emerge-webrsync.
> >
> > Ok, that was my one guess. I'm out of ideas, sorry.
>
>



Re: [gentoo-user] emerge-webrsync error

2024-05-22 Thread Michael
You can check while within your chroot, if /dev/fd is a symlink to the 
directory /proc/self/fd.

If the above is correct, then there may be a problem with your shell.  Check 
what you get when you run:

# echo $SHELL

or,

# ps -p $$

Bash should work fine, but from the little I understand about zsh it uses 
slightly different process substitution than bash.  If your shell is not bash 
try changing to it, to see if it makes a difference:

chsh -s /bin/bash

I don't know if this is the cause of your problem, but it's worth a try.


On Wednesday, 22 May 2024 14:45:40 BST Michael Orlitzky wrote:
> On Wed, 2024-05-22 at 09:40 -0400, Jude DaShiell wrote:
> > Yes, this is during installation.
> > I did type:
> > mount --rbind /dev /mnt/gentoo/dev
> > I was outside of chroot at the time but that's all I did with dev before
> > running emerge-webrsync.
> 
> Ok, that was my one guess. I'm out of ideas, sorry.



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


Re: [gentoo-user] emerge-webrsync error

2024-05-22 Thread Michael Orlitzky
On Wed, 2024-05-22 at 09:40 -0400, Jude DaShiell wrote:
> Yes, this is during installation.
> I did type:
> mount --rbind /dev /mnt/gentoo/dev
> I was outside of chroot at the time but that's all I did with dev before
> running emerge-webrsync.
> 

Ok, that was my one guess. I'm out of ideas, sorry.




Re: [gentoo-user] emerge-webrsync error

2024-05-22 Thread Jude DaShiell
Yes, this is during installation.
I did type:
mount --rbind /dev /mnt/gentoo/dev
I was outside of chroot at the time but that's all I did with dev before
running emerge-webrsync.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Wed, 22 May 2024, Michael Orlitzky wrote:

> Is this during install? Maybe forgot to bind-mount /dev from the real
> system into your chroot?
>
>



Re: [gentoo-user] emerge-webrsync error

2024-05-22 Thread Michael Orlitzky
Is this during install? Maybe forgot to bind-mount /dev from the real
system into your chroot?



[gentoo-user] emerge-webrsync error

2024-05-22 Thread Jude DaShiell
This one is the last two lines of output.

Failed to validate a sane '/dev'.
bash process substitution doesn't work; this may be an indication of a
broken '/dev/fd'.

What did I do wrong?


-- 
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.



Re: [gentoo-user] gentoo starting with stage3

2024-05-21 Thread Jude DaShiell
Ok in this case I'm using slint to do the install with stage3 so those
lines are needed.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Tue, 21 May 2024, Michael wrote:

> The line to test if a symlink exists to /run/shm/ from /dev/shm is only needed
> when you use non-Gentoo live media to install your system.
>
> With the Gentoo installation media, whether you use the minimal CD or the
> admincd, such an action is not needed.
>
>
> On Tuesday, 21 May 2024 17:52:01 BST Jude DaShiell wrote:
> > I am installing gentoo to a different disk on the machine and the
> > install-x86_64-minimal disk is not fit for purpose since I cannot get
> > espeak reading the screen as I go through an installation.
> > Most things are pointed at /mnt/gentoo on my system when doing commands.
> > However in lines where proc is mounted in the handbook a line test -L
> > /dev/shm  && rm /dev/shm && mkdir /dev/shm
> > appears.  This likely effects the machine until the next boot and has no
> > effect on /mnt/gentoo.
> > Is this a relic for those installing from install-x86_64-minimal disks and
> > only applies to them?
> > I'm not doing any of the slave entries since I figure to install with
> > openrc not systemd.
> >
> >
> > --
> >  Jude 
> >  "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo.
> >  Please use in that order."
> >  Ed Howdershelt 1940.
>
>



Re: [gentoo-user] gentoo starting with stage3

2024-05-21 Thread Michael
The line to test if a symlink exists to /run/shm/ from /dev/shm is only needed 
when you use non-Gentoo live media to install your system.

With the Gentoo installation media, whether you use the minimal CD or the 
admincd, such an action is not needed.


On Tuesday, 21 May 2024 17:52:01 BST Jude DaShiell wrote:
> I am installing gentoo to a different disk on the machine and the
> install-x86_64-minimal disk is not fit for purpose since I cannot get
> espeak reading the screen as I go through an installation.
> Most things are pointed at /mnt/gentoo on my system when doing commands.
> However in lines where proc is mounted in the handbook a line test -L
> /dev/shm  && rm /dev/shm && mkdir /dev/shm
> appears.  This likely effects the machine until the next boot and has no
> effect on /mnt/gentoo.
> Is this a relic for those installing from install-x86_64-minimal disks and
> only applies to them?
> I'm not doing any of the slave entries since I figure to install with
> openrc not systemd.
> 
> 
> --
>  Jude 
>  "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo.
>  Please use in that order."
>  Ed Howdershelt 1940.



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


[gentoo-user] gentoo starting with stage3

2024-05-21 Thread Jude DaShiell
I am installing gentoo to a different disk on the machine and the
install-x86_64-minimal disk is not fit for purpose since I cannot get
espeak reading the screen as I go through an installation.
Most things are pointed at /mnt/gentoo on my system when doing commands.
However in lines where proc is mounted in the handbook a line test -L
/dev/shm  && rm /dev/shm && mkdir /dev/shm
appears.  This likely effects the machine until the next boot and has no
effect on /mnt/gentoo.
Is this a relic for those installing from install-x86_64-minimal disks and
only applies to them?
I'm not doing any of the slave entries since I figure to install with
openrc not systemd.


--
 Jude 
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.



[gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-21 Thread Grant Edwards
On 2024-05-21, Dale  wrote:

>> Here's my udev rules file that defines my network interface names
>> for the machine I'm on at the moment:
>>
>> --/etc/udev/rules.d/70-my-persistent-net.rules---
>> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="2c:f0:5d:6f:10:af", 
>> NAME="net0"
>> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1b:21:b1:d1:e9", 
>> NAME="net1"
>> -
>
> Examples do help a lot.  I do use the enp* naming scheme.  My
> understanding, that is the "new" way.

The suffix for those enp* names comes from the PCI bus subsystem based
on bus number, slot number, etc.  [Yes, slot number apparently does
change based on what PCIe cards are present. No, that doesn't make
sense to me either]

> Based on your config, I would need to change the NAME= to enp* names
> and that would correct that.

I suppose you could, but I would not use enp* names. Those could
conflict with the autogenerated names.

> Where you have ATTR, is that a quote or did you edit to remove a
> number, MAC address, IP or something? 

What I posted is exactly what's in the file
(without the --- delimiters).

Here's more documentation:

https://wiki.gentoo.org/wiki/Udev
https://wiki.archlinux.org/title/udev
https://wiki.archlinux.org/title/Network_configuration#Change_interface_name

[The arch Wiki is always a good fallback if the Gentoo manual/Wiki
don't have what you're looking for.]

> If it is one of those, where do I find that info?  I checked
> ifconfig and didn't see a MAC address.  I also checked lspci -v. 
> I'm not sure where you get the needed info from.   BTW, right now,
> I'm on my main rig. 

The only thing you need to change from my example would be the mac
address(es) (e.g. 2c:f0:5d:6f:10:af) and the names (e.g. net0).

> I have the package net-misc/networkmanager installed.  Most likely
> pulled in by something else.  Could I use it to configure this? 

Possibly, I don't use networkmanager and don't know how it works on
Gentoo.  I use the default Gentoo netifrc scheme
https://wiki.gentoo.org/wiki/Netifrc.

> I also have KDE installed on the NAS box, it is also a backup rig in
> case my main rig dies.  It may have a GUI that I could use.  I'm not
> opposed to the command line way tho.  Biggest thing, copy and paste
> would be nice. 

I don't know much of anything about KDE.

--
Grant





Re: [gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-21 Thread Dale
Grant Edwards wrote:
> On 2024-05-21, Dale  wrote:
>
>
>>> If you want consisent network device names (even when you change
>>> hardware), you need to either
>>>
>>>  1. create udev rules that assign device names based on MAC addresses.
>>>
>>>  2. use a network configuration subsystem that assigns device names
>>> and configurations based on MAC addresses.
>> Do you, or someone else, know of a good howto on how to use MAC
>> addresses like that?  Given this thing is usually remotely accessed, I
>> really need it to be consistent with or without the card.  Maybe you
>> have a bookmarked link saved somewhere.  I'm on openrc to.  I'll google
>> around but you, or someone else here, may have a really good and simple
>> howto link. 
> The udev way is probably the most universal. Some distros will create
> udev rules automagically so that network interface names persist over
> hardware changes, but Gentoo doesn't.  Here's my udev rules file that
> defines my network interface names for the machine I'm on at the moment:
>
> --/etc/udev/rules.d/70-my-persistent-net.rules---
> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="2c:f0:5d:6f:10:af", 
> NAME="net0"
> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1b:21:b1:d1:e9", 
> NAME="net1"
> -
>
> I used to use "ethN" instead of "netN", but those names are used
> internally by the kernel during startup, and people were warned not to
> use them in udev rules because of certain race conditions that might
> happen.  I never ran into problems using "ethN" names, but eventually
> decided not to push my luck.
>
> The network configuration route depends on what network configuration
> (and possibly init) system you use.  I know how to do it that way on
> Ubunutu (which is systemd based) using netplan...
>
> --
> Grant

Examples do help a lot.  I do use the enp* naming scheme.  My
understanding, that is the "new" way.  Based on your config, I would
need to change the NAME= to enp* names and that would correct that. 
Where you have ATTR, is that a quote or did you edit to remove a number,
MAC address, IP or something?  If it is one of those, where do I find
that info?  I checked ifconfig and didn't see a MAC address.  I also
checked lspci -v.  I'm not sure where you get the needed info from. 
BTW, right now, I'm on my main rig. 

I have the package net-misc/networkmanager installed.  Most likely
pulled in by something else.  Could I use it to configure this?  I also
have KDE installed on the NAS box, it is also a backup rig in case my
main rig dies.  It may have a GUI that I could use.  I'm not opposed to
the command line way tho.  Biggest thing, copy and paste would be nice. 
;-) 

I'm trying to hoe weeds in my garden at the moment.  Hoe a little, take
a break, then repeat.  I did sharpen the edge on my hoe tho.  If I touch
it, it's cut.  Makes it a lot easier. 

Thanks. 

Dale

:-)  :-) 



[gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-21 Thread Grant Edwards
On 2024-05-21, Dale  wrote:


>> If you want consisent network device names (even when you change
>> hardware), you need to either
>>
>>  1. create udev rules that assign device names based on MAC addresses.
>>
>>  2. use a network configuration subsystem that assigns device names
>> and configurations based on MAC addresses.
>
> Do you, or someone else, know of a good howto on how to use MAC
> addresses like that?  Given this thing is usually remotely accessed, I
> really need it to be consistent with or without the card.  Maybe you
> have a bookmarked link saved somewhere.  I'm on openrc to.  I'll google
> around but you, or someone else here, may have a really good and simple
> howto link. 

The udev way is probably the most universal. Some distros will create
udev rules automagically so that network interface names persist over
hardware changes, but Gentoo doesn't.  Here's my udev rules file that
defines my network interface names for the machine I'm on at the moment:

--/etc/udev/rules.d/70-my-persistent-net.rules---
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="2c:f0:5d:6f:10:af", NAME="net0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1b:21:b1:d1:e9", NAME="net1"
-

I used to use "ethN" instead of "netN", but those names are used
internally by the kernel during startup, and people were warned not to
use them in udev rules because of certain race conditions that might
happen.  I never ran into problems using "ethN" names, but eventually
decided not to push my luck.

The network configuration route depends on what network configuration
(and possibly init) system you use.  I know how to do it that way on
Ubunutu (which is systemd based) using netplan...

--
Grant








Re: [gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-21 Thread Dale
Grant Edwards wrote:
> On 2024-05-21, Dale  wrote:
>
>> So they both show up.  When I try to start the network, it says:
>>
>> ERROR: Interface enp3s0 does not exist.
> Are you sure the network interface name hasn't changed?  What does
> "ifconfig -a" or "ip addr" show?
>
> After booting up, what does "dmesg | grep enp" show?
>
>> Ensure that you have loaded the correct kernel module for your hardware.
>>
>>
>> I find that odd since it obviously sees the card.  It's in the list
>> above after all.  So, it sees the card but can't see it.  0_o  Odd. 
> Identifying the presense of a PCI card and creating the device by
> which is is accessed are two different things.
>
>> I tried different slots for the SATA card and they all do the same
>> thing.  Wouldn't each slot have a different interrupt?
> No.  If cards are using legacy interrupts (most do) there are four
> interrupts (A,B,C,D) that are shared by all cards (just like there
> always were). Newer cards and motherboards can use something called
> MSI or MSI-X interrupts that aren't shared, but in my experience the
> use of those isn't very widespread.
>
>> It was at this point, I checked your suggestion.  I looked and noticed
>> that the network card was now at slot 4 not slot 3 like it used to be. 
>> So, I created a new link to slot 4.  The network came up.  So,
>> basically, it changed names as you suggested. I thought the purpose of
>> the enp* names was that they are consistent. 
> They are consistent through reboots.  They are not consistent if you
> change hardware.
>
>> Adding or removing cards wouldn't change the names of cards, like
>> network cards.
> Yes, it can.
>
>> It seems, in this case at least, the names can change.  Any way to
>> make adding the card not change this??  I tend to not have a monitor
>> or keyboard connected to this rig.
> If you want consisent network device names (even when you change
> hardware), you need to either
>
>  1. create udev rules that assign device names based on MAC addresses.
>
>  2. use a network configuration subsystem that assigns device names
> and configurations based on MAC addresses.
>
> --
> Grant

Do you, or someone else, know of a good howto on how to use MAC
addresses like that?  Given this thing is usually remotely accessed, I
really need it to be consistent with or without the card.  Maybe you
have a bookmarked link saved somewhere.  I'm on openrc to.  I'll google
around but you, or someone else here, may have a really good and simple
howto link. 

Well, learned something in the past couple days.  Thanks.

Dale

:-)  :-) 



[gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-21 Thread Grant Edwards
On 2024-05-21, Dale  wrote:

> So they both show up.  When I try to start the network, it says:
>
> ERROR: Interface enp3s0 does not exist.

Are you sure the network interface name hasn't changed?  What does
"ifconfig -a" or "ip addr" show?

After booting up, what does "dmesg | grep enp" show?

> Ensure that you have loaded the correct kernel module for your hardware.
>
>
> I find that odd since it obviously sees the card.  It's in the list
> above after all.  So, it sees the card but can't see it.  0_o  Odd. 

Identifying the presense of a PCI card and creating the device by
which is is accessed are two different things.

> I tried different slots for the SATA card and they all do the same
> thing.  Wouldn't each slot have a different interrupt?

No.  If cards are using legacy interrupts (most do) there are four
interrupts (A,B,C,D) that are shared by all cards (just like there
always were). Newer cards and motherboards can use something called
MSI or MSI-X interrupts that aren't shared, but in my experience the
use of those isn't very widespread.

> It was at this point, I checked your suggestion.  I looked and noticed
> that the network card was now at slot 4 not slot 3 like it used to be. 
> So, I created a new link to slot 4.  The network came up.  So,
> basically, it changed names as you suggested. I thought the purpose of
> the enp* names was that they are consistent. 

They are consistent through reboots.  They are not consistent if you
change hardware.

> Adding or removing cards wouldn't change the names of cards, like
> network cards.

Yes, it can.

> It seems, in this case at least, the names can change.  Any way to
> make adding the card not change this??  I tend to not have a monitor
> or keyboard connected to this rig.

If you want consisent network device names (even when you change
hardware), you need to either

 1. create udev rules that assign device names based on MAC addresses.

 2. use a network configuration subsystem that assigns device names
and configurations based on MAC addresses.

--
Grant





Re: [gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-21 Thread Neil Bothwick
On Tue, 21 May 2024 06:51:51 -0400, Rich Freeman wrote:

>  I usually stick e*
> in my networkd config for the device name on single-NIC hosts.  If you
> have multiple NICs then I maybe there is a better way to go about it -
> maybe there is a network manager that can use more data from the NIC
> itself to track them.

systemd .network definitions can match on MAC address, if that helps.


-- 
Neil Bothwick

... "I dropped my toothpaste," Tom said, Crestfallen.


pgpGZMKuEyY6P.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-21 Thread karl
Dale:
...
> ERROR: Interface enp3s0 does not exist.
> Ensure that you have loaded the correct kernel module for your hardware.
...

 Do:
cat /proc/net/dev

Regards,
/Karl Hammar





Re: [gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-21 Thread Rich Freeman
On Tue, May 21, 2024 at 6:38 AM Dale  wrote:
>
> So, I created a new link to slot 4.  The network came up.  So,
> basically, it changed names as you suggested. I thought the purpose of
> the enp* names was that they are consistent.  Adding or removing cards
> wouldn't change the names of cards, like network cards.

Nope, persistent names are only persistent as long as there are no
hardware changes.

Under the old system if you had 10 NICs on a host, on any reboot some
of them could change names, at least in theory.  Under the new system
if you have 10 NICs on one host and don't touch the hardware, the
names will never change.

Under the old system if you had 1 NIC in a host, the name would never
change even if the hardware did change.  Under the new system if you
have 1 NIC in a host, the name could change if the hardware changes.

It is basically a tradeoff, which makes life much better if you have
multiple NICs, and marginally worse if you have only one.  However,
hardware changes than can cause a name change are probably rare, and
if you have only one NIC then ideally your network manager can just
use wildcards to not care so much about the name.  I usually stick e*
in my networkd config for the device name on single-NIC hosts.  If you
have multiple NICs then I maybe there is a better way to go about it -
maybe there is a network manager that can use more data from the NIC
itself to track them.

-- 
Rich



Re: [gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-21 Thread Dale
Grant Edwards wrote:
> On 2024-05-20, Dale  wrote:
>
> A 3.0 card is supposed to work fine in a 2.0 slot.
>
>> You, or anyone, have any idea why that card would kill my network? 
>> I suspect the card itself is fine.  It did see the drive.  I just
>> need the internet to work since it may be used in a NAS rig.
> Is it causing the network interface to not show up at all in lspci?
>
> Is it causing the network device name to change?
>
> Or is the network interface still detected, still named the same, and
> just doesn't send/receive packets?
>
> It could be some sort of interrupt sharing problem. Even with PCI
> express, cards still sometimes have to share interrupts.  Intel/IBM
> made that bad decision 45 years ago, and we're still suffering because
> of it.  If that the problem, sometimes you can avoid it by physically
> rearranging the cards.
>
> The later PCI hosts/boards finally came up with a way to avoid it, but
> a lot of cards still don't support that.
>
> --
> Grant


It does show up in lspci.  This is the output of lspci -tv.  The SATA
card is about 4 down.  The network is about 6 down. 



-[:00]-+-00.0  Advanced Micro Devices, Inc. [AMD/ATI] RX780/RX790
Host Bridge
   +-02.0-[01]--+-00.0  NVIDIA Corporation GK107 [NVS 510]
   |    \-00.1  NVIDIA Corporation GK107 HDMI Audio
Controller
   +-07.0-[02]00.0  ASMedia Technology Inc. ASM1166 Serial
ATA Controller
   +-09.0-[03]00.0  NEC Corporation uPD720200 USB 3.0 Host
Controller
   +-0a.0-[04]00.0  Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   +-11.0  Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
   +-12.0  Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   +-12.1  Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB
OHCI1 Controller
   +-12.2  Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
   +-13.0  Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   +-13.1  Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB
OHCI1 Controller
   +-13.2  Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
   +-14.0  Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus
Controller
   +-14.1  Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 IDE Controller
   +-14.2  Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia
(Intel HDA)
   +-14.3  Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 LPC host controller
   +-14.4-[05]0e.0  Texas Instruments TSB43AB23
IEEE-1394a-2000 Controller (PHY/Link)
   +-14.5  Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
   +-18.0  Advanced Micro Devices, Inc. [AMD] Family 10h
Processor HyperTransport Configuration
   +-18.1  Advanced Micro Devices, Inc. [AMD] Family 10h
Processor Address Map
   +-18.2  Advanced Micro Devices, Inc. [AMD] Family 10h
Processor DRAM Controller
   +-18.3  Advanced Micro Devices, Inc. [AMD] Family 10h
Processor Miscellaneous Control
   \-18.4  Advanced Micro Devices, Inc. [AMD] Family 10h
Processor Link Control



So they both show up.  When I try to start the network, it says:


ERROR: Interface enp3s0 does not exist.
Ensure that you have loaded the correct kernel module for your hardware.


I find that odd since it obviously sees the card.  It's in the list
above after all.  So, it sees the card but can't see it.  0_o  Odd. 

I tried different slots for the SATA card and they all do the same
thing.  Wouldn't each slot have a different interrupt?  It's been ages
since I had to deal with any of that.  Mostly it was on IDE drives and
the master/slave thing.  Oh, the other odd thing, it sees drives
connected to the SATA card as well. 

It was at this point, I checked your suggestion.  I looked and noticed
that the network card was now at slot 4 not slot 3 like it used to be. 
So, I created a new link to slot 4.  The network came up.  So,
basically, it changed names as you suggested. I thought the purpose of
the enp* names was that they are consistent.  Adding or removing cards
wouldn't change the names of cards, like network cards.  It seems, in
this case at least, the names can change.  Any way to make adding the
card not change this??  I tend to not have a monitor or keyboard
connected to this rig.

This is great tho.  I now have one extra SATA card already here. 
Another that I ordered a couple weeks ago that is still on the way.  I
also have two more from Amazon on the way.  Two 10 port cards, two 8
port ones.  That's 36 drives.  I think I'm all stocked up on SATA cards
now.  I need more hard drives, still.  According to du, I have 67TBs of
data here not including backups.  0_0

We got it all working.  It never occurred to me that the slot number
would change.  

[gentoo-user] Re: PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread Grant Edwards
On 2024-05-20, Dale  wrote:

A 3.0 card is supposed to work fine in a 2.0 slot.

> You, or anyone, have any idea why that card would kill my network? 
> I suspect the card itself is fine.  It did see the drive.  I just
> need the internet to work since it may be used in a NAS rig.

Is it causing the network interface to not show up at all in lspci?

Is it causing the network device name to change?

Or is the network interface still detected, still named the same, and
just doesn't send/receive packets?

It could be some sort of interrupt sharing problem. Even with PCI
express, cards still sometimes have to share interrupts.  Intel/IBM
made that bad decision 45 years ago, and we're still suffering because
of it.  If that the problem, sometimes you can avoid it by physically
rearranging the cards.

The later PCI hosts/boards finally came up with a way to avoid it, but
a lot of cards still don't support that.

--
Grant




Re: [gentoo-user] PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread Mark Knecht
> You could be right.  I did find one interesting post in my google search,
one person updated their BIOS and fixed the issue.  Pretty sure mine is up
to date.  Given the age of the mobo, I doubt they even think of releasing a
new BIOS for that old thing.
>
> Anyway, I found a card with a Marvel chip instead of ASMedia.  It also
says in the description that it is PCIe v2.0.  I'm hoping it will work.
>
> I need to read up more on lspci.  I mostly use the -k option to show
kernel drivers in use for each chip thing.  I've never used the -t option.
Gonna go play with that a bit.
>
-k is good. -n, -t, -v come in handy. You can also dump
the PCI config space to look at address mapping if that
comes up. (And might be useful if it turns out the SATA
card and network controller are both identifiable but
somehow overlapping each other, which would be VERY
bad if it happened)

Anyway, if you dig in and provide data someone here
can help where your background isn't deep enough
or it gets confusing.


Re: [gentoo-user] PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread Dale
Mark Knecht wrote:
>
>
> On Mon, May 20, 2024 at 12:09 PM Dale  > wrote:
> >
> 
> > First, I thought cards were backward compatible?  You could stick a 3.0
> > into a 2.0 slot and it would just run as a 2.0 and vice versa.  I know
> > the mobo is 2.0.  It does recognize the drive but seems to nuke the
> > ethernet somehow.  I looked, there is no switches on the card.  I don't
> > see a way to adjust how it works or anything.
> >
> 
>
> You've gotten a number of good answers so I won't duplicate any
> of that, but as someone who worked designing PCI and PCI Express
> hardware I make a couple of observations:
>
> 1) A hardware spec can be backward compatible but if BIOS 
> doesn't, or didn't at the time, do everything correctly, then a 
> PCI Express chip mounted on an adapter card and misprogrammed
> by BIOS can cause a lot of problems.
>
> 2) To me, this problem smells of the sort of thing we used to
> see when BIOS (or potentially the OS) didn't handle PCI
> Bridges correctly.
>
> The way a lot of this Wide PCI Express to multiple slow
> interfaces work is by embedding a PCI Express Bridge 
> inside the chip and then branching out to independant 
> PCI Express (or just PCI) narrow devices inside the chip
> and behind the bridge. 
>
> You can see a representation of this stuff using the 
> commands:
>
> lspci 
> lspci -t -v (or -vvv) 
>
> The numbers you see are the PCI device number BIOS
> has given each device. If a device number has a dot 
> something value then these are subdevices inside the
> chip. When you see the depth getting large and you 
> start to see sub-busses you are actually getting there
> through a bridge. 
>
> The problem is a lot of old BIOS's didn't handle bridges
> correctly, and a lot of bridges didn't work correctly, and
> the PCI Bridge specs were changing along the way.
>
> If you look at the tree structure with the card out and card 
> in the machine then you may find out that there is a
> problem, such as the network controller not showing up.
>
> As the network controller is likely in the motherboard
> chipset it is possible that a PCI Express network adapter
> will do better, but that's sort of hunt and peck.
>
> Best wishes, good luck and happy hunting,
> Mark

You could be right.  I did find one interesting post in my google
search, one person updated their BIOS and fixed the issue.  Pretty sure
mine is up to date.  Given the age of the mobo, I doubt they even think
of releasing a new BIOS for that old thing. 

Anyway, I found a card with a Marvel chip instead of ASMedia.  It also
says in the description that it is PCIe v2.0.  I'm hoping it will work. 

I need to read up more on lspci.  I mostly use the -k option to show
kernel drivers in use for each chip thing.  I've never used the -t
option.  Gonna go play with that a bit. 

Dale

:-)  :-) 

P. S.  I had started saving up for my new rig again.  Tank on my toilet
cracked and started leaking.  Pardon the pun, the money I had saved up,
got flushed.  :-(  Got a new toilet tho.  I keep playing with the lid. 
It closes itself.  O_O 


Re: [gentoo-user] PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread Mark Knecht
On Mon, May 20, 2024 at 12:09 PM Dale  wrote:
>

> First, I thought cards were backward compatible?  You could stick a 3.0
> into a 2.0 slot and it would just run as a 2.0 and vice versa.  I know
> the mobo is 2.0.  It does recognize the drive but seems to nuke the
> ethernet somehow.  I looked, there is no switches on the card.  I don't
> see a way to adjust how it works or anything.
>


You've gotten a number of good answers so I won't duplicate any
of that, but as someone who worked designing PCI and PCI Express
hardware I make a couple of observations:

1) A hardware spec can be backward compatible but if BIOS
doesn't, or didn't at the time, do everything correctly, then a
PCI Express chip mounted on an adapter card and misprogrammed
by BIOS can cause a lot of problems.

2) To me, this problem smells of the sort of thing we used to
see when BIOS (or potentially the OS) didn't handle PCI
Bridges correctly.

The way a lot of this Wide PCI Express to multiple slow
interfaces work is by embedding a PCI Express Bridge
inside the chip and then branching out to independant
PCI Express (or just PCI) narrow devices inside the chip
and behind the bridge.

You can see a representation of this stuff using the
commands:

lspci
lspci -t -v (or -vvv)

The numbers you see are the PCI device number BIOS
has given each device. If a device number has a dot
something value then these are subdevices inside the
chip. When you see the depth getting large and you
start to see sub-busses you are actually getting there
through a bridge.

The problem is a lot of old BIOS's didn't handle bridges
correctly, and a lot of bridges didn't work correctly, and
the PCI Bridge specs were changing along the way.

If you look at the tree structure with the card out and card
in the machine then you may find out that there is a
problem, such as the network controller not showing up.

As the network controller is likely in the motherboard
chipset it is possible that a PCI Express network adapter
will do better, but that's sort of hunt and peck.

Best wishes, good luck and happy hunting,
Mark


Re: [gentoo-user] PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread Dale
mad.scientist.at.la...@tutanota.com wrote:
> You probably need to adjust the bios, possibly starting with the fail safe or 
> optimized defaults and then changing what you need to after everything is 
> basically working.
>

I tried it and same thing.  It was a good thought tho.  I tend to run
the defaults, except disabling the splash screen thing, but still, it
could have helped. 

I noticed a new message right after the BIOS post and Grub loading.  It
says, typing by hand from a video. 

Warning: Have option ROM can not be invoke (Vendor ID: 1B21h, Deivce ID:

Typo is theirs.  It should be device I think.  Also, very last bit is
under a thing the monitor puts on the screen right after it powers up. 
It never shows what's under it.  I think it is translated from another
language.  I looked up the ID and it is the vendor for the chip on the
SATA card, ASMedia.  So, pretty sure that is related to the SATA card. 
After that message, it usually lists all the drives it sees.  It doesn't
list anything but the drive with the OS on it.  My main rig does the
same.  It's only when the kernel loads and Gentoo starts booting using
its driver that the drives connected to the card are seen.  I have to
make sure to put my DVD drive and OS drive on the mobo itself.  I also
put the drive with /home on the mobo.  The other data drives that are
not needed until I login and decrypt them are connected to the SATA
cards.  It's just how it works with this mobo, maybe all of them. 

Anyway, BIOS reset didn't help.  Maybe that error above will give
someone a clue.  Google isn't much help either.  :/

Dale

:-)  :-) 



Re: [gentoo-user] PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread mad . scientist . at . large
You probably need to adjust the bios, possibly starting with the fail safe or 
optimized defaults and then changing what you need to after everything is 
basically working.


May 20, 2024, 14:26 by :

> For card specs I always do a web search with the model number, though you may 
> have to put it in a slot to read that info.  Most of the cards I buy come 
> from ebay, used, so I'm always looking up the specs.  
>
> If it's from a server looking up the part number from one of the labels 
> should work.  
>
> For the ones I decide to buy I always get the manuals and latest firmware, 
> also via a search on the manufacturers site or on the web in general.  Most  
> companies are good about keeping even the information on obsolete cards 
> available but some are terrible about that.
>
> May 20, 2024, 13:28 by k...@aspodata.se:
>
>> Dale:
>> ...
>>
>>> First, I thought cards were backward compatible?  You could stick a 3.0
>>> into a 2.0 slot and it would just run as a 2.0 and vice versa.  I know
>>> the mobo is 2.0.  It does recognize the drive but seems to nuke the
>>> ethernet somehow.  I looked, there is no switches on the card.  I don't
>>> see a way to adjust how it works or anything.
>>>
>> ...
>>
>>  From first section of 
>> https://en.wikipedia.org/wiki/PCI_Express#PCI_Express_3.0
>>
>>  PCI Express 3.0 Base specification revision 3.0 was made available in
>>  November 2010, after multiple delays. In August 2007, PCI-SIG announced
>>  that PCI Express 3.0 would carry a bit rate of 8 gigatransfers per second
>>  (GT/s), and that it would be backward compatible with existing PCI
>>  Express implementations.
>>
>>  Though in https://en.wikipedia.org/wiki/PCI_Express#Comparison_table
>>  they are said to have different encodings.
>>
>>  Unfortunately the specs (https://pcisig.com/specifications) are only
>>  available for members.
>>
>> Regards,
>> /Karl Hammar
>>




Re: [gentoo-user] PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread mad . scientist . at . large
For card specs I always do a web search with the model number, though you may 
have to put it in a slot to read that info.  Most of the cards I buy come from 
ebay, used, so I'm always looking up the specs.  

If it's from a server looking up the part number from one of the labels should 
work.  

For the ones I decide to buy I always get the manuals and latest firmware, also 
via a search on the manufacturers site or on the web in general.  Most  
companies are good about keeping even the information on obsolete cards 
available but some are terrible about that.

May 20, 2024, 13:28 by k...@aspodata.se:

> Dale:
> ...
>
>> First, I thought cards were backward compatible?  You could stick a 3.0
>> into a 2.0 slot and it would just run as a 2.0 and vice versa.  I know
>> the mobo is 2.0.  It does recognize the drive but seems to nuke the
>> ethernet somehow.  I looked, there is no switches on the card.  I don't
>> see a way to adjust how it works or anything.
>>
> ...
>
>  From first section of 
> https://en.wikipedia.org/wiki/PCI_Express#PCI_Express_3.0
>
>  PCI Express 3.0 Base specification revision 3.0 was made available in
>  November 2010, after multiple delays. In August 2007, PCI-SIG announced
>  that PCI Express 3.0 would carry a bit rate of 8 gigatransfers per second
>  (GT/s), and that it would be backward compatible with existing PCI
>  Express implementations.
>
>  Though in https://en.wikipedia.org/wiki/PCI_Express#Comparison_table
>  they are said to have different encodings.
>
>  Unfortunately the specs (https://pcisig.com/specifications) are only
>  available for members.
>
> Regards,
> /Karl Hammar
>




Re: [gentoo-user] PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread Dale
k...@aspodata.se wrote:
> Dale:
> ...
>> First, I thought cards were backward compatible?  You could stick a 3.0
>> into a 2.0 slot and it would just run as a 2.0 and vice versa.  I know
>> the mobo is 2.0.  It does recognize the drive but seems to nuke the
>> ethernet somehow.  I looked, there is no switches on the card.  I don't
>> see a way to adjust how it works or anything.
> ...
>
>  From first section of 
> https://en.wikipedia.org/wiki/PCI_Express#PCI_Express_3.0
>
>   PCI Express 3.0 Base specification revision 3.0 was made available in
>   November 2010, after multiple delays. In August 2007, PCI-SIG announced
>   that PCI Express 3.0 would carry a bit rate of 8 gigatransfers per second
>   (GT/s), and that it would be backward compatible with existing PCI
>   Express implementations.
>
>  Though in https://en.wikipedia.org/wiki/PCI_Express#Comparison_table
>  they are said to have different encodings.
>
>  Unfortunately the specs (https://pcisig.com/specifications) are only
>  available for members.
>
> Regards,
> /Karl Hammar

That's what I was thinking to, being backward compatible.  I might add,
when I did cat /proc/partitions, it listed the drive plugged into the
card.  The card seems to have worked.  Thing is, no matter what slot I
put the SATA card into, it would kill my builtin network.  When I tried
to bring it up, it said the network didn't exist.  At first I thought it
was a shared slot or something.  It did the same thing in every slot
tho.  Also, when I removed the SATA card, the network came up on the
next boot up.  That SATA card is doing something bad. 

You, or anyone, have any idea why that card would kill my network?  I
suspect the card itself is fine.  It did see the drive.  I just need the
internet to work since it may be used in a NAS rig. 

I been searching, ebay and Amazon.  I found a couple cards on Amazon
that specify PCIe v2.0.  I couldn't find any with 8 ports or more on
Ebay that didn't say 3.0.  The ones on Amazon specify in the description
that they are v2.0.  That is what I usually get.  On the card, it
doesn't have anything but PCIe wrote on it or nothing at all.  It seems
if it isn't marked, it is v2.0 or maybe v1.0 if one can find one.  If it
is v3.0, it is marked that way.  Anyone seen any cards that disagrees
with that? 

I hope someone has a clue to make this card work.  I checked the BIOS
too, couldn't find anything in there.  Might try a ethernet card and
disable the onboard network.  See if that makes the network come up at
least.  I have another card just like this one already on the way.  I
may have two cards that won't let my network work when installed.  :/  
I may also have to buy those cards off Amazon that specify v2.0. 

Open to ideas. 

Dale

:-)  :-) 



Re: [gentoo-user] PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread karl
Dale:
...
> First, I thought cards were backward compatible?  You could stick a 3.0
> into a 2.0 slot and it would just run as a 2.0 and vice versa.  I know
> the mobo is 2.0.  It does recognize the drive but seems to nuke the
> ethernet somehow.  I looked, there is no switches on the card.  I don't
> see a way to adjust how it works or anything.
...

 From first section of https://en.wikipedia.org/wiki/PCI_Express#PCI_Express_3.0

  PCI Express 3.0 Base specification revision 3.0 was made available in
  November 2010, after multiple delays. In August 2007, PCI-SIG announced
  that PCI Express 3.0 would carry a bit rate of 8 gigatransfers per second
  (GT/s), and that it would be backward compatible with existing PCI
  Express implementations.

 Though in https://en.wikipedia.org/wiki/PCI_Express#Comparison_table
 they are said to have different encodings.

 Unfortunately the specs (https://pcisig.com/specifications) are only
 available for members.

Regards,
/Karl Hammar





[gentoo-user] PCIe version 2, 3 etc and how to know which a card is.

2024-05-20 Thread Dale
Howdy,

I bought a extra PCIe SATA expansion card.  I mostly wanted a extra.  I
have a 10 port in my main rig and thought I was buying one like that
one, in case it breaks.  When I put it in the old NAS box rig to test,
my ethernet wouldn't work.  I tried a different slot but same thing.  I
found it odd that it would recognize the hard drive plugged into the
card tho.  o_O  I shutdown the rig and pulled the card.  I was checking
the card and connector on the mobo when I noticed the card said 3.0
right where it plugs into the mobo.  Ooops. 

First, I thought cards were backward compatible?  You could stick a 3.0
into a 2.0 slot and it would just run as a 2.0 and vice versa.  I know
the mobo is 2.0.  It does recognize the drive but seems to nuke the
ethernet somehow.  I looked, there is no switches on the card.  I don't
see a way to adjust how it works or anything.

Second, what is the best way to know, from the card itself, what version
PCIe it is?  If it just says PCIe or PCIe with x1, x4, x16 or something
for those that include that info, can one assume it is 2.0?  It seems
the ones that are 3.0 are marked as such.  I don't want to buy another
card and get another one that won't work in either the NAS box or my
current main rig. At least I have cards for the new rig if I need one. 
Although I was planning to buy a x4 or x8 card with lots of ports.  I
was hoping for a speed improvement with the extra 'lanes' I think they
called.  I could use those m.2 to SATA thingys too. 

I already found pics that help me identify PCI, PCIe, x1, x2, x4,x8 and
x16 slots.  Basically, the longer it is, the larger the number.  So, I
got that.  I can't find a way to look at a card or a picture of a card
and know if it is v2.0, v3.0 or v4.0 if those exist.  I'm looking for
some guidance.  Sadly, some don't include that info in the description
of the card either. 

Thanks for any tips or tricks to know which is which. 

Dale

:-)  :-) 



Re: [gentoo-user] patching an ebuild file

2024-05-18 Thread ralfconn

Il 17/05/24 20:41, Neil Bothwick ha scritto:

On Fri, 17 May 2024 20:17:14 +0200, Alarig Le Lay wrote:


I can edit the ebuild and then rebuild the manifest but on every
update I have to repeat.

Is there a way to patch an ebuild in a similar way we can patch
sources?

You can make an overlay and mask the pacakges from ::gentoo

No need to mask anything, just set the priority of your overlay higher
than that for gentoo. Otherwise you could end up not getting updates if
you don't check the gentoo repo regularly.


Creating the local overlay did not work, portage kept on pulling in the 
original ebuilds (from a public overlay themselves). Then I found that 
the modifications I needed could be done more simply via 
/etc/portage/package.accept_keywords, but that did not work either. Then 
I finally found that for my crossdev environment you need to edit 
/usr/aarch64-unknown-linux-gnu/etc/portage/package.accept_keywords. 
Probably the same holds for the local overlay but I have not verified yet.


thanks,

raf




Re: [gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread Matthias Hanft
netfab wrote:
> 
> You should open a bug

[X] Done: https://bugs.gentoo.org/932157

Thank you for your help!

-Matt



Re: [gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread netfab



You should open a bug. '-Wl,-z,notext' flag may be needed to be added
somewhere in the build system. From man ld :
> text
> notext
> textoff
>  Report an error if DT_TEXTREL is set, i.e., if the
>  position-independent or shared object has dynamic
>  relocations in read-only sections.
>  Don’t report an error if notext or textoff.

There have been relatively recent examples of patches being added in
portage for this kind of errors, see for example :
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c36206566e9aebaa0d374752188acca1e49190





Re: [gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread Matthias Hanft
netfab wrote:
> 
> Can you post the entire build log somewhere (or maybe as attachment) ?

I have put it at https://download.hanft.de/build.log

-Matt



Re: [gentoo-user] Re: Grub, gpt partitions and BIOS, not uefi thing.

2024-05-18 Thread Dr Rainer Woitok
Michael,

On Thursday, 2024-05-16 17:46:04 +0100, you wrote:

> ...
> > The homepage returned by
> > 
> >$ eix --verbose sys-boot/elilo
> >* sys-boot/elilo
> > Available versions:  ~3.16-r5
> > ...
> >$
> > 
> > hints that this package is no longer maintained ... :-(
> > ...
> 
> Oh!  I haven't ever used it, but recalled its name and found it on the tree.  
> I suppose if it's stable and it works, it works whether maintained or not.

Well,  the "~" ahead of the  version number says  it's non-stable.   And
considering that booting is rather hardware, firmware and kernel related
and dependent, I personally would stay off of such a package :-/

Sincerely,
  Rainer



Re: [gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread netfab
Le 18/05/24 à 09:58, Matthias Hanft a tapoté :
> netfab schrieb:
> > 
> > Is this up-to-date ? What is your version of sys-devel/binutils ?
> 
> Yes, everything else is up-to-date:
> 

Can you post the entire build log somewhere (or maybe as attachment) ?





Re: [gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread Matthias Hanft
netfab schrieb:
> 
> Is this up-to-date ? What is your version of sys-devel/binutils ?

Yes, everything else is up-to-date:

gentoo ~ # uname -a
Linux gentoo 6.6.21-gentoo #3 SMP PREEMPT_DYNAMIC Sat May  4 19:18:38 CEST 2024 
i686 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz GenuineIntel GNU/Linux
gentoo ~ # eshowkw binutils
Keywords for sys-devel/binutils:
  |   |   u  |
  | a   a p s l r   a |   n  |
  | m   r h   p p   i o i s l m m | e u s| r
  | d a m p p c a x a o s 3 p 6 i | a s l| e
  | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o| p
  | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t| o
--+---+--+---
[...]
--+---+--+---
   [I]2.42-r1 | + ~ ~ ~ ~ ~ ~ + ~ ~ ~ ~ ~ ~ ~ | 7 o 2.42 | gentoo
--+---+--+---
  | o o o o o o o o o o o o o o o | 7 o  | gentoo
gentoo ~ # eshowkw gcc
Keywords for sys-devel/gcc:
   |   |   u   |
   | a   a p s l r   a |   n   |
   | m   r h   p p   i o i s l m m | e u s | r
   | d a m p p c a x a o s 3 p 6 i | a s l | e
   | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p
   | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o
---+---+---+---
[...]
---+---+---+---
[I]13.2.1_p20240210| + + + + + + + + ~ ~ ~ ~ ~ ~ ~ | 8 o 13| gentoo
   13.2.1_p20240503| ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | 8 o   | gentoo
   13.2.1_p20240510| o o o o o o o o o o o o o o o | 8 #   | gentoo
  13.3.| o o o o o o o o o o o o o o o | 8 o   | gentoo
---+---+---+---
gentoo ~ # eshowkw glibc
Keywords for sys-libs/glibc:
|   |   u |
| a   a p s l r   a |   n |
| m   r h   p p   i o i s l m m | e u s   | r
| d a m p p c a x a o s 3 p 6 i | a s l   | e
| 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o   | p
| 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t   | o
+---+-+---
[...]
[I]2.38-r13 | + + + + + + + + ~ ~ ~ ~ ~ ~ ~ | 8 o | gentoo
   2.39-r4  | ~ ~ ~ ~ ~ ~ ~ ~ - ~ ~ ~ ~ ~ ~ | 8 # | gentoo
   2.39-r5  | ~ ~ ~ ~ ~ ~ ~ ~ - ~ ~ ~ ~ ~ ~ | 8 o | gentoo
   2.39-r6  | o o o o o o o o o o o o o o o | 8 # | gentoo
    | o o o o o o o o o o o o o o o | 8 o | gentoo

-Matt



Re: [gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread netfab
Hi,

Le 18/05/24 à 09:31, Matthias Hanft a tapoté :
> I'm keeping a (virtual) pretty old 32-bit Gentoo alive [...]

Is this up-to-date ? What is your version of sys-devel/binutils ?





[gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread Matthias Hanft
Hi,

I'm keeping a (virtual) pretty old 32-bit Gentoo alive (just for playing
and testing).  Everything works fine - except installing a JRE in order
to execute some .jar files.

openjdk-jre-bin and openjdk-bin aren't available for x86, so I guess I
have to install openjdk (stable 17.0.10_p7).  But that doesn't work:

--- cut here ---

[...]
/usr/lib/gcc/i686-pc-linux-gnu/13/../../../../i686-pc-linux-gnu/bin/ld:
/var/tmp/portage/dev-java/openjdk-17.0.10_p7/work/jdk17u-jdk-17.0.10-ga/build/linux-x86-server-release/hotspot/variant-server/libjvm/objs/adaptiveSizePolicy.o:
 warning: relocation in read-only section
`.text'
/usr/lib/gcc/i686-pc-linux-gnu/13/../../../../i686-pc-linux-gnu/bin/ld: 
read-only segment has dynamic relocations
collect2: error: ld returned 1 exit status
gmake[3]: *** [lib/CompileJvm.gmk:144: 
/var/tmp/portage/dev-java/openjdk-17.0.10_p7/work/jdk17u-jdk-17.0.10-ga/build/linux-x86-server-release/support/modules_libs/java.base/server/libjvm.so]
 Error 1
gmake[3]: Leaving directory 
'/var/tmp/portage/dev-java/openjdk-17.0.10_p7/work/jdk17u-jdk-17.0.10-ga/make/hotspot'
gmake[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2
gmake[2]: Leaving directory 
'/var/tmp/portage/dev-java/openjdk-17.0.10_p7/work/jdk17u-jdk-17.0.10-ga'
ERROR: Build failed for target 'bootcycle-images' in configuration 
'linux-x86-server-release' (exit code 2)

--- cut here ---

I have already played with CFLAGS (-Wno-error) and USE flags (headless-awt
and jbootstrap), but to no avail.

Any hints how to get this working?

Thanks,

-Matt



Re: [gentoo-user] patching an ebuild file

2024-05-17 Thread Neil Bothwick
On Fri, 17 May 2024 20:17:14 +0200, Alarig Le Lay wrote:

> > I can edit the ebuild and then rebuild the manifest but on every
> > update I have to repeat.
> > 
> > Is there a way to patch an ebuild in a similar way we can patch
> > sources?

> You can make an overlay and mask the pacakges from ::gentoo

No need to mask anything, just set the priority of your overlay higher
than that for gentoo. Otherwise you could end up not getting updates if
you don't check the gentoo repo regularly.


-- 
Neil Bothwick

Accept that some days you're the pigeon, and some days you're the statue.


pgp_hEiwpYeF2.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] patching an ebuild file

2024-05-17 Thread Matt Connell
On Fri, 2024-05-17 at 20:17 +0200, Alarig Le Lay wrote:
> > Is there a way to patch an ebuild in a similar way we can patch
> > sources?
> > 
> > thanks,
> > 
> > raffaele
> 
> You can make an overlay and mask the pacakges from ::gentoo

+1 for an overlay, because others may want to use those ebuilds as well
for similar work.



  1   2   3   4   5   6   7   8   9   10   >