From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263770AbUJHTZz (ORCPT ); Fri, 8 Oct 2004 15:25:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263540AbUJHTZy (ORCPT ); Fri, 8 Oct 2004 15:25:54 -0400 Received: from viper.oldcity.dca.net ([216.158.38.4]:31429 "HELO viper.oldcity.dca.net") by vger.kernel.org with SMTP id S263778AbUJHTXR (ORCPT ); Fri, 8 Oct 2004 15:23:17 -0400 Subject: Re: io_remap_page_range (was Re: [Alsa-devel] alsa-driver will not compile with kernel 2.6.9-rc2-mm4-S7) From: Lee Revell To: Takashi Iwai Cc: Rui Nuno Capela , linux-kernel , Ingo Molnar , alsa-devel In-Reply-To: References: <1096675930.27818.74.camel@krustophenia.net> <32868.192.168.1.8.1096677269.squirrel@192.168.1.8> <1096678268.27818.84.camel@krustophenia.net> Content-Type: text/plain Message-Id: <1097263396.1442.28.camel@krustophenia.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 08 Oct 2004 15:23:16 -0400 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2004-10-04 at 11:26, Takashi Iwai wrote: > At Fri, 01 Oct 2004 20:51:08 -0400, > Lee Revell wrote: > > > > On Fri, 2004-10-01 at 20:34, Rui Nuno Capela wrote: > > > Lee Revell wrote: > > > Good grief! I'm having this too, and I was desperate thinking I was the > > > only one, and ultimately offering the blame to gcc 3.4.1 which is what I'm > > > test-driving now on my laptop (Mdk 10.1c). > > > > > > Now I remember that -mm4 has some issue about remap_page_range kernel > > > symbol being renamed to something else, which is breaking the build of > > > outsider modules (i.e. not the ones bundled under the kernel source tree). > > > Or so it seems. > > > > Looking through my archives I cannot find a report of this exact issue, > > but you are probably right. Looks like ALSA drivers need to be updated. > > The alsa-kernel code there (pcm_native.c) is ok but the patch in > alsa-driver looks broken for the recent change of remap_pfn_range(). > > Also, there was another API brekage about pci_save/restore_state(). > > Fixed both on CVS now. I think this is still broken. Same problem when I went to configure ALSA for -mm3-T3. The configure script gets CONFIG_HAVE_OLD_REMAP_PAGE_RANGE wrong; I have the new version but configure fails to detect it. AFAICT the test in configure is a NOOP and CONFIG_HAVE_OLD_REMAP_PAGE_RANGE always gets set to 1. Lee