i386/97535: snd_mss doesn't work in 6.0-RELEASE and above for Crystal soundcards

The Master da_master937 at hotmail.com
Sat May 20 22:20:23 UTC 2006


>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 at 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: <CS423x> 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: <CS423x> 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: <CS4236> at port 0x530-0x537,0xe0e,0xf8c-0xf94 irq 5 drq 1 on isa0
device_attach: pcm0 attach returned 6
pcm0: <CS4236> 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:


More information about the freebsd-i386 mailing list