Re: [gentoo-user] New installation - not booting

2023-12-05 Thread Peter Böhm
Am Dienstag, 5. Dezember 2023, 21:07:00 CET schrieb the...@sys-concept.com:
> On 12/5/23 12:35, Michael wrote:
> > On Tuesday, 5 December 2023 18:11:14 GMT the...@sys-concept.com wrote:
> >> On 12/5/23 10:16, Cara Salter wrote:
> >>> On 12/5/23 12:05, the...@sys-concept.com wrote:
>  It has been some time since I installed Gentoo.
>  After partitioning, and installing the system after reboot I get kernel
>  selection from grub and hitting enter, I don't see any text scrolling
>  on
>  the screen, and I don't see the login screen.
> 
>  I think I install grub in a wrong way.
>  When I mount "boot" content of /boot:
>  ls /boot/
>  EFI
> >>>
> >>> Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint
> >>> should be in /boot as is in your /etc/fstab.>
> >>>
>  When I unmount "boot" content of /boot:
>  ls /boot/
>  System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub
>  vmlinuz-6.1.57-gentoo
> >>
> >> The /efi directory was empty
> >> I moved /boot to /boot_backup crated /boot directory again
> >> mount /dev/nvme0n1p1 /boot
> >> run:
> >> grub-install --target=x86_64-efi --efi-directory=/boot
> >>
> >> installed kernel by running "make install" by default it install to boot
> >> ( I think). Change fstab from /eft to /boot:
> >> #/dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
> >> /dev/nvme0n1p1 /boot  vfat  noauto,noatime  1 2
> >> but now when system boot it can not find any kernel, it just display
> >> "grub"
> >> command on the screen
> >
> > Please read the necessary documentation:
> >
> > https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader
> >
> > Your boot partition is /dev/nvme0n1p1 and its mountpoint is /boot.  You
> > must create this partition with the appropriate EFI System type (in gdisk
> > use EF00).
> >
> > The /efi directory must be at the top of the /boot partition filesystem,
> > accessible via /boot/efi.
>
> I'm kind of confused at this point.
> Where the kernel files should be copied?  /boot or /efi directory
> - System.map-6.1.57-gentoo
> - config-6.1.57-gentoo
> - vmlinuz-6.1.57-gentoo
>
> In fstab I have:
> /dev/nvme0n1p1/efivfatnoauto,noatime
1 2
>
> If /efi is a boot partition I assume the kernel files should be there as
> well; but somehow it doesn't work.
>
> The link you provided instruct user to run:
> grub-mkconfig -o /boot/grub/grub.cfg
>
> When "/dev/nvme0n1p1 is mounted on /efi"
> shouldn't it be:
> grub-mkconfig -o /efi/grub/grub.cfg

No ... anything is alright here:

With grub-install --target=x86_64-efi --efi-directory=/efi you will installe the
first part of grub (grubx64.efi) INTO the ESP:
\efi\gentoo\grubx64.efi
<==>
/efi/efi/gentoo/grubx64.efi when you have mounted your ESP to /efi.
(see more with "efibootmgr)

With grub-mkconfig -o /boot/grub/grub.cfg you configure grub - residing IN /
boot/grub  = THIS is the second part of grub !!

Maybe read:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/
Boot_kernel_via_UEFI#Prerequisites_for_an_UEFI_boot

(only this chapter; not the next chapter, because it is a guide for installing
a stub kernel)







Re: [gentoo-user] New installation - not booting

2023-12-05 Thread Peter Böhm
Am Dienstag, 5. Dezember 2023, 20:35:11 CET schrieb Michael:
> On Tuesday, 5 December 2023 18:11:14 GMT the...@sys-concept.com wrote:
> > On 12/5/23 10:16, Cara Salter wrote:
> > > On 12/5/23 12:05, the...@sys-concept.com wrote:
> > >> It has been some time since I installed Gentoo.
> > >> After partitioning, and installing the system after reboot I get kernel
> > >> selection from grub and hitting enter, I don't see any text scrolling
> > >> on
> > >> the screen, and I don't see the login screen.
> > >>
> > >> I think I install grub in a wrong way.
> > >> When I mount "boot" content of /boot:
> > >> ls /boot/
> > >> EFI
> > >
> > > Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint
> > > should be in /boot as is in your /etc/fstab.>
> > >
> > >> When I unmount "boot" content of /boot:
> > >> ls /boot/
> > >> System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub
> > >> vmlinuz-6.1.57-gentoo
> >
> > The /efi directory was empty
> > I moved /boot to /boot_backup crated /boot directory again
> > mount /dev/nvme0n1p1 /boot
> > run:
> > grub-install --target=x86_64-efi --efi-directory=/boot
> >
> > installed kernel by running "make install" by default it install to boot (
> > I think). Change fstab from /eft to /boot:
> > #/dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
> > /dev/nvme0n1p1 /boot  vfat  noauto,noatime  1 2
> > but now when system boot it can not find any kernel, it just display
> > "grub"
> > command on the screen
>
> Please read the necessary documentation:
>
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader
>
> Your boot partition is /dev/nvme0n1p1 and its mountpoint is /boot.  You must
> create this partition with the appropriate EFI System type (in gdisk use
> EF00).
>
> The /efi directory must be at the top of the /boot partition filesystem,
> accessible via /boot/efi.

That is wrong.

The mountpoint for the ESP should be NOW /efi (therefore you see in our AMD64
handbook a "mkdir /efi").

/boot is the standard directory for the kernel ... and it is NOW an ordinary
directory of the root directory (so yes, the content of it resides in the root
partition). Dont mount anything to /boot. Yes, a "make install" (or genkernel)
installs the kernel into /boot.

If /etc/fstab should be: /dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
(IF this is your ESP)
After mounting this ESP to /efi (and no mount on /boot + kernel IN boot) you
should run: grub-install --target=x86_64-efi --efi-directory=/efi
AND a grub-mkconfig  ! (so this routine will find your kernel in /boot and add
it to the grub's config file; Yes your grub will be also in /boot/grub.










Re: [gentoo-user] New installation - not booting

2023-12-05 Thread Peter Böhm
Am Dienstag, 5. Dezember 2023, 18:05:56 CET schrieb the...@sys-concept.com:
> It has been some time since I installed Gentoo.
> After partitioning, and installing the system after reboot I get kernel
> selection from grub and hitting enter, I don't see any text scrolling on
> the screen, and I don't see the login screen.
>
> Is the text scroll disabled for booting or is my configuration incorrect?
>
> Here are some details:
> Partition:
> /dev/nvme0n1p1 204820991992097152 1G EFI System
> /dev/nvme0n1p2  2099200   104878078388608 4G Linux swap
> /dev/nvme0n1p3 10487808 1953523711 1943035904 926.5G Linux filesystem
>
> cat /etc/fstab
> /dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
> /dev/nvme0n1p2 none swap sw 0 0
> /dev/nvme0n1p3  / ext4 noatime 0 1
>
> /etc/default/grub:
> ...
> # Append parameters to the linux kernel command line for non-recovery
> entries #GRUB_CMDLINE_LINUX_DEFAULT=""
>
> To install grub, I run:
>   grub-install --target=x86_64-efi --efi-directory=/efi
>
> I think I install grub in a wrong way.
> When I mount "boot" content of /boot:
> ls /boot/
> EFI
>
> When I unmount "boot" content of /boot:
> ls /boot/
> System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub  vmlinuz-6.1.57-gentoo

Please read the first post of:

https://forums.gentoo.org/viewtopic-t-1165115.html

Kind regards,
Peter








Re: [gentoo-user] hardened vs desktop

2023-11-13 Thread Peter Böhm
Am Montag, 13. November 2023, 17:43:01 CET schrieb ralfconn:

> [...]  I suppose the added benefit of this new
> profile is that it will inherit the changes eventually done to the
> parent profiles by the gentoo developers, correct?

YES ! You surely know that some use-flags can also be set for individual
packages (and not globally; e.g. for some time this was true for use-flag
"wayland").

You will get all these now automatically with your combined profile.

Peter









Re: [gentoo-user] hardened vs desktop

2023-11-13 Thread Peter Böhm
Am Montag, 13. November 2023, 11:19:26 CET schrieb ralfconn:
> Hello,
>
> I've been running the desktop profile for years. Now I'm thinking to
> switch to the hardened. Since there is no 'hardened desktop' profile,
> the hint I found online is to note the current desktop USEs, switch to
> hardened and add the USEs not found there, but I wonder if it is really
> the best option. Comparing the two profiles, hardened seems a sub-set of
> desktop with the addition of:
>
> cet
> hardened
> pie
> ssp
> xtpax
>
> It seems to me easier to add these to the desktop rather the other way
> round. Any gotcha's I am missing?

Yes, you are missing that the best solution is: Make a new profile which
contains both profiles. See more here:

https://forums.gentoo.org/viewtopic-p-8694188.html#8694188

(And you have to start with a hardened stage3)

Many greetings,
Peter

P.S.: Maybe read also the first note from this article:

https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/
Kernel_Hardening_with_KSPP





Re: [gentoo-user] Re: 6.1.53-gentoo-r1 kernel not booting

2023-10-07 Thread Peter Böhm
Am Samstag, 7. Oktober 2023, 14:42:48 CEST schrieb Nuno Silva:

> I'm not sure it's fair to say it'll be easier in the webforum. [...]

I think everything has its advantages and disadvantages. I suggested the forum
because there are also some Gentoo developers active there. If a problem
requires several different experts (because I don't know everything either)
it's certainly faster and easier there than here. I would also like to
emphasize that it was only a suggestion.

> It is worth it mentioning the issue there, though, as somebody there who
> is not reading this list might know what is going on.

I am one of the moderators of the forum and therefore read every new thread

;-)







Re: [gentoo-user] 6.1.53-gentoo-r1 kernel not booting

2023-10-07 Thread Peter Böhm
Am Samstag, 7. Oktober 2023, 08:28:01 CEST schrieb Valmor de Almeida:

> -> mount /dev/nvme0n1p4 /mnt/gentoo
> mout: /mnt/gentoo: can't read superblock on /dev/nvme0n1p4.

Maybe we need to dig a little deeper. Maybe you are using LVM (or have an
encrypted root partition; or both).

> -> dmesg
>
> [snip]
> nvme nvme0: controller is down; will reset: 
> nvme nvme0: Does your device have a faulty power saving mode enabled?
> [snip]
> EXT4-fs (nvme0n1p4): unable to read superblock
>
> I am still able to boot with the old kernel 6-1-41-gentoo.
> Does this mean I may have a hardware problem with the NVMe drive?

I dont think you have a hardware problem because with 6.41 you have no
problems.

For me the following questions would arise:

a) How did you install the kernel 6.1.41 ? (genkernel; dist-kernel; manual
approach)
b) Did you make any kernel configuration changes in your 6.1.41 ?
c) Do you use a bootmanager ? (which ?; grub, refind ?)
d) How did you update to 6.1.53 ? (every step)

To better understand your system, I would look at the output of
"parted -l" (complete),
"dmesg" (complete),
"lspci -k" and
"emerge --info"
(after you have booted 6.1.41).

To clarify all this here via the mailing list might be difficult; therefore I
would suggest to create a thread in our Gentoo support forum:

https://forums.gentoo.org/

(I am there also; but we have also a lot of great experts there)

If you create a thread in our forum, then please use wgetpaste for big files:
https://wiki.gentoo.org/wiki/Wgetpaste

Greetings,
Peter







Re: [gentoo-user] 6.1.53-gentoo-r1 kernel not booting

2023-10-04 Thread Peter Böhm
Am Mittwoch, 4. Oktober 2023, 05:42:17 CEST schrieb Valmor F. de Almeida:

> -> cat /proc/cpuinfo
>
> processor   : 0
> vendor_id   : GenuineIntel
> cpu family  : 6
> model   : 158
> model name  : Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
> stepping: 9
> microcode   : 0x84

At the moment this is our actual microcode for Intel CPUs:

sys-firmware/intel-microcode-20230808_p20230804

If you look into:

https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/blob/main/
releasenote.md

You will see that version f4 is actual for your CPU (dec 6-158-9 is hex
6-9e-9) instead your version 84.

KBL-G/H/S/X/E3  B0  06-9e-09/2a 00f200f4
Core
Gen7; Xeon E3 v6

What you can always do:

1. Boot with our GentooMinimalCD (so you have the new/actual microcode active
on your CPU)
2. Chroot into your system (like you do with a new installation)
3. Re-emerge all packages with "emerge -e ..."

After this, if you boot your kernel-6.1.53-r1 you should have no problem.






Re: [gentoo-user] 6.1.53-gentoo-r1 kernel not booting

2023-10-02 Thread Peter Böhm
If your system is working with your old kernel I dont think it could be a
hardware problem. If your kernel config is the same then I dont think it is a
problem with the kernel.

My questions would be:

Which CPU do you use ? Have you emerged a new microcode for CPU ?

Example: Intel has disabled avx in some CPUs via microcode update. Now some
applications may throw an illegal instruction ... and your problem description
look like that only some programs have a problem. You could test it by
compiling your old kernel again ... you should have then the same problem with
it (of course you backup your old kernel before).

Regards,
Peter







Re: [gentoo-user] Invalid opcode after kernel update

2023-09-18 Thread Peter Böhm
Am Montag, 18. September 2023, 20:52:27 CEST schrieb Fernando Rodriguez:
> On 9/18/23 11:04, Fernando Rodriguez wrote:
> > On 9/17/23 18:03, Alan Mackenzie wrote:
> > I will try to run it on gdb to find out which instruction is triggering
> > the fault.
> >
> > Thanks,
> > Fernando
>
> The crash is happening on AVX2 instructions. My CPU is Intel(R) Core(TM)
> i7-8809G CPU @ 3.10GHz and it's supposed to have AVX2 but I don't see it
> listed on /proc/cpuinfo. I can't reboot into the old kernel right now
> but I suspect that when I do it will be there because I kind of remember
>   seeing it there. Any clues?

It is Intel DOWNFALL, also called GDS Gather Data Sampling.

Maybe you want read: https://www.phoronix.com/review/downfall

Regards,
 Peter





Re: [gentoo-user] What is the point of baloo?

2023-09-17 Thread Peter Böhm
Am Sonntag, 17. September 2023, 19:46:05 CEST schrieb Wols Lists:

> It always annoys me, but baloo seems to be being an absolute nightmare
> at the moment.

> I tried to kill it and it appears to have just restarted. Is there a use
> flag I can use to just get rid of it completely?

Do you mean use-flag "semantic-desktop" ?

(I have disabled it in my make.conf)

Reagrds,
Peter






Re: [gentoo-user] Kudos on prompt release of gentoo-sources w/ Zenbleed mitigation

2023-07-25 Thread Peter Böhm
Am Dienstag, 25. Juli 2023, 20:48:23 CEST schrieb Matt Connell:

> Not that I doubt you but is there a link for the specific for the fix?
>
> I'm interested in what the mitigation was and also for "Gentoo being
> awesome" propaganda purposes.

Patch:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?
h=linux-6.1.y=ed9b87010aa84c157096f98c322491e9af8e8f07

https://www.phoronix.com/news/Linux-Mitigate-Zenbleed
=>
https://lock.cmpxchg8b.com/zenbleed.html

Regards,
Peter







Re: [gentoo-user] glibc can't find /lib/libdl.so.2

2023-03-18 Thread Peter Böhm
Michael,

 is this a systemd machine ? If yes: We had the same problem before some days 
in our Gentoo forum:

https://forums.gentoo.org/viewtopic-t-1162393.html

Here it was SystemCallFilter from systemd.

Regards,
Peter

Am Samstag, 18. März 2023, 19:36:10 CET schrieb Michael:
> It's only been a couple of weeks since I updated this system, so I don't
> know
> why it fails with a glibc update, while other systems have no problem:
[...]
>  * The specific snippet of code:
>  *   [[ $STAT -eq 0 ]] || die "CONFIG_IA32_EMULATION must be
> enabled in the kernel to compile a multilib glibc.";
>  *
> 
> The kernel has IA32_EMULATION compiled in:
> 
>  # grep IA32_EMULATION /usr/src/linux/.config
> CONFIG_IA32_EMULATION=y
> 
> and /lib/libdl.so.2 appears to be present and correct:
> 
>  $ ls -l /lib/libdl.so.2
> -rwxr-xr-x 1 root root 13660 Nov 20 13:59 /lib/libdl.so.2
> 
> So, why does it fail and more importantly ... how can I get past it?  ;-)







Re: [gentoo-user] Jobs and load-average

2023-02-15 Thread Peter Böhm
Am Mittwoch, 15. Februar 2023, 10:56:22 CET schrieb Peter Humphrey:
> Hello list,
>
> Not long ago I read that we should allow 2GB RAM for every emerge job - that
> is, we should divide our RAM size by 2 to get the maximum number of
> simultaneous jobs. I'm trying to get that right, but I'm not there yet.
>
> I have these entries in make.conf:
> EMERGE_DEFAULT_OPTS="--jobs=16 --load-average=32 --autounmask=n --quiet-
> unmerge-warn --ke>
> MAKEOPTS="-j16"
>
> Today, though, I saw load averages going up to 72. Can anyone suggest better
> values to suit my 24 threads and 64GB RAM?

Maybe you are interested in this wiki article:

https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Optimize_compile_times

Regards,
Peter







Re: [gentoo-user] need help with amdgpu driver

2023-01-27 Thread Peter Böhm
Hello Klaus,

have you made your kernel again after changing EXTRA_FIRMWARE ?

Maybe you want read this:

https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/
Manual_kernel_configuration#Driver_needs_Firmware

Greetings,
Peter

Am Freitag, 27. Januar 2023, 11:08:58 CET schrieb Klaus Dittrich:
> I it possible that a that moment the kernel cannot get blobs
> because the ext4 filesystem is not mounted already?
> So does one have to use initrd to get the blobs loaded?
>
> What is the meaning of "failed with error -2"?







Re: [gentoo-user] Locating CONFIG_ZONE_DEVICE

2022-12-23 Thread Peter Böhm
It is in:
Memory Management options  --->

and you will see it only if you have enabled this:

Depends on: MEMORY_HOTPLUG [=y] && MEMORY_HOTREMOVE [=y] && SPARSEMEM_VMEMMAP
[=y] && ARCH_HAS_PTE_DEVMAP [=y]

You can ALWAYS search with a / in make menuconfig (leading CONFIG_ is not
necessary).

Am Freitag, 23. Dezember 2022, 10:50:55 CET schrieb Michael:
> I got this message:
>
>  * Messages for package dev-libs/roct-thunk-interface-5.3.3:
>
>  *   CONFIG_ZONE_DEVICE: is not set when it should be.
>  * Please check to make sure these options are set correctly.
>  * Failure to do so may cause unexpected problems.
>
> and stated searching for ZONE_DEVICE in my kernel config, but can't find it:
>
>  $ grep ZONE_DEVICE /usr/src/linux/.config
>  $
>  $ grep ZONE /usr/src/linux/.config
> CONFIG_BLK_DEV_ZONED=y
> CONFIG_BLK_DEBUG_FS_ZONED=y
> CONFIG_ZONE_DMA=y
> CONFIG_ZONE_DMA32=y
> # CONFIG_NF_CONNTRACK_ZONES is not set
> # CONFIG_DM_ZONED is not set
> # CONFIG_ZONEFS_FS is not set
>  $
>
> Any idea where it might be hiding?







Re: [gentoo-user] How to disable the modules service?

2022-10-23 Thread Peter Böhm
Rainer,

the handbook still recommends to build sound modules (and many many others) as
module, because it is easier than doing a static configuration. Now, you can
ask, why someone wants to build it static into the kernel. The answer is:
Security !

Maybe you know this wiki article:
https://wiki.gentoo.org/wiki/Signed_kernel_module_support

This is a pre-condition for enabling LOCKDOWN in the kernel ... OR ... you
have NO modules support (=monolithic kernel) ! So, you have the choice which
way you want to go.

I am using a monolithic kernel also. Dont try to enable lockdown in your
kernel if you use unsigned modules. ;-) I wrote a big warning in my wiki
article:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/
Kernel_Hardening_with_KSPP

Regards,
Peter

Am Sonntag, 23. Oktober 2022, 16:19:49 CEST schrieb Dr Rainer Woitok:
> Peter,
>
> On Sunday, 2022-10-23 12:45:42 +0200, you wrote:
> > ...
> > we have a wiki article for this:
> > https://wiki.gentoo.org/wiki/Kernel_Modules#Going_completely_.22module-les
> > s.22
> When I built my first Gentoo system in 2019,  the Handbook instructed to
> build anything sound related  as modules,  if I remember correctly.   Is
> this no longer true?
>
> Sincerely,
>   Rainer







Re: [gentoo-user] How to disable the modules service?

2022-10-23 Thread Peter Böhm
Hi Dex,

we have a wiki article for this:
https://wiki.gentoo.org/wiki/Kernel_Modules#Going_completely_.22module-less.22

Greetings,
Peter

Am Sonntag, 23. Oktober 2022, 11:56:00 CEST schrieb Dex Conner:
> Hi all,
>
> I've went module-less and the rc service called modules is still running
> at startup even when I remove it with rc-update del modules boot. Is the
> only way to solve this to remove the loaded modules from the config
> files every time they are added?
>
> Thank you!
>
> --
> Dex







Re: [gentoo-user] Older machines no text console video after bootup

2022-04-20 Thread Peter Böhm
A "make oldconfig" should be sufficient.


Am Mittwoch, 20. April 2022, 11:18:39 CEST schrieb Walter Dnes:
> On Tue, Apr 19, 2022 at 08:19:07PM -0400, Walter Dnes wrote
>
> >   Possible cause... it's failing with target
> >
> > '/usr/lib/gcc/x86_64-pc-linux-gnu/ ***11.2.0*** /include/stddef.h'
> >
> > But "gcc-config -l" gives me one line...
> >
> >  [1] x86_64-pc-linux-gnu-11.2.1 *
> >
> >   I vaguely recall that there's an additional tweak needed to
> >
> > align lib versions, but I forget what it is.
>
>   On a hunch, I ran "emerge -1 =ys-devel/gcc-11.2.0", after which
> "gcc-config -l" gives "[1] x86_64-pc-linux-gnu-11.2.0 *".  11.2.1 had
> completely disappeared.  So I copied .config to another directory, ran
> "make mrproper", copied back .config, and the kernel build is happily
> compiling away.  For future reference, what do I need to do to ensure a
> smooth transition between gcc versions?







Re: [gentoo-user] Older machines no text console video after bootup

2022-04-19 Thread Peter Böhm
You are missing FrameBuffer configuration:
https://wiki.gentoo.org/wiki/Framebuffer

This is always necessary - even without ...

... I don't run "desktop environments"; I run useful applications




Am Dienstag, 19. April 2022, 22:16:05 CEST schrieb Walter Dnes:
>   I have a couple of older machines kicking around that I'm trying to
> revive, a 2008 Dell desktop and a Lenovo laptop.  I installed Gentoo
> and ended up with the same problem on both machines...
>
> * During the install process, the text console works OK.
> * After the install, it starts off fine with the LILO boot menu.
> * After it boots, there is no text at all on the text console.
> * After much dicking around, I've managed to get my desktop to ssh
>   into the old Dell after it boots.  It appears to be fully functional,
>   and I can do just about anything via ssh.  Still no text on the
>   monitor.
> * I have not gotten anywhere near installing X.
>
>
>   Here's what make menuconfig > Device Drivers > Graphics support
> shows on the Dell d530.  Any ideas about text console support?
>
>  <*> /dev/agpgart (AGP Support)  ---> | |
>  -*- VGA Arbitration  | |
>  (16)  Maximum number of GPUs | |
>  [ ] Laptop Hybrid Graphics - GPU switching support   | |
>  <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI suppor| |
>  ARM devices  | |
>  < > ATI Radeon   | |
>  < > AMD GPU  | |
>  < > Nouveau (NVIDIA) cards   | |
>  <*> Intel 8xx/9xx/G3x/G4x/HD Graphics| |
>  ()Force probe driver for selected new Intel hardware | |
>  [*]   Enable capturing GPU state following a hang| |
>  [*] Compress GPU error state | |
>  [*]   Always enable userptr support  | |
>  [ ]   Enable Intel GVT-g graphics virtualization host support| |
>  < > Virtual GEM provider | |
>  < > Virtual KMS (EXPERIMENTAL)   | |
>  < > DRM driver for VMware Virtual GPU| |
>  < > Intel GMA500/600/3600/3650 KMS Framebuffer   | |
>  < > DisplayLink  | |
>  < > AST server chips | |
>  < > Matrox G200  | |
>  < > QXL virtual GPU  | |
>  Display Panels  ---> | |
>  Display Interface Bridges  --->  | |
>  < > ETNAVIV (DRM support for Vivante GPU IP cores)   | |
>  < > DRM Support for bochs dispi vga interface (qemu stdvga)  | |
>  < > Cirrus driver for QEMU emulated device   | |
>  < > GM12U320 driver for USB projectors   | |
>  < > Simple framebuffer driver| |
>  < > Virtual Box Graphics Card| |
>  < > GUD USB Display  | |
>  [ ] Enable legacy drivers (DANGEROUS)    | |
>  Frame buffer Devices  --->   | |
>  Backlight & LCD device support  ---> | |
>  Console display driver support  --->







Re: [gentoo-user] a11y kernel build

2022-04-06 Thread Peter Böhm
Am Mittwoch, 6. April 2022, 20:51:05 CEST schrieb Jude DaShiell:
> I'm curious, with a system about to build a kernel does a command or
> command switch exist to tell the kernel build process to build the kernel
> in such a way that all hardware now enabled gets enabled in the build of
> the kernel?

It seems to me you are searching for "make localmodconfig" (but I could be
wrong).

See more here:
https://www.kernel.org/doc/html/latest/admin-guide/README.html#configuring-the-kernel

Many Greetings,
Peter






Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Peter Böhm
Am Mittwoch, 6. April 2022, 22:17:10 CEST schrieb Dale:

> Another interesting tidbit I found about rsync, --dry-run.

Hi hi, ask me when I have learned that ... thanks to "luckybackup" ...

(I do backup "only" /etc and /home ... yes, I know, if my SSD breaks I have to
do a new gentoo installation; but with all settings in /etc no problem)

Many Greetings,
Peter





Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Peter Böhm
Am Mittwoch, 6. April 2022, 15:10:00 CEST schrieb Dale:

> [...] but couldn't figure out
> how to get rsync to do that yet.

I am using app-backup/luckybackup as "frontend" for rsync (because I am using
KDE/QT).

Many Greetings,
Peter






Re: [gentoo-user] Re: Root can't write to files owned by others?

2022-03-10 Thread Peter Böhm
Here is the kernel patch: https://git.kernel.org/pub/scm/linux/kernel/git/
torvalds/linux.git/commit/?id=30aba6656f61ed44cba445a3c0d38b296fa9e8f5

for this:

Am Donnerstag, 10. März 2022, 19:44:46 CET schrieb Michael:
> 
> Just checked and it is so, on openrc:
> 
> ~ # uname -r
> 5.15.26-gentoo
> ~ # sysctl -a | grep fs.protected_regular
> fs.protected_regular = 1







Re: [gentoo-user] Root can't write to files owned by others?

2022-03-09 Thread Peter Böhm
Rainer,

using sudo does not makes you a root user. To become a root user you have to 
switch with "su -" (and login with root password).

Sudo has its own configuration file. If you can do something with sudo on other 
systems means there is a different configuration for sudo.

Check "man sudo"

Cheers,
Peter


Am Mittwoch, 9. März 2022, 19:28:49 CET schrieb Dr Rainer Woitok:
> Greetings,
> 
> until recently my system behaves sort of strangely:
> 
>$ touch /tmp/file
>$ ls -l /tmp/file
>-rw--- 1 rainer rainer 0 2022-03-09 19:06 /tmp/file
>$ echo x | sudo tee /tmp/file
>Password:
>tee: /tmp/file: Permission denied
>x
>$ chmod a+w /tmp/file
>$ ls -l /tmp/file
>-rw--w--w- 1 rainer rainer 0 2022-03-09 19:06 /tmp/file
>$ echo x | sudo tee /tmp/file
>tee: /tmp/file: Permission denied
>x
>$
> 
> Since when can't root write to files  it doesn't own?   And not even, if
> the file has write permission for everybody?
> 
> This worked as long as I can think of.  My last routine upgrade install-
> ed new  kernel package  "sys-kernel/gentoo-sources-5.15.26",  so I built
> the new kernel and booted from it.  May this be the reason?
> 
> When I'll have time to reboot,  I'll test the  above commands  on my old
> kernel, 5.15.19.  But perhaps there's another reason?
> 
> Slightly puzzled
>  Rainer







Re: [gentoo-user] kernel 5.15+ (thru 5.16.5)

2022-02-03 Thread Peter Böhm
Am Donnerstag, 3. Februar 2022, 16:08:26 CET schrieb Jack:
> Also, be careful - if you just search the config for "SIMPLE" it finds
> two FB related entries - you need one of them and not the other, but I
> am sitting at the wrong computer to check which.

For this problem we have some articles in our Gentoo Forum.

Between 5.10.x and 5.15.x there was a change:

You dont have a "Simple FB" in your old directory (when doing "make
menuconfig"); instead there is a new entry which leads to this in your .config:

CONFIG_SYSFB_SIMPLEFB=y

(Searching for "SIMPLE" in your .config gives you only this one +
"CONFIG_DRM_SIMPLEDRM=y". If you have the old entry also in your .config, then
you have not done "make oldconfig").

The "new" simpleFB is here:

Device Drivers  --->
  Graphics support  --->
[*] Simple framebuffer driver

The old one was here:

Device Drivers  --->
  Graphics support  --->
Frame buffer Devices  --->
  [*] Support for frame buffer devices  --->


Kind Regards,
--P