From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: dmsetup fails on latest kernel Date: Thu, 19 Jan 2012 13:16:07 -0800 Message-ID: <4F188817.3090104@zytor.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020104080804060708030908" Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Kasatkin, Dmitry" Cc: device-mapper development , LKML , Linus Torvalds , "H. Peter Anvin" , Ingo Molnar List-Id: dm-devel.ids This is a multi-part message in MIME format. --------------020104080804060708030908 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Here is a patch which should fix this problem. I will run a few more tests and then push it with the rest of the urgent queue to Linus. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. --------------020104080804060708030908 Content-Type: text/x-patch; name="0001-x86-syscall-Need-__ARCH_WANT_SYS_IPC-for-32-bits.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-x86-syscall-Need-__ARCH_WANT_SYS_IPC-for-32-bits.patch" >From 497e064320506cd15f7bdd659204b576c80bf24e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 19 Jan 2012 12:41:25 -0800 Subject: [PATCH] x86, syscall: Need __ARCH_WANT_SYS_IPC for 32 bits In checkin 303395ac3bf3 x86: Generate system call tables and unistd_*.h from tables the feature macros in were unified between 32 and 64 bits. Unfortunately 32 bits requires __ARCH_WANT_SYS_IPC and this was inadvertently dropped. Reported-by: Dmitry Kasatkin Cc: Linus Torvalds Signed-off-by: H. Peter Anvin Link: http://lkml.kernel.org/r/CALLzPKbeXN5gdngo8uYYU8mAow=XhrwBFBhKfG811f37BubQOg@mail.gmail.com --- arch/x86/include/asm/unistd.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/unistd.h b/arch/x86/include/asm/unistd.h index b4a3db7..21f77b8 100644 --- a/arch/x86/include/asm/unistd.h +++ b/arch/x86/include/asm/unistd.h @@ -7,6 +7,7 @@ # include # define __ARCH_WANT_IPC_PARSE_VERSION # define __ARCH_WANT_STAT64 +# define __ARCH_WANT_SYS_IPC # define __ARCH_WANT_SYS_OLD_MMAP # define __ARCH_WANT_SYS_OLD_SELECT -- 1.7.6.5 --------------020104080804060708030908-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751361Ab2ASVQe (ORCPT ); Thu, 19 Jan 2012 16:16:34 -0500 Received: from terminus.zytor.com ([198.137.202.10]:38132 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750993Ab2ASVQc (ORCPT ); Thu, 19 Jan 2012 16:16:32 -0500 Message-ID: <4F188817.3090104@zytor.com> Date: Thu, 19 Jan 2012 13:16:07 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: "Kasatkin, Dmitry" CC: device-mapper development , LKML , Linus Torvalds , "H. Peter Anvin" , Ingo Molnar Subject: Re: dmsetup fails on latest kernel References: In-Reply-To: X-Enigmail-Version: 1.3.3 Content-Type: multipart/mixed; boundary="------------020104080804060708030908" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------020104080804060708030908 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Here is a patch which should fix this problem. I will run a few more tests and then push it with the rest of the urgent queue to Linus. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. --------------020104080804060708030908 Content-Type: text/x-patch; name="0001-x86-syscall-Need-__ARCH_WANT_SYS_IPC-for-32-bits.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-x86-syscall-Need-__ARCH_WANT_SYS_IPC-for-32-bits.patch" >>From 497e064320506cd15f7bdd659204b576c80bf24e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 19 Jan 2012 12:41:25 -0800 Subject: [PATCH] x86, syscall: Need __ARCH_WANT_SYS_IPC for 32 bits In checkin 303395ac3bf3 x86: Generate system call tables and unistd_*.h from tables the feature macros in were unified between 32 and 64 bits. Unfortunately 32 bits requires __ARCH_WANT_SYS_IPC and this was inadvertently dropped. Reported-by: Dmitry Kasatkin Cc: Linus Torvalds Signed-off-by: H. Peter Anvin Link: http://lkml.kernel.org/r/CALLzPKbeXN5gdngo8uYYU8mAow=XhrwBFBhKfG811f37BubQOg@mail.gmail.com --- arch/x86/include/asm/unistd.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/unistd.h b/arch/x86/include/asm/unistd.h index b4a3db7..21f77b8 100644 --- a/arch/x86/include/asm/unistd.h +++ b/arch/x86/include/asm/unistd.h @@ -7,6 +7,7 @@ # include # define __ARCH_WANT_IPC_PARSE_VERSION # define __ARCH_WANT_STAT64 +# define __ARCH_WANT_SYS_IPC # define __ARCH_WANT_SYS_OLD_MMAP # define __ARCH_WANT_SYS_OLD_SELECT -- 1.7.6.5 --------------020104080804060708030908--