From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.back-rdu.redhat.com (8.11.6/8.11.6) with ESMTP id h9S64pE30170 for ; Tue, 28 Oct 2003 01:04:51 -0500 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h9S69uO02600 for axp-list@listman.back-rdu.redhat.com; Tue, 28 Oct 2003 01:09:56 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h9S69t602596 for ; Tue, 28 Oct 2003 01:09:55 -0500 Received: from ice.dls.net (ice.dls.net [209.242.10.147]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h9S69tM13790 for ; Tue, 28 Oct 2003 01:09:55 -0500 Received: by shells.dls.net (MX V5.3 AnFj) id 1554; Tue, 28 Oct 2003 00:09:35 -0500 Date: Tue, 28 Oct 2003 00:09:34 -0500 From: Arkadiy Chapkis - Arc To: axp-list@redhat.com Message-ID: <00A28070.3B2284E9.1554@shells.dls.net> Subject: Re: 2.6.0-test9 partial success MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" X-loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: junk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: OK, I finally got sound to work. Unfortunately I had to go back to OSS modules, as neither one of ALSA worked for me. Unfortunately, because it seems that OSS will be going away and the best I could get with ALSA snd_sb8 is some hissing sound while playing with aplay. Not to mention that /dev/snd/pcmC0D0* weren't available (I made the with MAKDEV.snd, but couldn't redirect a sound file to those). I tried every dma setting and had to use alsamixer to upped the channels every time I loaded modules. I am still very gratefull to Ivan for his patch (who knows, maybe OSS wouldn't load as well if not for this patch and I wouldn't be able to listen to M. Magomaev right now). Also I'd like to thank Jay for his pointers (I may still need them in future). > >I think there is a problem with incorrect sign extension in calculation >of GPRELHIGH value in alpha/kernel/module.c. The appended patch works >for me, though I'm not sure it's right way to fix that - I've sent this >to rth 3 or 4 times, but it wasn't applied... > >Ivan. > >--- 2.6/arch/alpha/kernel/module.c Wed May 28 01:05:20 2003 >+++ linux/arch/alpha/kernel/module.c Mon Aug 11 23:23:02 2003 >@@ -259,7 +259,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs, > *(u64 *)location = value; > break; > case R_ALPHA_GPRELHIGH: >- value = (value - gp + 0x8000) >> 16; >+ value = (long)(value - gp + 0x8000) >> 16; > if ((short) value != value) > goto reloc_overflow; > *(u16 *)location = value; > > Arc C. achapkis@dls.net