ERROR: Writing to dgpu_disable cause Input/Output error

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

 



Hello,
This is my first time reporting an issue in the kernel.

Device Details:

ISSUE: Using dgpu_disable provided by asus-nb-wmi to disable and enable dedicated gpu,
causes system crash and reboots, randomly.
 9/10 times writing 0 to dgpu_disable will produce an Input/Output error, but the value will be changed to 0, half the time system will crash and reboot. While writing 1 to it doesn't produce an error, I have observed system crash twice just after that.

Steps to Reproduce:
  • Remove dpgu: echo 1 | sudo tee ../remove (dgpu path)
  • echo 1 | sudo tee /sys/devices/platform/asus-nb-wmi/dgpu_disable
  • echo 0 | sudo tee /sys/devices/platform/asus-nb-wmi/dgpu_disable
  • echo 1 | sudo tee /sys/bus/pci/rescan

After writing 0 to dgpu_disable, there's an entry in journal about an ACPI bug.
Output of 'journalctl -p 3' and lspci is attached.
-- Boot 84ac9ebb0cf443639e11588de731b577 --
Jan 03 23:13:01 ZephyrusG14 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA.GC00], AE_NOT_FOUND (20230628/psargs-330)
Jan 03 23:13:01 ZephyrusG14 kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
Jan 03 23:13:01 ZephyrusG14 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA.GC00], AE_NOT_FOUND (20230628/psargs-330)
Jan 03 23:13:01 ZephyrusG14 kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
Jan 03 23:13:01 ZephyrusG14 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA.GC00], AE_NOT_FOUND (20230628/psargs-330)
Jan 03 23:13:01 ZephyrusG14 kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
Jan 03 23:13:01 ZephyrusG14 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA.GC00], AE_NOT_FOUND (20230628/psargs-330)
Jan 03 23:13:01 ZephyrusG14 kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
Jan 03 23:13:01 ZephyrusG14 kernel: hub 6-0:1.0: config failed, hub doesn't have any ports! (err -19)
Jan 03 23:13:01 ZephyrusG14 kernel: asus 0003:0B05:19B6.0002: Asus input not registered
Jan 03 23:13:20 ZephyrusG14 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA.GC00], AE_NOT_FOUND (20230628/psargs-330)
Jan 03 23:13:20 ZephyrusG14 kernel: ACPI Error: Aborting method \_SB.PCI0.GPP0.SWUS.SWDS.VGA._STA due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Root Complex (rev 01)
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h-19h IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge (rev 10)
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge (rev 10)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c2)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S] (rev c2)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
04:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
05:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
06:00.0 Non-Volatile memory controller: Micron Technology Inc 2450 NVMe SSD [HendrixV] (DRAM-less) (rev 01)
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev c8)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #3
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #4
07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 60)
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
08:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #8
08:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #5
08:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #6

[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux