From owner-freebsd-stable Wed Aug 16 8:46:23 2000 Delivered-To: freebsd-stable@freebsd.org Received: from moon.harmonic.co.il (moon.harmonic.co.il [192.116.140.65]) by hub.freebsd.org (Postfix) with ESMTP id 00B3F37C4BD for ; Wed, 16 Aug 2000 08:46:16 -0700 (PDT) (envelope-from roman@harmonic.co.il) Received: (from nobody@localhost) by moon.harmonic.co.il (8.9.3/8.9.3) id SAA15813 for freebsd-stable@freebsd.org; Wed, 16 Aug 2000 18:45:13 +0300 To: Subject: Strange pcm behaviour Message-ID: <966440713.399ab70931f6e@webmail.harmonic.co.il> Date: Wed, 16 Aug 2000 18:45:13 +0300 From: Roman Shterenzon MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.0-pre13 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Perhaps this should go to mobile, but I'm not sure. I'm running FreeBSD 4.1-STABLE (of 14/08/2000) on IBM ThinkPad 600E . I have the following lines in the configuration file: options PNPBIOS device pcm and the weird thing is that the device works randomly, e.g. after some boot I see: pcm0: at irq 11 (1p/1r channels duplex) pcm1: at io 0x530 irq 5 drq 1:0 (1p/1r channels duplex) and both don't work. pcm1: play interrupt timeout, channel dead pcm0: play interrupt timeout, channel dead Sometimes I see pcm0 (only) on io 0x530 and it WORKS, sometimes I see pcm1 (only) on io 0x530 and it WORKS too. For the two latter things I created a script which does: cd /dev; sh MAKEDEV snd`cat /dev/sndstat | grep 0x530 | awk '{print substr($1,4,1)}'` But when it doesn't work, I need to power-off the computer and then hope that on this boot it will work. Here's dmesg log which is relevant to pcm (this time, it DOESN'T work): pcm0: on csa0 pcm0: ac97 codec reports dac not ready pcm1: at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq 1,0 on isa0 This is from the boot it DID work (as pcm1): pcm0: on csa0 pcm0: ac97 codec invalid or not present (id == 0) device_probe_and_attach: pcm0 attach returned 6 pcm1: at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq 1,0 on isa0 This random nature is very confusing, as I'm afraid to experiment with other options. Please advise, --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message