From owner-freebsd-multimedia Fri Jan 19 20:42:19 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from puck.firepipe.net (mcut-b-167.resnet.purdue.edu [128.211.209.167]) by hub.freebsd.org (Postfix) with ESMTP id 87C2A37B6A2 for ; Fri, 19 Jan 2001 20:41:54 -0800 (PST) Received: by puck.firepipe.net (Postfix, from userid 1000) id 27F3E19C8; Fri, 19 Jan 2001 23:41:53 -0500 (EST) Date: Fri, 19 Jan 2001 23:41:53 -0500 From: Will Andrews To: FreeBSD Multimedia Subject: Dealing with IRQ conflicts & PCM in presence of SMP Message-ID: <20010119234153.A480@puck.firepipe.net> Reply-To: Will Andrews Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="WplhKdTI2c8ulnbP" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --WplhKdTI2c8ulnbP Content-Type: multipart/mixed; boundary="+pHx0qQiF2pBVqBT" Content-Disposition: inline --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [ Please keep me on CC: as I'm not subscribed. Thanks! ] Hi all, I recently upgraded my system from a single PII-450 to a dual PIII-600E. A casualty of this upgrade has been my soundcard, which no longer (for what is apparently irq conflicts) works (but is recognized). I've tried everything from disabling serial & parallel ports (really don't need them anyway) and making the BIOS preference for PCI Slot 2 (which is the soundcard) IRQ 3 or 4 (depending on which sio port was disabled). Ech. Attached below are dmesg & kernel config & pciconf / sndstat / mixer status. I am using Alexander Matey's au88x0 driver for the Aureal Vortex 2-based Diamond Monster Sound MX300 card. My motherboard is a Supermicro SUPER P6DGU, in case that helps. TIA, --=20 wca --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.out" Content-Transfer-Encoding: quoted-printable Copyright (c) 1992-2001 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 4.2-STABLE #0: Fri Jan 19 23:05:41 EST 2001 will@puck.firepipe.net:/a/stable/src/sys/compile/PUCK Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (601.37-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x683 Stepping =3D 3 Features=3D0x383fbff real memory =3D 671088640 (655360K bytes) avail memory =3D 647512064 (632336K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 10 IOAPIC #0 intpin 17 -> irq 11 IOAPIC #0 intpin 18 -> irq 9 IOAPIC #0 intpin 19 -> irq 5 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 Preloaded elf kernel "kernel" at 0xc043a000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on= pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: at device 7.2 on pci0 uhci0: Invalid irq 255 uhci0: Please switch on USB support and switch PNP-OS to 'No' in BIOS device_probe_and_attach: uhci0 attach returned 6 intpm0: port 0x440-0x44f irq 9 = at device 7.3 on pci0 intpm0: I/O mapped 440 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 400=20 ahc0: port 0xe800-0xe8ff mem 0xffa= ff000-0xffafffff irq 10 at device 14.0 on pci0 aic7890/91: Wide Channel A, SCSI Id=3D7, 32/255 SCBs pcm0: port 0xefe0-0xefe7,0xeff0-0xeff7 mem 0xffa80000-= 0xffabffff irq 10 at device 15.0 on pci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xec00-0xec7f mem 0xffafef80-0= xffafefff irq 11 at device 16.0 on pci0 xl0: Ethernet address: 00:50:04:18:02:63 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: <3Com 3c905B-TX Fast Etherlink XL> port 0xe480-0xe4ff mem 0xffafef00-0= xffafef7f irq 9 at device 18.0 on pci0 xl1: Ethernet address: 00:50:04:d0:d9:c2 miibus1: on xl1 xlphy1: <3Com internal media interface> on miibus1 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: port 0xef00-0xef3f,0xefa0-0xefa3,0xef6= 8-0xef6f,0xefa4-0xefa7,0xefa8-0xefaf mem 0xffa20000-0xffa3ffff irq 5 at dev= ice 20.0 on pci0 ata2: at 0xefa8 on atapci1 ata3: at 0xef68 on atapci1 pcib1: on motherboard pci2: on pcib1 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 psm0: irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=3D0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 DUMMYNET initialized (000608) IPv6 packet filtering initialized, unlimited logging IP packet filtering initialized, divert enabled, rule-based forwarding enab= led, default to deny, unlimited logging IPsec: Initialized Security Association Processing. IP Filter: v3.4.8 initialized. Default =3D pass all, Logging =3D enabled SMP: AP CPU #1 Launched! ad4: 29314MB [59560/16/63] at ata2-master UDMA100 ad6: 29314MB [59560/16/63] at ata3-master UDMA100 Waiting 15 seconds for SCSI devices to settle pass1 at ahc0 bus 0 target 2 lun 0 pass1: Fixed Scanner SCSI-2 device=20 pass1: 3.300MB/s transfers Mounting root from ufs:/dev/da0s1a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device=20 da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing En= abled da0: 8754MB (17928698 512 byte sectors: 255H 63S/T 1116C) cd0 at ahc0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device=20 cd0: 8.333MB/s transfers (8.333MHz, offset 31) cd0: Attempt to query device size failed: NOT READY, Medium not present - t= ray closed da1 at ahc0 bus 0 target 5 lun 0 da1: Removable Direct Access SCSI-2 device=20 da1: 3.300MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=PUCK machine i386 # x86 architecture cpu I686_CPU # Machine is PII/PIII ident PUCK # puck.firepipe.net maxusers 512 # We run lots of stuff on it options INET # InterNETworking options INET6 # IPv6 communications protocols options IPSEC # IP security options IPSEC_ESP # IP security (crypto) options FFS # Berkeley Fast Filesystem options FFS_ROOT # FFS usable as root device options NFS # Network Filesystem options NFS_ROOT # NFS usable as root device options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options CD9660_ROOT # CD-ROM usable as root options PROCFS # Process filesystem options COMPAT_43 # Compatible with BSD 4.3 options SCSI_DELAY=15000 # Delay before probing SCSI options UCONSOLE # Allow users to grab console options USERCONFIG # boot -c editor options VISUAL_USERCONFIG # visual boot -c editor options INCLUDE_CONFIG_FILE # include this in kernel symbols options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SHMALL=1025 # SHM-related options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" # SHM max size options SHMMAXPGS=4096 # SHM max pages options SHMMIN=2 # SHM min ? options SHMMNI=33 # SHM? options SHMSEG=100 # SHM? options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options P1003_1B # Posix real-time extensions options _KPOSIX_PRIORITY_SCHEDULING # POSIX priority scheduling options ICMP_BANDLIM # Rate limit bad replies options SMP # Symmetric MultiProcessor (SMP) options APIC_IO # SMP: (APIC) I/O #options NCPU=2 # SMP: number of CPUs #options NBUS=4 # SMP: number of busses #options NAPIC=1 # SMP: number of IO APICs #options NINTR=24 # SMP: number of INTs options SOFTUPDATES # ffs speedups options IPFIREWALL # IP Firewall (IPFW) options IPFIREWALL_VERBOSE # IPFW: Logging support options IPDIVERT # IPFW: divert(4) support options IPFIREWALL_FORWARD # IPFW: Forwarding support options DUMMYNET # IPFW: Bandwidth piping options IPSTEALTH # IPFW: Stealth forwarding options IPV6FIREWALL # IP6 Firewall (IP6FW) options IPV6FIREWALL_VERBOSE # IP6FW: logging options IPFILTER # IPFilter (IPF) options IPFILTER_LOG # IPF: Logging support options TCP_RESTRICT_RST # TCP: Restrict emission of RST options CAMDEBUG # CAM debugging code options CAM_DEBUG_BUS=-1 # CAM: Default bus options CAM_DEBUG_TARGET=-1 # CAM: Default target options CAM_DEBUG_LUN=-1 # CAM: Default LUN options TCP_DROP_SYNFIN # TCP: Drop packets with SYN+FIN options TCP_RESTRICT_RST # TCP: Restrict emission of RST device isa # ISA bus device pci # PCI bus device fdc0 at isa? port IO_FD1 irq 6 drq 2 # floppy controller device fd0 at fdc0 drive 0 # floppy drive # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives options ATA_STATIC_ID #Static device numbering device ahc # AHA2940 and onboard AIC7xxx devices device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device pt # processor type device ses # SCSI SES/SAF-TE driver device atkbdc0 at isa? port IO_KBD # keyboard controller device atkbd0 at atkbdc? irq 1 # keyboard device psm0 at atkbdc? irq 12 # ps/2 mouse device vga0 at isa? # vga support device sc0 at isa? # syscons device npx0 at nexus? port IO_NPX irq 13 # floating point device sio0 at isa? port IO_COM1 flags 0x10 irq 4 # COM1 #device sio1 at isa? port IO_COM2 irq 3 # COM2 #device sio2 at isa? port IO_COM3 irq 5 # COM3 #device sio3 at isa? disable port IO_COM4 irq 9 # COM4 #device ppc0 at isa? irq 7 # Parallel port device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device device vpo # Iomega Zip - Requires scbus and da device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') device smbus # SMBus (SMB) device intpm # PIIX4 (IO) device smb # SMB: actual device device iicbus # IICBus (I2C) device ic # I2C: network interface device iic # I2C: standard i/o device iicsmb # I2C: SMB support pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device ppp 1 # Kernel PPP pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif 2 # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) pseudo-device bpf # Berkeley packet filter pseudo-device splash # Splash device device pcm # Sound support. device usb # Generic USB code (USB) device uhci # USB: UHCI controller device ohci # USB: OHCI controller device ugen # USB: Generic device driver --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pciconf.out" chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x71a08086 rev=0x00 hdr=0x00 pcib2@pci0:1:0: class=0x060400 card=0x00000000 chip=0x71a18086 rev=0x00 hdr=0x01 isab0@pci0:7:0: class=0x060100 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00 atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 uhci0@pci0:7:2: class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00 intpm0@pci0:7:3: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00 ahc0@pci0:14:0: class=0x010000 card=0x000f9005 chip=0x001f9005 rev=0x00 hdr=0x00 pcm0@pci0:15:0: class=0x040100 card=0x30011092 chip=0x000212eb rev=0xfe hdr=0x00 xl0@pci0:16:0: class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x30 hdr=0x00 xl1@pci0:18:0: class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x30 hdr=0x00 atapci1@pci0:20:0: class=0x018000 card=0x4d33105a chip=0x4d30105a rev=0x02 hdr=0x00 none0@pci1:0:0: class=0x030000 card=0x00281002 chip=0x50461002 rev=0x00 hdr=0x00 --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mixer.out" Mixer vol is currently set to 75:75 Mixer bass is currently set to 50:50 Mixer treble is currently set to 50:50 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer video is currently set to 75:75 --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sndstat.out" FreeBSD Audio Driver (newpcm) Jan 19 2001 23:05:30 Installed devices: pcm0: at memory 0xffa80000 irq 10 (4p/1r channels duplex) --+pHx0qQiF2pBVqBT-- --WplhKdTI2c8ulnbP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6aRcQF47idPgWcsURAp2XAJ4gaBfPof3Uh/PRh/sTlUSWvdDvlQCfTFu4 oT/k7bsJGb5RoH5bNb7pNjs= =lSIw -----END PGP SIGNATURE----- --WplhKdTI2c8ulnbP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message