Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev error message
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1740

PostPosted: Tue Feb 14, 2012 2:00 am    Post subject: udev error message Reply with quote

I guess this goes here.

When udev starts during boot, I get the message:

Code:

udevd[200]: failed to execute '/lib/udev/pci-db' 'pci-db /devices/pci0000:00/0000:00:1f.2' : No such file or directory


Just to include this:

Code:

$ /usr/sbin/lspci

[...]

00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)

[...]


Can anyone explain what is causing this (and how to get rid of it)?
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Sat Feb 18, 2012 5:30 pm    Post subject: Reply with quote

do you have /usr as a partition? I think there is a bug (which has been filed, but I can't find the link) in udev which causes it to start prior to system partitions.
_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
quanta
n00b
n00b


Joined: 11 Sep 2010
Posts: 61

PostPosted: Mon Feb 27, 2012 8:08 pm    Post subject: Reply with quote

cdstealer wrote:
do you have /usr as a partition? I think there is a bug (which has been filed, but I can't find the link) in udev which causes it to start prior to system partitions.

https://bugs.gentoo.org/show_bug.cgi?id=364235
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Mon Feb 27, 2012 8:09 pm    Post subject: Reply with quote

that's the one.. many thanks quanta
_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1740

PostPosted: Wed Mar 07, 2012 1:32 am    Post subject: Reply with quote

cdstealer wrote:
do you have /usr as a partition? I think there is a bug (which has been filed, but I can't find the link) in udev which causes it to start prior to system partitions.


No. I have a separate /boot partition, but /usr resides in /.
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 404
Location: Paris

PostPosted: Tue Mar 13, 2012 10:07 am    Post subject: Reply with quote

I have the same problem. has it been solved?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Apr 07, 2012 12:24 pm    Post subject: Reply with quote

I too have this problem (/usr is on /) and indeed the message is
correct

/lib/udev/pci-db

does not exist.

Should it? What is it anyway?

Its absence has no effect that I can observe.
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
ghicksrn
n00b
n00b


Joined: 30 Mar 2012
Posts: 11
Location: Tennessee

PostPosted: Sun Apr 08, 2012 3:16 pm    Post subject: I had the same problem before Reply with quote

I solved it by info from this thread in the forums.
Adding the line
Code:
>=sys-fs/udev-171-r5 extras
to /etc/portage/package.use, then running
Code:
emerge -avuND world
has eliminated the error from my system.
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 404
Location: Paris

PostPosted: Sun Apr 08, 2012 4:06 pm    Post subject: Reply with quote

what does it stand for?
Back to top
View user's profile Send private message
ghicksrn
n00b
n00b


Joined: 30 Mar 2012
Posts: 11
Location: Tennessee

PostPosted: Fri Apr 13, 2012 5:09 pm    Post subject: Reply with quote

That sets udev to be compiled with the extras flag and updates the system with the new use flag.
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 404
Location: Paris

PostPosted: Fri Apr 13, 2012 5:14 pm    Post subject: Reply with quote

ghicksrn wrote:
That sets udev to be compiled with the extras flag and updates the system with the new use flag.


Thank, I know what the command means. I want to know what it changes for system or something else, for ex. does it make some some particular device be recognized.
Back to top
View user's profile Send private message
shur
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2004
Posts: 95

PostPosted: Thu Jun 07, 2012 11:15 am    Post subject: Reply with quote

It seems to do lots of things but among them it creates the udev/pci-db which the error message complains about the lack of.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Thu Jun 07, 2012 11:45 am    Post subject: Reply with quote

The new flag is USE="hwdb" instead of the obsolete USE="extras" bundle.
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Thu Dec 06, 2012 6:21 am    Post subject: Reply with quote

ssuominen wrote:
The new flag is USE="hwdb" instead of the obsolete USE="extras" bundle.


This issue still exists. I have sys-fs/udev-196-r1 with hwdb use flag installed, but i still see the same error message a few times in the log file during boot.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Dec 06, 2012 10:02 am    Post subject: Reply with quote

VoVaN wrote:
ssuominen wrote:
The new flag is USE="hwdb" instead of the obsolete USE="extras" bundle.


This issue still exists. I have sys-fs/udev-196-r1 with hwdb use flag installed, but i still see the same error message a few times in the log file during boot.

:roll: Now it's a completely different problem - as of 196, pci-db/usb-db are gone. Now, there's a builtin hwdb command in udev that handles those.
Likely, some of the rules not installed by udev need to be updated. If it's a rule installed by udev, it's a bug.
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Thu Dec 06, 2012 11:00 am    Post subject: Reply with quote

VoidMage wrote:
VoVaN wrote:
ssuominen wrote:
The new flag is USE="hwdb" instead of the obsolete USE="extras" bundle.


This issue still exists. I have sys-fs/udev-196-r1 with hwdb use flag installed, but i still see the same error message a few times in the log file during boot.

:roll: Now it's a completely different problem - as of 196, pci-db/usb-db are gone. Now, there's a builtin hwdb command in udev that handles those.
Likely, some of the rules not installed by udev need to be updated. If it's a rule installed by udev, it's a bug.


Oke, thanks for the explanation. Actually it's not udev, but the old version of udisks-1.0.4-r3. The relevant line in 80-udisks.rules
Code:

SUBSYSTEM=="pci", ACTION=="add|change", ENV{ID_MODEL_FROM_DATABASE}=="", ATTR{class}=="0x01*", IMPORT{program}="pci-db %p"
Back to top
View user's profile Send private message
ryszardzonk
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 225
Location: Rzeszów, POLAND

PostPosted: Mon Mar 14, 2016 11:46 pm    Post subject: Reply with quote

VoVaN wrote:
Oke, thanks for the explanation. Actually it's not udev, but the old version of udisks-1.0.4-r3. The relevant line in 80-udisks.rules
Code:

SUBSYSTEM=="pci", ACTION=="add|change", ENV{ID_MODEL_FROM_DATABASE}=="", ATTR{class}=="0x01*", IMPORT{program}="pci-db %p"

Is there any getting rid of this message? Coloring of dmesg made it stand out in the crownd with that red color ;) Looks like a lot packages still use old version of udisks.
This is what is looks like at my system
Code:
equery g =sys-fs/udisks-1.0.5-r1
 * Searching for udisks1.0.5-r1 in sys-fs ...

 * dependency graph for sys-fs/udisks-1.0.5-r1
 `--  sys-fs/udisks-1.0.5-r1  amd64
   `--  dev-libs/dbus-glib-0.106  (>=dev-libs/dbus-glib-0.100) ~amd64
   `--  dev-libs/glib-2.46.2-r2  (>=dev-libs/glib-2.30) amd64
   `--  dev-libs/libatasmart-0.19-r1  (>=dev-libs/libatasmart-0.19) amd64
   `--  sys-auth/polkit-0.113-r1  (>=sys-auth/polkit-0.110) ~amd64
   `--  sys-apps/dbus-1.10.8  (>=sys-apps/dbus-1.6) ~amd64
   `--  sys-apps/sg3_utils-1.42  (>=sys-apps/sg3_utils-1.27.20090411) ~amd64
   `--  sys-block/parted-3.2-r1  (>=sys-block/parted-3) ~amd64
   `--  sys-fs/lvm2-2.02.145-r1  (>=sys-fs/lvm2-2.02.66) ~amd64
   `--  virtual/libgudev-230  (virtual/libgudev) amd64
   `--  virtual/libudev-215-r1  (virtual/libudev) amd64
   `--  virtual/udev-217  (virtual/udev) ~amd64
   `--  sec-policy/selinux-devicekit-2.20151208-r2  (sec-policy/selinux-devicekit) ~amd64
   `--  app-text/docbook-xsl-stylesheets-1.79.1-r1  (app-text/docbook-xsl-stylesheets) ~amd64
   `--  dev-libs/libxslt-1.1.28-r5  (dev-libs/libxslt) amd64
   `--  dev-util/intltool-0.51.0-r1  (dev-util/intltool) ~amd64
   `--  virtual/pkgconfig-0-r1  (virtual/pkgconfig) amd64
   `--  sys-apps/util-linux-2.27.1  (>=sys-apps/util-linux-2.20.1-r2) ~amd64
   `--  virtual/eject-0  (virtual/eject) amd64
   `--  net-dns/avahi-0.6.32  (net-dns/avahi) ~amd64
[ sys-fs/udisks-1.0.5-r1 stats: packages (20), max depth (1) ]

_________________
Sky is not the limit...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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