当前位置: 技术问答>linux和unix
modprobe在内核升级到2.6.4后失效,哪里有下载适合2.6.4内核的modprobe,insmod,rmmod等程序
来源: 互联网 发布时间:2015-06-12
本文导语: modprobe在内核升级到2.6.4后失效,哪里有下载适合2.6.4内核的modprobe,insmod,rmmod等程序,我的modprobe,insmod,rmmod版本为2.4.75。 Redhat linux enterprise 3 下带的,执行modprobe usbcore总是说QM_MODULES Function not implement.内核升级到2....
modprobe在内核升级到2.6.4后失效,哪里有下载适合2.6.4内核的modprobe,insmod,rmmod等程序,我的modprobe,insmod,rmmod版本为2.4.75。
Redhat linux enterprise 3 下带的,执行modprobe usbcore总是说QM_MODULES Function not implement.内核升级到2.6.4,模块后缀都变成.ko,肯定装载工具也升级了,在2.4.21下用的很好,在2.6.4下就byebye了
Redhat linux enterprise 3 下带的,执行modprobe usbcore总是说QM_MODULES Function not implement.内核升级到2.6.4,模块后缀都变成.ko,肯定装载工具也升级了,在2.4.21下用的很好,在2.6.4下就byebye了
|
STEP 2:
Download the latest version of module-init-tools
[module-init-tools-3.0-pre10.tar.gz] and modutils-2.4.21-2x.src.rpm
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/
STEP 3:
Install module-init-tools. This will replace depmod [/sbin/depmod] and
other tools.
tar -zxvf module-init-tools-3.0-pre10.tar.gz cd
module-init-tools-3.0-pre10 ./configure --prefix=/sbin
make
make install
./generate-modprobe.conf /etc/modprobe.conf
STEP 4:
Install modutils-2.4.21-23.src.rpm. You'll may get warnings about user
rusty and group rusty not existing. Also, yes, you'll have to force the
install. If you don't do these steps for both Redhat 9 and Redhat 8, you'll
have problems with the make modules_install.
rpm -i modutils-2.4.21-23.src.rpm
rpmbuild -bb /usr/src/redhat/SPECS/modutils.spec
rpm -Fi /usr/src/redhat/RPMS/i386/modutils-2.4.21-23.i386.rpm
Download the latest version of module-init-tools
[module-init-tools-3.0-pre10.tar.gz] and modutils-2.4.21-2x.src.rpm
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/
STEP 3:
Install module-init-tools. This will replace depmod [/sbin/depmod] and
other tools.
tar -zxvf module-init-tools-3.0-pre10.tar.gz cd
module-init-tools-3.0-pre10 ./configure --prefix=/sbin
make
make install
./generate-modprobe.conf /etc/modprobe.conf
STEP 4:
Install modutils-2.4.21-23.src.rpm. You'll may get warnings about user
rusty and group rusty not existing. Also, yes, you'll have to force the
install. If you don't do these steps for both Redhat 9 and Redhat 8, you'll
have problems with the make modules_install.
rpm -i modutils-2.4.21-23.src.rpm
rpmbuild -bb /usr/src/redhat/SPECS/modutils.spec
rpm -Fi /usr/src/redhat/RPMS/i386/modutils-2.4.21-23.i386.rpm
|
要用INIT_TOOLS
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。