From owner-freebsd-multimedia Wed Jan 29 11:42:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA17344 for multimedia-outgoing; Wed, 29 Jan 1997 11:42:28 -0800 (PST) Received: from gateway.cybernet.com (gateway.cybernet.com [192.245.33.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA17336 for ; Wed, 29 Jan 1997 11:42:21 -0800 (PST) Received: from spiffy.cybernet.com (spiffy.cybernet.com [192.245.33.55]) by gateway.cybernet.com (8.7.6/8.7.3) with SMTP id OAA06481; Wed, 29 Jan 1997 14:52:15 -0500 (EST) Message-ID: X-Mailer: XFMail 1.1-alpha [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 29 Jan 1997 14:32:18 -0500 (EST) Organization: Cybernet Systems Corporation From: Mark Taylor To: Doug White Subject: Re: SoundBlaster Pro 2 card stops for video output Cc: multimedia@freebsd.org Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On 07:49:39 Doug White wrote: >On Tue, 28 Jan 1997, Mark Taylor wrote: > >> I have a Pentium 166 MHz system w/ FreeBSD-2.2-ALPHA and a SoundBlaster Pro 2 >> (CT 1600) sound card. >> >> The sound is fine unless I have another window scrolling text (as in >> "while [ 1 ]; do ps -ax; done"). At that time, the sound seems to >> stop playing (the sound process starves?). > >I can't reproduce this on my P100, GUS PnP, and ATI Mach64 video using >your command (under X -- the ps -ax is barely doing anything!) > >What's your video card? A Diamond Stealth 64 w/ 2 Mb DRAM, running Accelerated-X 2.1. > >> I've tried the sound card at IRQ 5 and 7 (always DMA channel 1), with >> and w/o the 'shared DMA channel' set on the card. Nothing else is >> using the IRQ or DMA channel that the sound card is on. I've been >> setting the LPT device to the other IRQ [5 or 7]. I've also tried >> setting "options SBC_IRQ=5" in the kernel config file (and rebuilding/ >> installing it). > >DMA 1 may be used by something else; also, the shared DMA may be confusing >it. (Wait -- a Pro isn't a 16 bit device, it only has one DMA channel!) That's right- it's supposed to be an 8 bit card, but it has a the extension for the 16 bit ISA bus. Hmmm... > >> I have DMA channel 1 and IRQ channels 5 and 7 set for "Legacy ISA" in the BIOS >> config (yes, there are four PCI devices in there: de0, video, PCI IDE, >> and USB port), so nothing should be stealing the IRQ or DMA channel. > >How about other ISA devices? There are no other ISA cards in the machine! dmesg (from a verbose boot) shows: Jan 28 17:02:17 spiffy /kernel: FreeBSD 2.2-ALPHA #0: Fri Dec 13 10:13:31 EST 1996 Jan 28 17:02:17 spiffy /kernel: root@spiffy.cybernet.com:/usr/src/sys/compile/SPIFFY Jan 28 17:02:17 spiffy /kernel: Calibrating clock(s) relative to mc146818A clock ... i586 clock: 166199923 Hz, i8254 clock : 1193231 Hz Jan 28 17:02:17 spiffy /kernel: CLK_USE_I8254_CALIBRATION not specified - using default frequency Jan 28 17:02:17 spiffy /kernel: CLK_USE_I586_CALIBRATION not specified - using old calibration method Jan 28 17:02:17 spiffy /kernel: CPU: Pentium (166.19-MHz 586-class CPU) Jan 28 17:02:17 spiffy /kernel: Origin = "GenuineIntel" Id = 0x52c Stepping=12 Jan 28 17:02:17 spiffy /kernel: Features=0x1bf Jan 28 17:02:17 spiffy /kernel: real memory = 33554432 (32768K bytes) Jan 28 17:02:17 spiffy /kernel: avail memory = 30343168 (29632K bytes) Jan 28 17:02:17 spiffy /kernel: BIOS Geometries: Jan 28 17:02:17 spiffy /kernel: 0:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors Jan 28 17:02:17 spiffy /kernel: 0 accounted for Jan 28 17:02:17 spiffy /kernel: pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x8000005c Jan 28 17:02:17 spiffy /kernel: pcibus_setup(1a): mode1res=0x80000000 (0x80000000) Jan 28 17:02:17 spiffy /kernel: pcibus_check: device 0 is there (id=70308086) Jan 28 17:02:17 spiffy /kernel: Probing for devices on PCI bus 0: Jan 28 17:02:17 spiffy /kernel: configuration mode 1 allows 32 devices. Jan 28 17:02:17 spiffy /kernel: chip0 rev 2 on pci0:0 Jan 28 17:02:17 spiffy /kernel: chip1 rev 1 on pci0:7:0 Jan 28 17:02:17 spiffy /kernel: chip2 rev 0 on pci0:7:1 Jan 28 17:02:17 spiffy /kernel: mapreg[20] type=1 addr=0000f000 size=0010. Jan 28 17:02:18 spiffy /kernel: ahc0 rev 0 int a irq 11 on pci0:8 Jan 28 17:02:18 spiffy /kernel: mapreg[10] type=1 addr=00006100 size=0100. Jan 28 17:02:18 spiffy /kernel: mapreg[14] type=0 addr=e0801000 size=1000. Jan 28 17:02:18 spiffy /kernel: reg20: virtual=0xf5d65000 physical=0xe0801000 size=0x1000 Jan 28 17:02:18 spiffy /kernel: ahc0: Reading SEEPROM...done. Jan 28 17:02:18 spiffy /kernel: ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs Jan 28 17:02:18 spiffy /kernel: ahc0: Downloading Sequencer Program...Done Jan 28 17:02:18 spiffy /kernel: ahc0: Probing channel A Jan 28 17:02:18 spiffy /kernel: Choosing drivers for scbus configured at 0 Jan 28 17:02:18 spiffy /kernel: ahc0 waiting for scsi devices to settle Jan 28 17:02:18 spiffy /kernel: ahc0: target 0 synchronous at 10.0MHz, offset = 0xf Jan 28 17:02:18 spiffy /kernel: (ahc0:0:0): "QUANTUM XP34301 1030" type 0 fixed SCSI 2 Jan 28 17:02:18 spiffy /kernel: sd0(ahc0:0:0): Direct-Access 4106MB (8410200 512 byte sectors) Jan 28 17:02:18 spiffy /kernel: sd0(ahc0:0:0): with 4076 cyls, 20 heads, and an average 103 sectors/track Jan 28 17:02:18 spiffy /kernel: ahc0: target 1 synchronous at 4.0MHz, offset = 0xf Jan 28 17:02:18 spiffy /kernel: (ahc0:1:0): "TOSHIBA CD-ROM XM-5401TA 3605" type 5 removable SCSI 2 Jan 28 17:02:18 spiffy /kernel: cd0(ahc0:1:0): CD-ROM Jan 28 17:02:18 spiffy /kernel: cd0(ahc0:1:0): NOT READY asc:3a,0 Medium not present Jan 28 17:02:18 spiffy /kernel: can't get the size Jan 28 17:02:18 spiffy /kernel: de0 rev 17 int a irq 10 on pci0:9 Jan 28 17:02:18 spiffy /kernel: mapreg[10] type=1 addr=00006200 size=0080. Jan 28 17:02:18 spiffy /kernel: mapreg[14] type=0 addr=e0800000 size=0080. Jan 28 17:02:18 spiffy /kernel: reg16: ioaddr=0x6200 size=0x80 Jan 28 17:02:18 spiffy /kernel: de0: DC21041 [10Mb/s] pass 1.1 Jan 28 17:02:18 spiffy /kernel: de0: address 00:00:c0:61:5b:d5 Jan 28 17:02:18 spiffy /kernel: bpf: de0 attached Jan 28 17:02:18 spiffy /kernel: vga0 rev 0 int a irq 9 on pci0:10 Jan 28 17:02:18 spiffy /kernel: mapreg[10] type=0 addr=e0000000 size=800000. Jan 28 17:02:18 spiffy /kernel: pci0: uses 8392832 bytes of memory from e0000000 upto e0801fff. Jan 28 17:02:18 spiffy /kernel: pci0: uses 400 bytes of I/O space from 6100 upto f00f. Jan 28 17:02:19 spiffy /kernel: Probing for devices on the ISA bus: Jan 28 17:02:19 spiffy /kernel: sc0 at 0x60-0x6f irq 1 on motherboard Jan 28 17:02:19 spiffy /kernel: sc0: VGA color <16 virtual consoles, flags=0x0> Jan 28 17:02:19 spiffy /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa Jan 28 17:02:19 spiffy /kernel: sio0: type 16550A Jan 28 17:02:19 spiffy /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa Jan 28 17:02:19 spiffy /kernel: sio1: type 16550A Jan 28 17:02:19 spiffy /kernel: lpt0 at 0x278-0x27f irq 5 on isa Jan 28 17:02:19 spiffy /kernel: lpt0: Interrupt-driven port Jan 28 17:02:19 spiffy /kernel: lp0: TCP/IP capable interface Jan 28 17:02:19 spiffy /kernel: bpf: lp0 attached Jan 28 17:02:19 spiffy /kernel: pca0 on motherboard Jan 28 17:02:19 spiffy /kernel: pca0: PC speaker audio driver Jan 28 17:02:19 spiffy /kernel: psm0 at 0x60-0x63 irq 12 on motherboard Jan 28 17:02:19 spiffy /kernel: qcam0 at 0x278 flags 0x1 on isa Jan 28 17:02:19 spiffy /kernel: qcam0: unidirectional parallel port Jan 28 17:02:19 spiffy /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Jan 28 17:02:19 spiffy /kernel: fdc0: NEC 72065B Jan 28 17:02:19 spiffy /kernel: fd0: 1.44MB 3.5in Jan 28 17:02:19 spiffy /kernel: wdc0 not found at 0x1f0 Jan 28 17:02:19 spiffy /kernel: wdc1 not found at 0x170 Jan 28 17:02:19 spiffy /kernel: npx0 on motherboard Jan 28 17:02:19 spiffy /kernel: npx0: INT 16 interface Jan 28 17:02:19 spiffy /kernel: sb0 at 0x220 irq 7 drq 1 on isa Jan 28 17:02:19 spiffy /kernel: sb0: Jan 28 17:02:19 spiffy /kernel: opl0 at 0x388 on isa Jan 28 17:02:19 spiffy /kernel: opl0: Jan 28 17:02:19 spiffy /kernel: sbmidi0 not found at 0x330 Jan 28 17:02:19 spiffy /kernel: joy0 at 0x201 on isa Jan 28 17:02:20 spiffy /kernel: joy0: joystick Jan 28 17:02:20 spiffy /kernel: imasks: bio c0000840, tty c003143a, net c003143a Jan 28 17:02:20 spiffy /kernel: Device configuration finished. Jan 28 17:02:20 spiffy /kernel: Considering FFS root f/s. Jan 28 17:02:20 spiffy /kernel: configure() finished. Jan 28 17:02:20 spiffy /kernel: bpf: tun0 attached Jan 28 17:02:20 spiffy /kernel: bpf: tun1 attached Jan 28 17:02:20 spiffy /kernel: bpf: tun2 attached Jan 28 17:02:20 spiffy /kernel: bpf: tun3 attached Jan 28 17:02:20 spiffy /kernel: bpf: sl0 attached Jan 28 17:02:20 spiffy /kernel: bpf: sl1 attached Jan 28 17:02:20 spiffy /kernel: bpf: sl2 attached Jan 28 17:02:20 spiffy /kernel: bpf: sl3 attached Jan 28 17:02:20 spiffy /kernel: bpf: lo0 attached Jan 28 17:02:20 spiffy /kernel: IP packet filtering initialized, divert enabled, logging disabled Jan 28 17:02:20 spiffy /kernel: de0: enabling 10baseT port Jan 28 17:02:20 spiffy /kernel: sd0s1: type 0x6, start 32, end = 819199, size 819168 : OK Jan 28 17:02:20 spiffy /kernel: sd0s2: type 0xa5, start 819200, end = 8409087, size 7589888 : OK > >Doug White | University of Oregon >Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant >http://gladstone.uoregon.edu/~dwhite | Computer Science Major -------------------------------------------------------------------- Mark J. Taylor Network R&D Manager Cybernet Systems mtaylor@cybernet.com 727 Airport Blvd. PHONE (313) 668-2567 Ann Arbor, MI 48108 FAX (313) 668-8780 --------------------------------------------------------------------