From owner-freebsd-questions@FreeBSD.ORG Fri Apr 1 14:02:48 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7C7516A4CE for ; Fri, 1 Apr 2005 14:02:48 +0000 (GMT) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56F1A43D39 for ; Fri, 1 Apr 2005 14:02:48 +0000 (GMT) (envelope-from amsaha@cs.rice.edu) Received: from localhost (calypso.cs.rice.edu [128.42.1.127]) by cs.rice.edu (Postfix) with ESMTP id E549D4A9A0 for ; Fri, 1 Apr 2005 08:02:47 -0600 (CST) Received: from cs.rice.edu ([128.42.1.30]) by localhost (calypso.cs.rice.edu [128.42.1.127]) (amavisd-new, port 10024) with LMTP id 19546-01-41 for ; Fri, 1 Apr 2005 08:02:47 -0600 (CST) Received: from frosty.cs.rice.edu (frosty.cs.rice.edu [128.42.1.20]) by cs.rice.edu (Postfix) with ESMTP id 5BABB4A99D for ; Fri, 1 Apr 2005 08:02:47 -0600 (CST) Received: from localhost (amsaha@localhost) by frosty.cs.rice.edu (8.9.3+Sun/8.9.0) with ESMTP id IAA01018 for ; Fri, 1 Apr 2005 08:01:43 -0600 (CST) X-Authentication-Warning: frosty.cs.rice.edu: amsaha owned process doing -bs Date: Fri, 1 Apr 2005 08:01:43 -0600 (CST) From: Amit Kumar Saha To: freebsd-questions@freebsd.org In-Reply-To: <200503301238.28958.kellers@njit.edu> Message-ID: References: <200503301238.28958.kellers@njit.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavis-2.2.1 at cs.rice.edu Subject: Re: Sound on Dell Dimension 8300 (FreeBSD 5.1-RELEASE) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 14:02:49 -0000 When I do kldload snd_ich.ko I get an error message: kldload: can't load snd_ich.ko: File exists On doing kldstat -v I can see that the kernel module contains: pcm/snd_ich. I think, during bootup the OS cannot associate the particular sound card (which is built into the motherboard) with the necessary device driver. Thanks, amit ---------------------------------------------------------------------- http://www.cs.rice.edu/~amsaha ---------------------------------------------------------------------- The world is coming to an end ... SAVE YOUR BUFFERS!!! ---------------------------------------------------------------------- On Wed, 30 Mar 2005, Tim Kellers wrote: > If you have a file named snd_ich.ko in /boot/kernel/: > Try (as root) > > #kldload snd_ich.ko > > and see if your sound begins to work > > (you can check the status of loaded modules with the command kldstat(8)) > > > On Wednesday 30 March 2005 12:30 pm, Amit Kumar Saha wrote: > > Hi, > > I am trying to enable the builtin sound card present in Dell > > Dimension 8300 but cant seem to get it done. As far as I remember, in > > FreeBSD 5.3 it can be done simply by having the following two options in > > the kernel config file: > > > > device sound > > device snd_ich > > > > However, FreeBSD 5.1 does not recognize any of these even (Even man sound > > or man snd_ich does not work even though it should work on any FreeBSD 5.* > > So I guess I have to give some hardware hints in order to > > > > config MYCONFIG gives the following error report: > > ================================================= > > > > config: Error: device "sound" is unknown > > config: Error: device "snd_ich" is unknown > > > > (/boot/kernel/ however has the files snd_ich.ko as well as snd_pcm.ko) > > > > The output of cat /dev/sndstat is as follows: > > ============================================= > > > > FreeBSD Audio Driver (newpcm) > > Installed devices: > > > > The 'seems to be relevant part of dmesg' is here: > > ================================================= > > pci0: at device 31.5 (no driver attached) > > > > The entire dmesg output is as follows: > > ================================ > > > > <== START OF dmesg output > > > > Copyright (c) 1992-2003 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 5.1-RELEASE #3: Tue Oct 14 18:17:28 CDT 2003 > > root@monarch_amsaha.rice.edu:/usr/src/sys/i386/compile/NEW > > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0700000. > > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0700294. > > Timecounter "i8254" frequency 1193182 Hz > > Timecounter "TSC" frequency 3192009524 Hz > > CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.01-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > > > > Features=0xbfebfbff >A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > Hyperthreading: 2 logical CPUs > > real memory = 1073168384 (1023 MB) > > avail memory = 1035091968 (987 MB) > > Pentium Pro MTRR support enabled > > npx0: on motherboard > > npx0: INT 16 interface > > acpi0: on motherboard > > pcibios: BIOS version 2.10 > > Using $PIR table, 8 entries at 0xc00feae0 > > acpi0: power button is handled as a fixed feature programming model. > > Timecounter "ACPI-fast" frequency 3579545 Hz > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > > acpi_cpu0: port 0x530-0x537 on acpi0 > > acpi_cpu1: port 0x530-0x537 on acpi0 > > acpi_button0: on acpi0 > > pcib0: port 0xcf8-0xcff on acpi0 > > pci0: on pcib0 > > agp0: mem 0xe8000000-0xefffffff at > > device 0.0 on pci0 pcib1: at device 1.0 on pci0 > > pci1: on pcib1 > > pci1: at device 0.0 (no driver attached) > > uhci0: port 0xff80-0xff9f irq > > 11 at device 29.0 on pci0 usb0: > > on uhci0 > > usb0: USB revision 1.0 > > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub0: 2 ports with 2 removable, self powered > > uhci1: port 0xff60-0xff7f irq > > 10 at device 29.1 on pci0 usb1: > > on uhci1 > > usb1: USB revision 1.0 > > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub1: 2 ports with 2 removable, self powered > > uhci2: port 0xff40-0xff5f irq 9 > > at device 29.2 on pci0 usb2: on > > uhci2 > > usb2: USB revision 1.0 > > uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub2: 2 ports with 2 removable, self powered > > uhci3: port 0xff20-0xff3f irq > > 11 at device 29.3 on pci0 usb3: > > on uhci3 > > usb3: USB revision 1.0 > > uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub3: 2 ports with 2 removable, self powered > > pci0: at device 29.7 (no driver attached) > > pcib2: at device 30.0 on pci0 > > pci2: on pcib2 > > fxp0: port 0xdf40-0xdf7f mem > > 0xfcfff000-0xfcffffff irq 10 at device 8.0 on pci2 fxp0: Ethernet address > > 00:07:e9:5f:67:fd > > miibus0: on fxp0 > > inphy0: on miibus0 > > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > isab0: at device 31.0 on pci0 > > isa0: on isab0 > > atapci0: port > > 0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem > > 0xfebffc00-0xfebfffff irq 9 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on > > atapci0 > > ata1: at 0x170 irq 15 on atapci0 > > atapci1: port > > 0xfea0-0xfeaf,0xfe30-0xfe33,0xfe20-0xfe27,0xfe10-0xfe13,0xfe00-0xfe07 irq 9 > > at device 31.2 on pci0 ata2: at 0xfe00 on atapci1 > > ata3: at 0xfe20 on atapci1 > > pci0: at device 31.3 (no driver attached) > > pci0: at device 31.5 (no driver attached) > > fdc0: port > > 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes > > threshold > > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > > atkbd0: flags 0x1 irq 1 on atkbdc0 > > kbd0 at atkbd0 > > psm0: irq 12 on atkbdc0 > > psm0: model IntelliMouse, device ID 3 > > sio0 port 0x3f8-0x3ff irq 4 on acpi0 > > sio0: type 16550A > > ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 > > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > > ppc0: FIFO with 16/16/8 bytes threshold > > ppbus0: on ppc0 > > plip0: on ppbus0 > > lpt0: on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: on ppbus0 > > orm0: