Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rushmorem opened this issue Dec 8, 2014 · 8 comments
Closed

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

rushmorem opened this issue Dec 8, 2014 · 8 comments

Comments

@rushmorem
Copy link
Contributor

I'm running NixOS on the unstable channel. Hadn't updated my system in a couple of weeks or so. Yesterday I ran nixos-rebuild switch --upgrade. Upon restarting the machine GUI applications can't run, since X11 is failing to start.

The system partition is encrypted. Right before I get prompted for the passphrase I'm getting an error message saying hwdb.bin does not exist, please run udevadm hwdb --update. Once I enter my passphrase, the system proceeds to boot fine. I can login into xterm and all command line applications are running fine. Can't run any GUI apps though.

I tried running the said command by putting it in my configuration.nix file as boot.postBootCommands ie boot.postBootCommands = "udevadm hwdb --update"; to no avail.

In /var/log/x-0.log and /var/log/X.0.log I'm seeing the following error message... (EE) systemd-logind: failed to get session: PID 2804 does not belong to any known session.

@jgeerds
Copy link
Member

jgeerds commented Dec 8, 2014

I can confirm this hwdb.bin does not [...] message. Your X11 problems are probably due to #4923

@rushmorem
Copy link
Contributor Author

That's what I thought as well but @vcunat's X11 server is still running fine according to that issue.

@domenkozar
Copy link
Member

The message is unrelated to X11 problems - I corrected the title

@domenkozar domenkozar changed the title hwdb.bin does not exist, please run udevadm hwdb --update and X11 can't start hwdb.bin does not exist, please run udevadm hwdb Dec 8, 2014
@rushmorem rushmorem changed the title hwdb.bin does not exist, please run udevadm hwdb hwdb.bin does not exist, please run udevadm hwdb --update Dec 8, 2014
@rushmorem
Copy link
Contributor Author

@iElectric thanks.

@lucabrunox
Copy link
Contributor

Ignore the hwdb message, it's always been there, just not verbose.

@jgeerds
Copy link
Member

jgeerds commented Dec 8, 2014

X11 problem is related to #5266

@vcunat
Copy link
Member

vcunat commented Dec 9, 2014

  • hwdb: I read on some Arch forum that the hwdb message should be ignored and will disappear in some following systemd release.
  • systemd-logind: systemd-logind problem? #4923

I believe the real problem is that our ati_unfree doesn't work ATM (#5266). If you find the problem looks different, probably open a fresh issue.

@vcunat vcunat closed this as completed Dec 9, 2014
edolstra added a commit that referenced this issue Dec 19, 2014
Issue #5260.

(cherry picked from commit 3d834a464ad63c8a4a4aa869fb1869fef1734702)
edolstra added a commit that referenced this issue Dec 19, 2014
@vcunat
Copy link
Member

vcunat commented Dec 20, 2014

Fixed, nice :-)

adrianpk added a commit to adrianpk/nixpkgs that referenced this issue May 31, 2024
Issue NixOS#5260.

(cherry picked from commit 3d834a464ad63c8a4a4aa869fb1869fef1734702)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants