Bug 90841

Summary: 3.19-rc3 Kernel Problems On Asus Notebooks
Product: Other Reporter: aljosa
Component: OtherAssignee: other_other
Status: NEW ---    
Severity: high CC: iorlov89, jackgris2, mirh, spamminator, szg00000, ulrik_opensource-kernel
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.19-rc3 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg
lsusb
lspci

Description aljosa 2015-01-06 10:29:13 UTC
3.19-rc3 Kernel Problems On Asus Notebooks	 

Dear Kernel developers,
wish you all the best in the new 2015 year :)

Unfortunately, my family has some big troubles with using Linux, so I'm reporting problems here:

Notebook Asus N750JVT-4069H (Intel® Core™ i7-4700HQ; Bit 64; RAM 16GB; Nvidia GeForce GT750M)

Notebook Asus X750JN-TY027H (Intel® Core™ i7-4710HQ; Bit 64; RAM 8GB; Nvidia GeForce GT 840M)

Operating system: Ubuntu 14.04.1

-----------

After the installation of Kernel 3.18.1, clean installation of Nvidia drivers (340.65-0ubuntu1~xedger) on both notebooks results with black-screen after failed booting attempt. 

Thats exactly the reason why today, experimenting, I have installed kernel 3.19-rc3 on Asus N750JVT-4069H with Nvidia drivers already present, and why I didn't tried at all to install Nvidia drivers on Asus X750JN-TY027H.

-----------

Asus N750JVT-4069H 
Kernel 3.19-rc3

1)
Ubuntu system message during the Kernel installation:

sorry, a problem occurred while installing software.
package: nvidia-340

2)
Kernel installation process:

update-initramfs: Generating /boot/initrd.img-3.19.0-031900rc3-generic
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169

3)
Message shown during the boot:
Ignoring BGRT: invalid status 0 (expected 1)

4)
FN keys not working: 

FN (F5) Decreases display brightness
FN (F6) Increases display brightness

5)
I am not an expert, so I am not able to recognize all eventual problems, but something is definitely wrong with all those "*BAD*gran_size: 2M, chunk_size: 2G" lines inside dmesg:

http://paste.ubuntu.com/9681108/

-----------

Asus X750JN-TY027H
Kernel 3.19-rc3

1)
Kernel installation process:

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169 

2)
Message shown during the boot:
Ignoring BGRT: invalid status 0 (expected 1)

3)
Touchpad is completely unfunctional (even cursor is missing):
Output of xinput: 

⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                  id=11    [slave pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                    id=14    [slave pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave keyboard (3)]
    ↳ Power Button                                id=6    [slave keyboard (3)]
    ↳ Video Bus                                   id=7    [slave keyboard (3)]
    ↳ Video Bus                                   id=8    [slave keyboard (3)]
    ↳ Sleep Button                                id=9    [slave keyboard (3)]
    ↳ USB Camera                                  id=10    [slave keyboard (3)]
    ↳ Asus WMI hotkeys                            id=12    [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=13    [slave keyboard (3)] 

4)
Dmesg contains quite a lot of errors (mostly ACPI):

http://paste.ubuntu.com/9681045/
Comment 1 111 2015-02-23 14:13:53 UTC
Hallo! I have it problem on my asus x200ma too, Fedora 21 (from 3.18 and more version of kernels):

Asus x200ma (Pentium N3530)
kernel 3.18.5 and more

1) Message shown during the boot:
Ignoring BGRT: invalid status 0 (expected 1)

2) After boot i have black screen. I need press to power off button and then press any key that screen is on.

3) FN keys not working too: 

FN (F5) Decreases display brightness
FN (F6) Increases display brightness

4) I have an errors when the notebook is boot (i see it in logs, because when my notebook is boot i have screen is off ):
intel_soc_dts_thermal: request_threaded_irq ret -22

dmesg:
http://pastebin.com/4cpEa43w

lsusb:
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 007: ID 04f2:b409 Chicony Electronics Co., Ltd 
Bus 001 Device 006: ID 0457:1029 Silicon Integrated Systems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lspci:
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB xHCI (rev 0e)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e)
00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e)
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0e)
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5286 (rev 01)
03:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 06)
Comment 2 111 2015-02-23 14:30:47 UTC
Created attachment 168021 [details]
dmesg

dmesg
Comment 3 111 2015-02-23 14:32:07 UTC
Created attachment 168031 [details]
lsusb
Comment 4 111 2015-02-23 14:32:54 UTC
Created attachment 168041 [details]
lspci
Comment 5 111 2015-02-23 14:37:13 UTC
Add errors:

1) Family 6 Model 37 CPU: only decoding architectural errors

2) SELinux is preventing shutdown from using the sys_resource capability. For complete SELinux messages. run sealert -l bea55f6b-5c81-4220-aeba-76eb9ca5287e

3) receive_packet failed on wlp2s0: Network is down

4) <error> [1424699168.684238] [platform/nm-linux-platform.c:2266] link_change(): Netlink error changing link 3:  <UP> mtu 0 (1) driver 'ath9k' udi '/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlp2s0': Unspecific failure
Comment 6 Ulrik De Bie 2015-03-19 22:17:01 UTC
Hi aljosa

On the Asus X750JN-TY027H,

Does the following command as root make your touchpad work ?
echo 1 > /sys/devices/platform/i8042/serio4/reg_07
Comment 7 aljosa 2015-03-20 10:50:21 UTC
Hello, very thanks for your reply :)
I have tried few days ago the new Manjaro XFCE 0.9.0-pre4 edition, and yesterday I have installed daily build image of the new Ubuntu 15.04 into Asus optimus notebook N750JVT-4069H.
I would be very grateful if someone can explain to me why with Manjaro i have a nice dmesg output, while with Ubuntu I have so many bad lines related to "mtrr_gran_size/mtrr_chunk_size": 

http://ubuntuforums.org/showthread.php?t=2269801

Related to my wife's Asus optimus notebook X750JN-TY027H and the Elantech touchpad problem, I've made an experiment with the new Manjaro and Ubuntu beta editions (live cd).
While with both systems touchpad remains completely dead, with Manjaro at least cursor is visible.
Today, on Ubuntu 14.04.2 with kernel 3.19.1, your solution is an absolute miracle :) :) :) finally :) :) :)

I really hope that next 3.19.3 and 4.0-rc5 kernel will solve this shit once forever, also becaues I don't have a clue how to implement permanently your magic formula. 
Please if you can just tell me if all those mostly ACPI errors inside dmesg output are caused by touchpad problem or by something else:

http://paste.ubuntu.com/9681045/

Thanks in advance for your reply, ciao
Comment 8 tom 2015-04-02 09:45:16 UTC
hello, i have the same problem, my laptop is an ASUS f550ze-xx072h,

using the following command as root the trackpad start working immediatly:
echo 1 > /sys/devices/platform/i8042/serio4/reg_07
Comment 9 jackgris 2016-01-24 15:17:09 UTC
hello, i have the same problem, my laptop is an ASUS N56VB with an NVidia GeForce 740M
Message shown during the boot:
Ignoring BGRT: invalid status 0 (expected 1)

Part output of dmesg:

[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.1-x86_64 root=UUID=f5ee809a-1377-4985-9e13-97246e7b81b3 rw quiet splash resume=UUID=1c5ba3e7-07af-4c8d-b406-ebf25d5a7855
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form
[    0.000000] AGP: Checking aperture...
[    0.000000] AGP: No AGP bridge found
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 5971612K/6174456K available (5768K kernel code, 902K rwdata, 1748K rodata, 1184K init, 1152K bss, 202844K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS:8448 nr_irqs:456 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] clocksource hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2594.169 MHz processor
[    0.000032] Calibrating delay loop (skipped), value calculated using timer frequency.. 5190.51 BogoMIPS (lpj=8647230)
[    0.000034] pid_max: default: 32768 minimum: 301
[    0.000038] ACPI: Core revision 20150410
[    0.013579] ACPI: All ACPI Tables successfully acquired
[    0.027548] Security Framework initialized
[    0.027554] Yama: becoming mindful.
[    0.027987] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.029882] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.030721] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.030730] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.030907] Initializing cgroup subsys blkio
[    0.030910] Initializing cgroup subsys memory
[    0.030916] Initializing cgroup subsys devices
[    0.030918] Initializing cgroup subsys freezer
[    0.030919] Initializing cgroup subsys net_cls
[    0.030921] Initializing cgroup subsys bfqio
[    0.030941] CPU: Physical Processor ID: 0
[    0.030942] CPU: Processor Core ID: 0
[    0.030946] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.030947] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.031291] mce: CPU supports 7 MCE banks
[    0.031301] CPU0: Thermal monitoring enabled (TM1)
[    0.031306] process: using mwait in idle threads
[    0.031309] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
[    0.031310] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.031693] Freeing SMP alternatives memory: 20K (ffffffff81a0b000 - ffffffff81a10000)
[    0.034287] Ignoring BGRT: invalid status 0 (expected 1)
[    0.034770] ftrace: allocating 21777 entries in 86 pages
[    0.044378] x2apic: IRQ remapping doesn't support X2APIC mode
[    0.044845] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.077875] TSC deadline timer enabled
[    0.077878] smpboot: CPU0: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz (fam: 06, model: 3a, stepping: 09)
[    0.077901] Performance Events: PEBS fmt1+, 16-deep LBR, IvyBridge events, full-width counters, Intel PMU driver.
[    0.077919] ... version:                3
[    0.077920] ... bit width:              48
[    0.077920] ... generic registers:      4
[    0.077921] ... value mask:             0000ffffffffffff
[    0.077922] ... max period:             0000ffffffffffff
[    0.077923] ... fixed-purpose events:   3
[    0.077924] ... event mask:             000000070000000f
[    0.097994] x86: Booting SMP configuration:
[    0.097996] .... node  #0, CPUs:      #1
[    0.109363] microcode: CPU1 microcode updated early to revision 0x1b, date = 2014-05-29
[    0.111881] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.118597]  #2 #3
[    0.152447] x86: Booted up 1 node, 4 CPUs
[    0.152450] smpboot: Total of 4 processors activated (20761.07 BogoMIPS)
[    0.155479] devtmpfs: initialized
[    0.157754] PM: Registering ACPI NVS region [mem 0xc97a8000-0xc9da8fff] (6295552 bytes)
[    0.157816] PM: Registering ACPI NVS region [mem 0xca627000-0xca8a6fff] (2621440 bytes)
[    0.157841] PM: Registering ACPI NVS region [mem 0xca8ad000-0xca8effff] (274432 bytes)
[    0.157912] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.157993] pinctrl core: initialized pinctrl subsystem
[    0.158032] RTC time: 14:11:37, date: 01/24/16
[    0.158129] NET: Registered protocol family 16
[    0.172467] cpuidle: using governor ladder
[    0.185815] cpuidle: using governor menu
[    0.185882] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.185883] ACPI: bus type PCI registered
[    0.185885] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.185943] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.185945] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.186021] PCI: Using configuration type 1 for base access
[    0.186192] perf_event_intel: PMU erratum BJ122, BV98, HSD29 worked around, HT is on
[    0.199470] ACPI: Added _OSI(Module Device)
[    0.199471] ACPI: Added _OSI(Processor Device)
[    0.199473] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.199474] ACPI: Added _OSI(Processor Aggregator Device)
[    0.201481] ACPI : EC: EC description table is found, configuring boot EC
[    0.201492] ACPI : EC: EC started
[    0.203520] ACPI: Executed 1 blocks of module-level executable AML code
[    0.312748] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.333149] ACPI: Dynamic OEM Table Load:
[    0.333156] ACPI: SSDT 0xFFFF8801A77B6000 000853 (v01 PmRef  Cpu0Cst  00003001 INTL 20051117)
[    0.333846] ACPI: Dynamic OEM Table Load:
[    0.333850] ACPI: SSDT 0xFFFF8801A70F0C00 000303 (v01 PmRef  ApIst    00003000 INTL 20051117)
[    0.334476] ACPI: Dynamic OEM Table Load:
[    0.334479] ACPI: SSDT 0xFFFF8801A70D0800 000119 (v01 PmRef  ApCst    00003000 INTL 20051117)
[    0.335487] ACPI: Interpreter enabled
[    0.335494] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20150410/hwxface-580)
[    0.335498] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20150410/hwxface-580)
[    0.335512] ACPI: (supports S0 S3 S4 S5)
[    0.335513] ACPI: Using IOAPIC for interrupt routing
[    0.335535] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.448305] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])