Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 1999 21:41:24 -0600 (CST)
From:      Bruce Albrecht <bruce@zuhause.mn.org>
To:        cjclark@home.com
Cc:        freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Subject:   Re: SoundBlaster Problem
Message-ID:  <14015.44644.843870.586528@zuhause.zuhause.mn.org>
In-Reply-To: <199902062358.SAA27767@cc942873-a.ewndsr1.nj.home.com>
References:  <199902062358.SAA27767@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I have a Creative SB-16 PNP, running 3.0, and my kernel has the
following:

controller	snd0
device sb0      at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
device sbxvi0   at isa? port? irq? drq 5 conflicts
device sbmidi0  at isa? port 0x330 irq? conflicts

but I also have the following in my /kernel.config:
USERCONFIG
pnp 1 0 os enable port 0 0x220 irq0 5 drq0 1
quit

I don't know if I really need the conflicts keyword, but I've left it
in.  From dmesg, I see the following:

Probing for PnP devices:
CSN 1 Vendor ID: CTL0070 [0x70008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041]
Probing for devices on the ISA bus:
<much deleted>
sb0 at 0x220 irq 5 drq 1 on isa
snd0: <SoundBlaster 16 4.13> 
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.13> 
sbmidi0 at 0x330 on isa
snd0: <SoundBlaster MPU-401> 



Crist J. Clark writes:
 > A cow-orker is bugging me to get the sound working on a computer. (I
 > personally find sound on computers more of an annoyance than of any
 > use, but the computer's got a sub-woofer (!?!) and the works.) The
 > card is a SoundBlaster 16-bit. There is stuff about MIDI support in
 > the manual, but I have not been able to decide if it's saying the card
 > has MIDI support or they are giving me work-arounds (MIDI
 > emulation). Anyway, that is beside the point; the computer does not
 > seem to see the card at all at boot time as these lines from 'dmesg'
 > indicate,
 > 
 > sb0 not found at 0x220
 > sbxvi0 not found
 > sbmidi0 not found at 0x330
 > 
 > Here are the lines of interest from the kernel config,
 > 
 > #
 > # Sound card support (SoundBlaster 16bit)
 > controller      snd0
 > device          sb0     at isa? port 0x220 irq 5 drq 1 vector sbintr
 > device          sbxvi0  at isa? drq 5
 > device          sbmidi0 at isa? port 0x330
 > 
 > Also note that there seems to be no conflict for IRQ 5,
 > 
 > # dmesg | grep irq
 > chip4 <Intel 82371AB USB interface> rev 1 int d irq 10 on pci0:7:2
 > ahc0 <Adaptec 2940A Ultra SCSI host adapter> rev 1 int a irq 9 on pci0:14:0
 > fxp0 <Intel EtherExpress Pro 10/100B Ethernet> rev 5 int a irq 11 on pci0:15:0
 > vga0 <VGA-compatible display device> rev 1 int a irq 9 on pci1:0:0
 > sc0 at 0x60-0x6f irq 1 on motherboard
 > sio0 at 0x3f8-0x3ff irq 4 on isa
 > sio1 at 0x2f8-0x2ff irq 3 on isa
 > lpt0 at 0x378-0x37f irq 7 on isa
 > psm0 at 0x60-0x64 irq 12 on motherboard
 > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
 > wdc0 at 0x1f0-0x1f7 irq 14 on isa
 > wdc1 at 0x170-0x177 irq 15 on isa
 > 
 > And 'pnpinfo' claims the soundcard is on IRQ 5 and on the correct
 > ports,
 > 
 > Card assigned CSN #1
 > Vendor ID CTL0054 (0x54008c0e), Serial Number 0x081f38bd
 > PnP Version 1.0, Vendor Version 16
 > Device Description: Creative SB AWE32 PnP
 > 
 > Logical Device ID: CTL0031 0x31008c0e #0
 > Device Description: Audio
 > TAG Start DF
 > Good Configuration
 >     IRQ: 5  - only one type (true/edge)
 >     DMA: channel(s) 1 
 >         8-bit, not a bus master, count by byte, , Compatibility mode
 >     DMA: channel(s) 5 
 >         16-bit, not a bus master, , count by word, Compatibility mode
 >     I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10
 >         [16-bit addr]
 >     I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2
 >         [16-bit addr]
 >     I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
 >         [16-bit addr]
 > 
 > Anyone know why this is not working? Anyone have a fix for me? Oh,
 > here is info on the system,
 > 
 > FreeBSD pc232.mydomain.org 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Sat Feb  6 17:41:56 EST 1999     cjc@pc232.mydomain.org:/usr/src/sys/compile/PC232  i386
 > 
 > Is this a PnP problem? Any help is appreciated.
 > 
 > 
 > 
 > For completeness, full 'pnpinfo' output, 'dmesg,' and the full kernel
 > conf are included below. (Spammy.)
 > 
 > # pnpinfo
 > Checking for Plug-n-Play devices...
 > 
 > Card assigned CSN #1
 > Vendor ID CTL0054 (0x54008c0e), Serial Number 0x081f38bd
 > PnP Version 1.0, Vendor Version 16
 > Device Description: Creative SB AWE32 PnP
 > 
 > Logical Device ID: CTL0031 0x31008c0e #0
 > Device Description: Audio
 > TAG Start DF
 > Good Configuration
 >     IRQ: 5  - only one type (true/edge)
 >     DMA: channel(s) 1 
 > 	8-bit, not a bus master, count by byte, , Compatibility mode
 >     DMA: channel(s) 5 
 > 	16-bit, not a bus master, , count by word, Compatibility mode
 >     I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10
 > 	[16-bit addr]
 >     I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2
 > 	[16-bit addr]
 >     I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
 > 	[16-bit addr]
 > TAG Start DF
 > Acceptable Configuration
 >     IRQ: 5 7 10  - only one type (true/edge)
 >     DMA: channel(s) 0 1 3 
 > 	8-bit, not a bus master, count by byte, , Compatibility mode
 >     DMA: channel(s) 5 6 7 
 > 	16-bit, not a bus master, , count by word, Compatibility mode
 >     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 > 	[16-bit addr]
 >     I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
 > 	[16-bit addr]
 >     I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
 > 	[16-bit addr]
 > TAG Start DF
 > Acceptable Configuration
 >     IRQ: 5 7 10  - only one type (true/edge)
 >     DMA: channel(s) 0 1 3 
 > 	8-bit, not a bus master, count by byte, , Compatibility mode
 >     DMA: channel(s) 5 6 7 
 > 	16-bit, not a bus master, , count by word, Compatibility mode
 >     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 > 	[16-bit addr]
 >     I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
 > 	[16-bit addr]
 > TAG Start DF
 > Acceptable Configuration
 >     IRQ: 5 7 10  - only one type (true/edge)
 >     DMA: channel(s) 0 1 3 
 > 	8-bit, not a bus master, count by byte, , Compatibility mode
 >     DMA: channel(s) 5 6 7 
 > 	16-bit, not a bus master, , count by word, Compatibility mode
 >     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 > 	[16-bit addr]
 > TAG Start DF
 > Acceptable Configuration
 >     IRQ: 5 7 10  - only one type (true/edge)
 >     DMA: channel(s) 0 1 3 
 > 	8-bit, not a bus master, count by byte, , Compatibility mode
 >     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 > 	[16-bit addr]
 >     I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
 > 	[16-bit addr]
 >     I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
 > 	[16-bit addr]
 > TAG Start DF
 > Acceptable Configuration
 >     IRQ: 5 7 10  - only one type (true/edge)
 >     DMA: channel(s) 0 1 3 
 > 	8-bit, not a bus master, count by byte, , Compatibility mode
 >     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 > 	[16-bit addr]
 >     I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
 > 	[16-bit addr]
 > TAG Start DF
 > Acceptable Configuration
 >     IRQ: 5 7 10 11  - only one type (true/edge)
 >     DMA: channel(s) 0 1 3 
 > 	8-bit, not a bus master, count by byte, , Compatibility mode
 >     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 > 	[16-bit addr]
 > TAG Start DF
 > Sub-optimal Configuration
 >     IRQ: 5 7 10 11  - only one type (true/edge)
 >     DMA: channel(s) 0 1 3 
 > 	8-bit, not a bus master, count by byte, , Compatibility mode
 >     DMA: channel(s) 5 6 7 
 > 	16-bit, not a bus master, , count by word, Compatibility mode
 >     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 > 	[16-bit addr]
 >     I/O Range 0x300 .. 0x330, alignment 0x10, len 0x2
 > 	[16-bit addr]
 >     I/O Range 0x388 .. 0x394, alignment 0x4, len 0x4
 > 	[16-bit addr]
 > TAG End DF
 > 
 > Logical Device ID: CTL7fff 0xff7f8c0e #1
 > Device Description: Reserved
 >     I/O Range 0x140 .. 0x178, alignment 0x8, len 0x1
 > 	[16-bit addr]
 > 
 > Logical Device ID: CTL0021 0x21008c0e #2
 > Device Description: WaveTable
 > TAG Start DF
 > Good Configuration
 >     I/O Range 0x620 .. 0x620, alignment 0x1, len 0x4
 > 	[16-bit addr]
 > TAG Start DF
 > Acceptable Configuration
 >     I/O Range 0x620 .. 0x680, alignment 0x20, len 0x4
 > 	[16-bit addr]
 > TAG End DF
 > 
 > Logical Device ID: CTL7001 0x01708c0e #3
 > Device Description: Game
 >     I/O Range 0x200 .. 0x200, alignment 0x1, len 0x8
 > 	[16-bit addr]
 > 
 > Logical Device ID: CTL0051 0x51008c0e #4
 > Device Description: StereoEnhance
 >     I/O Range 0x100 .. 0x138, alignment 0x8, len 0x1
 > 	[16-bit addr]
 > End Tag
 > 
 > Successfully got 68 resources, 5 logical fdevs
 > -- card select # 0x0001
 > 
 > CSN CTL0054 (0x54008c0e), Serial Number 0x081f38bd
 > 
 > Logical device #0
 > IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
 > IRQ 0 0
 > DMA 4 4
 > IO range check 0x00 activate 0x00
 > 
 > Logical device #1
 > IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
 > IRQ 0 0
 > DMA 4 4
 > IO range check 0x00 activate 0x00
 > 
 > Logical device #2
 > IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
 > IRQ 0 0
 > DMA 4 4
 > IO range check 0x00 activate 0x00
 > 
 > Logical device #3
 > IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
 > IRQ 0 0
 > DMA 4 4
 > IO range check 0x00 activate 0x00
 > 
 > Logical device #4
 > IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
 > IRQ 0 0
 > DMA 4 4
 > IO range check 0x00 activate 0x00
 > 
 > 
 > # dmesg
 > Copyright (c) 1992-1998 FreeBSD Inc.
 > Copyright (c) 1982, 1986, 1989, 1991, 1993
 > 	The Regents of the University of California.  All rights reserved.
 > 
 > FreeBSD 2.2.8-RELEASE #0: Sat Feb  6 17:41:56 EST 1999
 >     cjc@pc232.mydomain.org:/usr/src/sys/compile/PC232
 > CPU: Pentium II (quarter-micron) (333.27-MHz 686-class CPU)
 >   Origin = "GenuineIntel"  Id = 0x650  Stepping=0
 >   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,<b16>,<b17>,MMX,<b24>>
 > real memory  = 67108864 (65536K bytes)
 > avail memory = 63406080 (61920K bytes)
 > Probing for devices on PCI bus 0:
 > chip0 <generic PCI bridge (vendor=8086 device=7180 subclass=0)> rev 3 on pci0:0:0
 > chip1 <generic PCI bridge (vendor=8086 device=7181 subclass=4)> rev 3 on pci0:1:0
 > chip2 <Intel 82371AB PCI-ISA bridge> rev 1 on pci0:7:0
 > chip3 <Intel 82371AB IDE interface> rev 1 on pci0:7:1
 > chip4 <Intel 82371AB USB interface> rev 1 int d irq 10 on pci0:7:2
 > chip5 <Intel 82371AB Power management controller> rev 1 on pci0:7:3
 > ahc0 <Adaptec 2940A Ultra SCSI host adapter> rev 1 int a irq 9 on pci0:14:0
 > ahc0: aic7860 Single Channel, SCSI Id=7, 3 SCBs
 > ahc0 waiting for scsi devices to settle
 > ahc0:A:4: refuses synchronous negotiation. Using asynchronous transfers
 > (ahc0:4:0): "HP CD-Writer 6020 1.07" type 5 removable SCSI 2
 > worm0(ahc0:4:0): Write-Once 
 > (ahc0:6:0): "iomega jaz 2GB E.15" type 0 removable SCSI 2
 > sd0(ahc0:6:0): Direct-Access 
 > sd0(ahc0:6:0): NOT READY asc:3a,0 Medium not present
 > sd0: could not get size
 > 
 > sd0(ahc0:6:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
 > sd0 could not mode sense (4). Using fictitious geometry
 > 0MB (0 512 byte sectors)
 > fxp0 <Intel EtherExpress Pro 10/100B Ethernet> rev 5 int a irq 11 on pci0:15:0
 > fxp0: Ethernet address 00:90:27:22:fe:b8
 > Probing for devices on PCI bus 1:
 > vga0 <VGA-compatible display device> rev 1 int a irq 9 on pci1:0:0
 > Probing for devices on the ISA bus:
 > sc0 at 0x60-0x6f irq 1 on motherboard
 > sc0: VGA color <16 virtual consoles, flags=0x0>
 > sio0 at 0x3f8-0x3ff irq 4 on isa
 > sio0: type 16550A
 > sio1 at 0x2f8-0x2ff irq 3 on isa
 > sio1: type 16550A
 > lpt0 at 0x378-0x37f irq 7 on isa
 > lpt0: Interrupt-driven port
 > lp0: TCP/IP capable interface
 > psm0 at 0x60-0x64 irq 12 on motherboard
 > psm0: model IntelliMouse, device ID 3
 > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
 > wdc0 at 0x1f0-0x1f7 irq 14 on isa
 > wdc0: unit 0 (wd0): <IBM-DHEA-38451>
 > wd0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
 > wdc1 at 0x170-0x177 irq 15 on isa
 > wdc1: unit 0 (atapi): <FX320S/q01>, removable, intr, dma, iordis
 > wcd0: 5512KB/sec, 256KB cache, audio play, 255 volume levels, ejectable tray
 > wcd0: no disc inside, unlocked
 > wdc1: unit 1 (atapi): <LS-120 COSM   02              UHD Floppy/0271C09T>, removable, iordy
 > wfd0: medium type unknown (no disk)
 > sb0 not found at 0x220
 > sbxvi0 not found
 > sbmidi0 not found at 0x330
 > npx0 flags 0x1 on motherboard
 > npx0: INT 16 interface
 > 
 > 
 > # more /sys/i386/conf/PC232
 > #
 > # PC232
 > #
 > # For more information read the handbook part System Administration -> 
 > # Configuring the FreeBSD Kernel -> The Configuration File. 
 > # The handbook is available in /usr/share/doc/handbook or online as
 > # latest version from the FreeBSD World Wide Web server 
 > # <URL:http://www.FreeBSD.ORG/>;
 > #
 > # An exhaustive list of options and more detailed explanations of the 
 > # device lines is present in the ./LINT configuration file. If you are 
 > # in doubt as to the purpose or necessity of a line, check first in LINT.
 > #
 > # CJC, 2/2/99
 > 
 > machine		"i386"
 > cpu		"I686_CPU"
 > ident		"PC232"
 > maxusers	32
 > 
 > 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=10		#Be pessimistic about Joe SCSI device
 > options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
 > options		UCONSOLE		#Allow users to grab the console
 > options		FAILSAFE		#Be conservative
 > 
 > config		kernel	root on wd0
 > 
 > controller	isa0
 > controller	eisa0
 > controller	pci0
 > 
 > controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
 > disk		fd0	at fdc0 drive 0
 > 
 > #
 > # IDE Devices:
 > 
 > options		ATAPI		#Enable ATAPI support for IDE bus
 > options		ATAPI_STATIC	#Don't do it as an LKM
 > 
 > controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
 > disk		wd0	at wdc0 drive 0
 > 
 > controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
 > device		wcd0		#IDE CD-ROM
 > device		wfd0		#IDE floppy (LS-120)
 > 
 > #
 > # SCSI Devices:
 > # A single entry for any of these controllers (ncr, ahb, ahc, amd) is
 > # sufficient for any number of installed devices.
 > #
 > controller	ahc0		#Adaptec 274x/284x/294x
 > controller	scbus0 at ahc0
 > 
 > device		cd0	#Only need one of these, the code dynamically grows
 > device 		worm0 	at scbus?  # SCSI worm
 > 
 > #
 > # Sound card support (SoundBlaster 16bit)
 > controller	snd0
 > device		sb0     at isa? port 0x220 irq 5 drq 1 vector sbintr
 > device		sbxvi0  at isa? drq 5
 > device		sbmidi0 at isa? port 0x330
 > 
 > 
 > # Mandatory, don't remove
 > device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
 > 
 > #
 > # PCI devices
 > device		apm0    at isa?	disable	# Advanced Power Management
 > options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
 > 
 > #
 > # Standard devices:
 > #
 > # syscons is the default console driver, resembling an SCO console
 > device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
 > # serial ports
 > device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
 > device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
 > # conflicting with soundcard?
 > # device	sio2    at isa? disable port "IO_COM3" tty irq 5 vector siointr
 > # device	sio3    at isa? disable port "IO_COM4" tty irq 9 vector siointr
 > # parallel (printer) ports
 > device		lpt0	at isa? port? tty irq 7 vector lptintr
 > # PS/2 mouse device
 > device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
 > 
 > #
 > # The `fxp' device provides support for the Intel EtherExpress Pro/100B
 > # PCI Fast Ethernet adapters.
 > device fxp0
 > 
 > 
 > #
 > # Network interfaces:
 > #  The `loop' pseudo-device is MANDATORY when networking is enabled.
 > #  The `ether' pseudo-device provides generic code to handle
 > #  Ethernets; it is MANDATORY when a Ethernet device driver is
 > #  configured.
 > #  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
 > #  aware of the legal and administrative consequences of enabling this
 > #  option.  The number of devices determines the maximum number of
 > #  simultaneous BPF clients programs runnable.
 > #
 > pseudo-device	loop            #Network loopback device
 > pseudo-device	ether		#Generic Ethernet
 > pseudo-device   bpfilter 4      #Berkeley packet filter
 > 
 > #
 > # Misc Devices:
 > # Of these, only the `log' device is truly mandatory.  The `pty'
 > # device usually turns out to be ``effectively mandatory'', as it is
 > # required for `telnetd', `rlogind', `screen', `emacs', and `xterm',
 > # among others. 
 > # If you wish to run certain
 > # system utilities which are compressed by default (like /stand/sysinstall)
 > # then `gzip' becomes mandatory too.
 > #
 > pseudo-device	log		#Kernel syslog interface (/dev/klog)
 > pseudo-device	vn	1	#Vnode driver (turns a file into a device)
 > pseudo-device	pty	16      #Pseudo ttys - can go as high as 256
 > 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
 > 
 > #
 > # This provides support for System V shared memory.
 > options         SYSVSHM
 > 
 > 
 > -- 
 > Crist J. Clark                           cjclark@home.com
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-questions" in the body of the message

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



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