[Kernel-packages] [Bug 1937897] Re: GPIO error logs in start and dmesg aftzer update of kernel

2021-07-30 Thread Alex Hung
I don't have a system support this module but you can try to blacklist
it with

  $ echo "blacklist gpio-aaeon" | sudo tee -a
/etc/modprobe.d/blacklist.conf

** Summary changed:

- GPIO error logs in start and dmesg aftzer update of kernel
+ GPIO error logs in start and dmesg after update of kernel

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1937897

Title:
  GPIO error logs in start and dmesg after update of kernel

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After update from kernel 5.11.0-22 to 5.11.0-25 i see next logs error
  to gpio:

 5.852182] gpio gpiochip2: (gpio_aaeon): tried to insert a GPIO chip with 
zero lines
  [5.852187] gpiochip_add_data_with_key: GPIOs 0..-1 (gpio_aaeon) failed to 
register, -22
  [5.852194] gpio-aaeon: probe of gpio-aaeon.0 failed with error -22

  On pc:

  description: Desktop Computer
  product: System Product Name (SKU)
  vendor: ASUS
  version: System Version
  serial: System Serial Number
  width: 64 bits
  capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32
  configuration: boot=normal chassis=desktop family=To be filled by O.E.M. 
sku=SKU uuid=0ABCA172-BFA8-2AC5-FC37-3C7C3FD88FE4
*-core
 description: Motherboard
 product: TUF GAMING B550M-PLUS (WI-FI)
 vendor: ASUSTeK COMPUTER INC.
 physical id: 0
 version: Rev X.0x
 serial: 201176738701636
 slot: Default string
   *-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 2403
date: 06/16/2021
size: 64KiB
capacity: 16MiB
capabilities: pci apm upgrade shadowing cdboot bootselect 
socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen 
int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
   *-memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1937897/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1937897] Re: GPIO error logs in start and dmesg aftzer update of kernel

2021-07-30 Thread Alex Hung
gpio-aaeon was added into newer versions, ex.

$ git log Ubuntu-5.11.0-22.23..Ubuntu-5.11.0-25.27 -- 
./drivers/gpio/gpio-aaeon.c
commit 16c04b79bdc6e13a8f1c9b372b34c6f32f3806bb
Author: Kunyang_Fan 
Date:   Wed Jun 16 07:56:00 2021 +0200

UBUNTU: ODM: gpio: add driver for AAEON devices

BugLink: https://bugs.launchpad.net/bugs/1929504

This patch add support for the GPIO pins whose control are
transported to BIOS through ASUS WMI interface.

Signed-off-by: Kunyang_Fan 
Review-by: Kai-Heng Feng 
Review-by: Chia-Lin Kao (AceLan) 
Signed-off-by: Chia-Lin Kao (AceLan) 
Acked-by: Stefan Bader 
Acked-by: Kleber Sacilotto de Souza 
Signed-off-by: Stefan Bader 


Similarly, 

$ git log Ubuntu-5.8.0-59.66..Ubuntu-5.8.0-63.71 -- ./drivers/gpio/gpio-aaeon.c
commit 6811515eb04775991d42ee7f6aec5fbd6b69c5cb
Author: Kunyang_Fan 
Date:   Wed Jun 16 07:56:00 2021 +0200

UBUNTU: ODM: gpio: add driver for AAEON devices

BugLink: https://bugs.launchpad.net/bugs/1929504

This patch add support for the GPIO pins whose control are
transported to BIOS through ASUS WMI interface.

Signed-off-by: Kunyang_Fan 
Review-by: Kai-Heng Feng 
Review-by: Chia-Lin Kao (AceLan) 
Signed-off-by: Chia-Lin Kao (AceLan) 
Acked-by: Stefan Bader 
Acked-by: Kleber Sacilotto de Souza 
Signed-off-by: Stefan Bader 

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1937897

Title:
  GPIO error logs in start and dmesg after update of kernel

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After update from kernel 5.11.0-22 to 5.11.0-25 i see next logs error
  to gpio:

 5.852182] gpio gpiochip2: (gpio_aaeon): tried to insert a GPIO chip with 
zero lines
  [5.852187] gpiochip_add_data_with_key: GPIOs 0..-1 (gpio_aaeon) failed to 
register, -22
  [5.852194] gpio-aaeon: probe of gpio-aaeon.0 failed with error -22

  On pc:

  description: Desktop Computer
  product: System Product Name (SKU)
  vendor: ASUS
  version: System Version
  serial: System Serial Number
  width: 64 bits
  capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32
  configuration: boot=normal chassis=desktop family=To be filled by O.E.M. 
sku=SKU uuid=0ABCA172-BFA8-2AC5-FC37-3C7C3FD88FE4
*-core
 description: Motherboard
 product: TUF GAMING B550M-PLUS (WI-FI)
 vendor: ASUSTeK COMPUTER INC.
 physical id: 0
 version: Rev X.0x
 serial: 201176738701636
 slot: Default string
   *-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 2403
date: 06/16/2021
size: 64KiB
capacity: 16MiB
capabilities: pci apm upgrade shadowing cdboot bootselect 
socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen 
int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
   *-memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1937897/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1937897] Re: GPIO error logs in start and dmesg aftzer update of kernel

2021-07-24 Thread Ole Jon Bjørkum
EDIT: To clarify both times these lines come they refer to "gpiochip1"
(so not 2 different ones).

I started getting the same 3 lines of errors TWICE at boot, with the now
latest official 5.8 HWE kernel. Without "splash", just "quiet" set for
GRUB it also shows on my monitors when booting. Honestly seems to slow
down boot too (I mean I have 5.5 GB/s R/W NVMes and it can get to GDM in
maybe less than 2 seconds).

WHAT HAPPENED:

After my 20.04.2 (HWE) kernel was updated From:

linux-image-5.8.0-59-generic

To:

linux-image-5.8.0-63-generic

If I boot the former (*-59) or any older, I don't see the below errors
TWICE. With the latter (*-63) I do. Seems to be little to none
information about this. I only find it in the Linux source code. Is it
something new in Linux?

Running journalctl -b (now) first 3 lines of errors come after early
kernel NVME(s) preparation, but have just checked that once (now). Seems
random as the next exact same 3 lines come below something completely
different in the log. But again system can boot in 2 secs, however seems
slower with these in fact.

$ journalctl -b

RED LINES:
kernel: gpio gpiochip1: (gpio_aaeon): tried to insert a GPIO chip with zero 
lines
gpiochip_add_data_with_key: GPIOs 0..-1 (gpio_aaeon) failed to register, -22

YELLOW LINE:
gpio-aaeon: probe of gpio-aaeon.0 failed with error -22

... and again later in the log:

RED LINES:
kernel: gpio gpiochip1: (gpio_aaeon): tried to insert a GPIO chip with zero 
lines
gpiochip_add_data_with_key: GPIOs 0..-1 (gpio_aaeon) failed to register, -22

YELLOW LINE:
gpio-aaeon: probe of gpio-aaeon.0 failed with error -22

---

Apart from that everything works. No new hardware has been added.

Pretty generic system (hefty CPU but still X570 + Zen2):

* ASUS X570 AM4 Motherboard ("Prime Pro")
* Ryzen Zen2 3950X 16C/32T CPU
* ASUS Radeon RX 5500 XT 8 GB OC GPU
* 2 NVMes and 3 HDDs (total 12 TB)
* No special peripherals

Happens really early at boot, so seems low-level.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1937897

Title:
  GPIO error logs in start and dmesg aftzer update of kernel

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After update from kernel 5.11.0-22 to 5.11.0-25 i see next logs error
  to gpio:

 5.852182] gpio gpiochip2: (gpio_aaeon): tried to insert a GPIO chip with 
zero lines
  [5.852187] gpiochip_add_data_with_key: GPIOs 0..-1 (gpio_aaeon) failed to 
register, -22
  [5.852194] gpio-aaeon: probe of gpio-aaeon.0 failed with error -22

  On pc:

  description: Desktop Computer
  product: System Product Name (SKU)
  vendor: ASUS
  version: System Version
  serial: System Serial Number
  width: 64 bits
  capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32
  configuration: boot=normal chassis=desktop family=To be filled by O.E.M. 
sku=SKU uuid=0ABCA172-BFA8-2AC5-FC37-3C7C3FD88FE4
*-core
 description: Motherboard
 product: TUF GAMING B550M-PLUS (WI-FI)
 vendor: ASUSTeK COMPUTER INC.
 physical id: 0
 version: Rev X.0x
 serial: 201176738701636
 slot: Default string
   *-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 2403
date: 06/16/2021
size: 64KiB
capacity: 16MiB
capabilities: pci apm upgrade shadowing cdboot bootselect 
socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen 
int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
   *-memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1937897/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1937897] Re: GPIO error logs in start and dmesg aftzer update of kernel

2021-07-24 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1937897

Title:
  GPIO error logs in start and dmesg aftzer update of kernel

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After update from kernel 5.11.0-22 to 5.11.0-25 i see next logs error
  to gpio:

 5.852182] gpio gpiochip2: (gpio_aaeon): tried to insert a GPIO chip with 
zero lines
  [5.852187] gpiochip_add_data_with_key: GPIOs 0..-1 (gpio_aaeon) failed to 
register, -22
  [5.852194] gpio-aaeon: probe of gpio-aaeon.0 failed with error -22

  On pc:

  description: Desktop Computer
  product: System Product Name (SKU)
  vendor: ASUS
  version: System Version
  serial: System Serial Number
  width: 64 bits
  capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32
  configuration: boot=normal chassis=desktop family=To be filled by O.E.M. 
sku=SKU uuid=0ABCA172-BFA8-2AC5-FC37-3C7C3FD88FE4
*-core
 description: Motherboard
 product: TUF GAMING B550M-PLUS (WI-FI)
 vendor: ASUSTeK COMPUTER INC.
 physical id: 0
 version: Rev X.0x
 serial: 201176738701636
 slot: Default string
   *-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 2403
date: 06/16/2021
size: 64KiB
capacity: 16MiB
capabilities: pci apm upgrade shadowing cdboot bootselect 
socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen 
int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
   *-memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1937897/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp