Bug 1186096

Summary: BeagleBone Black lost USB support
Product: [openSUSE] openSUSE Distribution Reporter: Matwey Kornilov <matwey.kornilov>
Component: InstallationAssignee: Guillaume GARDET <guillaume.gardet>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: dmueller, igonzalezsosa, tiwai
Version: Leap 15.3   
Target Milestone: ---   
Hardware: armv7   
OS: Other   
See Also: https://bugzilla.opensuse.org/show_bug.cgi?id=1186144
https://bugzilla.suse.com/show_bug.cgi?id=1187100
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Matwey Kornilov 2021-05-16 10:48:25 UTC
Hi,

I am running openSUSE-Leap-15.3-ARM-JeOS-beaglebone.armv7l-2021.04.16-Build2.2.raw.xz from openSUSE:Leap:15.3:ARM:Images

# uname -a
Linux localhost 5.3.18-57-default #1 SMP Wed Apr 28 10:54:41 UTC 2021 (ba3c2e9) armv7l armv7l armv7l GNU/Linux

Currently, I see that USB is not working.

# lsusb

returns empty output.
musb related kernel modules are also not loaded and missed from /lib/modules/5.3.18-57-default

BBB has USB support (yet not ideal) on Leap 15.2, so this must be a kind of regression somewhere in configuration.
Comment 1 Takashi Iwai 2021-05-17 08:48:16 UTC
It's included in kernel-default-extra package (or might be kernel-default-optional) on Leap 15.3 / SLE15-SP3 while Leap 15.2 had only kernel-default including all, and I guess JeOS doesn't install those subpackages.

Please try to install kernel-default-extra.
Comment 2 Matwey Kornilov 2021-05-17 15:55:02 UTC
localhost:~ # zypper refresh
Repository 'Non-OSS Repository' is up to date.
Repository 'Main Repository' is up to date.
Repository 'Main Update Repository' is up to date.
Repository 'Update Repository (Non-Oss)' is up to date.
All repositories have been refreshed.
localhost:~ # zypper lr -d
# | Alias                     | Name                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
--+---------------------------+------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
1 | repo-debug                | Debug Repository                   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/oss/     |
2 | repo-debug-non-oss        | Debug Repository (Non-OSS)         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.3/repo/non-oss/ |
3 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.3/non-oss/            |
4 | repo-non-oss              | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/       |
5 | repo-oss                  | Main Repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.3/repo/oss/           |
6 | repo-source               | Source Repository                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/    |
7 | repo-update               | Main Update Repository             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/oss/                      |
8 | repo-update-non-oss       | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.3/non-oss/                  |
localhost:~ # zypper in kernel-default-extra
Loading repository data...
Warning: Repository 'Update Repository (Non-Oss)' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...
Package 'kernel-default-extra' not found.
Resolving package dependencies...
Nothing to do.
Comment 3 Takashi Iwai 2021-05-17 16:44:07 UTC
The repo setup looks wrong.  It doesn't contain armv7hl binaries.
It should point to ports, e.g.
  http://download.opensuse.org/ports/armv7hl/distribution/leap/15.3/repo/oss/
Comment 4 Matwey Kornilov 2021-05-17 16:46:07 UTC
(In reply to Takashi Iwai from comment #3)
> The repo setup looks wrong.  It doesn't contain armv7hl binaries.
> It should point to ports, e.g.
>   http://download.opensuse.org/ports/armv7hl/distribution/leap/15.3/repo/oss/

Right, then kernel-default-extra fixes the issue.
Comment 5 Matwey Kornilov 2021-05-17 17:23:52 UTC
So, probably JeOSes have to install kernel-default-extra by default, since there is a chance to lost something more useful, for instance, SD host controller driver.
Comment 6 Imobach Gonzalez Sosa 2021-05-25 15:14:40 UTC
Hi all,

Dirk, could you have a look, please? AFAIK, YaST is not involved in building this image.

Thanks!
Comment 7 Steffen Winterfeldt 2021-05-28 11:20:59 UTC
Guillaume, I think you are involved in these JeOS Kiwi builds. Please have a
look.
Comment 8 Guillaume GARDET 2021-05-31 09:44:12 UTC
(In reply to Steffen Winterfeldt from comment #7)
> Guillaume, I think you are involved in these JeOS Kiwi builds. Please have a
> look.

Fix submitted via maintenance: https://build.opensuse.org/request/show/896322
Comment 9 OBSbugzilla Bot 2021-05-31 10:20:03 UTC
This is an autogenerated message for OBS integration:
This bug (1186096) was mentioned in
https://build.opensuse.org/request/show/896318 Factory:ARM / JeOS
Comment 10 Guillaume GARDET 2021-07-28 12:03:54 UTC
JeOS image is fixed.
Comment 11 OBSbugzilla Bot 2021-10-12 16:42:00 UTC
This is an autogenerated message for OBS integration:
This bug (1186096) was mentioned in
https://build.opensuse.org/request/show/924915 Factory:ARM / JeOS
Comment 12 OBSbugzilla Bot 2021-10-12 18:41:53 UTC
This is an autogenerated message for OBS integration:
This bug (1186096) was mentioned in
https://build.opensuse.org/request/show/924923 Factory:ARM / JeOS