From owner-freebsd-i386@FreeBSD.ORG Sat May 20 22:20:23 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 531AE16A420 for ; Sat, 20 May 2006 22:20:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C154E43D49 for ; Sat, 20 May 2006 22:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4KMKM5A095098 for ; Sat, 20 May 2006 22:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4KMKM9p095097; Sat, 20 May 2006 22:20:22 GMT (envelope-from gnats) Resent-Date: Sat, 20 May 2006 22:20:22 GMT Resent-Message-Id: <200605202220.k4KMKM9p095097@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, The Master Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ACBF16A438 for ; Sat, 20 May 2006 22:13:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3BFA43D67 for ; Sat, 20 May 2006 22:12:53 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4KMCrXh062467 for ; Sat, 20 May 2006 22:12:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k4KMCrD0062466; Sat, 20 May 2006 22:12:53 GMT (envelope-from nobody) Message-Id: <200605202212.k4KMCrD0062466@www.freebsd.org> Date: Sat, 20 May 2006 22:12:53 GMT From: The Master To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: i386/97535: snd_mss doesn't work in 6.0-RELEASE and above for Crystal soundcards X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 22:20:23 -0000 >Number: 97535 >Category: i386 >Synopsis: snd_mss doesn't work in 6.0-RELEASE and above for Crystal soundcards >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 20 22:20:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: The Master >Release: Multiple: (Tried 6.0-RELEASE, and tried 7.0-CURRENT) >Organization: >Environment: FreeBSD eve 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri May 19 01:05:06 EDT 2006 miri@eve:/usr/obj/usr/src/sys/miri i386 >Description: The driver for all major Crystal soundcards doesn't work. My motherboard has a Crystal Semiconductor CS4236, and I had two other Crystal cards lying around covered by the same driver snd_mss which also gave the exact same error message. You can find full specifications of my computer (if needed) @ http://support.dell.com/support/edocs/systems/ban_gx1/specs.htm (It's the Pentium III 600MHz model). The error messages in question are as follows: May 19 20:42:53 eve kernel: pcm0: at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 pnpid CSC6835 on isa0 May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 201000 0xff May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 1002000 0xff May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 203000 0xff May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 1002000 0xff May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 1000000 0xff May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 1000000 0xff May 19 20:42:53 eve kernel: mss: Auto calibration timed out(1). May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 201000 0xff May 19 20:42:53 eve last message repeated 100 times May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 1002000 0xff May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 201000 0xff May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 1002000 0xff May 19 20:42:53 eve kernel: AD_WAIT_INIT FAILED 201000 0xff After this the machine remains unresponsive to any user input (X freezes up, terminals are locked, and SSH as well) for a good 25 minutes, after that the sound device is available for use, but if I attempt to use it the computer freezes completely for an indefinite period of time. It's like this for other Crystal cards I have as well. I also tried compiling the module into the kernel directly to no affect, and originally I installed 6.0-RELEASE using the ISO available on the site with no modifications or recompiling done. I upgraded to 7.0-CURRENT to see if my problem was resolved in a later version, which did not help. If ACPI is disabled, I apparently get two pcm devices, one called pcm1 which after initialized causes AD_WAIT_INIT FAILED for 20 minutes, and pcm0 which initilized after the error message flood. After that passes, the speakers respond to beeps from tab completion in bash, but if I attempt to use mpg123 or mplayer the computer promptly freezes up with never-ending AD_WAIT_INIT FAILED messages regardless of whether I use the device node for pcm0 (dsp1.0) or pcm1 (dsp 1.1). With ACPI off: pcm1: at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 pnpid CSC6835 on isa0 AD_WAIT_INIT FAILED 201000 0xff AD_WAIT_INIT FAILED 1002000 0xff AD_WAIT_INIT FAILED 203000 0xff AD_WAIT_INIT FAILED 1002000 0xff AD_WAIT_INIT FAILED 1000000 0xff AD_WAIT_INIT FAILED 1000000 0xff mss: Auto calibration timed out(1). AD_WAIT_INIT FAILED 201000 0xff (million more lines of this) AD_WAIT_INIT FAILED 201000 0xff AD_WAIT_INIT FAILED 1002000 0xff pcm1: [GIANT-LOCKED] pcm0: at port 0x530-0x537,0xe0e,0xf8c-0xf94 irq 5 drq 1 on isa0 device_attach: pcm0 attach returned 6 pcm0: at port 0x530-0x537,0xe0e,0xf8c-0xf94 irq 5 drq 1 on isa0 device_attach: pcm0 attach returned 6 >How-To-Repeat: To repeat the problem I can either kldload snd_driver, kldload snd_mss, or I can compile the mss driver into the kernel itself. >Fix: >Release-Note: >Audit-Trail: >Unformatted: