Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: OSS4: no sound with 4GB RAM
Date: Thu, 27 Nov 2008 10:35:27
Message-Id: gglt3u$24t$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: OSS4: no sound with 4GB RAM by "b.n."
1 b.n. wrote:
2 > Nikos Chantziaras ha scritto:
3 >> Nikos Chantziaras wrote:
4 >>> I'm on AMD64. I'm using OSS4 and sound doesn't work with 4GB RAM
5 >>> (silence or noise). Works fine with 2GB. Anyone encountered
6 >>> something like this before?
7 >>>
8 >>> OSS 4.1_rc2. Kernel 2.6.27.7 (2.6.27-gentoo-r4).
9 >> Never mind, fixed it. For the record (in case someone has the same
10 >> problem and searches the list), there's a wrong assumption in
11 >> /usr/lib/oss/build/osscore.c:
12 >>
13 >> if (memlimit < 0x00000000ffffffffLL)
14 >>
15 >> this needs to be:
16 >>
17 >> if (memlimit <= 0x00000000ffffffffLL)
18 >>
19 >> Rebuild with install.sh (same directory) and it should work.
20 >
21 > Impressive. You should report the bug upstream!
22
23 Upstream forums is where I found the fix ;)