Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2005 08:01:43 -0600 (CST)
From:      Amit Kumar Saha <amsaha@cs.rice.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Sound on Dell Dimension 8300 (FreeBSD 5.1-RELEASE)
Message-ID:  <Pine.GSO.4.58.0504010754490.942@frosty.cs.rice.edu>
In-Reply-To: <200503301238.28958.kellers@njit.edu>
References:  <Pine.GSO.4.58.0503301128400.14822@frosty.cs.rice.edu> <200503301238.28958.kellers@njit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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: <multimedia, audio> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC
> >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: <math processor> on motherboard
> > npx0: INT 16 interface
> > acpi0: <DELL   8300   > 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: <CPU> port 0x530-0x537 on acpi0
> > acpi_cpu1: <CPU> port 0x530-0x537 on acpi0
> > acpi_button0: <Power Button> on acpi0
> > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> > pci0: <ACPI PCI bus> on pcib0
> > agp0: <Intel Generic host to PCI bridge> mem 0xe8000000-0xefffffff at
> > device 0.0 on pci0 pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
> > pci1: <PCI bus> on pcib1
> > pci1: <display, VGA> at device 0.0 (no driver attached)
> > uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xff80-0xff9f irq
> > 11 at device 29.0 on pci0 usb0: <Intel 82801EB (ICH5) USB controller USB-A>
> > 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: <Intel 82801EB (ICH5) USB controller USB-B> port 0xff60-0xff7f irq
> > 10 at device 29.1 on pci0 usb1: <Intel 82801EB (ICH5) USB controller USB-B>
> > 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: <Intel 82801EB (ICH5) USB controller USB-C> port 0xff40-0xff5f irq 9
> > at device 29.2 on pci0 usb2: <Intel 82801EB (ICH5) USB controller USB-C> 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: <Intel 82801EB (ICH5) USB controller USB-D> port 0xff20-0xff3f irq
> > 11 at device 29.3 on pci0 usb3: <Intel 82801EB (ICH5) USB controller USB-D>
> > 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: <serial bus, USB> at device 29.7 (no driver attached)
> > pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> > pci2: <ACPI PCI bus> on pcib2
> > fxp0: <Intel 82801BA (D865) Pro/100 VE Ethernet> port 0xdf40-0xdf7f mem
> > 0xfcfff000-0xfcffffff irq 10 at device 8.0 on pci2 fxp0: Ethernet address
> > 00:07:e9:5f:67:fd
> > miibus0: <MII bus> on fxp0
> > inphy0: <i82562ET 10/100 media interface> on miibus0
> > inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> > isab0: <PCI-ISA bridge> at device 31.0 on pci0
> > isa0: <ISA bus> on isab0
> > atapci0: <Intel ICH5 UDMA100 controller> 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: <Intel ICH5 SATA150 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
> > pci0: <multimedia, audio> at device 31.5 (no driver attached)
> > fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> > kbd0 at atkbd0
> > psm0: <PS/2 Mouse> 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: <Parallel port bus> on ppc0
> > plip0: <PLIP network interface> on ppbus0
> > lpt0: <Printer> on ppbus0
> > lpt0: Interrupt-driven port
> > ppi0: <Parallel I/O> on ppbus0
> > orm0: <Option ROMs> at iomem 0xd1000-0xd3fff,0xc0000-0xcf7ff on isa0
> > pmtimer0 on isa0
> > sc0: <System console> at flags 0x100 on isa0
> > sc0: VGA <16 virtual consoles, flags=0x300>
> > sio1: configured irq 3 not in bitmap of probed irqs 0
> > sio1: port may not be enabled
> > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> > RTC BIOS diagnostic error 18<memory_size,fixed_disk>
> > Timecounters tick every 10.000 msec
> > ad4: 238418MB <WDC WD2500JD-75FYB0> [484406/16/63] at ata2-master UDMA100
> > acd0: CDROM <Lite-On LTN486S 48x Max> at ata1-master PIO4
> > Mounting root from ufs:/dev/ad4s3a
> >
> >
> > <=== END OF dmesg output
> >
> > Thanks,
> > Amit
> >
> > ----------------------------------------------------------------------
> >                  http://www.cs.rice.edu/~amsaha
> > ----------------------------------------------------------------------
> > The world is coming to an end ... SAVE YOUR BUFFERS!!!
> > ----------------------------------------------------------------------
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.58.0504010754490.942>