Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
system is unstable after updating my gentoo Linux.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 53

PostPosted: Mon Jan 27, 2025 9:40 am    Post subject: system is unstable after updating my gentoo Linux. Reply with quote

Hi I am Rupesh from India and I have brought a new system with AMD Ryzen zen3 5500GT and Asus prime b450 motherboard. I brought my system about six months back and I am using gentoo Linux from the beginning but now I can't.

Three months back I have installed Gentoo Linux from the beginning and upto now I have updated my system upto 10 times and my system worked fine without any errors but now I am getting errors.

I have issued the same commands to update my system each and every time as follows.

emerge --sync
emerge --ask --verbose --update --deep --newuse @world
emerge -c.

At present I can't mount other exFAT partition directly through gui file manager like nemo.

Another issue is I have fetched ffmpeg source code from git and tried to compile but failed in the initial stage itself. I am providing the commands which I have entered and the errors as follows.

Code:

build@Rupesh ~/soft $ git clone https://github.com/FFmpeg/FFmpeg ffmpeg
build@Rupesh ~/soft $ cd ffmpeg


Code:

build@Rupesh ~/soft/ffmpeg $ ./configure --arch=x86_64 --cpu=znver3 --prefix=/opt/ffmpeg --enable-gpl  --disable-shared --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-librav1e --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg --enable-libfdk-aac --enable-nonfree --enable-vaapi --enable-vdpau --enable-opencl --enable-opengl --enable-hwaccels --enable-runtime-cpudetect --disable-cuda-sdk --enable-avfilter --enable-bzlib  --enable-libdrm --enable-libjxl --enable-libopenjpeg --enable-libplacebo --enable-librsvg --enable-librubberband --enable-libzmq --enable-pthreads --enable-vulkan --enable-amf  --disable-libmfx  > ../ffmpeg_output.txt


Code:

build@Rupesh ~/soft/ffmpeg $ make -j10
Makefile:2: ffbuild/config.mak: No such file or directory
make: *** No rule to make target 'ffbuild/config.mak'.  Stop.
build@Rupesh ~/soft/ffmpeg $


Another point is I have downloaded kernel-6.12.11 from kernel.org installed it through the following command.

# genkernel all

First I have booted into the latest kernel and tried to compile ffmpeg source code and failed and after that I have booted into old kernel which is kernel-6.12.5 zen and tried to compile ffmpeg source code but in both cases I am getting same errors.

Kindly try to suggest what's wrong and how to mount exFAT partition directly through gui file manager like nemo and compile ffmpeg source code which is fetched from git.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 53

PostPosted: Mon Jan 27, 2025 11:04 am    Post subject: Reply with quote

Hi I have seen the ffmpeg_output.txt file and found the following line.

AMF requested but not found.

After that I have seen the contents of /usr/include/AMF and found some files and directories.

I think that latest ffmpeg from git is expecting latest AMF and so I have fetched AMF from git and copied include files to /usr/include/AMF.

I tried to compile ffmpeg source code from the beginning and succeeded.

One issue is resolved but another question is why I can't mount exFAT partition directly through gui file manager like nemo.

Another question is presently latest stable kernel released in kernel.org is 6.12.11 but I can't find it in Gentoo repository.

Can I compile and run the kernel which is downloaded from kernel.org and not present in Gentoo repository.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1858
Location: Germany

PostPosted: Mon Jan 27, 2025 11:05 am    Post subject: Reply with quote

You need to clarify some things here, because I do see multiple problems.

Quote:
I have downloaded kernel-6.12.11 from kernel.org

Why do you manually download kernel sources
There are two choices in portage which do have almost latest kernel sources
https://packages.gentoo.org/packages/sys-kernel/gentoo-kernel
https://packages.gentoo.org/packages/sys-kernel/gentoo-sources

Quote:
At present I can't mount other exFAT partition directly through gui file manager like nemo.

If you upgrade your kernel you need to make sure required options are enabled.
https://wiki.gentoo.org/wiki/Kernel/Upgrade

Quote:
Another issue is I have fetched ffmpeg source code from git and tried to compile

ffmpeg is also available in portage
https://packages.gentoo.org/packages/media-video/ffmpeg

Quote:
both cases I am getting same errors.

Please do share those errors.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 53

PostPosted: Mon Jan 27, 2025 1:33 pm    Post subject: Reply with quote

Hi here the main problem is I can't get or see latest packages related to kernel even after emerge --sync.

Two weeks back I have updated my system including syncing the emerge repository. After that I searched for the word sources but I found the following which are related to kernel.


Code:

build@Rupesh ~ $ su
Password:
Rupesh /home/build # emerge -S gentoo-sources
 
[ Results for search key : gentoo-sources ]
Searching...

*  sys-kernel/gentoo-sources
      Latest version available: 6.6.67
      Latest version installed: [ Not Installed ]
      Size of files: 140780 KiB
      Homepage:      https://dev.gentoo.org/~mpagano/genpatches
      Description:   Full sources including the Gentoo patchset for the 6.6 kernel tree
      License:       GPL-2

*  sys-kernel/git-sources [ Masked ]
      Latest version available: 6.13_rc7
      Latest version installed: [ Not Installed ]
      Size of files: 190888 KiB
      Homepage:      https://www.kernel.org
      Description:   The very latest -git version of the Linux kernel
      License:       GPL-2

*  sys-kernel/zen-sources
      Latest version installed: 6.12.5
      Homepage:      https://github.com/zen-kernel
      Description:   The Zen Kernel Live Sources
      License:       GPL-2

[ Applications found : 3 ]

Rupesh /home/build #


Code:

Rupesh /home/build # emerge -S gentoo-kernel
 
[ Results for search key : gentoo-kernel ]
Searching...

*  sys-kernel/genkernel
      Latest version available: 4.3.16-r2
      Latest version installed: 4.3.16-r2
      Size of files: 185503 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/
      Description:   Gentoo automatic kernel building scripts
      License:       GPL-2

*  sys-kernel/gentoo-kernel
      Latest version available: 6.6.67
      Latest version installed: [ Not Installed ]
      Size of files: 141024 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Distribution_Kernel https://www.kernel.org/
      Description:   Linux kernel built with Gentoo patches
      License:       GPL-2 generic-uki? ( GPL-2+ LGPL-2.1+ || ( BSD GPL-2 ) LGPL-2.1 || ( GPL-2 BSD ) GPL-2 GPL-3 GPL-3+ LGPL-2.1 LGPL-2 || ( BSD GPL-2 ) LGPL-2.1 GPL-3 GPL-3+ BSD BSD LGPL-2.1+ || ( Apache-2.0 CC0-1.0 ) BZIP2 LGPL-2.1+ public-domain BSD BSD-2 GPL-2 || ( BSD GPL-3 HIDAPI ) || ( AFL-2.1 GPL-2 ) MIT MIT || ( MPL-2.0 GPL-2 LGPL-2.1 ) GPL-2+ LGPL-2 LGPL-2.1 BSD-2 GPL-2 GPL-3+ GPL-3+ LGPL-2.1 GPL-2+ BSD-2 BSD curl ISC LGPL-2 CC0-1.0 GPL-2 LGPL-2.1 GPL-2+ GPL-2 BSD GPL-2 BSD LGPL-2.1 GPL-2 GPL-2 LGPL-2.1 MIT GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain x86? ( intel-ucode ) GPL-2 LGPL-2.1 public-domain GPL-2 LGPL-2.1 MIT public-domain amd64? ( intel-ucode ) MIT GPL-2+ GPL-2 GPL-3 LGPL-2.1 LGPL-2.1 GPL-2 MIT LGPL-2.1 || ( GPL-2+ LGPL-3+ ) GPL-3+ unicode GPL-2 GPL-2 GPL-2+ LGPL-2.1+ GPL-2+ LGPL-2+ LGPL-2.1+ LGPL-2.1+ OPENLDAP GPL-2 GPL-2 GPL-2 BSD BSD-2 BSD-4 LGPL-2.1+ GPL-2 GPL-2 GPL-3+ GPL-3 BSD-2 LGPL-2.1+ BSD HPND ISC inner-net rc PCRE BSD public-domain LGPL-2.1+ GPL-2+ CC0-1.0 BSD-with-attribution LGPL-2.1+ MIT CC-BY-3.0 MIT GPL-2 LGPL-2.1+ ZLIB LGPL-2.1 GPL-2+ LGPL-2.1+ GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+ || ( LGPL-3+ GPL-2+ ) || ( FDL-1.2 GPL-3+ ) GPL-3+ Apache-2.0 BSD GPL-2 GPL-2 GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 ) linux-fw-redistributable BSD-2 BSD BSD-4 ISC MIT || ( GPL-3 BSD-2 ) GPL-3+ LGPL-2.1 LGPL-2.1+ LGPL-2.1 MIT BSD ISC MIT GPL-3+ GPL-2 LGPL-2.1+ MIT LGPL-2.1 CC0-1.0 MIT ISC GPL-2 )

*  sys-kernel/gentoo-kernel-bin
      Latest version available: 6.6.67
      Latest version installed: 6.6.67
      Size of files: 402230 KiB
      Homepage:      https://www.kernel.org/
      Description:   Pre-built Linux kernel with Gentoo patches
      License:       GPL-2 generic-uki? ( GPL-2+ LGPL-2.1+ || ( BSD GPL-2 ) LGPL-2.1 || ( GPL-2 BSD ) GPL-2 GPL-3 GPL-3+ LGPL-2.1 LGPL-2 || ( BSD GPL-2 ) LGPL-2.1 GPL-3 GPL-3+ BSD BSD LGPL-2.1+ || ( Apache-2.0 CC0-1.0 ) BZIP2 LGPL-2.1+ public-domain BSD BSD-2 GPL-2 || ( BSD GPL-3 HIDAPI ) || ( AFL-2.1 GPL-2 ) MIT MIT || ( MPL-2.0 GPL-2 LGPL-2.1 ) GPL-2+ LGPL-2 LGPL-2.1 BSD-2 GPL-2 GPL-3+ GPL-3+ LGPL-2.1 GPL-2+ BSD-2 BSD curl ISC LGPL-2 CC0-1.0 GPL-2 LGPL-2.1 GPL-2+ GPL-2 BSD GPL-2 BSD LGPL-2.1 GPL-2 GPL-2 LGPL-2.1 MIT GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain x86? ( intel-ucode ) GPL-2 LGPL-2.1 public-domain GPL-2 LGPL-2.1 MIT public-domain amd64? ( intel-ucode ) MIT GPL-2+ GPL-2 GPL-3 LGPL-2.1 LGPL-2.1 GPL-2 MIT LGPL-2.1 || ( GPL-2+ LGPL-3+ ) GPL-3+ unicode GPL-2 GPL-2 GPL-2+ LGPL-2.1+ GPL-2+ LGPL-2+ LGPL-2.1+ LGPL-2.1+ OPENLDAP GPL-2 GPL-2 GPL-2 BSD BSD-2 BSD-4 LGPL-2.1+ GPL-2 GPL-2 GPL-3+ GPL-3 BSD-2 LGPL-2.1+ BSD HPND ISC inner-net rc PCRE BSD public-domain LGPL-2.1+ GPL-2+ CC0-1.0 BSD-with-attribution LGPL-2.1+ MIT CC-BY-3.0 MIT GPL-2 LGPL-2.1+ ZLIB LGPL-2.1 GPL-2+ LGPL-2.1+ GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+ || ( LGPL-3+ GPL-2+ ) || ( FDL-1.2 GPL-3+ ) GPL-3+ Apache-2.0 BSD GPL-2 GPL-2 GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 ) linux-fw-redistributable BSD-2 BSD BSD-4 ISC MIT || ( GPL-3 BSD-2 ) GPL-3+ LGPL-2.1 LGPL-2.1+ LGPL-2.1 MIT BSD ISC MIT GPL-3+ GPL-2 LGPL-2.1+ MIT LGPL-2.1 CC0-1.0 MIT ISC GPL-2 )

[ Applications found : 3 ]

Rupesh /home/build #


At present after syncing the emerge repository I issued the following same commands

emerge -S gentoo-kernel

emerge -S gentoo-sources

Unfortunately I am getting same results as previously ie., there are no latest packages related to kernel.

Each and every time I am installing new kernel through the following command.

genkernel all

Can I use genkernel instead of going deeply into configuring the kernel.

At the issues are following

1) I can't mount exFAT partition directly through gui file manager.

2) Latest version of kernel packages are not fetched.

There are no compilation errors.

Kindly try to suggest how the above mentioned problems can be rectified.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1858
Location: Germany

PostPosted: Mon Jan 27, 2025 6:49 pm    Post subject: Reply with quote

I do not use genkernel, I can only direct you to the exelent page in the wiki about it: https://wiki.gentoo.org/wiki/Genkernel

Quote:
1) I can't mount exFAT partition directly through gui file manager.

Which filemanager do you use?
It can be either a use flag missing for it or the support for the filesystem is missing in the kernel.

Quote:
2) Latest version of kernel packages are not fetched.

The already mentioned pages about the thow packages also tell you that there are stable and unstable/testing versions available. Without any config only stable packages will be installed.
If you want the latest you need to tell portage to do so. In this case you need to set https://wiki.gentoo.org/wiki//etc/portage/package.accept_keywords for your required package. It then will take the latest version available, which may be unstable and has bugs.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 53

PostPosted: Tue Jan 28, 2025 3:41 am    Post subject: Reply with quote

Hi I am using mostly file manager called nemo. Not only in nemo I can't mount exFAT partition directly through any gui file manager like caja thunar.

This problem occurred yesterday only and before I was able to mount exFAT partition directly through any gui file manager.

I think that kernel is working fine but software component related to gui file mount is missing.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1858
Location: Germany

PostPosted: Tue Jan 28, 2025 6:41 am    Post subject: Reply with quote

You can examine if your kernel support for "exfat" by
Code:
grep fat /proc/filesystems


You should see something like
Code:
vfat
exfat


Also make sure you have the following package installed:
Quote:
emerge --ask sys-fs/exfatprogs

_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 53

PostPosted: Tue Jan 28, 2025 9:29 am    Post subject: Reply with quote

I am able to mount all partition types through commands but not through gui.

Code:

Rupesh ~ # fdisk -l
Disk /dev/nvme0n1: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: CT500P3SSD8                             
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A7CD67D4-777D-4708-BBCB-D81F284DC460

Device              Start       End   Sectors  Size Type
/dev/nvme0n1p1       2048    206847    204800  100M EFI System
/dev/nvme0n1p2     206848    239615     32768   16M Microsoft reserved
/dev/nvme0n1p3     239616 166363135 166123520 79.2G Microsoft basic data
/dev/nvme0n1p4  166363136 167935999   1572864  768M Windows recovery environment
/dev/nvme0n1p5  167936000 241663999  73728000 35.2G Microsoft basic data
/dev/nvme0n1p6  241664000 242444287    780288  381M Microsoft basic data
/dev/nvme0n1p7  242444288 249083903   6639616  3.2G Linux swap
/dev/nvme0n1p8  249083904 381747199 132663296 63.3G Linux filesystem
/dev/nvme0n1p9  381747200 382771199   1024000  500M EFI System
/dev/nvme0n1p10 382771200 514338815 131567616 62.7G Linux filesystem
/dev/nvme0n1p11 514338816 523554815   9216000  4.4G Linux swap
/dev/nvme0n1p12 523554816 524578815   1024000  500M Linux filesystem
/dev/nvme0n1p13 524578816 533794815   9216000  4.4G Linux swap
/dev/nvme0n1p14 533794816 704802815 171008000 81.5G Linux filesystem
/dev/nvme0n1p15 704802816 858402815 153600000 73.2G Microsoft basic data
/dev/nvme0n1p16 858402816 858812415    409600  200M EFI System
/dev/nvme0n1p17 858812416 859222015    409600  200M BIOS boot
/dev/nvme0n1p18 859222016 865775615   6553600  3.1G Linux swap
/dev/nvme0n1p19 865775616 976773119 110997504 52.9G Linux root (x86-64)
Rupesh ~ # mount /dev/nvme0n1p15 /mnt
Rupesh ~ #

_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
rupeshforu3
n00b
n00b


Joined: 19 Aug 2024
Posts: 53

PostPosted: Tue Jan 28, 2025 12:09 pm    Post subject: Reply with quote

Hi the main problem is Personal Authentication Module PAM is preventing from mounting other partitions through gui file manager like nemo.

I think that everything is installed but there are some settings that need to be changed.
_________________
Regards,
Rupesh.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum