neurobin / MT7630E

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

rt2x00lib_probe_dev: Error - Failed to initialize hw #84

Open pensnarik opened 7 years ago

pensnarik commented 7 years ago

System info

Entry Details
OS Ubuntu 17.04
Kernel version 4.10.0-38-generic
New install no
DKMS yes
Compiler gcc-6.3.0

Devince info

Device ID: 0e8d:763f

General info:

03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
    Subsystem: Foxconn International, Inc. 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-
    Interrupt: pin A routed to IRQ 18
    Region 0: Memory at f7900000 (32-bit, non-prefetchable) [size=1M]
    Capabilities: <access denied>
    Kernel modules: mt7630e

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
    Subsystem: ASUSTeK Computer Inc. RTL8411B PCI Express Card Reader
    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 B routed to IRQ 31
    Region 0: Memory at f7815000 (32-bit, non-prefetchable) [size=4K]
    Expansion ROM at f7800000 [disabled] [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: rtsx_pci
    Kernel modules: rtsx_pci

Bluetooth stats:

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

What didn't work?

I've got "Failed to initialize hw" error in dmesg for my network device.

What did you try?

I've tried to recompile the module and reboot.

Error code:

 ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to initialize hw

I got this error since last kernel update, I've been used this module for a while and everything was OK.

Additional info

The whole related to error dmesg output:

[    3.426616] ------------[ cut here ]------------
[    3.426635] WARNING: CPU: 1 PID: 405 at /build/linux-zYxhRZ/linux-4.10.0/net/wireless/core.c:633 wiphy_register+0x4b3/0x990 [cfg80211]
[    3.426636] Modules linked in: mt7630e(OE+) snd_hda_intel mac80211 snd_hda_codec snd_hda_core snd_hwdep snd_pcm input_leds joydev serio_raw cfg80211 snd_seq_midi snd_seq_midi_event snd_rawmidi rtsx_pci_ms eeprom_93cx6 snd_seq lpc_ich memstick snd_seq_device snd_timer snd soundcore mei_me shpchp ie31200_edac mei edac_core asus_wireless mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj usbhid hid rtsx_pci_sdmmc psmouse nouveau i915 mxm_wmi ttm i2c_algo_bit drm_kms_helper syscopyarea ahci r8169 sysfillrect libahci mii sysimgblt fb_sys_fops rtsx_pci drm wmi video fjes
[    3.426667] CPU: 1 PID: 405 Comm: systemd-udevd Tainted: G           OE   4.10.0-38-generic #42-Ubuntu
[    3.426668] Hardware name: ASUSTeK COMPUTER INC. N751JK/N751JK, BIOS N751JK.202 07/22/2014
[    3.426669] Call Trace:
[    3.426673]  dump_stack+0x63/0x81
[    3.426675]  __warn+0xcb/0xf0
[    3.426677]  warn_slowpath_null+0x1d/0x20
[    3.426690]  wiphy_register+0x4b3/0x990 [cfg80211]
[    3.426692]  ? vprintk_default+0x29/0x50
[    3.426694]  ? printk+0x57/0x73
[    3.426696]  ? __kmalloc+0x162/0x1e0
[    3.426713]  ? ieee80211_register_hw+0x26e/0xb10 [mac80211]
[    3.426726]  ieee80211_register_hw+0x3ec/0xb10 [mac80211]
[    3.426732]  rt2x00lib_probe_dev+0x632/0x810 [mt7630e]
[    3.426737]  rt2x00pci_probe+0x1c6/0x3a0 [mt7630e]
[    3.426743]  rt2800pci_probe+0x15/0x20 [mt7630e]
[    3.426745]  local_pci_probe+0x45/0xa0
[    3.426747]  pci_device_probe+0x103/0x150
[    3.426749]  driver_probe_device+0x2bb/0x460
[    3.426751]  __driver_attach+0xdf/0xf0
[    3.426753]  ? driver_probe_device+0x460/0x460
[    3.426755]  bus_for_each_dev+0x6c/0xc0
[    3.426756]  driver_attach+0x1e/0x20
[    3.426758]  bus_add_driver+0x170/0x270
[    3.426759]  driver_register+0x60/0xe0
[    3.426761]  ? 0xffffffffc0961000
[    3.426762]  __pci_register_driver+0x4c/0x50
[    3.426767]  rt2800pci_init+0x1e/0x1000 [mt7630e]
[    3.426769]  do_one_initcall+0x52/0x1b0
[    3.426771]  ? __vunmap+0x81/0xd0
[    3.426773]  ? kmem_cache_alloc_trace+0xd7/0x190
[    3.426775]  do_init_module+0x5f/0x200
[    3.426777]  load_module+0x190b/0x1c70
[    3.426779]  ? __symbol_put+0x60/0x60
[    3.426781]  ? ima_post_read_file+0x7e/0xa0
[    3.426783]  ? security_kernel_post_read_file+0x6b/0x80
[    3.426784]  SYSC_finit_module+0xdf/0x110
[    3.426786]  SyS_finit_module+0xe/0x10
[    3.426788]  do_syscall_64+0x5b/0xc0
[    3.426790]  entry_SYSCALL64_slow_path+0x25/0x25
[    3.426791] RIP: 0033:0x7f7fdc6229f9
[    3.426792] RSP: 002b:00007ffea8084cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[    3.426794] RAX: ffffffffffffffda RBX: 000055fa7e0c8930 RCX: 00007f7fdc6229f9
[    3.426795] RDX: 0000000000000000 RSI: 00007f7fdcf45e23 RDI: 0000000000000011
[    3.426795] RBP: 00007f7fdcf45e23 R08: 0000000000000000 R09: 0000000000000000
[    3.426796] R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000000
[    3.426797] R13: 000055fa7e0c8840 R14: 0000000000020000 R15: 000055fa7d814e30
[    3.426798] ---[ end trace 065675af7fec47f5 ]---
[    3.426802] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to initialize hw