Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2000 08:41:33 +0400 (MSD)
From:      ilmar@ints.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/21717: DOS while opening /dev/audio
Message-ID:  <200010030441.e934fXU03141@ws-ilmar.ints.ru>

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

>Number:         21717
>Category:       i386
>Synopsis:       DOS while opening /dev/audio
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 02 21:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ilmar S. Habibulin
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Intranet-TS (http://www.ints.ru)
>Environment:

	my kernel config:

machine		i386
cpu		I686_CPU
ident		WS_ILMAR
maxusers	32
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options		IPSEC
options		IPSEC_ESP
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES
options	FFS_EXTATTR
options 	MFS			#Memory Filesystem
options 	NFS			#Network Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options		KERNFS
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extentions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		KBD_INSTALL_CDEV
#options		RANDOMDEV
device random
device		isa
device		pci
#options 	COMPAT_OLDISA		# Old ISA driver shims
#options 	COMPAT_OLDPCI		# Old PCI driver shims
device		fdc
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
device		atkbdc
device		atkbd
device		vga
device		splash
device		sc
device		npx
device		apm
device		sio
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
device		miibus		# MII bus support
device		rl		# RealTek 8129/8139
device		loop		# Network loopback
device		ether		# Ethernet support
#device		sl	1	# Kernel SLIP
#device		ppp	1	# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		gif	4	# IPv6 and IPv4 tunneling
device		faith	1	# IPv6-to-IPv4 relaying (translation)
device		bpf		# Berkeley packet filter
options		COMPAT_LINUX
device		pcm
#device		sbc0	at isa? port 0x220 irq 5 drq 1 flags 0x15
#device		midi0
device		sbc
device		midi
device		seq
device		smbus
device		smb
device		intpm

	my hints for the loader:

hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.ata.0.at="isa"
hint.ata.0.port="0x1F0"
hint.ata.0.irq="14"
hint.ata.1.at="isa"
hint.ata.1.port="0x170"
hint.ata.1.irq="15"
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.vga.0.at="isa"
hint.sc.0.at="isa"
hint.npx.0.at="nexus"
hint.npx.0.port="0x0F0"
hint.npx.0.irq="13"
hint.apm.0.at="nexus"
hint.apm.0.disabled="1"
hint.apm.0.flags="0x20"
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"
hint.sbc.0.at="isa"
hint.sbc.0.port="0x220"
hint.sbc.0.irq="5"
hint.sbc.0.drq="1"
hint.sbc.0.flags="0x15"

	my PCs' dmesg output:

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #1: Sun Oct  1 21:37:21 MSD 2000
    root@ws-ilmar.ints.ru:/var/ftp/pub/FreeBSD/current-src/sys/compile/WS_ILMAR
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (367.50-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134152192 (131008K bytes)
avail memory = 126685184 (123716K bytes)
Preloaded elf kernel "kernel" at 0xc03d8000.
seq0-15: Midi sequencers.
Pentium Pro MTRR support enabled
md0: Malloc disk
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11
intpm0: <Intel 82371AB Power management controller> port 0x5000-0x500f irq 9 at device 7.3 on pci0
intpm0: I/O mapped 5000
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 4000 
pci0: <Matrox MGA Millennium 2064W graphics accelerator> at 9.0 irq 9
rl0: <RealTek 8139 10/100BaseTX> port 0xe400-0xe47f mem 0xe7000000-0xe700007f irq 11 at device 11.0 on pci0
rl0: Ethernet address: 00:c0:df:23:60:e2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sbc0: <ESS ES1868> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0
pcm0: <ESS 18xx DSP> on sbc0
midi0: <SB Midi Interface> on sbc0
midi1: <SB OPL FM Synthesizer> on sbc0
unknown: <PNP0303> can't assign resources
unknown: <PNP0a03> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0400> can't assign resources
unknown: <PNP0501> can't assign resources
IPsec: Initialized Security Association Processing.
ad0: 3077MB <ST33232A> [6253/16/63] at ata0-master UDMA33
ata1-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad2: 19574MB <IBM-DPTA-372050> [39770/16/63] at ata1-master tagged UDMA33
acd0: CDROM <HITACHI CDR-8335> at ata1-slave using WDMA2
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
link_elf: symbol tsleep undefined

>Description:

	While openning /dev/audio PC freeses and i have to use BIG power off
	button. :( This situation last for about 2-3 months, earlier sound
	worked.

>How-To-Repeat:

	Just open /dev/audio in midnight commander for ex. (push F3)

>Fix:

	do not use audio at all. ;-) I have to delete audio devs to make kde
	work.


>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?200010030441.e934fXU03141>