kernel oops when trying to create filesystems in a dm-crypt plus lvm setup
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-
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-
$ cryptsetup luksOpen /dev/sda5 sda5_crypt
$ pvcreate vg0 /dev/mapper/
$ 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/
$ mkfs.ext4 /dev/mapper/vg0-usr
$ mkfs.ext4 /dev/mapper/vg0-var
$ mkfs.ext4 /dev/mapper/
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_
PGD 21f1a8067 PUD 0
Oops: 0000 [#2] SMP
last sysfs file: /sys/devices/
That box is also running windows xp rock stable. So I would not guess on a hardware fault.
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.