Skip site navigation (1)Skip section navigation (2)
Date:      2 May 2000 15:22:41 -0000
From:      jjm7570@cs.rit.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/18345: sbc / pcm not fully recognizing AWE64
Message-ID:  <20000502152241.38432.qmail@monolith.rh.rit.edu>

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

>Number:         18345
>Category:       kern
>Synopsis:       sbc / pcm not fully recognizing AWE64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May  2 08:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     John Mikucki
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

  SMP dual PII-266, SuperMicro P6DKF motherboard.  AWE64 worked fine
under 3.4, but no longer recognizes things like the game port, the PCM
(wave) audio output, mixer, etc.  See dmesg for full hardware details.

  dmesg:  
  
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #9: Sat Apr 29 01:42:36 EDT 2000
    root@monolith.rh.rit.edu:/usr/src/sys/compile/Obelisk
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x633  Stepping = 3
  Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 201326592 (196608K bytes)
avail memory = 192782336 (188264K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
IOAPIC #0 intpin 20 -> irq 15
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
VESA: v1.2, 4096k memory, flags:0x0, mode table:0xc00c4bc8 (c0004bc8)
VESA: Number Nine Visual Technology Corporation
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: flags 0x1 npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Intel PIIX3 ATA controller> at 7.1
pci0: <3Dfx Voodoo 2 graphics accelerator> at 17.0
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xef00-0xef3f irq 17 at device 18.0 on pci0
xl0: Ethernet address: 00:60:08:0d:63:04
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <S3 ViRGE VX graphics accelerator> at 19.0 irq 17
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xec00-0xecff mem 0xfebff000-0xfebfffff irq 19 at device 20.0 on pci0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
isa0: too many dependant configs (8)
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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
sbc0: setting card to irq 5, drq 1, 5
pcm0: <SB DSP 4.16> on sbc0
unknown0: <Game> at port 0x200-0x207 on isa0
unknown1: <WaveTable> at port 0x620-0x623 on isa0
unknown2: <IDE> at port 0x168-0x16f,0x36e-0x36f irq 10 on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
DUMMYNET initialized (000106)
IP Filter: initialized.  Default = pass all, Logging = enabled
IP Filter: v3.3.8
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!




config file:

machine		"i386"
cpu		"I686_CPU"
ident		"Granite"
maxusers	62

options		INET			#InterNETworking

options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=5000		#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		SYSVSHM
options 	SYSVMSG
options		SYSVSEM

options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies

#####################################################################
# SMP OPTIONS:
#
# SMP enables building of a Symmetric MultiProcessor Kernel.
# NCPU sets the number of CPUs, defaults to 2.
# NBUS sets the number of busses, defaults to 4.
# NAPIC sets the number of IO APICs on the motherboard, defaults to 1.
# NINTR sets the total number of INTs provided by the motherboard.

# Mandatory:
options 	SMP			# Symmetric MultiProcessor Kernel
options 	APIC_IO			# Symmetric (APIC) I/O

options 	ROOTDEVNAME=\"da1s1a\"


device	isa
device	eisa
device	pci
device pnp0

device	fdc0	at isa? port IO_FD1 irq 6 drq 2
device	fd0	at fdc0 drive 0

# A single entry for any of these devices (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.

device	ahc
device	scbus
device		da
device		cd	#Only need one of these, the code dynamically grows

# syscons is the default console driver, resembling an SCO console
 
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 

#options	        "VM86"
options         "VESA"
device          vga0    at isa? 
device          sc0     at isa? 

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
# events for resetting the demand dial activity timer - requires bpfilter.
#pseudo-device   bpfilter 4              #Berkeley packet filter
#options         PPP_FILTER              #enable bpf filtering (needs bpfilter)
#options         PPP_BSDCOMP
#device          ppp 2

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 

# Laptop support (see LINT for more options)
device		apm0    at isa?	disable	# Advanced Power Management

device		sio0	at isa? port IO_COM1  irq 4 
device		sio1	at isa? port IO_COM2  irq 3
device		sio2	at isa? disable port IO_COM3 irq 5 
device		sio3	at isa? disable port IO_COM4 irq 9

device ppbus0
device		lpt0	at ppbus?

########################################################################
#SOUND STUFF::TESTING!
#device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x5 vector pcmintr
device pcm
#device pca0 at isa? port IO_TIMER1
#device pcm0 at isa? port ? irq 5 drq 1 flags 0x5
device sbc
#######################################################################
device xl
device		miibus		# MII bus support

pseudo-device	loop
pseudo-device	ether
pseudo-device	vn	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing



options 	TCP_COMPAT_42		#emulate 4.2BSD TCP bugs
options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#print information about
					# dropped packets
options 	IPFIREWALL_FORWARD	#enable transparent proxy support
options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
#options 	IPV6FIREWALL		#firewall for IPv6
#options 	IPV6FIREWALL_VERBOSE
#options 	IPV6FIREWALL_VERBOSE_LIMIT=100
#options 	IPV6FIREWALL_DEFAULT_TO_ACCEPT
options 	IPDIVERT		#divert sockets
options 	IPFILTER		#ipfilter support
options 	IPFILTER_LOG		#ipfilter logging
#options 	IPSTEALTH		#support for stealth forwarding
#options 	TCPDEBUG

# The following options add sysctl variables for controlling how certain
# TCP packets are handled.
#
# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
# prevents nmap et al. from identifying the TCP/IP stack, but breaks support
# for RFC1644 extensions and is not recommended for web servers.
#
# TCP_RESTRICT_RST adds support for blocking the emission of TCP RST packets.
# This is useful on systems which are exposed to SYN floods (e.g. IRC servers)
# or any system which one does not want to be easily portscannable.
#
options 	TCP_DROP_SYNFIN		#drop TCP packets with SYN+FIN
options 	TCP_RESTRICT_RST	#restrict emission of TCP RST

# ICMP_BANDLIM enables icmp error response bandwidth limiting.   You
# typically want this option as it will help protect the machine from
# D.O.S. packet attacks.
#
options 	ICMP_BANDLIM

# DUMMYNET enables the "dummynet" bandwidth limiter. You need
# IPFIREWALL as well. See the dummynet(4) manpage for more info.
# BRIDGE enables bridging between ethernet cards -- see bridge(4).
# You can use IPFIREWALL and dummynet together with bridging.
options 	DUMMYNET

#####################################################################
# POSIX P1003.1B

# Real time extensions added in the 1993 Posix
# P1003_1B: Infrastructure
# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
# _KPOSIX_VERSION:             Version kernel is built for

options 	P1003_1B
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	_KPOSIX_VERSION=199309L


#####################################################################


>Description:

pnpinfo describes the card and its components as present, and the card
is detected (as indicated in the dmesg output above) but key
components on the card (grep for 'unknown' in dmesg output.) are not
found.  Attempts to, for example, use the mixer or wave devices fail.

Hopefully I simply need to add something to the config file, but it's
not at all clear what else to add.  See config file ~line 90 for sound
config statements.

>How-To-Repeat:
  
Compile kernel with included config file and boot system.
  
>Fix:
  
  None known.







>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?20000502152241.38432.qmail>