Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Post Install gentoo errors
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
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Thu Mar 06, 2025 1:44 pm    Post subject: Post Install gentoo errors Reply with quote

Hello, Everyone!

After installing the system with the OpenRC initialization system, errors appear during the reboot process.
I tried to resolve the errors. However, I understand that the process of their occurrence goes deeper and deeper.

emerge --info ---> https://pastebin.com/Ei2cFaTF

/etc/fstab ---> https://pastebin.com/QaDcZ1Tf

The download process ---> https://pastebin.com/w2ejTaNM

mount ---> https://pastebin.com/vTUWnJu1

Partition Table ---> https://imgur.com/a/uHkBsBS[/quote]

I'm asking for help. What are the ways to fix errors, if possible, without reinstalling the system?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54988
Location: 56N 3W

PostPosted: Thu Mar 06, 2025 2:28 pm    Post subject: Reply with quote

soustan,

What errors or problems do you see?

Describe the first one. It's often the cause of subsequent errors.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Thu Mar 06, 2025 3:22 pm    Post subject: Reply with quote

NeddySeagoon wrote:
soustan,

What errors or problems do you see?

Describe the first one. It's often the cause of subsequent errors.


If we describe the very first error, then we are talking about the boot partition /boot..."boot was not cleanly unmounted, check forced.
boot: 385/128000 files (14.3% non-contiguous), 32956/512000 blocks
File systems repaired"
However, I understand where the reason lies. I don't understand what it is.
Could it be that the disk layout is incorrect? Which I also attached as a screenshot.

The fact is that the answer to the question is where...?? My mistake number 1,
I see! But what exactly is my mistake when installing the OS??
That's the question I'd really like to answer!
Will you help me?

If there are any other console outputs needed to answer my question?
I am ready to provide them.
And/or the entire installation algorithm from the very first command.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54988
Location: 56N 3W

PostPosted: Thu Mar 06, 2025 5:59 pm    Post subject: Reply with quote

soustan,

Your sda1 bios_boot partition is only used with BIOS booting when GPT is in use. Otherwise it is not required. See for details.
Code:
booot partition /boot..."boot was not cleanly unmounted, check forced.
boot: 385/128000 files (14.3% non-contiguous), 32956/512000 blocks
File systems repaired"


This happens when you do not use the shutdown command or otherwise shut the system down cleanly.
When you mount a filesystem, part of the process is to check and set the 'dirty' bit. The dirty bit is cleared by the umount command, so that unclean shutdowns can be detected and fsck run.

sda2 as boot is fine. Its quite big but that's harmless.

The other partitions look fine too. I don't use btrfs ... its too new.

In short, the only problem appears to be the way the system has been shutdown.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Fri Mar 07, 2025 12:10 pm    Post subject: Reply with quote

NeddySeagoon wrote:
soustan,

Your sda1 bios_boot partition is only used with BIOS booting when GPT is in use. Otherwise it is not required. See for details.
Code:
booot partition /boot..."boot was not cleanly unmounted, check forced.
boot: 385/128000 files (14.3% non-contiguous), 32956/512000 blocks
File systems repaired"


This happens when you do not use the shutdown command or otherwise shut the system down cleanly.
When you mount a filesystem, part of the process is to check and set the 'dirty' bit. The dirty bit is cleared by the umount command, so that unclean shutdowns can be detected and fsck run.

sda2 as boot is fine. Its quite big but that's harmless.

The other partitions look fine too. I don't use btrfs ... its too new.

In short, the only problem appears to be the way the system has been shutdown.



NeddySeagoon,

Ok!

After installing the OS, I regularly rebooted the system, respectively, and unmounted it,
during the reboot process, and during the system boot process, the same thing happened!!

In this case, my question is: Now, without reinstalling the system, is it possible to fix the above error?
And if possible, how exactly, what is the sequence of commands?
Or is it just reinstalling the system only??
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54988
Location: 56N 3W

PostPosted: Fri Mar 07, 2025 7:56 pm    Post subject: Reply with quote

soustan,

With boot not mounted, run fsck on it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Sat Mar 08, 2025 9:08 am    Post subject: Reply with quote

NeddySeagoon wrote:
soustan,

With boot not mounted, run fsck on it.


NeddySeagoon,

1. The fact is that I have already done what you wrote to me about. And as a result I got the following:
# umount /dev/sda2
# fsck
fsck из util-linux 2.40.4
If you wish to check the consistency of a BTRFS filesystem or
repair a damaged filesystem, see btrfs(8) subcommand 'check'.
If you wish to check the consistency of a BTRFS filesystem or
repair a damaged filesystem, see btrfs(8) subcommand 'check'.
e2fsck 1.47.2 (1-Jan-2025)
boot: clean, 385/128000 files, 32956/512000 blocks
2. After a reboot, I get the result - .....OK!
And the corresponding output in the console ---> https://imgur.com/a/dP9ehcQ
From which it can be seen that in the line ...
boot: clean, 385/128000 files, 32956/512000 blocks ..... Ok
I still have doubts about the correctness of restoring system files and errors.
Do you think the situation has been restored?
And if that's the case?
3. What is the solution, in your opinion, regarding the next in the order of loading in the row...
" UUID file '/etc/mashine-id' should containI a hex string of length 32, not length 0 with no other text " ?
I understand that this error cannot be fixed manually.
After looking at the posts on the Internet, I also did not find an answer to my question: How to fix this error?
Maybe you can tell me something here, how to solve this issue?
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 557

PostPosted: Sat Mar 08, 2025 9:24 am    Post subject: Reply with quote

What is the content of /dev/sda2?
Back to top
View user's profile Send private message
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Sat Mar 08, 2025 9:41 am    Post subject: Reply with quote

sMueggli wrote:
What is the content of /dev/sda2?



sMueggli,

Partition Table ---> https://imgur.com/a/uHkBsBS

And I see solution:

rm /var/lib/dbus/machine-id
dbus-uuidgen --ensure

But, after restart PC, I see no solution, and PC write...
" UUID file '/etc/mashine-id' should containI a hex string of length 32, not length 0 with no other text " ... rerun error!
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 557

PostPosted: Sat Mar 08, 2025 9:49 am    Post subject: Reply with quote

That is not the content of the partition. About 3 MB are used. So what is the content? A separate boot partition usually contains at least a kernel which I expect to be bigger.

Code:
umount /dev/sda2
mount /dev/sda2 /mnt
ls -l /mnt
Back to top
View user's profile Send private message
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Sat Mar 08, 2025 10:02 am    Post subject: Reply with quote

sMueggli wrote:
That is not the content of the partition. About 3 MB are used. So what is the content? A separate boot partition usually contains at least a kernel which I expect to be bigger.

Code:
umount /dev/sda2
mount /dev/sda2 /mnt
ls -l /mnt


I'm sorry, but I didn't understand your question at the beginning!

Code:
# umount /dev/sda2
# mount /dev/sda2 /mnt
# ls -l /mnt
total 83220
-rw-r--r-- 1 root root   148480 мар  6 13:07 amd-uc.img
-rw-r--r-- 1 root root   278530 мар  4 19:34 config-6.12.16-gentoo-dist
drwxr-xr-x 6 root root     4096 мар  4 21:16 grub
-rw-r--r-- 1 root root 31546482 мар  4 19:34 initramfs-6.12.16-gentoo-dist.img
-rw-r--r-- 1 root root 21873664 мар  6 03:29 intel-uc.img
drwx------ 2 root root    16384 мар  4 17:10 lost+found
-rw-r--r-- 1 root root 10897620 мар  4 19:34 System.map-6.12.16-gentoo-dist
-rw-r--r-- 1 root root 20320768 мар  4 19:34 vmlinuz-6.12.16-gentoo-dist
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 557

PostPosted: Sat Mar 08, 2025 10:21 am    Post subject: Reply with quote

The content of /dev/sda2 looks correct is certainly greater than what gparted reported.
Back to top
View user's profile Send private message
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Sat Mar 08, 2025 12:30 pm    Post subject: Reply with quote

sMueggli wrote:
The content of /dev/sda2 looks correct is certainly greater than what gparted reported.


sMueggli,

What is the solution, in your opinion, regarding the next in the order of loading in the row...
" UUID file '/etc/mashine-id' should containI a hex string of length 32, not length 0 with no other text " ?
I understand that this error cannot be fixed manually.
After looking at the posts on the Internet, I also did not find an answer to my question: How to fix this error?
Maybe you can tell me something here, how to solve this issue?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54988
Location: 56N 3W

PostPosted: Sat Mar 08, 2025 12:31 pm    Post subject: Reply with quote

soustan,

fsck makes the filesystem metadata self consistent. It says nothing about any file contents on the filesystem. That keep the mount command happy

If you are concerned about the content of /boot, everything there is automatically created so recreate it if you wish.
As your system boots, grub, the kernel and initramfs must be OK, well they work.

I don't know what creates /etc/machine-id, nor what uses it.
.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Sat Mar 08, 2025 4:53 pm    Post subject: Reply with quote

NeddySeagoon wrote:
soustan,

fsck makes the filesystem metadata self consistent. It says nothing about any file contents on the filesystem. That keep the mount command happy

If you are concerned about the content of /boot, everything there is automatically created so recreate it if you wish.
As your system boots, grub, the kernel and initramfs must be OK, well they work.

I don't know what creates /etc/machine-id, nor what uses it.
.


NeddySeagoon,

What do you think about the launch and errors of the Networkmanager?
Namely, the output in the console...

"Networkmanager has started but is inactive" ...?

File configuration

Code:
cat /etc/NetworkManager/system-connections/RTK-xxx-5.nmconnection
[connection]
id=RTK-xxx-5
uuid=xxxxxxxx-8f40-41bc-xxxx-cb32cbd6c6bc
type=wifi
interface-name=wlp0xxxu1u2

[wifi]
mode=infrastructure
ssid=RTK-xxx-5

[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=xxxxxxxxxxx

[ipv4]
method=auto

[ipv6]
addr-gen-mode=default
method=auto

[proxy]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54988
Location: 56N 3W

PostPosted: Sat Mar 08, 2025 5:13 pm    Post subject: Reply with quote

soustan,

I don't use NetworkManager.

Its quite common for wifi to be started and reported as inactive due to the time the security handshake takes before it can get the network settings.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9923
Location: almost Mile High in the USA

PostPosted: Sat Mar 08, 2025 6:38 pm    Post subject: Reply with quote

"Networkmanager has started but is inactive." shows up frequently if you don't have an Ethernet connection that's connected and enabled by default. If you have a wifi connection and didn't specify a connection that "everyone" can use (or if the remote dhcp server is slow) there will be no connection ready by the time networkmanager finishes doing management work and relinquishes boot control back to openrc. This warning is made here so that other apps that require a network is aware that there is currently no network available.

About machine-id ... appears that dbus creates it to ensure machine specific IDs. So if multiple machines/containers/etc. share a hard drive or filesystem (nfs, etc. too) they can generate a machine specific name and not leave it to chance that two machines don't create the same lock file, plus it is traceable to the machine that created it for forensics ("What machine created this file on this NFS share?" kind of question for sysadmins - of course this is still voluntary of course). You can delete the file but any files it created with the ID will remain. Other than dbus internal usage, I noticed that machine-id is used by systemd-journald and the main log directory uses machine-id to create the directory in /var/log/journal so if you change your machine-id you'll need to fix this else old journals would be inaccessible by journalctl.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Sat Mar 08, 2025 10:23 pm    Post subject: Reply with quote

eccerr0r wrote:
"Networkmanager has started but is inactive." shows up frequently if you don't have an Ethernet connection that's connected and enabled by default. If you have a wifi connection and didn't specify a connection that "everyone" can use (or if the remote dhcp server is slow) there will be no connection ready by the time networkmanager finishes doing management work and relinquishes boot control back to openrc. This warning is made here so that other apps that require a network is aware that there is currently no network available.

About machine-id ... appears that dbus creates it to ensure machine specific IDs. So if multiple machines/containers/etc. share a hard drive or filesystem (nfs, etc. too) they can generate a machine specific name and not leave it to chance that two machines don't create the same lock file, plus it is traceable to the machine that created it for forensics ("What machine created this file on this NFS share?" kind of question for sysadmins - of course this is still voluntary of course). You can delete the file but any files it created with the ID will remain. Other than dbus internal usage, I noticed that machine-id is used by systemd-journald and the main log directory uses machine-id to create the directory in /var/log/journal so if you change your machine-id you'll need to fix this else old journals would be inaccessible by journalctl.


eccerr0r,

Ok! Thanks!!

However, I still have additional questions about setting up the equipment.
For example, the HP m1522nf MFP.
I've sorted out the printer part of this MFP and the device is printing properly.
And here's what concerns the Scanner. It just doesn't work out.
I use
Code:
hp-check
/usr/bin/hp-check:630: SyntaxWarning: invalid escape sequence '\s'
  lsusb_pat = re.compile("""^Bus\s([0-9a-fA-F]{3,3})\sDevice\s([0-9a-fA-F]{3,3}):\sID\s([0-9a-fA-F]{4,4}):([0-9a-fA-F]{4,4})(.*)""", re.IGNORECASE)
/usr/bin/hp-check:685: SyntaxWarning: "is not" with 'str' literal. Did you mean "!="?
  if 'getfacl' not in g and '' is not g and 'file' not in g:
Saving output in log file: /home/sg/hp-check.log

HP Linux Imaging and Printing System (ver. 3.24.4)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.                                   
2. Run-time check mode (-r or --run): Use this mode to determine if a distro   
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.                     
3. Both compile- and run-time check mode (-b or --both) (Default): This mode   
will check both of the above cases (both compile- and run-time dependencies).   

Check types:                                                                   
a. EXTERNALDEP - External Dependencies                                         
b. GENERALDEP - General Dependencies (required both at compile and run time)   
c. COMPILEDEP - Compile time Dependencies                                       
d. [All are run-time checks]                                                   
PYEXT SCANCONF QUEUES PERMISSION                                               

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: 9-2.17 version is not supported. Using 9-any versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 6.12.16-gentoo-dist #1 SMP PREEMPT_DYNAMIC Tue Mar  4 19:16:48 +07 2025 GNU/Linux
 Host: sgch
 Proc: 6.12.16-gentoo-dist #1 SMP PREEMPT_DYNAMIC Tue Mar  4 19:16:48 +07 2025 GNU/Linux
 Distribution: 9 2.17
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.24.4
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 9 distro  2.17 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.24.4

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.24.4-r1
html=/usr/share/doc/hplip-3.24.4-r1/html
icon=/usr/share/applications
cupsbackend=/usr/libexec/cups/backend
cupsfilter=/usr/libexec/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=no
fax-build=no
dbus-build=yes
cups11-build=no
doc-build=no
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.24.4
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.24.4



Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[fax]
email_address =
voice_phone =

[installation]
date_time = 03/09/25 04:31:12
version = 3.24.4

[last_used]
device_uri = "hp:/usb/HP_LaserJet_M1522nf_MFP?serial=00VNGT96XGL5"
printer_name = HP_LaserJet_M1522nf_MFP
working_dir = .

[polling]
device_list =
enable = false
interval = 5

[refresh]
enable = true
rate = 30
type = 2

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1741232738
notify_upgrade = false
pending_upgrade_time = 0


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

-------------------------
| External Dependencies |
-------------------------

 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.4.11          OK         'CUPS Scheduler is running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            10.04.0         OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.3.1           OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.15.8          OK         -
 error: policykit     PolicyKit - Administrative policy framework                  OPTIONAL        -               123             MISSING    'policykit needs to be installed'
 network              network -wget                                                OPTIONAL        -               1.25.0          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.8             OK         -

------------------------
| General Dependencies |
------------------------

 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.4.11          OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.4.11          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.40'         OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               1.3.1           OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               1.3.1           OK         -
 libavahi-dev         libavahi-dev                                                 REQUIRED        -               -               OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.9.4           OK         -
 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               3.3.3           OK         -
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.12.9          OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 python3-pyqt5-dbus   PyQt 5 DBus - DBus Support for PyQt5                         OPTIONAL        5.0             5.15.11         OK         -
 python3-pyqt5        PyQt 5- Qt interface for Python (for Qt version 4.x)         REQUIRED        5.0             5.15.11         OK         -
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.3.2           OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.6.4           OK         -
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.12.9          OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               11.1.0          OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             4.3.1           OK         -

--------------
| COMPILEDEP |
--------------

 libtool              libtool - Library building support services                  REQUIRED        -               2.5.4           OK         -
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               14.2.1          OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.4.1           OK         -

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.24.4          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.24.4          OK         -

----------------------
| Scan Configuration |
----------------------

error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of scanext.
 error: scanext       Scan-SANE-Extension                                          REQUIRED        -               3.24.4          MISSING    'scanext needs to be installed'

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI                                           Model                                 
  ---------------------------------------------------  --------------------------------------
  hp:/usb/HP_LaserJet_M1522nf_MFP?serial=00VNGT96XGL5  HP LaserJet M1522nf MFP               

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
HP_LaserJet_M1522nf_MFP
-----------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_M1522nf_MFP?serial=00VNGT96XGL5
PPD: /etc/cups/ppd/HP_LaserJet_M1522nf_MFP.ppd
PPD Description: HP LaserJet M1522 MFP Series Postscript (recommended)
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_M1522nf_MFP_2
-------------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_M1522nf_MFP?ip=192.168.0.28
PPD: /etc/cups/ppd/HP_LaserJet_M1522nf_MFP_2.ppd
PPD Description: HP LaserJet M1522 MFP Series Postscript (recommended)
Required plug-in status: Installed
Communication status: Good


--------------
| PERMISSION |
--------------

USB             HP_LaserJet_M1522nf_MFP        Required        -        -        OK       Node:'/dev/bus/usb/001/005' Perm:'  root  lp rw- rw- rw- rw- rw- r--'
 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None


Total Errors: 2
Total Warnings: 0


Done.



Code:
eix -I hplip
[I] network printing/hplip
     Available versions: 3.24.4-r1 {X doc fox +hpcups, hpijs, kde, libnotify, libusb0, qt5 scanner with minimal password access policy +snmp static-ppds PYTHON_SINGLE_TARGET="python3_10, python3_11, python3_12"}
Installed versions: 3.24.4-r1(02:36:30 03/09/2025)(X hpcups libnotify policykit qt5 snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport -scanner -static-ppds PYTHON_SINGLE_TARGET="python3_12 -python3_10 - python3_11")
Homepage: https://developers.hp.com/hp-linux-imaging-and-printing
     Description: HP Linux Imaging and Printing - Drivers for printing, Scanning, Faxing and service tools

[I] net-print/hplip-plugin
     Maximum length: 3.24.4 {orbits}
     Installed versions: 3.24.4m(04:37:35 06.03.2025)(- orbit)
     Home page: https://developers.hp.com/hp-linux-imaging-and-printing/plugins
     Description: Proprietary plug-ins and firmware for HPLIP


Code:
scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


Errors:
1.
Code:
error: policykit     PolicyKit - Administrative policy framework                  OPTIONAL        -               123             MISSING    'policykit needs to be installed'

But,
Code:
eix -I polkit
[I] acct-group/polkitd
     Available versions:      0-r3
     Installed versions: 0-r3(01:46:04 03/25/2024)
Description:              System group: polkitd

[I] acct-user/polkitd
     Available versions:      0-r3
     Installed versions: 0-r3(01:46:36 03/25/2024)
Description:              System user: polkitd

[I] gnome-extra/polkit-gnome
     Available versions:      0.105-r2
     Installed versions: 0.105-r2(22:03:01 03/13/2024)
Homepage: https://gitlab .freedesktop.org/polkit/polkit/
     Description:              A dbus session bus service that is used to bring up authentication dialogs

[I] sys-auth/polkit
Available versions:      123-r1^t [M]124-r1^t [M]~125^t [M]125-r1^t [M]**9999*l^t [M]**9999-r1*l^t {+daemon +duktape examples gtk +introspection kde pam selinux systemd test}
     Installed versions: 123-r1^t(00:40:05 11/11/2024)(daemon gtk introspection pam -examples -kde -selinux -systemd -test)
Homepage: https://www.freedesktop.org/wiki/Software/polkit https://github.com/polkit-org/polkit
     Description:              Policy framework for controlling privileges for system-wide services

[I] sys-auth/polkit-qt
     Available versions:      0.200.0 {+qt5 qt6}
     Installed versions: 0.200.0(17:29:40 06.03.2025)( qt5 qt6)
Homepage: https://api.kde.org/polkit-qt-1/html/
     Description:              Qt wrapper around polkit-1 client libraries

And
2.
Code:
error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of scanext.
 error: scanext       Scan-SANE-Extension                                          REQUIRED        -               3.24.4          MISSING    'scanext needs to be installed'

But, I see for link https://forums.gentoo.org/viewtopic-t-1086510-start-0.html
And I don't understand, how fix to my 2 errors ?
If you know how you can help, then please tell me ?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9923
Location: almost Mile High in the USA

PostPosted: Sat Mar 08, 2025 11:38 pm    Post subject: Reply with quote

This is sort of beyond installation and probably should be put in a new thread on a different subforum, maybe multimedia.

I don't have much experience with hplip. Most people I heard from it was fairly seamless but I don't know much about it... perhaps you need to tell portage USE=scanner for hplip for it to have the xsane extensions installed?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
soustan
n00b
n00b


Joined: 12 Apr 2020
Posts: 17

PostPosted: Sun Mar 09, 2025 12:20 am    Post subject: Reply with quote

eccerr0r wrote:
This is sort of beyond installation and probably should be put in a new thread on a different subforum, maybe multimedia.

I don't have much experience with hplip. Most people I heard from it was fairly seamless but I don't know much about it... perhaps you need to tell portage USE=scanner for hplip for it to have the xsane extensions installed?


Yes, of course!
That's exactly what you should have done!!
Thank you very much!!
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