[Bug 1162669] New: [RPi4] No usb in initrd due to missing pcie-brcmstb
http://bugzilla.suse.com/show_bug.cgi?id=1162669 Bug ID: 1162669 Summary: [RPi4] No usb in initrd due to missing pcie-brcmstb Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: dracut-maintainers@suse.de Reporter: fvogt@suse.com QA Contact: qa-bugs@suse.de CC: kukuk@suse.com Found By: --- Blocker: --- In openSUSE MicroOS based images, ignition is used for configuration. It works by waiting for a block device with "ignition" in its label, which is usually a usb drive. Currently there is no usb support on RPi4 in the initrd phase as the pcie-brcmstb module is missing. This diff to dracut might fix it, but not tested yet: diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh index 3dfceff0..0ad01112 100755 --- a/modules.d/90kernel-modules/module-setup.sh +++ b/modules.d/90kernel-modules/module-setup.sh @@ -35,6 +35,7 @@ installkernel() { "=drivers/input/keyboard" \ "=drivers/usb/storage" \ "=drivers/pci/host" \ + "=drivers/pci/controller" \ ${NULL} instmods \ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c1 Daniel Molkentin <daniel.molkentin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.molkentin@suse.com --- Comment #1 from Daniel Molkentin <daniel.molkentin@suse.com> --- Please try dracut from home:dmolkentin:dracut:1162669 once it's built. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 Daniel Molkentin <daniel.molkentin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com Flags| |needinfo?(fvogt@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c2 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(fvogt@suse.com) |needinfo?(daniel.molkentin@ | |suse.com) --- Comment #2 from Fabian Vogt <fvogt@suse.com> --- (In reply to Daniel Molkentin from comment #1)
Please try dracut from home:dmolkentin:dracut:1162669 once it's built.
I see that you added "=drivers/usb/host" instead of "=drivers/pci/controller", why? I just tried the change (by applying it manually, build is "blocked") and it doesn't work. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c3 --- Comment #3 from Fabian Vogt <fvogt@suse.com> --- Just tested it with by diff and it worked fine: # mkinitrd # lsinitrd /boot/initrd | grep pcie-brcmstb -rw-r--r-- 1 root root 7400 Jan 28 13:30 lib/modules/5.4.14-1-default/kernel/drivers/pci/controller/pcie-brcmstb.ko.xz # rmmod pcie-brcmstb # dracut -f --no-hostonly (like kiwi) # lsinitrd /boot/initrd | grep pcie-brcmstb -rw-r--r-- 1 root root 7400 Jan 28 13:30 lib/modules/5.4.14-1-default/kernel/drivers/pci/controller/pcie-brcmstb.ko.xz -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c4 --- Comment #4 from Daniel Molkentin <daniel.molkentin@suse.com> --- Perfect! I have meanwhile adjusted the patch (that's what you get for not using copy and paste), but the build is still blocked for factory. Maybe you can checkout and build locally, just to ensure it works, hopefully it has finished by tomorrow anyway. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 Daniel Molkentin <daniel.molkentin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(daniel.molkentin@ | |suse.com) | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c5 --- Comment #5 from Fabian Vogt <fvogt@suse.com> --- (In reply to Daniel Molkentin from comment #4)
Perfect! I have meanwhile adjusted the patch (that's what you get for not using copy and paste), but the build is still blocked for factory. Maybe you can checkout and build locally, just to ensure it works, hopefully it has finished by tomorrow anyway.
I finally got around to testing, but I don't think you adjusted the patch. It's still using the wrong line. I tested it anyway though, but as expected it still fails. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c6 Daniel Molkentin <daniel.molkentin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Daniel Molkentin <daniel.molkentin@suse.com> --- The project was broken, so there was no update. Anyway, it works with the proper line now and the fix is on the way to Factory. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1162669) was mentioned in https://build.opensuse.org/request/show/778051 Factory / dracut -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c9 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #9 from Fabian Vogt <fvogt@suse.com> --- (In reply to Daniel Molkentin from comment #6)
The project was broken, so there was no update. Anyway, it works with the proper line now and the fix is on the way to Factory.
If you mean this, it's still broken: https://github.com/openSUSE/dracut/commit/70941b302bb05a22c508c74aa2568f51a4... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c11 --- Comment #11 from Daniel Molkentin <daniel.molkentin@suse.com> --- It looks ok? From the diff: 5+ "=drivers/usb/controller" \ Can you elaborate? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 Daniel Molkentin <daniel.molkentin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(fvogt@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c12 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(fvogt@suse.com) | --- Comment #12 from Fabian Vogt <fvogt@suse.com> --- (In reply to Daniel Molkentin from comment #11)
It looks ok? From the diff:
5+ "=drivers/usb/controller" \
Can you elaborate?
It's a PCI controller, not a USB controller. So "=drivers/pci/controller" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c13 --- Comment #13 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1162669) was mentioned in https://build.opensuse.org/request/show/781231 Factory / dracut -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162669 http://bugzilla.suse.com/show_bug.cgi?id=1162669#c16 Daniel Molkentin <daniel.molkentin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #16 from Daniel Molkentin <daniel.molkentin@suse.com> --- Perfect, closing then. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com