[elrepo] Problem in install kmod-ndiswrapper by elrepo repository
Wagner Silva Vieira
wagnervieira.net at gmail.com
Wed Oct 21 18:16:45 EDT 2009
Thank you so much Nicolas and Phil for the tips.
I used both tips at the same time. Look this bellow:
The Nicolas's tips:
Nicolas here are the informations about the kernel packages installed in my
system that you ask me.
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# rpm -q kernel
package kernel is not installed
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# rpm -q kernel-PAE
kernel-PAE-2.6.18-128.el5.i686
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# rpm -qa |grep kernel
kernel-PAE-devel-2.6.18-128.el5.i686
kernel-PAE-2.6.18-128.el5.i686
kernel-headers-2.6.18-128.el5.i386
kernel-doc-2.6.18-128.el5.noarch
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# cat .rpmmacros
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
The Phil's tip:
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# yum install kmod-ndiswrapper-PAE
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
elrepo-testing
| 951 B 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package kmod-ndiswrapper-PAE.i686 0:1.54-3.el5.elrepo set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================
Package Arch
Version
Repository Size
=============================================================================================================================================================
Installing:
kmod-ndiswrapper-PAE i686
1.54-3.el5.elrepo
elrepo-testing 86 k
Transaction Summary
=============================================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 86 k
Is this ok [y/N]: y
Downloading Packages:
kmod-ndiswrapper-PAE-1.54-3.el5.elrepo.i686.rpm
| 86 kB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kmod-ndiswrapper-PAE [1/1]
Creating the symbolic links. This may take some time ... Done.
Installed: kmod-ndiswrapper-PAE.i686 0:1.54-3.el5.elrepo
Complete!
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
So if I understand exactly what you thow explained for me, if I put "yum
install kmod-ndiswrapper" after create the file ".rpmmacros" in my home
directory I'll get success too, because the yum software will identify the
correct package for the corrent arch of the system and will install
"kmod-ndiswrapper-PAE-1.54-3.el5.elrepo.i686.rpm". Ok?
The main reason to start this e-mail is to get another way to install
ndiswrapper in my system RHEL 5.3, because I have a PCI "Broadcom Wirelles
BCM4328 802.11a/b/g/n" in my notebook and I must really install it and I
didn't find the driver for RHEL to my kernel. In this case ndiswrapper will
be the solution.
[root at musashi ndiswrapper-1.55]# lspci |grep Broadcom
0b:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev
03)
[root at musashi ndiswrapper-1.55]#
When I tried to install "ndiswrapper-1.55.tar.gz" I received thow types of
errors.
First error:
*** WARNING: This kernel uses 4K stack size option
(CONFIG_4KSTACKS); many Windows drivers will not work
with this option enabled. Disable CONFIG_4KSTACKS
in kernel's .config file, recompile and install kernel
Second error:
make -C /usr/src/kernels/2.6.18-128.el5-PAE-i686 M=/root/Broadcom
Wireless/NdisWrapper/ndiswrapper-1.55/driver
make[2]: Entering directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
make[2]: *** No rule to make target
`Wireless/NdisWrapper/ndiswrapper-1.55/driver'. Stop.
make[2]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/Broadcom
Wireless/NdisWrapper/ndiswrapper-1.55/driver'
make: *** [install] Error 2
I think that installation by elrepo when I installed the rpm package for
ndiswrapper solved the second error. So, I think that about the first I must
recompile my kernel and, to say true, I DID NOT understand anything about
this error related to the kernel.
Anybody can explain me what means this erros that I called "First" and
"Second" listed above?
Bellow is the output about the attempt of installation
"ndiswrapper-1.55.tar.gz" where appers all this errors related for me above
[root at musashi NdisWrapper]#
[root at musashi NdisWrapper]#
[root at musashi NdisWrapper]# tar -xvzf ndiswrapper-1.55.tar.gz
[root at musashi NdisWrapper]#
[root at musashi NdisWrapper]# cd ndiswrapper-1.55
[root at musashi ndiswrapper-1.55]#
[root at musashi ndiswrapper-1.55]# ll
total 64
-rw-r--r-- 1 1100 1100 116 Jun 28 23:09 AUTHORS
-rw-r--r-- 1 1100 1100 27535 Jun 28 23:09 ChangeLog
drwxr-xr-x 2 1100 1100 4096 Jun 28 23:09 driver
-rw-r--r-- 1 1100 1100 2750 Jun 28 23:09 INSTALL
-rw-r--r-- 1 1100 1100 881 Jun 28 23:09 loadndisdriver.8
-rw-r--r-- 1 1100 1100 2677 Jun 28 23:09 Makefile
-rw-r--r-- 1 1100 1100 3459 Jun 28 23:09 ndiswrapper.8
-rw-r--r-- 1 1100 1100 2886 Jun 28 23:09 ndiswrapper.spec
-rw-r--r-- 1 1100 1100 1409 Jun 28 23:09 README
drwxr-xr-x 2 1100 1100 4096 Jun 28 23:09 utils
[root at musashi ndiswrapper-1.55]#
[root at musashi ndiswrapper-1.55]#
[root at musashi ndiswrapper-1.55]#
[root at musashi ndiswrapper-1.55]# make install
make -C driver install
make[1]: Entering directory `/root/Broadcom
Wireless/NdisWrapper/ndiswrapper-1.55/driver'
*** WARNING: This kernel uses 4K stack size option
(CONFIG_4KSTACKS); many Windows drivers will not work
with this option enabled. Disable CONFIG_4KSTACKS
in kernel's .config file, recompile and install kernel
make -C /usr/src/kernels/2.6.18-128.el5-PAE-i686 M=/root/Broadcom
Wireless/NdisWrapper/ndiswrapper-1.55/driver
make[2]: Entering directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
make[2]: *** No rule to make target
`Wireless/NdisWrapper/ndiswrapper-1.55/driver'. Stop.
make[2]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-PAE-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/Broadcom
Wireless/NdisWrapper/ndiswrapper-1.55/driver'
make: *** [install] Error 2
[root at musashi ndiswrapper-1.55]#
[root at musashi ndiswrapper-1.55]#
More on time, Thank you so much guys for the attention.
Best Regards.
2009/10/21 Phil Perry <phil at elrepo.org>
> Wagner Silva Vieira wrote:
> > Hi Nicolas
> >
> > That's the "uname -a" output with the kernel version information that you
> > asked for me.
> >
> > [root at musashi ~]# uname -a
> > Linux musashi.localdomain 2.6.18-128.el5PAE #1 SMP Wed Dec 17 12:02:33
> EST
> > 2008 i686 i686 i386 GNU/Linux
> > [root at musashi ~]#
> >
> >
> > I don't have the file .rpmmacros in my home directory with the content:
> >
> > %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
> >
> > Must I create this file and put this content?
> >
> > Thank you,
> > Best Regards.
> > Wagner
> >
> >
> > 2009/10/20 Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>
> >
> >> Wagner Silva Vieira wrote:
> >>> Hi guys,
> >>>
> >>> I'm a new member of this mail-list and I'm having some problems about
> to
> >>> install the kmod-ndiswrapper in my RHEL5 by elrepo.
> >>>
> >>> I did the correct installation of the repository in my OS and, when I
> >>> tried to use then to install the kmod-ndiswrapper package I received a
> >>> lot of errors about dependencies.
> >>>
> >>> Anybody knows exactly what's happen?
> >> what kernel are you running?
> >> uname -a
> >>
>
> Hi Wagner,
>
> Looks like you're running a PAE kernel, so you'd need the matching
> kmod-ndiswrapper-PAE package I presume.
>
> Regards,
>
> Phil
>
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20091021/5cb120a2/attachment.html>
More information about the elrepo
mailing list