I have had a few problems with my machine of late, but all of a sudden Sound dosent seem to be loading or working an dim unsure of why this is happening. The correct module is loaded and dmesg shows its all there .. but when i check /dev/sndstat its empty. Any ideas appreciated. -- Yours Sincerely Shinjii http://www.shinji.nq.nu
On Thu, 7 Apr 2005 18:41:44 +1000, Warren <shinjii@virusinfo.rdksupportinc.com> wrote:> I have had a few problems with my machine of late, but all of a sudden > Sound > dosent seem to be loading or working an dim unsure of why this is > happening. > > The correct module is loaded and dmesg shows its all there .. but when i > check /dev/sndstat its empty. > > Any ideas appreciated.Why don't you post some more info about your system? For example: the output of 'uname -a', the output of 'dmesg', the type of hardware that you are using. What does 'all of a sudden' mean? Did you upgrade something? I'm not telling that I can solve your problem, but other people need to know these things before they can help. Ronald. -- Ronald Klop, Amsterdam, The Netherlands
On Thu, 7 Apr 2005 9:44 pm, Igor Robul wrote:> Warren wrote: > >>>kldload: can't load snd_via8233.ko: Exec format error > >> > >>Do you have sound.ko module loaded? > > > >Id Refs Address Size Name > > 1 7 0xc0400000 4b40b8 kernel > > 2 14 0xc08b5000 561a0 acpi.ko > > 3 1 0xc1d5a000 17000 linux.ko > > > > > >I would presume so .. its setup in the kernel to have sound enabled. All > >sound was working and is setup to load all things neccessary on boot. > > What > > How do you did upgrade?cvsup ports/src etc .. goto /usr/ports .. portupgrade -aDk -m BATCH=yes ... then /usr/src .. make buildworld && make installworld then /usr/src/sys/i386/conf .. config kernel file and go from there. -- Yours Sincerely Shinjii http://www.shinji.nq.nu
On Apr 7, 2005 1:38 PM, Warren <shinjii@virusinfo.rdksupportinc.com> wrote:> On Thu, 7 Apr 2005 9:30 pm, you wrote:> Nothing is logged in /var/log/messages to do with the attempt to load the via > snd module.try: # kldload snd_driver # cat /dev/sndstat if it loaded something you will find your right sound module listed there. (snd_driver try to load all snd modules) when you will sure about the right one put it in /boot/loader.conf p.s. are you sure your loader.conf is correct? -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/
>cvsup ports/src etc .. goto /usr/ports .. portupgrade -aDk -m BATCH=yes ... >then /usr/src .. make buildworld && make installworld >then /usr/src/sys/i386/conf .. config kernel file and go from there. > > >As fas as I can remember, correct procedure for base system upgrade is: cd /usr/src make buildword make buildkernel KERNCONF=your_conf make installkernel KERNCONF=your_conf reboot to single user mount -a cd /usr/src make installworld mergemaster reboot Building kernel and modules not with "make buildkernel ; make installkernel " may not work. Also make sure that you are not using too aggresive optimizations.