kernel oops when trying to create filesystems in a dm-crypt plus lvm setup

Bug #486345 reported by Steve Girard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

I'm trying to install kubuntu 9.10 with its alternate install cd for amd64 (2.6.31-14-generic). During the partitioning I go to the console to create my encrypted LVM with dm-crypt:

hdd layout:
/dev/sda1 windows
/dev/sda2 windows
/dev/sda3 /boot
/dev/sda4 extended partition
/dev/sda5 device for encrypted lvm

$ cryptsetup luksFormat -c aes-cbc-essiv:sha256 -s 256 /dev/sda5
$ cryptsetup luksOpen /dev/sda5 sda5_crypt
$ pvcreate vg0 /dev/mapper/sda5_crypt
$ lvcreate -n root -L 10G vg0
$ lvcreate -n swap -L 10G vg0
$ lvcreate -n usr -L 20G vg0
$ lvcreate -n var -L 40G vg0
$ lvcreate -n home -L 80G vg0

After that I create file systems on those created devices.

$ mkfs.ext4 /dev/mapper/vg0-root
$ mkfs.ext4 /dev/mapper/vg0-usr
$ mkfs.ext4 /dev/mapper/vg0-var
$ mkfs.ext4 /dev/mapper/vg0-home

During the creation of filesystem it comes to a kernel oops (it's reproducable, mostly happens at var or home). I don't have any way to copy paste the oops, so I'll attach a photo of it. I typed out the most important messages:

BUG: unable to handle kernel paging request at ....
IP: [...] crypt_dec_pending+0x14/0x90 [dm_crypt]
PGD 21f1a8067 PUD 0
Oops: 0000 [#2] SMP
last sysfs file: /sys/devices/virtual/block/dm-3/uevent

That box is also running windows xp rock stable. So I would not guess on a hardware fault.

Revision history for this message
Steve Girard (ich-kjeld) wrote :
Revision history for this message
Steve Girard (ich-kjeld) wrote :

Just set the bug invalid. I also get a kernel oops when not using encryption. I will further investigate and open a new bug if needed.

Changed in ubuntu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.