From owner-freebsd-hardware Thu Nov 28 8:10: 2 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F32037B401 for ; Thu, 28 Nov 2002 08:09:56 -0800 (PST) Received: from fiinbeck.math.ntnu.no (fiinbeck.math.ntnu.no [129.241.15.140]) by mx1.FreeBSD.org (Postfix) with SMTP id 3592743EA9 for ; Thu, 28 Nov 2002 08:09:55 -0800 (PST) (envelope-from hanche@math.ntnu.no) Received: (qmail 772 invoked from network); 28 Nov 2002 16:09:53 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 28 Nov 2002 16:09:53 -0000 To: freebsd-hardware@FreeBSD.ORG Subject: pcm0: unable to map register space X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Nov_28_17:09:45_2002_809)--" Content-Transfer-Encoding: 8bit Message-Id: <20021128170952N.hanche@math.ntnu.no> Date: Thu, 28 Nov 2002 17:09:52 +0100 From: Harald Hanche-Olsen X-Dispatcher: imput version 20000228(IM140) Lines: 200 Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ----Next_Part(Thu_Nov_28_17:09:45_2002_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 8bit I recently got a new computer in my office. Unfortunately, I can't get the sound card to work! The machine has a built-in sound card which is apparently unsupported by FreeBSD, so I disabled it in the BIOS and moved the sound card from the previous computer, where it worked fine with FreeBSD, to the new machine. Here is what dmesg says: pcm0: at device 10.0 on pci2 pcm0: unable to map register space device_probe_and_attach: pcm0 attach returned 6 And here is what pciconf -l -v says about the card: none3@pci2:10:0: class=0x040100 card=0x13711274 chip=0x13711274 rev=0x06 hdr=0x00 vendor = 'Ensoniq (Creative)' device = 'ES1371, ES1373 AudioPCI' class = multimedia subclass = audio (Sorry, I am a bit vague about exactly what sound card this is - I just picked it out of a pile of unused sound cards a while back, and as I said it worked fine in my previous FreeBSD machine.) I do have "options PNPBIOS" and "device pcm" (no extra arguments) in the kernel config. I'm beginning to understand why it's called "plug and pray"... I tried turning off everything I am not using in the BIOS, such as the parallel port and the game port. Didn't make a difference. Any suggestions as to what I could try next, or what information I could provide that would help? I attach a copy of dmesg.boot and the output of pciconf -l -v. And BTW, the motherboard is supposed to be an Asus P4B533-VM. - Harald ----Next_Part(Thu_Nov_28_17:09:45_2002_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="dmesg.boot" Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6.2-RELEASE #0: Thu Nov 28 15:42:55 CET 2002 root@fiinbeck.math.ntnu.no:/usr/src/sys/compile/FIINBECK Timecounter "i8254" frequency 1193182 Hz CPU: Pentium 4 (2017.98-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff,ACC> real memory = 536846336 (524264K bytes) avail memory = 518082560 (505940K bytes) Preloaded elf kernel "kernel" at 0xc042d000. md0: Malloc disk Using $PIR table, 8 entries at 0xc00f2370 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 uhci0: port 0xd800-0xd81f irq 11 at device 29.0 on pci0 uhci0: (New UHCI DeviceId=0x24c28086) usb0: on uhci0 usb0: USB revision 1.0 uhub0: (0x24c28086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd400-0xd41f irq 3 at device 29.1 on pci0 uhci1: (New UHCI DeviceId=0x24c48086) usb1: on uhci1 usb1: USB revision 1.0 uhub1: (0x24c48086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xd000-0xd01f irq 10 at device 29.2 on pci0 uhci2: (New UHCI DeviceId=0x24c78086) usb2: on uhci2 usb2: USB revision 1.0 uhub2: (0x24c78086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at 29.7 pcib2: at device 30.0 on pci0 pci2: on pcib2 fxp0: port 0xb800-0xb83f mem 0xeb800000-0xeb800fff irq 7 at device 8.0 on pci2 fxp0: Ethernet address 00:e0:18:93:f1:6f inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: at device 10.0 on pci2 pcm0: unable to map register space device_probe_and_attach: pcm0 attach returned 6 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 10 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 orm0: