From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valtteri Kiviniemi Subject: Xen 3.4.2 kernel / lvcreate crash Date: Thu, 01 Apr 2010 03:11:14 +0300 Message-ID: <4BB3E4A2.7000500@dataproof.fi> Reply-To: valtteri.kiviniemi@dataproof.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, I am using Xen 3.4.2 with kernel 2.6.18.8 and Debian Lenny. I am having some problems with LVM-snapshots. I have crontab which makes once a night a snapshot from domU's LV. The problem is that maybe once in a month the lvcreate command stucks and after that I have to reboot the machine to solve the problem. So is this a problem on the Xen kernel or with Debian? dmesg shows the following: Unable to handle kernel NULL pointer dereference at 0000000000000030 RIP: [] __map_bio+0x45/0x9b PGD 38057067 PUD 10657067 PMD 0 Oops: 0000 [1] SMP CPU 0 Pid: 17350, comm: lvcreate Not tainted 2.6.18.8-dom0 #1 RIP: e030:[] [] __map_bio+0x45/0x9b RSP: e02b:ffff880028693d68 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001 RDX: ffff8800311bfaf0 RSI: ffff8800219c38c0 RDI: ffffc200000f30d8 RBP: ffff8800311bfae0 R08: 0000000000000001 R09: 001322b628693ce8 R10: 0000000000000001 R11: 00000000006cc4a0 R12: ffff8800219c38c0 R13: fffffffff3800008 R14: ffff88003c56c5d8 R15: ffff8800311bfae0 FS: 00002b35f3f7ac20(0000) GS:ffffffff805ca000(0000) knlGS:0000000000000000 CS: e033 DS: 0000 ES: 0000 Process lvcreate (pid: 17350, threadinfo ffff880028692000, task ffff88003cc510c0) Stack: ffff88003f5a0440 0000000000000001 ffff88003c56c5c0 ffff88003c565400 fffffffff3800008 ffffffff804221b5 ffff88003c56c5d8 ffff88003f5a0440 ffff88003c56c5c0 ffff88003c565400 ffff8800252b1f10 ffffffff8025e099 Call Trace: [] __split_bio+0x1a9/0x3f7 [] __down_write_nested+0x12/0xf1 [] __up_write+0x1d/0x115 [] dm_resume+0xa1/0x137 [] dev_suspend+0x0/0x171 [] dev_suspend+0x14b/0x171 [] ctl_ioctl+0x1c6/0x20e [] do_ioctl+0x56/0x6c [] vfs_ioctl+0x23a/0x250 [] sys_ioctl+0x3d/0x5c [] system_call+0x68/0x6d [] system_call+0x0/0x6d Code: ff 50 30 41 89 c5 83 f8 00 7e 10 4c 89 e7 41 59 5b 5d 41 5c RIP [] __map_bio+0x45/0x9b RSP CR2: 0000000000000030