Re: sound driver breakage/megapatch

2001-04-20 Thread Scott Hazen Mueller

 Apr 19 15:09:31 zorba /boot/kernel/kernel: pcm0: play interrupt timeout,
channel dead
 Apr 19 15:19:00 zorba /boot/kernel/kernel: pcm0: play interrupt timeout,
channel dead

can anyone suffering from this problem confirm that the hardware is
generating interrupts?

use 'systat -vm 1' to watch while you try to play sound.

Oh, sorry - yes, I can...  I watched the pcm interrupt (irq 9 on my box)
increment using vmstat -i.  I had seen something in the archives about that
not happening.

   \scott


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: sound driver breakage/megapatch

2001-04-20 Thread Scott Hazen Mueller

 Oh, sorry - yes, I can...  I watched the pcm interrupt (irq 9 on my box)
 increment using vmstat -i.  I had seen something in the archives about
that
 not happening.

is there any other device using irq 9?

vmstat -i

interrupt  total  rate
stray irq0  10
stray irq6  10
stray irq7  10
stray irq15 10
ata0 irq14  212797
ata1 irq15  40
atkbd0 irq1  75692
psm0 irq12  27669   10
fdc0 irq6   10
clk irq0   272328  100
ep0 irq5   122422   44
Total  451276  165

[Sound driver is currently not loaded.  Putting the .ko files into
loader.conf.local hangs the system during boot?  Dunno if this is a clue or
no.]

grep "irq.*9" /var/log/messages

Apr 16 09:46:07 zorba /boot/kernel/kernel: pci0: NeoMagic MagicMedia 256AV SVGA 
controller at 8.0 irq 9
Apr 16 09:46:07 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 
0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0
Apr 17 10:01:53 zorba /boot/kernel/kernel: pci0: NeoMagic MagicMedia 256AV SVGA 
controller at 8.0 irq 9
Apr 17 10:01:53 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 
0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0
Apr 18 10:10:45 zorba /boot/kernel/kernel: pci0: NeoMagic MagicMedia 256AV SVGA 
controller at 8.0 irq 9
Apr 18 10:10:45 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 
0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0
Apr 19 14:44:30 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 
0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0
Apr 19 15:31:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 
0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0
Apr 19 15:53:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 
0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0
Apr 19 18:47:21 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 
0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0

I'm pretty sure not.

   \scott


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



sound driver breakage/megapatch

2001-04-19 Thread Scott Hazen Mueller

It looks like the recent sound driver megapatch broke (at least) the Neomagic
256AV driver.  With a cvsup from yesterday, trying to do play mp3 files got
trash that was vaguely recognizable as a seriously distorted version of the
original piece.  I did some trolling of the cvsweb and decided to roll back to
a fixed date (2001.03.24.00.00.00) before the megapatch.  I've rebuilt the
.ko files and unloaded/reloaded them; I now have working sound.

The failing sound also generated this error

Apr 19 15:09:31 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead
Apr 19 15:19:00 zorba /boot/kernel/kernel: pcm0: play interrupt timeout, channel dead

The probe message "before" (removing megapatch) -

Apr 19 15:31:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 
0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0

The probe message "after" (removing megapatch) -

Apr 19 15:53:00 zorba /boot/kernel/kernel: pcm0: NeoMagic 256AV mem 
0xfec0-0xfecf,0xfe00-0xfe3f irq 9 at device 8.1 on pci0

And, somewhere in here, "hwintr went backwards" went away.

Hope this helps.

  \scott


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message