can't load sound driver on bootup


Forum: Multimedia
Topic: can't load sound driver on bootup
started by: manishsadh

Posted by manishsadh on April 01 2007,09:57
Hi Folks,

my system - dsl 3.2 frugal
my sound driver - sis ( i compiled this driver from source and it depends on ac97.o and ac97_code.o)

i am unable to load the sound driver in bootlocal.sh or .xinitrc
by calling a script. i get unresolved symbol errors.

if i run the script alone after bootup the driver sis.o does load
and i can play music.

but i get a warning as follows

Quote

Warning: loading /home/dsl/sis.o will taint the kernel: no licence

see < http://www.tux.org/lkml/#export-tainted > for information about tainted modules

Modules sis loaded, with warnings


whats happening and how to over come this?

Thanks.

Posted by Juanito on April 01 2007,10:14
I got a similar message to this when I compiled a driver without the version.h (or .version maybe) file being present.

If you have access to a Knoppix 3.4 CD you can boot from, it might be worth compiling the driver on that to see if the problem disappears.

Posted by manishsadh on April 03 2007,14:02
Hi Juanito,

thanks for the advise but i am not enough of an expert to do that. i merely compiled the driver from sis*.c and sis*h files and was lucky enough to get the sis.o

can you just tell me how to work around my inabilty to run the script in .xinitrc. as i said the module loads when i manually run the script after bootup, and i just ignore the message. what's the difference between running it manually and running it in .xinitrc. is there any argument or something i can use with insmod?

secondly can i bother you to give me a compiled version of sis.o with the .h or .version thing that you told me about if i send you the source code?

Thanks.

Posted by Juanito on April 03 2007,14:16
If you post the link to the site you downloaded the source binary from here, I'll give it a go if I can.

In the meantime, you could try "insmod -f sis" or "modprobe -f sis" to see if that helps.

Posted by manishsadh on April 04 2007,02:06
Hi Juanito,

very kind of you. thanks. i will try your advise. at the same time let me send the source to your email address.
can i have it because the source was sent as a tar.gz to me by the pc manufacturer.

thanks.

Posted by Juanito on April 04 2007,08:02
The makefile was definately brief - not even a make install...

I got pretty much the same as you - it looks like the module does not have licensing (GPL) info with it.

Code Sample
# make
gcc -D -DMODULE -isystem /lib/modules/2.4.26/build/include -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer    -c -o sis7019.o sis7019.c

# insmod sis7019
Using /lib/modules/2.4.26/kernel/drivers/sound/sis7019.o
/lib/modules/2.4.26/kernel/drivers/sound/sis7019.o: unresolved symbol ac97_probe_codec
/lib/modules/2.4.26/kernel/drivers/sound/sis7019.o:
Hint: You are trying to load a module without a GPL compatible license
     and it has unresolved symbols.  The module may be trying to access
     GPLONLY symbols but the problem is more likely to be a coding or
     user error.  Contact the module supplier for assistance, only they
     can help you.

# modprobe ac97_codec
# insmod sis7019
Using /lib/modules/2.4.26/kernel/drivers/sound/sis7019.o
Warning: loading /lib/modules/2.4.26/kernel/drivers/sound/sis7019.o will taint the kernel: no license
 See http://www.tux.org/lkml/#export-tainted for information about tainted modules
/lib/modules/2.4.26/kernel/drivers/sound/sis7019.o: init_module: No such device [because I do not have a SiS card I guess...]
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
     You may find more information in syslog or the output from dmesg

# modinfo sis7019
filename:    /lib/modules/2.4.26/kernel/drivers/sound/sis7019.o
description: "sis7019 Audio Driver"
author:      "SiS Software"
license:     <none>


One thing you could try is an ALSA driver - according to their website, there are drivers for SiS 7012 (intel8x0) and 7018 (trident) chipsets. Maybe one of these is compatible with your SiS 7019?

Posted by manishsadh on April 06 2007,07:09
Hi Juanito,

Thanks. i will see the alsa alternatives
and feedback to you.

have a good day..

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.