You are not logged in.
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
Thanks for your quick response. What is that hwdb.bin for?
Offline
hwdb.bin is an hardware database index file,
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
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
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
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
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
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
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
journalctl.
Offline
journalctl.
I saw that message during the boot process, but couldn't find it in the logs.
Offline
$ 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
[root@archu330p ~]# journalctl -b0 | grep hwdb.bin
[root@archu330p ~]#
But I saw the message (hwdb.bin does not exist ...) during the boot process.
Offline
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
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)
Offline
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
Is this facility documented anywhere?
man udevadm
Offline
Offline
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
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
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.
CLI Paste | How To Ask Questions
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 Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
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
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