You are not logged in.

#1 2014-11-07 13:16:39

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

[Solved] hwdb.bin does not exist

Hi,

on every boot I can see the message

hwdb.bin does not exist, please run udevadm hwdb --update

"locate hwdb.bin" shows me

/etc/udev/hwdb.bin

so the file does exist. Running "udevadm hwdb --update" does nothing. No error message, no success hint. I'm not having any obviously regressions, but I was wondering about it.


Does anybody know what that means? Thank you!

Last edited by Thorsten Reinbold (2014-11-07 14:10:13)

Offline

#2 2014-11-07 13:51:01

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] hwdb.bin does not exist

It doesn't exist in your initramfs. You can ignore the "error" -- it'll be a debug level message again in systemd 218.

Offline

#3 2014-11-07 14:11:54

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

Re: [Solved] hwdb.bin does not exist

Thanks for your quick response. What is that hwdb.bin for?

Offline

#4 2014-11-07 19:49:35

Potomac
Member
Registered: 2011-12-25
Posts: 519

Re: [Solved] hwdb.bin does not exist

hwdb.bin is an hardware database index file,

falconindy wrote:

It doesn't exist in your initramfs. You can ignore the "error"

we can ignore the error but an alternative would be to add the file hwdb.bin in the initramfs,

what is the method if we want to add the file " /etc/udev/hwdb.bin" in initramfs ?

Last edited by Potomac (2014-11-07 19:50:17)

Offline

#5 2014-11-07 19:57:59

Potomac
Member
Registered: 2011-12-25
Posts: 519

Re: [Solved] hwdb.bin does not exist

I think I found the method for adding files in initramfs :

https://wiki.archlinux.org/index.php/mk … _and_FILES

edit /etc/mkinitcpio.conf by adding this line :

FILES="/etc/udev/hwdb.bin"

then run :

# mkinitcpio -p linux

Offline

#6 2014-11-08 17:32:54

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] hwdb.bin does not exist

Adding the hwdb bloats the initramfs for no gain. There's no need to add it.

Offline

#7 2014-11-08 20:12:28

Potomac
Member
Registered: 2011-12-25
Posts: 519

Re: [Solved] hwdb.bin does not exist

the size of my initramfs is 7 Mb after adding the file, which is negligible when we have a modern harddisk ( 1 Tb ),

the goal is to cancel this error message ( this is the "gain" here for the user ), not to have the smallest file

Last edited by Potomac (2014-11-08 20:13:14)

Offline

#8 2014-11-08 20:27:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] hwdb.bin does not exist

It's you system, do what you want. You can check if it's still needed when systemd 218 comes along.


@falconindy
Thanks for explaining.

Offline

#9 2014-11-08 23:32:01

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] hwdb.bin does not exist

Potomac wrote:

the size of my initramfs is 7 Mb after adding the file, which is negligible when we have a modern harddisk ( 1 Tb ),

the goal is to cancel this error message ( this is the "gain" here for the user ), not to have the smallest file

Will you still keep this after systemd 218 lands and this "error" is reverted to a debug message?

Offline

#10 2014-11-08 23:59:54

Potomac
Member
Registered: 2011-12-25
Posts: 519

Re: [Solved] hwdb.bin does not exist

of course I will remove hwdb.bin from initramfs if they revert this error message to a debug message

Last edited by Potomac (2014-11-09 00:00:12)

Offline

#11 2014-11-12 14:26:27

sirocco
Member
Registered: 2008-03-10
Posts: 147

Re: [Solved] hwdb.bin does not exist

Thorsten Reinbold wrote:

Hi,

on every boot I can see the message

hwdb.bin does not exist, please run udevadm hwdb --update

In what log file I can see this message?

Offline

#12 2014-11-12 14:29:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] hwdb.bin does not exist

journalctl.

Offline

#13 2014-11-12 15:16:39

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

Re: [Solved] hwdb.bin does not exist

karol wrote:

journalctl.

I saw that message during the boot process, but couldn't find it in the logs.

Offline

#14 2014-11-12 15:47:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] hwdb.bin does not exist

$ journalctl -b0 | grep hwdb.bin
Nov 11 19:53:25 localhost systemd-udevd[52]: hwdb.bin does not exist, please run udevadm hwdb --update

Offline

#15 2014-11-12 16:34:47

sirocco
Member
Registered: 2008-03-10
Posts: 147

Re: [Solved] hwdb.bin does not exist

[root@archu330p ~]# journalctl -b0 | grep hwdb.bin
[root@archu330p ~]# 

But I saw the message (hwdb.bin does not exist ...) during the boot process.

Offline

#16 2014-11-12 23:21:41

Potomac
Member
Registered: 2011-12-25
Posts: 519

Re: [Solved] hwdb.bin does not exist

we can see this message during the boot process, it's the first line before these lines :

:: running early hook [udev]
:: running hook [udev]
:: Triggering uvents...

you can try with "dmesg | grep hwdb.bin"

there is no need to worry about this message, you can ignore this "error" message, or you can add the file hwdb.bin in initramfs

Last edited by Potomac (2014-11-12 23:24:37)

Offline

#17 2014-11-14 10:47:20

ondoho
Member
Registered: 2013-04-30
Posts: 690
Website

Re: [Solved] hwdb.bin does not exist

I'm having the exact same "problem" as op on a new install.
quotation marks because the system boots fine; i just want to know if it's of any consequence.

after some searching, i found this thread, which explains everything. once again, i'm satisfied. thanks to arch forums.

in the past 1,5 years i rarely had the need to start a thread - almost always a solution can be found by searching through the forums & the wiki.
this is wonderful and makes up for the otherwise somewhat cool atmosphere ;-)

just to add some "real" content to this post, i have tried

# journalctl | grep hwdb.bin
# dmesg | grep hwdb.bin

and don't get any output, either.

Last edited by ondoho (2014-11-14 10:50:26)


However studied and stilted your rant, it can never hide the base and primitve emotion that inspired it.
There's no objectivity.

Offline

#18 2014-11-16 01:23:02

manulari
Member
Registered: 2014-09-08
Posts: 2

Re: [Solved] hwdb.bin does not exist

I also noticed the message and came here after googling.

Out of curiosity - when would I need a hwdb.bin file in my initramfs?

Is this facility documented anywhere?

Offline

#19 2014-11-16 01:37:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,677
Website

Re: [Solved] hwdb.bin does not exist

manulari wrote:

Is this facility documented anywhere?

man udevadm

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#20 2014-11-16 01:43:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#21 2014-11-16 01:55:43

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: [Solved] hwdb.bin does not exist

A bit puzzling though that for some the message shows up in the journal and for others, me included (though my Archy is quite an 'open bar' as of late lol), it does not...


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#22 2014-11-16 23:25:05

weirddan455
Member
Registered: 2012-04-15
Posts: 205

Re: [Solved] hwdb.bin does not exist

root wrote:

A bit puzzling though that for some the message shows up in the journal and for others, me included (though my Archy is quite an 'open bar' as of late lol), it does not...

I think it will only show for initramfs images created after the update to systemd 217.  I only got this error when I updated to kernel 3.17.3 today.

Offline

#23 2014-11-17 00:41:46

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 6,124

Re: [Solved] hwdb.bin does not exist

root wrote:

A bit puzzling though that for some the message shows up in the journal and for others, me included (though my Archy is quite an 'open bar' as of late lol), it does not...

How soon after boot did you check the journal?

The journal is restricted in size, with the precise size depending on both your configuration and your available disk space (at least). (Depending on your configuration 'available disk space' may actually be a matter of 'available RAM'.)

So if you look for the message some time after booting, it may have disappeared. And, of course, the time involved will also depend on how 'busy' your log facilities are i.e. how much else is written to the journal.

At least, I think so.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Corporation Wireless 8265 / 8275 | US keyboard with Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#24 2014-11-17 02:01:21

colinkeenan
Member
From: Kansas City, MO USA
Registered: 2013-06-13
Posts: 213
Website

Re: [Solved] hwdb.bin does not exist

I have also not been able to find this message using journalctl (or dmesg) even though it's definitely showing up on boot.

Although I restrict the size of my journal, there's month's worth of logs in there, so it doesn't make sense that anything from the current boot has been deleted. I even read the current and previous sessions from beginning to end, and it would appear to all be there, except for this message. Strange.

I update everyday (several times on some days), so have the latest kernel.

Offline

#25 2014-11-17 03:12:25

LarryAtLinaxe
Member
Registered: 2014-11-17
Posts: 1

Re: [Solved] hwdb.bin does not exist

I'm receiving this error after upgrading to 3.17.3 also.  I realize I can ignore it until systemd 218 - but perplexed as to why I don't see the error after grepping dmesg or journalctl output.  I'm not limiting the size of my journal, so I *should* see it.  I can't quite accept that this is a bunk message, and as a result it may not be logged as expected.  It's weird.

Offline

Board footer

Powered by FluxBB