Re: Compiling in sound driver in kernel

2009-06-13 Thread Ruben de Groot
On Fri, Jun 12, 2009 at 04:39:19PM +0200, Bernt Hansson typed: Polytropon said the following on 2009-06-12 12:54: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24

Re: Compiling in sound driver in kernel

2009-06-13 Thread Polytropon
On Sat, 13 Jun 2009 12:35:42 +0200, Ruben de Groot mai...@bzerk.org wrote: The handbook, IMO, is wrong. The copy of GENERIC will in the course of upgrades deviate from the original one. You won't pick up improvements, like the scheduler change from 4BSD - ULE I don't think the handbook is

Re: Compiling in sound driver in kernel

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC ^^^ Did you edit GENERIC

Re: Compiling in sound driver in kernel

2009-06-12 Thread Jonathan McKeown
On Friday 12 June 2009 12:54:19 Polytropon wrote: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC

Re: Compiling in sound driver in kernel

2009-06-12 Thread Wojciech Puchar
# cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda # cd /usr/src # make buildkernel KERNCONF=MYKERNEL #

Re: Compiling in sound driver in kernel

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 14:43:46 +0200 (CEST), Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: why not: edit MYKERNEL config MYKERNEL cd ../compile/MYKERNEL make depend make make install ? Yes, why not? It still works. -- Polytropon From Magdeburg, Germany Happy FreeBSD user

Re: Compiling in sound driver in kernel

2009-06-12 Thread Bernt Hansson
Polytropon said the following on 2009-06-12 12:54: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC

Re: Compiling in sound driver in kernel

2009-06-12 Thread Mel Flynn
On Friday 12 June 2009 04:43:46 Wojciech Puchar wrote: # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda # cd /usr/src # make

Re: Compiling in sound driver in kernel

2009-06-12 Thread Rolf G Nielsen
Bernt Hansson wrote: Polytropon said the following on 2009-06-12 12:54: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009

Re: Compiling in sound driver in kernel

2009-06-11 Thread Carmel
On Thu, 11 Jun 2009 00:28:23 +0200 Roland Smith rsm...@xs4all.nl wrote: You're missing something: device sound device snd_hda # Sound driver Have you looked at the manual page? 'man snd_hda' would have told you this. Roland Actually, no I did not. I did read the

Re: Compiling in sound driver in kernel

2009-06-11 Thread Roland Smith
On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: Roland Smith: On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: This is my first attempt to compile in a driver in a new kernel I am attempting to build. Using loader.conf, I have the 'snd_hda' driver presently being

Re: Compiling in sound driver in kernel

2009-06-11 Thread Roland Smith
On Thu, Jun 11, 2009 at 07:57:11PM +0200, Bernt Hansson wrote: Roland Smith: On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: Roland Smith: On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: This is my first attempt to compile in a driver in a new kernel I am

Re: Compiling in sound driver in kernel

2009-06-11 Thread Diego F. Arias R.
On Thu, Jun 11, 2009 at 1:13 PM, Roland Smithrsm...@xs4all.nl wrote: On Thu, Jun 11, 2009 at 07:57:11PM +0200, Bernt Hansson wrote: Roland Smith: On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: Roland Smith: On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: This is

Re: Compiling in sound driver in kernel

2009-06-11 Thread Polytropon
On Thu, 11 Jun 2009 20:48:32 +0200, Bernt Hansson be...@bah.homeip.net wrote: Yes. No go. I even tested to put snd_hda=YES in /etc/rc.conf I don't think that can have any effect. :-) The setting snd_hda_load=YES in /boot/loader.conf would be the correct choice. Anyway, if you included

Re: Compiling in sound driver in kernel

2009-06-11 Thread Roland Smith
On Thu, Jun 11, 2009 at 08:48:32PM +0200, Bernt Hansson wrote: Roland Smith skrev: That doesn't help me. snd_hda driver won't load either way. I always have to load it manualy. What is the exact error message that you get? None. No error message. So the kernel now builds

Re: Compiling in sound driver in kernel

2009-06-11 Thread Mel Flynn
On Thursday 11 June 2009 11:36:16 Bernt Hansson wrote: Roland Smith skrev: On Thu, Jun 11, 2009 at 08:48:32PM +0200, Bernt Hansson wrote: Roland Smith skrev: That doesn't help me. snd_hda driver won't load either way. I always have to load it manualy. What is the exact error message

Re: Compiling in sound driver in kernel

2009-06-11 Thread Mel Flynn
On Thursday 11 June 2009 11:11:46 Polytropon wrote: Of course, it won't show up in kldstat then It will if you add -v to kldstat. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: Compiling in sound driver in kernel

2009-06-11 Thread Polytropon
On Thu, 11 Jun 2009 21:44:56 +0200, Bernt Hansson be...@bah.homeip.net wrote: Polytropon skrev: On Thu, 11 Jun 2009 20:48:32 +0200, Bernt Hansson be...@bah.homeip.net wrote: Yes. No go. I even tested to put snd_hda=YES in /etc/rc.conf Even tested kldload snd_hda=YES in rc.conf In 7.1

Re: Compiling in sound driver in kernel

2009-06-11 Thread Polytropon
On Thu, 11 Jun 2009 11:51:03 -0800, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Thursday 11 June 2009 11:11:46 Polytropon wrote: Of course, it won't show up in kldstat then It will if you add -v to kldstat. Hmmm... true! % kldstat -v ...

Re: Compiling in sound driver in kernel

2009-06-11 Thread Roland Smith
On Thu, Jun 11, 2009 at 10:11:56PM +0200, Bernt Hansson wrote: I'm going to reboot now so i get a fresh dmesg. OAU Good luck. No luck. I've just rebuilt and installed a new kernel. No snd_hda is loaded. testbox# kldload snd_hda testbox# This indicates that kldload was able to

Re: Compiling in sound driver in kernel

2009-06-11 Thread Mel Flynn
On Thursday 11 June 2009 12:22:04 Bernt Hansson wrote: Mel Flynn skrev: On Thursday 11 June 2009 11:36:16 Bernt Hansson wrote: Roland Smith skrev: On Thu, Jun 11, 2009 at 08:48:32PM +0200, Bernt Hansson wrote: Roland Smith skrev: That doesn't help me. snd_hda driver won't load either

Re: Compiling in sound driver in kernel

2009-06-11 Thread Bernt Hansson
Mel Flynn said the following on 2009-06-12 01:23: On Thursday 11 June 2009 12:22:04 Bernt Hansson wrote: Mel Flynn skrev: On Thursday 11 June 2009 11:36:16 Bernt Hansson wrote: Roland Smith skrev: On Thu, Jun 11, 2009 at 08:48:32PM +0200, Bernt Hansson wrote: Roland Smith skrev: That

Re: Compiling in sound driver in kernel

2009-06-10 Thread Manolis Kiagias
Carmel wrote: This is my first attempt to compile in a driver in a new kernel I am attempting to build. Using loader.conf, I have the 'snd_hda' driver presently being loaded. I want to compile it directly into the kernel. I tried this: devicesnd_hda # Sound driver

Re: Compiling in sound driver in kernel

2009-06-10 Thread Polytropon
On Wed, 10 Jun 2009 18:11:56 -0400, Carmel carmel...@hotmail.com wrote: This is my first attempt to compile in a driver in a new kernel I am attempting to build. Using loader.conf, I have the 'snd_hda' driver presently being loaded. I want to compile it directly into the kernel. I tried

Re: Compiling in sound driver in kernel

2009-06-10 Thread Roland Smith
On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: This is my first attempt to compile in a driver in a new kernel I am attempting to build. Using loader.conf, I have the 'snd_hda' driver presently being loaded. I want to compile it directly into the kernel. I tried this: