From: Takashi Iwai Subject: Re: [Alsa-user] Alsa-driver 1.0.6 on a SH3 Big Endian 2.4.26 kernel Date: Mon, 23 Aug 2004 14:31:04 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20040822032514.GB29424@snoopy.src.ricoh.co.jp> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20040822032514.GB29424@snoopy.src.ricoh.co.jp> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Alain Volmat Cc: alsa-user@lists.sourceforge.net, alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Sun, 22 Aug 2004 12:25:14 +0900, Alain Volmat wrote: > > Hi all, > > I'm trying to get the dummy (just for a start) driver of alsa-driver 1.0.6 > working on my SH3 Big Endian architecture. My kernel is a 2.4.26 and I got > problem which I think might come from the memalloc.c part. > I don't have any PCI on my machine but alsa-driver still want to use > pci_free_consistent and pci_alloc_consistent and I got a unresolved symbol > error when trying to load modules: > > modprobe snd-dummy > /lib/modules/2.4.26-i700-av3/misc/snd-page-alloc.o: unresolved symbol pci_free_consistent > /lib/modules/2.4.26-i700-av3/misc/snd-page-alloc.o: unresolved symbol pci_alloc_consistent > /lib/modules/2.4.26-i700-av3/misc/snd-page-alloc.o: insmod /lib/modules/2.4.26-i700-av3/misc/snd-page-alloc.o failed > /lib/modules/2.4.26-i700-av3/misc/snd-page-alloc.o: insmod snd-dummy failed > > I tried to check a bit the source code but I've to admit that I don't have > an enough good knowledge of ALSA to understand everything here. [Added alsa-devel to Cc, which is a better place for such a discussion] In the recent version, pci_alloc_consistent() is used as a generic memory allocator, and this looks apparently like a problem in the case of non-PCI system. What would be the proper DMA memory allocator functions in the case without CONFIG_PCI on SH? Takashi ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285