svn commit: r236750 - in stable/8: share/man/man4 sys/conf sys/dev/sound/pci/hda sys/modules/sound/driver/hda
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Apr 1 15:12:40 UTC 2013
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
More information about the svn-src-stable-8
mailing list