FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-26-2008, 11:48 AM
Nikos Chantziaras
 
Default OSS4: no sound with 4GB RAM

Nikos Chantziaras wrote:
I'm on AMD64. I'm using OSS4 and sound doesn't work with 4GB RAM
(silence or noise). Works fine with 2GB. Anyone encountered something
like this before?


OSS 4.1_rc2. Kernel 2.6.27.7 (2.6.27-gentoo-r4).


Never mind, fixed it. For the record (in case someone has the same
problem and searches the list), there's a wrong assumption in
/usr/lib/oss/build/osscore.c:


if (memlimit < 0x00000000ffffffffLL)

this needs to be:

if (memlimit <= 0x00000000ffffffffLL)

Rebuild with install.sh (same directory) and it should work.
 
Old 11-26-2008, 05:35 PM
"b.n."
 
Default OSS4: no sound with 4GB RAM

Nikos Chantziaras ha scritto:
> Nikos Chantziaras wrote:
>> I'm on AMD64. I'm using OSS4 and sound doesn't work with 4GB RAM
>> (silence or noise). Works fine with 2GB. Anyone encountered
>> something like this before?
>>
>> OSS 4.1_rc2. Kernel 2.6.27.7 (2.6.27-gentoo-r4).
>
> Never mind, fixed it. For the record (in case someone has the same
> problem and searches the list), there's a wrong assumption in
> /usr/lib/oss/build/osscore.c:
>
> if (memlimit < 0x00000000ffffffffLL)
>
> this needs to be:
>
> if (memlimit <= 0x00000000ffffffffLL)
>
> Rebuild with install.sh (same directory) and it should work.

Impressive. You should report the bug upstream!

m.
 
Old 11-27-2008, 09:34 AM
Nikos Chantziaras
 
Default OSS4: no sound with 4GB RAM

b.n. wrote:

Nikos Chantziaras ha scritto:

Nikos Chantziaras wrote:

I'm on AMD64. I'm using OSS4 and sound doesn't work with 4GB RAM
(silence or noise). Works fine with 2GB. Anyone encountered
something like this before?

OSS 4.1_rc2. Kernel 2.6.27.7 (2.6.27-gentoo-r4).

Never mind, fixed it. For the record (in case someone has the same
problem and searches the list), there's a wrong assumption in
/usr/lib/oss/build/osscore.c:

if (memlimit < 0x00000000ffffffffLL)

this needs to be:

if (memlimit <= 0x00000000ffffffffLL)

Rebuild with install.sh (same directory) and it should work.


Impressive. You should report the bug upstream!


Upstream forums is where I found the fix
 

Thread Tools




All times are GMT. The time now is 12:34 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org