From owner-freebsd-questions Wed Aug 11 18:13:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from chain.freebsd.os.org.za (chain.freebsd.os.org.za [196.7.74.174]) by hub.freebsd.org (Postfix) with ESMTP id 95D9814D3E for ; Wed, 11 Aug 1999 18:12:47 -0700 (PDT) (envelope-from khetan@chain.freebsd.os.org.za) X-Disclaimer: Contents of this e-mail are the writer's opinion X-Disclaimer2: and may not be quoted, re-produced or forwarded X-Disclaimer3: (in part or whole) without the author's permission. Received: from localhost (khetan@localhost) by chain.freebsd.os.org.za (8.9.3/8.9.3) with ESMTP id DAA01935 for ; Thu, 12 Aug 1999 03:12:34 +0200 (SAST) (envelope-from khetan@chain.freebsd.os.org.za) Date: Thu, 12 Aug 1999 03:12:34 +0200 (SAST) From: Khetan Gajjar Reply-To: Khetan Gajjar To: questions@freebsd.org Subject: Problem using sound card (pcm driver) and SCSI together Message-ID: X-Mobile: +27 82 9907663 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I've got a bit of a odd situation. I can listen to music through my Soundblaster 16 perfectly, and copy files off a CD-RW perfectly, but problems occur when I do both. Specifically, the sound from the sound card almost "slows down". The minute I cancel the reads from the CD-RW, it's perfect again. The Soundblaster is a recent addition. I've looked for obvious things like same IRQ or DRQ, but can't find anything. Does anyone have any ideas ? The sound card claims to be set to IRQ 10, using DMA 3 and 7, and using IO address 220F. The SCSI card claims to be using IRQ 11, using DMA 6 and IO address 330H. From what I remember, there might be a problem with the Soundblaster using 330H as well. /dev/sndstat says 11=[khetan@chain] ~$ cat /dev/sndstat + cat /dev/sndstat FreeBSD Audio Driver (981002) Aug 10 1999 23:58:00 Installed devices: pcm0: at 0x220 irq 10 dma 7:3 which I believe precludes the Soundblaster using 330H at the same time as the SCSI card. and the dmesg says Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Tue Aug 10 23:59:02 SAST 1999 khetan@chain:/usr/src/sys/compile/CHAIN Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 200456072 Hz CPU: Pentium/P54C (200.46-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 117440512 (114688K bytes) config> en pcm0 config> ir pcm0 10 config> dr pcm0 3 config> f pcm0 0x17 config> q avail memory = 110272512 (107688K bytes) Preloaded elf kernel "kernel" at 0xc0348000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc034809c. Preloaded elf module "splash_bmp.ko" at 0xc03480ec. Preloaded splash_image_data "/boot/splash.bmp" at 0xc0348190. Intel Pentium detected, installing workaround for F00F bug VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c1bfc (c0001bfc) VESA: S3 Incorporated. Trio64V+ ccd0-1: Concatenated disk drivers Probing for PnP devices: devclass_alloc_unit: pcib0 already exists, using next available unit number devclass_alloc_unit: pcib0 already exists, using next available unit number devclass_alloc_unit: pcib0 already exists, using next available unit number devclass_alloc_unit: pcib0 already exists, using next available unit number npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 ata-pci0: irq 14 at device 0.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 isab0: at device 1.0 on pci0 pci0: unknown card DAY0009 (vendor=0x1039, dev=0x0009) at 1.1 pcib5: at device 2.0 on pci0 pci1: on pcib5 vga-pci0: irq 5 at device 9.0 on pci0 de0: irq 9 at device 11.0 on pci0 de0: SMC 21041 [10Mb/s] pass 1.1 de0: address 00:00:c0:f9:2f:c8 devclass_alloc_unit: pci1 already exists, using next available unit number pcib1: on motherboard pci2: on pcib1 devclass_alloc_unit: pci2 already exists, using next available unit number pcib2: on motherboard pci3: on pcib2 devclass_alloc_unit: pci3 already exists, using next available unit number pcib3: on motherboard pci4: on pcib3 devclass_alloc_unit: pci4 already exists, using next available unit number pcib4: on motherboard pci5: on pcib4 isa0: on motherboard aha0 at port 0x330-0x333,0x330-0x333 irq 11 drq 6 on isa0 aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pcm0 at port 0x220 irq 10 drq 3 flags 0x17 on isa0 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 ppc0 at port 0x378-0x37f irq 7 on isa0 ppc0: Winbond chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus 0 lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 de0: enabling 10baseT port IP packet filtering initialized, divert enabled, rule-based forwarding disabled, logging limited to 100 packets/entry by default ata0: master: setting up generic WDMA2 mode OK ad0: ATA-? disk at ata0 as master ad0: 2015MB (4127760 sectors), 4095 cyls, 16 heads, 63 S/T, 512 B/S ad0: piomode=4, dmamode=2, udmamode=-1 ad0: 16 secs/int, 0 depth queue, DMA mode ata0: slave: setting up generic WDMA2 mode OK ad1: ATA-4 disk at ata0 as slave ad1: 8693MB (17803440 sectors), 17662 cyls, 16 heads, 63 S/T, 512 B/S ad1: piomode=4, dmamode=2, udmamode=2 ad1: 16 secs/int, 31 depth queue, DMA mode ata1: master: setting up generic WDMA2 mode OK ad2: ATA-? disk at ata1 as master ad2: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S ad2: piomode=4, dmamode=2, udmamode=-1 ad2: 16 secs/int, 0 depth queue, DMA mode ata1: slave: setting up generic WDMA2 mode OK ad3: ATA-? disk at ata1 as slave ad3: 1039MB (2128896 sectors), 2112 cyls, 16 heads, 63 S/T, 512 B/S ad3: piomode=4, dmamode=2, udmamode=-1 ad3: 8 secs/int, 0 depth queue, DMA mode Waiting 2 seconds for SCSI devices to settle changing root device to wd1s1a da0 at aha0 bus 0 target 2 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 516MB (1057616 512 byte sectors: 64H 32S/T 516C) da1 at aha0 bus 0 target 4 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 3.300MB/s transfers da1: 515MB (1056708 512 byte sectors: 64H 32S/T 515C) cd0 at aha0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at aha0 bus 0 target 6 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 3.300MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed --- Khetan Gajjar (!kg1779) * khetan@os.org.za http://khetan.os.org.za/ * Talk/Finger khetan@khetan.os.org.za FreeBSD enthusiast * http://www2.za.freebsd.org/ Stupidest quote heard : Who is this BSD, and why should we free him ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message