From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 10 10:50:25 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25C4716A4CE for ; Tue, 10 Aug 2004 10:50:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A7E143D31 for ; Tue, 10 Aug 2004 10:50:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7AAoOOF066209 for ; Tue, 10 Aug 2004 10:50:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7AAoOZH066208; Tue, 10 Aug 2004 10:50:24 GMT (envelope-from gnats) Resent-Date: Tue, 10 Aug 2004 10:50:24 GMT Resent-Message-Id: <200408101050.i7AAoOZH066208@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Siegbert Baude Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3129A16A4CE for ; Tue, 10 Aug 2004 10:47:01 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 258BE43D31 for ; Tue, 10 Aug 2004 10:47:01 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i7AAl0K9011842 for ; Tue, 10 Aug 2004 10:47:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i7AAl0gf011840; Tue, 10 Aug 2004 10:47:00 GMT (envelope-from nobody) Message-Id: <200408101047.i7AAl0gf011840@www.freebsd.org> Date: Tue, 10 Aug 2004 10:47:00 GMT From: Siegbert Baude To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/70250: kernel compile fails with snd_sb16 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2004 10:50:25 -0000 >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: 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: