Re: [gentoo-user] Grub, gpt partitions and BIOS, not uefi thing.
Michael wrote: > On Sunday, 28 April 2024 13:57:23 BST Dale wrote: > >> I just got to figure out how to make it so I can login as root via ssh >> again. I set PermitRootLogin to yes in ssh config but still refuses. I >> did it on my NAS box but can't recall what else I had to do. > Just checking the obvious, did you start sshd? > > Is a port open and listening for ssh connections (use nc, telnet, nmap to > find > out). > > Will it let you login as a plain user, then 'su' to run as root? > > Make sure the plain user is in the wheel group. Right now, I can login as a user then su to root, and password. I just can't login as root directly. I use Dolphin and the fish thingy to access config files etc so I can use Kwrite to edit files etc. Thing is, I have to login as root for some files. No way to su to root with Dolphin, that I know of anyway. I'm pretty sure I set this up on the old NAS box. My searches shows the PermitRootLogin set to yes should do it but I guess I missed something. Any ideas? I did search old threads but only found the option above, mentioned by Neil I think. Dale :-) :-)
Re: [gentoo-user] Grub, gpt partitions and BIOS, not uefi thing.
Mickaël Bucas wrote: > Hi > > Le sam. 27 avr. 2024 à 18:53, Dale a écrit : >> Howdy, >> >> I'm installing Gentoo on another old box. > I was wondering how old this box could be and if it had a BIOS with > UEFI and GPT. > > I didn't find a precise date for BIOS, but Wikipedia[1] shows that the > first version of Windows for x64 that can read and write GPT was > published on 2005-04-25. To boot with UEFI, a later version was > published on 2006-07-22. > I think this means most BIOSes were compatible to various degrees at this > time. > > So if your box is less than 20 years old, it should be OK ! > I don't remember how powerful the boxes were at this time, but they > still had floppy disk drives :) > >> Thanks to anyone who has a link, some notes or something. :-D >> >> Dale >> >> :-) :-) > Good luck > > Mickaël Bucas > > [1] > https://en.wikipedia.org/wiki/GUID_Partition_Table#Windows:_64-bit_versions > > . > Well, this thing is old enough it is only BIOS. It's a old Dell Inspiron 546. It has a AMD Phenom II X4 955 CPU in it. I upgraded it a bit. It is maxed out at 8GBs of memory. No floppy but I wouldn't be surprised to see a connector on the mobo for one tho. I mostly use these as rigs to do backups with but could serve as a rig to watch TV with if my main rig goes to puter heaven. This one is in a case at least. My usual NAS/backup box rig sits on a piece of plywood. Good ventilation during compiles tho. ROFL I just got to figure out how to make it so I can login as root via ssh again. I set PermitRootLogin to yes in ssh config but still refuses. I did it on my NAS box but can't recall what else I had to do. No monitor, power plug or anything for it right now. I moved it to the kitchen table so I could hook this old Dell to the router. Now to see what else I can get into. Dale :-) :-)
Re: [gentoo-user] Grub, gpt partitions and BIOS, not uefi thing.
Michael wrote: > On Saturday, 27 April 2024 17:53:25 BST Dale wrote: >> Howdy, >> >> I'm installing Gentoo on another old box. To be consistent I like to >> use cgdisk, GPT I think it is called, to partition all my drives, >> regardless of size. > GPT is the partition table structure, which is more advanced than the old DOS > partition table structure. > I just wasn't 100% sure what it was called. >> Thing is, Grub works differently with GPT than it >> does with the old DOS or whatever it is called, like fdisk does in the >> old days. > GRUB works the same, but the disk/partition table structure is different. > > >> I did some research but still find myself in some muddy >> waters. My take on some things I've read, I need a boot partition, not >> to be confused with the /boot for kernels, init thingys and such. Where >> I get lost, most use gdisk. I like cgdisk. Before that I liked >> cfdisk. Anyway, how do I set up that partition with cgdisk? Any >> minimum size requirements or tiny is enough? > 1MB OK. You know that "alignment" thing that is always on the beginning of a drive, could it use it? I think it is like 2MBs or something. >> Does it have to be a >> specific type? > Yes, it has to be set up as a "BIOS Boot Partition", with the "ef02", or GUID > 21686148-6449-6E6F-744E-656564454649. > Light bulb moment. I've seen 8300 and friends, 8200 etc but never seen EF02 before. Now I see what that type means. That cleared up some muddy water. That lead me to finding this, it has a nice table of common codes. https://wiki.archlinux.org/title/GPT_fdisk >> Does it need to be in a specific place? > Not necessarily, but since you're not booting this disk on a UEFI MoBo and > consequently won't be using an EFI System Partition (ESP), the very first > partition is fine and will be out of the way of the remaining disk. > > >> Formatted with a file system? > Do not format it. The raw 1MB partition will be used by GRUB to install its > core.img file. > > >> Also, when I do grub-install, do I still point to >> /dev/sda or to /dev/sda1, if sda1 is the special boot partition? > Sector 0 of your disk /dev/sda is where GRUB will drop its boot loader image > 'boot.img'. This is the Master Boot Record region. > > Normally, with a DOS partition table, GRUB's core.img would be dropped in the > empty space of sector 1, following sector 0. However, in the GPT structure > sector 1 is where the GPT partition array data is stored. You don't want > GRUB > making a mess by dropping it's core.img on top of it! > > So, from what I recall you'd install GRUB like so: > > grub-install --boot-directory=/mnt/gentoo/boot --force /dev/sda > > If this won't do it, I'll have to boot an old system of mine to check the > disk > layout in more detail. > > I may look on youtube and see if I can find someone setting up a disk. It may have a video, old one for sure. Maybe that will help me make sense of it even more. I think I got figured out how to use cgdisk now but installing grub may require some more details. What I find odd, most of the howtos I found don't show example outputs. Then again, it could just work. O_o Thanks to all. Dale :-) :-)
Re: [gentoo-user] dhcp error. No network. Address family not supported.
Michael wrote: > On Saturday, 27 April 2024 23:30:46 BST Dale wrote: >> Howdy, >> >> I finally got Gentoo on the old rig I had laying around. This is not >> the one I usually refer to as NAS box. I named this one NAS2. LOL I >> got one problem that is confusing me. I've compared it to my main rig >> and the install guide and I think I got everything right but maybe I >> have a typo, missed something or got some other issue. This is what the >> screen says, typing by hand so I hope I don't insert a typo. >> >> >> Bringing up interface enp3s0 >> dhcp ... >> Running dhcpcd ... >> dhcpcd-10.0.6 starting >> main: if_opensockets: address family not supported by protocol >> dhcpcd exited. >> >> >> At first I thought that 10.0.6 was a typo on my part in some config >> file. The usual IP address for that port is 10.0.0.6. Eventually I >> figured out it was the version of dhcp. So, after getting past that, I >> started checking everything network related in the install guide. >> Basically, set it to use dhcp and let er rip. Well, this is the first >> time dhcp has gave me any grief, which is why I think I did something >> wrong. >> >> Anyone ever seen this? Searching didn't help. This is a new kernel so >> maybe I missed something in there? > Yes, most likely. > > What does this show: > > grep SOCKET /usr/src/linux/.config > > or this: > > grep PACKET /usr/src/linux/.config OK. Some of those were turned off. I cut on anything that looked like something I'd need. Recompiled the kernel and rebooted. What do you know, it worked. Now some questions, why is something that most anyone would need turned off by default? Why is it not mentioned along with other things in the install docs? I went through the install docs for those options needed, I don't recall seeing those. The only things I left out were the UEFI thingy stuff. I so dread that UEFI thingy on the new build. o_O Thanks to all. It running, apparently with IPv6 at that. O_O Dale :-) :-)
[gentoo-user] dhcp error. No network. Address family not supported.
Howdy, I finally got Gentoo on the old rig I had laying around. This is not the one I usually refer to as NAS box. I named this one NAS2. LOL I got one problem that is confusing me. I've compared it to my main rig and the install guide and I think I got everything right but maybe I have a typo, missed something or got some other issue. This is what the screen says, typing by hand so I hope I don't insert a typo. Bringing up interface enp3s0 dhcp ... Running dhcpcd ... dhcpcd-10.0.6 starting main: if_opensockets: address family not supported by protocol dhcpcd exited. At first I thought that 10.0.6 was a typo on my part in some config file. The usual IP address for that port is 10.0.0.6. Eventually I figured out it was the version of dhcp. So, after getting past that, I started checking everything network related in the install guide. Basically, set it to use dhcp and let er rip. Well, this is the first time dhcp has gave me any grief, which is why I think I did something wrong. Anyone ever seen this? Searching didn't help. This is a new kernel so maybe I missed something in there? All options on the table. New install and all. Oh, network works from from boot media thingy. Thanks for any ideas. Maybe telling me where I boo boo'd. ROFL Dale :-) :-)
[gentoo-user] Grub, gpt partitions and BIOS, not uefi thing.
Howdy, I'm installing Gentoo on another old box. To be consistent I like to use cgdisk, GPT I think it is called, to partition all my drives, regardless of size. Thing is, Grub works differently with GPT than it does with the old DOS or whatever it is called, like fdisk does in the old days. I did some research but still find myself in some muddy waters. My take on some things I've read, I need a boot partition, not to be confused with the /boot for kernels, init thingys and such. Where I get lost, most use gdisk. I like cgdisk. Before that I liked cfdisk. Anyway, how do I set up that partition with cgdisk? Any minimum size requirements or tiny is enough? Does it have to be a specific type? Does it need to be in a specific place? Formatted with a file system? Also, when I do grub-install, do I still point to /dev/sda or to /dev/sda1, if sda1 is the special boot partition? I tried to find a step by step howto with this info but the ones I find either don't work or leaves me more confused. Given that the method is also aging out, it's hard to find good guides. I'd be real happy just to have a link to a good howto that I can make sense of. I can save a copy local and even print it. Maybe someone has some notes that will help. I just need something to help clear up the muddy waters. Thanks to anyone who has a link, some notes or something. :-D Dale :-) :-)
Re: [gentoo-user] Handbook and question about manual network setup
Michael wrote: > Hi Dale, > > On Sunday, 21 April 2024 03:32:32 BST Dale wrote: > >> OK. I did my weekend OS updates on my main rig, fireball. That >> involves me switching to boot runlevel and back again. When the network >> started, no message about going to default. It just showed it starting >> up and using DHCP. Looks like this: >> >> >> * Bringing up interface enp3s0 >> * dhcp ... >> * Running dhcpcd ... >> >> >> >> I thought of something. My NAS box is shutdown right now so can't >> check. I bet DHCP is set to start in the default runlevel. On my main >> rig it is not set to start the DHCP service at all. I suspect the NAS >> box finds the DHCP service first and starts the network and then finds >> the network service but it is already started. When it starts the >> network with the DHCP service, it does the default thing. I'll test >> that next time I boot up the NAS box. > On one box here I have neither netifrc configured, nor dhcpcd, although both > are installed. I have also made sure networkmanager is not installed. > > However, netmount is in the default runlevel and netmount has the default net > dependency enabled: > > $ grep -v "^#" /etc/conf.d/netmount > rc_need="net" > > $ rc-update show -v | grep -i net > local | default nonetwork >net-online | >net.lo | > netmount | default > > I believe this is what kicks in on my system first and brings up dhcpcd, > which > in turn obtains an IP address from my router. I mostly configure static IP > addresses for known devices in my LAN on the router. > > You can compare which network services are configured to come up on your NAS > Vs your main PC and also check any differences in /etc/rc.conf. Finally > search for "rc_need=" dependencies defined in your /etc/conf.d/*. > > https://wiki.gentoo.org/wiki/OpenRC#Dependency_behavior > > >> I guess no one else found a way to get the install handbook on a single >> page. I'll have to copy and paste I guess. That's gonna take a while. >> O_O >> >> Dale >> >> :-) :-) > To save you copying: > > https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation > > but note the warning about links redirecting to individual pages: > > https://wiki.gentoo.org/wiki/Handbook:AMD64/Full My thought was right. My main rig does not have dhcpcd in any runlevel. I booted up the NAS box and checked to see if dhcpcd was listed anywhere. Sure enough, it was in the default runlevel. I removed it and then rebooted. There was no mention of defaulting to anything, the network just came up. So, I guess dhcpcd was trying to start the network first which means it never really saw any of the config files I was adding info too. It was starting before those came into the picture. So, now both rigs work the same and I can start/stop/restart the network on both machines the same way. I suspect if I edited some dhcp config file and set up the ethernet the proper way, it would just come up like it does now, after the change. Also, nothing against dhcp on my part. My main rig uses it. I wanted the NAS box to use it as well, just the same as my main rig. It works great, even if one doesn't do anything to it. Having it set up tho does give more consistent results, as in the same IP address. I can't recall the last time I had dhcp to fail actually. Thanks for the links on the full docs on one page. I already copy and pasted it to a LOo doc and am editing out parts I won't ever use. It's 116 pages and I'm sure there are parts in there that won't ever apply to me, systemd for example. Maybe I can get the page count down to 100 or so. If I'm lucky. Is there anyway to know when the doc changes and what changes? And how did you find that link? I looked everywhere. :/ Dale :-) :-)
Re: [gentoo-user] Handbook and question about manual network setup
Michael wrote: > On Friday, 19 April 2024 18:04:57 BST Dale wrote: > >> I'm missing something. > I don't think you are. Shutdown your main rig. Pull the ethernet cable. > Reboot. If the main rig's config is the same as the old rig, > > AND > > the router addressing is analogous on both PCs, > > THEN > > their behaviour and messages ought to be the same. > >> Dale >> >> :-) :-) >> >> P. S. Back to mowing grass. OK. I did my weekend OS updates on my main rig, fireball. That involves me switching to boot runlevel and back again. When the network started, no message about going to default. It just showed it starting up and using DHCP. Looks like this: * Bringing up interface enp3s0 * dhcp ... * Running dhcpcd ... I thought of something. My NAS box is shutdown right now so can't check. I bet DHCP is set to start in the default runlevel. On my main rig it is not set to start the DHCP service at all. I suspect the NAS box finds the DHCP service first and starts the network and then finds the network service but it is already started. When it starts the network with the DHCP service, it does the default thing. I'll test that next time I boot up the NAS box. I guess no one else found a way to get the install handbook on a single page. I'll have to copy and paste I guess. That's gonna take a while. O_O Dale :-) :-)
Re: [gentoo-user] Handbook and question about manual network setup
Michael wrote: > On Friday, 19 April 2024 17:20:44 BST Dale wrote: >> Matt Connell wrote: >>> On Fri, 2024-04-19 at 09:05 -0500, Dale wrote: >>>> Basically, I want to be able to start/stop/restart enp3s0 as a >>>> service and have it in a runlevel. >>> You should just need to create a symlink at /etc/init.d/net.enp3s0 that >>> points to /etc/init.d/net.lo and then you can do the usual rc-service >>> stuff with it. >> I did that and went from default to boot runlevel and back to default >> again but I still couldn't restart with the net.enp3s0 file. Luckily, I >> shut the rig down a bit ago. I went to mow some grass. Using push >> mower since battery went bad on riding mower. Anyway, when I booted it >> back up just now, it worked. I can start/stop/restart with the enp3s0 >> file like on my main rig. It still says it is defaulting to DHCP which >> makes me think I'm still missing something. It says, I'm typing this in >> manually. >> >> >> Bringing up interface enp3s0 >> config_enp3s0 not specified; defaulting to DHCP >> >> >> Then it continues bringing up the network. I have this set: >> >> nas / # cat /etc/conf.d/net >> config_enp3s0="dhcp" >> dns_servers_enp3s0="8.8.8.8 8.8.4.4" >> nas / # >> >> >> Since I have it set to use DHCP already, why is it saying it is >> defaulting to it? Did I miss a file or something? Shouldn't it just >> use it without saying it is defaulting to it? I don't recall seeing >> this on my main rig. >> >> Dale >> >> :-) :-) > Normally you would use netifrc to configure a gateway and static IP address. > DHCP is a fallback, in case the static IP subnet has changed - e.g. because > you changed your home router. > > If you *are* using dhcpcd to obtain an IP address from the router then > arguably your don't need netifrc at all, as I explained in my other message > earlier. > > Regarding the messages you see on your main rig Vs the old rig, you can > compare the two PC's conf.net files for any differences. That's thing. I think they are the same. Here is my main rig, fireball. root@fireball / # cat /etc/conf.d/net config_enp3s0="dhcp" dns_servers_enp3s0="8.8.8.8 8.8.4.4" root@fireball / # NAS box: nas / # cat /etc/conf.d/net config_enp3s0="dhcp" dns_servers_enp3s0="8.8.8.8 8.8.4.4" nas / # One says it is defaulting, the other doesn't. I've used grep to search, I've looked everywhere I can think of that even might have some config file for network stuff and I can't find any difference. On your other reply. I think I did set up the router to set IP addresses. I know I did for my phone and printer. That printer used to drive me nuts. Every time the power would blink, it wouldn't print. No IP address so can't access it except through that tiny little display and the buttons on the printer. What a drag. o_O I'm missing something. I set up the network on this rig almost a decade ago. I have very little memory of how I did it. I always thought I could just refer back to the install guide. Didn't occur to me they would remove stuff. Dale :-) :-) P. S. Back to mowing grass.
Re: [gentoo-user] Handbook and question about manual network setup
Michael wrote: > On Friday, 19 April 2024 15:05:47 BST Dale wrote: > >> Anyway, while investigating this, I realized the network setup is not >> like on my old rig. Heck, I couldn't even figure out how to restart it >> other than switching to the boot runlevel and back to default, or >> rebooting. After a bit, I think I can restart DHCP and it restart the >> network. I figured out the cable was unplugged before trying that. I'm >> wanting to set up the NAS box network the same way as my main rig. >> That's the old manual way. I went back to the install handbook, that's >> what I followed when installing on my main rig. Thing is, it has been >> updated and the old way isn't all there. I followed what little bit is >> there but it defaults back to the new way. I'm sure I'm missing some >> file I need to edit but I can't figure out which one it is. So, is >> there a way to get the old instructions again? The ones I followed >> several years ago for my main rig? I tried searching but it seems they >> all gone. Maybe there is a place I'm not aware of tho. Basically, I >> want to be able to start/stop/restart enp3s0 as a service and have it in >> a runlevel. > Without knowing what you refer to as 'The Old Way' Vs 'The New Way', or how > your 'main rig', Vs your 'old rig' may have been configured, I'll try to make > a guess, or two: > > 1. Old Way = netifrc > > You configure /etc/conf.d/net using the well commented example provided in: > > /usr/share/doc/netifrc-*/net.example.bz2 > > You symlink your interface enp3s0 to the net.lo netifrc init script and add > it > to the default runlevel: > > ln -s /etc/init.d/net.lo /etc/init.d/net.enp3s0 > rc-update add net.enp3s0 default > > then (re)start, check the status, or stop your newly configured interface, > e.g.: > > rc-service -v net.enp3s0 status > rc-service -v net.enp3s0 restart > > More detailed info than you should ever need and all on one page, is provided > here: > > https://wiki.gentoo.org/wiki/Netifrc > > > 2. New Way = DHCP (?) > > Although dhcp can be configured as a fallback option within /etc/conf.d/net > in > addition to static addresses, gateways, etc., it can also be set up as a > standalone service without netifrc. Emerge dhcpcd and add it to the default > runlevel. > > If you have set static IP address(es) at your home router for the old box and > its MAC address, then that's all you need to do before you run: > > rc-service -v dhcpcd restart > > If you prefer to not set up a configuration for your old rig on the router, > then you can add a static IP address in your /etc/dhcpcd.conf. > > Again, more info than you should need is provided here: > > https://wiki.gentoo.org/wiki/Dhcpcd > > HTH, otherwise ask if you get stuck. Rebooting the NAS box improved things. See reply to Matt. By old way, I mean using a symlink to net.lo with the interface/card name such as enp3s0 to start/stop/restart the service. It still uses DHCP to get connection info but I'd also like to specify the IP address if I can. I like to set those so that they don't change even if I move cables around. Main rig, NAS box, cell phone and printer. The printer really gets upset when something changes. I think I should have used the word "older" instead of "old". ROFL :-D Dale :-) :-)
Re: [gentoo-user] Handbook and question about manual network setup
Matt Connell wrote: > On Fri, 2024-04-19 at 09:05 -0500, Dale wrote: >> Basically, I want to be able to start/stop/restart enp3s0 as a >> service and have it in a runlevel. > You should just need to create a symlink at /etc/init.d/net.enp3s0 that > points to /etc/init.d/net.lo and then you can do the usual rc-service > stuff with it. > > I did that and went from default to boot runlevel and back to default again but I still couldn't restart with the net.enp3s0 file. Luckily, I shut the rig down a bit ago. I went to mow some grass. Using push mower since battery went bad on riding mower. Anyway, when I booted it back up just now, it worked. I can start/stop/restart with the enp3s0 file like on my main rig. It still says it is defaulting to DHCP which makes me think I'm still missing something. It says, I'm typing this in manually. Bringing up interface enp3s0 config_enp3s0 not specified; defaulting to DHCP Then it continues bringing up the network. I have this set: nas / # cat /etc/conf.d/net config_enp3s0="dhcp" dns_servers_enp3s0="8.8.8.8 8.8.4.4" nas / # Since I have it set to use DHCP already, why is it saying it is defaulting to it? Did I miss a file or something? Shouldn't it just use it without saying it is defaulting to it? I don't recall seeing this on my main rig. Dale :-) :-)
[gentoo-user] Handbook and question about manual network setup
Howdy, I'm playing around with my NAS box again. I ran into a network issue. I sorta forgot I unplugged the network cable so obviously, it made it difficult to ssh into the thing from my main rig. After hooking up a monitor and keyboard, I found the problem and plugged the network cable back in. ROFLMBO Told y'all I forget stuff. Anyway, while investigating this, I realized the network setup is not like on my old rig. Heck, I couldn't even figure out how to restart it other than switching to the boot runlevel and back to default, or rebooting. After a bit, I think I can restart DHCP and it restart the network. I figured out the cable was unplugged before trying that. I'm wanting to set up the NAS box network the same way as my main rig. That's the old manual way. I went back to the install handbook, that's what I followed when installing on my main rig. Thing is, it has been updated and the old way isn't all there. I followed what little bit is there but it defaults back to the new way. I'm sure I'm missing some file I need to edit but I can't figure out which one it is. So, is there a way to get the old instructions again? The ones I followed several years ago for my main rig? I tried searching but it seems they all gone. Maybe there is a place I'm not aware of tho. Basically, I want to be able to start/stop/restart enp3s0 as a service and have it in a runlevel. Also, I'd like to get the install handbook as one large page. My intention is to save it locally for future reference as it is now. I may even print a copy. I looked at all the places that have different options but can't find the whole thing as one large page. I looked under several drop down menus and such. A long time ago, it was a option. I just can't find it now. May that option isn't available anymore. I wish I had a copy of the one from several years ago. Back when I installed on my main rig. Some network info. Lines that are commented out are options I tried but didn't work. It was worth a shot. o_O nas / # grep -r '!net' /etc/ /etc/rc.conf:rc_hotplug="!net.*" nas / # grep -r 'enp3s0' /etc/ /etc/resolv.conf:# Generated by dhcpcd from enp3s0.dhcp /etc/conf.d/net:config_enp3s0="dhcp" /etc/conf.d/net:dns_servers_enp3s0="8.8.8.8 8.8.4.4" /etc/conf.d/net:#config_enp3s0="10.0.0.5" nas / #nas / # ifconfig -s enp3s0 Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg enp3s0 1500 16802 0 0 0 17196 0 0 0 BMRU nas / # Thoughts? If I had the old install info, I think I could get it to work. I did last time. ;-) Dale :-) :-)
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Frank Steinmetzger wrote: > Am Thu, Apr 18, 2024 at 07:26:30AM -0500 schrieb Dale: > >>>>>> If you don't play games, then definitely get integrated graphics. >>> I'd add to this, you could still play many games, especially older games >>> using >>> a modern APU. The integrated graphics capability is broadly comparable >>> with >>> the entry level discrete GPUs. For driving a couple of monitors and >>> watching >>> videos an APU is more than adequate, saves money on a graphics card and >>> consumes less power. >>> >> The biggest reason I like a separate video card, I can upgrade if >> needed. > If you don’t play (big) games, then there is no reason to upgrade (except > if you plan on working with AI stuff). > >> Built in video means a new mobo. > No, a new CPU. The mobo only provides the lanes from the iGPU to the > connectors on the back. The only constraint imposed by the motherboard may > be an older version of the display link, like DisplayPort 1.2 instead of > 1.4. Only the latter supports 4K @ 120 Hz, the former tops out at 60 Hz. > >> I'd suspect even the wimpiest video card would do what I need. > In that case, every iGPU would do what you need. 嵐 The only exception may > be some hot new video hardware encoder. RDNA2, as can be found in Ryzen > 7000s, now supports AV1 decoding, which was still lacking in the 5000s. > > -- Grüße | Greetings | Salut | Qapla’ “Meow” “Woof” > Jeez, it’s really raining today! It would be my luck, the CPU would stop providing video somehow and take the lanes with it. LOL Still, I plan to go with on board video this time. See how it works out. It does have two ports like I need. As long as I don't need any more ports for something, then it will work fine. Thanks to both for the info. Dale :-) :-)
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Michael wrote: > On Wednesday, 17 April 2024 23:13:40 BST Dale wrote: >> Frank Steinmetzger wrote: >>> Am Wed, Apr 17, 2024 at 01:18:39PM -0400 schrieb Rich Freeman: >>>> On Wed, Apr 17, 2024 at 9:33 AM Dale wrote: >>>>> Rich Freeman wrote: >>>>> >>>> If you don't play games, then definitely get integrated graphics. > I'd add to this, you could still play many games, especially older games > using > a modern APU. The integrated graphics capability is broadly comparable with > the entry level discrete GPUs. For driving a couple of monitors and watching > videos an APU is more than adequate, saves money on a graphics card and > consumes less power. > The biggest reason I like a separate video card, I can upgrade if needed. Built in video means a new mobo. I'd suspect even the wimpiest video card would do what I need. The biggest thing, number of ports. I suspect tho, a built in video will outlast any card I buy. I almost always buy a card that has some age on it anyway. The built in video will likely be a LOT newer. >> I do have Nvidia and I use the Nvidia drivers. Thought about using the >> ones in the kernel but just never did. I don't think it is the video >> card tho. I think some of it is all the hard drives I have installed >> and that they are busy. I run torrent software all the time. It stays >> very busy. I actually set the connection speed to a little lower so >> that I have some network speed that isn't being used so that when I do >> something, I get some network bandwidth. Plus, there's that growing >> software problem that always exists. Software rarely shrinks. >> >>>> That sounds like RAM but I couldn't say for sure. In any case a >>>> modern system will definitely help. > +1 > > In particular it sounds like I/O becomes saturated as swap ramps up. > Also, fstrim, updatedb, rkhunter, etc., running in the background can make > things worse. > I've pretty much disabled swap. The swappiness setting is set to 0 or 1. It will use it but it is really out of memory when it does. My OS and swap is on spinning rust. When it starts to use swap, it really slows down when switching desktops or something. I do believe tho that the torrent software keeps the I/O pretty busy. Maybe I should adjust the nice and ionice for it. Maybe that would help. It's one reason I may let it run on my current rig, when new rig is built, instead of my main rig. Let it slow down a rig I'm not actually using for myself. I can still hook my backup drives to it for updating those. >>> Well, is the RAM full? My 10 years old PC has 32 Gigs and still runs very >>> smooth (with Intel integrated graphics). >> Generally, I use about 20 to 25GBs of RAM. Mostly, Seamonkey, Firefox >> and the torrent software. > An 8-core/thread CPU can eat up to 16G of RAM with -j8 and proportionately > more if a higher job number has been configured. > > Torrent can eat up *a lot* of memory, depending how its caching has been set > up. > > Endless tabs on browsers will also eat up RAM, and/or place demand on swap. > Some addons can make things worse, as can a corrupt content-prefs.sqlite file > - see here: > > https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-or-cpu-resources > A long time ago, I found that a couple add-ons clashed. Thing is, I needed both. So, I created a new profile. Then came another, and another. I have one for things like placing orders, banking and other stuff I like to be secure. It also has that container thing which separates some random web browsing from things like banking. It has its own set of add-ons. Then I have one for things like watching youtube, grabbing videos from there and other video related sites to watch later or before they get censored and no longer available. It has different add-ons. Then I have another for torrent research. Each of those requires its own set of add-ons. By splitting them up tho, there's less chance of a clash. I like Firefox and the way I have it set up. As you point out tho, it can get memory hungry. Given I'm bad to leave tabs open, that makes it even worse. Sometimes a website causes problems of its own too. Just like recently in this thread, several people posted links about mobos and such. Most of those are still open. I'm trying to push that info into my brain, hoping it will remain there. Never does but I'm trying. ROFL Still, I'd like to be able to use Firefox, check email in Seamonkey and such even while doing OS updates. Right now, that's risky with this amount of memory. >> Either way, the age of my current rig is a big reason I want to build a >> new one. It's getting a lot of gray hairs. >> >> Dale >&g
Re: [gentoo-user] Re: Slightly corrupted file systems when resuming from hibernation
Grant Edwards wrote: > On 2024-04-17, Dale wrote: > >> I still use Nvidia and use nvidia drivers. I to run into problems >> on occasion with drivers and kernels. When you switched from >> Nvidia, what did you switch too? Do you still use drivers you >> install or kernel drivers? > All in-tree kernel drivers for integrated GPUs: > > * Intel UHD Graphics 620 > * Intel HD Graphics 4000 > * Intel Xeon E3-1200 > * AMD Picasso Radeon Vega > > After I had to recycle my second perfectly functional NVidia card > simply because NVidia stopped driver support, I got fed up. I tried > the open-source nvidia drivers for those cards, but could never get > multiple screens to work. > >> How well does the video system work? In other words, plenty fast >> enough for what you do. > They're all fast enough for what I do (no heavy gaming, but I do play > with an RC flight simulator). All will drive at least two digital > monitors. The last machine that had an NVidia card removed is also > the oldest of the machines (Gigabyte Z77X-UD5H Intel i5-3570K w/ HD > 4000 graphics), and it's happily driving three monitors (1 HDMI, 1 > DVI, 1 DP). > > When running the flight-sim, the newest of them (the AMD/Radeon) is > noticeably smoother and runs at higher frame rates than the older Intel > GPUs. I didn't really have any complaints about the older ones, but I > don't expect a real gamer would have been satisfied with the Intel > ones. > >> I don't do any sort of heavy gaming. Since I have a nice game on my >> cell phone now, I play it almost all the time. I can't recall >> playing a game of solitaire on my computer in a long while. My >> biggest thing, two video ports, one for monitor and one for TV. >> Most TV videos aren't very high def but some are 1080P. That's all >> my TV can handle. > They all seem to handle HD video playback just fine. > > How many and what type of monitors can be driven is very much > dependent on the motherboard. > > -- > Grant > > > I've often thought of trying ATI or something but just never did. My video cards tend to age out too because of driver issues. From a cost perspective, I kinda get it. Still, I hate pitching a otherwise working card. Thanks for the info. More stuff to think on. Dale :-) :-)
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Frank Steinmetzger wrote: > Am Wed, Apr 17, 2024 at 01:18:39PM -0400 schrieb Rich Freeman: >> On Wed, Apr 17, 2024 at 9:33 AM Dale wrote: >>> Rich Freeman wrote: >>> >>>> All AM5 CPUs have GPUs, but in general motherboards with video outputs >>>> do not require the CPU to have a GPU built in. The ports just don't >>>> do anything if this is lacking, and you would need a dedicated GPU. >>>> >>> OK. I read that a few times. If I want to use the onboard video I have >>> to have a certain CPU that supports it? Do those have something so I >>> know which is which? Or do I read that as all the CPUs support onboard >>> video but if one plugs in a video card, that part of the CPU isn't >>> used? The last one makes more sense but asking to be sure. >> To use onboard graphics, you need a motherboard that supports it, and >> a CPU that supports it. I believe that internal graphics and an >> external GPU card can both be used at the same time. Note that >> internal graphics solutions typically steal some RAM from other system >> use, while an external GPU will have its own dedicated RAM (and those >> can also make use of internal RAM too). > You can usually set the amount of graphics memory in the BIOS, depending on > your need and RAM budget. > >> The 7600X has a built-in RDNA2 GPU. All the original Ryzen zen4 CPUs >> had GPU support, but it looks like they JUST announced a new line of >> consumer zen4 CPUs that don't have it - they all end in an F right >> now. > Yup. > G-series: big graphics for games n stuff, over 3 GFlops > F-Series: no graphics at all > rest: small graphics (around 0.8 GFlops max), ample for desktops and media > > X-Series: high performance > non-X: same as X, but with lower frequencies > > The X series are boosted to higher frequencies which give you a bit more > performance, but at the cost of disproportionally increased power > consumption and thus heat. They are simply run above the sweet spot in order > to get the longest bargraph in benchmarks. You can “simulate” a non-X by > running an X at a lower power target which can be set in the BIOS. In fact > once I have a Ryzen, I thing I might limit its frequency to a bit below > maximum just to avoid this inefficient region. > > But I’ll be buying a G anyways. Its architecture is different, as it is > basically a mobile chip in a desktop package. > > As to the qestion about 5/7/9 in the other mail: it’s just a tier number. > The more interesting is the 4-digit number. 600s and below are 6-core chips, > 700 and 800 have 8 cores, 900s have 12 cores or more. > > The thousands give away the generation. AM5 is denoted by 7xxx. (Though > there is another numbering scheme that does it quite differently, like > 7845H.) Good info. Clears up a little muddy water. >> In any case, if you google the CPU you're looking at it will tell you >> if it supports integrated graphics. > I also recommend Wikipedia. It has tables of all kinds of stuff. Including > all processors and their core features. > https://en.wikipedia.org/wiki/Zen_4 > https://en.wikipedia.org/wiki/List_of_AMD_Ryzen_processors > >> If you don't play games, then definitely get integrated graphics. >> Even if the CPU costs a tiny bit more, it will give you a free empty >> 16x PCIe slot at whatever speed the CPU supports (v5 in this case - >> which is as good as you can get right now). > Not to mention a cut in power draw. > >>> I might add, simply right clicking on the desktop can take sometimes 20 >>> or 30 seconds for the menu to pop up. Switching from one desktop to >>> another can take several seconds, sometimes 8 or 10. This rig is >>> getting slower. > Wut. I am running plasma 6 on a Surface Go 1 whose Pentium Gold was slow > even when it came out. It is half as fast as your 8350 and does not have > such problems. > Benchmark FX 8350: https://www.cpubenchmark.net/cpu.php?id=1780 > Benchmark Pentium Gold: https://www.cpubenchmark.net/cpu.php?id=3300 > > You have NVidia, right? Did you try the other graphics driver (i.e. > proprietary ←→ foss)? Do those delays disappear if you disable 3D effects > with Shift+Alt+F12? > I do have Nvidia and I use the Nvidia drivers. Thought about using the ones in the kernel but just never did. I don't think it is the video card tho. I think some of it is all the hard drives I have installed and that they are busy. I run torrent software all the time. It stays very busy. I actually set the connection speed to a little lower so that I have some network speed that isn't being used so that when I do something, I get some network bandwi
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Rich Freeman wrote: > On Wed, Apr 17, 2024 at 9:33 AM Dale wrote: >> Rich Freeman wrote: >> >>> All AM5 CPUs have GPUs, but in general motherboards with video outputs >>> do not require the CPU to have a GPU built in. The ports just don't >>> do anything if this is lacking, and you would need a dedicated GPU. >>> >> OK. I read that a few times. If I want to use the onboard video I have >> to have a certain CPU that supports it? Do those have something so I >> know which is which? Or do I read that as all the CPUs support onboard >> video but if one plugs in a video card, that part of the CPU isn't >> used? The last one makes more sense but asking to be sure. > To use onboard graphics, you need a motherboard that supports it, and > a CPU that supports it. I believe that internal graphics and an > external GPU card can both be used at the same time. Note that > internal graphics solutions typically steal some RAM from other system > use, while an external GPU will have its own dedicated RAM (and those > can also make use of internal RAM too). > > The 7600X has a built-in RDNA2 GPU. All the original Ryzen zen4 CPUs > had GPU support, but it looks like they JUST announced a new line of > consumer zen4 CPUs that don't have it - they all end in an F right > now. > > In any case, if you google the CPU you're looking at it will tell you > if it supports integrated graphics. Most better stores/etc have > filters for this feature as well (places like Newegg or PCPartPicker > or whatever). > > If you don't play games, then definitely get integrated graphics. > Even if the CPU costs a tiny bit more, it will give you a free empty > 16x PCIe slot at whatever speed the CPU supports (v5 in this case - > which is as good as you can get right now). > Sounds good. So right now, if I buy a mobo with a couple video ports, any current CPU will make the integrated video work. There is some CPUs in the works that don't so double check first, just to be sure. ;-) >> I might add, simply right clicking on the desktop can take sometimes 20 >> or 30 seconds for the menu to pop up. Switching from one desktop to >> another can take several seconds, sometimes 8 or 10. This rig is >> getting slower. Actually, the software is just getting bigger. You get >> my meaning tho. I bet the old KDE3 would be blazingly fast compared to >> the rig I ran it on originally. > That sounds like RAM but I couldn't say for sure. In any case a > modern system will definitely help. When I first built this rig, it was very quick to respond to anything I did. Some could be all the hard drives I have installed here, 10 I think right now, but I think it just takes longer for the software to do its thing because all that software has gotten larger over the years. The same thing happened to my old original rig, AMD 2500+ single core with I think a few gigabytes of ram. The software just outgrew the ability of the hardware to keep up. I'm thinking of moving my torrent software to the NAS box. That thing takes a good bit of bandwidth itself. It keeps the drives and network busy. That can't help any. >> I'd get 32GBs at first. Maybe a month or so later get another 32GB. >> That'll get me 64Gbs. Later on, a good sale maybe, buy another 32GB or >> a 64GB set and max it out. > You definitely want to match the timings, and you probably want to > match the sticks themselves. Also, you generally need to be mindful > of how many channels you're occupying, though as I understand it DDR5 > is essentially natively dual channel. If you just stick one DDR4 > stick in a system it will not perform as well as two sticks of half > the size. I forget the gory details but I believe it comes down to > the timings of switching between two different channels vs moving > around within a single one. DDR RAM timings get really confusing, and > it comes down to the fact that addresses are basically grouped in > various ways and randomly seeking from one address to another can take > a different amount of time depending on how the new address is related > to the address you last read. The idea of "seeking" with RAM may seem > odd, but recent memory technologies are a bit like storage, and they > are accessed in a semi-serial manner. Essentially the latencies and > transfer rates are such that even dynamic RAM chips are too slow to > work in the conventional sense. I'm guessing it gets into a lot of > gory details with reactances and so on, and just wiring up every > memory cell in parallel like in the old days would slow down all the > voltage transitions. I used a memory finder tool to find what fits that ASUS mobo. It takes 32GB sticks IN PAIRS. Also, according to one man
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Meik Frischke wrote: > Am 2024-04-17 12:33, schrieb Dale: >> I found a benchmark website that compares the two. Link below. It >> claims about 80% faster. In some ways, twice as fast. Sometimes those >> bench tests don't reflect the real world to well. Most of them seem to >> test gaming speeds which isn't of much use anyway for me. I'm more >> about compiling and such. Just wondering how much speed difference this >> would make. Maybe someone reading this did a similar upgrade or has >> seen both in action. If so, post and share your thoughts. >> > > Hi Dale, > > since Moore's Law isn't quite dead yet there is a significant > performance uplift in newer processor generations, especially with the > smaller 5nm process nodes of recent, after some years of stagnation at > 14nm (your FX-8350 was manufactured at 32nm). With each process shrink > (32nm -> 28nm -> 22 nm -> 14nm -> 10nm -> 7nm -> 5nm) new CPUs can > deliver higher performance with the same power consumption or achieve > similar performance levels with lower power consumption. > Looking at the open-benchmarking default configuration kernel compile > benchmark (pts/build-linux-kernel-1.15.0), the Ryzen 5 7600 (slower > non-X) took ~101s to compile the kernel (based on 28 submitted > results) while the FX-8350 took ~422s for the same task (based on 4 > submissions) [1]. Unlike gaming, compiling tends to scale quite well > with core count and for the gentoo use-case the measured performance > difference is in most cases similar for different packages. There are > many influencing factors for benchmarking like running kernel version, > activated options and mitigations so YMMV, but you can test it > yourself: there are ebuilds for the phoronix-benchmark-suite in > various overlays [2]. You can perform the benchmark with > $(phoronix-test-suite benchmark pts/build-linux-kernel-1.15.0) with > the "defconfig" test configuration option. > > Cheers, > Meik > > [1] > https://openbenchmarking.org/test/pts/build-linux-kernel=9cdcd82c9c47af9df17263e4312f634338dbf476#metrics > [2] https://gpo.zugaina.org/app-benchmarks/phoronix-test-suite > > If one just compares the kernel compile time, about 4 times faster. I'm not expecting the accuracy one needs to build a space ship. ;-) That's a pretty good way to measure because with Gentoo, compiling a kernel is a very common thing. As you said, it scales well. Compiling gcc would be a good one to if they have default USE flags. Obviously if one system has a lot of USE flags enabled and another is the bare minimum, there will be a difference not related to CPU speed. Rich made a good point too. Speed isn't just influenced by the CPU. Memory speed and even the speed of accessing data drive, spinning rust, SSD or whatever, also affects a system. When I get this new rig built and you see me post about it, remind me and I'll install that benchmark test and send in the results. I like doing things like that because it helps others too. I just wish there was a centralized place for them all. Right now, there are likely dozens of them and each with their own method. Thanks for that info. I'm making progress and planning a way to purchase all this. It's still not cheap but cheaper than it was before I found out I could get a cheaper CPU and upgrade later. Dale :-) :-)
Re: [gentoo-user] Re: Slightly corrupted file systems when resuming from hibernation
Grant Edwards wrote: > > 2) Lack of support for old hardware when running a newer kernels. > > I used to run into this when running nvidia-drivers. > Gentoo-sources would mark a new kernel stable, but my video board > would not be supported by nvidia-drivers versions that were > supported for that new stable kernel. I would mask newer kernels > until and run older "longterm" kernels as long as I could. I would > evenually be forced to buy a new video card. After going through > that cycle a couple times, I swore off NVidia video cards and > life's been much eaiser since. > I still use Nvidia and use nvidia drivers. I to run into problems on occasion with drivers and kernels. When you switched from Nvidia, what did you switch too? Do you still use drivers you install or kernel drivers? How well does the video system work? In other words, plenty fast enough for what you do. I don't do any sort of heavy gaming. Since I have a nice game on my cell phone now, I play it almost all the time. I can't recall playing a game of solitaire on my computer in a long while. My biggest thing, two video ports, one for monitor and one for TV. Most TV videos aren't very high def but some are 1080P. That's all my TV can handle. Just exploring options. Dale :-) :-)
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Rich Freeman wrote: > On Wed, Apr 17, 2024 at 6:33 AM Dale wrote: >> On the AM5 link, I found a mobo that I kinda like. I still wish it had >> more PCIe slots tho. > AM5 has 28 PCIe lanes. Anything above that comes from a switch on the > motherboard. > > 0.1% of the population cares about having anything on their > motherboard besides a 16x slot for the GPU. So, that's what all the > cheaper boards deliver these days. The higher end boards often have a > switch and will deliver extra lanes, and MAYBE those will go into > another PCIe slot (probably not wired for 16x but it might have that > form factor), and more often those go into additional M.2 slots and > USB3 ports. (USB3 is very high bandwidth, especially later > generations, and eats up PCIe lanes as a result.) > > Keep in mind those 28 v5 lanes have the bandwidth of over 100 v3 > lanes, which is part of why the counts are being reduced. The problem > is that hardware to do that conversion is kinda niche right now. It > is much easier to bifurcate a larger slot, but that doesn't buy you > more lanes. > >> It supports not only the Ryzen 9 >> series but also supports Ryzen 5 series. > That is because the 9 and 5 are branding and basically convey no > information at all besides the price point. > > The Ryzen 7 1700X has about half the performance of the Ryzen 5 7600X, > and that would be because the first chip came out in 2017, and the > second came out in 2022 and is three generations newer. > > Likewise the intel branding of "i3" or "i7" and so on also conveys no > information beyond the general price level they were introduced at. > You can expect the bigger numbers to offer more performance/features > than the smaller ones OF THE SAME GENERATION. The same branding keeps > getting re-applied to later generations of chips, and IMO it is > intentionally confusing. > >> I looked up the Ryzen 5 7600X >> and 8600G. I think the X has no video and the G has video support. > Both have onboard graphics. The G designates zen1-3 chips with a GPU > built in, and all zen4 CPUs have this as a standard feature. The > 7600X is zen4. > > See what I mean about the branding getting confusing? > Yep. I see that. It's easy enough to confuse me. Having something that is inherently confusing just makes it worse. I think some manufacturers do this sort of thing on purpose. Not just computer stuff either. >> I >> haven't researched yet to see if the mobo requires the G since it has >> video ports, two to be more precise which is the minimum I need. > All AM5 CPUs have GPUs, but in general motherboards with video outputs > do not require the CPU to have a GPU built in. The ports just don't > do anything if this is lacking, and you would need a dedicated GPU. > OK. I read that a few times. If I want to use the onboard video I have to have a certain CPU that supports it? Do those have something so I know which is which? Or do I read that as all the CPUs support onboard video but if one plugs in a video card, that part of the CPU isn't used? The last one makes more sense but asking to be sure. >> Anyway, those two CPUs are cheaper than the Ryzen 9 I was looking at. I >> could upgrade later on as prices drop. I'm sure a new Ryzen is lurking >> around the corner. > Zen5 is supposedly coming out later this year. It will be very > expensive. Zen4 is still kinda expensive I believe though I haven't > gone looking recently at prices. I have a zen4 system and it was > expensive (particularly the motherboard, and the DDR5 is more > expensive, and if you want NVMe that does v5 that is more expensive as > well). That could mean a slight price drop for the things I'm looking at then. One can hope. Right??? > > > I have a FX-8350 8 core CPU now. Would the Ryzen 5's mentioned above be >> a good bit faster, a lot, a whole lot? > So, that very much depends on what you're doing. > > Single-thread performance of that 7600X is 2-3x faster. Total > performance is almost 5x faster. The 7600X will use moderately less > power at full load, and I'm guessing WAY less power at less than full > load. It will also have much better performance than those numbers > reflect for very short bursts of work, since modern CPUs can boost. > > That's just pure CPU performance. > > The DDR5 performance of the recent CPU is MUCH better than that of the > DDR3 you're using now. Your old motherboard might be PCIe v2 (I think > the controller for that was on the motherboard back then?). If so > each lane delivers 8x more bandwidth on the recent CPU, which matters > a great deal for graphics, or for NVMe performance if you're using an > NVMe that supports it and have a wor
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Frank Steinmetzger wrote: > Am Mon, Apr 15, 2024 at 08:04:15AM -0500 schrieb Dale: > > >> I've seen some server type mobos that have SAS connectors which gives >> several options. Some of them tend to have more PCIe slots which some >> regular mobos don't anymore. Then there is that ECC memory as well. If >> the memory doesn't cost to much more, I could go that route. I'm not >> sure how much I would benefit from it but data corruption is a thing to >> be concerned about. >> […] >> The problem with those cards, some of the newer mobos don't have as many >> PCIe slots to put those cards into anymore. I think I currently have >> two such cards in my current rig. The new rig would hold almost twice >> the number of drives. Obviously, I'd need cards with more SATA ports. > Indeed consumer boards tend to get fewer normal PCIe slots. Filtering for > AM4 boards, the filter allowed me to filter up to 6 slots, whereas for AM5 > boards, the filter stopped at 4 slots. > AM4: https://skinflint.co.uk/?cat=mbam4=18869_5%7E20502_UECCDIMM%7E4400_ATX > AM5: https://skinflint.co.uk/?cat=mbam5=18869_4%7E20502_UECCDIMM%7E4400_ATX > > On the AM5 link, I found a mobo that I kinda like. I still wish it had more PCIe slots tho. Still, with m.2 to SATA converter thing or a PCIe card with a LOT of SATA ports or a SAS card, I could handle all the hard drives, I think. Anyway, I found the ASUS Prime X670-P which is quite nice. It has connections I've never heard of. Still, may need them for something. I found the ASUS website and started looking for the specs and such. After I got the noscript thing sorted so the page would work, I noticed something kinda awesome. It supports not only the Ryzen 9 series but also supports Ryzen 5 series. I looked up the Ryzen 5 7600X and 8600G. I think the X has no video and the G has video support. I haven't researched yet to see if the mobo requires the G since it has video ports, two to be more precise which is the minimum I need. Anyway, those two CPUs are cheaper than the Ryzen 9 I was looking at. I could upgrade later on as prices drop. I'm sure a new Ryzen is lurking around the corner. I have a FX-8350 8 core CPU now. Would the Ryzen 5's mentioned above be a good bit faster, a lot, a whole lot? I need to upgrade either way. Mobos tend to last around 10 years or so and I'm pushing that hard. With the new solid capacitors, some say they last a lot longer now. Still, I need more memory too. 32GBs just isn't much when running Seamonkey, three Firefox profiles and torrent software. I'm not running out but at times, it's using a lot of it. I was hoping for a mobo that would handle more than 128GB but that is a lot of memory. I found a benchmark website that compares the two. Link below. It claims about 80% faster. In some ways, twice as fast. Sometimes those bench tests don't reflect the real world to well. Most of them seem to test gaming speeds which isn't of much use anyway for me. I'm more about compiling and such. Just wondering how much speed difference this would make. Maybe someone reading this did a similar upgrade or has seen both in action. If so, post and share your thoughts. This opens a new option that might be easier to accomplish. Still wish that mobo had more PCIe slots tho. Dale :-) :-) https://cpu.userbenchmark.com/Compare/AMD-Ryzen-5-7600X-vs-AMD-FX-8350/4130vs1489 https://www.asus.com/us/motherboards-components/motherboards/prime/prime-x670-p/helpdesk_qvl_cpu?model2Name=PRIME-X670-P
Re: [gentoo-user] Re: Slightly corrupted file systems when resuming from hibernation
Grant Edwards wrote: > On 2024-04-16, Arve Barsnes wrote: >> On Tue, 16 Apr 2024 at 15:29, Dr Rainer Woitok >> wrote: >>>> My understanding is the gentoo-sources kernels are aligned with the LTS >>>> upstream releases. >>> Right, they use the same version numbers. But you can't see from just >>> looking at the available "gentoo-sources" which one is LTS and which one >>> is not. You have to consult "https://www.kernel.org/; to get this in- >>> formation. >> Only LTS kernels get stabilised, so this information is readily available. > "Stablized" as in the corresponding gentoo-sources ebuild is marked as > stable. [Not to be confused with Linux "stable" kernels -- not all of > which end up with LTS status.] > > Getnoo-sources also includes "stable" but not "LTS" Linux kernels, but > the gentoo-sources ebuild for those is always "testing". > > IOW, if you install gentoo-sources, and don't keyword it to allow > "testing" ebuilds, then you won't get anything other than LTS kernel > sources. That's some helpful info. That helps me too. Dale :-) :-)
Re: [gentoo-user] Re: Slightly corrupted file systems when resuming from hibernation
Arve Barsnes wrote: > On Tue, 16 Apr 2024 at 15:29, Dr Rainer Woitok > wrote: >>> My understanding is the gentoo-sources kernels are aligned with the LTS >>> upstream releases. >> Right, they use the same version numbers. But you can't see from just >> looking at the available "gentoo-sources" which one is LTS and which one >> is not. You have to consult "https://www.kernel.org/; to get this in- >> formation. > Only LTS kernels get stabilised, so this information is readily available. > > Regards, > Arve I've never understood what is supported long term either. I use gentoo-sources. I've never figured out just how to pick a kernel that is supposed to be stable for the larger version. In other words, only security and bug fixes, no new hardware. Right now, 6.8.5 is the highest version in the tree here but there are more versions of it to come. So, I tend to go back to 6.7.X and pick the highest version of that. The first two digits used to mean something but I think that changed a long time ago. I try to avoid the absolute latest because my video drivers tend to lag behind a little. They won't emerge for anything very new sometimes. That's why I go back a little as described above. Thing is, I have no idea if that is the right way or if it really even matters if I pick 6.8.1 over 6.7.12 or vice versa. I wish they were clearly marked somehow myself. Something in the name that shows it is stable. Given I rarely have problems with kernels, maybe none of this matters. Thing is, I plan to build a new rig soon. Might help then. Maybe. Dale :-) :-)
Re: [gentoo-user] Re: Slightly corrupted file systems when resuming from hibernation
Michael wrote: > On Tuesday, 16 April 2024 11:55:20 BST Dale wrote: > >> If you update often, it shouldn't take long answer the questions. If >> you do like me and don't update often, it may take longer but no more >> time than it would if you updated often and added all the time >> together. As far as I know, if one manually updates their kernel, make >> oldconfig is the safest and recommended method. You are prompted for >> new drivers/options and can see if they apply to you or not. If you >> don't want to update that way, I think there is a kernel that does it's >> own thing. I think it is sort of like boot media uses. If the time >> needed to answer all the questions isn't there, that may be a option to >> look into. It's called genkernel. I've never used it but read it works. > The sys-kernel/genkernel package will automatically build & install your > kernel and initramfs in /boot, but it will NOT prepare a kernel configuration > tuned to your hardware and desired options. It uses a generic default > configuration safe for most circumstances. The user can tweak the default > configuration to suit their needs and genkernel will use that. > > For quick(er) and automated kernel update and installation there are the > gentoo *distribution kernels*: > > https://wiki.gentoo.org/wiki/Project:Distribution_Kernel > > > I thought genkernel was the one. Looking at your link, that would be a option more closely to what I thought genkernel was. So, genkernel requires more effort than I thought and distribution kernel is the more "automatic" way. Now to remember that. :/ I still like my old way. It works. It's rare that it fails. It's been years since I couldn't boot up due to a bad kernel. Still good to have options tho. Not everyone is like me. Thank goodness for that. ROFL Dale :-) :-)
Re: [gentoo-user] Re: Slightly corrupted file systems when resuming from hibernation
Dr Rainer Woitok wrote: > Michael, > > On Monday, 2024-04-15 12:48:34 +0100, you wrote: > >> ... >> Why have you set your /boot to be mounted at boot? > Well, I think, I then just followed the Gentoo Handbook. But I see your > point of saving time which could be better used to successfully unmount > the "/home/" partition. I'll change my "/etc/fstab" file as well as a > few of my scripts. Thanks for pointing that out :-) > >> ... >> MoBo firmware can be notoriously buggy and is >> typically frozen/abandoned within a couple of years by the OEMs. In >> addition, >> kernel code changes and any previous symbiosis with the firmware can fall >> apart with a later kernel release. > Hm, this sounds a bit like "never change your running kernel", doesn't > it? But this brings up two related questions: > > 1. Why does Gentoo not somehow mark LTS kernels either in the version >number or in the slot name? This would make it easier to prevent the >installation of too modern kernels. > > 2. I'm building new kernels with "make olddefconfig" rather than "make >oldconfig" because I thought providing default values to new configu- >ration variables is a good idea. But what precisely does "make old- >config" do with new configuration variables instead? Just leaving >them out? But what's the difference between not defining a configu- >ration variable and setting it to a default value? Or is "make old- >config" really the way to generate more conservative kernels which do >not as quickly overburden aging motherboards? > > Sincerely, > Rainer I rarely update my kernel given I don't reboot much. I am working on that tho. I've updated my kernel three times recently but never rebooted to use any of them. If power fails and I have to reboot, they are there at least. All of us should update when we can. I been using Gentoo since around 2003. I started out making my kernel from scratch and updating the manual way. I also install the manual way with my own naming scheme, just close enough for dracut and grub to recognize them. I've always used make oldconfig and for most of the driver questions, I answer no. Given I start with a kernel config that already contains everything I need, it is rare that I need anything new. So, I rarely need any of the new drivers. You are likely the same. I think there is a option for it to default to no or yes for all the questions automatically but not all questions are yes or no and sometimes you may need a yes. To me, it's best to use make oldconfig and answer each question. That way you can catch something you can use but you also catch those questions that need a numbered option, 1, 2, 3, 4 or something. If you update often, it shouldn't take long answer the questions. If you do like me and don't update often, it may take longer but no more time than it would if you updated often and added all the time together. As far as I know, if one manually updates their kernel, make oldconfig is the safest and recommended method. You are prompted for new drivers/options and can see if they apply to you or not. If you don't want to update that way, I think there is a kernel that does it's own thing. I think it is sort of like boot media uses. If the time needed to answer all the questions isn't there, that may be a option to look into. It's called genkernel. I've never used it but read it works. In short, make oldconfig is the recommended way as far as I know. In my opinion, it is the safest way to know what you are going to get. Links for more info. https://wiki.gentoo.org/wiki/Kernel/Upgrade https://wiki.gentoo.org/wiki/Kernel/Configuration Someone else may have a different opinion, even a better one. This is how I always do it and kernel failure is rare. Hope it helps. Dale :-) :-)
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Frank Steinmetzger wrote: > Am Mon, Apr 15, 2024 at 08:04:15AM -0500 schrieb Dale: > >>> The physical connector is called M.2. The dimensions of the “sticks” are >>> given in a number such as 2280, meaning 22 mm wide and 80 mm long. There >>> are >>> different lengths available from 30 to 110 mm. M.2 has different “keys”, >>> meaning there are several variants of electrical hookup. Depending on that, >>> it can support SATA, PCIe, or both. NVMe is a protocol that usually runs >>> via >>> PCIe. So for a modern setup, one usually buys NVMe drives, meaning they are >>> connected via PCIe either directly to the CPU or over the chipset. >>> >> >> Ahh, that's why some of them look a little different. I was wondering >> about that. Keep in mind, I've never seen one in real life. Just >> pictures or videos, or people talking about them on this list. > I use one in my 10-year-old PC. The board only provides PCIe 2.0×2 to the > slot, so I only get around 1 GB/s instead of 3 which the SSD can reach. But > I bought the SSD with the intention of keeping it in the next build and I > don’t notice the difference anyways. > >>> There is also the other way around that: an adapter card for the M.2 slot >>> that gives you SATA ports. >>> >> I didn't know that. > I actually thought we mentioned it already in an earlier “NAS thingy” > thread. :) > > https://www.reddit.com/r/selfhosted/comments/s0bf1d/m2_sata_expansion_anyone_use_something_like_this/ > https://www.amazon.de/dp/B09FZDQ6ZB > Maybe you find something if you search for the controller chip (PCIe to > SATA): JMB585. From what I’ve just read though, the cheap chines adapters > don’t seem to be very sturdy. One person advised to put an adapter M.2 → > normal PCIe into the M.2 and then use a normal-formfactor controller card. > After all, an M.2 slot is just a PCIe×4 slot with a different connector. > > BTW: there are also NVMe SSDs in the old 2.5″ format. This formfactor is > called U.2, but beware the enterprise-level prices. It could have came up but slipped my mind. Lots of things slip through nowadays. :/ Those you linked to are nice. There are some PCIe cards that go up to a dozen or so drives and still give pretty good speed. A PCIe card would be better for the new build, given the larger number of sata ports. Either way, I try to spread it across two connection points. Example, I have a data and crypt mount point each having three hard drives. All my data mount point drives are on one card. All my crypt mount point drives are on one card. If one card quits all of a sudden, that whole mount point is gone. If needed, I could move drives to the other card until I can replace the card. >> I've seen some server type mobos that have SAS connectors which gives >> several options. Some of them tend to have more PCIe slots which some >> regular mobos don't anymore. Then there is that ECC memory as well. If >> the memory doesn't cost to much more, I could go that route. I'm not >> sure how much I would benefit from it but data corruption is a thing to >> be concerned about. >> […] >> The problem with those cards, some of the newer mobos don't have as many >> PCIe slots to put those cards into anymore. I think I currently have >> two such cards in my current rig. The new rig would hold almost twice >> the number of drives. Obviously, I'd need cards with more SATA ports. > Indeed consumer boards tend to get fewer normal PCIe slots. Filtering for > AM4 boards, the filter allowed me to filter up to 6 slots, whereas for AM5 > boards, the filter stopped at 4 slots. > AM4: https://skinflint.co.uk/?cat=mbam4=18869_5%7E20502_UECCDIMM%7E4400_ATX > AM5: https://skinflint.co.uk/?cat=mbam5=18869_4%7E20502_UECCDIMM%7E4400_ATX My new build will be a Ryzen 9 7900X which is AM5. I try to stick with known good brands of mobos. I currently use Gigabyte. I'd be happy with ASUS and a couple others. Supermicron I think is a good brand for server type gear. I notice all the ones listed in your link for AM5 is ASUS. I don't recall ever having one but I've read they are good. I wouldn't hesitate to buy one of them. >> One reason I'm trying not to move to fast right now, besides trying to >> save up money, I'm trying to find the right CPU, mobo and memory combo. >> None of them are cheap anymore. Just the CPU is going to be around >> $400. The mobo isn't to far behind if I go with a non server one. > One popular choice for home servers is AM4’s Ryzen Pro 4650G. That’s an APU > (so with powerful internal graphics), but also with ECC support (hence the > Pro moniker). The APU is popular because 1) on AM4 only APUs have
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Frank Steinmetzger wrote: > Am Sat, Apr 13, 2024 at 08:23:27AM -0500 schrieb Dale: >> Rich Freeman wrote: >>> On Sat, Apr 13, 2024 at 8:11 AM Dale wrote: >>>> My biggest thing right now, finding a mobo with plenty of PCIe slots. >>>> They put all this new stuff, wifi and such, but remove things I do need, >>>> PCIe slots. >>> PCIe and memory capacity seem to have become the way the >>> server/workstation and consumer markets are segmented. >>> >>> AM5 gets you 28x v5 lanes. SP5 gets you 128x v5 lanes. The server >>> socket also has way more memory capacity, though I couldn't quickly >>> identify exactly how much more due to the ambiguous way in which DDR5 >>> memory channels are referenced all over the place. Suffice it to say >>> you can put several times as many DIMMs into a typical server >>> motherboard, especially if you have two CPUs on it (two CPUs likewise >>> increases the PCIe capacity). >> I see lots of mobos with those little hard drives on a stick. I think >> they called NVME or something, may have spelling wrong. > The physical connector is called M.2. The dimensions of the “sticks” are > given in a number such as 2280, meaning 22 mm wide and 80 mm long. There are > different lengths available from 30 to 110 mm. M.2 has different “keys”, > meaning there are several variants of electrical hookup. Depending on that, > it can support SATA, PCIe, or both. NVMe is a protocol that usually runs via > PCIe. So for a modern setup, one usually buys NVMe drives, meaning they are > connected via PCIe either directly to the CPU or over the chipset. > Ahh, that's why some of them look a little different. I was wondering about that. Keep in mind, I've never seen one in real life. Just pictures or videos, or people talking about them on this list. >> For most >> people, that is likely awesome. For me, I think I'd be happy with a >> regular SSD. Given that, I'd like them to make a mobo where one can say >> cut off/disable that NVME thing and make use of that "lane" as a PCIe >> slot(s). Even if that means having a cable that hooks to the mobo and >> runs elsewhere to connect PCIe cards. In other words, have one slot >> that is expandable to say three or four slots with what I think is >> called a back-plane. > There is also the other way around that: an adapter card for the M.2 slot > that gives you SATA ports. > I didn't know that. I looked on ebay, not sure exactly what to search for or what they look like but, I found something that looks like adapter. I only see one SATA connector but more searching could find something else. >> I have considered getting a server type mobo and CPU for my new build. > The only reason I got a server board for my little 4-slot NAS is to get ECC > support. (Plus you don’t get non-server Mini-ITX with more than four SATAs). > But it runs the smallest i3 I could get. It’s a NAS, not a workstation. It > serves files, nothing more. I don’t mind if updates take longer than on a > Desktop, which is why I don’t see a point in speccing it out to the top > CPU-wise. This only adds cost to acquisition and upkeep. > > I just did the profile switch to 23, and it rebuilt 685 packages in a little > over six hours, plus 1½ hours for gcc beforehand. > >> As you point out, they are packed with features I could likely use. > “Could likely”? Which features exactly? As you say yourself: > I've seen some server type mobos that have SAS connectors which gives several options. Some of them tend to have more PCIe slots which some regular mobos don't anymore. Then there is that ECC memory as well. If the memory doesn't cost to much more, I could go that route. I'm not sure how much I would benefit from it but data corruption is a thing to be concerned about. >> Thing is, the price tag makes me faint and fall out of my chair. Even >> used ones that are a couple years old, in the floor I go. -_- I looked >> up a SP5 AMD CPU, pushing $800 just for the CPU on Ebay, used. The mobo >> isn't cheap either. I don't know if that would even serve my purpose. > Exactly. Those boards and CPUs are made to run servers that serve entire > SMBs so that the employees can work on stuff at the same time. As a one-man > entity, I don’t expect you’ll ever really need that raw power. If it’s just > for SATA ports, you can get controller cards for those. > The problem with those cards, some of the newer mobos don't have as many PCIe slots to put those cards into anymore. I think I currently have two such cards in my current rig. The new rig would hold almost twice the number of drives. Obviously, I'd need cards with more SATA ports
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Wols Lists wrote: > On 13/04/2024 14:23, Dale wrote: >> I see lots of mobos with those little hard drives on a stick. I think >> they called NVME or something, may have spelling wrong. For most >> people, that is likely awesome. For me, I think I'd be happy with a >> regular SSD. Given that, I'd like them to make a mobo where one can say >> cut off/disable that NVME thing and make use of that "lane" as a PCIe >> slot(s). Even if that means having a cable that hooks to the mobo and >> runs elsewhere to connect PCIe cards. In other words, have one slot >> that is expandable to say three or four slots with what I think is >> called a back-plane. That way if a user wants to use the NVME thing, >> they can. If they don't, they can disable it and go another route with >> PCIe expansion. Sort of reminds me of that SAS drive thing. You have >> one cable that branches out into several SATA drives or SAS drives >> themselves. I don't know a lot about SAS really. May have to read up >> on that with that new case that holds 18 drives tho. O_o > > Read up on your mobo. > > Certainly on mine, that thing where you can use NVME *OR* OCIe *OR* > Sata is a thing on mine. > > There's a nice table in the mobo manual that tells you which combos > are supported. > > Cheers, > Wol > > That's good to know. I've looked at a few mobos but didn't see that in the list of features. I guess I need to dig deeper. Still, I need slots, either on the mobo or as a option to place elsewhere. My current mobo has all the PCIe slots in use. To add another drive controller to my current rig for example, I'd have to buy a new card that has more ports. Thanks for that info. Dale :-) :-)
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Rich Freeman wrote: > On Sat, Apr 13, 2024 at 8:20 AM Dale wrote: >> Right now, I have a three drive setup in a removable cage for the NAS >> box. > If you only need three drives I'm sure you can find cheap used > hardware that will handle that. Odds are it will use way less power > and perform better than whatever you're going to upgrade your system > to. I only run that thing about 1 to 2 hours a week, maybe a couple hours or so more when updating the OS once a month. It doesn't run much but the new systems are very cheap on power usage and they do a ton more work. I recently bought a new A/C for my room. A old A/C unit from a couple decades ago pulled about 12 to 13 amps. One I bought a few years ago, about 7 to maybe 8 on a really hot day, and LOo compiling on top of that. ;-) This new unit, dang thing pulls about 3 amps and still cools really good. All those are the same 12,000BTU rating. Same brand even. A lot of stuff is getting more efficient. To compensate for that, the power companies go up on the KW rate. O_O If I didn't have these old parts laying around that still work, I'd do like you're thinking. Still, you have a good point. It is old. >> I'm not familiar with Ceph but I've seen it mentioned before. > Do NOT deploy Ceph with three drives on one host. > > Ceph is what you think about using when you are tired of stacking HBAs > to cram a dozen SATA ports in a single host. It isn't what you'd use > for backup/etc storage. > > Honestly, if you're just looking for backup drives I'd consider USB3 > drives you just plug into a host and run in a zpool or whatever. > Export the filesystem and unplug the drives and you're done. That is > how I backup Ceph right now (k8s job that runs restic against ceph > dumping it on a zpool). > I like LVM myself. Right now, it serves my needs very well. I tried that NAS OS a while back but I ran into issues with it. I switched the box to Gentoo and LVM. When I get ready to swap drives or something, same commands as my main rig. Nothing new to learn or remember. And it works fine. Still gonna google and see what Ceph is. You've mentioned it before and I think someone else has too. Mostly, curious. Dale :-) :-)
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Rich Freeman wrote: > On Sat, Apr 13, 2024 at 8:11 AM Dale wrote: >> My biggest thing right now, finding a mobo with plenty of PCIe slots. >> They put all this new stuff, wifi and such, but remove things I do need, >> PCIe slots. > PCIe and memory capacity seem to have become the way the > server/workstation and consumer markets are segmented. > > AM5 gets you 28x v5 lanes. SP5 gets you 128x v5 lanes. The server > socket also has way more memory capacity, though I couldn't quickly > identify exactly how much more due to the ambiguous way in which DDR5 > memory channels are referenced all over the place. Suffice it to say > you can put several times as many DIMMs into a typical server > motherboard, especially if you have two CPUs on it (two CPUs likewise > increases the PCIe capacity). > > IT would be nice if there were switches out there that would let you > take a v5 PCIe slot on newer consumer hardware and break it out into a > bunch of v3/4 NVMe adapters (U.2, M.2, PCIe, whatever). > I see lots of mobos with those little hard drives on a stick. I think they called NVME or something, may have spelling wrong. For most people, that is likely awesome. For me, I think I'd be happy with a regular SSD. Given that, I'd like them to make a mobo where one can say cut off/disable that NVME thing and make use of that "lane" as a PCIe slot(s). Even if that means having a cable that hooks to the mobo and runs elsewhere to connect PCIe cards. In other words, have one slot that is expandable to say three or four slots with what I think is called a back-plane. That way if a user wants to use the NVME thing, they can. If they don't, they can disable it and go another route with PCIe expansion. Sort of reminds me of that SAS drive thing. You have one cable that branches out into several SATA drives or SAS drives themselves. I don't know a lot about SAS really. May have to read up on that with that new case that holds 18 drives tho. O_o I have considered getting a server type mobo and CPU for my new build. As you point out, they are packed with features I could likely use. Thing is, the price tag makes me faint and fall out of my chair. Even used ones that are a couple years old, in the floor I go. -_- I looked up a SP5 AMD CPU, pushing $800 just for the CPU on Ebay, used. The mobo isn't cheap either. I don't know if that would even serve my purpose. I may need something newer and even more expensive. I'd have to be able to put it in a regular case tho. No room for rack mount stuff. The biggest thing I need PCIe slots for, drive controllers. I thought about buying a SAS card and having it branch out into a LOT of drives. Still, I might need two cards even then. It's like looking at the cereal isle in a store. All those choices and most of them . . . . are corn. ROFL Dale :-) :-) P. S. To all: There was a news item recently about grub updates and reinstalling to the hard drive when updating. I just synced and there is a new grub update. Make sure to see if grub updates for you and if so, don't forget to reinstall to the hard drive. For old BIOS users, usually a grub-install /dev/sda will do. You EFI folks, you on your own. Gentoo wiki has the command. I've never had EFI stuff, yet. Hope this heads up helps someone.
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Rich Freeman wrote: > On Sat, Apr 13, 2024 at 3:58 AM Dale wrote: >> Given the FX-6300 has a higher clocks speed, 3.8GHz versus 3.2GHz for >> the Phenom, I'd think the FX would be a upgrade, quite a good one at >> that. More L2 cache too. Both are 6 cores according to what I found. >> Anyone know something I don't that would make switching to the FX-6300 a >> bad idea? > The most obvious issue is that you're putting money into a very obsolete > system. > > Obviously hardware of this generation is fairly cheap, but it isn't > actually the best bang for the buck, ESPECIALLY when you factor in > power use. Like most AMD chips of that generation (well, most chips > in general when you get that old), that CPU uses quite a bit of power > at idle, and so that chip which might cost you $35 even at retail > might cost you double that amount per year just in electricity. > > If your goal is to go cheap you also need to consider alternatives. > You can get used hardware from various places, and most of it is 3-5 > years old. Even commodity hardware of that age is far more powerful > than a 15 year old CPU socket and often it starts at $100 or so - and > that is for a complete system. Often you can get stuff that is > ex-corporate that has a fair bit of RAM as well, since a lot of > companies need to deal with compatibility with office productivity > software that might be a little RAM hungry. RAM isn't cheap these > days, and they practically give it away when they dispose of old > hardware. > > The biggest issue you're going to have with NAS is finding something > with the desired number of drive bays, as a lot of used desktop > hardware is SFF (but also super-low-power, which is something > companies consider in their purchasing decisions when picking > something they're going to be buying thousands of). > > Right now most of my storage is on Ceph on SFF PCs. I do want to try > to get future expansion onto NVMe but even used systems that support > much of that are kinda expensive still (mostly servers since desktop > CPUs have so few PCIe lanes, and switches aren't that common). One of > my constraints using Ceph though is I need a lot of RAM, which is part > of why I'm going the SFF route - for $100 you can get one with 32GB of > RAM and 2-3 SATA ports, plus USB3 and an unused 4-16x PCIe slot. That > is a lot of RAM/IO compared to most options at that price point (ARM > in particular tends to lack both - not that it doesn't support it, but > rather nobody makes cheap ARM hardware with PCIe+DIMM slots). > Right now, I have a three drive setup in a removable cage for the NAS box. The drives sit in my safe except when I'm updating the backups. I update about once a week or so. It doesn't change as fast as it used too. If this main rig were to die, I'd use it as a temporary rig, then focus on building a new rig. The encryption is slow and makes the CPU work hard. You are right, it is throwing money at old hardware. It's just that I have this hardware laying around anyway. I have a old Dell that I've thought about using as a torrent box. I'm not sure it has enough memory for that tho. I think the Dell has the max of 4GBs of memory. Current NAS/backup box has 16GBs. Main rig has 32GBs and I give it a good workout when doing updates. I'm not familiar with Ceph but I've seen it mentioned before. I'll go google it. See what it is. I need a couple new drives to swap out anyway. LVM makes that pretty easy. ;-) Dale :-) :-)
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Michael wrote: > On Saturday, 13 April 2024 12:12:04 BST Dale wrote: >> Michael wrote: >>> On Saturday, 13 April 2024 08:58:50 BST Dale wrote: >>>> Howdy, >>>> >>>> As most likely know, I have a older box I use for backups. The hard >>>> drives are encrypted which likes the CPU to have AES support. The >>>> Phenom CPUs don't seam to support AES from what I've seen. The specs >>>> for the mobo says the mobo does support the FX-6300 CPU tho which has >>>> AES support. Since the biggest thing I use that system for is my >>>> backups, would it be better to have the FX-6300 CPU which supports AES >>>> or the Phenom 1090T? Mobo only shows it supports the FX-6300 and no >>>> other FX series CPU. Could be that it doesn't support anything else, >>>> could be the list hasn't been updated. I dunno. >>>> >>>> Given the FX-6300 has a higher clocks speed, 3.8GHz versus 3.2GHz for >>>> the Phenom, I'd think the FX would be a upgrade, quite a good one at >>>> that. More L2 cache too. Both are 6 cores according to what I found. >>>> Anyone know something I don't that would make switching to the FX-6300 a >>>> bad idea? >>>> >>>> https://www.gigabyte.com/us/Motherboard/GA-770T-USB3-rev-10/support#suppo >>>> rt-> cpu >>>> >>>> You may have to click on CPU support to see it. Sometimes it goes to it >>>> directly, sometimes not. :/ >>>> >>>> Thanks. >>>> >>>> Dale >>>> >>>> :-) :-) >>> I can't find where the link you provide mentions FX-6300, an AM3+ socket >>> CPU, being compatible with GA-770T-USB3-rev-10, an AM3 socket MoBo. The >>> FX-6300 would definitely be a noticeable upgrade (higher base and boost >>> frequency, plus AES crypto), assuming you can find a MoBo to fit it on. >>> You'll probably find the cost of buying just the CPU of unknown >>> provenance, which may well have been cooked with overclocking, will more >>> or less equal the cost of buying a suitable MoBo + CPU + RAM already >>> assembled. Or even a whole PC ready to run: >>> >>> https://www.ebay.com/itm/166707210724 >>> >>> You could get a better result if you start with a budget in mind and then >>> fish for the best performance combo you can bag with it. >> Your right. I misread that somehow. Good thing I asked. I could have >> ordered a CPU that won't fit. It's a FX-4130 I should be looking at. >> No idea where I got the FX-6300 from. As you point out, it's not listed >> on the specs page. Still, the FX-4130 shows a faster clock and other >> stuff I mentioned except it has 4 cores instead of 6. I got it right >> except for the model of the CPU. According to this page it supports AES >> for encryption as well. >> >> >> https://www.amd.com/en/support/cpu/amd-fx-series-processors/amd-fx-4-core-bl >> ack-edition-processors/fx-4130#! >> >> >> Now that I got the right model of CPU, still be a improvement? I'm >> mostly wanting to use this mobo I already have. I just wish the >> encryption was faster. The loss of two cores may slow it down a lot, >> despite having AES built in. >> >> Dale >> >> :-) :-) > I think the FX-4130 should give a noticeable improvement on crypto and a > small > improvement on single thread processing (higher frequency and larger cache). > On the other hand it'll suffer on parallel tasks. > > TBH I'd rather spend the $10 or so for a used FX-4130 on a more modern MoBo > plus CPU, than throw good money after bad. I found a CPU for like $20 shipping and all but as you rightly and correctly point out, you don't know what that poor thing has been through. Overclocking, poor cooling and any number of other things. Most people don't build them like I do. I build a tank. Lots of fans, massive CPU cooler etc etc. I might get a perfectly good CPU that hasn't been abused at all, then again I might not. The 1090T in there now is one I bought used. I ran stress-ng on it and it never missed a beat. I think I'll stick with this for now. Once I build a new rig, whenever I can get back on track with that, this current rig will be used sort of like a NAS box and backup rig. It has AES support. It works fairly well. The encryption still slows the speed down some but that's the way it is. Dale :-) My biggest thing right now, finding a mobo with plenty of PCIe slots. They put all this new stuff, wifi and such, but remove things I do need, PCIe slots. First thing I'd do, disable wifi. I just don't need it. Only use wifi for my cell phone and printer. I got my CPU picked out, Ryzen 7900X. Memory will depend on the mobo mostly. I'll get back to it eventually. Maybe they will have what I need by then.
Re: [gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Michael wrote: > On Saturday, 13 April 2024 08:58:50 BST Dale wrote: >> Howdy, >> >> As most likely know, I have a older box I use for backups. The hard >> drives are encrypted which likes the CPU to have AES support. The >> Phenom CPUs don't seam to support AES from what I've seen. The specs >> for the mobo says the mobo does support the FX-6300 CPU tho which has >> AES support. Since the biggest thing I use that system for is my >> backups, would it be better to have the FX-6300 CPU which supports AES >> or the Phenom 1090T? Mobo only shows it supports the FX-6300 and no >> other FX series CPU. Could be that it doesn't support anything else, >> could be the list hasn't been updated. I dunno. >> >> Given the FX-6300 has a higher clocks speed, 3.8GHz versus 3.2GHz for >> the Phenom, I'd think the FX would be a upgrade, quite a good one at >> that. More L2 cache too. Both are 6 cores according to what I found. >> Anyone know something I don't that would make switching to the FX-6300 a >> bad idea? >> >> https://www.gigabyte.com/us/Motherboard/GA-770T-USB3-rev-10/support#support-> >> cpu >> >> You may have to click on CPU support to see it. Sometimes it goes to it >> directly, sometimes not. :/ >> >> Thanks. >> >> Dale >> >> :-) :-) > I can't find where the link you provide mentions FX-6300, an AM3+ socket CPU, > being compatible with GA-770T-USB3-rev-10, an AM3 socket MoBo. The FX-6300 > would definitely be a noticeable upgrade (higher base and boost frequency, > plus AES crypto), assuming you can find a MoBo to fit it on. You'll probably > find the cost of buying just the CPU of unknown provenance, which may well > have been cooked with overclocking, will more or less equal the cost of > buying > a suitable MoBo + CPU + RAM already assembled. Or even a whole PC ready to > run: > > https://www.ebay.com/itm/166707210724 > > You could get a better result if you start with a budget in mind and then > fish > for the best performance combo you can bag with it. Your right. I misread that somehow. Good thing I asked. I could have ordered a CPU that won't fit. It's a FX-4130 I should be looking at. No idea where I got the FX-6300 from. As you point out, it's not listed on the specs page. Still, the FX-4130 shows a faster clock and other stuff I mentioned except it has 4 cores instead of 6. I got it right except for the model of the CPU. According to this page it supports AES for encryption as well. https://www.amd.com/en/support/cpu/amd-fx-series-processors/amd-fx-4-core-black-edition-processors/fx-4130#! Now that I got the right model of CPU, still be a improvement? I'm mostly wanting to use this mobo I already have. I just wish the encryption was faster. The loss of two cores may slow it down a lot, despite having AES built in. Dale :-) :-)
[gentoo-user] NAS box and switching from Phenom II X6 1090T to FX-6300
Howdy, As most likely know, I have a older box I use for backups. The hard drives are encrypted which likes the CPU to have AES support. The Phenom CPUs don't seam to support AES from what I've seen. The specs for the mobo says the mobo does support the FX-6300 CPU tho which has AES support. Since the biggest thing I use that system for is my backups, would it be better to have the FX-6300 CPU which supports AES or the Phenom 1090T? Mobo only shows it supports the FX-6300 and no other FX series CPU. Could be that it doesn't support anything else, could be the list hasn't been updated. I dunno. Given the FX-6300 has a higher clocks speed, 3.8GHz versus 3.2GHz for the Phenom, I'd think the FX would be a upgrade, quite a good one at that. More L2 cache too. Both are 6 cores according to what I found. Anyone know something I don't that would make switching to the FX-6300 a bad idea? https://www.gigabyte.com/us/Motherboard/GA-770T-USB3-rev-10/support#support-cpu You may have to click on CPU support to see it. Sometimes it goes to it directly, sometimes not. :/ Thanks. Dale :-) :-)
Re: [gentoo-user] acct-user/man usermod: user 'man' does not exist in /etc/passwd
Michael wrote: > On Thursday, 11 April 2024 16:08:54 BST Dale wrote: > >> I don't recall editing this file ever. From my understanding, commands >> are used to manage that file. I can't say for sure but it's doubtful I >> edited that file. >> >> I can easily do a emerge -ek world if you think it would be wise to do >> so. I guess that would reset ownership of files as it reinstalls. >> Thoughts? >> >> Thanks. >> >> Dale >> >> :-) :-) > > I can't really advise what to do, it depends on your level of concern about > this discrepancy with the 'man' account. The question to mull over is what > could a rogue 'man' account have changed since your last full emerge @world? > > If you upgraded your profile from 17.1 to 23.0 recently you would have re- > emerged @world, so all packages would have been reinstalled. If you run find > to print recently changed files since the profile upgrade, you'll have some > pointers for packages to emerge again. Or, with the 'man' account safely > back > in its box you can change passwds/keys and re-emerge the whole @world once > more. > > If you are totally worried to the point of not being able to trust your > system, then you'll need to reformat and start with a fresh stage3 download > and fresh sources. Do not blindly copy all your configuration files from the > backups, but diff them to make sure only changes you approve make it into the > new system. This can be a lot of work, which you may not be inclined to > embark on and could potentially be an overkill. I guess I'll see what it does moving forward. I have to admit tho, I wonder how it got changed to begin with. Certainly odd. I wonder if I typed something in my mistake?? Anyway, time will tell. I'm behind a VPN and pretty good router so maybe that will be enough. Thanks. Dale :-) :-)
Re: [gentoo-user] acct-user/man usermod: user 'man' does not exist in /etc/passwd
Michael wrote: > On Thursday, 11 April 2024 12:58:17 BST Dale wrote: >> Michael wrote: >>> On Thursday, 11 April 2024 10:22:59 BST Dale wrote: >>>> I fixed it by commenting out the entry in the passwd file. It then >>>> created a new entry. I guess it was set wrong at some point. Just >>>> looks like emerge would be able to update it tho. Joost showing my >>>> setting was different gave me the clue that my current entry was wrong. >>>> I was kinda chicken to comment it out or remove it before then. ;-) >>>> >>>> Dale >>>> >>>> :-) :-) >>> It begs the question who/what could have changed the root group membership >>> to include the system account 'man'. This is highly irregular. Have you >>> looked at your backups to find out when /etc/group was changed last time? >>> Also emerge.log to find the last time acct-user/man was installed >>> successfully before this error started occurring. >> Well, this has been failing for a while. It's just that with the >> profile change, I wanted to re-emerge all packages. I'm sure this one >> hasn't really changed or anything but still, I wanted a clean start. >> >> My OS backup updates each week. So, backups is far to up to date to >> know. It's what I use to build the binary packages in. I also >> sometimes experiment as well when some package is giving me grief. I >> mostly just use the -k option on my main OS. >> >> I looked in /usr/share/man, I guess that is where most if not all man >> pages are, and they all appear to be owned by root and group is root. >> Should they be owned by man? If possible, can you post the owner and >> group for yours? I can change mine. I tested a few man pages, they all >> post fine but I'm usually root anyway. Works for user dale to tho. >> >> Thanks. >> >> Dale >> >> :-) :-) > The /usr/share/man directory and man pages within it are owned by root:root; > e.g. > > # ls -al /usr/share/man/man8/agetty.8.bz2 > -rw-r--r-- 1 root root 7307 Apr 4 10:46 /usr/share/man/man8/agetty.8.bz2 > > The problem in your case was the system account 'man' had been added to group > 'root'. This creates a privilege escalation and as such it is suspicious. > Had you done this by accident and now you corrected it, then hopefully you do > not need to be unduly worried. Had someone else done this ... then this > should be setting off alarm bells. I don't recall editing this file ever. From my understanding, commands are used to manage that file. I can't say for sure but it's doubtful I edited that file. I can easily do a emerge -ek world if you think it would be wise to do so. I guess that would reset ownership of files as it reinstalls. Thoughts? Thanks. Dale :-) :-)
Re: [gentoo-user] acct-user/man usermod: user 'man' does not exist in /etc/passwd
Michael wrote: > On Thursday, 11 April 2024 10:22:59 BST Dale wrote: > >> I fixed it by commenting out the entry in the passwd file. It then >> created a new entry. I guess it was set wrong at some point. Just >> looks like emerge would be able to update it tho. Joost showing my >> setting was different gave me the clue that my current entry was wrong. >> I was kinda chicken to comment it out or remove it before then. ;-) >> >> Dale >> >> :-) :-) > It begs the question who/what could have changed the root group membership to > include the system account 'man'. This is highly irregular. Have you looked > at your backups to find out when /etc/group was changed last time? Also > emerge.log to find the last time acct-user/man was installed successfully > before this error started occurring. Well, this has been failing for a while. It's just that with the profile change, I wanted to re-emerge all packages. I'm sure this one hasn't really changed or anything but still, I wanted a clean start. My OS backup updates each week. So, backups is far to up to date to know. It's what I use to build the binary packages in. I also sometimes experiment as well when some package is giving me grief. I mostly just use the -k option on my main OS. I looked in /usr/share/man, I guess that is where most if not all man pages are, and they all appear to be owned by root and group is root. Should they be owned by man? If possible, can you post the owner and group for yours? I can change mine. I tested a few man pages, they all post fine but I'm usually root anyway. Works for user dale to tho. Thanks. Dale :-) :-)
Re: [gentoo-user] acct-user/man usermod: user 'man' does not exist in /etc/passwd
Michael wrote: > On Thursday, 11 April 2024 02:23:22 BST Dale wrote: >> Howdy, >> >> This failed once before but I didn't worry about it. However, since the >> profile update, it still fails. I'd like to figure out how to fix it. >> I tried doing a emerge -C and then emerging it again. No help. This is >> the output. It's not to long, whole thing. :-D > >>>>> Completed installing acct-user/man-1-r3 into >> /var/tmp/portage/acct-user/man-1-r3/image > OK, so far so good. :-) > > >> * Final size of build directory: 0 KiB >> * Final size of installed tree: 4 KiB >> >> ./ >> ./usr/ >> ./usr/lib/ >> ./usr/lib/sysusers.d/ >> ./usr/lib/sysusers.d/acct-user-man.conf >> >>>>> Done. >> * checking 1 files for package collisions >> >>>>> Merging acct-user/man-1-r3 to / >> error writing passwd entry: Invalid argument >> * User man already exists >> --- /usr/ >> --- /usr/lib/ >> --- /usr/lib/sysusers.d/ >> >>>>> /usr/lib/sysusers.d/acct-user-man.conf >> * Removing user man from group(s): root > What?! Group 'root' should only have user 'root' as its member: > > # grep root:x /etc/group > root:x:0:root > > >> * To retain the user's group membership in the local system >> * config, override with ACCT_USER_MAN_GROUPS or >> * ACCT_USER_MAN_GROUPS_ADD in make.conf. >> * Documentation reference: >> * >> https://wiki.gentoo.org/wiki/Practical_guide_to_the_GLEP_81_migration#Overri >> de_user_groups * Updating user man >> usermod: user 'man' does not exist in /etc/passwd > This is not right, unless you removed 'man' manually? > > # grep man /etc/passwd > man:x:13:15:System user; man:/dev/null:/sbin/nologin > > >> usermod: failed to unlock /etc/gshadow >> * usermod: user 'man' does not exist in /etc/passwd >> * usermod: failed to unlock /etc/gshadow > # stat /etc/passwd > File: /etc/passwd > Size: 1636 Blocks: 4 IO Block: 4096 regular file > Device: 259,2 Inode: 18587 Links: 1 > Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) > > # stat /etc/shadow > File: /etc/shadow > Size: 815 Blocks: 2 IO Block: 4096 regular file > Device: 259,2 Inode: 18602 Links: 1 > Access: (0640/-rw-r-) Uid: (0/root) Gid: (0/root) > > # stat /etc/gshadow > File: /etc/gshadow > Size: 636 Blocks: 2 IO Block: 4096 regular file > Device: 259,2 Inode: 18562 Links: 1 > Access: (0400/-r) Uid: (0/root) Gid: (0/root) > > Check what yours look like, then try to correct them. It would be a good > idea > to fsck the partition too and check smartctl, in case you have fs corruption. I fixed it by commenting out the entry in the passwd file. It then created a new entry. I guess it was set wrong at some point. Just looks like emerge would be able to update it tho. Joost showing my setting was different gave me the clue that my current entry was wrong. I was kinda chicken to comment it out or remove it before then. ;-) Dale :-) :-)
Re: [gentoo-user] acct-user/man usermod: user 'man' does not exist in /etc/passwd
J. Roeleveld wrote: > On Thursday, 11 April 2024 03:23:22 CEST Dale wrote: >> Howdy, >> >> This failed once before but I didn't worry about it. However, since the >> profile update, it still fails. I'd like to figure out how to fix it. >> I tried doing a emerge -C and then emerging it again. No help. This is >> the output. It's not to long, whole thing. :-D >> >>>>> Failed to install acct-user/man-1-r3, Log file: >>>>> '/var/log/portage/acct-user:man-1-r3:20240411-011746.log' >>>>> >>>>> Jobs: 0 of 1 complete, 1 failed Load avg: 2.12, > > >> * FAILED postinst: 1 >> * >> * The following package has failed to build, install, or execute postinst: >> * >> * (acct-user/man-1-r3:0/0::gentoo, ebuild scheduled for merge), Log file: >> * '/var/log/portage/acct-user:man-1-r3:20240411-011746.log' >> * >> >> * GNU info directory index is up-to-date. >> (chroot) root@fireball / # >> >> >> >> Any ideas? It did install once long ago when the group and user thing >> started. >> >> Ideas?? > First idea, if "man" exists, check if it matches current systems. > > This is on a system less then 1 month old: > > $ id man > uid=13(man) gid=15(man) groups=15(man) > > -- > Joost Mine says: root@fireball / # id man uid=14357(man) gid=0(root) groups=0(root),15(man) root@fireball / # It doesn't match yours but it has something there. I'm surprised that doing a emerge -C and then emerging it again didn't fix it but I guess it adds something to those files but doesn't remove it when uninstalled. So, I did some editing. The old line, I commented it out. Then it emerged and added the new line. man:x:13:15:System user; man:/dev/null:/sbin/nologin #man:!:14357:0:9:7::: With it set like that, it emerges. This is what the output of your command looks like now. root@fireball / # id man uid=13(man) gid=15(man) groups=15(man) root@fireball / # Now it matches yours. Is this a bug or something? I don't tend to mess with that file myself. :/ Dale :-) :-)
[gentoo-user] acct-user/man usermod: user 'man' does not exist in /etc/passwd
Howdy, This failed once before but I didn't worry about it. However, since the profile update, it still fails. I'd like to figure out how to fix it. I tried doing a emerge -C and then emerging it again. No help. This is the output. It's not to long, whole thing. :-D >>> Failed to install acct-user/man-1-r3, Log file: >>> '/var/log/portage/acct-user:man-1-r3:20240411-011746.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 2.12, 1.62, 1.72 * Package: acct-user/man-1-r3:0 * Repository: gentoo * Maintainer: base-sys...@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/acct-user/man-1-r3/work >>> Preparing source in /var/tmp/portage/acct-user/man-1-r3/work ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/acct-user/man-1-r3/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/acct-user/man-1-r3/work ... >>> Source compiled. >>> Test phase [not enabled]: acct-user/man-1-r3 >>> Install acct-user/man-1-r3 into /var/tmp/portage/acct-user/man-1-r3/image >>> Completed installing acct-user/man-1-r3 into /var/tmp/portage/acct-user/man-1-r3/image * Final size of build directory: 0 KiB * Final size of installed tree: 4 KiB ./ ./usr/ ./usr/lib/ ./usr/lib/sysusers.d/ ./usr/lib/sysusers.d/acct-user-man.conf >>> Done. * checking 1 files for package collisions >>> Merging acct-user/man-1-r3 to / error writing passwd entry: Invalid argument * User man already exists --- /usr/ --- /usr/lib/ --- /usr/lib/sysusers.d/ >>> /usr/lib/sysusers.d/acct-user-man.conf * Removing user man from group(s): root * To retain the user's group membership in the local system * config, override with ACCT_USER_MAN_GROUPS or * ACCT_USER_MAN_GROUPS_ADD in make.conf. * Documentation reference: * https://wiki.gentoo.org/wiki/Practical_guide_to_the_GLEP_81_migration#Override_user_groups * Updating user man usermod: user 'man' does not exist in /etc/passwd usermod: failed to unlock /etc/gshadow * usermod: user 'man' does not exist in /etc/passwd * usermod: failed to unlock /etc/gshadow * ERROR: acct-user/man-1-r3::gentoo failed (postinst phase): * usermod failed with status 6 * * Call stack: * ebuild.sh, line 136: Called pkg_postinst * environment, line 884: Called acct-user_pkg_postinst * environment, line 417: Called die * The specific snippet of code: * die "usermod failed with status ${status}"; * * If you need support, post the output of `emerge --info '=acct-user/man-1-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=acct-user/man-1-r3::gentoo'`. * The complete build log is located at '/var/log/portage/acct-user:man-1-r3:20240411-011746.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/acct-user/man-1-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/acct-user/man-1-r3/temp/environment'. * Working directory: '/var/tmp/portage/acct-user/man-1-r3/empty' * S: '/var/tmp/portage/acct-user/man-1-r3/work' * FAILED postinst: 1 * * The following package has failed to build, install, or execute postinst: * * (acct-user/man-1-r3:0/0::gentoo, ebuild scheduled for merge), Log file: * '/var/log/portage/acct-user:man-1-r3:20240411-011746.log' * * GNU info directory index is up-to-date. (chroot) root@fireball / # Any ideas? It did install once long ago when the group and user thing started. Ideas?? Dale :-) :-)
Re: [gentoo-user] eselect repository and adding overlay.
Michael wrote: > On Sunday, 7 April 2024 20:17:31 BST Dale wrote: >> Howdy, >> >> A while back using overlays changed. Using eselect is supposed to be >> the new way, and easier. Either I'm missing something or something is >> missing from the docs. I tried to add voyageur to my NAS box/backup >> rig. The command to add it works fine. However, when I try to sync it, >> either just the overlay or the whole tree with eix-sync, I get this: >> >>>>> Syncing repository 'voyageur' into '/var/db/repos/voyageur'... >> /usr/bin/git clone --depth 1 >> https://cafarelli.fr/cgi-bin/cgit.cgi/voyageur-overlay/ . >> fatal: destination path '.' already exists and is not an empty directory. >> !!! git clone error in /var/db/repos/voyageur >> >> Action: sync for repo: gentoo, returned code = 0 >> Action: sync for repo: voyageur, returned code = 128 >> >> >> >> When I try to emerge something, anything will do, I start seeing this. >> >> >> >> WARNING: One or more repositories have missing repo_name entries: >> >> /var/db/repos/voyageur/profiles/repo_name >> >> NOTE: Each repo_name entry should be a plain text file containing a >> unique name for the repository on the first line. >> >> >> Shouldn't adding the overlay or syncing it fix that? Shouldn't all the >> files it needs be put there by either eselect or a sync? > If you have older files in there it may be causing a clash. I'd run: > > eselect repository remove -f voyageur > > Then check the directory /var/db/repos/ no longer contains the subdirectory > voyager. If it does remove it manually. Then add the repository afresh: > > eselect repository add voyageur > > and finally try to resync it. Should the error repeat itself, then something > must be amiss with the overlay itself and you should report it to the overlay > maintainer. > > HTH, I tested another overlay, it works. Maybe it is the voyageur overlay itself. Now to figure out how to fix it. I guess I could copy the directory from my main rig to the NAS box rig. My main rig isn't complaining. Yet. Thanks. Didn't occur to me that it was the overlay itself. :/ Dale :-) :-)
[gentoo-user] eselect repository and adding overlay.
Howdy, A while back using overlays changed. Using eselect is supposed to be the new way, and easier. Either I'm missing something or something is missing from the docs. I tried to add voyageur to my NAS box/backup rig. The command to add it works fine. However, when I try to sync it, either just the overlay or the whole tree with eix-sync, I get this: >>> Syncing repository 'voyageur' into '/var/db/repos/voyageur'... /usr/bin/git clone --depth 1 https://cafarelli.fr/cgi-bin/cgit.cgi/voyageur-overlay/ . fatal: destination path '.' already exists and is not an empty directory. !!! git clone error in /var/db/repos/voyageur Action: sync for repo: gentoo, returned code = 0 Action: sync for repo: voyageur, returned code = 128 When I try to emerge something, anything will do, I start seeing this. WARNING: One or more repositories have missing repo_name entries: /var/db/repos/voyageur/profiles/repo_name NOTE: Each repo_name entry should be a plain text file containing a unique name for the repository on the first line. Shouldn't adding the overlay or syncing it fix that? Shouldn't all the files it needs be put there by either eselect or a sync? Can someone give the exact steps it takes to add a overlay and it not error out? Maybe someone has some notes or something?? I've went through the docs a few times and it gets me back to this problem. Something is wrong somewhere. Oh, I tried to google this, all I find is hits about the old layman days. Doesn't really apply now. Need more up to date info. Thanks. Dale :-) :-)
Re: [gentoo-user] Every other startup results in a black screen (possibly SDDM related?)
Hoël Bézier wrote: >> However, it does wake up if I switch to another TTY (e.g. >> ctrl+alt+F4) and lets me log on, so it has obviously booted up. If I >> switch back to TTY 8 from there it just shows a blinking cursor (i.e. >> not SDDM, which is what I'd expect). If I reboot from the TTY that >> lets me log on, the boot process is usually normal and leaves me at >> the SDDM login. >> >> Any tips on how to debug this would be much appreciated. > > Since you can switch ttys, this means your computer “properly” booted. > So as far as we know, the only culprit is your login manager which > failed to start, or started improperly. > > For starters you could check, once logged in, if it is actually > running or not. > > ps faux | less > > will output the whole list of processes on your computer, check it to > see if you can find sddm in the list. > If not, then it failed to start, so you want to check if the service > in charge to start it has been run. > > rc-service sddm status # for openrc > systemctl status sddm # for systemd > > These commands should tell you if the process has been started and > failed, or if it never started in the first place. If it started and > failed, search for logs, or even try to start it manually. This will > give you indications as to why it won’t run. > > Otherwise, if it was never run by your service manager, this means > something earlier in the dependency tree failed to run. Same solution > here: search for logs, `rc-status` will give you the list of running > services on your computer and their state for openrc. > > Good luck, > Hoël He could also do a: ps aux | grep sddm and see if it lists it. Replace sddm if using something else. I'm not sure why but sometimes on my system, the GUI part is on 4. I once found it on 2. Most of the time it is on 7 but sometimes, I find it in other places. 4 is the most common alternative. You may want to cycle through ctrl alt F2 through F9 and see if it just parked itself somewhere else for some crazy reason. If you find it moves, we have a common problem. Most often it is on 7 where it should be but sometimes I have to go hunting for the thing. I've often wondered why it was in the wrong place. I just figure as long as I can find it, better not complain to much. LOL Dale :-) :-)
Re: [gentoo-user] some problems moving to 23.0 profile
John Covici wrote: > On Mon, 01 Apr 2024 18:05:47 -0400, > Dale wrote: >> John Covici wrote: >>> Hi. Well, I followed the steps in the news item, to move >>> todefault/linux/amd64/23.0/desktop/gnome/systemd >>> >>> and it all worked till it wants me to emerge the whole world file. >>> Here is what I get: >>> >>> emerge --ask --emptytree @world >>> >>> These are the packages that would be merged, in order: >>> >>> Calculating dependencies done! >>> Dependency resolution took 4.58 s (backtrack: 0/200). >>> >>> >>> !!! Problems have been detected with your world file >>> !!! Please run emaint --check world >>> >>> >>> !!! Ebuilds for the following packages are either all >>> !!! masked or don't exist: >>> www-apps/nextcloud:26.0.10 >>> >>> emerge: there are no ebuilds to satisfy >>> "sys-kernel/gentoo-sources:6.1.69". >>> (dependency required by "@kernels" [set]) >>> (dependency required by "@selected" [set]) >>> (dependency required by "@world" [argument]) >>> >>> I don't want to unmerge that kernel -- its my backup kernel, so I >>> definitely want to keep it. I am using the nextcloud they are >>> complaining about , I will upgrade it soon, but I want to keep it for >>> now. >>> >>> So, should I just not do the whole world file at all -- do I really >>> need to do that, or wait till I upgrade nextcloud and till I am no >>> longer using that kernel and then do it? >>> >>> Thanks in advance for any suggestions. >>> >> >> I ran into the problem of it complaining about my world file too. >> Running the command it gave didn't show any problems. I went ahead with >> the rest of the change. After it was all done, that error went away on >> its own. No idea what triggered it or what removed the trigger. Must >> be something to do with the profile switching process. You can likely >> ignore that for now. See if it goes away for you too. >> >> I don't know what nascloud is but the error says it is masked or not >> there at all. I'd suspect the mask part since there are several >> versions in the tree. You may want to check your package.mask file and >> see if there is something in there that masks it. Could be you meant to >> add the entry to keyword or unmask file but hit the wrong file. Did >> that once myself. One easy way to see if it exists or is masked, use >> this command, provided you have the package for it installed. I think >> gentools has this command. >> >> >> root@fireball / # equery list -p www-apps/nextcloud >> * Searching for nextcloud in www-apps ... >> [-P-] [ ] www-apps/nextcloud-26.0.8:26.0.8 >> [-P-] [ ~] www-apps/nextcloud-26.0.11:26.0.11 >> [-P-] [ ~] www-apps/nextcloud-26.0.12:26.0.12 >> [-P-] [ ] www-apps/nextcloud-27.1.5:27.1.5 >> [-P-] [ ~] www-apps/nextcloud-27.1.6:27.1.6 >> [-P-] [ ~] www-apps/nextcloud-27.1.7:27.1.7 >> [-P-] [ ] www-apps/nextcloud-28.0.1:28.0.1 >> [-P-] [ ] www-apps/nextcloud-28.0.2:28.0.2 >> [-P-] [ ~] www-apps/nextcloud-28.0.3:28.0.3 >> root@fireball / # >> >> >> Yours should look something like that. >> >> For the kernels, I don't upgrade the kernel as much as I should. I keep >> all versions masked except the ones I have installed and I add those >> versions to the world file, that way --depclean and other stuff, won't >> remove or complain so much about it. Just emerge -n --select y => kernel name and version here>. Don't forget the equal sign when >> including the version. >> >> Hope one or more of those things help. >> > My kernels are not in the world file at all, so I am confused why > portage should care about them when I am updating the world file. My > question is why do I need to do this at all -- could I just keep > updating as normal? > Keep in mind, some packages require a kernel to satisfy dependencies. I see several packages looking for a kernel and even checking for some config options. I think there is a virtual in the system set that has to be satisfied as well. If you install a kernel by hand, you may want to look into package provided or something later. Unless it causes emerge to refuse to update, I ignore errors about the kernel. Victor has one idea on the other problem, skip the nextcloud package with the --exclude option. However, once you complete the rest of emerge -e world, you need to go back and sort this out and emerge whatever was skipped. On my first attempt in a chroot, I had to skip one package too. Just keep in mind, I think it skips its dependencies as well. So it may not skip just that one package. If you chose the exclude method, you should be able to continue with the profile update. Just don't forget to emerge it later with the new settings. In short, if you use -a and it gives you the chance to say yes, I'd carry on. Dale :-) :-)
Re: [gentoo-user] some problems moving to 23.0 profile
John Covici wrote: > Hi. Well, I followed the steps in the news item, to move > todefault/linux/amd64/23.0/desktop/gnome/systemd > > and it all worked till it wants me to emerge the whole world file. > Here is what I get: > > emerge --ask --emptytree @world > > These are the packages that would be merged, in order: > > Calculating dependencies done! > Dependency resolution took 4.58 s (backtrack: 0/200). > > > !!! Problems have been detected with your world file > !!! Please run emaint --check world > > > !!! Ebuilds for the following packages are either all > !!! masked or don't exist: > www-apps/nextcloud:26.0.10 > > emerge: there are no ebuilds to satisfy > "sys-kernel/gentoo-sources:6.1.69". > (dependency required by "@kernels" [set]) > (dependency required by "@selected" [set]) > (dependency required by "@world" [argument]) > > I don't want to unmerge that kernel -- its my backup kernel, so I > definitely want to keep it. I am using the nextcloud they are > complaining about , I will upgrade it soon, but I want to keep it for > now. > > So, should I just not do the whole world file at all -- do I really > need to do that, or wait till I upgrade nextcloud and till I am no > longer using that kernel and then do it? > > Thanks in advance for any suggestions. > I ran into the problem of it complaining about my world file too. Running the command it gave didn't show any problems. I went ahead with the rest of the change. After it was all done, that error went away on its own. No idea what triggered it or what removed the trigger. Must be something to do with the profile switching process. You can likely ignore that for now. See if it goes away for you too. I don't know what nascloud is but the error says it is masked or not there at all. I'd suspect the mask part since there are several versions in the tree. You may want to check your package.mask file and see if there is something in there that masks it. Could be you meant to add the entry to keyword or unmask file but hit the wrong file. Did that once myself. One easy way to see if it exists or is masked, use this command, provided you have the package for it installed. I think gentools has this command. root@fireball / # equery list -p www-apps/nextcloud * Searching for nextcloud in www-apps ... [-P-] [ ] www-apps/nextcloud-26.0.8:26.0.8 [-P-] [ ~] www-apps/nextcloud-26.0.11:26.0.11 [-P-] [ ~] www-apps/nextcloud-26.0.12:26.0.12 [-P-] [ ] www-apps/nextcloud-27.1.5:27.1.5 [-P-] [ ~] www-apps/nextcloud-27.1.6:27.1.6 [-P-] [ ~] www-apps/nextcloud-27.1.7:27.1.7 [-P-] [ ] www-apps/nextcloud-28.0.1:28.0.1 [-P-] [ ] www-apps/nextcloud-28.0.2:28.0.2 [-P-] [ ~] www-apps/nextcloud-28.0.3:28.0.3 root@fireball / # Yours should look something like that. For the kernels, I don't upgrade the kernel as much as I should. I keep all versions masked except the ones I have installed and I add those versions to the world file, that way --depclean and other stuff, won't remove or complain so much about it. Just emerge -n --select y =. Don't forget the equal sign when including the version. Hope one or more of those things help. Dale :-) :-) P. S. While I was typing, Victor had a good idea too. More than one way to fix some things. :-D
Re: [gentoo-user] New profiles 23.0
Walter Dnes wrote: > I just ran "emerge --sync" and got the profile news item. So do I > update world and then update profile? emerge -pv has 3 interesting > lines... > On this point, you need to update world first and then change profiles. I tried to change profiles first and then do the updates and it caused problems. It might work, it might not. I can say it will work if you do the updates first and then change profiles. The news item even says to do the updates first and run --depclean. I forgot to run --depclean but I'm not sure if that caused a package to fail or not. I have one package that refuses to rebuild. I'll likely post it to another thread since it may not actually be related to the profile change. After all, sometimes packages do fail. So, update first then change profiles. Dale :-) :-)
Re: [gentoo-user] Question about emerge sync and where it all goes.
Michael wrote: > On Monday, 25 March 2024 02:58:21 GMT Dale wrote: >> Howdy, >> >> I've mentioned before that I build my packages in a chroot. I have a OS >> copy on a separate drive. I do this because of the long compile times >> of some packages. On occasion tho, I catch the tree in a bad place. >> Some conflict or other happens and I need to sync again to get fixes >> etc. Given my process tho, I don't want to sync the chroot without also >> syncing my main system because the two will not be in sync and I'll lose >> my update since it deletes files as well including any updates I did >> emerge successfully. I need the two to be identical. So, I'd like to >> sync my main system and then copy the new data over to the chroot >> without copying the rest of the OS. > What you do is duplicating effort and storage space with questionable > benefit, > besides warming up your room. I think it would be more efficient if you used > the same /var/cache/distfiles and /var/db/repos/ filesystems on both > installations. This way you'd sync once and then download any source files > once only. > > However, an even more optimised solution would be to compile packages once in > your chrooted fs with the '--buildpkg y' option and then emerge these as > binary packages from /var/cache/binpkgs/ in your production OS. An overnight > emerge in the chrooted OS will take only a few minutes on the production > system. > One reason for doing it this way, I have a backup of my OS as well. Both are generally identical. If my main hard drive were to fail, I could boot rescue media and copy what I usually chroot into over to a new drive, reinstall grub and such then boot back up. Should be back up and running in likely less than a hour, if that. I took the idea from a stage4 thing I found. I just don't compress it since I use it. After all, that 750GB hard drive is only used for hourly backups of my email. May as well put the rest of the thing to some use. The buildpkg option is kinda what happens except I let it also install and that gives me a backup OS as well. The main drive with the OS on it is a bit old. It is a drive designed for 24/7 use and years of service. Still, it could blow smoke or start making noises at any time, or run for many more years until a OS won't fit on it anymore. It's already getting pretty full. LOL Someone on this list mailed it to me years ago with my previous build I think. The updates from binary packages only takes a few minutes unless the number of packages is huge. Usually a HUGE KDE update and LOo or something added on top of that can take a hour or so. Still, much faster and more stable than trying to compile on my running OS. Things get out of sync and some programs start acting weird or won't open due to a version mismatch. >> I did this with the following command earlier. >> >> rsync -av --progress --delete /var/cache/portage/tree/* >> /backup/gentoo-build/var/cache/portage/tree/ > Your syntax for the source tree will fail to copy a couple files immediately > under /var/cache/portage/tree/ which start with "." > > It would be better if you used: > > /var/cache/portage/tree /backup/gentoo-build/var/cache/portage/tree > I edited that in my little script. The locations with rsync can be tricky. Each way that one can use gives a slightly different execution. >> As you can see, my tree location is not the default. It is located at >> /var/cache/portage/tree/. It's the same on the chroot obviously. Would >> the above command copy all the needed files/directories over that it >> needs after a emerge sync or is there more to it? The reason I think it >> needs more, when I tried to do the usual emerge -aukDN world on my main >> system, it wanted to emerge more packages than the chroot did. I >> suspect there is more to it than just the tree directory. >> >> Anyone have the details on this? Anyone know what other >> files/directories need to be copied over as well? >> >> Thanks. >> >> Dale >> >> :-) :-) > Did you diff /var/lib/portage/world between the two systems to see what > differences may be there? > > I can think of a hypothetical case where the chrooted fs may have already > emerged build time dependencies, e.g. if some emerge failed and then you > fixed/restarted it a number of times, but the production system would not yet > have such build time dependencies installed. The world file is also copied over each time. Sometimes I install something on the running OS and I also want it on the other. I keep the two pretty well synced. It could be the path change you listed above will change things. I'll know the next time I have to do this. I
Re: [gentoo-user] New profile, gcc-13.2.1_p20240210 fails to build. ATTN: Peter Humphrey.
Paul Colquhoun wrote: > I had the gcc compile fail, but was successful after removing the "objc" use > flag. > > Unfortunately, it seemd to be required by app-arch/unar during step 16, > rebuild world. > > I'm re-enbleing it and will see how it all goes. > > Here is my update. I wanted to skip the system update and change profiles first. Then do the emerge -e world which would also update anything that was new as well. I'd only have to compile once tho. Well, that may have caused a problem. It may work for some but it didn't here. I first had to do my usual emerge -auDN world and get a clean run. I had one build to fail, had to work on that. Anyway, where it says update first, it is best to do that. It might work if you don't, might not. I'm now up to the part where I recompile everything. Oh the joy. At least it is a cool night so the extra heat will keep me warm. ROFL Oh, where it says to emerge gcc and no dependencies, may as well go ahead and add the --nodeps bit. It has to run that way anyway so it doesn't hurt anything but it does save time since emerge doesn't need to look to see if anything else needs to be updated or you have to go back and add the option to insure it doesn't. On my rig, which isn't the fastest or slowest, it saves a couple minutes. YMMV. Overall, the devs did a really good job with the instructions. Just have to update first as it says. It works better. ;-) I just wonder who went through the torture of figuring out what went in what order. O_O Dale :-) :-)
[gentoo-user] Question about emerge sync and where it all goes.
Howdy, I've mentioned before that I build my packages in a chroot. I have a OS copy on a separate drive. I do this because of the long compile times of some packages. On occasion tho, I catch the tree in a bad place. Some conflict or other happens and I need to sync again to get fixes etc. Given my process tho, I don't want to sync the chroot without also syncing my main system because the two will not be in sync and I'll lose my update since it deletes files as well including any updates I did emerge successfully. I need the two to be identical. So, I'd like to sync my main system and then copy the new data over to the chroot without copying the rest of the OS. I did this with the following command earlier. rsync -av --progress --delete /var/cache/portage/tree/* /backup/gentoo-build/var/cache/portage/tree/ As you can see, my tree location is not the default. It is located at /var/cache/portage/tree/. It's the same on the chroot obviously. Would the above command copy all the needed files/directories over that it needs after a emerge sync or is there more to it? The reason I think it needs more, when I tried to do the usual emerge -aukDN world on my main system, it wanted to emerge more packages than the chroot did. I suspect there is more to it than just the tree directory. Anyone have the details on this? Anyone know what other files/directories need to be copied over as well? Thanks. Dale :-) :-)
Re: [gentoo-user] New profile, gcc-13.2.1_p20240210 fails to build. ATTN: Peter Humphrey.
Michael wrote: >> Nice to know I'm not alone. I forgot to mention, it wanted to update >> glibc first. The news item said NOT to let it do that and use the >> --nodeps option instead. So, the command I used had that option. I've >> since restarted it, just in case it finishes. I'll post back if it >> does. I find it odd that it builds fine one time but fails on others. >> Strange things happen tho. >> >> Dale >> >> :-) :-) > There's a new patch for gcc. You need to follow the guide as you did, then > resync portage to fetch the latest ebuild for gcc, before you start the > emerge > --emptytree world. This is how I managed to get ggc to build after previous > attempts with 'no error' failures. Hope this works for you. It just failed the second attempt. I'll sync again and hopefully the new ebuild will fix things. If nothing else, they working out the kinks. Since I'm in a chroot, messing up won't matter. Maybe Peter will see this, update and try again. May help him as well. Thanks. Dale :-) :-)
Re: [gentoo-user] New profile, gcc-13.2.1_p20240210 fails to build. ATTN: Peter Humphrey.
Michael wrote: > On Saturday, 23 March 2024 20:45:03 GMT Dale wrote: >> Howdy, >> >> I'm doing this in a chroot. This is *not* my live system. This is the >> mount info, in case it matters. >> >> <<>> >> >> >> I saw where Peter mentioned in another thread gcc failing with no error >> message for him. This could be related. A solution to this may help >> more than just me. I'm not sure how to diagnose a failure when it gives >> no real error. Heck, having a error sometimes isn't much help. :/ I >> might add, the errors listed above didn't stop the compile until close >> to the end. It did seem to ignore them since it compiled a good while >> afterwards. I'm including in case those errors lead to the failure >> later on. They could be nothing or may be a clue. >> >> Open to ideas. >> >> Dale >> >> :-) :-) > Hmm ... my gcc is failing on one of my installations, with no error ... after > it built successfully once already, as part of the initial toolchain update. > :-/ > > OK, I'm out of ideas too. May have to sleep on this and look at it again > tomorrow. Nice to know I'm not alone. I forgot to mention, it wanted to update glibc first. The news item said NOT to let it do that and use the --nodeps option instead. So, the command I used had that option. I've since restarted it, just in case it finishes. I'll post back if it does. I find it odd that it builds fine one time but fails on others. Strange things happen tho. Dale :-) :-)
[gentoo-user] New profile, gcc-13.2.1_p20240210 fails to build. ATTN: Peter Humphrey.
.1 && ln -s libatomic.so.1.2.0 libatomic.so.1; }; }) libtool: install: (cd /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib && { ln -s -f libatomic.so.1.2.0 libatomic.so || { rm -f libatomic.so && ln -s libatomic.so.1.2.0 libatomic.so; }; }) libtool: install: /usr/bin/install -c .libs/libatomic.lai /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib/libatomic.la libtool: install: /usr/bin/install -c .libs/libatomic.a /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib/libatomic.a libtool: install: chmod 644 /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib/libatomic.a libtool: install: /usr/x86_64-pc-linux-gnu/bin/ranlib /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib/libatomic.a libtool: install: warning: remember to run `libtool --finish /usr/lib/../lib' make[8]: Nothing to be done for 'install-data-am'. make[8]: Leaving directory '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/32/libatomic' make[7]: Leaving directory '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/32/libatomic' make[6]: Leaving directory '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/32/libatomic' make[5]: Leaving directory '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/libatomic' /bin/mkdir -p '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib64' /bin/sh ./libtool --mode=install /usr/bin/install -c libatomic.la '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib64' libtool: install: /usr/bin/install -c .libs/libatomic.so.1.2.0 /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib64/libatomic.so.1.2.0 libtool: install: (cd /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib64 && { ln -s -f libatomic.so.1.2.0 libatomic.so.1 || { rm -f libatomic.so.1 && ln -s libatomic.so.1.2.0 libatomic.so.1; }; }) libtool: install: (cd /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib64 && { ln -s -f libatomic.so.1.2.0 libatomic.so || { rm -f libatomic.so && ln -s libatomic.so.1.2.0 libatomic.so; }; }) libtool: install: /usr/bin/install -c .libs/libatomic.lai /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib64/libatomic.la libtool: install: /usr/bin/install -c .libs/libatomic.a /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib64/libatomic.a libtool: install: chmod 644 /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib64/libatomic.a libtool: install: /usr/x86_64-pc-linux-gnu/bin/ranlib /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/image/usr/lib/../lib64/libatomic.a libtool: install: warning: remember to run `libtool --finish /usr/lib/../lib64' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/libatomic' make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/libatomic' make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/libatomic' make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build' * ERROR: sys-devel/gcc-13.2.1_p20240210::gentoo failed (install phase): * (no error message) I saw where Peter mentioned in another thread gcc failing with no error message for him. This could be related. A solution to this may help more than just me. I'm not sure how to diagnose a failure when it gives no real error. Heck, having a error sometimes isn't much help. :/ I might add, the errors listed above didn't stop the compile until close to the end. It did seem to ignore them since it compiled a good while afterwards. I'm including in case those errors lead to the failure later on. They could be nothing or may be a clue. Open to ideas. Dale :-) :-)
Re: [gentoo-user] New profiles 23.0
Michael wrote: > On Saturday, 23 March 2024 17:33:17 GMT Dale wrote: >> Peter Humphrey wrote: >>> On Saturday, 23 March 2024 15:08:56 GMT Peter Humphrey wrote: >>>> On Saturday, 23 March 2024 14:59:15 GMT Peter Humphrey wrote: >>>>> Hello list, >>>>> >>>>> Has anyone tried the profile upgrade that was notified today? I tried it >>>>> just now on a small rescue system and it failed on installing the first >>>>> binary package, complaining that my disk layout was split-usr. >>>>> >>>>> My /var is on a separate partition, for easy of file recovery, but /usr >>>>> is >>>>> not. Is this the cause of the problem? >>>> Please ignore that. Three seconds later I realised what I should have >>>> done: run emerge-usr first. >>> No, that's wrong too. I need to do a bit of head-scratching. >> I just did my weekly sync. I'm currently on this profile. >> >> >> [8] default/linux/amd64/17.1/desktop/plasma (stable) * >> >> >> To find the profile I want to upgrade to, I look for the same name but >> with the added split-usr added, for us old fuggys who still do things >> the OLD way. ;-) >> >> >> [48] default/linux/amd64/23.0/split-usr/desktop/plasma (exp) >> >> >> If one uses systemd, look for the same thing as old but with systemd. >> Same with no-multilib or some of the other options. Basically, just >> look for the same as old but with the new bits you need. >> >> I have a spare hard drive that I do my updates on. It's like a stage 4 >> thing that I update with a script, if you can call it that, right after >> syncing. I chroot in and do my updates there. If anything goes wrong, >> I just reset back to the stage 4 and try again if worse comes to worse. >> Once done, I copy the packages over to my main system and add -k to >> emerge. It makes updates a lot faster and stable. Sometimes during KDE >> updates, things can get out of sync and things stop working. Having >> packages that take a long time to compile makes that worse. The qt >> package, LOo, Firefox etc etc. You can be sure I'm going to do that >> with this update. It's gonna take long enough to do the -k bit much >> less the actual compile part. I seem to recall we have to do a emerge >> -e world with this. o_O >> >> I hope that helps you pick the correct one. I been concerned about the >> switch too. It's easy to mess up something. >> >> Dale >> >> :-) :-) > I suggest it would be best to take heed of the devs hard work and read the > instructions they have provided instead of winging it: > > https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_update_instructions > I just read the news item which kinda says what I posted. It listed a couple examples as well. I just went with what I have in case it would clear up any muddy waters. In my chroot, I'm to the gcc build. Dale :-) :-)
Re: [gentoo-user] New profiles 23.0
Peter Humphrey wrote: > On Saturday, 23 March 2024 15:08:56 GMT Peter Humphrey wrote: >> On Saturday, 23 March 2024 14:59:15 GMT Peter Humphrey wrote: >>> Hello list, >>> >>> Has anyone tried the profile upgrade that was notified today? I tried it >>> just now on a small rescue system and it failed on installing the first >>> binary package, complaining that my disk layout was split-usr. >>> >>> My /var is on a separate partition, for easy of file recovery, but /usr is >>> not. Is this the cause of the problem? >> Please ignore that. Three seconds later I realised what I should have done: >> run emerge-usr first. > No, that's wrong too. I need to do a bit of head-scratching. > I just did my weekly sync. I'm currently on this profile. [8] default/linux/amd64/17.1/desktop/plasma (stable) * To find the profile I want to upgrade to, I look for the same name but with the added split-usr added, for us old fuggys who still do things the OLD way. ;-) [48] default/linux/amd64/23.0/split-usr/desktop/plasma (exp) If one uses systemd, look for the same thing as old but with systemd. Same with no-multilib or some of the other options. Basically, just look for the same as old but with the new bits you need. I have a spare hard drive that I do my updates on. It's like a stage 4 thing that I update with a script, if you can call it that, right after syncing. I chroot in and do my updates there. If anything goes wrong, I just reset back to the stage 4 and try again if worse comes to worse. Once done, I copy the packages over to my main system and add -k to emerge. It makes updates a lot faster and stable. Sometimes during KDE updates, things can get out of sync and things stop working. Having packages that take a long time to compile makes that worse. The qt package, LOo, Firefox etc etc. You can be sure I'm going to do that with this update. It's gonna take long enough to do the -k bit much less the actual compile part. I seem to recall we have to do a emerge -e world with this. o_O I hope that helps you pick the correct one. I been concerned about the switch too. It's easy to mess up something. Dale :-) :-)
[gentoo-user] Terminal emulator to replace Konsole
Howdy, I've been using Konsole, part of KDE, for command line stuff ever since I started using Linux. Linux is all I've ever used. No windoze. ;-) While Konsole is good enough for almost everything, there is one feature I wish it had. The ability to edit with the mouse. I don't know of a way to make it do this. The only way I know of to edit a command, left arrow to what you want to edit and change it. I'd like to find one where I can use the mouse to place the cursor and edit from there. Even maybe highlight and replace. As far as I know, Konsole doesn't have that ability. 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. :/ Hoping for some ideas. Thanks. Dale :-) :-)
Re: [gentoo-user] Problem with "GRUB upgrades" news item
Walter Dnes wrote: > I've got a UEFI system. According to the news item... > >> Re-runing grub-install both with and without the --removable option >> should ensure a working GRUB installation. > I tried that... > > [i3][root][~] grub-install > Installing for x86_64-efi platform. > grub-install: error: cannot find EFI directory. > [i3][root][~] grub-install --removable > Installing for x86_64-efi platform. > grub-install: error: cannot find EFI directory. > > Oops! My EFI directory... > > [i3][root][~] ll /boot/EFI/ > total 2 > drwxr-xr-x 3 root root 512 Jun 11 2021 . > drwxr-xr-x 4 root root 1024 Dec 31 1969 .. > drwxr-xr-x 2 root root 512 Jun 11 2021 gentoo > > Any ideas? > I don't use EFI but I read on this the other day when I was working my way through this news item. Here is a link. https://wiki.gentoo.org/wiki/GRUB#Installing_GRUB_for_EFI If you followed the docs for installing grub with EFI, you need to point it to the location of the efi directory. The command might look like this. | grub-install --efi-directory=/efi Hope that helps. Dale :-) :-) |
Re: [gentoo-user] Why is KDE so bad at multiple monitors?
Michael wrote: > On Sunday, 3 March 2024 19:31:30 GMT Dale wrote: >> >> Since my last post, I did my weekly updates. During that, I log out, >> switch to boot runlevel, restart anything that checkrestart says needs >> it, then back to default runlevel and log back in. With the config file >> change, my monitors came up just like they should. I didn't have to >> adjust anything. >> >> I guess it goes to show, one thing fixes one person's system while yet >> another fixes someone else's system. Go figure. ROFL >> >> Dale >> >> :-) :-) > You don't need to replace openrc with systemd to use Wayland. These days I > run all my systems' desktops on Wayland and openrc. OpenRC will not > interfere > with or try to replace my network settings, my cron jobs, my chronyd, syslog, > or whatever. > > Pipewire is the new sound server for KDE. Take a look here in case yours > needs some tweaking: > > https://wiki.gentoo.org/wiki/PipeWire > > I run on my main desktop with USE="-pulseaudio", but if you have any > applications which need pulseaudio you'll need to enable it, if you haven't > done this already. When pipewire first showed up, I was kinda hesitant about it. Here's something new that is going to annoy me for a while until the bugs gets worked out and I figure out how to use it. Then I got Kmix cut off. I started using pipewire and it was like, cool. It actually works pretty well. The other day it did some strange things tho. I would set the volume but every time it went to the next video in my play list, it would reset the volume to 0 or very close to it. It was annoying since I kept having to turn it back up. I ended up closing everything that would play sound and setting the volume levels where I wanted it. I then restarted smplayer and such. It has worked ever since. I guess it got confused between some setting somewhere and what I wanted. Doing it with all the apps gone seems to have fixed it. So far, that's the only time it gave me any trouble and it could have been something I clicked by accident or something. I don't know that it was pipewire's fault. Could be, could have been me. Since I use smplayer to watch TV, doing that reset while everything was closed, it also fixed the volume setting on mpv when I'm playing some temporary video to test and make sure a file is good, and in English. It actually fixed two problems. Oh, I also figured out how to set the audio in smplayer as well. I used to have it set to a user setting in preferences to get sound. Now it's using a regular device like it should. Overall, I kinda like pipewire. It does manage the sound better than Kmix did. It not only manages devices but also manages apps as well. Anyone who hasn't switched should give it a try. Just look for both tabs. One is for devices and one is for apps. Have to check them both and adjust as needed. Dale :-) :-)
Re: [gentoo-user] Why is KDE so bad at multiple monitors?
Daniel Frey wrote: > On 3/3/24 13:57, Dale wrote: >> I think most is in the .config directory now. I have to say tho, I used >> to zap that thing about once a year, sometimes two, to correct some >> things that were weird but couldn't fix otherwise. I think the devs try >> to make things forward compatible but no one is perfect. Sometimes, you >> just have to start fresh. I do hate resetting everything tho. It takes >> a while to get everything back to at least close to the old way. >> >> Dale >> >> :-) :-) >> > > So many programs store config in there now it's hard to just zap it so > I generally won't try that. It's not just setting up kde again, it's > dozens of other programs too. :o( > > Dan > > True. Inside .config is kdedefaults. That would likely be a good start. The directories inside there are mostly KDE. Here's my list. root@fireball / # /bin/ls /home/dale/.config/kdedefaults/ kcminputrc kdeglobals kscreenlockerrc ksplashrc kwinrc package plasmarc root@fireball / # There's also some files in .config that start with a 'k' that may need to be renamed or deleted if you are brave. It's not as easy as it used to be tho. I wonder, can the old .kde4 directory be removed now??? I suspect everything is KDE5 now, with KDE6 right around the corner I think. Dale :-) :-)
Re: [gentoo-user] Why is KDE so bad at multiple monitors?
Daniel Frey wrote: > On 3/3/24 11:31, Dale wrote: >> Since my last post, I did my weekly updates. During that, I log out, >> switch to boot runlevel, restart anything that checkrestart says needs >> it, then back to default runlevel and log back in. With the config file >> change, my monitors came up just like they should. I didn't have to >> adjust anything. >> >> I guess it goes to show, one thing fixes one person's system while yet >> another fixes someone else's system. Go figure. ROFL >> >> Dale >> >> :-) :-) >> > > I strongly suspect that it was a kde setting somewhere in ~. The > problem is that config is littered all over the place now instead of > one place (I recall zapping the .kde[4] directory from the user home > folder in the past, can't do that now...) > > Although, that doesn't explain the problem I have with X11 and > displays. Had those same issues on the fresh install. > > Dan > > I think most is in the .config directory now. I have to say tho, I used to zap that thing about once a year, sometimes two, to correct some things that were weird but couldn't fix otherwise. I think the devs try to make things forward compatible but no one is perfect. Sometimes, you just have to start fresh. I do hate resetting everything tho. It takes a while to get everything back to at least close to the old way. Dale :-) :-)
Re: [gentoo-user] Why is KDE so bad at multiple monitors?
Daniel Frey wrote: > On 2/29/24 03:27, Dale wrote: >> To provide a little more info on how this works. This is how I did >> it. It helps a LOT to have tab completion with this. It will fill >> in a lot of the info and when unsure, list the available options. >> First, I had to install the package xrandr. My first problem is the >> command isn't available since it wasn't installed. So, if you don't >> have it, install it. It's tiny. This is what I have for my setup. >> You can ignore that I watch TV and just pretend you have two monitors >> side by side or whatever and get the same results. I have a DB15HD >> connector, referred to as VGA within xrandr. That is my main >> monitor. The second monitor is is connected to a HDMI port, seen as >> same in xrandr, and what I watch TV with. This is the output I >> started with to get good clues. >> >> >> root@fireball / # xrandr --listmonitors >> Monitors: 2 >> 0: +*VGA-0 1920/598x1080/336+0+0 VGA-0 >> 1: +HDMI-0 1920/1150x1080/650+1920+0 HDMI-0 >> root@fireball / # >> >> >> Since I have different ports, it is easy to see which is which. The >> last bit is what you use in the command, not the first bits. If all >> your ports are the same, mini HDMI for example, I think the port >> lowest to the bottom of the video card is number 0, or the first >> port. Anyway, mine is easy. I then typed in xrandr --output and hit >> tab twice. It will list all the available monitors. Pick the one >> you want to be the first output or main monitor. In my case, VGA-0 >> as shown on the end of line one. Once you type enough, tab >> completion will fill it in. Then add --primary to that to make it >> the primary display. >> >> For the second monitor, continue on with the command and tab >> completion. Type in --output and hit tab twice again to list >> options. Pick the second monitor and type enough in for tab >> completion to fill in the rest. Then add --right-of, --left-of, >> --above or --below and then the output device for the main monitor. >> For me, this is what my command looks like. >> >> >> root@fireball / # xrandr --output VGA-0 --primary --output HDMI-0 >> --right-of VGA-0 >> root@fireball / # >> >> >> That makes VGA the primary, HDMI-0 second and to the right of VGA-0. >> If you have more than two monitors, just keep adding --output and >> list and place the other monitors. I don't have the means to test >> but that should work. I'd think setting the primary is key in this >> so I wouldn't forget to include that. >> >> Once you get that command, you can test it by going to a Konsole if >> using KDE or some other similar tool you can type commands in as root >> and run the command manually. If it works correctly, add the command >> to the file in this path. /usr/share/sddm/scripts/Xsetup I haven't >> logged out and back in again yet so we will see when that happens if >> it really works and my little quirk goes away. >> >> There is a man page for this. It may have other options that you may >> need to add. Just keep in mind, what is between each --output is >> what it applies too. One could have different resolutions, image >> flipped or something and lots of other options. Just keep the >> options in the right section of the command. >> >> I hope this helps someone and makes decent sense. I also hope it >> works after I logout and back in again. :/ I'm making a note of >> the location in case I need to comment it out. Better to be safe >> than sorry. LOL >> >> Dale >> >> :-) :-) > > I've been gone for a few days as I was rebuilding my main PC. > > I thought I'd provide an update: it was xorg-server causing all the > issues. > > I figured as I had to redo everything anyway to switch to systemd and > wayland as that's what the bigger DE's tend to be supporting nowadays. > > After fiddling around with systemd for a day (I'd tried it once before > converting a system from openrc->systemd and failed miserably - > nothing worked) I've reconfigured most things the "systemd" way. > > I guess starting fresh solves all sorts of issues. :o) > > Some things I like about systemd: > - It is capable of automounting NFS shares out of the box; I just > configured fstab so systemd automatically generated the automount > configured it required. No extra steps needed; > - It provides a scrollable list by default showing all the items you > have access to in order to change how your machines behaves; > - It isolates serv
Re: [gentoo-user] Why is KDE so bad at multiple monitors?
Mark Knecht wrote: > > > On Wed, Feb 28, 2024 at 3:24 PM Dale <mailto:rdalek1...@gmail.com>> wrote: > > > > Paul B. Henson wrote: > > > On Sat, Feb 24, 2024 at 08:53:37PM -0800, Daniel Frey wrote: > > >> After cursing KDE for a while with three monitors, does anyone > have any > > >> idea why KDE is so bad at managing multiple monitors? > > > . I ended up adding this to /usr/share/sddm/scripts/Xsetup: > > > > > > xrandr --output DVI-D-0 --primary --output HDMI-A-0 --left-of DVI-D-0 > > > --output DisplayPort-0 --right-of DVI-D-0 > > > > > > Always perfect since then :). > > > > I have two questions. Does a upgrade change it back to defaults? If > > so, there may be a file in /etc somewhere that is more permanent. If > > not, cool. :-) > > > > How did you get the info to match the hardware you have? My main > > display is on a DB15HD port. My second display in on a HDMI port. I > > figure you ran a command to gather that info or there is a source of all > > the possibilities. > > > > I'd like to give that a shot. Might help with my occasional issue. > > > > Dale > > > > :-) :-) > > If you're just looking for what's connected to what port then xrandr > will tell you that. > > To get to Paul's equation you would need to figure out the ordering > yourself I think > > HTH, > Mark To provide a little more info on how this works. This is how I did it. It helps a LOT to have tab completion with this. It will fill in a lot of the info and when unsure, list the available options. First, I had to install the package xrandr. My first problem is the command isn't available since it wasn't installed. So, if you don't have it, install it. It's tiny. This is what I have for my setup. You can ignore that I watch TV and just pretend you have two monitors side by side or whatever and get the same results. I have a DB15HD connector, referred to as VGA within xrandr. That is my main monitor. The second monitor is is connected to a HDMI port, seen as same in xrandr, and what I watch TV with. This is the output I started with to get good clues. root@fireball / # xrandr --listmonitors Monitors: 2 0: +*VGA-0 1920/598x1080/336+0+0 VGA-0 1: +HDMI-0 1920/1150x1080/650+1920+0 HDMI-0 root@fireball / # Since I have different ports, it is easy to see which is which. The last bit is what you use in the command, not the first bits. If all your ports are the same, mini HDMI for example, I think the port lowest to the bottom of the video card is number 0, or the first port. Anyway, mine is easy. I then typed in xrandr --output and hit tab twice. It will list all the available monitors. Pick the one you want to be the first output or main monitor. In my case, VGA-0 as shown on the end of line one. Once you type enough, tab completion will fill it in. Then add --primary to that to make it the primary display. For the second monitor, continue on with the command and tab completion. Type in --output and hit tab twice again to list options. Pick the second monitor and type enough in for tab completion to fill in the rest. Then add --right-of, --left-of, --above or --below and then the output device for the main monitor. For me, this is what my command looks like. root@fireball / # xrandr --output VGA-0 --primary --output HDMI-0 --right-of VGA-0 root@fireball / # That makes VGA the primary, HDMI-0 second and to the right of VGA-0. If you have more than two monitors, just keep adding --output and list and place the other monitors. I don't have the means to test but that should work. I'd think setting the primary is key in this so I wouldn't forget to include that. Once you get that command, you can test it by going to a Konsole if using KDE or some other similar tool you can type commands in as root and run the command manually. If it works correctly, add the command to the file in this path. /usr/share/sddm/scripts/Xsetup I haven't logged out and back in again yet so we will see when that happens if it really works and my little quirk goes away. There is a man page for this. It may have other options that you may need to add. Just keep in mind, what is between each --output is what it applies too. One could have different resolutions, image flipped or something and lots of other options. Just keep the options in the right section of the command. I hope this helps someone and makes decent sense. I also hope it works after I logout and back in again. :/ I'm making a note of the location in case I need to comment it out. Better to be safe than sorry. LOL Dale :-) :-)
Re: [gentoo-user] Why is KDE so bad at multiple monitors?
Paul B. Henson wrote: > On Sat, Feb 24, 2024 at 08:53:37PM -0800, Daniel Frey wrote: >> After cursing KDE for a while with three monitors, does anyone have any >> idea why KDE is so bad at managing multiple monitors? > . I ended up adding this to /usr/share/sddm/scripts/Xsetup: > > xrandr --output DVI-D-0 --primary --output HDMI-A-0 --left-of DVI-D-0 > --output DisplayPort-0 --right-of DVI-D-0 > > Always perfect since then :). I have two questions. Does a upgrade change it back to defaults? If so, there may be a file in /etc somewhere that is more permanent. If not, cool. :-) How did you get the info to match the hardware you have? My main display is on a DB15HD port. My second display in on a HDMI port. I figure you ran a command to gather that info or there is a source of all the possibilities. I'd like to give that a shot. Might help with my occasional issue. Dale :-) :-)
Re: [gentoo-user] Dolphin and side pain not updating when mounting drives
Dale wrote: > Howdy, > > I been noticing this for a while now. It started maybe a couple months > ago. At first, I figured it is a bug and will be fixed but now I wonder > if it is just me. As some know, I have a lot of hard drives. Sometimes > I unmount those drives and naturally Dolphin returns to the first > directory that it can see. I expect that. It has always worked that > way and it should. Thing is, when I mount those drives again, while I > can navigate in the main window, the folders panel does not update even > after I enter the newly mounted directories. On occasion, it does. > Most of the time it doesn't. Example. I have path /a/b/c/d/e and then > files. The mount point, encrypted or not, starts at c. If I unmount, > Dolphin returns to b. When I remount, whether it is a encrypted drive > or not, the main window updates when I click on c directory but the > folders panel never shows the little arrow or expands as it normally > does. Even if I navigate in the main window all the way to the e > directory, the folders panel never 'sees' the newly mounted > folders/directories. It used to expand as I navigate through directories. > > There are rare times when it does update once I navigate into a > sub-directory but it is rare. Usually, the only way to make it work > correctly is to start a new instance of Dolphin and duplicate the tabs > and close the old instance. Once it fails to update the newly mounted > drive, I can't find a way to force it to update. Again, it behaves this > way on a hard drive whether encrypted or not. > > Is anyone else seeing this sort of behavior? I've looked to see if there > is some new setting for this but I can't find anything, obvious at > least. It's kind of annoying since sometimes I have about a dozen tabs > open usually to different places that I'm trying to organize files in. > Sometimes I have to use the back button to see where it was. Can be time > consuming. > > If someone else is seeing this, let me know I'm not alone even if you > don't have a fix. If this is a bug, it may need to be reported. Most > likely to KDE I'd guess. > > Thanks. > > Dale > > :-) :-) > I have a little update on the side pane not updating after mounting a hard drive. Let's say you have a directory structure that looks like this: /mnt//a/b/c/d When you logged out or unmounted the drive, you were in directory b, c, d or further down even. Sometimes even directory 'a' may be enough. If you open a new tab and go to the mount point, right under /mnt in this case, and hit F5 to reload/refresh, it tends to pop up as it should with the added directories in the side pane. After that, you can close that tab and go back and refresh the others which should show the complete path and such in the side pane. I've only done this a few times so I can't say it works 100% of the time. However, it has worked the several times I've done it in the past couple weeks. This may be a bug or is caused by some setting somewhere. I don't know for sure the cause. It did start after a update a while back as mentioned above. Whatever the cause is, maybe this is a workaround. It may not even be Dolphin. It could be something Dolphin uses to get the directory info. I'm just glad to figure out a workaround. Sometimes I have several tabs open to different locations and losing those locations would cause issues. I may have things I need to process but not know where or what those are if I lose the info in the pane and have to restart Dolphin. Thanks to all that tried to help. Maybe this will help someone else who googles this up. ;-) Dale :-) :-)
Re: [gentoo-user] Kernel questions. Availability and upgrading from old kernel.
Dale wrote: > Howdy, > > I did my update and noticed the message about changes to kernel > packages. Depending on how I read it, it sounds like gentoo-sources is > still available just that older versions are no longer updated as long. > If I read it a different way, it sounds like gentoo-sources is about to > stop existing. That last one doesn't sound right. I can't imagine it > just going away since there are Gentoo specific stuff in there, openrc I > think being one option lurking about somewhere. I think there is others > but been a while since I been poking around in there. gentoo-sources is > hanging around right? > > Currently I'm running 5.14.15 gentoo-sources kernel. It works but is > old. No new types of hardware. Most stuff I buy is older just because > it tends to be more supported anyway. I tried a good while back to > upgrade to 6.1.55 which sort of boots I think but something doesn't work > and all I get is a console. It's been a while since I tried it but it > did fail several times. I did the upgrade the usual way. I used make > oldconfig and went through all the answers which are mostly no since I > still have old hardware. Is there a better way than oldconfig? Is > there a way to start from scratch and list all the stuff that is on in > the old kernel and then compare that to the newer kernel so I can just > enable what is different but I need? I'd rather avoid going through all > the menus hoping I recognize everything. I forget what I went to the > kitchen for. Remembering kernel options from years ago is likely to not > end well. :/ > > Is it possible that version of kernel had bad bugs that made it a bad > idea with hindsight? I plan to upgrade to the newest version in the > tree if I try again. > > Any thoughts? Ideas? > > Thanks. > > Dale > > :-) :-) > Update. As some know, I rarely reboot. Today, I rebooted. I had to replace UPS batteries. I had a problem but will start another thread about that shortly. I finally got a newer kernel that works. Awesome I'm on version 6.7.1-gentoo now. I figured out what wasn't working before, the mouse. I had a pointer but it wouldn't move. I found the mouse stuff on the wiki and for some silly reason, the needed options wasn't enabled in the kernel by default. Why someone wouldn't set a mouse to enabled by default is beyond me. I suspect the defaults came from the kernel sources not Gentoo devs tho. Anyway, I rebooted and despite my other problem I had to fix, everything works now. I'm gonna try to update more often but not booting very often makes that kinda hard. :/ At least I got a few years to worry about upgrading kernels again. ;-) Thanks to all. Dale :-) :-)
Re: [gentoo-user] Why is KDE so bad at multiple monitors?
Michael wrote: > On Sunday, 25 February 2024 05:52:20 GMT Dale wrote: >> Daniel Frey wrote: >>> After cursing KDE for a while with three monitors, does anyone have >>> any idea why KDE is so bad at managing multiple monitors? >>> >>> All I'm trying to do is get it to remember *where* my monitors are (I >>> have two side-by-side and one above the right monitor.) I go into >>> System Settings, set it up and it works perfectly... until I log out. >>> Then it resets everything and I have to set it up again. >>> >>> Anyone have any clue why it refuses to save settings? >>> >>> -Dan >> I have two monitors too, sort of. One monitor is for computer stuff, >> checking email, surfing the net etc etc etc. The other monitor I use to >> watch TV with. The output from the video card second output goes to a >> splitter so I can have the same video in both my bedroom and the living >> room. I use Nvidia settings to manage mine but I run into the same >> problem you do. Sometimes when I login, the second monitor output is >> dead. TV shows the dreaded "No signal" thing floating around. I have >> to open Nvidia settings, disable the second monitor output, hit apply, >> click that I can see the screen still, re-enable the second monitor, >> click apply, click I can see the monitor and then the second monitor >> works again. It's annoying as heck. I'm on the 470 series of Nvidia >> drivers. Best my old card can do. LOL >> >> I looked in the KDE System Settings display settings screen and it shows >> the same as Nvidia. Maybe one copies the other??? There's really >> nothing for me to change there so I can't hit apply. :/ I've always >> wondered if I can set this up in xorg.conf file instead of the GUI. >> Maybe it would work better. Thing is, everything says it should "just >> work" and the file shouldn't be needed. >> >> This may not be a KDE problem. It could be a Nvidia problem. It may be >> KDE but I'm not sure which to blame. I don't let my screen go off >> except for the once a week trip to town to get shots so I just put up >> with it. The rest of the time, my monitors and TVs tend to stay on. >> >> You are not alone. I'm just not real sure this is a KDE problem. It's >> possible tho. Mostly, you are not alone. >> >> Dale >> >> :-) :-) > I used to experience the same when using Xorg with AMD-Radeon graphics > instead > of Nvidia, but since I moved to Wayland the problem of losing screen settings > has gone. One monitor is using the DVI port of the card and the other HDMI. > It should be worth trying Wayland instead of Xorg to see if it works out > better for your setup. I've read where Wayland still has a few other issues. I'm sure at some point, Xorg is going to end and the switch will be the only option. When that time comes, likely most all issues will be fixed. That said, I've also read where some people really like it. I think it is installed here and even used by some things. I've seen the USE flag on a lot of packages. Given this only affects me once a week, I'll stay where I am at the moment. It is nice to know there is another option tho. One that might even work better. ;-) Dale :-) :-)
Re: [gentoo-user] Why is KDE so bad at multiple monitors?
Daniel Frey wrote: > After cursing KDE for a while with three monitors, does anyone have > any idea why KDE is so bad at managing multiple monitors? > > All I'm trying to do is get it to remember *where* my monitors are (I > have two side-by-side and one above the right monitor.) I go into > System Settings, set it up and it works perfectly... until I log out. > Then it resets everything and I have to set it up again. > > Anyone have any clue why it refuses to save settings? > > -Dan I have two monitors too, sort of. One monitor is for computer stuff, checking email, surfing the net etc etc etc. The other monitor I use to watch TV with. The output from the video card second output goes to a splitter so I can have the same video in both my bedroom and the living room. I use Nvidia settings to manage mine but I run into the same problem you do. Sometimes when I login, the second monitor output is dead. TV shows the dreaded "No signal" thing floating around. I have to open Nvidia settings, disable the second monitor output, hit apply, click that I can see the screen still, re-enable the second monitor, click apply, click I can see the monitor and then the second monitor works again. It's annoying as heck. I'm on the 470 series of Nvidia drivers. Best my old card can do. LOL I looked in the KDE System Settings display settings screen and it shows the same as Nvidia. Maybe one copies the other??? There's really nothing for me to change there so I can't hit apply. :/ I've always wondered if I can set this up in xorg.conf file instead of the GUI. Maybe it would work better. Thing is, everything says it should "just work" and the file shouldn't be needed. This may not be a KDE problem. It could be a Nvidia problem. It may be KDE but I'm not sure which to blame. I don't let my screen go off except for the once a week trip to town to get shots so I just put up with it. The rest of the time, my monitors and TVs tend to stay on. You are not alone. I'm just not real sure this is a KDE problem. It's possible tho. Mostly, you are not alone. Dale :-) :-)
Re: [gentoo-user] "xset dpms" not working
Walter Dnes wrote: > On Sun, Feb 18, 2024 at 09:01:04AM +, Michael wrote >> Are you using a Display Port, or HDMI connection perhaps? Modern >> monitors come with their own onboard chipset which may lose sync with >> the PC. I've experience the opposite with mine when I first bought it >> and thought the PC had crashed ... :-) > HDMI port according to the message on the display. Another quirk > when the blanking works and the screen is dark. Every several minutes > the entire screen goes bright blue for a few seconds and then returns to > dark for the next several minutes. > I haven't been following this thread as I'm not familiar with xset but this info made me think. Could you have a bad cable? Maybe the plug on the back of the monitor or video card is worn out and not making a good connection? Maybe there is a dust bunny in the connector preventing a good connection. Just a thought. Maybe. Dale :-) :-)
Re: [gentoo-user] Re: Re-run grub-install to update installed boot code!
Grant Edwards wrote: > On 2024-02-17, Dale wrote: >> Grant Edwards wrote: >>> Today's routine update says: >>> >>> Re-run grub-install to update installed boot code! >>> >>> Is "sudo grub-install" really all I have to do? [...] >>> >>> Or do I have to run grub-install with all the same options that >>> were originally used to install grub? >> I been wondering the same since I saw this posted on -dev. The news >> item seems to mention the EFI booting but I'm sure us legacy booting >> users need to do the same. At this point, I may skip updating grub >> this week until I know exactly what I'm supposed to do as well. I'd >> think we need to reinstall like when we first did our install but >> not sure. :/ > That was my guess. I should have recorded the options originally > passed to grub-install. Now that I have BIOS boot partitions (instead > of using embedded blocklists) on all my machines, reinstalling grub > should be trivial. I think all I have to do is tell grub-install the > boot device. > >> It would suck to have a unbootable system. > More than once I've had to boot from either systemrescuecd or minimal > gentoo install ISO so I could re-install (or re-configure) grub after > someting gets messed up. It's not difficult, but it is annoying. > > -- > Grant I updated my NAS box OS. It updated grub as well. I figured it would be a good test system. All I did was this: nas / # grub-install /dev/sda Installing for i386-pc platform. Installation finished. No error reported. nas / # I rebooted the system and it booted just fine here. According to ls, files in ls /boot/grub/i386-pc/ were updated. They had today's date. So, I guess it is pretty simple. Now to remember doing this. Heck, I've never paid much attention to grub updating before. Dale :-) :-)
Re: [gentoo-user] gui-libs/egl-wayland and x11-drivers/nvidia-drivers dependency conflict.
While at it. Unrelated really but why not. Why does genlop -c show two running for this? (chroot) root@fireball / # genlop -c Currently merging 200 out of 257 * dev-qt/qtwebengine-5.15.12_p20240122 current merge time: 1 hour, 22 minutes and 33 seconds. ETA: 4 hours, 58 minutes and 39 seconds. Currently merging 200 out of 257 * dev-qt/qtwebengine-5.15.12_p20240122 current merge time: 1 hour, 22 minutes and 34 seconds. ETA: 4 hours, 58 minutes and 38 seconds. (chroot) root@fireball / # I notice there is a slot for version 6 and when it was compiling, it showed only one in the list like below. However, slot 5 always shows there is two running like above. I've never seen it do this with any other package, large or small. It only does it with slot 5 version of qtwebengine. This is slot 6 from earlier. (chroot) root@fireball / # genlop -c Currently merging 195 out of 257 * dev-qt/qtwebengine-6.6.2 current merge time: 2 hours, 59 minutes and 44 seconds. ETA: 3 hours, 21 minutes and 28 seconds. (chroot) root@fireball / # By the way, that time isn't exactly right. It takes a while but not that long. Anyone else see this? It's done this for a good while. Just kinda weird. o_O Dale :-) :-)
Re: [gentoo-user] gui-libs/egl-wayland and x11-drivers/nvidia-drivers dependency conflict.
Arve Barsnes wrote: > On Sat, 17 Feb 2024 at 18:03, Dale wrote: >> Is there a proper long term fix for this or do I need to mask the egl >> package until things catch up? As long as things work, I'm fine with >> masking and waiting. I just figure there may be a better fix I'm >> missing. Maybe someone else sees it. > Others already answered about the arrows and the meaning of them, but > I just wanted to chime in and say that there's no reason to mask > anything at the moment, it is just a warning from portage that it > can't upgrade egl-wayland because nvidia-drivers requires the older > version. If the drivers are ever updated to allow for newer > egl-wayland, any masks would just make the upgrade more of a chore. > > Regards, > Arve Usually when I mask something that I hope is a temporary thing, I remove or comment out the mask after the update is done. That way it pops back up on the next upgrade. I sometimes put a note with it as well. My memory isn't that great. By next week, I'll be like 'egl what'??? :/ That note reminds me. Gives my old brain a clue. LOL It may be a while before those old drivers get updated. Those old cards don't get much attention. Thanks for the info tho. It helps. Dale :-) :-)
Re: [gentoo-user] gui-libs/egl-wayland and x11-drivers/nvidia-drivers dependency conflict.
Peter Humphrey wrote: > On Saturday, 17 February 2024 17:03:09 GMT Dale wrote: >> Howdy, >> >> I posted about this once before but also included pipewire and others. >> We addressed the other problems but this wasn't really fixed it would >> seem. I found the old thread. This is what I get today. >> >> >> WARNING: One or more updates/rebuilds have been skipped due to a >> dependency conflict: >> >> gui-libs/egl-wayland:0 >> >> (gui-libs/egl-wayland-1.1.13:0/0::gentoo, ebuild scheduled for merge) >> USE="" ABI_X86="(64)" conflicts with >> ~gui-libs/egl-wayland-1.1.7 required by >> (x11-drivers/nvidia-drivers-470.223.02:0/470::gentoo, installed) USE="X >> modules strip tools wayland -dist-kernel -modules-compress -modules-sign >> -persistenced -static-libs" ABI_X86="(64) -32" >> ^ ^ >> I do this in a Konsole and I tried changing the fonts. The little >> things still point to places there is nothing or other wrong places. > The ^ points to the ~ character above it, and the ^ points to 1.1.7, the > version of egl-wayland, so the version you want to merge won't satisfy > nvidia-drivers. > > Does that help? > That's my thinking as well. Sometimes tho decoding the output of emerge can be tricky and isn't always obvious. After I hit send for the original message, I tried masking the new version of the egl package. It gave a clean upgrade path BUT that package isn't up to date, just as up to date as it can be at the moment. ;-) Do you think this is a bug or anything else that may come to mind? I even wonder if my video card is old enough that it is losing support. I thought of getting a newer video card but other than being newer, I really don't need any better since I don't do anything that puts a load on the card I have. I check the power setting and most of the time, it is on level 0 or level 1 if I'm watching something in 1080p on TV. It rarely goes to full power, level 2. Even the fan generally sits at 40% RPM. Which reminds me, I need to give that thing a blowing out. Those things catch dust bunnies. :/ After getting that pipewire and friends problem solved, I'm getting close to some pretty easy updates. :-D Dale :-) :-) P. S. This list is a lot quieter than it used to be. The emerge command and its friends are just getting better and better. It can work out a update path in most all cases, even when we give it some really bad options. Hats off to the devs. :-D :-D
[gentoo-user] gui-libs/egl-wayland and x11-drivers/nvidia-drivers dependency conflict.
Howdy, I posted about this once before but also included pipewire and others. We addressed the other problems but this wasn't really fixed it would seem. I found the old thread. This is what I get today. WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: gui-libs/egl-wayland:0 (gui-libs/egl-wayland-1.1.13:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" conflicts with ~gui-libs/egl-wayland-1.1.7 required by (x11-drivers/nvidia-drivers-470.223.02:0/470::gentoo, installed) USE="X modules strip tools wayland -dist-kernel -modules-compress -modules-sign -persistenced -static-libs" ABI_X86="(64) -32" ^ ^ I do this in a Konsole and I tried changing the fonts. The little things still point to places there is nothing or other wrong places. I suspect it will be worse after the email moves things around. I hate to say it but they just don't help. This is what is available in the tree. (chroot) root@fireball / # equery list -po gui-libs/egl-wayland x11-drivers/nvidia-drivers * Searching for egl-wayland in gui-libs ... [IP-] [ ] gui-libs/egl-wayland-1.1.7-r1:0 [-P-] [ ] gui-libs/egl-wayland-1.1.13:0 * Searching for nvidia-drivers in x11-drivers ... [-P-] [M ] x11-drivers/nvidia-drivers-390.157:0/390 [--O] [ ] x11-drivers/nvidia-drivers-470.129.06:0/470 [--O] [ ] x11-drivers/nvidia-drivers-470.161.03:0/470 [--O] [ ] x11-drivers/nvidia-drivers-470.182.03-r1:0/470 [--O] [ ] x11-drivers/nvidia-drivers-470.199.02:0/470 [IP-] [ ] x11-drivers/nvidia-drivers-470.223.02:0/470 [-P-] [M ] x11-drivers/nvidia-drivers-525.147.05:0/525 [-P-] [M~] x11-drivers/nvidia-drivers-535.43.28:0/vulkan [-P-] [M ] x11-drivers/nvidia-drivers-535.146.02:0/535 [-P-] [M ] x11-drivers/nvidia-drivers-535.154.05:0/535 [-P-] [M~] x11-drivers/nvidia-drivers-545.29.06-r1:0/545 [-P-] [M-] x11-drivers/nvidia-drivers-550.40.07:0/550 (chroot) root@fireball / # Ignore the drivers in overlay. Keep those just in case. ;-) To me, it looks like the new egl thing isn't liking the nvidia drivers yet. I admit, my card is a bit old but hey, it works very well. This is the USE flags for both. (chroot) root@fireball / # equery u gui-libs/egl-wayland x11-drivers/nvidia-drivers !!! No USE flags found for gui-libs/egl-wayland-1.1.13 [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for x11-drivers/nvidia-drivers-470.223.02: U I + + X : Add support for X11 - - abi_x86_32 : 32-bit (x86) libraries - - dist-kernel : Enable subslot rebuilds on Distribution Kernel upgrades + + modules : Build the kernel modules - - modules-compress : Install compressed kernel modules (if kernel config enables module compression) - - modules-sign : Cryptographically sign installed kernel modules (requires CONFIG_MODULE_SIG=y in the kernel) - - persistenced : Install the persistence daemon for keeping devices state when unused (e.g. for headless) - - static-libs : Install the XNVCtrl static library for accessing sensors and other features + + strip : Allow symbol stripping to be performed by the ebuild for special files + + tools : Install additional tools such as nvidia-settings + + wayland : Enable dev-libs/wayland backend (chroot) root@fireball / # Is there a proper long term fix for this or do I need to mask the egl package until things catch up? As long as things work, I'm fine with masking and waiting. I just figure there may be a better fix I'm missing. Maybe someone else sees it. Thanks much. Dale :-) :-)
Re: [gentoo-user] Re-run grub-install to update installed boot code!
Grant Edwards wrote: > Today's routine update says: > > Re-run grub-install to update installed boot code! > > Is "sudo grub-install" really all I have to do? Grub knows where/how > everthing was originally installed and will do the right thing without > any options? > > Or do I have to run grub-install with all the same options that were > originally used to install grub? > > [I use a manually generated grub.cfg file, so I'm ignoring the message > that tells me I to run "grub-mkconfig".] > > -- > Grant I been wondering the same since I saw this posted on -dev. The news item seems to mention the EFI booting but I'm sure us legacy booting users need to do the same. At this point, I may skip updating grub this week until I know exactly what I'm supposed to do as well. I'd think we need to reinstall like when we first did our install but not sure. :/ It would suck to have a unbootable system. Dale :-) :-)
Re: [gentoo-user] mysql-8.0.32-r2 compile failure
Ionen Wolkens wrote: > On Wed, Feb 14, 2024 at 08:00:08AM -0600, Dale wrote: >> Howdy, >> >> This has been failing for a while now, month or two. I did a few >> searches but what I did find shows a similar problem was fixed ages >> ago. The link is about protobuf but seems related. Link further down. >> I'm wondering if it may be a USE flag or something triggering this since >> it can't find anything more recent. It also fails on a previous version >> as well. The error bit is about midways. I tried to get either side of >> it. > >> ld.lld: error: undefined symbol: AbslInternalSpinLockWake_lts_20230802 >>>>> referenced by spinlock_wait.h:85 >> (/usr/include/absl/base/internal/spinlock_wait.h:85) >>>>> >> CMakeFiles/xprotocol_plugin.dir/message_field_chain.cc.o:(void >> absl::lts_20230802::base_internal::CallOnceImpl> (*)(google::protobuf::FieldDescriptor const*), >> google::protobuf::FieldDescriptor const*>(std::atomic*, >> absl::lts_20230802::base_internal::SchedulingMode, void >> (*&&)(google::protobuf::FieldDescriptor const*), >> google::protobuf::FieldDescriptor const*&&)) >> collect2: error: ld returned 1 exit status >> Link mentioned above, dated a while back and claims upstream fixed. >> >> https://github.com/protocolbuffers/protobuf/issues/12292 > Sounds like https://bugs.gentoo.org/912797 which is fixed but only in > ~testing dev-db/mysql-8.0.34. Albeit as far as I'm aware this shouldn't > affect stable 8.0.32-r2 unless you're using ~testing protobuf-23 (aka > mixing stable and ~testing). Not that I tried building it. That was it. I keyworded the .34 version and it compiled just fine. I thought I had tried that already but maybe I did before it was fixed. I do run some things unstable, KDE for example, but try to keep things mostly stable, especially those things that are needed to boot and such. Anyway, now I have a clean updated system again. :-D Thanks much. Dale :-) :-)
[gentoo-user] mysql-8.0.32-r2 compile failure
c() implementation with a possibly faster one - - test : Install upstream testsuites for end use. root@fireball / # I also updated to the newer version of abseil-cpp-20230802.0 since it was mentioned in the error. I'm just trying anything I can make sense of. I did a grep search in /etc/portage and no active special settings, masks or USE flags for mysql. Link mentioned above, dated a while back and claims upstream fixed. https://github.com/protocolbuffers/protobuf/issues/12292 Any ideas? Thanks. Dale :-) :-)
Re: [gentoo-user] dev-db/mysql-8.0.32-r2 and media-libs/opencv-4.8.1-r1 fails to emerge
ralfconn wrote: > Il 05/02/24 06:21, Dale ha scritto: >> Howdy, >> >> This is just a heads up. I synced on Saturday, USA time, and was doing >> my regular updates, weekly ones. For some reason, mysql and opencv >> would fail every time I attempted to upgrade. I've had times where >> something would fail on first attempt and just trying to update again >> would allow it to finish. I guess something was done out of order or >> something. Anyway, that didn't work this time. I also searched BGO and >> the forums with no one else having the problem. After updating all I >> could, I synced the tree again. It's rare but sometimes one can sync >> when the tree isn't quite complete. I haven't seen that in a few years >> but it is always on my list of things to try even tho it is so rare. In >> this case, syncing again was the solution. I caught something in the >> middle of a change or something and got something that wasn't quite up >> to date. >> >> TL;DR. If the above fails, sync the tree again and retry. It should >> work then. Time stamp for my original sync: 2024-02-03T20:37:56 >> Again, USA central time. >> >> Hope this helps someone who runs into this and can't work around it. >> :-D >> >> Dale >> >> :-) :-) >> > It was a tracked opencv issue deriving from a dev-libs/protobuf update: > > https://bugs.gentoo.org/909087 > > Probably you did not find it because by default the Bugzilla interface > only searches for CONFIRMED, UNCONFIRMED, IN_PROGRESS. This one was > fixed and closed at the speed of light, I found it yesterday only by > chance because I did the search a short time before Comment 4... > > I suppose that due to the urgency the developer did not change the > ebuild version. > > raf > > > I usually select show all when I search. Sometimes, as you point out, the fix is done but may not have hit the tree and all the mirrors. At one time I had a mirror that was not updated as often for some reason. Eventually, it stopped working and I had to switch. I mostly posted just in case someone else ran into this and was trying to find a solution. I spent a few hours trying all my other tricks. None of them worked. Good to know what the cause was tho. After a few days, it shouldn't be a problem for anyone else. All the mirrors should be up to date. It was a head scratcher for me tho. Dale :-) :-)
[gentoo-user] dev-db/mysql-8.0.32-r2 and media-libs/opencv-4.8.1-r1 fails to emerge
Howdy, This is just a heads up. I synced on Saturday, USA time, and was doing my regular updates, weekly ones. For some reason, mysql and opencv would fail every time I attempted to upgrade. I've had times where something would fail on first attempt and just trying to update again would allow it to finish. I guess something was done out of order or something. Anyway, that didn't work this time. I also searched BGO and the forums with no one else having the problem. After updating all I could, I synced the tree again. It's rare but sometimes one can sync when the tree isn't quite complete. I haven't seen that in a few years but it is always on my list of things to try even tho it is so rare. In this case, syncing again was the solution. I caught something in the middle of a change or something and got something that wasn't quite up to date. TL;DR. If the above fails, sync the tree again and retry. It should work then. Time stamp for my original sync: 2024-02-03T20:37:56 Again, USA central time. Hope this helps someone who runs into this and can't work around it. :-D Dale :-) :-)
Re: [gentoo-user] Re: The hopeless futility of printing.
Grant Edwards wrote: > On 2024-01-29, Michael wrote: >> On Monday, 29 January 2024 18:19:19 GMT Alan Grimes wrote: >> >>> It's a LaserJet Pro M453-4. >> You shouldn't need hplip drivers and what not, IPP Everywhere ought to allow >> driverless CUPS to allow you to print: >> >> https://www.pwg.org/printers/ > Does anybody have any experience with using IPP everywhere for > driverless printing with a USB attached printer? (e.g. LasterJet > 1320)? > > Yea, I know, it works as is with the PCL driver, so don't futz with it... > > -- > Grant Some may recall me buying a Lexmark C2325DW laser printer a few years ago. I use the IPP to setup my printer, over wireless I might add, and it works fine. I've printed text, images and combinations of both just fine. It always looks great. I do this within CUPS. This is what it shows when when I pull up the printer info. Description: Lexmark-2325 Driver: Lexmark C2300 Series (color, 2-sided printing) Connection: ipp://10.0.0.3/ Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=two-sided-long-edge I set this up ages ago. I went online and found the .ppd file. During the setup, I just pointed it to the file. So far, this has worked well. On occasion, when CUPS updates, I have to set it up again. Usually, I delete the thing and just start over if it fails to print. After that, it works for a good long while, even tho I don't print as much as I used to. Those toner cartridges that claim 3,000 pages are just wishing. Most stuff I print are regular text. Sometimes a black and white circuit diagram. Still, if I get 1,000 pages or more, I'm doing good. I don't think I've ever got 2,000 pages from one. All that said, the printer is a OK printer. I might add, using IPP was the only way I could get it to work. None of the other options worked. Could be me tho. Y'all know how I am. :/ ROFL Hope that helps. Dale :-) :-)
Re: [gentoo-user] system wants to emerge unstable package
syscon edm wrote: > In: package.mask > ... >> net-misc/asterisk-20 > > current stable versions are; > asterisk-18.18.1 > > but : emerge -avq asterisk > wants to pull 'net-misc/asterisk-18.20.2" (which is marked as unstable, why?) > > If you add the -t option to emerge, it should show what is pulling it in. Worth a try at least. That would be 'emerge -atvq asterisk' and check the output. Dale :-) :-)
Re: [gentoo-user] Kernel questions. Availability and upgrading from old kernel.
Michael wrote: > On Sunday, 21 January 2024 07:03:43 GMT Dale wrote: >> Howdy, >> >> I did my update and noticed the message about changes to kernel >> packages. Depending on how I read it, it sounds like gentoo-sources is >> still available just that older versions are no longer updated as long. >> If I read it a different way, it sounds like gentoo-sources is about to >> stop existing. That last one doesn't sound right. I can't imagine it >> just going away since there are Gentoo specific stuff in there, openrc I >> think being one option lurking about somewhere. I think there is others >> but been a while since I been poking around in there. gentoo-sources is >> hanging around right? > What was the message? > This was a good while back. I mostly remember it not giving me a GUI like usual. I do recall emerging the video drivers for that kernel tho. I'm pretty sure it didn't panic, just left me at a console. I'm not 100% sure tho. >> Currently I'm running 5.14.15 gentoo-sources kernel. > This is no longer in the tree. You can update to the next stable release > 5.15.142, or keyword 5.15.147, if you want to remain on the 5.x.x series. > I'm wanting to upgrade to whatever the latest is that nvidia will work with. >> I tried a good while back to >> upgrade to 6.1.55 which sort of boots I think but something doesn't work >> and all I get is a console. It's been a while since I tried it but it >> did fail several times. > What messages were printed on the console by the kernel? Did it segfault? > No clue. It was months ago at least. >> I did the upgrade the usual way. I used make >> oldconfig and went through all the answers which are mostly no since I >> still have old hardware. Is there a better way than oldconfig? > This has served me well for ever and a day. The only time I recall having a > problem was when I missed out some graphics drivers change. The error > message > in the console pointed me to the right direction. > > That has always been my case as well. I've used make oldconfig and it just worked. This time was the exception. >> Is >> there a way to start from scratch and list all the stuff that is on in >> the old kernel and then compare that to the newer kernel so I can just >> enable what is different but I need? I'd rather avoid going through all >> the menus hoping I recognize everything. I forget what I went to the >> kitchen for. Remembering kernel options from years ago is likely to not >> end well. :/ > You can run oldconfig and *carefully* examine the new options proposed, > before > you accept of reject them. > > Use the kernel's /usr/src/linux/scripts/diffconfig tool to compare and > contrast differences between the old config and the new config. This will > show > you what's changed. > > You could start with the latest ~amd64 kernel and work backward, or start > with > the next stable release from the one you're running. If you try to report a > bug the devs will ask you to start with the latest ~amd64 release anyway, so > this could save you time. > > Post boot errors and messages in case someone has a clue as to what may be > missing from your kernel config. I'll keep this in mind. I'm working on gentoo-sources-6.7.1 if nvidia-drivers will work with it. Sometimes they won't emerge, to new or something. It usually spits out a error why and how to work around it, usually a slightly older kernel version or enable some option. ;-) With this info, at least it doesn't look like something has changed and I'm far afield. Thanks. Dale :-) :-)
[gentoo-user] Kernel questions. Availability and upgrading from old kernel.
Howdy, I did my update and noticed the message about changes to kernel packages. Depending on how I read it, it sounds like gentoo-sources is still available just that older versions are no longer updated as long. If I read it a different way, it sounds like gentoo-sources is about to stop existing. That last one doesn't sound right. I can't imagine it just going away since there are Gentoo specific stuff in there, openrc I think being one option lurking about somewhere. I think there is others but been a while since I been poking around in there. gentoo-sources is hanging around right? Currently I'm running 5.14.15 gentoo-sources kernel. It works but is old. No new types of hardware. Most stuff I buy is older just because it tends to be more supported anyway. I tried a good while back to upgrade to 6.1.55 which sort of boots I think but something doesn't work and all I get is a console. It's been a while since I tried it but it did fail several times. I did the upgrade the usual way. I used make oldconfig and went through all the answers which are mostly no since I still have old hardware. Is there a better way than oldconfig? Is there a way to start from scratch and list all the stuff that is on in the old kernel and then compare that to the newer kernel so I can just enable what is different but I need? I'd rather avoid going through all the menus hoping I recognize everything. I forget what I went to the kitchen for. Remembering kernel options from years ago is likely to not end well. :/ Is it possible that version of kernel had bad bugs that made it a bad idea with hindsight? I plan to upgrade to the newest version in the tree if I try again. Any thoughts? Ideas? Thanks. Dale :-) :-)
Re: [gentoo-user] Dolphin and side pain not updating when mounting drives
Mark Knecht wrote: > > > On Mon, Jan 8, 2024 at 6:39 PM Dale <mailto:rdalek1...@gmail.com>> wrote: > > > > Howdy, > > > > When I remount, whether it is a encrypted drive > > or not, the main window updates when I click on c directory but the > > folders panel never shows the little arrow or expands as it normally > > does. Even if I navigate in the main window all the way to the e > > directory, the folders panel never 'sees' the newly mounted > > folders/directories. It used to expand as I navigate through > directories. > > > > Hi, > I don't use the Folders panel so I only tried it now. The way you > describe the problem it sounds like a bug, and I do see inconsistent > operation of the 'little arrows'. I don't have any real drives to mount > in this machine, but if I have a directory that has no subdirectories > then there is no arrow. If I navigate into an empty test directory > and create a subdirectory I get an arrow, but if I delete the > subdirectory nothing seems to make the arrow go away which, to > me, is inconsistent. > > In the settings area I see there is a way to report usage issues > in the Configure Dolphin section. > > I am using version 23.08.1 > > HTH, > Mark I'm thinking it is a bug also. It did start right after a upgrade. They likely fixed something else and it caused this new problem. I'm on version 23.08.4 here. I may report it. I don't know if I have a KDE bug account or not. If I do it's old and may or may not work anymore. I'll give it a few more updates and see if it gets fixed. Then decide what to do. One reason I was asking, if no one else was seeing this, I was going to reset my KDE config and get a fresh start. I haven't done that in a long time and quite often, new configs fixes some weird issues. I'd have to look to see what I have to change nowadays tho. I seem to recall they moved them ages ago. It used to be ~/.kde or something. Thanks for letting me know it isn't just me. That alone helps. Dale :-) :-)
Re: [gentoo-user] startx error
ation requires -keeptty > and -keeptty was not provided, disabling logind integration > [ 55.386] (II) xfree86: Adding drm device (/dev/dri/card0) > [ 55.386] (II) Platform probe for > /sys/devices/pci:00/:00:02.0/drm/card0 > [ 55.398] (--) PCI:*(0@0:2:0) 8086:4692:1043:8694 rev 12, Mem @ > 0x600200/16777216, 0x40/268435456, I/O @ 0x4000/64, > BIOS @ 0x/131072 > [ 55.398] (II) LoadModule: "glx" > [ 55.398] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so > [ 55.399] (II) Module glx: vendor="X.Org Foundation" > [ 55.400] compiled for 1.21.1.10, module version = 1.0.0 > [ 55.400] ABI class: X.Org Server Extension, version 10.0 > [ 55.400] (==) Matched intel as autoconfigured driver 0 > [ 55.400] (==) Matched modesetting as autoconfigured driver 1 > [ 55.400] (==) Matched fbdev as autoconfigured driver 2 > [ 55.400] (==) Matched vesa as autoconfigured driver 3 > [ 55.400] (==) Assigned the driver to the xf86ConfigLayout > [ 55.400] (II) LoadModule: "intel" > [ 55.400] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so > [ 55.400] (II) Module intel: vendor="X.Org Foundation" > [ 55.400] compiled for 1.21.1.10, module version = 2.99.917 > [ 55.400] Module class: X.Org Video Driver > [ 55.400] ABI class: X.Org Video Driver, version 25.2 > [ 55.400] (II) LoadModule: "modesetting" > [ 55.400] (II) Loading > /usr/lib64/xorg/modules/drivers/modesetting_drv.so > [ 55.400] (II) Module modesetting: vendor="X.Org Foundation" > [ 55.400] compiled for 1.21.1.10, module version = 1.21.1 > [ 55.400] Module class: X.Org Video Driver > [ 55.400] ABI class: X.Org Video Driver, version 25.2 > [ 55.400] (II) LoadModule: "fbdev" > [ 55.401] (WW) Warning, couldn't open module fbdev > [ 55.401] (EE) Failed to load module "fbdev" (module does not > exist, 0) > [ 55.401] (II) LoadModule: "vesa" > [ 55.401] (WW) Warning, couldn't open module vesa > [ 55.401] (EE) Failed to load module "vesa" (module does not exist, 0) > [ 55.401] (II) intel: Driver for Intel(R) Integrated Graphics > Chipsets: > i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, > 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, > Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, > GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 > [ 55.401] (II) intel: Driver for Intel(R) HD Graphics > [ 55.401] (II) intel: Driver for Intel(R) Iris(TM) Graphics > [ 55.401] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics > [ 55.401] (II) modesetting: Driver for Modesetting Kernel Drivers: kms > [ 55.401] (EE) > Fatal server error: > [ 55.401] (EE) xf86OpenConsole: Cannot open virtual console 7 > (Permission denied) > [ 55.401] (EE) > [ 55.401] (EE) > Please consult the The X.Org Foundation support > at http://wiki.x.org > for help. > [ 55.401] (EE) Please also check the log file at > "/home/fd/.local/share/xorg/Xorg.0.log" for additional information. > [ 55.401] (EE) > [ 55.401] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor > [ 55.401] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file > descriptor > [ 55.401] (EE) Server terminated with error (1). Closing log file. > > What am I missing? > I notice that dbus doesn't seem to be running. On my NAS box that I set up as a backup, for some reason nothing starts dbus as a dependency. I had to add it to the default run level manually. You may want to make sure it is running. Second. Shouldn't fbdev or vesa be able to load? I'm not real sure on that. It seems you have a Intel video card. I'm not sure it is loading a driver for that either. One of those problems may cause console 7 to not be available. I'm not real good at video stuff but I do have mine working. I did get it right, at least once. ;-) Hope that helps. Dale :-) :-)
[gentoo-user] Dolphin and side pain not updating when mounting drives
Howdy, I been noticing this for a while now. It started maybe a couple months ago. At first, I figured it is a bug and will be fixed but now I wonder if it is just me. As some know, I have a lot of hard drives. Sometimes I unmount those drives and naturally Dolphin returns to the first directory that it can see. I expect that. It has always worked that way and it should. Thing is, when I mount those drives again, while I can navigate in the main window, the folders panel does not update even after I enter the newly mounted directories. On occasion, it does. Most of the time it doesn't. Example. I have path /a/b/c/d/e and then files. The mount point, encrypted or not, starts at c. If I unmount, Dolphin returns to b. When I remount, whether it is a encrypted drive or not, the main window updates when I click on c directory but the folders panel never shows the little arrow or expands as it normally does. Even if I navigate in the main window all the way to the e directory, the folders panel never 'sees' the newly mounted folders/directories. It used to expand as I navigate through directories. There are rare times when it does update once I navigate into a sub-directory but it is rare. Usually, the only way to make it work correctly is to start a new instance of Dolphin and duplicate the tabs and close the old instance. Once it fails to update the newly mounted drive, I can't find a way to force it to update. Again, it behaves this way on a hard drive whether encrypted or not. Is anyone else seeing this sort of behavior? I've looked to see if there is some new setting for this but I can't find anything, obvious at least. It's kind of annoying since sometimes I have about a dozen tabs open usually to different places that I'm trying to organize files in. Sometimes I have to use the back button to see where it was. Can be time consuming. If someone else is seeing this, let me know I'm not alone even if you don't have a fix. If this is a bug, it may need to be reported. Most likely to KDE I'd guess. Thanks. Dale :-) :-)
Re: [gentoo-user] LiveGUI USB Image
hitachi303 wrote: > Hi there, > > long time since I needed something to boot the pc. I see there is a > LiveGUI USB Image to download but the handbook does not mention it. > How to get a bootable USB stick? > > Reagds > > You can get it here: https://www.gentoo.org/downloads/ I suspect most just use dd to put the iso on the stick. You can use Ventoy as well. It allows you to put multiple ISOs on a single stick. I was made aware of it a while back and used it several times on another rig. It is awesome. Just copy it over to a directory and boot it. https://www.ventoy.net/en/index.html That thing is the best thing since sliced bread and frozen pizza. Instead of 4 or 5 USB sticks, I have one, with everything from memtest to rescue images up to full distro install media. If you plan to use dd, this is the command I have in my notes. dd if=/path/to/iso-image of=/dev/sd? bs=4M status=progress Replace the obvious bits. That help? Dale :-) :-)
Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file
Michael wrote: > On Sunday, 3 December 2023 02:18:34 GMT Dale wrote: >> Michael wrote: >>> On Saturday, 2 December 2023 05:41:06 GMT Dale wrote: >>> >>> Unless you create your own sddm config file in /etc, the sddm package uses >>> a default config file. From the man page: >>> >>> FILES >>> >>>/usr/share/sddm/sddm.conf.d >>> >>> System configuration directory >>> >>>/etc/sddm.conf.d >>> >>> Local configuration directory >>> >>>/etc/sddm.conf >>> >>> Local configuration file for compatibility >>> >>>/usr/share/sddm/themes >>> >>> Where sddm looks for themes >>> >>> Search in the above paths and you should find the default sddm config >>> file, >>> which you can copy over to /etc and tweak it to stop it recording events >>> in >>> your user xsession log file. >> For the first file, not here. I have this but no config file that I >> see. Others below that. >> >> >> root@fireball / # ls /usr/share/sddm/ >> total 44 >> drwxr-xr-x 7 root root 4096 Jul 2 11:05 . >> drwxr-xr-x 411 root root 20480 Dec 2 19:20 .. >> drwxr-xr-x 2 root root 4096 Dec 5 2022 faces >> drwxr-xr-x 2 root root 4096 Jul 2 11:05 flags >> drwxr-xr-x 2 root root 4096 Jul 2 11:05 scripts >> drwxr-xr-x 8 root root 4096 Nov 4 2019 themes >> drwxr-xr-x 2 root root 4096 Jul 2 11:05 translations >> root@fireball / # >> >> cat /etc/sddm.conf.d/01gentoo.conf >> [General] >> # Remove qtvirtualkeyboard as InputMethod default >> InputMethod= >> root@fireball / # >> >> cat /etc/sddm.conf >> [Autologin] >> Relogin=false >> Session= >> User= >> >> [General] >> HaltCommand= >> RebootCommand= >> >> [Theme] >> Current=maldives >> CursorTheme=Adwaita >> >> [Users] >> MaximumUid=6 >> MinimumUid=1000 >> root@fireball / # >> >> >> This may help give ideas on what I do have. > My apologies, your files are correct as you've shown, mine are from a > previous > sddm version 0.18.1-r8. I had to mask the latest version 0.20.0-r1, because > it won't launch fully on this PC to allow me to login. > > This is what you can do easily and without having to add your own new > 02_dale_sddm.conf file just to specify the log file path for sddm: > > mv ~/.local/share/sddm/xorg-session.log ./ > ln -s /dev/null ~/.local/share/sddm/xorg-session.log > > then login into Plasma and the problem of an ever growing log file will be > gone. You will need to remove the symlink and restore the log file if you > want to troubleshoot the sddm or desktop in the future. > > Well, I got sidetracked on the ffmpeg thing. Now that it is fixed, this file isn't filling with anything. It just sorta sits there. I did empty it at one point and it has stayed that way for a bit now. Maybe recompiling some packages and getting everything up to date given other issue with opencascade and such fixed whatever it was that caused it. If it starts filling itself with useless stuff again, back to the solution you gave. Thanks for the help. :-D Dale :-) :-)
Re: [gentoo-user] Something not right with LVM, I think.
Dale wrote: > > Here's a update. I really don't like restarting lvm when I'm logged > into my desktop and everything. It has never hurt anything in the past > but still, it could mess up something. So, I removed the 10TB hard > drive from the Startech enclosure and put it in a spare Rosewill > enclosure. I powered it up, it sees the drive itself but does not add > the LVM part I need to decrypt just like before. I restarted LVM and > there it is, the LVM part I need. So, it isn't the enclosure, it > appears to be the drive itself which is really confusing. I've never > had any hard drive to do this even when I'm starting with a fresh drive > and setting it up. Everything gets added as I set it up. Everything > from partition table to the encrypted file system. > > I may just redo this drive from scratch. Use dd to erase the partition > table and even some data, after all it is encrypted already, and start > from scratch. Maybe I did something wrong and didn't notice it. I dunno. > > I just wanted to update with this info just in case someone else runs > into this issue. No real solution yet but will post back if restarting > from scratch fixes it. > > Dale > > :-) :-) > Final update I guess. I used dd to erase partition table etc from the drive and started over from scratch. The drive still does the same thing. I have to restart LVM for it to allow me to have the LVM part I need to make cryptsetup work. It is really weird but this is the only drive that does this. I ran smartctl -l selftest and it passed. I'm not sure what to think about this. As soon as I can, I'll replace the drive just in case something is wrong that smart isn't picking up on. Dale :-) :-)
Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
Daniel Pielmeier wrote: > Dale schrieb am 05.12.23 um 18:27: >> >> This is where I'm putting the patch and the patch. >> >> >> root@fireball / # cat /etc/portage/patches/media-video/mplayer.diff > > Maybe you should try: > /etc/portage/patches/media-video/mplayer/mplayer.diff > as written in the Wiki. The directory requires the category then e.g. > the package name. Within you have to place the patch file. > That was it. I thought I was messing up something. I missed that extra directory. Now it compiles and I can run depclean and get nice pretty "Nothing to merge; quitting." message from emerge -auDN world. Dang, I haven't seen that in months. O_O Thanks much. Dale :-) :-)
Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
Michael wrote: > > Oops! I misread it. It is indeed the other way around, mplayer requiring > h264enc. My bad. In this case Dale needs to look into using ffmpeg for the > odd file he wants to transcode, instead of mplayer's menconder. Update. It gives a clean update now except for mplayer still failing to compile. It wants to recompile for some reason but fails with the limit thing. I found a bug with a patch for it. I've tried to apply the patch but am having no success. This is the bug report. https://bugs.gentoo.org/918113#c9 This is where I'm putting the patch and the patch. root@fireball / # cat /etc/portage/patches/media-video/mplayer.diff diff -Naur a/libmpcodecs/mp_image.c b/libmpcodecs/mp_image.c --- a/libmpcodecs/mp_image.c 2023-11-27 21:32:22.471059495 -0500 +++ b/libmpcodecs/mp_image.c 2023-11-27 21:33:12.586236355 -0500 @@ -30,6 +30,7 @@ #include "libmpcodecs/mp_image.h" #include "libvo/fastmemcpy.h" #include "libavutil/mem.h" +#include #include "mp_msg.h" void mp_image_alloc_planes(mp_image_t *mpi) { root@fireball / # I've tried it with no extension on the file, with .patch and .diff as above. I've also tried it with the version number as well. No combination seems to work for me. This is the related output. >>> Source unpacked in /var/tmp/portage/media-video/mplayer-1.5_p20230618/work >>> Preparing source in /var/tmp/portage/media-video/mplayer-1.5_p20230618/work/mplayer-1.5_p20230618 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/mplayer-1.5_p20230618/work/mplayer-1.5_p20230618 ... It doesn't show it even trying to apply the patch. I've done patches before but it was a long time ago. I found a wiki page and tried to follow it. Still, nothing works. This is the wiki page. https://wiki.gentoo.org/wiki//etc/portage/patches I'm pretty sure I'm not doing something right but mine looks like examples on the wiki page as best as I can tell. Maybe I have a typo or something that I'm missing. I dunno. Ideas? This has worked in the distant past. Thanks. Dale :-) :-)
Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
Grant Edwards wrote: > On 2023-12-04, Dale wrote: > >> I either started a thread on this a while back or it was mentioned >> inside another thread. This has been popping up for months now. Either >> I have something set wrong or there is a problem in a ebuild or >> something. I just don't know what. This is what I get. I'm having to >> use this command because it does update everything else. This however >> triggers the same as I get during a regular world update. >> >> root@fireball / # emerge -auDN ffmpeg mpv mplayer > A month or two ago, I had to give up on mplayer and replace it with > mpv [https://en.wikipedia.org/wiki/Mpv_(media_player)]. mplayer > required old versions of various libraries, and that was preventing > other things from getting updated because they depended on more modern > versions of those same libraries. > > Do you really need both mpv and mplayer? Given the new one fails to build, that is a good question. Personally, I just want to play videos. lol This is what equery shows as needing mplayer. root@fireball / # equery d media-video/mplayer * These packages depend on media-video/mplayer: media-video/devedeng-4.17.0-r2 (media-video/mplayer) media-video/h264enc-10.4.7-r1 (media-video/mplayer[encode,x264]) media-video/smplayer-23.6.0 (media-video/mplayer[bidi?,libass,png,X]) root@fireball / # I use smplayer, a LOT. It's what I use to watch videos on my TV with. Can smplayer use mpv instead? Would disabling those USE flags above make it not need mplayer? Hey, it's one less package to deal with and it fails to build at the moment. Dale :-) :-)
Re: [gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
Arve Barsnes wrote: > On Mon, 4 Dec 2023 at 09:28, Dale wrote: >> Anyone see a way to fix this? It's getting old seeing this every week >> when I try to do my updates and it may be blocking other updates as well. > Take a look at everything Jigme wrote, but the easy fix seems to > disable USE="ffmpeg" on the opencascade package. What that does to > your use of that package is outside of my knowledge. > > Regards, > Arve I've done a emerge -C opencascade before to get it to move on a bit. Thing is, it pulls it back in and usually downgrades ffmpeg. I use Kicad on occasion and that is what pulls in opencascade. I don't know if it will affect Kicad or not but for now, I disabled the ffmpeg USE flag for opencascade. When I did that, it gives a better output. It's rebuilding quite a few packages but if it will allow emerge to upgrade everything else, I'm fine with it. >From what I've read so far, opencascade wants a older ffmpeg than everything else I have installed. It looks like opencascade needs to upgrade its code to work with newer ffmpeg. If I understand it correctly. Thanks to you and Jigme, and Wols, for the replies. I'll know in a bit how this works. See what it does after it finishes. Dale :-) :-)
[gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
Howdy, I either started a thread on this a while back or it was mentioned inside another thread. This has been popping up for months now. Either I have something set wrong or there is a problem in a ebuild or something. I just don't know what. This is what I get. I'm having to use this command because it does update everything else. This however triggers the same as I get during a regular world update. root@fireball / # emerge -auDN ffmpeg mpv mplayer These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 269.57 s (backtrack: 0/500). Total: 0 packages, Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: media-video/ffmpeg:0 (media-video/ffmpeg-6.1:0/58.60.60::gentoo, ebuild scheduled for merge) USE="X alsa bluray bzip2 dav1d encode fdk fontconfig frei0r gnutls gpl iconv jpeg2k lcms libass lzma mp3 network nvenc opengl openh264 postproc pulseaudio sdl svg theora threads truetype vorbis vpx vulkan webp x264 x265 xvid zlib -amf -amr -amrenc (-appkit) -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -flite -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpegxl -kvazaar -ladspa -libaom -libaribb24 -libcaca -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -openal -opencl -openssl -opus -oss -pic -qsv -rav1e -rubberband -samba -shaderc -snappy -sndio -speex -srt -ssh -static-libs -svt-av1 -test -twolame -v4l -vaapi -vdpau -verify-sig -vidstab -vmaf -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop -3dnow -3dnowext -avx2" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" conflicts with media-video/ffmpeg:0/56.58.58= required by (kde-frameworks/kfilemetadata-5.112.0:5/5.112::gentoo, installed) USE="epub exif ffmpeg pdf taglib -debug -doc -mobi -test" ABI_X86="(64)" >=media-video/ffmpeg-2:0/56.58.58=[encode] required by (app-text/unpaper-7.0.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" media-video/ffmpeg:0/56.58.58= required by (media-video/pipewire-1.0.0:0/0.4::gentoo, installed) USE="X dbus extra ffmpeg pipewire-alsa readline sound-server ssl zeroconf -bluetooth -doc -echo-cancel -flatpak -gsettings -gstreamer -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -man -modemmanager -roc (-selinux) (-system-service) -systemd -test -v4l" ABI_X86="(64) -32 (-x32)" media-video/ffmpeg:0/56.58.58= required by (media-video/gpac-2.2.1-r1:0/11::gentoo, installed) USE="X a52 aac alsa ffmpeg jpeg jpeg2k mad opengl png pulseaudio sdl ssl truetype vorbis xml xvid -debug -dvb -jack -oss -static-libs -theora" ABI_X86="(64)" CPU_FLAGS_X86="sse2" >=media-video/ffmpeg-4.4:0/56.58.58=[encode,threads] required by (media-video/mpv-0.37.0:0/2::gentoo, installed) USE="X alsa bluray cdda cli drm dvd egl iconv javascript jpeg lcms libmpv lua nvenc opengl pipewire pulseaudio sdl uchardet vulkan wayland xv zlib (-aqua) -archive (-coreaudio) -debug -dvb -gamepad -jack -libcaca (-mmal) -openal (-raspberry-pi) -rubberband (-selinux) -sixel -sndio -test -tools -vaapi -vdpau -zimg" ABI_X86="(64)" LUA_SINGLE_TARGET="(luajit) (-lua5-1)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" >=media-video/ffmpeg-2.7:0/56.58.58= required by (media-video/ffmpegthumbnailer-2.2.2-r1:0/0::gentoo, installed) USE="gtk jpeg png -gnome -test" ABI_X86="(64)" media-video/ffmpeg:0/56.58.58=[abi_x86_64(-)] required by (media-libs/opencv-4.8.1:0/4.8.1::gentoo, installed) USE="contrib contribdnn eigen features2d ffmpeg gphoto2 java jpeg jpeg2k opengl openmp png python qt5 tiff webp -contribcvv -contribfreetype -contribhdf (-contribovis) -contribsfm -contribxfeatures2d -cuda -debug -dnnsamples -download -examples -gdal -gflags -glog -gstreamer -gtk3 -ieee1394 -lapack -lto -opencl -opencvapps -openexr -qt6 -tesseract -testprograms -threads -v4l -vaapi -vtk -xine" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="avx f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx2 -avx512f" PYTHON_TARGETS="python3_11 -python3_10" media-video/ffmpeg:0/56.58.58= required by (sci-libs/vtk-9.2.6-r1:0/9.2::gentoo, installed) USE="ffmpeg java logging mysql openmp qt5 rendering sdl threads -all-modules -boost -cuda (-debug) -doc -examples -freetype -gdal -imaging -las -mpi -odbc -openvdb -pdal -postgres -python -qt6 -tbb -test -tk -views -vtkm -web" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file
Michael wrote: > On Saturday, 2 December 2023 05:41:06 GMT Dale wrote: > > Unless you create your own sddm config file in /etc, the sddm package uses a > default config file. From the man page: > > FILES >/usr/share/sddm/sddm.conf.d > System configuration directory > >/etc/sddm.conf.d > Local configuration directory > >/etc/sddm.conf > Local configuration file for compatibility > >/usr/share/sddm/themes > Where sddm looks for themes > > Search in the above paths and you should find the default sddm config file, > which you can copy over to /etc and tweak it to stop it recording events in > your user xsession log file. > For the first file, not here. I have this but no config file that I see. Others below that. root@fireball / # ls /usr/share/sddm/ total 44 drwxr-xr-x 7 root root 4096 Jul 2 11:05 . drwxr-xr-x 411 root root 20480 Dec 2 19:20 .. drwxr-xr-x 2 root root 4096 Dec 5 2022 faces drwxr-xr-x 2 root root 4096 Jul 2 11:05 flags drwxr-xr-x 2 root root 4096 Jul 2 11:05 scripts drwxr-xr-x 8 root root 4096 Nov 4 2019 themes drwxr-xr-x 2 root root 4096 Jul 2 11:05 translations root@fireball / # cat /etc/sddm.conf.d/01gentoo.conf [General] # Remove qtvirtualkeyboard as InputMethod default InputMethod= root@fireball / # cat /etc/sddm.conf [Autologin] Relogin=false Session= User= [General] HaltCommand= RebootCommand= [Theme] Current=maldives CursorTheme=Adwaita [Users] MaximumUid=6 MinimumUid=1000 root@fireball / # This may help give ideas on what I do have. root@fireball / # locate sddm.conf /etc/sddm.conf /etc/sddm.conf.d /etc/config-archive/etc/sddm.conf /etc/config-archive/etc/sddm.conf.dist /etc/sddm.conf.d/01gentoo.conf /usr/lib/sysusers.d/acct-group-sddm.conf /usr/lib/sysusers.d/acct-user-sddm.conf /usr/lib/tmpfiles.d/sddm.conf /usr/share/dbus-1/system.d/org.freedesktop.sddm.conf /usr/share/dbus-1/system.d/org.kde.kcontrol.kcmsddm.conf /usr/share/man/man5/sddm.conf.5.bz2 root@fireball / # >> Since this is >> actually dolphin, what does dolphin use to generate those thumbnails? >> Maybe I need to beat some sense into that thing. Another thing that hit >> me, I have three video packages installed, these three. > I would think it uses ffmpeg to decompress, parse, decode and play a file > when > previewed in dolphin. > > >> root@fireball / # equery list mpv ffmpeg mplayer >> * Searching for mpv ... >> [IP-] [ ] media-video/mpv-0.36.0-r1:0/2 >> >> * Searching for ffmpeg ... >> [IP-] [ ] media-video/ffmpeg-4.4.4-r8:0/56.58.58 >> >> * Searching for mplayer ... >> [IP-] [ ] media-video/mplayer-1.5_p20230618:0 >> root@fireball / # >> >> >> >> I'm wondering, if I remove ffmpeg, could my video players use mpv or >> mplayer? > I understand these video players use ffmpeg libraries too. > > >> Does dolphin use ffmpeg or mplayer to generate the >> thumbnails? > Yes: > > ~ $ lsof | grep ffmpeg > kioslave5 8826 michael mem REG 0,19 > > 435168 /usr/lib64/qt5/plugins/kf5/thumbcreator/ffmpegthumbs.so (path dev=0,23) > > > Dolpin would not need a video player's functionality just to preview a > thumbnail of a video file. > > >> I need to keep mpv because I use that to play videos >> directly. I think smplayer needs mplayer, maybe.Another thought, >> you see any USE flags that need to be changed? Maybe I missed a new one >> that I need to enable or something. > If I recall correctly you have NVidia graphics card(s), so you should enable > the nvidia related hardware acceleration for better performance and less CPU > load; e.g. nvencm and/or vdpau > I'm working on enabling those USE flags. For months now, I've ran into a block with opencascade, vlc, pipewire and several other video packages. I have to emerge -C vlc and opencascade to do emerges on video stuff then re-emerge them when done. I don't know if it is me or something else but it has been that way for months. I posted a thread about it a few months back. I dunno. I'm working on the change now. ;-) And mplayer just failed with this nifty message. SIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2 -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/img_format.o libmpcodecs/img_format.c x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstri
Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file
Michael wrote: > On Friday, 1 December 2023 11:47:31 GMT Dale wrote: >> Howdy, >> >> I was poking around the other day and noticed a large log file. At >> first I thought it was smplayer but it does it even when smplayer is >> closed. So, I tested several things and finally noticed it stops >> generating errors when I turn off showing thumbnails in dolphin. This >> is a sample of what it enters into xorg-sessions.log file. >> >> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format >> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection >> possible! >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format >> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection >> possible! >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format >> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection >> possible! >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found >> >> >> >> When I cut off thumbnails and turn it back on, I also get some messages >> like this. >> >> >> >> [avi @ 0x55dcc9bede00] non-interleaved AVI >> [avi @ 0x55dcc9bede00] non-interleaved AVI >> [mpeg4 @ 0x55dcc9c00c20] Video uses a non-standard and wasteful way to >> store B-frames ('packed B-frames'). Consider using the >> mpeg4_unpack_bframes bitstream filter without encoding but stream copy >> to fix it. >> [avi @ 0x55dcc9bede00] non-interleaved AVI >> [avi @ 0x55dcc9bede00] non-interleaved AVI >> [mpeg4 @ 0x55dcc9bd76e0] Video uses a non-standard and wasteful way to >> store B-frames ('packed B-frames'). Consider using the >> mpeg4_unpack_bframes bitstream filter without encoding but stream copy >> to fix it. >> >> >> I cleared the log file since it was over 1GB. I looked around in >> dolphin settings and can't figure out a way to cut those messages off. >> I'm not sure how to fix this. If the video is broken somehow, they all >> play fine on my TV. I'm kinda thinking that something is is having >> problems but I don't know how it generates thumbnails to know what that >> is. >> >> Anyone have ideas or thoughts on this? Is it a bug that will be fixed >> soon and just give it time? Should I threaten it with a hammer? ROFL >> >> Thanks. >> >> Dale >> >> :-) :-) > Is your issue related to these logs being generated, or to these logs being > captured. If the latter, then my previous response on configuring the sddm > logs should help. Replying here since the original post has the correct info. Took me a bit to try some of things in other reply. I had to help install two TVs and tried to do some hunting today for a friend. Most of the files you mentioned aren't on this system and some paths don't exist either. Maybe different USE flags or something?? I dunno. Since this is actually dolphin, what does dolphin use to generate those thumbnails? Maybe I need to beat some sense into that thing. Another thing that hit me, I have three video packages installed, these three. root@fireball / # equery list mpv ffmpeg mplayer * Searching for mpv ... [IP-] [ ] media-video/mpv-0.36.0-r1:0/2 * Searching for ffmpeg ... [IP-] [ ] media-video/ffmpeg-4.4.4-r8:0/56.58.58 * Searching for mplayer ... [IP-] [ ] media-video/mplayer-1.5_p20230618:0 root@fireball / # I'm wondering, if I remove ffmpeg, could my video players use mpv or mplayer? Does dolphin use ffmpeg or mplayer to generate the thumbnails? I need to keep mpv because I use that to play videos directly. I think smplayer needs mplayer, maybe. Another thought, you see any USE flags that need to be changed? Maybe I missed a new one that I need to enable or something. root@fireball / # equery u mpv ffmpeg mplayer [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for media-video/mpv-0.36.0-r1: U I + + X : Add support for X11 + + alsa : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture) - - archive : Enable support for various archive formats via app-arch/libarchive + + bluray : Enable playback of Blu-ray filesystems + + cdda : Add Compact Disk Digital Audio (Standard Audio CD) support + + cli : Enable the command-line player - - debug : Enable extra debug codepaths, like as
Re: [gentoo-user] xorg-session filled possibly with sddm errors about video files.
Dale wrote: > Howdy, > > I was digging around the other day and noticed a large log file. I just > had to see why it was so large. It's over 1GB. This is a example of > its content. It just repeats, a LOT. > > > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format > mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection > possible! > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format > mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection > possible! > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format > mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection > possible! > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found > > > As most know, I watch TV from this thing. I'm almost certain it is > being generated by smplayer because I tested to see if it does this with > only smplayer running. I use mpv for playing videos etc on my monitor > itself but it doesn't do it when mpv is playing. From the log file > size, it has been doing this a while but there is no time stamps to go > by. However, using tail -f to monitor it, it repeats every second or so. > > First, I'd like to fix whatever is causing this if I can. It may be the > video file itself or it may be smplayer. If it is the video files, it's > a lot of them. It's been doing this for days or more. I've played a > lot of videos in that time frame. I looked in smplayer and tried > disabling logging there, no change. It still adds to that log. Anyone > have a clue how to fix this?? > > Second, if it is not fixable, since these errors aren't preventing > videos from playing just fine, how do I stop the errors from going into > the log file? While I have a fairly large size /home that this file > parks on, it would eventually start hogging up a lot of drive space. > > I did some searches for the error. It appears to be reported but I > don't see a way to fix it. It seems I would have to figure out what > video files trigger it and then fix the files one at a time. Given > that, the second option may be the best way to deal with this. > > Thoughts? Ideas? Large hammer??? lol > > Dale > > :-) :-) > Ignore this. I didn't realize I even sent this one. Found out more accurate info and created new thread. Still don't recall hitting send. :/ Dale :-) :-)
[gentoo-user] Thumbnail thingy generating large xorg-session.log file
Howdy, I was poking around the other day and noticed a large log file. At first I thought it was smplayer but it does it even when smplayer is closed. So, I tested several things and finally noticed it stops generating errors when I turn off showing thumbnails in dolphin. This is a sample of what it enters into xorg-sessions.log file. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found When I cut off thumbnails and turn it back on, I also get some messages like this. [avi @ 0x55dcc9bede00] non-interleaved AVI [avi @ 0x55dcc9bede00] non-interleaved AVI [mpeg4 @ 0x55dcc9c00c20] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it. [avi @ 0x55dcc9bede00] non-interleaved AVI [avi @ 0x55dcc9bede00] non-interleaved AVI [mpeg4 @ 0x55dcc9bd76e0] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it. I cleared the log file since it was over 1GB. I looked around in dolphin settings and can't figure out a way to cut those messages off. I'm not sure how to fix this. If the video is broken somehow, they all play fine on my TV. I'm kinda thinking that something is is having problems but I don't know how it generates thumbnails to know what that is. Anyone have ideas or thoughts on this? Is it a bug that will be fixed soon and just give it time? Should I threaten it with a hammer? ROFL Thanks. Dale :-) :-)
[gentoo-user] xorg-session filled possibly with sddm errors about video files.
Howdy, I was digging around the other day and noticed a large log file. I just had to see why it was so large. It's over 1GB. This is a example of its content. It just repeats, a LOT. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found As most know, I watch TV from this thing. I'm almost certain it is being generated by smplayer because I tested to see if it does this with only smplayer running. I use mpv for playing videos etc on my monitor itself but it doesn't do it when mpv is playing. From the log file size, it has been doing this a while but there is no time stamps to go by. However, using tail -f to monitor it, it repeats every second or so. First, I'd like to fix whatever is causing this if I can. It may be the video file itself or it may be smplayer. If it is the video files, it's a lot of them. It's been doing this for days or more. I've played a lot of videos in that time frame. I looked in smplayer and tried disabling logging there, no change. It still adds to that log. Anyone have a clue how to fix this?? Second, if it is not fixable, since these errors aren't preventing videos from playing just fine, how do I stop the errors from going into the log file? While I have a fairly large size /home that this file parks on, it would eventually start hogging up a lot of drive space. I did some searches for the error. It appears to be reported but I don't see a way to fix it. It seems I would have to figure out what video files trigger it and then fix the files one at a time. Given that, the second option may be the best way to deal with this. Thoughts? Ideas? Large hammer??? lol Dale :-) :-)
Re: [gentoo-user] [OT] Very slow POST process
Michael wrote: > Over the last 8-9 months I noticed an old Lenovo G505s laptop is spending a > long time in the POST process, before eventually the OEM logo shows up on the > screen. Last time I timed it, it took 2.5-3.0 minutes. Normally it would > only take ~20-30 seconds. Once the logo shows up the boot process proceeds > without further delay. > > Initially, this delay to POST would happen randomly and rarely. Now it > happens every time. > > Things I tried: > > 1. Reflashing the UEFI firmware - it didn't work because it already has the > latest firmware. > > 2. Removing the main battery and holding down the power button for 15 > seconds, > hoping to reset the firmware. > > 3. Leaving the PSU cable connected overnight. > > 4. Testing the RAM and HDD. > > None of the above improved the situation, or indicated what might be wrong. > > I'll reseat the RAM sticks and the HDD next, in case a contact is oxidised, > but what else could cause this noticeable delay to POST? A failing RTC CMOS > battery? I recently had this issue as well on my 770T NAS box. I ordered some video cards and once I replaced the video card, it boots in the time it should every time. Before that, I tried memtest, checking the CPU was seated properly and not running hot, checked temps with a IR thingy of both bridge chips and several other things. I also replaced the battery and reset the settings to defaults and then adjusted to my way. The only thing that changed the long POST time, changing the video card. I might add, I've booted that thing a lot since I changed the video card and it boots right up each time. If you have a built in video system, you stuck. The only option I can think of, clean the heat sink/cooler for the CPU and such and see if that helps any. If you doing a cold start, couldn't imagine heat being a issue tho. If you have a video card that can be changed, might want to try that. I've never seen a laptop with one of those tho. I hope someone else has a better suggestion. Dale :-) :-)
Re: [gentoo-user] Something not right with LVM, I think.
Dale wrote: > Mark Knecht wrote: >> 2) You suggest these enclosures are identical, but in a quick search >> for specs the Rosewill appears to support drives up to 6TB but the >> StarTech only supports up to 4TB. What size drives are you using? >> >> https://media.startech.com/cms/pdfs/sat3510bu2e_datasheet.pdf >> >> https://www.newegg.com/rosewill-rx304-apu3-35b/p/N82E16817182316 >> >> If those specs are the right ones the enclosures are not identical. >> >> Good luck, >> Mark > > > I meant the info in the messages file when powering up the drives were > the same. The enclosures are a bit different but they are all eSATA. > I did swap out the enclosure and the other did the same. I may put > that drive in a Rosewill and see if it works as it should then, > eliminate the drive as a problem. I have three Rosewill and two > Startech. > > I've seen those limited to smaller sizes in the past. Generally tho, > they always work regardless of size unless they really small like > older IDE drives or something. I read once what causes that and don't > buy those. Usually if I read it in the description, my bell goes > off. I haven't seen one that is actually limited in ages. > > Good idea tho. > > Dale > > :-) :-) Here's a update. I really don't like restarting lvm when I'm logged into my desktop and everything. It has never hurt anything in the past but still, it could mess up something. So, I removed the 10TB hard drive from the Startech enclosure and put it in a spare Rosewill enclosure. I powered it up, it sees the drive itself but does not add the LVM part I need to decrypt just like before. I restarted LVM and there it is, the LVM part I need. So, it isn't the enclosure, it appears to be the drive itself which is really confusing. I've never had any hard drive to do this even when I'm starting with a fresh drive and setting it up. Everything gets added as I set it up. Everything from partition table to the encrypted file system. I may just redo this drive from scratch. Use dd to erase the partition table and even some data, after all it is encrypted already, and start from scratch. Maybe I did something wrong and didn't notice it. I dunno. I just wanted to update with this info just in case someone else runs into this issue. No real solution yet but will post back if restarting from scratch fixes it. Dale :-) :-)
Re: [gentoo-user] Portage reports preserved libs, but won't rebuild
Dale wrote: > Bryan Gardiner wrote: >> On Thu, 23 Nov 2023 16:51:37 -0500 >> Matt Connell wrote: >> >>> First time I've seen this happen! >>> >>> Any time I emerge anything, I get portage telling me I have the >>> following preserved libs: >>> >>> --- >>> >>> !!! existing preserved libs: >>>>>> package: app-arch/bzip2-1.0.8-r4 >>> * - /usr/lib/libbz2.so.1 >>> * - /usr/lib/libbz2.so.1.0.8 >>> * used by /usr/lib/libfreetype.so.6 (preserved) >>> * used by /usr/lib/libfreetype.so.6.20.1 (preserved) >>>>>> package: dev-libs/glib-2.76.4 >>> * - /usr/lib/libglib-2.0.so.0 >>> * - /usr/lib/libglib-2.0.so.0.7600.4 >>> * used by /usr/lib/libharfbuzz.so.0 (preserved) >>> * used by /usr/lib/libharfbuzz.so.0.60801.0 (preserved) >>> >>> >>> But when I run emerge @preserved-rebuild as one should, all I get is: >>> "Nothing to merge; quitting." >>> >>> Anyone else experienced this? How do I figure out what I need to do? >> Assuming you're on amd64... These are 32-bit libraries. You probably >> had abi_x86_32 set on these packages before, and it's not any more. >> Normally Portage will remove these if no other (32-bit) package >> requires them, but nowadays there is the >> >> freetype[harfbuzz] -> harfbuzz -> freetype >> >> dependency cycle, so you need to explicitly break the cycle *while >> temporarily reenabling 32-bit* to get Portage to remove the libs >> cleanly. Something like, temporarily put this in package.use: >> >> app-arch/bzip2 abi_x86_32 >> dev-libs/glib abi_x86_32 >> dev-libs/libpcre2 abi_x86_32 >> media-gfx/graphite2 abi_x86_32 >> media-libs/freetype abi_x86_32 -harfbuzz # Break the cycle. >> media-libs/harfbuzz abi_x86_32 >> media-libs/libpng abi_x86_32 >> sys-libs/zlib abi_x86_32 >> >> and reemerge these packages. Then when you remove these USE flags and >> emerge again, the 32-bit libraries will disappear. >> >> Cheers, >> Bryan >> >> > > Somewhat related. I had a lot of entries in a package.use file for the > abi 32 version. Those entries were pretty old. They were likely from > back when some packages hadn't changed to 64 yet but have since then. I > made a copy of the entries and removed the file. I then did a emerge > -auDN world and it is changing to 64 version for all of them without > complaint. I mention this for this reason, anyone reading this may want > to check any entries they may have but forgot about and see if they can > be removed on their system as well. This may take care of any future > problems like this or other problems, such as no 32 version available > anymore. > > Reading this post is what reminded me that I had those entries. I'd > forgot about it since they are in a separate file from other package.use > entries. I may not be alone in this. > > Dale > > :-) :-) > This ended up doing that circularharfbuzz and freetype thing. I removed a couple packages that I have that others may not. I ended up doing this to get around it and it doesn't require any file editing. USE="-harfbuzz abi_x86_32" emerge -1va app-arch/bzip2 dev-libs/glib media-libs/freetype dev-libs/libpcre media-gfx/graphite2 media-libs/harfbuzz media-libs/libpng sys-libs/zlib And then: emerge -avuDN --with-bdeps=y @world I post that just in case someone can't get around the problem with the info from Bryan. I'm not sure why Bryan's didn't work tho. Dale :-) :-)