-On [20090207 21:31], Jeroen Ruigrok van der Werven (asmo...@in-nomine.org) 
wrote:
>Tonight I played around with building modules from hg tip and I can report
>that at least with 630:aea8ab83f5b7 I have sound again on my X-Fi.
>
>So, rev 538 was broken for me (build 1050). Although I did not manage to get
>a kernel crash this time around, I did get this in messages:
>
>Feb  7 20:17:05 oni kernel: osscore: Output timed out on audio engine
>2/'Sound Blaster X-Fi (SB046x/067x/076x) output (vmix)' (count=0) 
>
>Apparently this message was also logged before, I just didn't notice.

FreeBSD's ports currently has 4.1-build1051, which translates to this output
from sndstat: Version info: OSS 4.1 (b 1051/200902072153) (0x00040100) BSD

This causes me problems:

[audio.c:533] error: Error in writing audio (Input/output error?)!
[mpg123.c:575] error: Deep trouble! Cannot flush to my output anymore!

Feb  7 22:55:10 oni kernel: oss_sbxfi0: <Sound Blaster X-Fi (SB046x/067x/076x)> 
port 0xa800-0xa81f mem 0xefc00000-0xefdfffff,0xe8000000-0xebffffff irq 18 at 
device 8.0 on pci1
Feb  7 22:55:17 oni kernel: osscore: Output timed out on audio engine 2/'Sound 
Blaster X-Fi (SB046x/067x/076x) output (vmix)' (count=0)

Now, after having compiled by hand revision 538 from the Hg repository:

% cat /dev/sndstat 
OSS 4.1 (b 1050/200902072147)  (C) 4Front Technologies 1996-2008

Hg revision: changeset: 630:aea8ab83f5b7, tag: tip, date: Sat Feb 07
11:12:59 2009 +0200, summary: v4.1 pull 090207

And playing a mp3 with mpg123 works.

And just tried it again with the modules compiled from ports and it works. I
wonder if it might either be some initialization issue or a small issue in
the FreeBSD kernel. I seriously don't like debugging stuff like this. >_<
I'll give up for now.

On an aside, it seems kernel/framework/include/local_config.h is slightly
flawed. The tree I had was revision 538, yet it filled OSS_HG_INFO with:

#define OSS_HG_INFO "changeset: 630:aea8ab83f5b7, " \
                    "tag: tip, " \
                    "date: Sat Feb 07 11:12:59 2009 +0200, " \
                    "summary: v4.1 pull 090207"

That's slightly confusing if you're compiling a tree that might have tip as
630, but is checked out as 538.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Earth to earth, ashes to ashes, dust to dust...
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to