All of lore.kernel.org
 help / color / mirror / Atom feed
* PROBLEM: Marvell 88W8797 wifi (module mwifiex) does not work on Surface Pro
@ 2015-04-29  9:01 Julien Cubizolles
  2015-04-29 18:02 ` Avinash Patil
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Cubizolles @ 2015-04-29  9:01 UTC (permalink / raw)
  To: Amitkumar Karwar, Avinash Patil, linux-wireless


[1.] One line summary of the problem

The system hangs when using the wifi connection.

[2.] Full description of the problem/report

I'm running the latest kernel (v4.1.0) on a Microsoft Surface Pro. Up to
the 3.16 series, the wifi was basically working although the connection
would drop from time to time. Now, it's not usable anymore: I can
connect to a wifi network, the connection is working for a few seconds
but the whole system hangs afterwards. 

I tried using the marvell firmware from
git://git.marvell.com/mwifiex-firmware.git, that didn't change anything.

The only error messages I noticed in /var/log/syslog are :

usb 1-3: failed to get signal information

followed by a lot of:

usb 1-3: PREP_CMD: FW is in bad state

[3.] 

[4.] Kernel version

Linux version 4.1.0-040100rc1-generic (kernel@gloin) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201504270235 SMP Mon Apr 27 02:36:47
UTC 2015

[5.] No OOps

[6.]

[7.]
[7.1.] output of ver_linux

Linux touco 4.1.0-040100rc1-generic #201504270235 SMP Mon Apr 27
02:36:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
 
Gnu C                  4.9.2
Gnu make               4.0
binutils               2.25
util-linux             2.25.2
mount                  debug
module-init-tools      18
e2fsprogs              1.42.12
pcmciautils            018
PPP                    2.4.6
Linux C Library        2.21
Dynamic linker (ldd)   2.21
Procps                 3.3.9
Net-tools              1.60
Kbd                    1.15.5
Sh-utils               8.23
wireless-tools         30
Modules Loaded         asix usbnet mii rfcomm bnep btusb btbcm btintel bluetooth binfmt_misc nls_iso8859_1 mwifiex_usb mwifiex cfg80211 hid_sensor_rotation hid_sensor_incl_3d hid_sensor_als hid_sensor_magn_3d hid_sensor_accel_3d hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf industrialio hid_sensor_iio_common joydev hid_multitouch snd_hda_codec_hdmi hid_generic hid_sensor_hub snd_hda_codec_realtek snd_hda_codec_generic intel_rapl snd_hda_intel iosf_mbi snd_hda_controller x86_pkg_temp_thermal uvcvideo intel_powerclamp snd_hda_codec snd_hda_core coretemp kvm_intel videobuf2_vmalloc snd_hwdep kvm usbhid videobuf2_memops videobuf2_core hid v4l2_common crct10dif_pclmul snd_pcm crc32_pclmul videodev ghash_clmulni_intel snd_seq_midi snd_seq_midi_event media aesni_intel snd_rawmidi aes_x86_64 snd_seq lrw gf128mul glue_helper i915 snd_seq_device ablk_helper cryptd snd_timer snd drm_kms_helper drm mei_me i2c_algo_bit soundcore mei lpc_ich video tpm_infineon mac_hid parport_pc ppdev lp parport autofs4 ahci libahci

[7.2.] output of cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
stepping	: 9
microcode	: 0x13
cpu MHz		: 802.851
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt
bugs		:
bogomips	: 3392.26
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
stepping	: 9
microcode	: 0x13
cpu MHz		: 839.707
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt
bugs		:
bogomips	: 3392.26
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
stepping	: 9
microcode	: 0x13
cpu MHz		: 904.585
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt
bugs		:
bogomips	: 3392.26
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
stepping	: 9
microcode	: 0x13
cpu MHz		: 799.996
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt
bugs		:
bogomips	: 3392.26
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

[7.3.] output of /proc/modules
asix 40960 0 - Live 0x0000000000000000
usbnet 45056 1 asix, Live 0x0000000000000000
mii 16384 2 asix,usbnet, Live 0x0000000000000000
rfcomm 77824 8 - Live 0x0000000000000000
bnep 24576 2 - Live 0x0000000000000000
btusb 45056 0 - Live 0x0000000000000000
btbcm 16384 1 btusb, Live 0x0000000000000000
btintel 16384 1 btusb, Live 0x0000000000000000
bluetooth 540672 24 rfcomm,bnep,btusb,btbcm,btintel, Live 0x0000000000000000
binfmt_misc 20480 1 - Live 0x0000000000000000
nls_iso8859_1 16384 1 - Live 0x0000000000000000
mwifiex_usb 20480 0 - Live 0x0000000000000000
mwifiex 307200 1 mwifiex_usb, Live 0x0000000000000000
cfg80211 589824 1 mwifiex, Live 0x0000000000000000
hid_sensor_rotation 16384 0 - Live 0x0000000000000000
hid_sensor_incl_3d 16384 0 - Live 0x0000000000000000
hid_sensor_als 16384 0 - Live 0x0000000000000000
hid_sensor_magn_3d 16384 0 - Live 0x0000000000000000
hid_sensor_accel_3d 16384 0 - Live 0x0000000000000000
hid_sensor_gyro_3d 16384 0 - Live 0x0000000000000000
hid_sensor_trigger 16384 12 hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_sensor_accel_3d,hid_sensor_gyro_3d, Live 0x0000000000000000
industrialio_triggered_buffer 16384 6 hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_sensor_accel_3d,hid_sensor_gyro_3d, Live 0x0000000000000000
kfifo_buf 16384 1 industrialio_triggered_buffer, Live 0x0000000000000000
industrialio 61440 9 hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_sensor_accel_3d,hid_sensor_gyro_3d,hid_sensor_trigger,industrialio_triggered_buffer,kfifo_buf, Live 0x0000000000000000
hid_sensor_iio_common 16384 7 hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_sensor_accel_3d,hid_sensor_gyro_3d,hid_sensor_trigger, Live 0x0000000000000000
joydev 20480 0 - Live 0x0000000000000000
hid_multitouch 20480 0 - Live 0x0000000000000000
snd_hda_codec_hdmi 53248 1 - Live 0x0000000000000000
hid_generic 16384 0 - Live 0x0000000000000000
hid_sensor_hub 20480 8 hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_sensor_accel_3d,hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common, Live 0x0000000000000000
snd_hda_codec_realtek 86016 1 - Live 0x0000000000000000
snd_hda_codec_generic 77824 1 snd_hda_codec_realtek, Live 0x0000000000000000
intel_rapl 20480 0 - Live 0x0000000000000000
snd_hda_intel 32768 3 - Live 0x0000000000000000
iosf_mbi 16384 1 intel_rapl, Live 0x0000000000000000
snd_hda_controller 36864 1 snd_hda_intel, Live 0x0000000000000000
x86_pkg_temp_thermal 16384 0 - Live 0x0000000000000000
uvcvideo 94208 0 - Live 0x0000000000000000
intel_powerclamp 20480 0 - Live 0x0000000000000000
snd_hda_codec 122880 5 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller, Live 0x0000000000000000
snd_hda_core 36864 5 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_controller,snd_hda_codec, Live 0x0000000000000000
coretemp 16384 0 - Live 0x0000000000000000
kvm_intel 159744 0 - Live 0x0000000000000000
videobuf2_vmalloc 16384 1 uvcvideo, Live 0x0000000000000000
snd_hwdep 16384 1 snd_hda_codec, Live 0x0000000000000000
kvm 507904 1 kvm_intel, Live 0x0000000000000000
usbhid 53248 0 - Live 0x0000000000000000
videobuf2_memops 16384 1 videobuf2_vmalloc, Live 0x0000000000000000
videobuf2_core 53248 1 uvcvideo, Live 0x0000000000000000
hid 122880 4 hid_multitouch,hid_generic,hid_sensor_hub,usbhid, Live 0x0000000000000000
v4l2_common 16384 1 videobuf2_core, Live 0x0000000000000000
crct10dif_pclmul 16384 0 - Live 0x0000000000000000
snd_pcm 110592 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec, Live 0x0000000000000000
crc32_pclmul 16384 0 - Live 0x0000000000000000
videodev 172032 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
ghash_clmulni_intel 16384 0 - Live 0x0000000000000000
snd_seq_midi 16384 0 - Live 0x0000000000000000
snd_seq_midi_event 16384 1 snd_seq_midi, Live 0x0000000000000000
media 24576 2 uvcvideo,videodev, Live 0x0000000000000000
aesni_intel 172032 0 - Live 0x0000000000000000
snd_rawmidi 32768 1 snd_seq_midi, Live 0x0000000000000000
aes_x86_64 20480 1 aesni_intel, Live 0x0000000000000000
snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
lrw 16384 1 aesni_intel, Live 0x0000000000000000
gf128mul 16384 1 lrw, Live 0x0000000000000000
glue_helper 16384 1 aesni_intel, Live 0x0000000000000000
i915 1142784 4 - Live 0x0000000000000000
snd_seq_device 16384 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
ablk_helper 16384 1 aesni_intel, Live 0x0000000000000000
cryptd 24576 3 ghash_clmulni_intel,aesni_intel,ablk_helper, Live 0x0000000000000000
snd_timer 32768 2 snd_pcm,snd_seq, Live 0x0000000000000000
snd 86016 17 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_seq_device,snd_timer, Live 0x0000000000000000
drm_kms_helper 126976 1 i915, Live 0x0000000000000000
drm 352256 6 i915,drm_kms_helper, Live 0x0000000000000000
mei_me 24576 0 - Live 0x0000000000000000
i2c_algo_bit 16384 1 i915, Live 0x0000000000000000
soundcore 16384 1 snd, Live 0x0000000000000000
mei 94208 1 mei_me, Live 0x0000000000000000
lpc_ich 24576 0 - Live 0x0000000000000000
video 28672 1 i915, Live 0x0000000000000000
tpm_infineon 20480 0 - Live 0x0000000000000000
mac_hid 16384 0 - Live 0x0000000000000000
parport_pc 36864 0 - Live 0x0000000000000000
ppdev 20480 0 - Live 0x0000000000000000
lp 20480 0 - Live 0x0000000000000000
parport 45056 3 parport_pc,ppdev,lp, Live 0x0000000000000000
autofs4 40960 2 - Live 0x0000000000000000
ahci 36864 3 - Live 0x0000000000000000
libahci 32768 1 ahci, Live 0x0000000000000000

[7.4.] output of /proc/ioports
0000-0cf7 : PCI Bus 0000:00
  0000-001f : dma1
  0020-0021 : pic1
  0040-0043 : timer0
  0050-0053 : timer1
  0060-0060 : keyboard
  0062-0062 : PNP0C09:00
    0062-0062 : EC data
  0064-0064 : keyboard
  0066-0066 : PNP0C09:00
    0066-0066 : EC cmd
  0070-0077 : rtc0
  0080-008f : dma page reg
  00a0-00a1 : pic2
  00c0-00df : dma2
  00f0-00ff : PNP0C04:00
    00f0-00ff : fpu
  0400-0403 : ACPI PM1a_EVT_BLK
  0404-0405 : ACPI PM1a_CNT_BLK
  0408-040b : ACPI PM_TMR
  0410-0415 : ACPI CPU throttle
  0420-042f : ACPI GPE0_BLK
  0430-0433 : iTCO_wdt
  0450-0450 : ACPI PM2_CNT_BLK
  0454-0457 : pnp 00:03
  0458-047f : pnp 00:01
    0460-047f : iTCO_wdt
  04d0-04d1 : pnp 00:04
  0500-057f : pnp 00:01
  0680-069f : pnp 00:01
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
  1000-100f : pnp 00:01
  164e-164f : pnp 00:01
  f000-f03f : 0000:00:02.0
  f040-f05f : 0000:00:1f.3
  f060-f07f : 0000:00:1f.2
    f060-f07f : ahci
  f080-f083 : 0000:00:1f.2
    f080-f083 : ahci
  f090-f097 : 0000:00:1f.2
    f090-f097 : ahci
  f0a0-f0a3 : 0000:00:1f.2
    f0a0-f0a3 : ahci
  f0b0-f0b7 : 0000:00:1f.2
    f0b0-f0b7 : ahci
  ffff-ffff : pnp 00:01
    ffff-ffff : pnp 00:01

output of /proc/iomem
00000000-00000fff : reserved
00001000-0009dfff : System RAM
0009e000-0009ffff : reserved
000a0000-000bffff : PCI Bus 0000:00
000c0000-000c3fff : PCI Bus 0000:00
000c4000-000c7fff : PCI Bus 0000:00
000c8000-000cbfff : PCI Bus 0000:00
000cc000-000cffff : PCI Bus 0000:00
000d0000-000d3fff : PCI Bus 0000:00
000d4000-000d7fff : PCI Bus 0000:00
000d8000-000dbfff : PCI Bus 0000:00
000dc000-000dffff : PCI Bus 0000:00
000e0000-000e3fff : PCI Bus 0000:00
000e4000-000e7fff : PCI Bus 0000:00
000e8000-000ebfff : PCI Bus 0000:00
000ec000-000effff : PCI Bus 0000:00
000f0000-000fffff : PCI Bus 0000:00
  000f0000-000fffff : System ROM
00100000-1fffffff : System RAM
  01000000-0180b7dc : Kernel code
  0180b7dd-01f35a3f : Kernel data
  020a7000-021e9fff : Kernel bss
20000000-201fffff : reserved
  20000000-201fffff : pnp 00:06
20200000-40003fff : System RAM
40004000-40004fff : reserved
  40004000-40004fff : pnp 00:06
40005000-d9202fff : System RAM
d9203000-d9671fff : reserved
d9672000-d9681fff : ACPI Tables
d9682000-da24ffff : ACPI Non-volatile Storage
da250000-da66cfff : reserved
da66d000-da6fefff : reserved
da6ff000-da6fffff : System RAM
da700000-da742fff : ACPI Non-volatile Storage
da743000-dad54fff : System RAM
dad55000-daff1fff : reserved
daff2000-daffffff : System RAM
db000000-db7fffff : RAM buffer
db800000-df9fffff : reserved
  dba00000-df9fffff : Graphics Stolen Memory
dfa00000-feafffff : PCI Bus 0000:00
  dfa00000-dfa00fff : pnp 00:05
  e0000000-efffffff : 0000:00:02.0
  f7800000-f7bfffff : 0000:00:02.0
  f7c00000-f7c0ffff : 0000:00:14.0
    f7c00000-f7c0ffff : xhci-hcd
  f7c10000-f7c13fff : 0000:00:1b.0
    f7c10000-f7c13fff : ICH HD audio
  f7c15000-f7c150ff : 0000:00:1f.3
  f7c16000-f7c167ff : 0000:00:1f.2
    f7c16000-f7c167ff : ahci
  f7c17000-f7c173ff : 0000:00:1d.0
    f7c17000-f7c173ff : ehci_hcd
  f7c18000-f7c183ff : 0000:00:1a.0
    f7c18000-f7c183ff : ehci_hcd
  f7c1b000-f7c1b00f : 0000:00:16.0
    f7c1b000-f7c1b00f : mei_me
  f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f]
    f8000000-fbffffff : reserved
      f8000000-fbffffff : pnp 00:05
fec00000-fec00fff : reserved
  fec00000-fec003ff : IOAPIC 0
fed00000-fed03fff : reserved
  fed00000-fed003ff : HPET 0
    fed00000-fed003ff : PNP0103:00
fed10000-fed17fff : pnp 00:05
fed18000-fed18fff : pnp 00:05
fed19000-fed19fff : pnp 00:05
fed1c000-fed1ffff : reserved
  fed1c000-fed1ffff : pnp 00:05
    fed1f410-fed1f414 : iTCO_wdt
fed20000-fed3ffff : pnp 00:05
fed40000-fed44fff : pnp 00:00
fed45000-fed8ffff : pnp 00:05
fed90000-fed90fff : dmar0
fed91000-fed91fff : dmar1
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : reserved
ff000000-ffffffff : reserved
  ff000000-ffffffff : INT0800:00
    ff000000-ffffffff : pnp 00:05
100000000-11f5fffff : System RAM
11f600000-11fffffff : RAM buffer

[7.5.] output of lspci -vvv
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
	Subsystem: Microsoft Corporation Device 0154
	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
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: ivb_uncore

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Microsoft Corporation Device 0166
	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
	Interrupt: pin A routed to IRQ 29
	Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
	Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00018  Data: 0000
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a4] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: i915

00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
	Subsystem: Microsoft Corporation Device 1e31
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 26
	Region 0: Memory at f7c00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME+
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
		Address: 00000000fee00298  Data: 0000
	Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
	Subsystem: Microsoft Corporation Device 1e3a
	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
	Interrupt: pin A routed to IRQ 28
	Region 0: Memory at f7c1b000 (64-bit, non-prefetchable) [size=16]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee00318  Data: 0000
	Kernel driver in use: mei_me

00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
	Subsystem: Microsoft Corporation Device 1e2d
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at f7c18000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
	Subsystem: Microsoft Corporation Device 1e20
	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 30
	Region 0: Memory at f7c10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee00358  Data: 0000
	Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
	Capabilities: [100 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
		VC1:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=1 ArbSelect=Fixed TC/VC=22
			Status:	NegoPending- InProgress-
	Capabilities: [130 v1] Root Complex Link
		Desc:	PortNumber=0f ComponentID=00 EltType=Config
		Link0:	Desc:	TargetPort=00 TargetComponent=00 AssocRCRB- LinkType=MemMapped LinkValid+
			Addr:	00000000fed1c000
	Kernel driver in use: snd_hda_intel

00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
	Subsystem: Microsoft Corporation Device 1e26
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 23
	Region 0: Memory at f7c17000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
	Subsystem: Microsoft Corporation Device 1e57
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
	Subsystem: Microsoft Corporation Device 1e03
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 27
	Region 0: I/O ports at f0b0 [size=8]
	Region 1: I/O ports at f0a0 [size=4]
	Region 2: I/O ports at f090 [size=8]
	Region 3: I/O ports at f080 [size=4]
	Region 4: I/O ports at f060 [size=32]
	Region 5: Memory at f7c16000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee002f8  Data: 0000
	Capabilities: [70] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
	Capabilities: [b0] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
	Subsystem: Microsoft Corporation Device 1e22
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin C routed to IRQ 255
	Region 0: Memory at f7c15000 (64-bit, non-prefetchable) [size=256]
	Region 4: I/O ports at f040 [size=32]


[7.6.] output of /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: C400-MTFDDAT064M Rev: 07MH
  Type:   Direct-Access                    ANSI  SCSI revision: 05

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: PROBLEM: Marvell 88W8797 wifi (module mwifiex) does not work on Surface Pro
  2015-04-29  9:01 PROBLEM: Marvell 88W8797 wifi (module mwifiex) does not work on Surface Pro Julien Cubizolles
@ 2015-04-29 18:02 ` Avinash Patil
       [not found]   ` <93027894-9D18-4231-938C-0732EEB84F9D@free.fr>
  0 siblings, 1 reply; 3+ messages in thread
From: Avinash Patil @ 2015-04-29 18:02 UTC (permalink / raw)
  To: Julien Cubizolles, Amitkumar Karwar,
	linux-wireless@vger.kernel.org

Hi Julien,

> -----Original Message-----
> From: Julien Cubizolles [mailto:j.cubizolles@free.fr]
> Sent: Wednesday, April 29, 2015 2:31 PM
> To: Amitkumar Karwar; Avinash Patil; linux-wireless@vger.kernel.org
> Subject: PROBLEM: Marvell 88W8797 wifi (module mwifiex) does not work on
> Surface Pro
>
>
> [1.] One line summary of the problem
>
> The system hangs when using the wifi connection.
>
> [2.] Full description of the problem/report
>
> I'm running the latest kernel (v4.1.0) on a Microsoft Surface Pro. Up to the
> 3.16 series, the wifi was basically working although the connection would drop
> from time to time. Now, it's not usable anymore: I can connect to a wifi
> network, the connection is working for a few seconds but the whole system
> hangs afterwards.
>
> I tried using the marvell firmware from
> git://git.marvell.com/mwifiex-firmware.git, that didn't change anything.
>
> The only error messages I noticed in /var/log/syslog are :
>
> usb 1-3: failed to get signal information

Thanks for reporting this issue. Could you please let me know FW version? This is part of dmesg logs after driver is loaded.
Also if possible could you please enable dynamic debug and share verbose logs?

> followed by a lot of:
>
> usb 1-3: PREP_CMD: FW is in bad state

This suggests that FW has crashed/command timeout.

> [3.]
>
> [4.] Kernel version
>
> Linux version 4.1.0-040100rc1-generic (kernel@gloin) (gcc version 4.6.3
> (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201504270235 SMP Mon Apr 27 02:36:47 UTC
> 2015
>
> [5.] No OOps
>
> [6.]
>
> [7.]
> [7.1.] output of ver_linux
>
> Linux touco 4.1.0-040100rc1-generic #201504270235 SMP Mon Apr 27
> 02:36:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>
> Gnu C                  4.9.2
> Gnu make               4.0
> binutils               2.25
> util-linux             2.25.2
> mount                  debug
> module-init-tools      18
> e2fsprogs              1.42.12
> pcmciautils            018
> PPP                    2.4.6
> Linux C Library        2.21
> Dynamic linker (ldd)   2.21
> Procps                 3.3.9
> Net-tools              1.60
> Kbd                    1.15.5
> Sh-utils               8.23
> wireless-tools         30
> Modules Loaded         asix usbnet mii rfcomm bnep btusb btbcm btintel
> bluetooth binfmt_misc nls_iso8859_1 mwifiex_usb mwifiex cfg80211
> hid_sensor_rotation hid_sensor_incl_3d hid_sensor_als hid_sensor_magn_3d
> hid_sensor_accel_3d hid_sensor_gyro_3d hid_sensor_trigger
> industrialio_triggered_buffer kfifo_buf industrialio hid_sensor_iio_common
> joydev hid_multitouch snd_hda_codec_hdmi hid_generic hid_sensor_hub
> snd_hda_codec_realtek snd_hda_codec_generic intel_rapl snd_hda_intel iosf_mbi
> snd_hda_controller x86_pkg_temp_thermal uvcvideo intel_powerclamp
> snd_hda_codec snd_hda_core coretemp kvm_intel videobuf2_vmalloc snd_hwdep kvm
> usbhid videobuf2_memops videobuf2_core hid v4l2_common crct10dif_pclmul
> snd_pcm crc32_pclmul videodev ghash_clmulni_intel snd_seq_midi
> snd_seq_midi_event media aesni_intel snd_rawmidi aes_x86_64 snd_seq lrw
> gf128mul glue_helper i915 snd_seq_device ablk_helper cryptd snd_timer snd
> drm_kms_helper drm mei_me i2c_algo_bit soundcore mei lpc_ich video
> tpm_infineon mac_hid parport_pc ppdev lp parport autofs4 ahci libahci
>
> [7.2.] output of cat /proc/cpuinfo
> processor     : 0
> vendor_id     : GenuineIntel
> cpu family    : 6
> model         : 58
> model name    : Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
> stepping      : 9
> microcode     : 0x13
> cpu MHz               : 802.851
> cache size    : 3072 KB
> physical id   : 0
> siblings      : 4
> core id               : 0
> cpu cores     : 2
> apicid                : 0
> initial apicid        : 0
> fpu           : yes
> fpu_exception : yes
> cpuid level   : 13
> wp            : yes
> flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
> constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
> aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
> xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx
> f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority
> ept vpid fsgsbase smep erms xsaveopt
> bugs          :
> bogomips      : 3392.26
> clflush size  : 64
> cache_alignment       : 64
> address sizes : 36 bits physical, 48 bits virtual
> power management:
>
> processor     : 1
> vendor_id     : GenuineIntel
> cpu family    : 6
> model         : 58
> model name    : Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
> stepping      : 9
> microcode     : 0x13
> cpu MHz               : 839.707
> cache size    : 3072 KB
> physical id   : 0
> siblings      : 4
> core id               : 1
> cpu cores     : 2
> apicid                : 2
> initial apicid        : 2
> fpu           : yes
> fpu_exception : yes
> cpuid level   : 13
> wp            : yes
> flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
> constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
> aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
> xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx
> f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority
> ept vpid fsgsbase smep erms xsaveopt
> bugs          :
> bogomips      : 3392.26
> clflush size  : 64
> cache_alignment       : 64
> address sizes : 36 bits physical, 48 bits virtual
> power management:
>
> processor     : 2
> vendor_id     : GenuineIntel
> cpu family    : 6
> model         : 58
> model name    : Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
> stepping      : 9
> microcode     : 0x13
> cpu MHz               : 904.585
> cache size    : 3072 KB
> physical id   : 0
> siblings      : 4
> core id               : 0
> cpu cores     : 2
> apicid                : 1
> initial apicid        : 1
> fpu           : yes
> fpu_exception : yes
> cpuid level   : 13
> wp            : yes
> flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
> constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
> aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
> xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx
> f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority
> ept vpid fsgsbase smep erms xsaveopt
> bugs          :
> bogomips      : 3392.26
> clflush size  : 64
> cache_alignment       : 64
> address sizes : 36 bits physical, 48 bits virtual
> power management:
>
> processor     : 3
> vendor_id     : GenuineIntel
> cpu family    : 6
> model         : 58
> model name    : Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
> stepping      : 9
> microcode     : 0x13
> cpu MHz               : 799.996
> cache size    : 3072 KB
> physical id   : 0
> siblings      : 4
> core id               : 1
> cpu cores     : 2
> apicid                : 3
> initial apicid        : 3
> fpu           : yes
> fpu_exception : yes
> cpuid level   : 13
> wp            : yes
> flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
> constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
> aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
> xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx
> f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority
> ept vpid fsgsbase smep erms xsaveopt
> bugs          :
> bogomips      : 3392.26
> clflush size  : 64
> cache_alignment       : 64
> address sizes : 36 bits physical, 48 bits virtual
> power management:
>
> [7.3.] output of /proc/modules
> asix 40960 0 - Live 0x0000000000000000
> usbnet 45056 1 asix, Live 0x0000000000000000 mii 16384 2 asix,usbnet, Live
> 0x0000000000000000 rfcomm 77824 8 - Live 0x0000000000000000 bnep 24576 2 -
> Live 0x0000000000000000 btusb 45056 0 - Live 0x0000000000000000 btbcm 16384 1
> btusb, Live 0x0000000000000000 btintel 16384 1 btusb, Live 0x0000000000000000
> bluetooth 540672 24 rfcomm,bnep,btusb,btbcm,btintel, Live 0x0000000000000000
> binfmt_misc 20480 1 - Live 0x0000000000000000
> nls_iso8859_1 16384 1 - Live 0x0000000000000000 mwifiex_usb 20480 0 - Live
> 0x0000000000000000 mwifiex 307200 1 mwifiex_usb, Live 0x0000000000000000
> cfg80211 589824 1 mwifiex, Live 0x0000000000000000 hid_sensor_rotation 16384 0
> - Live 0x0000000000000000 hid_sensor_incl_3d 16384 0 - Live 0x0000000000000000
> hid_sensor_als 16384 0 - Live 0x0000000000000000 hid_sensor_magn_3d 16384 0 -
> Live 0x0000000000000000 hid_sensor_accel_3d 16384 0 - Live 0x0000000000000000
> hid_sensor_gyro_3d 16384 0 - Live 0x0000000000000000 hid_sensor_trigger 16384
> 12
> hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
> ensor_accel_3d,hid_sensor_gyro_3d, Live 0x0000000000000000
> industrialio_triggered_buffer 16384 6
> hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
> ensor_accel_3d,hid_sensor_gyro_3d, Live 0x0000000000000000 kfifo_buf 16384 1
> industrialio_triggered_buffer, Live 0x0000000000000000 industrialio 61440 9
> hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
> ensor_accel_3d,hid_sensor_gyro_3d,hid_sensor_trigger,industrialio_triggered_bu
> ffer,kfifo_buf, Live 0x0000000000000000 hid_sensor_iio_common 16384 7
> hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
> ensor_accel_3d,hid_sensor_gyro_3d,hid_sensor_trigger, Live 0x0000000000000000
> joydev 20480 0 - Live 0x0000000000000000 hid_multitouch 20480 0 - Live
> 0x0000000000000000 snd_hda_codec_hdmi 53248 1 - Live 0x0000000000000000
> hid_generic 16384 0 - Live 0x0000000000000000 hid_sensor_hub 20480 8
> hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
> ensor_accel_3d,hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common,
> Live 0x0000000000000000 snd_hda_codec_realtek 86016 1 - Live
> 0x0000000000000000 snd_hda_codec_generic 77824 1 snd_hda_codec_realtek, Live
> 0x0000000000000000 intel_rapl 20480 0 - Live 0x0000000000000000 snd_hda_intel
> 32768 3 - Live 0x0000000000000000 iosf_mbi 16384 1 intel_rapl, Live
> 0x0000000000000000 snd_hda_controller 36864 1 snd_hda_intel, Live
> 0x0000000000000000 x86_pkg_temp_thermal 16384 0 - Live 0x0000000000000000
> uvcvideo 94208 0 - Live 0x0000000000000000 intel_powerclamp 20480 0 - Live
> 0x0000000000000000 snd_hda_codec 122880 5
> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,s
> nd_hda_controller, Live 0x0000000000000000 snd_hda_core 36864 5
> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_control
> ler,snd_hda_codec, Live 0x0000000000000000 coretemp 16384 0 - Live
> 0x0000000000000000 kvm_intel 159744 0 - Live 0x0000000000000000
> videobuf2_vmalloc 16384 1 uvcvideo, Live 0x0000000000000000 snd_hwdep 16384 1
> snd_hda_codec, Live 0x0000000000000000 kvm 507904 1 kvm_intel, Live
> 0x0000000000000000 usbhid 53248 0 - Live 0x0000000000000000 videobuf2_memops
> 16384 1 videobuf2_vmalloc, Live 0x0000000000000000 videobuf2_core 53248 1
> uvcvideo, Live 0x0000000000000000 hid 122880 4
> hid_multitouch,hid_generic,hid_sensor_hub,usbhid, Live 0x0000000000000000
> v4l2_common 16384 1 videobuf2_core, Live 0x0000000000000000 crct10dif_pclmul
> 16384 0 - Live 0x0000000000000000 snd_pcm 110592 4
> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec, Live
> 0x0000000000000000 crc32_pclmul 16384 0 - Live 0x0000000000000000 videodev
> 172032 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
> ghash_clmulni_intel 16384 0 - Live 0x0000000000000000 snd_seq_midi 16384 0 -
> Live 0x0000000000000000 snd_seq_midi_event 16384 1 snd_seq_midi, Live
> 0x0000000000000000 media 24576 2 uvcvideo,videodev, Live 0x0000000000000000
> aesni_intel 172032 0 - Live 0x0000000000000000 snd_rawmidi 32768 1
> snd_seq_midi, Live 0x0000000000000000
> aes_x86_64 20480 1 aesni_intel, Live 0x0000000000000000 snd_seq 69632 2
> snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000 lrw 16384 1
> aesni_intel, Live 0x0000000000000000 gf128mul 16384 1 lrw, Live
> 0x0000000000000000 glue_helper 16384 1 aesni_intel, Live 0x0000000000000000
> i915 1142784 4 - Live 0x0000000000000000 snd_seq_device 16384 3
> snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000 ablk_helper 16384 1
> aesni_intel, Live 0x0000000000000000 cryptd 24576 3
> ghash_clmulni_intel,aesni_intel,ablk_helper, Live 0x0000000000000000 snd_timer
> 32768 2 snd_pcm,snd_seq, Live 0x0000000000000000 snd 86016 17
> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,s
> nd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_seq_device,snd_timer,
> Live 0x0000000000000000 drm_kms_helper 126976 1 i915, Live 0x0000000000000000
> drm 352256 6 i915,drm_kms_helper, Live 0x0000000000000000 mei_me 24576 0 -
> Live 0x0000000000000000 i2c_algo_bit 16384 1 i915, Live 0x0000000000000000
> soundcore 16384 1 snd, Live 0x0000000000000000 mei 94208 1 mei_me, Live
> 0x0000000000000000 lpc_ich 24576 0 - Live 0x0000000000000000 video 28672 1
> i915, Live 0x0000000000000000 tpm_infineon 20480 0 - Live 0x0000000000000000
> mac_hid 16384 0 - Live 0x0000000000000000 parport_pc 36864 0 - Live
> 0x0000000000000000 ppdev 20480 0 - Live 0x0000000000000000 lp 20480 0 - Live
> 0x0000000000000000 parport 45056 3 parport_pc,ppdev,lp, Live
> 0x0000000000000000
> autofs4 40960 2 - Live 0x0000000000000000 ahci 36864 3 - Live
> 0x0000000000000000 libahci 32768 1 ahci, Live 0x0000000000000000
>
> [7.4.] output of /proc/ioports
> 0000-0cf7 : PCI Bus 0000:00
>   0000-001f : dma1
>   0020-0021 : pic1
>   0040-0043 : timer0
>   0050-0053 : timer1
>   0060-0060 : keyboard
>   0062-0062 : PNP0C09:00
>     0062-0062 : EC data
>   0064-0064 : keyboard
>   0066-0066 : PNP0C09:00
>     0066-0066 : EC cmd
>   0070-0077 : rtc0
>   0080-008f : dma page reg
>   00a0-00a1 : pic2
>   00c0-00df : dma2
>   00f0-00ff : PNP0C04:00
>     00f0-00ff : fpu
>   0400-0403 : ACPI PM1a_EVT_BLK
>   0404-0405 : ACPI PM1a_CNT_BLK
>   0408-040b : ACPI PM_TMR
>   0410-0415 : ACPI CPU throttle
>   0420-042f : ACPI GPE0_BLK
>   0430-0433 : iTCO_wdt
>   0450-0450 : ACPI PM2_CNT_BLK
>   0454-0457 : pnp 00:03
>   0458-047f : pnp 00:01
>     0460-047f : iTCO_wdt
>   04d0-04d1 : pnp 00:04
>   0500-057f : pnp 00:01
>   0680-069f : pnp 00:01
> 0cf8-0cff : PCI conf1
> 0d00-ffff : PCI Bus 0000:00
>   1000-100f : pnp 00:01
>   164e-164f : pnp 00:01
>   f000-f03f : 0000:00:02.0
>   f040-f05f : 0000:00:1f.3
>   f060-f07f : 0000:00:1f.2
>     f060-f07f : ahci
>   f080-f083 : 0000:00:1f.2
>     f080-f083 : ahci
>   f090-f097 : 0000:00:1f.2
>     f090-f097 : ahci
>   f0a0-f0a3 : 0000:00:1f.2
>     f0a0-f0a3 : ahci
>   f0b0-f0b7 : 0000:00:1f.2
>     f0b0-f0b7 : ahci
>   ffff-ffff : pnp 00:01
>     ffff-ffff : pnp 00:01
>
> output of /proc/iomem
> 00000000-00000fff : reserved
> 00001000-0009dfff : System RAM
> 0009e000-0009ffff : reserved
> 000a0000-000bffff : PCI Bus 0000:00
> 000c0000-000c3fff : PCI Bus 0000:00
> 000c4000-000c7fff : PCI Bus 0000:00
> 000c8000-000cbfff : PCI Bus 0000:00
> 000cc000-000cffff : PCI Bus 0000:00
> 000d0000-000d3fff : PCI Bus 0000:00
> 000d4000-000d7fff : PCI Bus 0000:00
> 000d8000-000dbfff : PCI Bus 0000:00
> 000dc000-000dffff : PCI Bus 0000:00
> 000e0000-000e3fff : PCI Bus 0000:00
> 000e4000-000e7fff : PCI Bus 0000:00
> 000e8000-000ebfff : PCI Bus 0000:00
> 000ec000-000effff : PCI Bus 0000:00
> 000f0000-000fffff : PCI Bus 0000:00
>   000f0000-000fffff : System ROM
> 00100000-1fffffff : System RAM
>   01000000-0180b7dc : Kernel code
>   0180b7dd-01f35a3f : Kernel data
>   020a7000-021e9fff : Kernel bss
> 20000000-201fffff : reserved
>   20000000-201fffff : pnp 00:06
> 20200000-40003fff : System RAM
> 40004000-40004fff : reserved
>   40004000-40004fff : pnp 00:06
> 40005000-d9202fff : System RAM
> d9203000-d9671fff : reserved
> d9672000-d9681fff : ACPI Tables
> d9682000-da24ffff : ACPI Non-volatile Storage da250000-da66cfff : reserved
> da66d000-da6fefff : reserved da6ff000-da6fffff : System RAM da700000-da742fff
> : ACPI Non-volatile Storage da743000-dad54fff : System RAM dad55000-daff1fff :
> reserved daff2000-daffffff : System RAM db000000-db7fffff : RAM buffer
> db800000-df9fffff : reserved
>   dba00000-df9fffff : Graphics Stolen Memory dfa00000-feafffff : PCI Bus
> 0000:00
>   dfa00000-dfa00fff : pnp 00:05
>   e0000000-efffffff : 0000:00:02.0
>   f7800000-f7bfffff : 0000:00:02.0
>   f7c00000-f7c0ffff : 0000:00:14.0
>     f7c00000-f7c0ffff : xhci-hcd
>   f7c10000-f7c13fff : 0000:00:1b.0
>     f7c10000-f7c13fff : ICH HD audio
>   f7c15000-f7c150ff : 0000:00:1f.3
>   f7c16000-f7c167ff : 0000:00:1f.2
>     f7c16000-f7c167ff : ahci
>   f7c17000-f7c173ff : 0000:00:1d.0
>     f7c17000-f7c173ff : ehci_hcd
>   f7c18000-f7c183ff : 0000:00:1a.0
>     f7c18000-f7c183ff : ehci_hcd
>   f7c1b000-f7c1b00f : 0000:00:16.0
>     f7c1b000-f7c1b00f : mei_me
>   f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f]
>     f8000000-fbffffff : reserved
>       f8000000-fbffffff : pnp 00:05
> fec00000-fec00fff : reserved
>   fec00000-fec003ff : IOAPIC 0
> fed00000-fed03fff : reserved
>   fed00000-fed003ff : HPET 0
>     fed00000-fed003ff : PNP0103:00
> fed10000-fed17fff : pnp 00:05
> fed18000-fed18fff : pnp 00:05
> fed19000-fed19fff : pnp 00:05
> fed1c000-fed1ffff : reserved
>   fed1c000-fed1ffff : pnp 00:05
>     fed1f410-fed1f414 : iTCO_wdt
> fed20000-fed3ffff : pnp 00:05
> fed40000-fed44fff : pnp 00:00
> fed45000-fed8ffff : pnp 00:05
> fed90000-fed90fff : dmar0
> fed91000-fed91fff : dmar1
> fee00000-fee00fff : Local APIC
>   fee00000-fee00fff : reserved
> ff000000-ffffffff : reserved
>   ff000000-ffffffff : INT0800:00
>     ff000000-ffffffff : pnp 00:05
> 100000000-11f5fffff : System RAM
> 11f600000-11fffffff : RAM buffer
>
> [7.5.] output of lspci -vvv
> 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller
> (rev 09)
>       Subsystem: Microsoft Corporation Device 0154
>       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
>       Capabilities: [e0] Vendor Specific Information: Len=0c <?>
>       Kernel driver in use: ivb_uncore
>
> 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
> Graphics Controller (rev 09) (prog-if 00 [VGA controller])
>       Subsystem: Microsoft Corporation Device 0166
>       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
>       Interrupt: pin A routed to IRQ 29
>       Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
>       Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
>       Region 4: I/O ports at f000 [size=64]
>       Expansion ROM at <unassigned> [disabled]
>       Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>               Address: fee00018  Data: 0000
>       Capabilities: [d0] Power Management version 2
>               Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-
> ,D3cold-)
>               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>       Capabilities: [a4] PCI Advanced Features
>               AFCap: TP+ FLR+
>               AFCtrl: FLR-
>               AFStatus: TP-
>       Kernel driver in use: i915
>
> 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family
> USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
>       Subsystem: Microsoft Corporation Device 1e31
>       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx+
>       Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>       Latency: 0
>       Interrupt: pin A routed to IRQ 26
>       Region 0: Memory at f7c00000 (64-bit, non-prefetchable) [size=64K]
>       Capabilities: [70] Power Management version 2
>               Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-
> ,D3hot+,D3cold+)
>               Status: D0 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME+
>       Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>               Address: 00000000fee00298  Data: 0000
>       Kernel driver in use: xhci_hcd
>
> 00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series
> Chipset Family MEI Controller #1 (rev 04)
>       Subsystem: Microsoft Corporation Device 1e3a
>       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
>       Interrupt: pin A routed to IRQ 28
>       Region 0: Memory at f7c1b000 (64-bit, non-prefetchable) [size=16]
>       Capabilities: [50] Power Management version 3
>               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-
> ,D3hot+,D3cold+)
>               Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>       Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
>               Address: 00000000fee00318  Data: 0000
>       Kernel driver in use: mei_me
>
> 00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family
> USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
>       Subsystem: Microsoft Corporation Device 1e2d
>       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
>       Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>       Latency: 0
>       Interrupt: pin A routed to IRQ 16
>       Region 0: Memory at f7c18000 (32-bit, non-prefetchable) [size=1K]
>       Capabilities: [50] Power Management version 2
>               Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-
> ,D3hot+,D3cold+)
>               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>       Capabilities: [58] Debug port: BAR=1 offset=00a0
>       Capabilities: [98] PCI Advanced Features
>               AFCap: TP+ FLR+
>               AFCtrl: FLR-
>               AFStatus: TP-
>       Kernel driver in use: ehci-pci
>
> 00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family
> High Definition Audio Controller (rev 04)
>       Subsystem: Microsoft Corporation Device 1e20
>       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 30
>       Region 0: Memory at f7c10000 (64-bit, non-prefetchable) [size=16K]
>       Capabilities: [50] Power Management version 2
>               Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-
> ,D3hot+,D3cold+)
>               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>       Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
>               Address: 00000000fee00358  Data: 0000
>       Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
>               DevCap: MaxPayload 128 bytes, PhantFunc 0
>                       ExtTag- RBE-
>               DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
>                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
>                       MaxPayload 128 bytes, MaxReadReq 128 bytes
>               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+
> TransPend-
>       Capabilities: [100 v1] Virtual Channel
>               Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
>               Arb:    Fixed- WRR32- WRR64- WRR128-
>               Ctrl:   ArbSelect=Fixed
>               Status: InProgress-
>               VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
>                       Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
>                       Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
>                       Status: NegoPending- InProgress-
>               VC1:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
>                       Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
>                       Ctrl:   Enable+ ID=1 ArbSelect=Fixed TC/VC=22
>                       Status: NegoPending- InProgress-
>       Capabilities: [130 v1] Root Complex Link
>               Desc:   PortNumber=0f ComponentID=00 EltType=Config
>               Link0:  Desc:   TargetPort=00 TargetComponent=00 AssocRCRB-
> LinkType=MemMapped LinkValid+
>                       Addr:   00000000fed1c000
>       Kernel driver in use: snd_hda_intel
>
> 00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family
> USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
>       Subsystem: Microsoft Corporation Device 1e26
>       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
>       Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>       Latency: 0
>       Interrupt: pin A routed to IRQ 23
>       Region 0: Memory at f7c17000 (32-bit, non-prefetchable) [size=1K]
>       Capabilities: [50] Power Management version 2
>               Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-
> ,D3hot+,D3cold+)
>               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>       Capabilities: [58] Debug port: BAR=1 offset=00a0
>       Capabilities: [98] PCI Advanced Features
>               AFCap: TP+ FLR+
>               AFCtrl: FLR-
>               AFStatus: TP-
>       Kernel driver in use: ehci-pci
>
> 00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev
> 04)
>       Subsystem: Microsoft Corporation Device 1e57
>       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
>       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>       Latency: 0
>       Capabilities: [e0] Vendor Specific Information: Len=0c <?>
>       Kernel driver in use: lpc_ich
>
> 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA
> Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
>       Subsystem: Microsoft Corporation Device 1e03
>       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx+
>       Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>       Latency: 0
>       Interrupt: pin B routed to IRQ 27
>       Region 0: I/O ports at f0b0 [size=8]
>       Region 1: I/O ports at f0a0 [size=4]
>       Region 2: I/O ports at f090 [size=8]
>       Region 3: I/O ports at f080 [size=4]
>       Region 4: I/O ports at f060 [size=32]
>       Region 5: Memory at f7c16000 (32-bit, non-prefetchable) [size=2K]
>       Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
>               Address: fee002f8  Data: 0000
>       Capabilities: [70] Power Management version 3
>               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-
> ,D3hot+,D3cold-)
>               Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>       Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
>       Capabilities: [b0] PCI Advanced Features
>               AFCap: TP+ FLR+
>               AFCtrl: FLR-
>               AFStatus: TP-
>       Kernel driver in use: ahci
>
> 00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus
> Controller (rev 04)
>       Subsystem: Microsoft Corporation Device 1e22
>       Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
>       Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>       Interrupt: pin C routed to IRQ 255
>       Region 0: Memory at f7c15000 (64-bit, non-prefetchable) [size=256]
>       Region 4: I/O ports at f040 [size=32]
>
>
> [7.6.] output of /proc/scsi/scsi
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: ATA      Model: C400-MTFDDAT064M Rev: 07MH
>   Type:   Direct-Access                    ANSI  SCSI revision: 05

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: PROBLEM: Marvell 88W8797 wifi (module mwifiex) does not work on Surface Pro
       [not found]   ` <93027894-9D18-4231-938C-0732EEB84F9D@free.fr>
@ 2015-04-30 10:15     ` Avinash Patil
  0 siblings, 0 replies; 3+ messages in thread
From: Avinash Patil @ 2015-04-30 10:15 UTC (permalink / raw)
  To: Julien Cubizolles, Amitkumar Karwar,
	linux-wireless@vger.kernel.org

Hi Julien,

________________________________________
From: Julien Cubizolles [j.cubizolles@free.fr]
Sent: Thursday, April 30, 2015 1:51 AM
To: Avinash Patil; Amitkumar Karwar; linux-wireless@vger.kernel.org
Subject: RE: PROBLEM: Marvell 88W8797 wifi (module mwifiex) does not work on Surface Pro

Le 29 avril 2015 20:02:06 CEST, Avinash Patil <patila@marvell.com> a écrit :

Hi Julien,

 -----Original Message-----
 From: Julien Cubizolles [mailto:j.cubizolles@free.fr]
 Sent: Wednesday, April 29, 2015 2:31 PM
 To: Amitkumar Karwar; Avinash Patil; linux-wireless@vger.kernel.org
 Subject: PROBLEM: Marvell 88W8797 wifi (module mwifiex) does not work on
 Surface Pro


 [1.] One line summary of the problem

 The system hangs when using the wifi connection.

 [2.] Full description of the problem/report

 I'm running the latest kernel (v4.1.0) on a Microsoft Surface Pro. Up to the
 3.16 series, the wifi was basically working although the connection would drop
 from time to time. Now, it's not usable anymore: I can connect to a wifi
 network, the connection is working for a few seconds but the whole system
 hangs afterwards.

 I tried using the marvell firmware from
 git://git.marvell.com/mwifiex-firmware.git<http://git.marvell.com/mwifiex-firmware.git>, that didn't change anything.

 The only error messages I noticed in /var/log/syslog are :

 usb 1-3: failed to get signal information

Thanks for reporting this issue. Could you please let me know FW version? This is part of dmesg logs after driver is loaded.
Also if possible could you please enable dynamic debug and share verbose logs?

 followed by a lot of:

 usb 1-3: PREP_CMD: FW is in bad state

This suggests that FW has crashed/command timeout.

 [3.]

 [4.] Kernel version

 Linux version 4.1.0-040100rc1-generic (kernel@gloin) (gcc version 4.6.3
 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201504270235 SMP Mon Apr 27 02:36:47 UTC
 2015

 [5.] No OOps

 [6.]

 [7.]
 [7.1.] output of ver_linux

 Linux touco 4.1.0-040100rc1-generic #201504270235 SMP Mon Apr 27
 02:36:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

 Gnu C                  4.9.2
 Gnu make               4.0
 binutils               2.25
 util-linux             2.25.2
 mount                  debug
 module-init-tools      18
 e2fsprogs              1.42.12
 pcmciautils            018
 PPP                    2.4.6
 Linux C Library        2.21
 Dynamic linker (ldd)   2.21
 Procps                 3.3.9
 Net-tools              1.60
 Kbd                    1.15.5
 Sh-utils               8.23
 wireless-tools         30
 Modules Loaded         asix usbnet mii rfcomm
bnep btusb btbcm btintel
 bluetooth binfmt_misc nls_iso8859_1 mwifiex_usb mwifiex cfg80211
 hid_sensor_rotation hid_sensor_incl_3d hid_sensor_als hid_sensor_magn_3d
 hid_sensor_accel_3d hid_sensor_gyro_3d hid_sensor_trigger
 industrialio_triggered_buffer kfifo_buf industrialio hid_sensor_iio_common
 joydev hid_multitouch snd_hda_codec_hdmi hid_generic hid_sensor_hub
 snd_hda_codec_realtek snd_hda_codec_generic intel_rapl snd_hda_intel iosf_mbi
 snd_hda_controller x86_pkg_temp_thermal uvcvideo intel_powerclamp
 snd_hda_codec snd_hda_core coretemp kvm_intel videobuf2_vmalloc snd_hwdep kvm
 usbhid videobuf2_memops videobuf2_core hid v4l2_common crct10dif_pclmul
 snd_pcm crc32_pclmul videodev ghash_clmulni_intel snd_seq_midi
 snd_seq_midi_event media aesni_intel snd_rawmidi aes_x86_64 snd_seq lrw
 gf128mul glue_helper i915 snd_seq_device ablk_helper cryptd snd_timer snd
 drm_kms_helper drm mei_me i2c_algo_bit soundcore mei
lpc_ich video
 tpm_infineon mac_hid parport_pc ppdev lp parport autofs4 ahci libahci

 [7.2.] output of cat /proc/cpuinfo
 processor     : 0
 vendor_id     : GenuineIntel
 cpu family    : 6
 model         : 58
 model name    : Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
 stepping      : 9
 microcode     : 0x13
 cpu MHz               : 802.851
 cache size    : 3072 KB
 physical id   : 0
 siblings      : 4
 core id               : 0
 cpu cores     : 2
 apicid                : 0
 initial apicid        : 0
 fpu           : yes
 fpu_exception : yes
 cpuid level   : 13
 wp            : yes
 flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
 aperfmperf eagerfpu pni pclmulqdq dtes64
monitor ds_cpl vmx est tm2 ssse3 cx16
 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx
 f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority
 ept vpid fsgsbase smep erms xsaveopt
 bugs          :
 bogomips      : 3392.26
 clflush size  : 64
 cache_alignment       : 64
 address sizes : 36 bits physical, 48 bits virtual
 power management:

 processor     : 1
 vendor_id     : GenuineIntel
 cpu family    : 6
 model         : 58
 model name    : Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
 stepping      : 9
 microcode     : 0x13
 cpu MHz               : 839.707
 cache size    : 3072 KB
 physical id   : 0
 siblings      : 4
 core id               : 1
 cpu cores     : 2
 apicid                : 2
 initial apicid        : 2
 fpu           : yes
 fpu_exception : yes
 cpuid level   : 13
 wp
: yes
 flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
 aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx
 f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority
 ept vpid fsgsbase smep erms xsaveopt
 bugs          :
 bogomips      : 3392.26
 clflush size  : 64
 cache_alignment       : 64
 address sizes : 36 bits physical, 48 bits virtual
 power management:

 processor     : 2
 vendor_id     : GenuineIntel
 cpu family    : 6
 model         : 58
 model name    : Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
 stepping      : 9
 microcode     : 0x13
 cpu MHz               :
904.585
 cache size    : 3072 KB
 physical id   : 0
 siblings      : 4
 core id               : 0
 cpu cores     : 2
 apicid                : 1
 initial apicid        : 1
 fpu           : yes
 fpu_exception : yes
 cpuid level   : 13
 wp            : yes
 flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
 aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx
 f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority
 ept vpid fsgsbase smep erms xsaveopt
 bugs          :
 bogomips      : 3392.26
 clflush size  : 64
 cache_alignment       : 64
 address sizes : 36 bits physical,
48 bits virtual
 power management:

 processor     : 3
 vendor_id     : GenuineIntel
 cpu family    : 6
 model         : 58
 model name    : Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
 stepping      : 9
 microcode     : 0x13
 cpu MHz               : 799.996
 cache size    : 3072 KB
 physical id   : 0
 siblings      : 4
 core id               : 1
 cpu cores     : 2
 apicid                : 3
 initial apicid        : 3
 fpu           : yes
 fpu_exception : yes
 cpuid level   : 13
 wp            : yes
 flags         : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
 aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx
 f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority
 ept vpid fsgsbase smep erms xsaveopt
 bugs          :
 bogomips      : 3392.26
 clflush size  : 64
 cache_alignment       : 64
 address sizes : 36 bits physical, 48 bits virtual
 power management:

 [7.3.] output of /proc/modules
 asix 40960 0 - Live 0x0000000000000000
 usbnet 45056 1 asix, Live 0x0000000000000000 mii 16384 2 asix,usbnet, Live
 0x0000000000000000 rfcomm 77824 8 - Live 0x0000000000000000 bnep 24576 2 -
 Live 0x0000000000000000 btusb 45056 0 - Live 0x0000000000000000 btbcm 16384 1
 btusb, Live 0x0000000000000000 btintel 16384 1 btusb, Live 0x0000000000000000
 bluetooth 540672 24 rfcomm,bnep,btusb,btbcm,btintel, Live 0x0000000000000000
 binfmt_misc 20480 1 - Live 0x0000000000000000
 nls_iso8859_1 16384 1 - Live 0x0000000000000000 mwifiex_usb 20480 0 - Live

0x0000000000000000 mwifiex 307200 1 mwifiex_usb, Live 0x0000000000000000
 cfg80211 589824 1 mwifiex, Live 0x0000000000000000 hid_sensor_rotation 16384 0
 - Live 0x0000000000000000 hid_sensor_incl_3d 16384 0 - Live 0x0000000000000000
 hid_sensor_als 16384 0 - Live 0x0000000000000000 hid_sensor_magn_3d 16384 0 -
 Live 0x0000000000000000 hid_sensor_accel_3d 16384 0 - Live 0x0000000000000000
 hid_sensor_gyro_3d 16384 0 - Live 0x0000000000000000 hid_sensor_trigger 16384
 12
 hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
 ensor_accel_3d,hid_sensor_gyro_3d, Live 0x0000000000000000
 industrialio_triggered_buffer 16384 6
 hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
 ensor_accel_3d,hid_sensor_gyro_3d, Live 0x0000000000000000 kfifo_buf 16384 1
 industrialio_triggered_buffer, Live 0x0000000000000000 industrialio 61440 9

hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
 ensor_accel_3d,hid_sensor_gyro_3d,hid_sensor_trigger,industrialio_triggered_bu
 ffer,kfifo_buf, Live 0x0000000000000000 hid_sensor_iio_common 16384 7
 hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
 ensor_accel_3d,hid_sensor_gyro_3d,hid_sensor_trigger, Live 0x0000000000000000
 joydev 20480 0 - Live 0x0000000000000000 hid_multitouch 20480 0 - Live
 0x0000000000000000 snd_hda_codec_hdmi 53248 1 - Live 0x0000000000000000
 hid_generic 16384 0 - Live 0x0000000000000000 hid_sensor_hub 20480 8
 hid_sensor_rotation,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_magn_3d,hid_s
 ensor_accel_3d,hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common,
 Live 0x0000000000000000 snd_hda_codec_realtek 86016 1 - Live
 0x0000000000000000 snd_hda_codec_generic 77824 1 snd_hda_codec_realtek, Live
 0x0000000000000000 intel_rapl 20480
0 - Live 0x0000000000000000 snd_hda_intel
 32768 3 - Live 0x0000000000000000 iosf_mbi 16384 1 intel_rapl, Live
 0x0000000000000000 snd_hda_controller 36864 1 snd_hda_intel, Live
 0x0000000000000000 x86_pkg_temp_thermal 16384 0 - Live 0x0000000000000000
 uvcvideo 94208 0 - Live 0x0000000000000000 intel_powerclamp 20480 0 - Live
 0x0000000000000000 snd_hda_codec 122880 5
 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,s
 nd_hda_controller, Live 0x0000000000000000 snd_hda_core 36864 5
 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_control
 ler,snd_hda_codec, Live 0x0000000000000000 coretemp 16384 0 - Live
 0x0000000000000000 kvm_intel 159744 0 - Live 0x0000000000000000
 videobuf2_vmalloc 16384 1 uvcvideo, Live 0x0000000000000000 snd_hwdep 16384 1
 snd_hda_codec, Live 0x0000000000000000 kvm 507904 1 kvm_intel, Live
 0x0000000000000000 usbhid 53248 0 - Live
0x0000000000000000 videobuf2_memops
 16384 1 videobuf2_vmalloc, Live 0x0000000000000000 videobuf2_core 53248 1
 uvcvideo, Live 0x0000000000000000 hid 122880 4
 hid_multitouch,hid_generic,hid_sensor_hub,usbhid, Live 0x0000000000000000
 v4l2_common 16384 1 videobuf2_core, Live 0x0000000000000000 crct10dif_pclmul
 16384 0 - Live 0x0000000000000000 snd_pcm 110592 4
 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec, Live
 0x0000000000000000 crc32_pclmul 16384 0 - Live 0x0000000000000000 videodev
 172032 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
 ghash_clmulni_intel 16384 0 - Live 0x0000000000000000 snd_seq_midi 16384 0 -
 Live 0x0000000000000000 snd_seq_midi_event 16384 1 snd_seq_midi, Live
 0x0000000000000000 media 24576 2 uvcvideo,videodev, Live 0x0000000000000000
 aesni_intel 172032 0 - Live 0x0000000000000000 snd_rawmidi 32768 1
 snd_seq_midi, Live 0x0000000000000000

aes_x86_64 20480 1 aesni_intel, Live 0x0000000000000000 snd_seq 69632 2
 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000 lrw 16384 1
 aesni_intel, Live 0x0000000000000000 gf128mul 16384 1 lrw, Live
 0x0000000000000000 glue_helper 16384 1 aesni_intel, Live 0x0000000000000000
 i915 1142784 4 - Live 0x0000000000000000 snd_seq_device 16384 3
 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000 ablk_helper 16384 1
 aesni_intel, Live 0x0000000000000000 cryptd 24576 3
 ghash_clmulni_intel,aesni_intel,ablk_helper, Live 0x0000000000000000 snd_timer
 32768 2 snd_pcm,snd_seq, Live 0x0000000000000000 snd 86016 17
 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,s
 nd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_seq_device,snd_timer,
 Live 0x0000000000000000 drm_kms_helper 126976 1 i915, Live 0x0000000000000000
 drm 352256 6 i915,drm_kms_helper, Live 0x0000000000000000 mei_me 24576 0
-
 Live 0x0000000000000000 i2c_algo_bit 16384 1 i915, Live 0x0000000000000000
 soundcore 16384 1 snd, Live 0x0000000000000000 mei 94208 1 mei_me, Live
 0x0000000000000000 lpc_ich 24576 0 - Live 0x0000000000000000 video 28672 1
 i915, Live 0x0000000000000000 tpm_infineon 20480 0 - Live 0x0000000000000000
 mac_hid 16384 0 - Live 0x0000000000000000 parport_pc 36864 0 - Live
 0x0000000000000000 ppdev 20480 0 - Live 0x0000000000000000 lp 20480 0 - Live
 0x0000000000000000 parport 45056 3 parport_pc,ppdev,lp, Live
 0x0000000000000000
 autofs4 40960 2 - Live 0x0000000000000000 ahci 36864 3 - Live
 0x0000000000000000 libahci 32768 1 ahci, Live 0x0000000000000000

 [7.4.] output of /proc/ioports
 0000-0cf7 : PCI Bus 0000:00
   0000-001f : dma1
   0020-0021 : pic1
   0040-0043 : timer0
   0050-0053 : timer1
   0060-0060 : keyboard
   0062-0062 : PNP0C09:00
     0062-0062 : EC data

0064-0064 : keyboard
   0066-0066 : PNP0C09:00
     0066-0066 : EC cmd
   0070-0077 : rtc0
   0080-008f : dma page reg
   00a0-00a1 : pic2
   00c0-00df : dma2
   00f0-00ff : PNP0C04:00
     00f0-00ff : fpu
   0400-0403 : ACPI PM1a_EVT_BLK
   0404-0405 : ACPI PM1a_CNT_BLK
   0408-040b : ACPI PM_TMR
   0410-0415 : ACPI CPU throttle
   0420-042f : ACPI GPE0_BLK
   0430-0433 : iTCO_wdt
   0450-0450 : ACPI PM2_CNT_BLK
   0454-0457 : pnp 00:03
   0458-047f : pnp 00:01
     0460-047f : iTCO_wdt
   04d0-04d1 : pnp 00:04
   0500-057f : pnp 00:01
   0680-069f : pnp 00:01
 0cf8-0cff : PCI conf1
 0d00-ffff : PCI Bus 0000:00
   1000-100f : pnp 00:01
   164e-164f : pnp 00:01
   f000-f03f : 0000:00:02.0
   f040-f05f : 0000:00:1f.3
   f060-f07f : 0000:00:1f.2
     f060-f07f : ahci
   f080-f083 : 0000:00:1f.2
     f080-f083 : ahci

f090-f097 : 0000:00:1f.2
     f090-f097 : ahci
   f0a0-f0a3 : 0000:00:1f.2
     f0a0-f0a3 : ahci
   f0b0-f0b7 : 0000:00:1f.2
     f0b0-f0b7 : ahci
   ffff-ffff : pnp 00:01
     ffff-ffff : pnp 00:01

 output of /proc/iomem
 00000000-00000fff : reserved
 00001000-0009dfff : System RAM
 0009e000-0009ffff : reserved
 000a0000-000bffff : PCI Bus 0000:00
 000c0000-000c3fff : PCI Bus 0000:00
 000c4000-000c7fff : PCI Bus 0000:00
 000c8000-000cbfff : PCI Bus 0000:00
 000cc000-000cffff : PCI Bus 0000:00
 000d0000-000d3fff : PCI Bus 0000:00
 000d4000-000d7fff : PCI Bus 0000:00
 000d8000-000dbfff : PCI Bus 0000:00
 000dc000-000dffff : PCI Bus 0000:00
 000e0000-000e3fff : PCI Bus 0000:00
 000e4000-000e7fff : PCI Bus 0000:00
 000e8000-000ebfff : PCI Bus 0000:00
 000ec000-000effff : PCI Bus 0000:00
 000f0000-000fffff : PCI Bus 0000:00
   000f0000-000fffff : System
ROM
 00100000-1fffffff : System RAM
   01000000-0180b7dc : Kernel code
   0180b7dd-01f35a3f : Kernel data
   020a7000-021e9fff : Kernel bss
 20000000-201fffff : reserved
   20000000-201fffff : pnp 00:06
 20200000-40003fff : System RAM
 40004000-40004fff : reserved
   40004000-40004fff : pnp 00:06
 40005000-d9202fff : System RAM
 d9203000-d9671fff : reserved
 d9672000-d9681fff : ACPI Tables
 d9682000-da24ffff : ACPI Non-volatile Storage da250000-da66cfff : reserved
 da66d000-da6fefff : reserved da6ff000-da6fffff : System RAM da700000-da742fff
 : ACPI Non-volatile Storage da743000-dad54fff : System RAM dad55000-daff1fff :
 reserved daff2000-daffffff : System RAM db000000-db7fffff : RAM buffer
 db800000-df9fffff : reserved
   dba00000-df9fffff : Graphics Stolen Memory dfa00000-feafffff : PCI Bus
 0000:00
   dfa00000-dfa00fff : pnp 00:05
   e0000000-efffffff : 0000:00:02.0

f7800000-f7bfffff : 0000:00:02.0
   f7c00000-f7c0ffff : 0000:00:14.0
     f7c00000-f7c0ffff : xhci-hcd
   f7c10000-f7c13fff : 0000:00:1b.0
     f7c10000-f7c13fff : ICH HD audio
   f7c15000-f7c150ff : 0000:00:1f.3
   f7c16000-f7c167ff : 0000:00:1f.2
     f7c16000-f7c167ff : ahci
   f7c17000-f7c173ff : 0000:00:1d.0
     f7c17000-f7c173ff : ehci_hcd
   f7c18000-f7c183ff : 0000:00:1a.0
     f7c18000-f7c183ff : ehci_hcd
   f7c1b000-f7c1b00f : 0000:00:16.0
     f7c1b000-f7c1b00f : mei_me
   f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f]
     f8000000-fbffffff : reserved
       f8000000-fbffffff : pnp 00:05
 fec00000-fec00fff : reserved
   fec00000-fec003ff : IOAPIC 0
 fed00000-fed03fff : reserved
   fed00000-fed003ff : HPET 0
     fed00000-fed003ff : PNP0103:00
 fed10000-fed17fff : pnp 00:05
 fed18000-fed18fff : pnp 00:05
 fed19000-fed19fff : pnp 00:05

fed1c000-fed1ffff : reserved
   fed1c000-fed1ffff : pnp 00:05
     fed1f410-fed1f414 : iTCO_wdt
 fed20000-fed3ffff : pnp 00:05
 fed40000-fed44fff : pnp 00:00
 fed45000-fed8ffff : pnp 00:05
 fed90000-fed90fff : dmar0
 fed91000-fed91fff : dmar1
 fee00000-fee00fff : Local APIC
   fee00000-fee00fff : reserved
 ff000000-ffffffff : reserved
   ff000000-ffffffff : INT0800:00
     ff000000-ffffffff : pnp 00:05
 100000000-11f5fffff : System RAM
 11f600000-11fffffff : RAM buffer

 [7.5.] output of lspci -vvv
 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller
 (rev 09)
       Subsystem: Microsoft Corporation Device 0154
       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
       Capabilities: [e0] Vendor Specific Information: Len=0c <?>
       Kernel driver in use: ivb_uncore

 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
 Graphics Controller (rev 09) (prog-if 00 [VGA controller])
       Subsystem: Microsoft Corporation Device 0166
       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
       Interrupt: pin A routed to IRQ 29
       Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
       Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
       Region 4: I/O ports at f000 [size=64]
       Expansion ROM at <unassigned> [disabled]
       Capabilities: [90] MSI: Enable+ Count=1/1
Maskable- 64bit-
               Address: fee00018  Data: 0000
       Capabilities: [d0] Power Management version 2
               Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-
 ,D3cold-)
               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
       Capabilities: [a4] PCI Advanced Features
               AFCap: TP+ FLR+
               AFCtrl: FLR-
               AFStatus: TP-
       Kernel driver in use: i915

 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family
 USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
       Subsystem: Microsoft Corporation Device 1e31
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
 Stepping- SERR- FastB2B- DisINTx+
       Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 0

Interrupt: pin A routed to IRQ 26
       Region 0: Memory at f7c00000 (64-bit, non-prefetchable) [size=64K]
       Capabilities: [70] Power Management version 2
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-
 ,D3hot+,D3cold+)
               Status: D0 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME+
       Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
               Address: 00000000fee00298  Data: 0000
       Kernel driver in use: xhci_hcd

 00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series
 Chipset Family MEI Controller #1 (rev 04)
       Subsystem: Microsoft Corporation Device 1e3a
       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

   Interrupt: pin A routed to IRQ 28
       Region 0: Memory at f7c1b000 (64-bit, non-prefetchable) [size=16]
       Capabilities: [50] Power Management version 3
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-
 ,D3hot+,D3cold+)
               Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
       Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
               Address: 00000000fee00318  Data: 0000
       Kernel driver in use: mei_me

 00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family
 USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
       Subsystem: Microsoft Corporation Device 1e2d
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
 Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-

    Latency: 0
       Interrupt: pin A routed to IRQ 16
       Region 0: Memory at f7c18000 (32-bit, non-prefetchable) [size=1K]
       Capabilities: [50] Power Management version 2
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-
 ,D3hot+,D3cold+)
               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
       Capabilities: [58] Debug port: BAR=1 offset=00a0
       Capabilities: [98] PCI Advanced Features
               AFCap: TP+ FLR+
               AFCtrl: FLR-
               AFStatus: TP-
       Kernel driver in use: ehci-pci

 00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family
 High Definition Audio Controller (rev 04)
       Subsystem: Microsoft Corporation Device 1e20
       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 30
       Region 0: Memory at f7c10000 (64-bit, non-prefetchable) [size=16K]
       Capabilities: [50] Power Management version 2
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-
 ,D3hot+,D3cold+)
               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
       Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
               Address: 00000000fee00358  Data: 0000
       Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
               DevCap: MaxPayload 128 bytes, PhantFunc 0
                       ExtTag- RBE-
               DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
 Unsupported-
                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-

            MaxPayload 128 bytes, MaxReadReq 128 bytes
               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+
 TransPend-
       Capabilities: [100 v1] Virtual Channel
               Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
               Arb:    Fixed- WRR32- WRR64- WRR128-
               Ctrl:   ArbSelect=Fixed
               Status: InProgress-
               VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                       Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                       Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                       Status: NegoPending- InProgress-
               VC1:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                       Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                       Ctrl:   Enable+ ID=1 ArbSelect=Fixed TC/VC=22
                       Status: NegoPending-
InProgress-
       Capabilities: [130 v1] Root Complex Link
               Desc:   PortNumber=0f ComponentID=00 EltType=Config
               Link0:  Desc:   TargetPort=00 TargetComponent=00 AssocRCRB-
 LinkType=MemMapped LinkValid+
                       Addr:   00000000fed1c000
       Kernel driver in use: snd_hda_intel

 00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family
 USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
       Subsystem: Microsoft Corporation Device 1e26
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
 Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 0
       Interrupt: pin A routed to IRQ 23
       Region 0: Memory at f7c17000 (32-bit, non-prefetchable) [size=1K]
       Capabilities:
[50] Power Management version 2
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-
 ,D3hot+,D3cold+)
               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
       Capabilities: [58] Debug port: BAR=1 offset=00a0
       Capabilities: [98] PCI Advanced Features
               AFCap: TP+ FLR+
               AFCtrl: FLR-
               AFStatus: TP-
       Kernel driver in use: ehci-pci

 00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev
 04)
       Subsystem: Microsoft Corporation Device 1e57
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
 Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 0
       Capabilities: [e0] Vendor Specific Information: Len=0c <?>

Kernel driver in use: lpc_ich

 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA
 Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
       Subsystem: Microsoft Corporation Device 1e03
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
 Stepping- SERR- FastB2B- DisINTx+
       Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 0
       Interrupt: pin B routed to IRQ 27
       Region 0: I/O ports at f0b0 [size=8]
       Region 1: I/O ports at f0a0 [size=4]
       Region 2: I/O ports at f090 [size=8]
       Region 3: I/O ports at f080 [size=4]
       Region 4: I/O ports at f060 [size=32]
       Region 5: Memory at f7c16000 (32-bit, non-prefetchable) [size=2K]
       Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
               Address: fee002f8
 Data: 0000
       Capabilities: [70] Power Management version 3
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-
 ,D3hot+,D3cold-)
               Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
       Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
       Capabilities: [b0] PCI Advanced Features
               AFCap: TP+ FLR+
               AFCtrl: FLR-
               AFStatus: TP-
       Kernel driver in use: ahci

 00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus
 Controller (rev 04)
       Subsystem: Microsoft Corporation Device 1e22
       Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
 Stepping- SERR- FastB2B- DisINTx-
       Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-
       Interrupt: pin C routed to IRQ 255

Region 0: Memory at f7c15000 (64-bit, non-prefetchable) [size=256]
       Region 4: I/O ports at f040 [size=32]


 [7.6.] output of /proc/scsi/scsi
 Attached devices:
 Host: scsi0 Channel: 00 Id: 00 Lun: 00
   Vendor: ATA      Model: C400-MTFDDAT064M Rev: 07MH
   Type:   Direct-Access                    ANSI  SCSI revision: 05

Thanks for your fast answer.

As for the driver version, I have :

driver version = mwifiex 1.0 (14.68.29.p38)

Is that what you need ?

>>Also, how do I enable dynamic debug ?

You need to recompile kernel with CONFIG_DYNAMIC_DEBUG option.
After booting into kernel, enable dynamic debug logging on mwifiex modules:

#echo "module mwifiex +p" > /sys/kernel/debug/dynamic_debug/control
#echo "module mwifiex_usb +p" > /sys/kernel/debug/dynamic_debug/control

Thanks,
Avinash

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-30 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29  9:01 PROBLEM: Marvell 88W8797 wifi (module mwifiex) does not work on Surface Pro Julien Cubizolles
2015-04-29 18:02 ` Avinash Patil
     [not found]   ` <93027894-9D18-4231-938C-0732EEB84F9D@free.fr>
2015-04-30 10:15     ` Avinash Patil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.