Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 1999 22:33:04 -0500 (EST)
From:      jorthoef@gte.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/10455: pcaudio.c/clock.c interaction
Message-ID:  <199903070333.WAA00478@incubus.nks.net>

next in thread | raw e-mail | index | archive | help

>Number:         10455
>Category:       kern
>Synopsis:       pcaudio breakage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar  6 19:40:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Orthoefer
>Release:        FreeBSD 3.0.0-19990106-SNAP i386
>Organization:
Network Knowledge Systems
>Environment:

CPU: Cyrix 6x86 (486-class CPU)
  Origin = "CyrixInstead"  DIR=0x2231  Stepping=2  Revision=2
real memory  = 33554432 (32768K bytes)
config> quit
avail memory = 30334976 (29624K bytes)
Probing for devices on PCI bus 0:
chip0: <VIA 82C585 (Apollo VP1/VPX) system controller> rev 0x23 on pci0.0.0
chip1: <VIA 82C586 PCI-ISA bridge> rev 0x25 on pci0.7.0
ide_pci0: <VIA 82C586x (Apollo) Bus-master IDE controller> rev 0x06 on pci0.7.1
vga0: <ATI model 4755 graphics accelerator> rev 0x9a on pci0.9.0

/sys/i386/isa/clock.c vers 1.129
/sys/i386/isa/pcaudio vers 1.45 


>Description:

Cat'ing various, know to previously work, raw audio files to
/dev/pcaudio results in an error indicating a device busy condition.

>How-To-Repeat:

see description

>Fix:
	
In /sys/i386/isa/clock.c the function acquire_timer0 has a check
for the use of the i8254 timer.  This was added somewhere between
2.2 and 3.0.  Commenting this out fixes the busy condition.  

It is unclear what the test for the use of the i8254 
protects against (SMP APIC problems?).  


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903070333.WAA00478>