snd_mss problem

Zahemszky Gábor Gabor at Zahemszky.HU
Thu Jan 5 12:53:11 PST 2006


Ariff Abdullah wrote:
> On Thu, 05 Jan 2006 07:03:14 +0100
> Zahemszky Gábor <Gabor at Zahemszky.HU> wrote:
> 
>>Ariff Abdullah wrote:
>>
>>>On Wed, 04 Jan 2006 19:47:50 +0100
>>>Zahemszky Gábor <Gabor at Zahemszky.HU> wrote:
>>>
>>>
>>>>Sorry, the same simptome. I've made ' make buildkernel
>>>>installkernel' ,  reboot, and after kldloading it, the same
>>>
>>>lockup.
>>>
>>>Retry, with this one:
>>>
>>>  http://people.freebsd.org/~ariff/test/mss2.c
>>
>>The same. Does this one-line fix has to load acpi module, too? It
>>doesn't. (By the way, in my machine, acpi never worked. But snd_mss
>>worked in 5.x.)
>>
> 
> ISA isn't supposed to deal with ACPI. My intention is to level
> everything back to the very last working condition. Somewhere within
> FreeBSD 6 cause this issue, probably as a sign of programming mistake
> within driver.
> 
> Again, this one:
> 
>     http://people.freebsd.org/~ariff/test/mss3.c

Lock. The only difference is, that now, after the

pcm1: <CS423x> at port ...

line, I've got the
ioapic0: routing intpin ...
pcm1: [GIANT-LOCKED]

lines, too.
I think, the main problem is what I wrote in the first letter: that 
snd_mss recognised port 0x534 in FBSD-5, but port 0x600 in FBSD-6. Isn't 
it the programming mistake, you said?

 From my first letter:

In 5-STABLE, it's recognised by the snd-mss module. If I kldload it, I got:

pcm1: <CS423x> at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 0,1 
on isa0
--------------------------------------------------^

But on FreeBSD6, the builtin chip "locks" the machine. If I kldload 
snd_mss (with verbose mode), I got the following lines:

pcm1: <CS423x> at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 
on isa0
--------------------------^

Zahy < Gabor at Zahemszky dot HU >


-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ 
';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ??? 
]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? 
]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set -- 
$Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j 
$i";typeset +l i;};print "$j"


More information about the freebsd-multimedia mailing list