From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 28 20:30:19 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB55516A4CE for ; Sun, 28 Mar 2004 20:30:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0C7E43D39 for ; Sun, 28 Mar 2004 20:30:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2T4UJbv062609 for ; Sun, 28 Mar 2004 20:30:19 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2T4UJx4062608; Sun, 28 Mar 2004 20:30:19 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 28 Mar 2004 20:30:19 -0800 (PST) Resent-Message-Id: <200403290430.i2T4UJx4062608@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alejandro Valenzuela Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95DF316A4CE for ; Sun, 28 Mar 2004 20:23:57 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F36F43D45 for ; Sun, 28 Mar 2004 20:23:57 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i2T4Nv72079179 for ; Sun, 28 Mar 2004 20:23:57 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i2T4NvlX079178; Sun, 28 Mar 2004 20:23:57 -0800 (PST) (envelope-from nobody) Message-Id: <200403290423.i2T4NvlX079178@www.freebsd.org> Date: Sun, 28 Mar 2004 20:23:57 -0800 (PST) From: Alejandro Valenzuela To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/64879: FreeBSD 4.9 freezes when I try to get the sound card working X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 04:30:20 -0000 >Number: 64879 >Category: misc >Synopsis: FreeBSD 4.9 freezes when I try to get the sound card working >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 28 20:30:19 PST 2004 >Closed-Date: >Last-Modified: >Originator: Alejandro Valenzuela >Release: FreeBSD 4.9 >Organization: Universidad Nacional Autónoma de México >Environment: FreeBSD citlalmina.earthshakers.xs3 4.9-RELEASE FreeBSD 4.9-RELEASE #18: Fri Jan 16 20:30:19 GMT 2004 lanjoe9@citlalmina.earthshakers:/usr/src/sys/compile/CITL i386 >Description: My computer is supposed to have an ICH3 compatible sound card (Yamaha AC-XG, according to windoz), but when I try kldloading the sound driver or loading the kernel with the pcm driver compiled in it, the system freezes with the next messages: ----- fwohci0: at device 7.0 on pci2 fwohci0: Invalid irq 255 fwohci0: Please switch PNP-OS to 'No' in BIOS fwohci0: Could not map memory device_probe_and_attach: fwohci0 attach returned 6 fwohci0: at device 7.0 on pci2 fwohci0: Invalid irq 255 fwohci0: Please switch PNP-OS to 'No' in BIOS fwohci0: Could not map memory device_probe_and_attach: fwohci0 attach returned 6 fwohci0: at device 7.0 on pci2 fwohci0: Invalid irq 255 fwohci0: Please switch PNP-OS to 'No' in BIOS fwohci0: Could not map memory device_probe_and_attach: fwohci0 attach returned 6 pcm0: at device 31.5 on pci0 pcm0: Unable to map IO port space device_probe_and_attach: pcm0 attach returned 6 ------ I've got a friend who has an older Toshiba laptop with the same sound card (at least according to windoze) and it works perfectly there. He uses FreeBSD 4.9 too. >How-To-Repeat: #kldload snd.ko or #kldload snd_ich.ko or #kldload snd_pcm.ko (the rest don't work) >Fix: I haven't been able to do much since I am pretty much a newbie. After lots of tries, I looked at the driver sources and modified it a bit (added a few printf() statements to get an idea of what the driver does). The machine freezes after several (about 4) "Probe" operations... >Release-Note: >Audit-Trail: >Unformatted: