Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
gerdOffline
15 Post subject: [Solved] Kernel + luks = defect  PostPosted: 03.08.2011, 13:42



Joined: 2010-09-13
Posts: 94

Status: Offline
On my local system i ran i root encyrpted system with kernel 3.0-0.slh.5 (64bit) successful.
I installed 3.0-0.slh.7 on my server (32bit) (including dropbear to decrypt lvm remote), but when asking for password following messages are displayed
      Code:
could not determine kernel version used
cannot initialize device mapper. is dm_mod kernel module loaded?


typing password local is not succesful ("bad password").
trying to type it remote dropbear asks for a root password where it uses keyfiles.

Booting a old kernel is still working.

edit: remote uncrypting is also on old kernel defect. probaly another problem. please ignore it.

edit2: this happend after a d-u. The last d-u was with kernel 2.6.39-0.slh.3-aptosid-686


Last edited by gerd on 04.08.2011, 12:57; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
gerdOffline
Post subject: RE: Kernel + luks = defect  PostPosted: 04.08.2011, 10:41



Joined: 2010-09-13
Posts: 94

Status: Offline
On my amd64 system (without dropbear but with standard luks encrypted root fs) i don't have problems with kernel 3.0.-0.slh.8-aptosid-amd64.

Can anybody confirm or not confirm the problem above?
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: Kernel + luks = defect  PostPosted: 04.08.2011, 12:11
Team Member


Joined: 2010-08-26
Posts: 258

Status: Offline
I can guess at the problem, did you just install the kernel on the system with the problem and not do a full d-u and is this the first 3.0 kernel it has seen? In that case the problem is that you (at least) don't have the fixed dmsetup package.
 
 View user's profile Send private message  
Reply with quote Back to top
gerdOffline
Post subject: RE: Kernel + luks = defect  PostPosted: 04.08.2011, 12:14



Joined: 2010-09-13
Posts: 94

Status: Offline
I did a d-u and it first the first 3.0 kernel. Last d-u was about 2 months ago. I have the standard dmsetup package installed.

I tried also to put dm_mod into
/etc/initramfs-tools/module (and update-initramfs) but without success. I cant decrypt the partition at boot (so i can't boot) with kernel 3.0 while it works with kernel 2.6.39
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: Kernel + luks = defect  PostPosted: 04.08.2011, 12:47
Team Member


Joined: 2010-08-26
Posts: 258

Status: Offline
What version of dmsetup do you have on there?
 
 View user's profile Send private message  
Reply with quote Back to top
gerdOffline
Post subject: RE: Kernel + luks = defect  PostPosted: 04.08.2011, 12:56



Joined: 2010-09-13
Posts: 94

Status: Offline
That was it.
in sources.list i missed fix.main for aptosid repos so i missed the patched dmsetup.
All works fine now. Thx for help.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio