Tag: getname PAC net ref end run spec Ofo PMS
Centos7
Kernel-3.10.0-693.el7.centos.toa.x86_64.rpm
Network Disk link: https://pan.baidu.com/s/1cXB_3qPOnTiIGijFlQ_uzw
Upload the file to the server.
An error is reported when you directly install rpm, as shown below:
[[email protected] CentOS 7.2 64]# rpm -ivh kernel-3.10.0-693.el7.centos.toa.x86_64.rpm error: Failed dependencies: dracut >= 033-502 is needed by kernel-3.10.0-693.el7.centos.toa.x86_64 linux-firmware >= 20170606-55 is needed by kernel-3.10.0-693.el7.centos.toa.x86_64 xfsprogs < 4.3.0 conflicts with kernel-3.10.0-693.el7.centos.toa.x86_64 kmod < 20-9 conflicts with kernel-3.10.0-693.el7.centos.toa.x86_64 kexec-tools < 2.0.14-3 conflicts with kernel-3.10.0-693.el7.centos.toa.x86_64[[email protected] CentOS 7.2 64]#
You must first install some services in Yum and then install them in RPM.
yum -y install dracut linux-firmware xfsprogs kmod kexec-tools rpm -ivh kernel-3.10.0-693.el7.centos.toa.x86_64.rpm
After the restart, run uname-R to view the version.3.10.0-327.el7.x86_64Changed3.10.0-693.el7.centos.toa.x86_64
Runlsmod | grep toaCheck whether the Toa module is loaded. If it is not loaded, you can usemodprobe toaCommand to enable.
Normally load the Toa module, and the ECHO is as follows:
[[email protected] ~]# lsmod | grep toatoa 12745 0 [[email protected] ~]#
The Toa module can be automatically loaded upon startup.
vim /etc/rc.d/rc.localmodprobe toa
Centos6
Kernel-2.6.32-220.23.2.ali_github.el6.x86_64.rpm
Network Disk link: https://pan.baidu.com/s/12vscGK7xR19HSOjb-StcNw
Whether it is a virtual machine or a physical machine, an error is reported.
CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1net/built-in.o: In function `inet6_getname_toa‘:/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:156: undefined reference to `inet6_getname‘net/built-in.o: In function `tcp_v6_syn_recv_sock_toa‘:/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:221: undefined reference to `tcp_v6_syn_recv_sock‘net/built-in.o: In function `hook_toa_functions‘:/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:258: undefined reference to `inet6_stream_ops‘/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:259: undefined reference to `inet6_stream_ops‘/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:259: undefined reference to `inet6_getname‘/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:272: undefined reference to `ipv6_specific‘/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:273: undefined reference to `ipv6_specific‘/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:273: undefined reference to `tcp_v6_syn_recv_sock‘net/built-in.o: In function `unhook_toa_functions‘:/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:297: undefined reference to `inet6_stream_ops‘/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:297: undefined reference to `inet6_getname‘/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:309: undefined reference to `ipv6_specific‘/home/pukong/rpms/BUILD/kernel-2.6.32-220.23.1.el6/linux-2.6.32-220.23.1.el6.x86_64/net/toa/toa.c:309: undefined reference to `tcp_v6_syn_recv_sock‘make: *** [.tmp_vmlinux1] Error 1[[email protected] linux-2.6.32-220.23.1.el6.x86_64]#
rpm -ivh --oldpackage ‘kernel-2.6.32-220.23.1.el6.toa.x86_64.rpm‘
Succeeded
Note: The above command is successfully tested only on the vmvm, and fails on both hyper-V and the physical machine. hyper-V is lost after the compilation is successful, the physical machine cannot start centos6.5.
April August 29, 2018: after testing, in hyper-V, the centos6.x system encountered the problem of NIC loss after kernel compilation.
LVS fullnat + ecmp [3] installing the Toa module on the RealServer