Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: William Breathitt Gray <vilhelm.gray@gmail.com>
To: Jose Paez <jose.m.paez@icloud.com>
Cc: linux-gpio@vger.kernel.org
Subject: Re: Ubuntu 20.04 GPIO Issue
Date: Wed, 19 Jan 2022 11:04:52 +0900	[thread overview]
Message-ID: <YedxxHuD3uCc4+IZ@shinobu> (raw)
In-Reply-To: <87A74AAB-198B-4A87-9403-2840810C541D@icloud.com>

[-- Attachment #1: Type: text/plain, Size: 1717 bytes --]

On Tue, Jan 18, 2022 at 05:33:58PM -0500, Jose Paez wrote:
> Good evening guys,
> 
> Recently, I installed an Ubuntu upgrade to the Linux kernel that must have had an update to the GPIO driver. As of now, Ubuntu fails to boot unless it is in safe mode. This was not an issue with kernel 5.11.0-44 but it is an issue in 5.11.0-46 and above.
> 
> I was not sure what the problem was because the issue happens early after selecting a kernel from GRUB. It hangs without me being able to see any logs as to what’s going on in the background. Disabling `quiet splash` didn’t yield any information either. However, attempting to boot Ubuntu from a USB stick yields the following error right off:
> 
> ```
> Gpio gpiochip2: (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
> ```
> Nothing happens after this. I don’t appear to be the only one affected, as there’s this useful entry in stackexchange about it:
> 
> https://unix.stackexchange.com/questions/665526/what-gpio-gpiochip0-kernel-error-means-and-how-to-solve
> 
> If it helps of anything, my setup is as follows:
> - TUF B550 Plus Wifi Motherboard
> - 16GB Memory
> - AMD 5700G
> - Dual boot Ubuntu/Win11
> 
> Feel free to reach out if there’s anything I can help with.
> 
> Kind regards,
> 
> Jose M Paez
> Pittsburgh, PA
> jose.m.paez@icloud.com

Hi Jose,

Canonical maintains their own Ubuntu patches on top of the mainline
Linux kernels. It may be more appropriate to contact the Ubuntu kernel
team first to report this issue to see if it's something specific to
their kernel: https://lists.ubuntu.com/

William Breathitt Gray

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

           reply	other threads:[~2022-01-19  2:04 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <87A74AAB-198B-4A87-9403-2840810C541D@icloud.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YedxxHuD3uCc4+IZ@shinobu \
    --to=vilhelm.gray@gmail.com \
    --cc=jose.m.paez@icloud.com \
    --cc=linux-gpio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox