Re: [gentoo-user] teams gentoo and firefox

2024-06-12 Thread hitachi303

Am 12.06.24 um 18:22 schrieb Matt Connell:

On Wed, 2024-06-12 at 12:46 +0200, hitachi303 wrote:

is anyone successfully using MS teams? Successfully like able to use
it?


I use Teams, and I rely on it, but not in a browser.

I use the teams-for-linux[1] version, which is available as a
flatpak[2] or via portage as net-im/teams-for-linux

Personally, I've had great success with the flatpak version, and I have
not tried the portage version, although the latter appears to be more
up-to-date, so I might make the switch in the future.

1: https://github.com/IsmaelMartinez/teams-for-linux

2: https://flathub.org/apps/com.github.IsmaelMartinez.teams_for_linux



Thanks for the answer. I think teams-for-linux is no longer in portage.

https://packages.gentoo.org/packages/search?q=teams-for-linux



[gentoo-user] teams gentoo and firefox

2024-06-12 Thread hitachi303

Hi there,

is anyone successfully using MS teams? Successfully like able to use it? 
It appears MS is using its powers of being big to shut linux users with 
firefox out or am I wrong with this assessment? I used to be able to use 
it (there was a message they are optimizing for other browsers which I 
do not use and do not intend to use) but now I am just not able to use it.


Any advice beside not using MS teams?

Thanks



Re: [gentoo-user] hplip and python3.12 problem

2024-06-06 Thread hitachi303

Am 06.06.24 um 11:08 schrieb Jacques Montier:

Hello all,

I migrated python from 3.11 to 3.12 following the instructions without 
any problem and i arrived to

*/* PYTHON_TARGETS: -* python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_12
in package.use.

Yesterday, everything was fine and this morning, problem with hplip package.

with emerge -av hplip, i get this :

!!! The ebuild selected to satisfy "hplip" has unmet requirements.
- net-print/hplip-3.23.12-r3::gentoo USE="X hpcups libnotify policykit 
qt5 scanner snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport 
-static-ppds" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 python3_12 
-python3_10"

  The following REQUIRED_USE flag constraints are unsatisfied:
     exactly-one-of ( python_single_target_python3_10 
python_single_target_python3_11 python_single_target_python3_12 )


So , in package.use, i put the line :
net-print/hplip scanner python_single_target_python3_12

It fails with the same issue :

The following REQUIRED_USE flag constraints are unsatisfied:
     exactly-one-of ( python_single_target_python3_10 
python_single_target_python3_11 python_single_target_python3_12 )



How could i resolve this issue ?

Thanks for your help.

Cheers,

--
Jacques



I think you do have do also deselect python 3.11 in the package use 
line. I Think something like this:
net-print/hplip scanner python_single_target_python3_12 
-python_single_target_python3_11


I think I handelt ist like this some years ago when some other version 
from python was upgraded.




Re: [gentoo-user] python 3.12 update

2024-06-05 Thread hitachi303

Am 04.06.24 um 22:34 schrieb Eli Schwartz:

- you read the news item, but decided to NOT defer the upgrade, and
   instead tried to mix both python 3.11 and python 3.12 together on your
   system



I do have one question because I get the vipe from you that mixing 
python 3.11 and 3.12 would be a bad thing:


the news item lists in the save upgrade section those lines:
*/* PYTHON_TARGETS: -* python3_11 python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_11

This is mixing python 3.11 and 3.12 on the same system. This should be 
working as well, shouldn't it? Shouldn't portage be able to deal with 
this, at least until python 3.11 gets deprecated? Why else would there 
be the chance to define more than one python target? And both versions 
of python are emerged in different slots. There might not be an 
advantage and the disadvantage to carry around two versions of python 
but shouldn't this work non the less?




Re: [gentoo-user] python 3.12 update

2024-06-05 Thread hitachi303

Am 04.06.24 um 22:09 schrieb Eli Schwartz:

The purpose of the news item was to warn users that the event would
occur. Did it not achieve its purpose? Were you not-warned?

Do we at least agree that the news item was truthful?


Hi,

for me this was exactly what the news item did. It helped me to plan my 
updates.


Most updated have been so smooth in the last years that I think there 
are a lot of devs (or all of them) doing incredible good work. I 
remember an update to python being not that smooth, but this might be a 
decade ago. This time there has been a warning, instructions on how to 
deferring, forcing and running it safe. Since I had little time I opted 
for deferring first. Now I'm going to try the save way on one of my 
boxes. But this is just my way.


In the past years a lot of news items have been incredible helpful. The 
others have not been important for my situation. So I am very thankful 
for the news system.


Regards



Re: [gentoo-user] After Update grub does not work anymore

2024-03-29 Thread hitachi303

Am 29.03.24 um 11:55 schrieb Alexander Puchmayr:

Hi,

After upgrading two Lenovo Laptops (UEFI, secure boot disabled), grub does not
work anymore; instead it says "Welcome to Grub" ... And then immediately boots
into bios setup.

What did go wrong?
I did the usual things:
* emerge update world
* emerge --config gentoo-kernel
* grub-mkconfig -o /boot/grub/grub.cfg

Everything went fine without errors, but then the final reboot, only bios setup.
And these steps do not alter the efi boot loaders

Any ideas? How to get out of this?

Alex



Hi again,

to get out of this booting a live usb or CD and chroot will most likely 
be your best way to fix this. The installation handbook explains how to 
chroot. Then you can start fixing the problem.


Regards




Re: [gentoo-user] After Update grub does not work anymore

2024-03-29 Thread hitachi303

Am 29.03.24 um 11:55 schrieb Alexander Puchmayr:

Hi,

After upgrading two Lenovo Laptops (UEFI, secure boot disabled), grub does not
work anymore; instead it says "Welcome to Grub" ... And then immediately boots
into bios setup.

What did go wrong?
I did the usual things:
* emerge update world
* emerge --config gentoo-kernel
* grub-mkconfig -o /boot/grub/grub.cfg

Everything went fine without errors, but then the final reboot, only bios setup.
And these steps do not alter the efi boot loaders

Any ideas? How to get out of this?

Alex


Hi,

die you follow the announcement about grub? eselect news read

2024-02-01-grub-upgrades
  Title GRUB upgrades
  AuthorMike Gilbert 
  Posted2024-02-01
  Revision  2

When booting with GRUB, it is important that the core image and modules
have matching versions. Usually, running grub-install is sufficient to
ensure this.

On the UEFI platform, grub-install allows the core image to be placed in
two different locations:

EFI/gentoo/grubx64.efi
This is the location used by grub-install without options.

EFI/BOOT/BOOTX64.EFI
This is the location used by grub-install --removable.

On upgrades, it is common for users to mismatch the grub-install options
they used for the current and previous versions of grub. This will cause
a stale core image to exist. For example:

/boot/efi/EFI/BOOT/BOOTX64.EFI (grub 2.06 core image)
/boot/efi/EFI/gentoo/grubx64.efi (grub 2.12 core image)
/boot/grub/x86_64-efi/*.mod (grub 2.12 modules)

Booting this system using BOOTX64.EFI image would likely fail due to a
symbol mismatch between the core image and modules. [1]

Re-runing grub-install both with and without the --removable option
should ensure a working GRUB installation.

However, this will clobber any BOOTX64.EFI image provided by other
loaders. If dual-booting using another boot loader, users must take care
not to replace BOOTX64.EFI if it is not provided by GRUB.

References:
[1] https://bugs.gentoo.org/920708





[gentoo-user] LiveGUI USB Image

2023-12-30 Thread hitachi303

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



Re: [gentoo-user] Password questions, looking for opinions. cryptsetup question too.

2023-09-19 Thread hitachi303

Am 20.09.23 um 04:41 schrieb Dale:

It is interesting what people can come up with.  Thing is, if one uses a
true random generated password, they are hard to crack but also hard to
remember.  I try to come up with something that will be hard to crack
but easy for me to remember.


If someone has a child one can always frame the first language test and 
put it at the wall in the office together with some family photos. Those 
spelling errors might not be random but for all practical use they are 
not predictable. One can always look it up. Just remember the line of 
the password. This is hidden in plain sight.




Re: [gentoo-user] Password questions, looking for opinions. cryptsetup question too.

2023-09-19 Thread hitachi303

Am 19.09.23 um 13:47 schrieb Michael:

A couple of minutes?

https://xkcd.com/538/

😄


Most crypto nerds have a wrench at home. The gov. can even save those 5$.
:-)



Re: [gentoo-user] Password questions, looking for opinions. cryptsetup question too.

2023-09-19 Thread hitachi303

Am 19.09.23 um 07:36 schrieb Dale:
Maybe even a example or two of a fake password, just something that you 
would come up with and how.



There was this TV series Sherlock. In one episode they communicated by 
numbers where each number referred to a word in a book. This was 
somewhat also used in a movie with Nicolas Cage where he is treasure 
hunting.


For the passwords which matter this seems to be a quit good way. As long 
as nobody guesses your book you can write down your passwords and look 
them up if needed. Like 239/4 which would tell you to open page 239 and 
use word 4. Or 239/4/3 -> page 239 line 4 word 3.
Then you start to make it difficult so that you don't just use words. 
Like start with the first letter of the word than go backwards and use 
every second letter until you habe 8 letters. Mix in a number for every 
third position.
You can change the rule as you like. Keep it always the same and you can 
look your password up every time. In German there are quit a lot of 
capital letters so just take them.
You can be creative as wild. Take a poem in middle age German and take 
only the first an last letter from every line. Every third number from 
pi. Since there is no pattern in pi this should be safe.


Something like that.



Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread hitachi303

Am 04.09.23 um 15:04 schrieb Michael:

PS. Is http_replicator still available/maintained?  I see the wiki mentions
apt-cacher-ng for local distfiles cache.


IIRC it died when python or perl 2.x was no longer available.



Re: [gentoo-user] Anyone ever used mkstage4

2023-05-06 Thread hitachi303

Am 06.05.23 um 10:15 schrieb Dale:

Howdy,

Some may recall me buying a SSD for my OS.  I been busy and other than
installing it in the system, I haven't touched it since.  Now that I
have a little time, I want to play with it a bit.  Actually put my OS on
it maybe.  I did a little research and found the mkstage4 package that
may do what I want.  If it works the way I think, I can create
partitions and file systems on the drive, mount everything and then use
it to copy over a stage 4 install.  Basically, it will copy the OS to
the SSD for me and knows what to copy and what not to copy.  That's what
it sounds like to me anyway.  Thing is, I'm not sure.  I found it on the
wiki.  It's here:

https://wiki.gentoo.org/wiki/Mksta

It seems I just CD into the / directory of the SSD and run the command.
I'm not real sure on that tho.  Some commands do work like that tho.  I
think with tar you have to use a option, -C I think, to change
directories.  May be as simple as it looks.  lol

Anyone ever use this tool?  Is it that simple?  Think it will do what
I'm wanting it to do?  I'm assuming it will skip /home too.  That'll
never fit on that little SSD.  I've got well north of 40TBs here now,
not counting backups.

Looking for any info on this, good or bad.

Dale

:-)  :-)


Hi Dale,

I did use stage4 long time ago tho I don't know the package. I guess I 
didn't knew about its existence back than or it hasn't been around.


I learned two things back than.

Sometimes it is better to have a fresh start. I do have some old boxes I 
hardly ever use anymore and it is fine to run gentoo on a pc for 16 
years and everything still works (which cannot be said for windows or 
android on my phone). Even tho; just using the make.conf, the world file 
and some thing I fiedelt with here and there to set up a new 
installation on the same box seems to get better results. Things change 
and not carrying everything from over a decade is a plus.


Second: Be sure your stage4 (and any other backup) is functional. Just 
running the backup routine and realizing later that for some reason the 
tar did not work and the files are there but the pictures are all broken 
and empty is kind of disappointing.


Regards



Re: [gentoo-user] Manifest verification failed

2023-04-22 Thread hitachi303

Am 22.04.23 um 08:10 schrieb the...@sys-concept.com:


On 4/21/23 23:09, the...@sys-concept.com wrote:

I'm trying "emerge --sync" (few times) but I get this error:

!!! Manifest verification failed:
OpenPGP verification failed:
gpg: Signature made Sat 22 Apr 2023 04:39:56 AM UTC
gpg:    using RSA key 
E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250

gpg: Can't check signature: No public key


Action: sync for repo: gentoo, returned code = 1

GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ 
http://gentoo.osuosl.org/ 
ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ 
ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ 
http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/";




I see others have similar issues as well.

"emerge-webrsync"  worked



From time to time this happens to me as well. Mostly I end up removing 
everything in PORTDIR (for me: "/var/db/repos/gentoo") and running 
emerge --sync again. My uneducated guess is that something wasn't 
removed or copied correctly.





Re: [gentoo-user] updating /boot directory EFI

2023-04-16 Thread hitachi303

Am 16.04.23 um 21:11 schrieb Mitch D.:
A minimal EFI bootloader can show an updated menu for the new kernels 
without needing to make regular writes to the EFI variable storage. I 
didn't know Grub was deprecated, but there are other options. rEFInd is 
pretty. Syslinux is flexible.


https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader

Default: GRUB



Re: [gentoo-user] emerge -U or emerge -N

2023-04-10 Thread hitachi303

Am 10.04.23 um 18:44 schrieb the...@sys-concept.com:

Is it better to us emerge -U or emerge -N

I've always done -N but it didn't go very smoothly it seems to me -U 
might be better option but it takes longer.

Right now I'm doing -U and it is compiling 549-packages.



Just out of curiosity: Is that your update process for world or in which 
context do you use it? If this is your update process, with which other 
options do you combine it? 549-packages is quit a lot.




Re: [gentoo-user] slim gives me blank screen after entering wrong password

2023-04-07 Thread hitachi303

Am 07.04.23 um 02:53 schrieb the...@sys-concept.com:

I'm starting X server via "slim" (XFCE4)


Is the fork aktiv and maintained? I had some problems using it and after 
Jörg Schilling died and berlinos disappeared since it was his domain I 
switched away. Didn't expect it to be maintained any longer.





Re: [gentoo-user] Trying to get my ME936 LTE/HSDPA+ 4G modem running

2023-03-09 Thread hitachi303

Am 08.03.23 um 21:51 schrieb Security:

On Wed, 8 Mar 2023 15:31:02 +0100
hitachi303  wrote:


Hello everyone,

I am trying to get my Huawei ME936 LTE/HSDPA+ 4G modem running. It is
build in the laptop.

#lsusb | grep -i huawei
Bus 003 Device 002: ID 12d1:15bb Huawei Technologies Co., Ltd. ME936
LTE/HSDPA+ 4G modem

#lspci | grep -i huawei
   - nothing -

#dmesg | grep -i huawei
[0.869910] usbcore: registered new interface driver huawei_cdc_ncm
[1.960760] usb 3-4: Product: HUAWEI Mobile Broadband Module
[1.962533] usb 3-4: Manufacturer: Huawei Technologies Co., Ltd.

#ifconfig -a
lo: flags=73  mtu 65536
  inet 127.0.0.1  netmask 255.0.0.0
  inet6 ::1  prefixlen 128  scopeid 0x10
  loop  txqueuelen 1000  (Lokale Schleife)
  RX packets 2096  bytes 167808 (163.8 KiB)
  RX errors 0  dropped 0  overruns 0  frame 0
  TX packets 2096  bytes 167808 (163.8 KiB)
  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sit0: flags=128  mtu 1480
  sit  txqueuelen 1000  (IPv6-nach-IPv4)
  RX packets 0  bytes 0 (0.0 B)
  RX errors 0  dropped 0  overruns 0  frame 0
  TX packets 0  bytes 0 (0.0 B)
  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163  mtu 1500
  [... some info about my wifi ...]

wwp0s20f0u4c2: flags=4098  mtu 1500
  ether 02:2c:80:13:92:63  txqueuelen 1000  (Ethernet)
  RX packets 0  bytes 0 (0.0 B)
  RX errors 0  dropped 0  overruns 0  frame 0
  TX packets 0  bytes 0 (0.0 B)
  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


ofono is set as a use flag

I am using net-wireless/iw-5.9 for 
https://techship.com/faq/how-to-activate-the-data-connection-for-huawei-cellular-modules-over-the-usb-network-interface-in-linux/

my wifi and as far as I understand

this should be working with a modem as well.

net-dialup/ppp-2.4.9-r8 is installed. smstools are not. Would I need
them for data transfer?

I didn't find a guid at the gentoo wiki. Where could I find something?
Am I missing something obvious?

Thanks for the help.



Did you check out the generic guide[1] for USB WWAN modems? It looks pretty 
consistent from when I set up a Gobi 3G card years ago. I got lazy and use 
tethering.

This FAQ[2] walks you through a manual configuration of a Huawei WWWAN to test 
the concept.

You will need to know you SIM PIN if used and certainly your APN for your Cell 
Provider.

That ww* interface is auto-created and can be used with different 
configuration/managnement tools[3].

Good Luck!

[1] https://wiki.gentoo.org/wiki/USB_mobile_broadband_modem

[2] 
https://techship.com/faq/how-to-activate-the-data-connection-for-huawei-cellular-modules-over-the-usb-network-interface-in-linux/

[3] 
https://unix.stackexchange.com/questions/159086/difference-between-ppp0-vs-wwan0




Thanks for this.

The wiki [1] showed I am missing
<*>   USB driver for GSM and CDMA modems

So now there are /dev/ttyUSB0 to /dev/ttyUSB3

Does this mean I don't need the mode_switching stuff, since the modem is 
already there?


Also usb_modeswitch is in portage. This is not mentioned in the wiki. 
Might this part be outdated?


/etc/wvdial.conf
[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone = 
ISDN = 0
; Username = 
Init1 = ATZ
; Password = 
Modem = /dev/ttyUSB0
Baud = 9600

Does it matter it says "Analog Modem"?

Does using wvdial result in no need to use minicom like mentioned in [2]?



[gentoo-user] Trying to get my ME936 LTE/HSDPA+ 4G modem running

2023-03-08 Thread hitachi303

Hello everyone,

I am trying to get my Huawei ME936 LTE/HSDPA+ 4G modem running. It is 
build in the laptop.


#lsusb | grep -i huawei
Bus 003 Device 002: ID 12d1:15bb Huawei Technologies Co., Ltd. ME936 
LTE/HSDPA+ 4G modem


#lspci | grep -i huawei
 - nothing -

#dmesg | grep -i huawei
[0.869910] usbcore: registered new interface driver huawei_cdc_ncm
[1.960760] usb 3-4: Product: HUAWEI Mobile Broadband Module
[1.962533] usb 3-4: Manufacturer: Huawei Technologies Co., Ltd.

#ifconfig -a
lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Lokale Schleife)
RX packets 2096  bytes 167808 (163.8 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 2096  bytes 167808 (163.8 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sit0: flags=128  mtu 1480
sit  txqueuelen 1000  (IPv6-nach-IPv4)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163  mtu 1500
[... some info about my wifi ...]

wwp0s20f0u4c2: flags=4098  mtu 1500
ether 02:2c:80:13:92:63  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


ofono is set as a use flag

I am using net-wireless/iw-5.9 for my wifi and as far as I understand 
this should be working with a modem as well.


net-dialup/ppp-2.4.9-r8 is installed. smstools are not. Would I need 
them for data transfer?


I didn't find a guid at the gentoo wiki. Where could I find something? 
Am I missing something obvious?


Thanks for the help.



[gentoo-user] nextcloud or owncloud and qt5 or rclone

2023-01-26 Thread hitachi303

Hi,

so until now I am running my box without qt5. Compiling takes so long.

But I am missing a client for owncloud or nextcloud. So I see 
nextcloud-cliend does not run without qt5. It does not need webengine 
but still. So I see as alternativ there is rclone. From the size of the 
download it seems to be even bigger.


Does anyone have experience with rclone? Or is there a third 
alternative? (except the using the web interface with firefox or 
anything like this.)


Regards

hitachi303



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

2022-11-11 Thread hitachi303

Am 11.11.22 um 07:25 schrieb Dale:

I been stuck on gentoo-sources 5.14.15 for a while.  I tried upgrading
to I think 5.16 and then more recently 5.18.  I upgraded like I always
do, copy .config over and run make oldconfig.  Once I get everything in
/boot, init thingy and all, I update grub.  When I get around to
rebooting, the new kernels always fail part way through booting.  I
can't recall the error since I last tried a newer kernel several months
ago.


Do you follow the guide on gentoo wiki?

https://wiki.gentoo.org/wiki/Kernel/Upgrade

I don't know why but building and installing is not in this article. For 
that I do follow this one (there is a link from kernel upgrade to this 
on, but it is kind of hidden)


https://wiki.gentoo.org/wiki/Kernel/Configuration#Build



[gentoo-user] pulseaudio - pipewire

2022-08-03 Thread hitachi303

Hi,

so there is a eselect news "2022-07-29-pipewire-sound-server" telling 
that changes have been made.


I care about having sound but don't care to much about how it is 
working. Any suggestions which path will lead me to the goal of having 
the least trouble in future?
Like is pulseaudio going to disappear so I will have do switch anyway? 
Is pipewire that new that it'll be buggy for the years to come?


Regards



[gentoo-user] Is there a way to sync with next/owncloud without using the next/owncloud-client?

2022-06-04 Thread hitachi303



Hi,

I am running without qt5. In my eyes it takes for ever to compile and 
mostly I am fine without it, so loosing vlc is hard - well mplayer remains.


I was wondering if there is a way to sync to nextcloud / owncloud 
(idealy to selected folders) without using qt5. The clients do have it 
as dependency. I would even be fine without a gui. Command line would be 
enough.
I know I can up- and download using firefox or any other browser but 
this is not what I am looking for.


Sincerely



Re: [gentoo-user] why do I need cargo to make an initramfs?

2022-05-16 Thread hitachi303

Am 14.05.22 um 15:28 schrieb Neil Bothwick:

Neil Bothwick

I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last week.
Time to die.


So great. Time to watch Blade Runner again!



Re: [gentoo-user] emerge -DuN @system vs. emerge -DuN @world

2022-03-21 Thread hitachi303



Am 21.03.22 um 13:34 schrieb Neil Bothwick:

On Mon, 21 Mar 2022 10:43:30 +0100, hitachi303 wrote:


as far as I understand updating @system first should be safer and
easier to perform than updating @world directly. It was mention that
especially after updating the software after a somewhat long period
this might solve conflicts. I often do experience different and wonder
what the reason might be.

The example today would work in both ways but @system shows problems
which @world does not have. Mostly those problems seem to be bigger to
the point where @system does not work but @world does or manual package
by package uninstalling and or emerging is required.


Emerging @world considers the whole dependency tree, so it should give
better results. Emerging @system first is only recommended in cases where
@world fails due to dependency issues, particularly circular dependencies.



That is what I learnd but my experience is that @system has often more 
dependency issues than @world.


Your signature is always a reason to read your emails even when the 
subject is not appealing.

.



[gentoo-user] emerge -DuN @system vs. emerge -DuN @world

2022-03-21 Thread hitachi303

Hi,

as far as I understand updating @system first should be safer and easier 
to perform than updating @world directly. It was mention that especially 
after updating the software after a somewhat long period this might 
solve conflicts. I often do experience different and wonder what the 
reason might be.


The example today would work in both ways but @system shows problems 
which @world does not have. Mostly those problems seem to be bigger to 
the point where @system does not work but @world does or manual package 
by package uninstalling and or emerging is required.


Normally I run emerge -Dua --reinstall changed-use @world but N fits 
better in the subject line.


Anyway just an observation.

Regards





emerge -DupN @system

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

Calculating dependencies  ... done!
[ebuild U  ] sys-libs/glibc-2.33-r13:2.2::gentoo 
[2.33-r7:2.2::gentoo] USE="multiarch (multilib) ssp (static-libs) -audit 
-caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -gd 
-headers-only -multilib-bootstrap -nscd -profile (-selinux) -st

atic-pie -suid -systemd -systemtap -test (-vanilla)" 0 KiB
[ebuild U  ] sys-apps/gentoo-functions-0.15::gentoo [0.14::gentoo] 0 KiB
[ebuild U  ] sys-devel/llvm-common-13.0.1::gentoo [13.0.0::gentoo] 
142.335 KiB

[ebuild U  ] sys-apps/hwdata-0.354::gentoo [0.353::gentoo] 2.161 KiB
[ebuild U  ] app-text/poppler-data-0.4.11::gentoo [0.4.10::gentoo] 
4.392 KiB
[ebuild U  ] sys-libs/timezone-data-2021e::gentoo [2021a-r1::gentoo] 
USE="nls -leaps-timezone -zic-slim" 680 KiB
[ebuild U  ] dev-libs/libpipeline-1.5.5::gentoo [1.5.4::gentoo] 
USE="-test" 934 KiB
[ebuild U  ] app-arch/zstd-1.5.2:0/1::gentoo [1.5.0:0/1::gentoo] 
USE="threads -lz4 -static-libs" ABI_X86="(64) -32 (-x32)" 1.906 KiB
[ebuild U  ] sys-libs/libseccomp-2.5.3::gentoo [2.5.1-r1::gentoo] 
USE="-python -static-libs -test%" ABI_X86="(64) -32 (-x32)" 
PYTHON_TARGETS="python3_9 -python3_8 -python3_10%" 623 KiB
[ebuild   R] sys-apps/sysvinit-2.99-r1::gentoo  USE="(-ibm) 
(-selinux) -static" KERNEL="(-FreeBSD%)" 0 KiB
[ebuild U  ] sys-kernel/installkernel-gentoo-5::gentoo [3::gentoo] 
USE="-grub%" 3 KiB
[ebuild   R] virtual/libcrypt-2:0/2::gentoo  USE="-static-libs" 
ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild U  ] sys-libs/libxcrypt-4.4.27:0/1::gentoo 
[4.4.25-r1:0/1::gentoo] USE="(compat) (split-usr) (system) -static-libs 
-test" ABI_X86="32* (64) (-x32)" 605 KiB
[ebuild U  ] dev-libs/openssl-1.1.1n:0/1.1::gentoo 
[1.1.1l-r1:0/1.1::gentoo] USE="asm -rfc3779 -sctp -sslv3 -static-libs 
-test -tls-compression -tls-heartbeat -vanilla -verify-sig%" 
ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 9.620 KiB
[ebuild U  ] app-text/qpdf-10.5.0:0/28::gentoo [10.4.0:0/28::gentoo] 
USE="ssl -doc% -examples -gnutls% -test" 17.933 KiB
[ebuild U  ] dev-perl/Try-Tiny-0.310.0::gentoo [0.300.0-r1::gentoo] 
USE="-minimal -test" 35 KiB
[ebuild U  ] dev-perl/URI-5.100.0::gentoo [5.90.0::gentoo] 
USE="-test" 107 KiB
[ebuild U  ] dev-perl/libwww-perl-6.600.0-r1::gentoo 
[6.550.0::gentoo] USE="ssl -test" 175 KiB
[ebuild U  ] sys-libs/libcap-2.63::gentoo [2.62::gentoo] USE="pam 
(split-usr) -static-libs -tools" ABI_X86="(64) -32 (-x32)" 171 KiB
[ebuild U  ] dev-libs/libxml2-2.9.13-r1:2::gentoo 
[2.9.12-r5:2::gentoo] USE="icu python readline -debug -examples -lzma 
-static-libs -test (-ipv6%*) (-verify-sig%)" ABI_X86="(64) -32 (-x32)" 
PYTHON_TARGETS="python3_9 -python3_8 -python3_10" 3.168 KiB
[ebuild U  ] sys-apps/util-linux-2.37.4::gentoo [2.37.3-r1::gentoo] 
USE="cramfs hardlink logger ncurses nls pam readline (split-usr) su suid 
udev (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic 
-python (-rtas) (-selinux) -slang -static-libs -systemd -test 
-tty-helpers" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 
-python3_8 -python3_10" 5.971 KiB
[ebuild U  ] dev-libs/expat-2.4.7::gentoo [2.4.4::gentoo] 
USE="unicode -examples -static-libs" ABI_X86="(64) -32 (-x32)" 444 KiB
[ebuild U  ] dev-python/tomli-2.0.1::gentoo [2.0.0::gentoo] 
USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) -python3_8 -python3_10" 
144 KiB
[ebuild U  ] x11-libs/libICE-1.0.10-r1::gentoo [1.0.10::gentoo] 
USE="ipv6" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild U  ] net-libs/gnutls-3.7.3-r1:0/30::gentoo 
[3.7.2:0/30::gentoo] USE="cxx idn nls openssl seccomp tls-heartbeat 
-dane -doc -examples -guile -pkcs11 -sslv2 -sslv3 -static-libs -test 
(-test-full) -tools -valgrind" ABI_X86="(64) -32 (-x32)" 5.976 KiB
[ebuild U  ] x11-libs/libXdmcp-1.1.3-r1::gentoo [1.1.3::gentoo] 
USE="-doc" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild U  ] sys-libs/binutils-libs-2.37_p1-r2:0/2.37::gentoo 
[2.37_p1:0/2.37::gentoo] USE="nls -64-bit-bfd (-cet) -multitarget 
-static-libs" ABI_X86="(64) -32 (-x32)" 32 KiB
[ebuild U  ] dev-libs/libxslt-1.1.35::gentoo [1.1.34-r2::gentoo] 
USE="crypt -debug -examples -static-libs (-verify-sig%)" ABI_X8

Re: [gentoo-user] Options for "emerge"

2022-02-21 Thread hitachi303



Am 22.02.2022 um 06:27 schrieb Andreas Fink:

On Mon, 21 Feb 2022 22:26:30 +0100
hitachi303  wrote:




emerge -av --depclean 

emerge -a --depclean --with-bdeps=n

only then when there are as few programs installed as possible I run
emerge --sync

emerge -Dua --reinstall changed-use @world

I think what you really are doing can be simplified by:
emerge -auvDN @system
emerge -auvDN @world

Once @system is updated it is much simpler to get @world to update too.
Maybe you have to help with a couple of `--exclude ATOM` when updating
world.


From time to time I ran into trouble with @system where emerge couldn't 
resolve blocks but using @world did not have this problems and went fine.




Re: [gentoo-user] Options for "emerge"

2022-02-21 Thread hitachi303

Am 21.02.2022 um 22:48 schrieb Neil Bothwick:

On Mon, 21 Feb 2022 22:26:30 +0100, hitachi303 wrote:


When running an update after a long long time my approach is as follows:

emerge -av --depclean 


You don't need to unmerge them, just add --exclude "firefox thunderbird
etc" to your emerge command.


I have never used --exclude before. I'll try it out soon. I unmerge them 
so that in the next step --depclean --with-bdeps=n will also get rid of 
all dependencies and build-time dependencies.




emerge -a --depclean --with-bdeps=n

only then when there are as few programs installed as possible I run
emerge --sync

emerge -Dua --reinstall changed-use @world


If it's been a while, it may be easier to update @system first.


Most likely the first steps will be eselect news read and emerge -a1 portage
I have never been to lucky with @system. Often I do have more problems 
to update @system than to update @world. Sometimes I think that @system 
contains atoms which do not belong there. Might be a feeling and I never 
looked into it.



maybe I have to deal with trouble here

dispatch-conf

emerge -a --depclean --with-bdeps=y
--with-bdeps=y shouldn`t do anything

revdep-rebuild -i -- --ask

glsa-check -t all


You can run this straight after syncing, it may mean you want to update
affected programs before doing the rest of @world.


Your suggestion seems to be a better way. I'll change that.


Maybe there is a better way or I've missed some new ways of updating.








Re: [gentoo-user] Options for "emerge"

2022-02-21 Thread hitachi303



Am 20.02.22 um 16:18 schrieb Wols Lists:

On 20/02/2022 14:54, Arve Barsnes wrote:
On Sun, 20 Feb 2022 at 15:40, Dr Rainer 
Woitok  wrote:

But if I understand the "emerge" manual page correctly, "--changed-deps"
causes a rebuild of a package,  if one of its  dependencies has been re-
build, even though the package does not require the newer version of the
dependency.  So does it really make sense  to have this option hardcoded
in a script?   Or does it just cause  plenty of package rebuilds without
any real effect?  Likewise, what about "--deep"?  Should I keep it?

"--deep" seems like a good idea, to minimise the chance of trouble,
but "--changed-deps" does indeed seem excessive.

I also have "--oneshot" in my updates, although I'm not sure if this
actually makes a difference on a world update.


Oneshot just stops stuff being added by default to the world file, so on 
an update it'll have no effect whatsoever.


I also have "--backtrack=100" to minimise the risk of portage not
being able to find an upgrade path for some troublesome package. Just
as "--deep" it will add to the time portage needs to calculate what
packages to update, but it feels like I've had less instances of
upgrade path troubles since adding it to my regular world update
command.


:-) yes it seems most of my problems get solved by increasing backtrack 
so maybe I ought to do that too ...


What I'd also like is an option --dont-stop. Similar to keep-going, it 
would kick in earlier. Keep-going only kicks in once the real emerge is 
running. What I would like with dont-stop is if the dependency 
calculation gives up, it would start emerging whatever it's found so 
far. I've found when things really go pear-shaped updating a system for 
the first time in yonks, looking at and updating what's updateable 
enables the next attempt to get a little further, etc etc, until 
suddenly everything updates.


So basically, dont-stop would update everything it can.

Cheers,
Wol


When running an update after a long long time my approach is as follows:

emerge -av --depclean Stuff like firefox, thunderbird, etc.>


emerge -a --depclean --with-bdeps=n

only then when there are as few programs installed as possible I run
emerge --sync

emerge -Dua --reinstall changed-use @world

maybe I have to deal with trouble here

dispatch-conf

emerge -a --depclean --with-bdeps=y
--with-bdeps=y shouldn`t do anything

revdep-rebuild -i -- --ask

glsa-check -t all

Maybe there is a better way or I've missed some new ways of updating.

Regards



Re: [gentoo-user] What is the difference between emerge's --changed-deps=y and @changed-deps?

2022-01-10 Thread hitachi303



Am 10.01.22 um 01:59 schrieb Morgan Wesström:

On a freshly updated system (emerge -uDN @world):

"emerge @changed-deps" wants to reinstall 0 packages.

"emerge -u --changed-deps=y" wants to reinstall 24 packages.

"emerge -uD --changed-deps=y" wants to reinstall 181 packages.

A couple of years ago there was a build breakage in Portage because, as 
I understood it at the time, some developer changed the dependencies in 
an existing ebuild without bumping its revision level. The solution was 
to use --changed-deps=y to catch these occurrences and I've been using 
it in my regular update routine since then. But as you can see in the 
third example above, it usually wants to reinstall hundreds of packages 
that doesn't have any updated versions and I'm wondering if this is 
working as intended. I have a hard time believing that gentoo devs are 
pushing changes to existing ebuilds in such numbers on a regular basis 
without bumping the revision level.


Some time ago I became aware that Portage now has a @changed-deps set, 
which I assumed was accomplishing the same thing, but it doesn't produce 
the same result as --changed-deps=y - usually just a dozen reinstalls or 
so.


Can someone please elaborate on what's going on here, what the 
difference is between --changed-deps=y and @changed-deps, if that 
difference is intended and what the recommended update procedure is 
these days to catch these and other kinds of inconsistencies in Portage?


Regards
Morgan



On my system most of this is related to build time dependencies.

#emerge -Duav --reinstall changed-use --changed-deps=y --with-bdeps=n @world
Total: 10 packages (10 reinstalls)

#emerge -Duav --reinstall changed-use --changed-deps=y --with-bdeps=y @world
Total: 131 packages (131 reinstalls)



Re: [gentoo-user] What is the difference between emerge's --changed-deps=y and @changed-deps?

2022-01-10 Thread hitachi303



Am 10.01.22 um 07:44 schrieb Lee K:

On Mon, Jan 10, 2022 at 01:59:13AM +0100, Morgan Wesström wrote:

On a freshly updated system (emerge -uDN @world):

"emerge @changed-deps" wants to reinstall 0 packages.

"emerge -u --changed-deps=y" wants to reinstall 24 packages.

"emerge -uD --changed-deps=y" wants to reinstall 181 packages.

A couple of years ago there was a build breakage in Portage because, as I
understood it at the time, some developer changed the dependencies in an
existing ebuild without bumping its revision level. The solution was to use
--changed-deps=y to catch these occurrences and I've been using it in my
regular update routine since then. But as you can see in the third example
above, it usually wants to reinstall hundreds of packages that doesn't have any
updated versions and I'm wondering if this is working as intended. I have a
hard time believing that gentoo devs are pushing changes to existing ebuilds in
such numbers on a regular basis without bumping the revision level.

Some time ago I became aware that Portage now has a @changed-deps set, which I
assumed was accomplishing the same thing, but it doesn't produce the same
result as --changed-deps=y - usually just a dozen reinstalls or so.

Can someone please elaborate on what's going on here, what the difference is
between --changed-deps=y and @changed-deps, if that difference is intended and
what the recommended update procedure is these days to catch these and other
kinds of inconsistencies in Portage?

Regards
Morgan


Don't know if it's relevant or not but recently upstream deprecated the
"KERNEL" USE flag, resulting in many rebuilds for packages.



I don't think so. "N" should have taken care of this.

from the man:
--newuse, -N Tells emerge to include installed packages where USE flags 
have changed since compilation. [...]




[gentoo-user] [ebuild R ] for USERLAND="(-GNU%*)" ELIBC="(-FreeBSD%)" and KERNEL="(-linux%)"

2022-01-06 Thread hitachi303



When running my updates for some days I have received numerous rebuilds. 
Have I missed some changes in the handling of use flags? I think those 
are related to use flags, are they? Do I have to set them somewhere?

https://packages.gentoo.org/useflags/kernel_linux
https://packages.gentoo.org/useflags/userland_GNU
https://packages.gentoo.org/useflags/elibc_FreeBSD

Today's example is below.


#emerge -Duav --reinstall changed-use @world

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

Calculating dependencies... done!
[ebuild   R] sys-apps/util-linux-2.37.2-r1::gentoo  USE="cramfs 
hardlink logger ncurses nls pam readline (split-usr) suid udev (unicode) 
-audit -build -caps -cryptsetup -fdformat -kill -magic -python (-rtas) 
(-selinux) -slang -static-libs -su -systemd -test -tty-helpers" 
ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 -python3_8" 
USERLAND="(-GNU%*)" 0 KiB
[ebuild   R] app-arch/tar-1.34::gentoo  USE="acl nls xattr -minimal 
(-selinux)" USERLAND="(-GNU%*)" 0 KiB


Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]



Re: [gentoo-user] Determine why Python 2.7 is still installed?

2021-02-27 Thread hitachi303

Am 27.02.2021 um 14:08 schrieb Grant Edwards:

On one of my Gentoo machines Python 2.7 has not been removed by
deplcean as it has on others, and I've been unable to determine
why. It's not in the world file, and 'equery d python' doesn't show
anything depending on 2.7. I have no python targets specified in
make.conf nor in any package use flag settings.

How do you determine why portage thinks a certain slot of a package
is required? None of the documentation I an find on portage discusses
finding packages dependent on particular slots.



Have you tried #emerge -av --depclean = ?




Re: [gentoo-user] Re: What is the best way forward?

2021-02-25 Thread hitachi303

Am 25.02.2021 um 17:13 schrieb Andreas Fink:

On Thu, 25 Feb 2021 15:15:55 - (UTC)
Grant Edwards  wrote:


On 2021-02-25, hitachi303  wrote:


I found it to be helpful to de-install as many programs as possible
before starting the update and the first emerge --sync. This reduces the
amount of conflicts by a considerable amount.


Yes, Definitely. If you can, uninstall anything "big" that you can
live without temporarily: LibreOffice, Chromium, Qt, KDE, X11, Gnome,
Cups, etc.

Leave portage, sshd, Python, your init system, and GCC.


Stuff like libreoffice or thunderbird and so on and all of their
dependencies. Everything your system does not need to run but what
you need to be productive when you use your system. I use -av
--depclean for this.





Can't you, instead of uninstalling anything big, just start with the
system set for the upgrade?
emerge -auvDN @system

Once the system set is updated you can assume of being in a rather sane
state, where a world upgrade should just work(TM).



In theory this should work. My experience is that it does not. I have 
had a couple of time when I couldn't do an emerge -auvDN @system because 
of blocks but when trying to do a emerge -auvDN @world portage could 
solve the issue with the blocks.




Re: [gentoo-user] What is the best way forward?

2021-02-25 Thread hitachi303

Am 25.02.2021 um 02:43 schrieb Grant Taylor:
I need to update a system that hasn't been updated in 337 days (March 
24th 2020.  --  Life has been ... trying.


What is the best way forward?

It seems as if there have been a lot of changes in the interim; glibc, 
Python 2.7 being deprecated, default Python going to 3.7(?), other 
breaking changes


Is there a way that I can sync portage to something from April, May, or 
even June of 2020, do a full update (including "-DUNe @world")? 
Iterating through multiple rounds to get current?


Any help would be appreciated.





I found it to be helpful to de-install as many programs as possible 
before starting the update and the first emerge --sync. This reduces the 
amount of conflicts by a considerable amount. Stuff like libreoffice or 
thunderbird and so on and all of their dependencies. Everything your 
system does not need to run but what you need to be productive when you 
use your system. I use -av --depclean for this.


Also there is something in the gentoo wiki about upgrading old or too 
old systems.


https://wiki.gentoo.org/wiki/Upgrading_Gentoo#Upgrading_from_older_systems





Re: [gentoo-user] ruby and package.use

2021-02-11 Thread hitachi303

Am 10.02.2021 um 10:06 schrieb Stefan Schmiedl:

"Neil Bothwick" , 10.02.2021, 09:52:


On Wed, 10 Feb 2021 16:45:15 +1100, Adam Carter wrote:



It seems like ruby regularly wants to stuff ruby_targets_rebyNN entries
into package.use on my machines - is this normal?



Now that ruby3 is out it wants to add a bunch of ruby_targets_ruby30
entries to the ruby_targets_ruby27 crud that's already there.



Same here. When this happens, I delete /etc/portage/package.use/ruby and
let portage create a fresh one.



It's still a mess, just a slightly cleaner and up to date mess.


When a bunch of these pop up, I usually add that ruby version
to RUBY_TARGETS in /etc/portage/make.conf and restart the emerge.

s.


This mostly works for me as well. Some weeks later I # the entry and see 
what happens. If not needed anymore I delete it.





Re: [gentoo-user] eselect news read new

2020-12-08 Thread hitachi303

Am 08.12.2020 um 14:41 schrieb Dr Rainer Woitok:

Greetings,

running the command

eselect news read new

always returns "No news is good news" regarless of whether I run it from
my own account or from "root".  And running

eselect news list

currently lists 17 news items,  none of which is flagged "N" even though
I cannot remember  having read them all.   Maybe, my brain slowly starts
failing,  but where  is the "brain"  of "eselect"?   Where does it store
what's already read?

Sincerely,
   Rainer



You can read old news, too.

#eselect news read [no from list]



Re: [gentoo-user]

2020-08-17 Thread hitachi303

Am 17.08.2020 um 14:11 schrieb Dale:
Many years ago, before I used Gentoo, it was claimed, and likely true, 
that Govt types were reading our emails looking for key words.  Well, as 
a joke some of us gave them something to read.  We put all the keywords 
in emails with white letters and a white background.  A person reading 
our emails wouldn't see it but it was there, triggering those Govt types 
into crazy land.  It was like a signature but invisible.  This was 
before Facebook or even myspace if I recall correctly.


Where would I get a list with keywords the gov would look for? :-)



Re: [gentoo-user] Is Gentoo dead?

2020-05-07 Thread hitachi303

Am 07.05.2020 um 05:39 schrieb Dale:
Well, it is about Gentoo and the perception someone had that Gentoo is 
dying, which has been claimed for many, many years now.



Personally I like this graphic about gentoo being extinct.

https://linuxfiend.wordpress.com/2009/12/05/is-gentoo-dying/



Re: [gentoo-user] which linux RAID setup to choose?

2020-05-04 Thread hitachi303

Am 04.05.2020 um 02:46 schrieb Rich Freeman:

On Sun, May 3, 2020 at 6:50 PM hitachi303
 wrote:


The only person I know who is running a really huge raid ( I guess 2000+
drives) is comfortable with some spare drives. His raid did fail an can
fail. Data will be lost. Everything important has to be stored at a
secondary location. But they are using the raid to store data for some
days or weeks when a server is calculating stuff. If the raid fails they
have to restart the program for the calculation.


So, if you have thousands of drives, you really shouldn't be using a
conventional RAID solution.  Now, if you're just using RAID to refer
to any technology that stores data redundantly that is one thing.
However, if you wanted to stick 2000 drives into a single host using
something like mdadm/zfs, or heaven forbid a bazillion LSI HBAs with
some kind of hacked-up solution for PCIe port replication plus SATA
bus multipliers/etc, you're probably doing it wrong.  (Really even
with mdadm/zfs you probably still need some kind of terribly
non-optimal solution for attaching all those drives to a single host.)

At that scale you really should be using a distributed filesystem.  Or
you could use some application-level solution that accomplishes the
same thing on top of a bunch of more modest hosts running zfs/etc (the
Backblaze solution at least in the past).

The most mainstream FOSS solution at this scale is Ceph.  It achieves
redundancy at the host level.  That is, if you have it set up to
tolerate two failures then you can take two random hosts in the
cluster and smash their motherboards with a hammer in the middle of
operation, and the cluster will keep on working and quickly restore
its redundancy.  Each host can have multiple drives, and losing any or
all of the drives within a single host counts as a single failure.
You can even do clever stuff like tell it which hosts are attached to
which circuit breakers and then you could lose all the hosts on a
single power circuit at once and it would be fine.

This also has the benefit of covering you when one of your flakey
drives causes weird bus issues that affect other drives, or one host
crashes, and so on.  The redundancy is entirely at the host level so
you're protected against a much larger number of failure modes.

This sort of solution also performs much faster as data requests are
not CPU/NIC/HBA limited for any particular host.  The software is
obviously more complex, but the hardware can be simpler since if you
want to expand storage you just buy more servers and plug them into
the LAN, versus trying to figure out how to cram an extra dozen hard
drives into a single host with all kinds of port multiplier games.
You can also do maintenance and just reboot an entire host while the
cluster stays online as long as you aren't messing with them all at
once.

I've gone in this general direction because I was tired of having to
try to deal with massive cases, being limited to motherboards with 6
SATA ports, adding LSI HBAs that require an 8x slot and often
conflicts with using an NVMe, and so on.



So you are right. This is the way they do it. I used the term raid to 
broadly.
But still they have problems with limitations. Size of room, what air 
conditioning can handle and stuff like this.


Anyway I only wanted to point out that there are different approaches in 
the industries and saving the data at any price is not always necessary.





Re: [gentoo-user] which linux RAID setup to choose?

2020-05-04 Thread hitachi303

Am 04.05.2020 um 02:29 schrieb Caveman Al Toraboran:

Facebook used to store data which is sometimes accessed on raids. Since
they use energy they stored data which is nearly never accessed on blue
ray disks. I don't know if they still do. Reading is very slow if a
mechanical arm first needs to fetch a specific blue ray out of hundreds
and put in a disk reader but it is very energy efficient.

interesting.


A video from 2014
https://www.facebook.com/Engineering/videos/10152128660097200/




Re: [gentoo-user] which linux RAID setup to choose?

2020-05-03 Thread hitachi303

Am 03.05.2020 um 23:46 schrieb Caveman Al Toraboran:

so, in summary:

  /\
  | a 5-disk RAID10 is better than a 6-disk RAID10 |
  | ONLY IF your data is WORTH LESS than 3,524.3   |
  | bucks. |
  \/

any thoughts?  i'm a newbie.  i wonder how
industry people think?



Don't forget that having more drives increases the odds of a failing 
drive. If you have infinite drives at any given moment infinite drives 
will fail. Anyway I wouldn't know how to calculate this.


Most people are limited by money and space. Even if this isn't your 
problem you will always need an additional backup strategy. The hole 
system can fail.
I run a system with 8 drives where two can fail and they can be hot 
swoped. This is a closed source SAS which I really like except the part 
being closed source. I don't even know what kind of raid is used.


The only person I know who is running a really huge raid ( I guess 2000+ 
drives) is comfortable with some spare drives. His raid did fail an can 
fail. Data will be lost. Everything important has to be stored at a 
secondary location. But they are using the raid to store data for some 
days or weeks when a server is calculating stuff. If the raid fails they 
have to restart the program for the calculation.


Facebook used to store data which is sometimes accessed on raids. Since 
they use energy they stored data which is nearly never accessed on blue 
ray disks. I don't know if they still do. Reading is very slow if a 
mechanical arm first needs to fetch a specific blue ray out of hundreds 
and put in a disk reader but it is very energy efficient.




Re: [gentoo-user] which linux RAID setup to choose?

2020-05-03 Thread hitachi303

Am 03.05.2020 um 07:44 schrieb Caveman Al Toraboran:

  * RAIDs 4 to 6: fails to satisfy point (3)
   since they are stuck with a fixed tolerance
   towards failing disks (i.e. RAIDs 4 and 5
   tolerate only 1 disk failure, and RAID 6
   tolerates only 2).


As far as I remember there can be spare drives / partitions which will 
replace a failed one if needed. But this does not help if drives / 
partitions fail at the same moment. Under normal conditions spares will 
rise the number of drives which can fail.


Nothing you asked but I had very bad experience with drives which spin 
down by themselves to save energy (mostly titled green or so).


Also there has been some talk about SMR
https://hardware.slashdot.org/story/20/04/19/0432229/storage-vendors-are-quietly-slipping-smr-disks-into-consumer-hard-drives



Re: [gentoo-user] X won't start after xorg-server update

2020-03-14 Thread hitachi303

Am 14.03.20 um 13:46 schrieb Neil Bothwick:

On Sat, 14 Mar 2020 13:38:06 +0100, hitachi303 wrote:


It seems that file is created/modified by the mesa ebuild.

I would try removing the file and re-emerging mesa to see if it is
created with the correct content.




# mv -vi -- /etc/X11/xorg.conf.d/20opengl.conf .
# emerge -av1 mesa

mesa doesn't generate the file. So now there is NO file but X does
start.


I take it you don't have USE=libglvnd for mesa?


Yes I do. Since I haven't defined it in my make.conf I guess it is 
defined by profile.


# emerge -pv mesa

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

# Calculating dependencies... done!
# [ebuild   R] media-libs/mesa-19.3.5::gentoo  USE="X classic dri3 
egl gallium gbm gles2 libglvnd llvm -d3d9 -debug -gles1 -lm-sensors 
-opencl -osmesa -pax_kernel (-selinux) -test -unwind -vaapi -valgrind 
-vdpau -vulkan -vulkan-overlay -wayland -xa -xvmc" ABI_X86="32 (64) 
(-x32)" VIDEO_CARDS="radeon (-freedreno) -i915 -i965 -intel -iris 
(-lima) -nouveau (-panfrost) -r100 -r200 -r300 -r600 -radeonsi (-vc4) 
-virgl (-vivante) -vmware" 0 KiB




Re: [gentoo-user] Re: X won't start after xorg-server update

2020-03-14 Thread hitachi303

Am 14.03.20 um 06:06 schrieb Jonathan Callen:

On 3/12/20 7:46 PM, Neil Bothwick wrote:

On Fri, 13 Mar 2020 00:31:23 +0100, hitachi303 wrote:


I do edit it every time X won't start. Then X does start. But
after updating and rebooting it has the old wrong line again.

You need to find out which ebuild is modifying it. Run "qlop -m" and
look for the package whose install time most closely matches the
modification time of the file. Then read the ebuild to see what is
going on. If an ebuild is setting this incorrectly, you may need to
file a bug report.


Since I did edit the file I cannot find a match. I will have to wait
until the problem occurs again.


It seems that file is created/modified by the mesa ebuild.

I would try removing the file and re-emerging mesa to see if it is
created with the correct content.




The file is created/modified by app-eselect/eselect-opengl.  If you have
USE=libglvnd enabled, eselect-opengl is no longer installed, but the
files it generated may remain.  In this case, it is safe to remove the
file if USE=libglvnd is enabled, and to regenerate the file by running
`eselect opengl set xorg` (or nvidia, ...) if USE=-libglvnd.

Jonathan Callen



app-eselect/eselect-opengl isn't installed. media-libs/mesa is installed 
with USE="X [...] libglvnd [...]" So know the file is removed.




Re: [gentoo-user] X won't start after xorg-server update

2020-03-14 Thread hitachi303

Am 13.03.20 um 00:46 schrieb Neil Bothwick:

On Fri, 13 Mar 2020 00:31:23 +0100, hitachi303 wrote:


I do edit it every time X won't start. Then X does start. But
after updating and rebooting it has the old wrong line again.

You need to find out which ebuild is modifying it. Run "qlop -m" and
look for the package whose install time most closely matches the
modification time of the file. Then read the ebuild to see what is
going on. If an ebuild is setting this incorrectly, you may need to
file a bug report.


Since I did edit the file I cannot find a match. I will have to wait
until the problem occurs again.


It seems that file is created/modified by the mesa ebuild.

I would try removing the file and re-emerging mesa to see if it is
created with the correct content.




# mv -vi -- /etc/X11/xorg.conf.d/20opengl.conf .
# emerge -av1 mesa

mesa doesn't generate the file. So now there is NO file but X does start.



Re: [gentoo-user] X won't start after xorg-server update

2020-03-12 Thread hitachi303

Am 12.03.2020 um 10:37 schrieb Neil Bothwick:

I do edit it every time X won't start. Then X does start. But
after updating and rebooting it has the old wrong line again.

You need to find out which ebuild is modifying it. Run "qlop -m" and look
for the package whose install time most closely matches the modification
time of the file. Then read the ebuild to see what is going on. If an
ebuild is setting this incorrectly, you may need to file a bug report.


Since I did edit the file I cannot find a match. I will have to wait 
until the problem occurs again.




Re: [gentoo-user] X won't start after xorg-server update

2020-03-12 Thread hitachi303

Am 12.03.20 um 09:26 schrieb Michael:

On Thursday, 12 March 2020 00:13:53 GMT Jack wrote:

On 2020.03.11 19:00, hitachi303 wrote:

Hi there,

so ever since using the amd64 17.1 profiles (which is not that long
for this PC) I have one problem. After updating xorg-server X won't
start.

/etc/X11/xorg.conf.d/20opengl.conf reads:
Section "Files"

 ModulePath "/usr/lib/xorg/modules"

EndSection


Did you edit this by hand for some reason?


I can't remember if I edited in the past but now I always add the 64.



This is the contents on two systems here, both with radeon cards:

$ cat /etc/X11/xorg.conf.d/20opengl.conf
Section "Files"
EndSection

No "ModulePath" there.



but the module is located at:
/usr/lib64/xorg/modules


Yes, this is the same here too.



I rarely restart the PC but it annoying anyway. I would be thankful
for any help.

Is the module in the right place and the config file is wrong or is
it the other way around?

Regards
Konstantin


I suspect lib64 is the correct location.  I would check whether
/etc/X11/xorg.conf.d/20opengl.conf is owned by any package or if it
might have been manually edited long ago.  I don't have that file
present, but that may well be a side effect of different graphics cards.

Jack


Checking on my PC:

# qfile /etc/X11/xorg.conf.d/20opengl.conf


Doesn't show anything.


#
# equery b /etc/X11/xorg.conf.d/20opengl.conf
  * Searching for /etc/X11/xorg.conf.d/20opengl.conf ...
#

Nothing seems to claim it.  Perhaps this is cruft left over from some older
package.  Not sure.  :-/






Re: [gentoo-user] X won't start after xorg-server update

2020-03-12 Thread hitachi303

Am 12.03.20 um 00:06 schrieb Dale:

hitachi303 wrote:

Hi there,

so ever since using the amd64 17.1 profiles (which is not that long
for this PC) I have one problem. After updating xorg-server X won't
start.

/etc/X11/xorg.conf.d/20opengl.conf reads:
Section "Files"
     ModulePath "/usr/lib/xorg/modules"
EndSection

but the module is located at:
/usr/lib64/xorg/modules

I rarely restart the PC but it annoying anyway. I would be thankful
for any help.

Is the module in the right place and the config file is wrong or is it
the other way around?

Regards

Konstantin





This may not be the problem but I ran into this a bit ago.  If you have
switched to elogind, make sure you start the service otherwise, X won't
start.  When I checked the logs, the problem wasn't obvious either.  I
just lucked up and noticed it wasn't running when it should be.  Again,
this may not help but just in case, thought I'd mention it.

Dale

:-)  :-)


rc-update show doesn't say anything about elogin but /etc/init.d/elogind 
start says start-stop-daemon: /lib64/elogind/elogind is already running




Re: [gentoo-user] X won't start after xorg-server update

2020-03-12 Thread hitachi303

Am 12.03.20 um 01:13 schrieb Jack:

On 2020.03.11 19:00, hitachi303 wrote:

Hi there,

so ever since using the amd64 17.1 profiles (which is not that long 
for this PC) I have one problem. After updating xorg-server X won't 
start.


/etc/X11/xorg.conf.d/20opengl.conf reads:
Section "Files"
    ModulePath "/usr/lib/xorg/modules"
EndSection

but the module is located at:
/usr/lib64/xorg/modules

I rarely restart the PC but it annoying anyway. I would be thankful 
for any help.


Is the module in the right place and the config file is wrong or is it 
the other way around?


Regards
Konstantin


I suspect lib64 is the correct location.  I would check whether  
/etc/X11/xorg.conf.d/20opengl.conf is owned by any package or if it 
might have been manually edited long ago.  I don't have that file 
present, but that may well be a side effect of different graphics cards.


Jack


So equery belongs --early-out /etc/X11/xorg.conf.d/20opengl.conf doesn't 
show anything but I am not sure this is the right way to search for the 
owner.
I do edit it every time X won't start. Then X does start. But after 
updating and rebooting it has the old wrong line again.

My make.conf has VIDEO_CARDS="radeon amdgpu" in it.

Konstantin



[gentoo-user] X won't start after xorg-server update

2020-03-11 Thread hitachi303

Hi there,

so ever since using the amd64 17.1 profiles (which is not that long for 
this PC) I have one problem. After updating xorg-server X won't start.


/etc/X11/xorg.conf.d/20opengl.conf reads:
Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection

but the module is located at:
/usr/lib64/xorg/modules

I rarely restart the PC but it annoying anyway. I would be thankful for 
any help.


Is the module in the right place and the config file is wrong or is it 
the other way around?


Regards

Konstantin



Re: [gentoo-user] Portage verification fails on games-action

2018-06-06 Thread hitachi303
Am 06.06.2018 um 10:23 schrieb Mick:
> Hi all,
> 
> Since portage-2.3.40 I have been getting verification failure for 
> games-action 
> on one PC only, which is sync'ed against my local mirror.  I've deleted /usr/
> portage/games-action on the PC with this problem and resync'ed afresh with 
> the 
> local mirror, but it still fails like so:
> 
> # eix-sync
>  * Running emerge --sync
 Syncing repository 'gentoo' into '/usr/portage'...
>  * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
>  * Refreshing keys from keyserver ... [ ok ]
 Starting rsync with rsync://10.10.10.2/gentoo-portage...
> [snip ...]
> 
> sent 27.82K bytes  received 4.21M bytes  1.21M bytes/sec
> total size is 213.02M  speedup is 50.32  
>  * Manifest timestamp: 2018-06-06 06:38:40 UTC   
>  * Valid OpenPGP signature found:
>  * - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D
>  * - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
>  * - timestamp: 2018-06-06 06:38:40 UTC  
>  * Verifying /usr/portage ...!!! Manifest verification failed:
> Manifest mismatch for games-arcade/Manifest.gz   
>   __exists__: expected: True, have: False
> q: Updating ebuild cache in /usr/portage ... 
> q: Finished 36924 entries in 0.300559 seconds *
> 
> Why is this happening on one box only and how should I fix it?

Hi,

Here is what I tryed:
"If you wish to disable it, you can disable the 'rsync-verify' USE flag
on sys-apps/portage
or set 'sync-rsync-verify-metamanifest = no' in your repos.conf."
The second option didn't work for me. Anyway I only did this because I
trust my own local mirror. I am sure there is a better way to do this.

Regards