Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic: CPU context corrupt with encrypted HDs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pixelschieber
n00b
n00b


Joined: 12 Dec 2007
Posts: 1

PostPosted: Wed Dec 12, 2007 1:11 pm    Post subject: Kernel panic: CPU context corrupt with encrypted HDs Reply with quote

I have some bad Kernel Panic:

CPU 0: Maschine Check Exception 000000000000004
Bank 4: b200000000000000070f0f
Kernel panic - not syncing: CPU context corrupt

This never happens if i use my PC under normal conditions, but only if i copy some Data from sdc1 to sdb1. Most of the time the PC jst stops working and does not show the Kernel Panic. I use encrypted Filesystem.

I have 3 HDs:
sda1: /boot - ext2
sda2: swap - swap
sda3: /tmp - xfs
sda4: / -xfs
sdb1: /backup (encrypted, xfs)
sdc1: /home (encrypted, xfs)


here my lines from /etc/security/pam_mount.conf.xml
Code:
<volume user="frieder" fstype="crypt" path="/dev/sdc1" mountpoint="/home" options="noatime" />
<volume user="frieder" fstype="crypt" path="/dev/sdb1" mountpoint="/backup" options="noatime" />


luksDump Information:

Code:

todesstern # cryptsetup luksDump /dev/sdb1
LUKS header information for /dev/sdb1

Version:        1
Cipher name:    aes
Cipher mode:    lrw-benbi
Hash spec:      sha1
Payload offset: 2056
MK bits:        256


Code:

todesstern # cryptsetup luksDump /dev/sdc1
LUKS header information for /dev/sdc1

Version:        1
Cipher name:    aes
Cipher mode:    lrw-benbi
Hash spec:      sha1
Payload offset: 2056
MK bits:        256


I am using gentoo with ~x86 Flag and I have a custom kernel, based on 2.6.23-gentoo-r3

If /dev/sdb1 is not encrypted (plain xfs) but /dev/sdc1 is encrypted then i can do:
Code:
rsync -auvb /home/ /backup/

without any problems. If both partitions are encrypted the I cannot do cp or rsync.

Only if i copy from an encrypted partition to an encrypted partition, then the system freezes after some seconds.
What can i do to find out what happens? Enable some logs? Is it really a CPU / Motherboard problem or could it be a software problem? with my kernel? with cryptsetup?
CPU and motherboard temperatures are fine!

I NEVER get kernel panics with the same hardware if i only use 1 encrypted (it doesnt matter if it I use sdb1 or sdc1 as my encrypted homepartition.
And I never get kernel panics if i compile something.

Please help me. I can post additional log or config files if you need them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum