kern/70250: kernel compile fails with snd_sb16
siegbert.baude at gmx.de
Tue Aug 10 03:50:25 PDT 2004
>Synopsis: kernel compile fails with snd_sb16
>Arrival-Date: Tue Aug 10 10:50:24 GMT 2004
>Originator: Siegbert Baude
>Release: FreeBSD 5.2-CURRENT i386
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
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:
Note, that the error message is "snd_sb" despite the "snd_sb16" in the kernel conf.
If there is only
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
but there are no sound devices in /dev and /dev/sndstat gives only:
# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
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
in my kernel config and everything worked like expected. The hardware itself is o.k., Linux and Win still produce sound.
cvsup to the latest CURRENT sources, put "device snd_sb16" into your kernel conf, "cd /usr/src && make buildworld &&make kernel"
More information about the freebsd-bugs