You are not logged in.

#1 2008-12-29 16:04:02

s.g.
Member
Registered: 2008-12-29
Posts: 3

[SOLVED] kernel26-ice 2.6.28-1 and "encrypt" hook weirdness

Guys, is there anything special about dm-crypt or cryptsetup in kernel26-ice 2.6.28-1 compared to the previous kernels?
Here's my problem - I have a setup with encrypted root and swap partitions made under the older kernel (I think it was kernel26 2.6.26-some-small-number).
After I upgraded to kernel26-ice 2.6.28-1, the "encrypt" hook complains that "Command failed: Can not access device". 
This is the "encrypt" hook that was installed during the initial system setup, no modifications (md5: 40fee2419cd444cfb283c311f9555d2d).
Seems it's unable to map the device, but I can't figure why or even what to start looking at.
I'd be grateful for any pointers.

s.g.

Last edited by s.g. (2008-12-30 22:20:33)

Offline

#2 2008-12-29 18:56:08

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: [SOLVED] kernel26-ice 2.6.28-1 and "encrypt" hook weirdness

hey, can you post /boot/grub/menu.lst and you mkinitcpio.conf files (for both kernels)?

my guesses (without more information) are:

a) you're giving the wrong option to root= and some program called by the [encrypt] hook can't find what you've told it look for.
b) you dont' have all the modules you need in the -ice kernel's initcpio, and the block device with root isn't being created
c) similarly, udev is screwing up somehow.  are you using the [autodetect] hook or specifying the modules.
d) did you rebuild the mkinitcpio for the -ice kernel?


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#3 2008-12-30 12:11:22

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: [SOLVED] kernel26-ice 2.6.28-1 and "encrypt" hook weirdness

Is it the same issue as the last person in this thread? http://bbs.archlinux.org/viewtopic.php?id=55842


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#4 2008-12-30 13:39:37

s.g.
Member
Registered: 2008-12-29
Posts: 3

Re: [SOLVED] kernel26-ice 2.6.28-1 and "encrypt" hook weirdness

kludge wrote:

hey, can you post /boot/grub/menu.lst and you mkinitcpio.conf files (for both kernels)?

Just pasted the menu.lst and immediately saw I was booting the right kernel26-ice.img but the wrong vmlinuz -
vmlinuz26 instead of vmlinuz26-ice. Fixed that line and things returned back to normal.
How silly of me. Don't know how that escaped my eye before. Should be more attentive in the future.
Thanks a lot.

s. g.

Offline

#5 2008-12-30 18:27:16

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: [SOLVED] kernel26-ice 2.6.28-1 and "encrypt" hook weirdness

this is exactly why i haven't tried to install a parallel kernel yet... i *know* i'll do the exact same thing!  go ahead and mark as solved.


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#6 2008-12-30 22:27:47

s.g.
Member
Registered: 2008-12-29
Posts: 3

Re: [SOLVED] kernel26-ice 2.6.28-1 and "encrypt" hook weirdness

Marked as solved - and happy New Year to all of you!

s.g.

Offline

Board footer

Powered by FluxBB