From owner-freebsd-questions Tue Jun 12 1:38:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from artax.karlin.mff.cuni.cz (artax.karlin.mff.cuni.cz [195.113.31.125]) by hub.freebsd.org (Postfix) with ESMTP id A0A8037B401 for ; Tue, 12 Jun 2001 01:38:09 -0700 (PDT) (envelope-from cernm0bm@artax.karlin.mff.cuni.cz) Received: (from cernm0bm@localhost) by artax.karlin.mff.cuni.cz (8.9.3/8.9.3/Debian 8.9.3-21) id KAA03620; Tue, 12 Jun 2001 10:25:45 +0200 Date: Tue, 12 Jun 2001 10:25:45 +0200 From: Marian Cerny To: smnoldelinux@mediaone.net, freebsd-questions@FreeBSD.org Subject: Re: ESS1869 sound card & UDMA problem Message-ID: <20010612102545.A1054@artax.karlin.mff.cuni.cz> References: <20010610211211.A29391@artax.karlin.mff.cuni.cz> <20010610204712.C5997-100000@bsd.smnolde.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010610204712.C5997-100000@bsd.smnolde.com>; from scott@mediaone.net on Sun, Jun 10, 2001 at 08:50:04PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I use that same card, only it shows up for me on sbc1. In my kernel > config file, I have specified: > device sbc0 at isa? > device pcm0 at isa? I changed it like yours, now (after recompiling kernel), my sound card is also sbc1: sbc1: at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0 pcm1: on sbc1 > All of my sounds work well. Have you, in /dev/, sh MAKEDEV snd0? Yes I had. And I did it this time also, but: Can not open /dev/dsp, so I tried sh MAKEDEV snd1 and it worked. But still having that problem. Probably I have not explained it clearly. The sound card works. I do mpg123 some.mp3 and it plays. But when I start to copy any file (like cp any.big.mpg /archive), I'm not only hearing the some.mp3 sound, but also a lot of *unwanted* sound. It seems to me like the sound card also plays the data I am copying. I am not sure, but probably the problem is in DMA transfer or in some IRQ setting (i don't know what exactly DMA and IRQ means). sbc1: at port 0x220... irq 5 drq 1,0 on isa0 ^^^^^^^ Can not this be the problem? Like some in some output from dmesg from other people I have only seen one number. And I have also found some funny line in logs: Jun 12 09:37:47 ivetka /kernel: stray irq 7 > On Sun, 10 Jun 2001, Marian Cerny wrote: > > > Subtitle: My sound card doesn't like my harddisk (or vice versa?) > > > > Dear FreeBSD users, > > > > there is something wrong with my soundcard or my harddisk. When I play some sound (usualy using mpg123), it slashes/cracks(?) whenever my harddisk works. I think the problem is with DMA. > > > > I compiled my own kernel. First I commented out lots of choices in the GENERAL one and it worked (the kernel). Then I added these lines to my kernel configuration: > > > > device pcm > > device sbc > > > > as written in the FreeBSD handbook. > > > > Ok, here are some lines from dmesg: > > > > atapci0: port 0x4000-0x400f,0x374-0x377,0x170-0x177, > > 0x3f4-0x3f7,0x1f0-0x1f7 irq 14 at device 1.1 on pci0 > > ata0: at 0x1f0 irq 14 on atapci0 > > > > sbc0: at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on > > isa0 > > pcm0: on sbc0 > > ad0: 14649MB [29765/16/63] at ata0-master UDMA33 > > > > I really have no idea where the problem is. But the same problem I had under Linux, when I turned on dma transfer (using hdparm). With Windows95 it worked but I don't know if the disk used UDMA. > > > > Btw, the sound card is on motherboard. -- Marian Cerny cerny@spnv.sk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message