Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2004 10:47:00 GMT
From:      Siegbert Baude <siegbert.baude@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/70250: kernel compile fails with snd_sb16
Message-ID:  <200408101047.i7AAl0gf011840@www.freebsd.org>
Resent-Message-ID: <200408101050.i7AAoOZH066208@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70250
>Category:       kern
>Synopsis:       kernel compile fails with snd_sb16
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 10 10:50:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Siegbert Baude
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
FreeBSD mycomputer 5.2-CURRENT FreeBSD 5.2-CURRENT #16: Wed Aug  4 18:07:19 CEST 2004     mycomputer:/usr/obj/usr/src/sys/MYCOMPUTER  i386

Creative AWE 64 Gold, Abit BX-133, PIII-850

>Description:
kernel compile fails with:

config: Error: device "snd_sb" is unknown
config: Error: device "snd_sb" does not take a count
config: 2 errors
*** Error code 1

I have in my kernel config:

device          sound
device          snd_sbc
device          snd_sb16
device          joy

Note, that the error message is "snd_sb" despite the "snd_sb16" in the kernel conf.

If there is only 
device          sound
device          snd_sbc
device          joy
in the kernel config, the compile succeeds and dmesg gives:
# dmesg |grep sbc
sbc0: <Creative SB AWE64 Gold> at port 0x388-0x38b,0x330-0x331,0x220-0x22f irq 5 drq 5,1 on isa0
sbc0: [GIANT-LOCKED]

but there are no sound devices in /dev and /dev/sndstat gives only: 
# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:

With this kernel, loading the module snd_sb16 works in part: the sound devices in /dev appear (which is the reason I tried to compile snd_sb16 into the kernel), but sound nevertheless fails (the AWE64 might not be really SB16 compatible; snd_sbc and pcm only were sufficient before the pcm->sound change).

So before the change to "device sound" I simply had 
device pcm
device sbc
in my kernel config and everything worked like expected. The hardware itself is o.k., Linux and Win still produce sound.


>How-To-Repeat:
cvsup to the latest CURRENT sources, put "device snd_sb16" into your kernel conf, "cd /usr/src && make buildworld &&make kernel"   
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408101047.i7AAl0gf011840>