From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263795AbUJHULr (ORCPT ); Fri, 8 Oct 2004 16:11:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263818AbUJHULr (ORCPT ); Fri, 8 Oct 2004 16:11:47 -0400 Received: from viper.oldcity.dca.net ([216.158.38.4]:9167 "HELO viper.oldcity.dca.net") by vger.kernel.org with SMTP id S263795AbUJHULo (ORCPT ); Fri, 8 Oct 2004 16:11:44 -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: <1097263396.1442.28.camel@krustophenia.net> References: <1096675930.27818.74.camel@krustophenia.net> <32868.192.168.1.8.1096677269.squirrel@192.168.1.8> <1096678268.27818.84.camel@krustophenia.net> <1097263396.1442.28.camel@krustophenia.net> Content-Type: text/plain Message-Id: <1097266294.1442.34.camel@krustophenia.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 08 Oct 2004 16:11:34 -0400 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2004-10-08 at 15:23, Lee Revell wrote: > 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. Nope, sorry, it works now. But, I did cvs update, make clean, ./build prep then configure and I was still hitting the bug. I was only able to fix it by deleting my working directory and checking out again. I don't think "make clean" cleans everything up. Lee