neurobin / MT7630E

Modified easy installation package

Home Page:https://neurobin.org/projects/softwares/unix/MT7630E/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failing to Install in Fedora 28 with lib/modules/`uname -r`/build file or directory doesn't exist

ajitluhach opened this issue · comments

System info

Entry Details
OS Fedora 28
Kernel version 4.16.3-301.fc28.x86_64
New install yes
DKMS yes
Compiler gcc version 8.0.1 20180324 (Red Hat 8.0.1-0.20) (GCC)

Devince info

Device ID: Bus 001 Device 004: ID 0489:e080 Foxconn / Hon Hai

General info:

#block starts
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
        Subsystem: Foxconn International, Inc. Device e084
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-                                           
        Latency: 0, Cache Line Size: 64 bytes                                                                                                          
        Interrupt: pin A routed to IRQ 4                                                                                                               
        Region 0: Memory at a3100000 (32-bit, non-prefetchable) [size=1M]                                                                              
        Capabilities: <access denied>                                                                                                                  
                                                                                                                                                       
04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 930M] (rev a2)                                                                               
        Subsystem: ASUSTeK Computer Inc. Device 1a6d                                                                                                   
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+                                          
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-                                           
        Latency: 0, Cache Line Size: 64 bytes                                                                                                          
        Interrupt: pin A routed to IRQ 50                                                                                                              
        Region 0: Memory at a2000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
        Region 5: I/O ports at 3000 [size=128]
        Expansion ROM at a3000000 [disabled] [size=512K]
        Capabilities: <access denied>

#block ends

Bluetooth stats:

nothing, null

What didn't work?

Driver is failing to install.
I had previously cloned repo on my system, with which I was successfully able to install the driver on the Fedora 26 and 27, I used the same version in Fedora 28. But it failed with error metioned in Error Code section.

What did you try?

I tried installing with previously cloned repo, didn't install.
Firstly, I ran make, failed with similar error as in ERROR CODE section. Then I tried installing after dkms, and again the same errors.

I cloned the repo again, made install, uninstall, executable, ran make, ./install, and the errors were same as mentioned in the error code.

I have to admit I was pretty careless after it failed the first time. It's actually a fresh install and I am positive I haven't messed around anywhere.

Error code:

make -C /lib/modules/4.16.3-301.fc28.x86_64/build M=/home/ajit/MT7630E/rt2x00 modules
make[1]: *** /lib/modules/4.16.3-301.fc28.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:9: all] Error 2


These two directories look really odd inside lib/mobules/uname -r/
lrwxrwxrwx.  1 root root      39 Apr 24 03:48 build -> /usr/src/kernels/4.16.3-301.fc28.x86_64
lrwxrwxrwx.  1 root root       5 Apr 24 03:48 source -> build

which was the problem @ajitluhach ?