From: Arkadiy Chapkis - Arc <achapkis@shells.dls.net>
To: axp-list@redhat.com
Subject: Re: 2.6.0-test9 partial success
Date: Tue, 28 Oct 2003 00:09:34 -0500 [thread overview]
Message-ID: <00A28070.3B2284E9.1554@shells.dls.net> (raw)
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
next reply other threads:[~2003-10-28 6:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-28 5:09 Arkadiy Chapkis - Arc [this message]
2003-10-28 19:27 ` 2.6.0-test9 partial success Jay Estabrook
-- strict thread matches above, loose matches on Subject: below --
2003-10-27 20:36 Arkadiy Chapkis - Arc
2003-10-27 22:17 ` Jay Estabrook
2003-10-27 19:58 Arkadiy Chapkis - Arc
2003-10-27 20:56 ` Jay Estabrook
2003-10-27 13:08 Arkadiy Chapkis - Arc
2003-10-27 5:00 Arkadiy Chapkis - Arc
2003-10-27 7:36 ` Stefan Reinauer
2003-10-27 10:39 ` Ivan Kokshaysky
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox