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

Reply via email to