Re: Kernel Source - Fedora Core 3

Alexander Steppke <[email protected]> Sun, 13 Mar 2005 00:41:09 +0100
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
Hi Mark,

the driver should work with FC3, so hopefully you will be able to fix
the problem.

Mark Sansome wrote:
> Jörg and Alexander,
> 
>>>Building the at76c503 against this kernel failed.
>>
>>How did it fail? Please post the steps and error outputs during the driver
>>build.
> 
> 
> Well, to be honest it didn't actually fail. There were a couple of
> "warning" messages which I think (if my memory serves) were there
> before. What I meant was that having compiled it, it did not actually
> work. Sorry - not very precise language for a (non-technical) IT
> professional.
> 
> 
>>>I have tried (really!) to follow the instructions here http://wftp.tu-
>>>chemnitz.de/pub/linux/fedora-core/3/i386/os/RELEASE-NOTES-en.html, and
>>>have done so as faithfully as I could as far as step 4. I'm not sure if
>>>I should do step 5 (make oldconfig) or even if I've done steps 1-4
>>>correctly.
>>
>>You must exec. step 5 in order to generate header files containing the
>>kernel configuration (among other things).
> 
> 
 >>>The bottom line is that when I build the driver I still get the
>>>following error :
>>>
>>>[root@localhost ~]# /sbin/modprobe at76c503-rfmd
>>>WARNING: Error inserting at76c503
>>>(/lib/modules/2.6.10-1.770_FC3/kernel/drivers/net/wireless/at76c503/at76c503.ko): Unknown symbol in module, or unknown parameter (see dmesg)
>>>FATAL: Error inserting at76c503_rfmd
>>>(/lib/modules/2.6.10-1.770_FC3/kernel/drivers/net/wireless/at76c503/at76c503-rfmd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
>>>[root@localhost ~]#
> 
> Am I on the wrong track altogether? Is this problem actually caused by
> having the wrong kernel/sourcecode combination or is it due to something
> else entirely?

In my opinion, Jörg please correct me if I am wrong, the Fedora Core 3
kernel is missing the wireless lan extensions. Without those you are
still able to build the module against the kernel but you can't load it.

Without the right symbols in your kernel the module does not work. So
there are two possibilities. Either you get the people who are making
the rpm-files for FC3 to include the necessary options or you have to
build the kernel by yourself. This is not a hard thing to do. It
involves a little bit of knowlegde and is not as plug&play like
installing the default kernel but on the other hand enables you to tune
the kernel to your specific system. There should be plenty of help on
the web how to do this.

Alexander Steppke