This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Xen 3.4.2 kernel / lvcreate crash

To: Valtteri Kiviniemi <mailinglists@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen 3.4.2 kernel / lvcreate crash
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 31 Mar 2010 18:25:16 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 31 Mar 2010 18:25:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BB3EA07.5060807@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4BB3EA07.5060807@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3
On 03/31/2010 05:34 PM, Valtteri Kiviniemi wrote:
I am using Xen 3.4.2 with kernel 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?

Someone reported a very similar crash with a Debian Xen kernel. I would suspect a bug in the Debian Xen kernel.


dmesg shows the following:

Unable to handle kernel NULL pointer dereference at 0000000000000030 RIP:
 [<ffffffff804218a2>] __map_bio+0x45/0x9b
PGD 38057067 PUD 10657067 PMD 0
Oops: 0000 [1] SMP
Pid: 17350, comm: lvcreate Not tainted #1
RIP: e030:[<ffffffff804218a2>]  [<ffffffff804218a2>] __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
Stack: ffff88003f5a0440 0000000000000001 ffff88003c56c5c0 ffff88003c565400
 fffffffff3800008 ffffffff804221b5 ffff88003c56c5d8 ffff88003f5a0440
 ffff88003c56c5c0 ffff88003c565400 ffff8800252b1f10 ffffffff8025e099
Call Trace:
 [<ffffffff804221b5>] __split_bio+0x1a9/0x3f7
 [<ffffffff8025e099>] __down_write_nested+0x12/0xf1
 [<ffffffff8022fe0e>] __up_write+0x1d/0x115
 [<ffffffff804225b9>] dm_resume+0xa1/0x137
 [<ffffffff80425158>] dev_suspend+0x0/0x171
 [<ffffffff804252a3>] dev_suspend+0x14b/0x171
 [<ffffffff80425bb6>] ctl_ioctl+0x1c6/0x20e
 [<ffffffff8024012a>] do_ioctl+0x56/0x6c
 [<ffffffff8022fddb>] vfs_ioctl+0x23a/0x250
 [<ffffffff8024a42f>] sys_ioctl+0x3d/0x5c
 [<ffffffff8025a21c>] system_call+0x68/0x6d
 [<ffffffff8025a1b4>] 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  [<ffffffff804218a2>] __map_bio+0x45/0x9b
 RSP <ffff880028693d68>
CR2: 0000000000000030

Xen-devel mailing list

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>