Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2013 15:12:40 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   Re: svn commit: r236750 - in stable/8: share/man/man4 sys/conf sys/dev/sound/pci/hda sys/modules/sound/driver/hda
Message-ID:  <20130401151240.GA75193@FreeBSD.org>
In-Reply-To: <515966CC.2000108@FreeBSD.org>
References:  <201206081235.q58CZiiK059149@svn.freebsd.org> <20130321162521.GA82532@FreeBSD.org> <20130401085049.GA84064@FreeBSD.org> <515966CC.2000108@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 01, 2013 at 01:51:56PM +0300, Alexander Motin wrote:
> On 01.04.2013 11:50, Alexey Dokuchaev wrote:
> >While trying to debug this problem, I've noticed that though I can
> >recompile snd_hda(4), I cannot load it:
> >
> >     # kldload ./snd_hda.ko
> >     kldload: can't load ./snd_hda.ko: No such file or directory
> >
> >The message is clearly bogus, but in /var/log/messages I see this line:
> >
> >     link_elf: symbol snd_verbose undefined
> >
> >Is this known behavior?  How to remedy it?
> 
> I guess it is result of some mismatch between sources used for
> building and the running kernel. I haven't tested it last time, but
> previously snd_hda perfectly worked as module.

It works perfectly as a module, indeed: if I do full "make kernel".  I use
modules whenever it's possible in fact.  The problem is that once I rebuild
(in exactly the same source base) just snd_hda(4), that is "cd /sys/modules
/sound/driver/hda && make", I cannot load newly built ./snd_hda.ko anymore,
while "kldload /boot/kernel/snd_hda.ko" works fine.  On the same running
kernel, against the very same sources.

I needed sound to work very soon this time (upcoming Skype conference call),
so I just rolled back your changes and did "make kernel", but honestly I
find it very annoying having to rebuild entire kernel when just snd_hda(4)
rebuild should suffice.

BTW, any ideas why my nid patches from pre-r236750 no longer apply?

./danfe



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