From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kip Macy Subject: need more sanity checks in blkback when using grant tables Date: Mon, 18 Apr 2005 13:33:58 -0700 Message-ID: Reply-To: Kip Macy Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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 List-Id: xen-devel@lists.xenproject.org I'm upgrading FreeBSD to work against TOT in -unstable. I haven't added grant table support to the blkfront yet. DOM0 can't cope with this: [XEN] Netfront recovered tx=3D0 rxfree=3D0 [XEN] Initialising virtual block device driver (XEN) (file=3Dgrant_table.c, line=3D347) Bad ref (8367) or flags (2). Unable to handle kernel paging request at virtual address dfc00008 printing eip: c029a01c *pde =3D ma 2007d067 pa 0007d067 *pte =3D ma 00000000 pa 55555000 [] dispatch_probe+0x106/0x120 [] do_block_io_op+0xeb/0x110 [] daemonize+0xef/0x100 [] blkio_schedule+0x127/0x180 [] default_wake_function+0x0/0x20 [] ret_from_fork+0x6/0x1c [] default_wake_function+0x0/0x20 [] blkio_schedule+0x0/0x180 [] kernel_thread_helper+0x5/0x10 Oops: 0002 [#1] PREEMPT Modules linked in: CPU: 0 EIP: 0061:[] Not tainted VLI EFLAGS: 00010202 (2.6.11-xen0) EIP is at vbd_probe_single+0xc/0x50 eax: 00000700 ebx: dfc00000 ecx: 00000155 edx: ddce2fc0 esi: 00000001 edi: daef0728 ebp: 00000155 esp: c175bef4 ds: 007b es: 007b ss: 0069 Process xenblkd (pid: 749, threadinfo=3Dc175a000 task=3Dc16900e0) Stack: ddce2fcc c029a0b7 daef0728 dfc00000 ddce2fc0 c05f9a00 00000000 e080e= 008 daef0728 c02991d6 daef0728 dfc00000 00000155 c16900e0 00000000 00000= 000 ffffffff dfc00000 00000002 20af0004 fffd0002 c05f9a00 00002b0b bb9b6= 117 Call Trace: [] vbd_probe+0x57/0xb0 [] dispatch_probe+0x106/0x120 [] do_block_io_op+0xeb/0x110 [] daemonize+0xef/0x100 [] blkio_schedule+0x127/0x180 [] default_wake_function+0x0/0x20 [] ret_from_fork+0x6/0x1c [] default_wake_function+0x0/0x20 [] blkio_schedule+0x0/0x180 [] kernel_thread_helper+0x5/0x10 Code: 08 5b 5e 5f 5d e9 75 e2 13 00 e8 70 e2 13 00 eb b7 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 53 8b 54 24 10 8b 5c 24 0c 0f b7 02 <66> 89 43 08 0f b6 42 03 89 c1 83 c9 40 80 7a 02 00 0f 45 c1 66 <6>note: xenblkd[749] exited with preempt_count 1