Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am running fc-3 2.6.12-1.1372, since this version
didnt come with kernel source. so i try bootng into
2.6.11-1.35 instead to make the 'ndiswrapper' and copy
the ndiswrapper.ko into 2.6.12-1.1372/modify
modules.dep.
[root@localhost ~]# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper
(/lib/modules/2.6.12-1.1372_FC3/misc/ndiswrapper.ko):
Invalid module format
[root@localhost ~]# dmesg|grep ndiswrapper
ndiswrapper: disagrees about version of symbol
struct_module
[root@localhost
then i try rpm to load the current (2.6.12) kernel
source so i can remake the ndiswrapper,
but
.
.
[root@localhost /home/tom]# rpm -i kernel-2.6.12-1.1372_FC3.src.rpm
[root@localhost /home/tom]# rpm -q kernel-2.6.12-1.1372_FC3.src.rpm
package kernel-2.6.12-1.1372_FC3.src.rpm is not
installed
[root@localhost /home/tom]#
it fail to load correctly.
pls help and thanks much
--- tom loong <kylnj@yahoo.com> wrote:
>
> hi all,
>
> i try to get my g630 to work with ndiswrapper, but
> having problem...
> .
> .
> [root@localhost /home/tom/ndiswrapper-1.2]#
> ndiswrapper -i mrv8k51.inf
> Installing mrv8k51
> Parse error in inf. Unable to find section
> W8100PCI.zerocfg
> Parse error in inf. Unable to find section
> W8100PCI.zerocfg
> Parse error in inf. Unable to find section
> W8100PCI.zerocfg
>
>
>
> [root@localhost /home/tom/ndiswrapper-1.2]#
> ndiswrapper -l
> Installed ndis drivers:
> mrv8k51 driver present, hardware present
>
>
> ** if i pop out the card, ndiswrapper seems to
> notice
> its not there.
>
> but
>
> [root@localhost /home/tom/ndiswrapper-1.2]# modprobe
> ndiswrapper
> FATAL: Module ndiswrapper not found.
>
>
> and the LED on the card wont light up!!
>
>
>
> please comment.
>
> thanks much
>
> tom
>
You mean the error message from the modprobe? That means that the module was not created properly. You can't build the kernel modules (in general) for one release and then copy it to another. You must properly build it for the kernel you want to use.
What info were you expecting? A source kernel rpm is installed into the /usr/src/ directory hierarchy. It's not a binary rpm, which behaves differently. Did you build the kernel prior to attempting to build the ndiswrapper?
i do rpm -q xxxxxx
show not install
[root@localhost /home/tom]# rpm -i kernel-2.6.12-1.1372_FC3.src.rpm
[root@localhost /home/tom]# rpm -q kernel-2.6.12-1.1372_FC3.src.rpm
package kernel-2.6.12-1.1372_FC3.src.rpm is not
installed
[root@localhost /home/tom]#
Ah. Source files do not go into the database. As I said in post #8, the source rpm is installed into /usr/src, where you can then run the kernel build process:
* cd /usr/src/redhat/SPECS/
Where the kernel SPEC file is installed
* rpmbuild -bp --target=i686 kernel-2.6.spec
Prepare the kernel for your architecture. Replace i686 with what is appropriate for your machine (i386, i686, x86_64, ppc).
* cd /usr/src/redhat/BUILD/kernel-x.y.z/linux-x.y.z
Change to the appropriate directory to build the kernel.
* cp configs/kernel.xyz ./.config
Copy the config file for your machine to the proper location (replacing the default config). Look in the configs directory to see what is available.
* update Makefile kernel id
If you want to call the kernel something other than 2.6.xx-prep, update the EXTRAVERSION field. For example:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.