Date: Tue, 12 Jun 2001 10:25:45 +0200 From: Marian Cerny <cernm0bm@st.ms.mff.cuni.cz> To: smnoldelinux@mediaone.net, freebsd-questions@FreeBSD.org Subject: Re: ESS1869 sound card & UDMA problem Message-ID: <20010612102545.A1054@artax.karlin.mff.cuni.cz> In-Reply-To: <20010610204712.C5997-100000@bsd.smnolde.com>; from scott@mediaone.net on Sun, Jun 10, 2001 at 08:50:04PM -0400 References: <20010610211211.A29391@artax.karlin.mff.cuni.cz> <20010610204712.C5997-100000@bsd.smnolde.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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: <ESS ES1869> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0 pcm1: <ESS 18xx DSP> 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: <ESS ES1869> 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: <SiS 5591 ATA33 controller> 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: <ESS ES1869> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on > > isa0 > > pcm0: <ESS 18xx DSP> on sbc0 > > ad0: 14649MB <IBM-DTLA-307015> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010612102545.A1054>