From owner-freebsd-current@FreeBSD.ORG Sat Oct 16 21:30:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6866716A4CE for ; Sat, 16 Oct 2004 21:30:25 +0000 (GMT) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CC4443D2F for ; Sat, 16 Oct 2004 21:30:25 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from speck.loki.lan (c-24-21-241-225.client.comcast.net [24.21.241.225]) by mail.bitfreak.org (Postfix) with ESMTP id 0689619F3D for ; Sat, 16 Oct 2004 14:32:56 -0700 (PDT) Received: from spud (d2.loki.lan [172.21.42.22]) by speck.loki.lan (Postfix) with ESMTP id C00C3322E for ; Sat, 16 Oct 2004 14:30:22 -0700 (PDT) From: "Darren Pilgrim" To: Date: Sat, 16 Oct 2004 14:30:10 -0700 Message-ID: <000001c4b3c7$53fd4eb0$162a15ac@spud> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: Problem with snd_mss driver probe/attach, maybe ACPI conflict? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2004 21:30:25 -0000 I have an MSS-compatible ISA sound card using the snd_mss driver. When = I boot with snd_mss_load=3D"YES" in /boot/loader.conf, the acpi_cpu0 = device doesn't attach and I get 14 errors like this: pcm0: port 0x530-0x537 on acpi0 device_probe_and_attach: pcm0 attach returned 6 And pcm0 attaches normally: pcm0: at port 0x370-0x371,0x330-0x331,0x388-0x38b,0x530-0x537,0x220-0x22f irq 5 drq = 1,0 on isa0 If I boot the system without the driver, acpi_cpu0 attaches: acpi_cpu0: on acpi0 acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% Then, kldloading snd_mss.ko after multi-user startup, I get no errors = and pcm0 attaches normally: pcm0: at port 0x370-0x371,0x330-0x331,0x388-0x38b,0x530-0x537,0x220-0x22f irq 5 drq = 1,0 on isa0 In both cases the sound card works for PCM playback, which is all the functionality I need. This reminds me of probe-order problems from way back. How do I tell FreeBSD to attach acpi_cpu0? before trying to = attach pcm0? If that's not what I need to do, how do I fix this? This is on 5.2.1-p9.