Bug 14457 - Missing hwdb.bin at start of boot of mga5-beta1 (classic DVD iso install)
Summary: Missing hwdb.bin at start of boot of mga5-beta1 (classic DVD iso install)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: High major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: 5beta1
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 21:30 CET by Len Lawrence
Modified: 2014-11-07 10:14 CET (History)
5 users (show)

See Also:
Source RPM: systemd
CVE:
Status comment:


Attachments
Automatically generated report for failed KDE live iso (56.15 KB, text/plain)
2014-11-05 17:49 CET, Len Lawrence
Details

Description Len Lawrence 2014-11-04 21:30:25 CET
Description of problem:
Installed Cauldron on a Dell XPS M1730 laptop from a
Mageia-5-beta1-x86_64-DVD ISO on a USB stick.  No problems but soon after reboot the warning message

"hwdb.bin does not exist" is posted before the normal splash screen takes over.  The user is advised to run "udevadm hwdb --update".  Did that, as root, as soon as a desktop environment was established and then rebooted.  The error/warning message still pops up near the start.  harddrake2 succeeds in probing and identifying all the hardware components as far as I can see.

The hwdb.bin message also occurs for the non-booting live isos.
Marked this as minor but no workaround is known.

Version-Release number of selected component (if applicable):


How reproducible:
Every boot, including one with the latest desktop kernel update.

Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Rémi Verschelde 2014-11-04 22:12:50 CET
Also affects 5beta1 Live ISOs and (supposedly) prevents them from booting.
See: https://lut.im/3YRlJoOC/cAQN4tfq

Priority: Normal => High
CC: (none) => remi
Source RPM: dracut-038-4.mga5 possibly => systemd
Whiteboard: (none) => 5beta1
Severity: minor => major

Comment 2 Thomas Backlund 2014-11-05 12:35:54 CET
Should have been fixed in  systemd-217-5.mga5 wxh is included in classical isos round 4

CC: (none) => tmb

Comment 3 Len Lawrence 2014-11-05 17:49:46 CET
Created attachment 5577 [details]
Automatically generated report for failed KDE live iso

Len Lawrence: Forgot to attach this to the original report.
Comment 4 Morgan Leijström 2014-11-05 19:15:34 CET
On three machines already running cauldron this appeared after updates i made a couple days ago.

I do not know if it is related, but one of the systems fail to get to desktop using latest kernel even after installing systemd-217-5.mga5.
Booting on the earlier kernel, 3.17.1-desktop-2.mga5 works.

Last message on screen is about UTMP - see bug 14106 #14

CC: (none) => fri

Comment 5 Davide Nifosi 2014-11-06 19:11:21 CET
Can confirm that the message appears on my Cauldron installation as well (latest update; it started a few days ago). It doesn't seem to cause any problems. Already ran "udevadm hwdb --update" with no change

CC: (none) => ita84

Comment 6 Rémi Verschelde 2014-11-06 23:54:53 CET
(In reply to Thomas Backlund from comment #2)
> Should have been fixed in  systemd-217-5.mga5 wxh is included in classical
> isos round 4

The systemd issues were fixed, but the "missing hwdb.bin" error is still valid in current cauldron.

I'm not sure what it impacts, but I recently noticed that my webcam is not detected anymore, and since "hwdb" probably stands for "hardware database", I wonder if there would be a link?

CCing Colin.

CC: (none) => mageia

Comment 7 Colin Guthrie 2014-11-07 10:00:06 CET
The error is from your initramfs, so after upgrading systemd, make sure you update your initrd (or wait for a new kernel to do it for you).

Normally, you can just run "dracut -f", but if you've not got older kernels around that you know boot the machine, I'd take a backup first!

FWIW, I reverted a larger patch in our systemd that triggered this error (and because Thomas reported a 0-byte hwdb.bin file on the live ISOs and this was the only patch that I could see having an impact - even though I couldn't spot any obvious bug), but after a bit more investigation I think the upstream patch is fine, but was a little too verbose in it's complaining about a missing hwdb file - especially in the initrd. I spoke to the patch author, Martin Pitt from Ubuntu, and he concurred that the error message should be dialed back to debug as originally because the initrd case is perfectly valid and he hadn't considered that in the original patch.

So I pushed the fix for that upstream http://cgit.freedesktop.org/systemd/systemd/commit/?id=8232e39e7cf32071e11b3b04839e6c98fbc81d0f

Once things have settled a bit, I'll probably undo the revert of the patch and add in the above one instead, but we don't really need the functionality it's providing, so we're good to keep it reverted for now.

Anyway, I think this *is* fixed in cauldron, just need to regenerate the initrd!
Comment 8 Rémi Verschelde 2014-11-07 10:14:27 CET
I confirm that regenerating the initrd with "dracut -f" fixes the error in cauldron.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.