From john@monolith.rh.rit.edu Tue May 2 08:17:27 2000 Return-Path: Received: from monolith.rh.rit.edu (d142-l048.rh.rit.edu [129.21.142.48]) by hub.freebsd.org (Postfix) with SMTP id 48CE037B8AC for ; Tue, 2 May 2000 08:17:04 -0700 (PDT) (envelope-from john@monolith.rh.rit.edu) Received: (qmail 38433 invoked by uid 1000); 2 May 2000 15:22:41 -0000 Message-Id: <20000502152241.38432.qmail@monolith.rh.rit.edu> Date: 2 May 2000 15:22:41 -0000 From: jjm7570@cs.rit.edu Sender: john@monolith.rh.rit.edu Reply-To: jjm7570@cs.rit.edu To: FreeBSD-gnats-submit@freebsd.org Subject: sbc / pcm not fully recognizing AWE64 X-Send-Pr-Version: 3.2 >Number: 18345 >Category: kern >Synopsis: [sound] sbc / pcm not fully recognizing AWE64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-multimedia >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 2 08:20:01 PDT 2000 >Closed-Date: Sun Sep 11 11:41:43 GMT 2005 >Last-Modified: Sun Sep 11 11:41:43 GMT 2005 >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 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: on motherboard npx0: flags 0x1 npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 pci0: 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: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 19.0 irq 17 ahc0: 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: 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: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: 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: 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: on sbc0 unknown0: at port 0x200-0x207 on isa0 unknown1: at port 0x620-0x623 on isa0 unknown2: 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: Responsible-Changed-From-To: freebsd-bugs->cg Responsible-Changed-By: johan Responsible-Changed-When: Thu Aug 24 04:56:44 PDT 2000 Responsible-Changed-Why: Over to pcm maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=18345 From: "Cameron Grant" To: , Cc: Subject: Re: kern/18345: sbc / pcm not fully recognizing AWE64 Date: Tue, 27 Mar 2001 07:06:00 +0100 unknown0: at port 0x200-0x207 on isa0 unknown1: at port 0x620-0x623 on isa0 unknown2: at port 0x168-0x16f,0x36e-0x36f irq 10 on isa0 these devices are not required for pcm. if pcm does not function, there is some other reason. -cg From: "Jukka A. Ukkonen" To: freebsd-gnats-submit@FreeBSD.org, jjm7570@cs.rit.edu Cc: Subject: Re: kern/18345: sbc / pcm not fully recognizing AWE64 Date: Fri, 28 Nov 2003 12:53:34 +0200 Hello everybody, This could be a generic PnP problem, not a pcm/sbc problem only. I am now hit by a related/similar problem in 4.9-STABLE. The difference is though that in my case the kernel does not recognize even the actual pcm/sbc audio (logical) device. This became kind of long because I am quoting quite a lot of the kernel messages from a verbose boot. So, what happens in my environment at boot time goes like... aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs pcm0: port 0xef00-0xef3f irq 9 at device 12.0 on pci0 pcm0: pcm0: Codec features 6 bit master volume, no 3D Stereo Enhancement using shared irq9. pcm0: sndbuf_setmap 1f138000, 1000; 0xc2204000 -> 1f138000 pcm0: sndbuf_setmap 1f0fa000, 1000; 0xc2206000 -> 1f0fa000 fxp0: port 0xee80-0xeebf mem 0xff900000-0xff9ffff f,0xffafd000-0xffafdfff irq 2 at device 13.0 on pci0 fxp0: using memory space register mapping using shared irq2. fxp0: Ethernet address 00:e0:81:10:36:f0 fxp0: PCI IDs: 8086 1229 8086 000c 0008 fxp0: Dynamic Standby mode is disabled So, another Ensonic sound device integrated in the mother board is found OK, and the story continues... pcib1: on motherboard pci2: on pcib1 ex_isa_identify() ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 CTL0042: start dependant CTL0042: adding irq mask 0x20 CTL0042: adding dma mask 0x2 CTL0042: adding dma mask 0x20 CTL0042: adding io range 0x220-0x22f, size=0x10, align=0x1 CTL0042: adding io range 0x330-0x331, size=0x2, align=0x1 CTL0042: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0042: start dependant CTL0042: adding irq mask 0x6a0 CTL0042: adding dma mask 0xb CTL0042: adding dma mask 0xe0 CTL0042: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0042: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0042: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0042: start dependant CTL0042: adding irq mask 0x6a0 CTL0042: adding dma mask 0xb CTL0042: adding dma mask 0xe0 CTL0042: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0042: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0042: start dependant CTL0042: adding irq mask 0x6a0 CTL0042: adding dma mask 0xb CTL0042: adding dma mask 0xe0 CTL0042: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0042: start dependant CTL0042: adding irq mask 0x6a0 CTL0042: adding dma mask 0xb CTL0042: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0042: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0042: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0042: start dependant CTL0042: adding irq mask 0x6a0 CTL0042: adding dma mask 0xb CTL0042: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0042: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0042: start dependant CTL0042: adding irq mask 0x6a0 CTL0042: adding dma mask 0xb CTL0042: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0042: start dependant isa0: too many dependant configs (8) CTL7002: start dependant CTL7002: adding io range 0x200-0x207, size=0x8, align=0x1 CTL7002: start dependant CTL7002: adding io range 0x200-0x20f, size=0x8, align=0x8 CTL7002: end dependant CTL0022: start dependant CTL0022: adding io range 0x620-0x623, size=0x4, align=0x1 CTL0022: start dependant CTL0022: adding io range 0x620-0x683, size=0x4, align=0x20 CTL0022: end dependant CTL2011: start dependant CTL2011: adding irq mask 0x400 CTL2011: adding io range 0x168-0x16f, size=0x8, align=0x1 CTL2011: adding io range 0x36e-0x36f, size=0x2, align=0x1 CTL2011: start dependant CTL2011: adding irq mask 0x800 CTL2011: adding io range 0x1e8-0x1ef, size=0x8, align=0x1 CTL2011: adding io range 0x3ee-0x3ef, size=0x2, align=0x1 CTL2011: start dependant CTL2011: adding irq mask 0x9c00 CTL2011: adding io range 0x180-0x1bf, size=0x8, align=0x8 CTL2011: adding io range 0x306-0x33f, size=0x2, align=0x8 CTL2011: start dependant CTL2011: adding irq mask 0x8000 CTL2011: adding io range 0x170-0x177, size=0x8, align=0x1 CTL2011: adding io range 0x376-0x376, size=0x1, align=0x1 CTL2011: end dependant isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: