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 missing in initrd? #39

Open
tilt12345678 opened this issue Aug 11, 2015 · 3 comments
Open

hwdb missing in initrd? #39

tilt12345678 opened this issue Aug 11, 2015 · 3 comments

Comments

@tilt12345678
Copy link
Contributor

testing the installation procedure, i am getting a vdev_preseed_run = 127 problem, the system being unable to boot because LVM devices are not found. more generally, vdev apparently completely fails to start.

i went through the entries in etc/vdev/vdevd.conf and suspect it due to the hwdb not being included with the initrd:

vdev# mkdir tmp ; cd tmp
tmp# zcat ../example/initrd.img-4.1.0-1-amd64 | cpio -i
tmp# grep hwdb etc/vdev/vdevd.conf
hwdb=//lib/vdev/hwdb/hwdb.squashfs
tmp# ls lib/vdev/hwdb/hwdb.squashfs
ls: cannot access lib/vdev/hwdb/hwdb.squashfs: No such file or directory
tmp#

@jcnelson
Copy link
Owner

Hi tilt,

Good catch. I just pushed a fix to the vdev initramfs hook script to include it.

Can you send me a trace of exactly what happens prior to the vdev_pressed_run error? Exit 127 just means the shell couldn't find a command to execute, but I need to know which one :).

Thanks!
-Jude

@tilt12345678
Copy link
Contributor Author

I'm sorry for my late reply.

I just retried. The hwdb is now there but fails to be mounted by losetup.

Here's a screenshot of the emergency shell where I try to verify that everything is where vdev.conf assumes it to be:
vdev-screenshot

Here's a screenshot of trying to start vdevd manually, and then start the command that fails manually:
vdev-screenshot2

Here's a screenshot of me tracing dev-setup.sh where it fails to mount the hwdb.
vdev-screenshot3

@jcnelson
Copy link
Owner

Hi @tilt12345678,

Thank you for posting screenshots!

I encountered the same problems this past weekend. I just pushed a bunch of fixes to the master branch that should have fixed them. Can you confirm when you get a chance?

Thanks,
Jude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants