possible rtl8192 driver bug: rtl8192ce:rtl92ce_hw_init():<0-0> Init MAC failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Developers,
I am experiencing issues with rtl8192 drivers on an MSI X370 laptop
with Ubuntu 11.10 AMD64 :
The driver works fine upon a fresh boot (not exactly, see explanations
below), but not after toggling the hard rfkill switch.
I think that might be a driver issue, and I am willing to provide more
information if that would be helpful.

Here are what I have gathered (reproducible every time):
1. Boot. The kernel is not detecting the device if hard rfkill is
enabled before boot (this seems to be a kernel bug, but can be
workarounded by pci rescan), otherwise the device is detected and
driver is loaded. The driver works either way the first time it is
loaded.
2. Enable hard rfkill. I found 'udevadm monitor' output nothing
regarding this action, and /sys/class/rfkill/rfkill*/hard reads
constant "0".
3. Disable hard rfkill. From now on the driver no longer works until
next boot. I tried rmmod/modprobe with no success

I will try the tarball from Realtek to see if there is any difference.




relevant lspci output:
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE
802.11b/g/n WiFi Adapter (rev ff)

this is dmesg output after rmmod/modprobe:
[17707.700157] rtl8192ce 0000:03:00.0: Refused to change power state,
currently in D3
[17707.700186] rtl8192ce 0000:03:00.0: PCI INT A -> GSI 18 (level,
low) -> IRQ 18
[17707.700378] rtl8192ce:_rtl92ce_read_adapter_info():<0-0> RTL819X
Not boot from eeprom, check it !!
[17707.713220] cfg80211: Updating information on frequency 2412 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713228] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713232] cfg80211: Updating information on frequency 2417 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713237] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713241] cfg80211: Updating information on frequency 2422 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713245] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713248] cfg80211: Updating information on frequency 2427 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713253] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713256] cfg80211: Updating information on frequency 2432 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713261] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713264] cfg80211: Updating information on frequency 2437 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713268] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713272] cfg80211: Updating information on frequency 2442 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713276] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713279] cfg80211: Updating information on frequency 2447 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713284] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713287] cfg80211: Updating information on frequency 2452 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713291] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713295] cfg80211: Updating information on frequency 2457 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713299] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713302] cfg80211: Updating information on frequency 2462 MHz
for a 20 MHz width channel with regulatory rule:
[17707.713306] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[17707.713310] cfg80211: Disabling freq 2467 MHz as custom regd has no
rule that fits a 20 MHz wide channel
[17707.713314] cfg80211: Disabling freq 2472 MHz as custom regd has no
rule that fits a 20 MHz wide channel
[17707.713318] cfg80211: Disabling freq 2484 MHz as custom regd has no
rule that fits a 20 MHz wide channel
[17707.713666] cfg80211: Ignoring regulatory request Set by core since
the driver uses its own custom regulatory domain
[17707.713846] ieee80211 phy4: Selected rate control algorithm 'rtl_rc'
[17707.714743] rtlwifi: wireless switch is on
[17707.715124] cfg80211: Calling CRDA for country: US
[17707.733222] cfg80211: Updating information on frequency 2412 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733232] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733236] cfg80211: Updating information on frequency 2417 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733241] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733245] cfg80211: Updating information on frequency 2422 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733249] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733253] cfg80211: Updating information on frequency 2427 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733258] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733261] cfg80211: Updating information on frequency 2432 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733265] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733269] cfg80211: Updating information on frequency 2437 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733273] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733277] cfg80211: Updating information on frequency 2442 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733281] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733284] cfg80211: Updating information on frequency 2447 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733289] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733292] cfg80211: Updating information on frequency 2452 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733296] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733300] cfg80211: Updating information on frequency 2457 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733304] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733307] cfg80211: Updating information on frequency 2462 MHz
for a 20 MHz width channel with regulatory rule:
[17707.733312] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (300 mBi, 2700 mBm)
[17707.733315] cfg80211: Disabling freq 2467 MHz
[17707.733318] cfg80211: Disabling freq 2472 MHz
[17707.733320] cfg80211: Disabling freq 2484 MHz
[17707.733327] cfg80211: Current regulatory domain intersected:
[17707.733330] cfg80211:     (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[17707.733334] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz),
(N/A, 2000 mBm)
[17707.733338] cfg80211:     (5170000 KHz - 5250000 KHz @ 20000 KHz),
(300 mBi, 1700 mBm)
[17707.733342] cfg80211:     (5250000 KHz - 5330000 KHz @ 20000 KHz),
(300 mBi, 2000 mBm)
[17707.733346] cfg80211:     (5735000 KHz - 5835000 KHz @ 20000 KHz),
(300 mBi, 3000 mBm)
[17707.773798] udevd[16905]: renamed network interface wlan0 to wlan5
[17707.879712] rtl8192ce:_rtl92ce_llt_write():<0-0> Failed to polling
write LLT done at address 0!
[17707.879729] rtl8192ce:rtl92ce_hw_init():<0-0> Init MAC failed
[17708.014868] rtl8192ce:_rtl92ce_llt_write():<0-0> Failed to polling
write LLT done at address 0!
[17708.014885] rtl8192ce:rtl92ce_hw_init():<0-0> Init MAC failed
[17708.116913] rtl8192ce:_rtl92ce_llt_write():<0-0> Failed to polling
write LLT done at address 0!
[17708.116926] rtl8192ce:rtl92ce_hw_init():<0-0> Init MAC failed
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux