Closed cristiansavaro closed 6 years ago
Hi @cristiansavaro,
This is the same as https://github.com/amzn/amzn-drivers/issues/64
Please use the same patch I provided there:
0001-Compilation-temporary-fix-for-RHEL7.5-compilation-er.patch.txt
A fix will be included in the next release.
Regards, Arthur
@akiyano thanks. i will try this patch today.
the patch is successful but the error persists.
Hi @cristiansavaro ,
I've tested this patch on the kernel version you have. I suggest we continue this discussion offline. Please contact me via email - akiyano@amazon.com
Best regards, Arthur
After discussing offline with @akiyano i was able to put together a script that handles the patching, the build process and auto-loading of the module at boot time, using the above mentioned patch :
yum -y install gcc make rpm-build git
yum -y install kernel-devel-$(uname -r)
cd /root
git clone https://github.com/amzn/amzn-drivers
curl -s https://path_to_patch/RHEL7.5-compilation.patch > /root/RHEL7.5-compilation.patch
cd /root/amzn-drivers
patch -p1 < ../RHEL7.5-compilation.patch
git tag -d ena_linux_1.5.2
git config --global user.email "your@email"
git config --global user.name "Your Name"
git add kernel/linux/ena/ena_netdev.c kernel/linux/ena/kcompat.h
git commit -m "added RHEL7.5-compilation.patch"
git tag ena_linux_1.5.2
cd /root/amzn-drivers/kernel/linux/rpm
make rpm
rpm -Uvh /root/amzn-drivers/kernel/linux/rpm/x86_64/kmod-ena*.rpm --force --nodeps
echo "ena" > /etc/modules-load.d/ena.conf
Patching is no longer necessary, the fix is included in version 1.5.3.
guys i have note 3 n9005 htle i installed nethunter on aryamod rom modified stock touch wiz and i have mt7601 wifi adapter it shows lsusb that the adapter connected but when i set it up shows nothing so i must install drivers and compile my 3.4.111 nethuner kerenal so how i can run that adapter on my note
Hi @petronazeh,
Here we deal with issues with the ENA driver. You are asking a question that is unrelated to us. We can't help you with that.
Arthur
I am trying to build the drivers for oracle 3.10.0-862.el7.x86_64 kernel. Here is the error i get for 1.5.0 , 1.5.1 and 1.5.2 :