neurobin / MT7630E

Modified easy installation package
https://neurobin.org/projects/softwares/unix/MT7630E/
233 stars 72 forks source link

After 7 July release ,System freezes every time when connected to any access point #74

Closed htcoder closed 6 years ago

htcoder commented 6 years ago

System info

Entry Details
OS <Ubuntu 16.04.4 LTS
Kernel version 4.4.0-83-generic
New install no
DKMS no>
Compiler gcc version 5.4.0 20160609

Devince info

Device ID: Bus 002 Device 004: ID 0e8d:763f MediaTek Inc.

General info:

#block starts
08:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
    DeviceName: Mediatek WLAN Mediatek Civic MT7630E bgn 1x1 + BT 4 LE PCIe+USB HMCWW
    Subsystem: Hewlett-Packard Company MT7630e 802.11bgn Wireless Network Adapter
    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 18
    Region 0: Memory at b2500000 (32-bit, non-prefetchable) [size=1M]
    Capabilities: <access denied>
    Kernel driver in use: mt7630e
    Kernel modules: mt7630e

09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 08)
    DeviceName: Realtek PCIe FE Family Controller
    Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
    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 42
    Region 0: I/O ports at 3000 [size=256]
    Region 2: Memory at b2404000 (64-bit, non-prefetchable) [size=4K]
    Region 4: Memory at b2400000 (64-bit, non-prefetchable) [size=16K]
#block ends

Bluetooth stats:

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no

What didn't work?

/home/ht/MT7630E-release/rt2x00/rt2800pci.c:1591:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] .ampdu_action = rt2800_ampdu_action, ^ /home/ht/MT7630E-release/rt2x00/rt2800pci.c:1591:23: note: (near initialization for ‘rt2800pci_mac80211_ops.ampdu_action’)

I have never seen this error in my previous installation.

What did you try?

[please include all details, every small step is important, if already explained above, just use ^^^ or 'see above']

Error code:

make -C /lib/modules/`uname -r`/build M=/home/ht/MT7630E-release/rt2x00 modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-83-generic'
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00dev.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00mac.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00config.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00queue.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00link.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/mt_linux.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00crypto.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00firmware.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00leds.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00mmio.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2800pci.o
/home/ht/MT7630E-release/rt2x00/rt2800pci.c:1591:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  .ampdu_action      = rt2800_ampdu_action,
                       ^
/home/ht/MT7630E-release/rt2x00/rt2800pci.c:1591:23: note: (near initialization for ‘rt2800pci_mac80211_ops.ampdu_action’)
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2800lib.o
  CC [M]  /home/ht/MT7630E-release/rt2x00/rt2x00pci.o
  LD [M]  /home/ht/MT7630E-release/rt2x00/mt7630e.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/ht/MT7630E-release/rt2x00/mt7630e.mod.o
  LD [M]  /home/ht/MT7630E-release/rt2x00/mt7630e.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-83-generic'
make -C /lib/modules/`uname -r`/build M=/home/ht/MT7630E-release/btloader modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-83-generic'
  CC [M]  /home/ht/MT7630E-release/btloader/mt76xx.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/ht/MT7630E-release/btloader/mt76xx.mod.o
  LD [M]  /home/ht/MT7630E-release/btloader/mt76xx.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-83-generic'

Additional info

I have been using neurobin release since first version. but after this update... system hangs every-time I connect to access point

Please help :)

neurobin commented 6 years ago

Try this solution

neurobin commented 6 years ago

If you have any further discussion use issue #68

htcoder commented 6 years ago

. Already tried your suggested solution ..not working