linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [BUG][BISECTED] Freeze at loading init ramdisk
       [not found] <8a6aa228-f2da-4dcd-93c1-e34614cd6471@alu.unizg.hr>
@ 2024-01-17 18:47 ` Mirsad Todorovac
  2024-01-18  7:45   ` Uwe Kleine-König
  2024-01-20 11:25   ` Bagas Sanjaya
  0 siblings, 2 replies; 9+ messages in thread
From: Mirsad Todorovac @ 2024-01-17 18:47 UTC (permalink / raw)
  To: Linux Kernel Mailing List
  Cc: Helge Deller, James E.J. Bottomley, Uwe Kleine-König,
	Ard Biesheuvel, Arnd Bergmann, Greg Kroah-Hartman, Hans de Goede,
	Huacai Chen, Javier Martinez Canillas, Linus Walleij,
	Prathu Baronia, Sam Ravnborg, Sui Jingfeng, Thomas Zimmermann,
	dri-devel, linux-fbdev, linux-parisc

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

On 1/16/24 01:32, Mirsad Todorovac wrote:
> Hi,
> 
> On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
> freezes upon first two lines and before any systemd messages.
> 
> (Please find the config attached.)
> 
> Bisecting the bug led to this result:
> 
> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
> d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
> commit d97a78423c33f68ca6543de510a409167baed6f5
> Merge: 61da593f4458 689237ab37c5
> Author: Linus Torvalds <torvalds@linux-foundation.org>
> Date:   Fri Jan 12 14:38:08 2024 -0800
> 
>      Merge tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev
>      Pull fbdev updates from Helge Deller:
>       "Three fbdev drivers (~8500 lines of code) removed. The Carillo Ranch
>        fbdev driver is for an Intel product which was never shipped, and for
>        the intelfb and the amba-clcd drivers the drm drivers can be used
>        instead.
>        The other code changes are minor: some fb_deferred_io flushing fixes,
>        imxfb margin fixes and stifb cleanups.
>        Summary:
>         - Remove intelfb fbdev driver (Thomas Zimmermann)
>         - Remove amba-clcd fbdev driver (Linus Walleij)
>         - Remove vmlfb Carillo Ranch fbdev driver (Matthew Wilcox)
>         - fb_deferred_io flushing fixes (Nam Cao)
>         - imxfb code fixes and cleanups (Dario Binacchi)
>         - stifb primary screen detection cleanups (Thomas Zimmermann)"
>      * tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev: (28 commits)
>        fbdev/intelfb: Remove driver
>        fbdev/hyperv_fb: Do not clear global screen_info
>        firmware/sysfb: Clear screen_info state after consuming it
>        fbdev/hyperv_fb: Remove firmware framebuffers with aperture helpers
>        drm/hyperv: Remove firmware framebuffers with aperture helper
>        fbdev/sis: Remove dependency on screen_info
>        video/logo: use %u format specifier for unsigned int values
>        video/sticore: Remove info field from STI struct
>        arch/parisc: Detect primary video device from device instance
>        fbdev/stifb: Allocate fb_info instance with framebuffer_alloc()
>        video/sticore: Store ROM device in STI struct
>        fbdev: flush deferred IO before closing
>        fbdev: flush deferred work in fb_deferred_io_fsync()
>        fbdev: amba-clcd: Delete the old CLCD driver
>        fbdev: Remove support for Carillo Ranch driver
>        fbdev: hgafb: fix kernel-doc comments
>        fbdev: mmp: Fix typo and wording in code comment
>        fbdev: fsl-diu-fb: Fix sparse warning due to virt_to_phys() prototype change
>        fbdev: imxfb: add '*/' on a separate line in block comment
>        fbdev: imxfb: use __func__ for function name
>        ...
> 
>   Documentation/fb/index.rst                         |    1 -
>   Documentation/fb/intelfb.rst                       |  155 --
>   Documentation/userspace-api/ioctl/ioctl-number.rst |    1 -
>   MAINTAINERS                                        |   12 -
>   arch/parisc/video/fbdev.c                          |    2 +-
>   drivers/Makefile                                   |    3 +-
>   drivers/firmware/sysfb.c                           |   14 +-
>   drivers/gpu/drm/hyperv/hyperv_drm_drv.c            |    8 +-
>   drivers/video/backlight/Kconfig                    |    7 -
>   drivers/video/backlight/Makefile                   |    1 -
>   drivers/video/backlight/cr_bllcd.c                 |  264 ---
>   drivers/video/fbdev/Kconfig                        |   72 -
>   drivers/video/fbdev/Makefile                       |    2 -
>   drivers/video/fbdev/amba-clcd.c                    |  986 ---------
>   drivers/video/fbdev/core/fb_defio.c                |    8 +-
>   drivers/video/fbdev/fsl-diu-fb.c                   |    2 +-
>   drivers/video/fbdev/hgafb.c                        |   13 +-
>   drivers/video/fbdev/hyperv_fb.c                    |   20 +-
>   drivers/video/fbdev/imxfb.c                        |  179 +-
>   drivers/video/fbdev/intelfb/Makefile               |    8 -
>   drivers/video/fbdev/intelfb/intelfb.h              |  382 ----
>   drivers/video/fbdev/intelfb/intelfb_i2c.c          |  209 --
>   drivers/video/fbdev/intelfb/intelfbdrv.c           | 1680 ----------------
>   drivers/video/fbdev/intelfb/intelfbhw.c            | 2115 --------------------
>   drivers/video/fbdev/intelfb/intelfbhw.h            |  609 ------
>   drivers/video/fbdev/mmp/hw/mmp_spi.c               |    2 +-
>   drivers/video/fbdev/sis/sis_main.c                 |   37 -
>   drivers/video/fbdev/stifb.c                        |  109 +-
>   drivers/video/fbdev/vermilion/Makefile             |    6 -
>   drivers/video/fbdev/vermilion/cr_pll.c             |  195 --
>   drivers/video/fbdev/vermilion/vermilion.c          | 1175 -----------
>   drivers/video/fbdev/vermilion/vermilion.h          |  245 ---
>   drivers/video/logo/pnmtologo.c                     |    6 +-
>   drivers/video/sticore.c                            |    5 +
>   include/linux/amba/clcd-regs.h                     |   87 -
>   include/linux/amba/clcd.h                          |  290 ---
>   include/video/sticore.h                            |    6 +-
>   37 files changed, 208 insertions(+), 8708 deletions(-)
>   delete mode 100644 Documentation/fb/intelfb.rst
>   delete mode 100644 drivers/video/backlight/cr_bllcd.c
>   delete mode 100644 drivers/video/fbdev/amba-clcd.c
>   delete mode 100644 drivers/video/fbdev/intelfb/Makefile
>   delete mode 100644 drivers/video/fbdev/intelfb/intelfb.h
>   delete mode 100644 drivers/video/fbdev/intelfb/intelfb_i2c.c
>   delete mode 100644 drivers/video/fbdev/intelfb/intelfbdrv.c
>   delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.c
>   delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.h
>   delete mode 100644 drivers/video/fbdev/vermilion/Makefile
>   delete mode 100644 drivers/video/fbdev/vermilion/cr_pll.c
>   delete mode 100644 drivers/video/fbdev/vermilion/vermilion.c
>   delete mode 100644 drivers/video/fbdev/vermilion/vermilion.h
>   delete mode 100644 include/linux/amba/clcd-regs.h
>   delete mode 100644 include/linux/amba/clcd.h
> marvin@defiant:~/linux/kernel/linux_torvalds$
> 
> Hope this helps.

P.S.

As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
bisect further to determine the culprit.

But I thought later that it would be interesting to see why my hardware triggered the freeze
and probably others did not, or someone would complain already.

Both of the boxes were AMD Ryzen: Ryzen 7 5700G and Ryzen 9 7950X.

FWIW, I am attaching both hardware listings and the config used, so anyone knowledgeable with
fbdev could possibly narrow down the search.

Best regards,
Mirsad Todorovac

[-- Attachment #2: lshw.txt --]
[-- Type: text/plain, Size: 58568 bytes --]

defiant
    description: Desktop Computer
    product: X670E PG Lightning (Default string)
    vendor: ASRock
    version: Default string
    serial: Default string
    width: 64 bits
    capabilities: smbios-3.4.0 dmi-3.4.0 smp vsyscall32
    configuration: boot=normal chassis=desktop family=Default string sku=Default string uuid=01006b9c-80fb-0000-0000-000000000000
  *-core
       description: Motherboard
       product: X670E PG Lightning
       vendor: ASRock
       physical id: 0
       version: Default string
       serial: M80-FA012800404
       slot: Default string
     *-firmware
          description: BIOS
          vendor: American Megatrends International, LLC.
          physical id: 0
          version: 1.21
          date: 04/26/2023
          size: 64KiB
          capacity: 32MiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer int10video usb biosbootspecification uefi
     *-cache:0
          description: L1 cache
          physical id: 29
          slot: L1 - Cache
          size: 1MiB
          capacity: 1MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 2a
          slot: L2 - Cache
          size: 16MiB
          capacity: 16MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=2
     *-cache:2
          description: L3 cache
          physical id: 2b
          slot: L3 - Cache
          size: 64MiB
          capacity: 64MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=3
     *-cpu
          description: CPU
          product: AMD Ryzen 9 7950X 16-Core Processor
          vendor: Advanced Micro Devices [AMD]
          physical id: 2c
          bus info: cpu@0
          version: 25.97.2
          serial: Unknown
          slot: AM5
          size: 400MHz
          capacity: 5881MHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca fsrm flush_l1d cpufreq
          configuration: cores=16 enabledcores=16 microcode=174068227 threads=32
     *-memory
          description: System Memory
          physical id: 2e
          slot: System board or motherboard
          size: 64GiB
        *-bank:0
             description: [empty]
             product: Unknown
             vendor: Unknown
             physical id: 0
             serial: Unknown
             slot: DIMM 0
        *-bank:1
             description: DIMM Synchronous Unbuffered (Unregistered) 4800 MHz (0.2 ns)
             product: KF560C40-32
             vendor: Kingston
             physical id: 1
             serial: 6F1AAEED
             slot: DIMM 1
             size: 32GiB
             width: 64 bits
             clock: 505MHz (2.0ns)
        *-bank:2
             description: [empty]
             product: Unknown
             vendor: Unknown
             physical id: 2
             serial: Unknown
             slot: DIMM 0
        *-bank:3
             description: DIMM Synchronous Unbuffered (Unregistered) 4800 MHz (0.2 ns)
             product: KF560C40-32
             vendor: Kingston
             physical id: 3
             serial: 3C1AA6CB
             slot: DIMM 1
             size: 32GiB
             width: 64 bits
             clock: 505MHz (2.0ns)
     *-pci:0
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
        *-pci:0
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1.1
             bus info: pci@0000:00:01.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:27 ioport:f000(size=4096) memory:fcb00000-fcdfffff ioport:fa00000000(size=8858370048)
           *-pci
                description: PCI bridge
                product: Navi 10 XL Upstream Port of PCI Express Switch
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:01:00.0
                version: c7
                width: 32 bits
                clock: 33MHz
                capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
                configuration: driver=pcieport
                resources: irq:32 memory:fcd00000-fcd03fff ioport:f000(size=4096) memory:fcb00000-fccfffff ioport:fa00000000(size=8858370048)
              *-pci
                   description: PCI bridge
                   product: Navi 10 XL Downstream Port of PCI Express Switch
                   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                   physical id: 0
                   bus info: pci@0000:02:00.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:33 ioport:f000(size=4096) memory:fcb00000-fccfffff ioport:fa00000000(size=8858370048)
                 *-display
                      description: VGA compatible controller
                      product: Navi 23 [Radeon RX 6600/6600 XT/6600M]
                      vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                      physical id: 0
                      bus info: pci@0000:03:00.0
                      logical name: /dev/fb0
                      version: c7
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
                      configuration: depth=32 driver=amdgpu latency=0 mode=3840x2160 resolution=3840,2160 visual=truecolor xres=3840 yres=2160
                      resources: iomemory:fa0-f9f iomemory:fc0-fbf irq:117 memory:fa00000000-fbffffffff memory:fc00000000-fc0fffffff ioport:f000(size=256) memory:fcb00000-fcbfffff memory:fcc00000-fcc1ffff
                 *-multimedia
                      description: Audio device
                      product: Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
                      vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                      physical id: 0.1
                      bus info: pci@0000:03:00.1
                      logical name: card0
                      logical name: /dev/snd/controlC0
                      logical name: /dev/snd/hwC0D0
                      logical name: /dev/snd/pcmC0D10p
                      logical name: /dev/snd/pcmC0D3p
                      logical name: /dev/snd/pcmC0D7p
                      logical name: /dev/snd/pcmC0D8p
                      logical name: /dev/snd/pcmC0D9p
                      version: 00
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm pciexpress msi bus_master cap_list
                      configuration: driver=snd_hda_intel latency=0
                      resources: irq:113 memory:fcc20000-fcc23fff
                    *-input:0
                         product: HDA ATI HDMI HDMI/DP,pcm=7
                         physical id: 0
                         logical name: input10
                         logical name: /dev/input/event12
                    *-input:1
                         product: HDA ATI HDMI HDMI/DP,pcm=8
                         physical id: 1
                         logical name: input11
                         logical name: /dev/input/event14
                    *-input:2
                         product: HDA ATI HDMI HDMI/DP,pcm=9
                         physical id: 2
                         logical name: input12
                         logical name: /dev/input/event16
                    *-input:3
                         product: HDA ATI HDMI HDMI/DP,pcm=10
                         physical id: 3
                         logical name: input13
                         logical name: /dev/input/event17
                    *-input:4
                         product: HDA ATI HDMI HDMI/DP,pcm=3
                         physical id: 4
                         logical name: input9
                         logical name: /dev/input/event11
        *-pci:1
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:28 ioport:e000(size=4096) memory:80000000-804fffff
           *-pci
                description: PCI bridge
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:04:00.0
                version: 01
                width: 64 bits
                clock: 33MHz
                capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                configuration: driver=pcieport
                resources: iomemory:e1e10-e1e0f irq:24 ioport:e000(size=4096) memory:80000000-804fffff
              *-pci:0
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 0
                   bus info: pci@0000:05:00.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:34
              *-pci:1
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 4
                   bus info: pci@0000:05:04.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:35
              *-pci:2
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 5
                   bus info: pci@0000:05:05.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:37
              *-pci:3
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 6
                   bus info: pci@0000:05:06.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:39
              *-pci:4
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 7
                   bus info: pci@0000:05:07.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:41
              *-pci:5
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 8
                   bus info: pci@0000:05:08.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:42 ioport:e000(size=4096) memory:80000000-802fffff
                 *-pci
                      description: PCI bridge
                      product: Advanced Micro Devices, Inc. [AMD]
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0
                      bus info: pci@0000:0b:00.0
                      version: 01
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                      configuration: driver=pcieport
                      resources: irq:24 ioport:e000(size=4096) memory:80000000-802fffff
                    *-pci:0
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: 0
                         bus info: pci@0000:0c:00.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:1f10-1f0f irq:43
                    *-pci:1
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: 1
                         bus info: pci@0000:0c:01.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:1f10-1f0f irq:44
                    *-pci:2
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: 2
                         bus info: pci@0000:0c:02.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:1f10-1f0f irq:45
                    *-pci:3
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: 3
                         bus info: pci@0000:0c:03.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:e1e10-e1e0f irq:46 ioport:e000(size=4096) memory:80000000-800fffff
                       *-network
                            description: Ethernet interface
                            product: RTL8125 2.5GbE Controller
                            vendor: Realtek Semiconductor Co., Ltd.
                            physical id: 0
                            bus info: pci@0000:10:00.0
                            logical name: enp16s0
                            version: 05
                            serial: 9c:6b:00:01:fb:80
                            capacity: 1Gbit/s
                            width: 64 bits
                            clock: 33MHz
                            capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
                            configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.7.0-060700-generic duplex=full firmware=rtl8125b-2_0.0.2 07/13/20 ip=192.168.178.20 latency=0 link=yes multicast=yes port=twisted pair
                            resources: irq:40 ioport:e000(size=256) memory:80000000-8000ffff memory:80010000-80013fff
                    *-pci:4
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: 4
                         bus info: pci@0000:0c:04.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:1f10-1f0f irq:47
                    *-pci:5
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: 8
                         bus info: pci@0000:0c:08.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:1f10-1f0f irq:48
                    *-pci:6
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: a
                         bus info: pci@0000:0c:0a.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:1f10-1f0f irq:49
                    *-pci:7
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: b
                         bus info: pci@0000:0c:0b.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:1f10-1f0f irq:50
                    *-pci:8
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: c
                         bus info: pci@0000:0c:0c.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:f00-eff irq:24 memory:80100000-801fffff
                       *-usb
                            description: USB controller
                            product: Advanced Micro Devices, Inc. [AMD]
                            vendor: Advanced Micro Devices, Inc. [AMD]
                            physical id: 0
                            bus info: pci@0000:15:00.0
                            version: 01
                            width: 64 bits
                            clock: 33MHz
                            capabilities: msi msix pm pciexpress xhci bus_master cap_list
                            configuration: driver=xhci_hcd latency=0
                            resources: irq:24 memory:80100000-80107fff
                          *-usbhost:0
                               product: xHCI Host Controller
                               vendor: Linux 6.7.0-060700-generic xhci-hcd
                               physical id: 0
                               bus info: usb@1
                               logical name: usb1
                               version: 6.07
                               capabilities: usb-2.00
                               configuration: driver=hub slots=12 speed=480Mbit/s
                             *-usb:0
                                  description: Mouse
                                  product: USB Optical Mouse
                                  vendor: Logitech
                                  physical id: a
                                  bus info: usb@1:a
                                  version: 72.00
                                  capabilities: usb-2.00
                                  configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
                             *-usb:1
                                  description: Keyboard
                                  product: USB Keyboard
                                  vendor: CHICONY
                                  physical id: c
                                  bus info: usb@1:c
                                  version: 2.30
                                  capabilities: usb-2.00
                                  configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
                          *-usbhost:1
                               product: xHCI Host Controller
                               vendor: Linux 6.7.0-060700-generic xhci-hcd
                               physical id: 1
                               bus info: usb@2
                               logical name: usb2
                               version: 6.07
                               capabilities: usb-3.10
                               configuration: driver=hub slots=5 speed=10000Mbit/s
                    *-pci:9
                         description: PCI bridge
                         product: Advanced Micro Devices, Inc. [AMD]
                         vendor: Advanced Micro Devices, Inc. [AMD]
                         physical id: d
                         bus info: pci@0000:0c:0d.0
                         version: 01
                         width: 64 bits
                         clock: 33MHz
                         capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                         configuration: driver=pcieport
                         resources: iomemory:f00-eff irq:36 memory:80200000-802fffff
                       *-sata
                            description: SATA controller
                            product: Advanced Micro Devices, Inc. [AMD]
                            vendor: Advanced Micro Devices, Inc. [AMD]
                            physical id: 0
                            bus info: pci@0000:16:00.0
                            version: 01
                            width: 32 bits
                            clock: 33MHz
                            capabilities: sata msi pm pciexpress ahci_1.0 bus_master cap_list rom
                            configuration: driver=ahci latency=0
                            resources: irq:51 memory:80280000-802803ff memory:80200000-8027ffff
              *-pci:6
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: c
                   bus info: pci@0000:05:0c.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:24 memory:80300000-803fffff
                 *-usb
                      description: USB controller
                      product: Advanced Micro Devices, Inc. [AMD]
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0
                      bus info: pci@0000:17:00.0
                      version: 01
                      width: 64 bits
                      clock: 33MHz
                      capabilities: msi msix pm pciexpress xhci bus_master cap_list
                      configuration: driver=xhci_hcd latency=0
                      resources: irq:24 memory:80300000-80307fff
                    *-usbhost:0
                         product: xHCI Host Controller
                         vendor: Linux 6.7.0-060700-generic xhci-hcd
                         physical id: 0
                         bus info: usb@3
                         logical name: usb3
                         version: 6.07
                         capabilities: usb-2.00
                         configuration: driver=hub slots=12 speed=480Mbit/s
                    *-usbhost:1
                         product: xHCI Host Controller
                         vendor: Linux 6.7.0-060700-generic xhci-hcd
                         physical id: 1
                         bus info: usb@4
                         logical name: usb4
                         version: 6.07
                         capabilities: usb-3.10
                         configuration: driver=hub slots=5 speed=10000Mbit/s
              *-pci:7
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: d
                   bus info: pci@0000:05:0d.0
                   version: 01
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:36 memory:80400000-804fffff
                 *-sata
                      description: SATA controller
                      product: Advanced Micro Devices, Inc. [AMD]
                      vendor: Advanced Micro Devices, Inc. [AMD]
                      physical id: 0
                      bus info: pci@0000:18:00.0
                      logical name: scsi6
                      version: 01
                      width: 32 bits
                      clock: 33MHz
                      capabilities: sata msi pm pciexpress ahci_1.0 bus_master cap_list rom emulated
                      configuration: driver=ahci latency=0
                      resources: irq:54 memory:80480000-804803ff memory:80400000-8047ffff
                    *-disk
                         description: ATA Disk
                         product: ST2000DM008-2UB1
                         physical id: 0.0.0
                         bus info: scsi@6:0.0.0
                         logical name: /dev/sda
                         version: 0001
                         serial: ZK30FG74
                         size: 1863GiB (2TB)
                         capabilities: gpt-1.00 partitioned partitioned:gpt
                         configuration: ansiversion=5 guid=29f39dc2-d8c3-d545-8b64-faffe5410d9e logicalsectorsize=512 sectorsize=4096
                       *-volume:0
                            description: swap partition
                            vendor: Linux
                            physical id: 1
                            bus info: scsi@6:0.0.0,1
                            logical name: /dev/sda1
                            serial: 872163a6-51e8-a549-94e2-916ea5259fd5
                            capacity: 95GiB
                            capabilities: nofs
                       *-volume:1
                            description: EFI partition
                            physical id: 2
                            bus info: scsi@6:0.0.0,2
                            logical name: /dev/sda2
                            logical name: /cache
                            serial: 590bafdc-12b8-9443-aa0c-dc876bb12230
                            capacity: 511GiB
                            configuration: mount.fstype=btrfs mount.options=rw,relatime,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
                       *-volume:2
                            description: EFI partition
                            physical id: 3
                            bus info: scsi@6:0.0.0,3
                            logical name: /dev/sda3
                            logical name: /archive
                            serial: c6013753-d6e9-ba41-aa54-afb3ea3069cf
                            capacity: 1255GiB
                            configuration: mount.fstype=btrfs mount.options=rw,relatime,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
        *-pci:2
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.2
             bus info: pci@0000:00:02.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:29 memory:fcf00000-fcffffff
           *-nvme
                description: NVMe device
                product: Samsung SSD 980 1TB
                vendor: Samsung Electronics Co Ltd
                physical id: 0
                bus info: pci@0000:19:00.0
                logical name: /dev/nvme0
                version: 3B4QFXO7
                serial: S649NL0TC79124F
                width: 64 bits
                clock: 33MHz
                capabilities: nvme pm msi pciexpress msix nvm_express bus_master cap_list
                configuration: driver=nvme latency=0 nqn=nqn.1994-11.com.samsung:nvme:980M.2:S649NL0TC79124F state=live
                resources: irq:24 memory:fcf00000-fcf03fff
              *-namespace:0
                   description: NVMe disk
                   physical id: 0
                   logical name: hwmon0
              *-namespace:1
                   description: NVMe disk
                   physical id: 2
                   logical name: /dev/ng0n1
              *-namespace:2
                   description: NVMe disk
                   physical id: 1
                   bus info: nvme@0:1
                   logical name: /dev/nvme0n1
                   size: 931GiB (1TB)
                   capabilities: gpt-1.00 partitioned partitioned:gpt
                   configuration: guid=8ffb1787-5e1a-4fdd-abd3-80ef8eafec9a logicalsectorsize=512 sectorsize=512 wwid=eui.002538dc21a74668
                 *-volume:0
                      description: EXT4 volume
                      vendor: Linux
                      physical id: 1
                      bus info: nvme@0:1,1
                      logical name: /dev/nvme0n1p1
                      logical name: /boot
                      version: 1.0
                      serial: a4814207-8827-4b89-adcd-21899f72071b
                      size: 3905MiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                      configuration: created=2023-05-03 21:23:01 filesystem=ext4 lastmountpoint=/boot modified=2024-01-17 19:10:17 mount.fstype=ext4 mount.options=rw,relatime,stripe=32 mounted=2024-01-17 19:10:17 state=mounted
                 *-volume:1
                      description: Linux swap volume
                      vendor: Linux
                      physical id: 2
                      bus info: nvme@0:1,2
                      logical name: /dev/nvme0n1p2
                      version: 1
                      serial: 47e2238b-aa16-47c7-b96e-275b16dfc265
                      size: 30GiB
                      capacity: 30GiB
                      capabilities: nofs swap initialized
                      configuration: filesystem=swap pagesize=4095
                 *-volume:2
                      description: EFI partition
                      physical id: 3
                      bus info: nvme@0:1,3
                      logical name: /dev/nvme0n1p3
                      logical name: /usr
                      serial: d18d3275-7ca3-4db8-863a-f6a36fb63304
                      capacity: 30GiB
                      configuration: mount.fstype=btrfs mount.options=rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
                 *-volume:3
                      description: EFI partition
                      physical id: 4
                      bus info: nvme@0:1,4
                      logical name: /dev/nvme0n1p4
                      logical name: /usr/local
                      serial: a7018558-b67d-4807-bb5e-f65af509c34f
                      capacity: 30GiB
                      configuration: mount.fstype=btrfs mount.options=rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
                 *-volume:4
                      description: EXT4 volume
                      vendor: Linux
                      physical id: 5
                      bus info: nvme@0:1,5
                      logical name: /dev/nvme0n1p5
                      logical name: /var
                      version: 1.0
                      serial: 8f6cf2e5-aa47-49bc-b50f-fa8023306013
                      size: 15GiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                      configuration: created=2023-05-03 21:23:01 filesystem=ext4 lastmountpoint=/var modified=2024-01-17 19:13:04 mount.fstype=ext4 mount.options=rw,relatime,stripe=32 mounted=2024-01-17 19:13:04 state=mounted
                 *-volume:5
                      description: EXT4 volume
                      vendor: Linux
                      physical id: 6
                      bus info: nvme@0:1,6
                      logical name: /dev/nvme0n1p6
                      version: 1.0
                      serial: 1beece94-f1c3-4a45-afed-d33c35c04617
                      size: 15GiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized
                      configuration: created=2023-05-03 21:23:01 filesystem=ext4 lastmountpoint=/tmp modified=2023-09-30 14:49:13 mounted=2023-05-24 20:38:46 state=clean
                 *-volume:6
                      description: EFI partition
                      physical id: 7
                      bus info: nvme@0:1,7
                      logical name: /dev/nvme0n1p7
                      logical name: /home
                      serial: 39002ad8-36a0-4a01-97d4-7d8cbd94b8e4
                      capacity: 122GiB
                      configuration: mount.fstype=btrfs mount.options=rw,relatime,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/@home state=mounted
                 *-volume:7
                      description: EFI partition
                      physical id: 8
                      bus info: nvme@0:1,8
                      logical name: /dev/nvme0n1p8
                      logical name: /
                      serial: d7bccd5b-1070-40a4-824c-7f33e4ff440e
                      capacity: 7812MiB
                      configuration: mount.fstype=btrfs mount.options=rw,relatime,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/@ state=mounted
                 *-volume:8
                      description: EFI partition
                      physical id: 9
                      bus info: nvme@0:1,9
                      logical name: /dev/nvme0n1p9
                      logical name: /srv
                      serial: a87e71fd-11e9-4ef3-a1b7-a4966f65ecc9
                      capacity: 30GiB
                      configuration: mount.fstype=btrfs mount.options=rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
                 *-volume:9
                      description: EFI partition
                      physical id: a
                      bus info: nvme@0:1,10
                      logical name: /dev/nvme0n1p10
                      logical name: /opt
                      serial: ffcf44ce-12e0-42e7-9c50-01f2aa257914
                      capacity: 30GiB
                      configuration: mount.fstype=btrfs mount.options=rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
                 *-volume:10
                      description: EXT4 volume
                      vendor: Linux
                      physical id: b
                      bus info: nvme@0:1,11
                      logical name: /dev/nvme0n1p11
                      logical name: /var/log
                      version: 1.0
                      serial: bb53eb49-b161-4879-82c2-ab28079074f0
                      size: 30GiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                      configuration: created=2023-05-03 21:23:01 filesystem=ext4 lastmountpoint=/var/log modified=2024-01-17 19:13:04 mount.fstype=ext4 mount.options=rw,relatime,stripe=32 mounted=2024-01-17 19:13:04 state=mounted
                 *-volume:11
                      description: Windows FAT volume
                      vendor: mkfs.fat
                      physical id: c
                      bus info: nvme@0:1,12
                      logical name: /dev/nvme0n1p12
                      logical name: /boot/efi
                      version: FAT32
                      serial: 4951-9e27
                      size: 963MiB
                      capacity: 976MiB
                      capabilities: boot fat initialized
                      configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro state=mounted
                 *-volume:12
                      description: EFI partition
                      physical id: d
                      bus info: nvme@0:1,13
                      logical name: /dev/nvme0n1p13
                      serial: ed27c682-c896-4248-b923-c42cb7dc3fd7
                      capacity: 99GiB
        *-pci:3
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.1
             bus info: pci@0000:00:08.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:30 ioport:d000(size=4096) memory:fc700000-fcafffff ioport:fc20000000(size=270532608)
           *-display
                description: VGA compatible controller
                product: Advanced Micro Devices, Inc. [AMD/ATI]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:1a:00.0
                version: c1
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
                configuration: driver=amdgpu latency=0
                resources: iomemory:fc0-fbf iomemory:fc0-fbf irq:92 memory:fc20000000-fc2fffffff memory:fc30000000-fc301fffff ioport:d000(size=256) memory:fca00000-fca7ffff
           *-multimedia:0
                description: Audio device
                product: Advanced Micro Devices, Inc. [AMD/ATI]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0.1
                bus info: pci@0000:1a:00.1
                logical name: card1
                logical name: /dev/snd/controlC1
                logical name: /dev/snd/hwC1D0
                logical name: /dev/snd/pcmC1D3p
                logical name: /dev/snd/pcmC1D7p
                logical name: /dev/snd/pcmC1D8p
                logical name: /dev/snd/pcmC1D9p
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:115 memory:fca88000-fca8bfff
              *-input:0
                   product: HD-Audio Generic HDMI/DP,pcm=3
                   physical id: 0
                   logical name: input14
                   logical name: /dev/input/event9
              *-input:1
                   product: HD-Audio Generic HDMI/DP,pcm=7
                   physical id: 1
                   logical name: input15
                   logical name: /dev/input/event10
              *-input:2
                   product: HD-Audio Generic HDMI/DP,pcm=8
                   physical id: 2
                   logical name: input16
                   logical name: /dev/input/event13
              *-input:3
                   product: HD-Audio Generic HDMI/DP,pcm=9
                   physical id: 3
                   logical name: input17
                   logical name: /dev/input/event15
           *-generic
                description: Encryption controller
                product: VanGogh PSP/CCP
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:1a:00.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix bus_master cap_list
                configuration: driver=ccp latency=0
                resources: irq:109 memory:fc900000-fc9fffff memory:fca8c000-fca8dfff
           *-usb:0
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.3
                bus info: pci@0000:1a:00.3
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:83 memory:fc800000-fc8fffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 0
                   bus info: usb@5
                   logical name: usb5
                   version: 6.07
                   capabilities: usb-2.00
                   configuration: driver=hub slots=2 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 1
                   bus info: usb@6
                   logical name: usb6
                   version: 6.07
                   capabilities: usb-3.10
                   configuration: driver=hub slots=2 speed=10000Mbit/s
           *-usb:1
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.4
                bus info: pci@0000:1a:00.4
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:92 memory:fc700000-fc7fffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 0
                   bus info: usb@7
                   logical name: usb7
                   version: 6.07
                   capabilities: usb-2.00
                   configuration: driver=hub slots=2 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 1
                   bus info: usb@8
                   logical name: usb8
                   version: 6.07
                   capabilities: usb-3.10
                   configuration: driver=hub slots=2 speed=10000Mbit/s
           *-multimedia:1
                description: Audio device
                product: Family 17h (Models 10h-1fh) HD Audio Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.6
                bus info: pci@0000:1a:00.6
                logical name: card2
                logical name: /dev/snd/controlC2
                logical name: /dev/snd/hwC2D0
                logical name: /dev/snd/pcmC2D0c
                logical name: /dev/snd/pcmC2D0p
                logical name: /dev/snd/pcmC2D2c
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:116 memory:fca80000-fca87fff
              *-input:0
                   product: HD-Audio Generic Front Mic
                   physical id: 0
                   logical name: input18
                   logical name: /dev/input/event18
              *-input:1
                   product: HD-Audio Generic Rear Mic
                   physical id: 1
                   logical name: input19
                   logical name: /dev/input/event19
              *-input:2
                   product: HD-Audio Generic Line
                   physical id: 2
                   logical name: input20
                   logical name: /dev/input/event20
              *-input:3
                   product: HD-Audio Generic Line Out
                   physical id: 3
                   logical name: input21
                   logical name: /dev/input/event21
              *-input:4
                   product: HD-Audio Generic Front Headphone
                   physical id: 4
                   logical name: input22
                   logical name: /dev/input/event22
        *-pci:4
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.3
             bus info: pci@0000:00:08.3
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:31 memory:fce00000-fcefffff
           *-usb
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:1b:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:24 memory:fce00000-fcefffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 0
                   bus info: usb@9
                   logical name: usb9
                   version: 6.07
                   capabilities: usb-2.00
                   configuration: driver=hub slots=1 speed=480Mbit/s
                 *-usb
                      description: Human interface device
                      product: ASRock LED Controller
                      vendor: ASRock
                      physical id: 1
                      bus info: usb@9:1
                      logical name: input3
                      logical name: /dev/input/event3
                      logical name: /dev/input/js0
                      version: 0.00
                      serial: A02019100900
                      capabilities: usb-1.10 usb
                      configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 1
                   bus info: usb@10
                   logical name: usb10
                   version: 6.07
                   capabilities: usb-3.00
                   configuration: speed=5000Mbit/s
        *-serial
             description: SMBus
             product: FCH SMBus Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 71
             width: 32 bits
             clock: 66MHz
             configuration: driver=piix4_smbus latency=0
             resources: irq:0
        *-isa
             description: ISA bridge
             product: FCH LPC Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 51
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
           *-pnp00:00
                product: PnP device PNP0c01
                physical id: 0
                capabilities: pnp
                configuration: driver=system
           *-pnp00:01
                product: PnP device PNP0c02
                physical id: 1
                capabilities: pnp
                configuration: driver=system
           *-pnp00:02
                product: PnP device PNP0c02
                physical id: 2
                capabilities: pnp
                configuration: driver=system
           *-pnp00:03
                product: PnP device PNP0b00
                physical id: 3
                capabilities: pnp
                configuration: driver=rtc_cmos
           *-pnp00:04
                product: PnP device PNP0c02
                physical id: 4
                capabilities: pnp
                configuration: driver=system
           *-pnp00:05
                product: PnP device PNP0c02
                physical id: 5
                capabilities: pnp
                configuration: driver=system
     *-pci:1
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 101
          bus info: pci@0000:00:01.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 102
          bus info: pci@0000:00:02.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 103
          bus info: pci@0000:00:03.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 104
          bus info: pci@0000:00:04.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:5
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 105
          bus info: pci@0000:00:08.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:6
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 106
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:7
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 107
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:8
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 108
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:9
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 109
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=k10temp
          resources: irq:0
     *-pci:10
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10a
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:11
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10b
          bus info: pci@0000:00:18.5
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:12
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10c
          bus info: pci@0000:00:18.6
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:13
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10d
          bus info: pci@0000:00:18.7
          version: 00
          width: 32 bits
          clock: 33MHz
  *-input:0
       product: Power Button
       physical id: 1
       logical name: input0
       logical name: /dev/input/event0
       capabilities: platform
  *-input:1
       product: Power Button
       physical id: 2
       logical name: input1
       logical name: /dev/input/event1
       capabilities: platform
  *-input:2
       product: Video Bus
       physical id: 3
       logical name: input2
       logical name: /dev/input/event2
       capabilities: platform
  *-input:3
       product: Logitech USB Optical Mouse
       physical id: 4
       logical name: input4
       logical name: /dev/input/event4
       logical name: /dev/input/mouse0
       capabilities: usb
  *-input:4
       product: CHICONY USB Keyboard
       physical id: 5
       logical name: input5
       logical name: /dev/input/event5
       logical name: input5::capslock
       logical name: input5::numlock
       logical name: input5::scrolllock
       capabilities: usb
  *-input:5
       product: CHICONY USB Keyboard System Control
       physical id: 6
       logical name: input6
       logical name: /dev/input/event6
       capabilities: usb
  *-input:6
       product: CHICONY USB Keyboard Consumer Control
       physical id: 7
       logical name: input7
       logical name: /dev/input/event7
       capabilities: usb
  *-input:7
       product: CHICONY USB Keyboard
       physical id: 8
       logical name: input8
       logical name: /dev/input/event8
       capabilities: usb

[-- Attachment #3: lshw-ryzen-7.txt --]
[-- Type: text/plain, Size: 38850 bytes --]

stargazer
    description: Desktop Computer
    product: OMEN 25L Desktop GT11-1xxx (592Y2EA#BED)
    vendor: HP
    serial: 8CG1454NC9
    width: 64 bits
    capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32
    configuration: boot=normal chassis=desktop family=103C_53311M OMEN sku=592Y2EA#BED uuid=43424c98-4273-11ec-81b1-c89402b44ffc
  *-core
       description: Motherboard
       product: 8876
       vendor: HP
       physical id: 0
       version: 11
       serial: PLZYT0L0GFVBED
     *-firmware
          description: BIOS
          vendor: AMI
          physical id: 0
          version: F.16
          date: 05/04/2023
          size: 64KiB
          capacity: 16MiB
          capabilities: pci pnp upgrade shadowing cdboot bootselect edd acpi biosbootspecification netboot uefi
     *-memory
          description: System Memory
          physical id: 1f
          slot: System board or motherboard
          size: 64GiB
        *-bank:0
             description: DIMM [empty]
             product: Unknown
             vendor: Unknown
             physical id: 0
             serial: Unknown
             slot: DIMM 4
        *-bank:1
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3200 MHz (0.3 ns)
             product: CT32G4DFD832A.M16FF
             vendor: Unknown
             physical id: 1
             serial: E7FF5F5B
             slot: DIMM 3
             size: 32GiB
             width: 64 bits
             clock: 3200MHz (0.3ns)
        *-bank:2
             description: DIMM [empty]
             product: Unknown
             vendor: Unknown
             physical id: 2
             serial: Unknown
             slot: DIMM 2
        *-bank:3
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3200 MHz (0.3 ns)
             product: CT32G4DFD832A.M16FF
             vendor: Unknown
             physical id: 3
             serial: E7FF573C
             slot: DIMM 1
             size: 32GiB
             width: 64 bits
             clock: 3200MHz (0.3ns)
     *-cache:0
          description: L1 cache
          physical id: 21
          slot: L1 - Cache
          size: 512KiB
          capacity: 512KiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 22
          slot: L2 - Cache
          size: 4MiB
          capacity: 4MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=2
     *-cache:2
          description: L3 cache
          physical id: 23
          slot: L3 - Cache
          size: 16MiB
          capacity: 16MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=3
     *-cpu
          description: CPU
          product: AMD Ryzen 7 5700G with Radeon Graphics
          vendor: Advanced Micro Devices [AMD]
          physical id: 24
          bus info: cpu@0
          version: 25.80.0
          serial: Unknown
          slot: AM4
          size: 3661MHz
          capacity: 4673MHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm debug_swap cpufreq
          configuration: cores=8 enabledcores=8 microcode=173015053 threads=16
     *-pci:0
          description: Host bridge
          product: Renoir/Cezanne Root Complex
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
        *-generic UNCLAIMED
             description: IOMMU
             product: Renoir/Cezanne IOMMU
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 0.2
             bus info: pci@0000:00:00.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: msi ht bus_master cap_list
             configuration: latency=0
        *-pci:0
             description: PCI bridge
             product: Renoir PCIe GPP Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1.1
             bus info: pci@0000:00:01.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:36 ioport:f000(size=4096) memory:fb000000-fc0fffff ioport:7c00000000(size=8623489024)
           *-display UNCLAIMED
                description: VGA compatible controller
                product: GA106 [Geforce RTX 3050]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller cap_list
                configuration: latency=0
                resources: iomemory:7c0-7bf iomemory:7e0-7df memory:fb000000-fbffffff memory:7c00000000-7dffffffff memory:7e00000000-7e01ffffff ioport:f000(size=128) memory:fc000000-fc07ffff
           *-multimedia
                description: Audio device
                product: GA106 High Definition Audio Controller
                vendor: NVIDIA Corporation
                physical id: 0.1
                bus info: pci@0000:01:00.1
                logical name: card0
                logical name: /dev/snd/controlC0
                logical name: /dev/snd/hwC0D0
                logical name: /dev/snd/pcmC0D3p
                logical name: /dev/snd/pcmC0D7p
                logical name: /dev/snd/pcmC0D8p
                logical name: /dev/snd/pcmC0D9p
                version: a1
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:84 memory:fc080000-fc083fff
              *-input:0
                   product: HDA NVidia HDMI/DP,pcm=8
                   physical id: 0
                   logical name: input10
                   logical name: /dev/input/event10
              *-input:1
                   product: HDA NVidia HDMI/DP,pcm=9
                   physical id: 1
                   logical name: input11
                   logical name: /dev/input/event11
              *-input:2
                   product: HDA NVidia HDMI/DP,pcm=3
                   physical id: 2
                   logical name: input8
                   logical name: /dev/input/event8
              *-input:3
                   product: HDA NVidia HDMI/DP,pcm=7
                   physical id: 3
                   logical name: input9
                   logical name: /dev/input/event9
        *-pci:1
             description: PCI bridge
             product: Renoir/Cezanne PCIe GPP Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:37 ioport:d000(size=8192) memory:fc600000-fc8fffff
           *-usb
                description: USB controller
                product: 500 Series Chipset USB 3.1 XHCI Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:02:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: msi msix pm pciexpress xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:41 memory:fc8a0000-fc8a7fff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 0
                   bus info: usb@1
                   logical name: usb1
                   version: 6.07
                   capabilities: usb-2.00
                   configuration: driver=hub slots=10 speed=480Mbit/s
                 *-usb:0
                      description: Mouse
                      product: PixArt HP 310 USB Optical Mouse
                      vendor: PixArt
                      physical id: 5
                      bus info: usb@1:5
                      logical name: input2
                      logical name: /dev/input/event2
                      logical name: /dev/input/mouse0
                      version: 1.00
                      capabilities: usb-2.00 usb
                      configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
                 *-usb:1
                      description: Keyboard
                      product: HP 310 Wired Keyboard Consumer Control
                      physical id: 6
                      bus info: usb@1:6
                      logical name: input3
                      logical name: /dev/input/event3
                      logical name: input3::capslock
                      logical name: input3::numlock
                      logical name: input3::scrolllock
                      logical name: input4
                      logical name: /dev/input/event4
                      logical name: input5
                      logical name: /dev/input/event5
                      version: 1.13
                      capabilities: usb-1.10 usb
                      configuration: driver=usbhid maxpower=98mA speed=2Mbit/s
                 *-usb:2
                      description: Bluetooth wireless interface
                      product: Bluetooth Radio
                      vendor: Realtek
                      physical id: 7
                      bus info: usb@1:7
                      version: 0.00
                      serial: 00e04c000001
                      capabilities: bluetooth usb-1.00
                      configuration: driver=btusb maxpower=500mA speed=12Mbit/s
                 *-usb:3
                      description: Human interface device
                      product: HP TracerLED
                      vendor: HP
                      physical id: 8
                      bus info: usb@1:8
                      logical name: input6
                      logical name: /dev/input/event6
                      version: 0.00
                      serial: A02018061300
                      capabilities: usb-1.10 usb
                      configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 1
                   bus info: usb@2
                   logical name: usb2
                   version: 6.07
                   capabilities: usb-3.10
                   configuration: driver=hub slots=4 speed=10000Mbit/s
           *-sata
                description: SATA controller
                product: 500 Series Chipset SATA Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.1
                bus info: pci@0000:02:00.1
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: sata msi pm pciexpress ahci_1.0 bus_master cap_list rom
                configuration: driver=ahci latency=0
                resources: irq:45 memory:fc880000-fc89ffff memory:fc800000-fc87ffff
           *-pci
                description: PCI bridge
                product: 500 Series Chipset Switch Upstream Port
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:02:00.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                configuration: driver=pcieport
                resources: irq:40 ioport:d000(size=8192) memory:fc600000-fc7fffff
              *-pci:0
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 8
                   bus info: pci@0000:03:08.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:42 ioport:e000(size=4096) memory:fc700000-fc7fffff
                 *-network
                      description: Wireless interface
                      product: RTL8822CE 802.11ac PCIe Wireless Network Adapter
                      vendor: Realtek Semiconductor Co., Ltd.
                      physical id: 0
                      bus info: pci@0000:04:00.0
                      logical name: wlp4s0
                      version: 00
                      serial: c8:94:02:b4:4f:fb
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                      configuration: broadcast=yes driver=rtw_8822ce driverversion=6.7.0-060700-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
                      resources: irq:83 ioport:e000(size=256) memory:fc700000-fc70ffff
              *-pci:1
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 9
                   bus info: pci@0000:03:09.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:44 ioport:d000(size=4096) memory:fc600000-fc6fffff
                 *-network
                      description: Ethernet interface
                      product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                      vendor: Realtek Semiconductor Co., Ltd.
                      physical id: 0
                      bus info: pci@0000:05:00.0
                      logical name: enp5s0
                      version: 16
                      serial: 6c:02:e0:44:e0:ed
                      size: 1Gbit/s
                      capacity: 1Gbit/s
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
                      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.7.0-060700-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=10.0.1.190 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
                      resources: irq:43 ioport:d000(size=256) memory:fc604000-fc604fff memory:fc600000-fc603fff
        *-pci:2
             description: PCI bridge
             product: Renoir/Cezanne PCIe GPP Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.2
             bus info: pci@0000:00:02.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:38 memory:c0000000-c06fffff
           *-nvme
                description: NVMe device
                product: Lexar SSD NM710 1TB
                vendor: Shenzhen Longsys Electronics Co., Ltd.
                physical id: 0
                bus info: pci@0000:06:00.0
                logical name: /dev/nvme0
                version: 8212
                serial: MMC8362000503P2200
                width: 64 bits
                clock: 33MHz
                capabilities: nvme pm msi pciexpress msix nvm_express bus_master cap_list
                configuration: driver=nvme latency=0 nqn=nqn.2014.08.org.nvmexpress:1d971d97MMC8362000503P2200  Lexar SSD NM710 1TB state=live
                resources: irq:46 memory:c0600000-c0603fff memory:c0604000-c060ffff memory:c0000000-c02fffff memory:c0300000-c05fffff
              *-namespace:0
                   description: NVMe disk
                   physical id: 0
                   logical name: hwmon1
              *-namespace:1
                   description: NVMe disk
                   physical id: 2
                   logical name: /dev/ng0n1
              *-namespace:2
                   description: NVMe disk
                   physical id: 1
                   bus info: nvme@0:1
                   logical name: /dev/nvme0n1
                   size: 931GiB (1TB)
                   capabilities: gpt-1.00 partitioned partitioned:gpt
                   configuration: guid=0f891308-5858-9090-8081-828310111213 logicalsectorsize=512 sectorsize=512 wwid=eui.0000000622120836caf25b02a00002e9
                 *-volume:0
                      description: reserved partition
                      vendor: Windows
                      physical id: 1
                      bus info: nvme@0:1,1
                      logical name: /dev/nvme0n1p1
                      serial: 23f1fc9b-6465-43cc-8f7c-36ebb489ed8b
                      capacity: 127MiB
                      capabilities: nofs
                 *-volume:1
                      description: Windows FAT volume
                      vendor: MSDOS5.0
                      physical id: 2
                      bus info: nvme@0:1,2
                      logical name: /dev/nvme0n1p2
                      logical name: /boot/efi
                      version: FAT32
                      serial: 1753-ab74
                      size: 258MiB
                      capacity: 259MiB
                      capabilities: boot fat initialized
                      configuration: FATs=2 filesystem=fat label=SYSTEM mount.fstype=vfat mount.options=rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro name=EFI System Partition state=mounted
                 *-volume:2
                      description: Windows NTFS volume
                      vendor: Windows
                      physical id: 3
                      bus info: nvme@0:1,3
                      logical name: /dev/nvme0n1p3
                      version: 3.1
                      serial: f4fa4d07-c557-054c-82a1-05e0918153a8
                      size: 439GiB
                      capacity: 439GiB
                      capabilities: ntfs initialized
                      configuration: clustersize=4096 created=2022-11-02 09:41:50 filesystem=ntfs label=Windows state=clean
                 *-volume:3
                      description: Windows NTFS volume
                      vendor: Windows
                      physical id: 4
                      bus info: nvme@0:1,4
                      logical name: /dev/nvme0n1p4
                      version: 3.1
                      serial: d5da-bc68
                      size: 1008MiB
                      capacity: 1022MiB
                      capabilities: boot ntfs initialized
                      configuration: clustersize=4096 created=2022-11-02 09:41:52 filesystem=ntfs label=Recovery state=clean
                 *-volume:4
                      description: EXT4 volume
                      vendor: Linux
                      physical id: 5
                      bus info: nvme@0:1,5
                      logical name: /dev/nvme0n1p5
                      logical name: /boot
                      version: 1.0
                      serial: e23598ce-d47f-4289-8519-44f7c3e0e5a0
                      size: 4GiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                      configuration: created=2024-01-11 10:36:30 filesystem=ext4 lastmountpoint=/boot modified=2024-01-17 11:26:14 mount.fstype=ext4 mount.options=rw,relatime mounted=2024-01-17 11:26:14 state=mounted
                 *-volume:5
                      description: EXT4 volume
                      vendor: Linux
                      physical id: 6
                      bus info: nvme@0:1,6
                      logical name: /dev/nvme0n1p6
                      version: 1.0
                      serial: 364ca255-bbee-4806-b85d-ae1e4c9a3e4d
                      size: 4GiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized
                      configuration: created=2024-01-09 16:05:15 filesystem=ext4 lastmountpoint=/boot modified=2024-01-11 08:57:56 mounted=2024-01-11 08:55:56 state=clean
                 *-volume:6
                      description: EFI partition
                      physical id: 7
                      bus info: nvme@0:1,7
                      logical name: /dev/nvme0n1p7
                      serial: da71e8eb-9132-4695-808b-7d8dc0eabe9d
                      capacity: 242GiB
                 *-volume:7
                      description: Linux swap volume
                      vendor: Linux
                      physical id: 8
                      bus info: nvme@0:1,8
                      logical name: /dev/nvme0n1p8
                      version: 1
                      serial: b8aa7284-51c1-4e74-a596-d7593594d2a5
                      size: 31GiB
                      capacity: 31GiB
                      capabilities: nofs swap initialized
                      configuration: filesystem=swap pagesize=4095
                 *-volume:8
                      description: EFI partition
                      physical id: 9
                      bus info: nvme@0:1,9
                      logical name: /dev/nvme0n1p9
                      logical name: /usr
                      logical name: /var/snap/firefox/common/host-hunspell
                      serial: 45b22c2f-b2fb-4830-8887-283087526d9b
                      capacity: 31GiB
                      configuration: mount.fstype=btrfs mount.options=ro,noexec,noatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
                 *-volume:9
                      description: EFI partition
                      physical id: a
                      bus info: nvme@0:1,10
                      logical name: /dev/nvme0n1p10
                      logical name: /usr/local
                      serial: 7d0729f5-12b7-4efe-8c95-6d48e682f832
                      capacity: 8191MiB
                      configuration: mount.fstype=btrfs mount.options=rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
                 *-volume:10
                      description: EXT4 volume
                      vendor: Linux
                      physical id: b
                      bus info: nvme@0:1,11
                      logical name: /dev/nvme0n1p11
                      logical name: /var
                      version: 1.0
                      serial: cff3442f-69bc-40ed-b05f-a99d2f617e87
                      size: 8GiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                      configuration: created=2024-01-11 10:36:38 filesystem=ext4 lastmountpoint=/var modified=2024-01-17 18:48:42 mount.fstype=ext4 mount.options=rw,relatime mounted=2024-01-17 11:26:14 state=mounted
                 *-volume:11
                      description: EXT4 volume
                      vendor: Linux
                      physical id: c
                      bus info: nvme@0:1,12
                      logical name: /dev/nvme0n1p12
                      logical name: /var/log
                      version: 1.0
                      serial: 2bccf17c-064e-45b7-aee1-242368d5753b
                      size: 16GiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                      configuration: created=2024-01-11 10:36:33 filesystem=ext4 lastmountpoint=/var/log modified=2024-01-17 18:29:12 mount.fstype=ext4 mount.options=rw,relatime mounted=2024-01-17 11:26:14 state=mounted
                 *-volume:12
                      description: EXT4 volume
                      vendor: Linux
                      physical id: d
                      bus info: nvme@0:1,13
                      logical name: /dev/nvme0n1p13
                      logical name: /
                      version: 1.0
                      serial: d53f9193-693c-4e7f-8784-aa35524495e9
                      size: 4GiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                      configuration: created=2024-01-11 10:36:35 filesystem=ext4 lastmountpoint=/ modified=2024-01-17 18:15:15 mount.fstype=ext4 mount.options=rw,relatime mounted=2024-01-17 11:26:13 state=mounted
                 *-volume:13
                      description: EFI partition
                      physical id: e
                      bus info: nvme@0:1,14
                      logical name: /dev/nvme0n1p14
                      logical name: /home
                      serial: 7d062f1e-408f-4a6d-9795-3ba38cc2dc65
                      capacity: 132GiB
                      configuration: mount.fstype=btrfs mount.options=rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
        *-pci:3
             description: PCI bridge
             product: Renoir Internal PCIe GPP Bridge to Bus
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.1
             bus info: pci@0000:00:08.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:39 memory:fc200000-fc5fffff
           *-generic:0 UNCLAIMED
                description: Non-Essential Instrumentation
                product: Zeppelin/Raven/Raven2 PCIe Dummy Function
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:07:00.0
                version: c8
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress cap_list
                configuration: latency=0
           *-generic:1
                description: Encryption controller
                product: Family 17h (Models 10h-1fh) Platform Security Processor
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:07:00.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix bus_master cap_list
                configuration: driver=ccp latency=0
                resources: irq:41 memory:fc400000-fc4fffff memory:fc508000-fc509fff
           *-usb:0
                description: USB controller
                product: Renoir/Cezanne USB 3.1
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.3
                bus info: pci@0000:07:00.3
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:43 memory:fc300000-fc3fffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 0
                   bus info: usb@3
                   logical name: usb3
                   version: 6.07
                   capabilities: usb-2.00
                   configuration: driver=hub slots=4 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 1
                   bus info: usb@4
                   logical name: usb4
                   version: 6.07
                   capabilities: usb-3.10
                   configuration: driver=hub slots=2 speed=10000Mbit/s
           *-usb:1
                description: USB controller
                product: Renoir/Cezanne USB 3.1
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.4
                bus info: pci@0000:07:00.4
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:40 memory:fc200000-fc2fffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 0
                   bus info: usb@5
                   logical name: usb5
                   version: 6.07
                   capabilities: usb-2.00
                   configuration: driver=hub slots=4 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 6.7.0-060700-generic xhci-hcd
                   physical id: 1
                   bus info: usb@6
                   logical name: usb6
                   version: 6.07
                   capabilities: usb-3.10
                   configuration: driver=hub slots=2 speed=10000Mbit/s
           *-multimedia
                description: Audio device
                product: Family 17h/19h HD Audio Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.6
                bus info: pci@0000:07:00.6
                logical name: card1
                logical name: /dev/snd/controlC1
                logical name: /dev/snd/hwC1D0
                logical name: /dev/snd/pcmC1D0c
                logical name: /dev/snd/pcmC1D0p
                logical name: /dev/snd/pcmC1D2c
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:85 memory:fc500000-fc507fff
              *-input:0
                   product: HD-Audio Generic Rear Mic
                   physical id: 0
                   logical name: input12
                   logical name: /dev/input/event12
              *-input:1
                   product: HD-Audio Generic Front Mic
                   physical id: 1
                   logical name: input13
                   logical name: /dev/input/event13
              *-input:2
                   product: HD-Audio Generic Mic
                   physical id: 2
                   logical name: input14
                   logical name: /dev/input/event14
              *-input:3
                   product: HD-Audio Generic Line
                   physical id: 3
                   logical name: input15
                   logical name: /dev/input/event15
              *-input:4
                   product: HD-Audio Generic Line Out
                   physical id: 4
                   logical name: input16
                   logical name: /dev/input/event16
              *-input:5
                   product: HD-Audio Generic Front Headphone
                   physical id: 5
                   logical name: input17
                   logical name: /dev/input/event17
        *-serial
             description: SMBus
             product: FCH SMBus Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 51
             width: 32 bits
             clock: 66MHz
             configuration: driver=piix4_smbus latency=0
             resources: irq:0
        *-isa
             description: ISA bridge
             product: FCH LPC Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 51
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
           *-pnp00:00
                product: PnP device PNP0c01
                physical id: 0
                capabilities: pnp
                configuration: driver=system
           *-pnp00:01
                product: PnP device PNP0c02
                physical id: 1
                capabilities: pnp
                configuration: driver=system
           *-pnp00:02
                product: PnP device PNP0b00
                physical id: 2
                capabilities: pnp
                configuration: driver=rtc_cmos
           *-pnp00:03
                product: PnP device PNP0c02
                physical id: 3
                capabilities: pnp
                configuration: driver=system
     *-pci:1
          description: Host bridge
          product: Renoir PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 101
          bus info: pci@0000:00:01.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Renoir PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 102
          bus info: pci@0000:00:02.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Renoir PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 103
          bus info: pci@0000:00:08.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Cezanne Data Fabric; Function 0
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 104
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:5
          description: Host bridge
          product: Cezanne Data Fabric; Function 1
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 105
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:6
          description: Host bridge
          product: Cezanne Data Fabric; Function 2
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 106
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:7
          description: Host bridge
          product: Cezanne Data Fabric; Function 3
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 107
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=k10temp
          resources: irq:0
     *-pci:8
          description: Host bridge
          product: Cezanne Data Fabric; Function 4
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 108
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:9
          description: Host bridge
          product: Cezanne Data Fabric; Function 5
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 109
          bus info: pci@0000:00:18.5
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:10
          description: Host bridge
          product: Cezanne Data Fabric; Function 6
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10a
          bus info: pci@0000:00:18.6
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:11
          description: Host bridge
          product: Cezanne Data Fabric; Function 7
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10b
          bus info: pci@0000:00:18.7
          version: 00
          width: 32 bits
          clock: 33MHz
  *-power UNCLAIMED
       description: To Be Filled By O.E.M.
       product: Standard Efficiency
       vendor: To Be Filled By O.E.M.
       physical id: 1
       version: To Be Filled By O.E.M.
       serial: To Be Filled By O.E.M.
       capacity: 32768mWh
  *-graphics
       product: EFI VGA
       physical id: 2
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=1920,1080
  *-input:0
       product: Power Button
       physical id: 3
       logical name: input0
       logical name: /dev/input/event0
       capabilities: platform
  *-input:1
       product: Video Bus
       physical id: 4
       logical name: input1
       logical name: /dev/input/event1
       capabilities: platform
  *-input:2
       product: HP WMI hotkeys
       physical id: 5
       logical name: input7
       logical name: /dev/input/event7
       capabilities: platform

[-- Attachment #4: config-6.7.0-initrd-02743-gca6c080eef42.xz --]
[-- Type: application/x-xz, Size: 58588 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG][BISECTED] Freeze at loading init ramdisk
  2024-01-17 18:47 ` [BUG][BISECTED] Freeze at loading init ramdisk Mirsad Todorovac
@ 2024-01-18  7:45   ` Uwe Kleine-König
  2024-01-18 20:04     ` Mirsad Todorovac
  2024-01-20 11:25   ` Bagas Sanjaya
  1 sibling, 1 reply; 9+ messages in thread
From: Uwe Kleine-König @ 2024-01-18  7:45 UTC (permalink / raw)
  To: Mirsad Todorovac
  Cc: Linux Kernel Mailing List, Helge Deller, James E.J. Bottomley,
	Ard Biesheuvel, Arnd Bergmann, Greg Kroah-Hartman, Hans de Goede,
	Huacai Chen, Javier Martinez Canillas, Linus Walleij,
	Prathu Baronia, Sam Ravnborg, Sui Jingfeng, Thomas Zimmermann,
	dri-devel, linux-fbdev, linux-parisc

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

Hello Mirsad,

On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote:
> On 1/16/24 01:32, Mirsad Todorovac wrote:
> > On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
> > freezes upon first two lines and before any systemd messages.
> > 
> > (Please find the config attached.)
> > 
> > Bisecting the bug led to this result:
> > 
> > marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
> > d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
> > commit d97a78423c33f68ca6543de510a409167baed6f5
> > Merge: 61da593f4458 689237ab37c5
> > Author: Linus Torvalds <torvalds@linux-foundation.org>
> > Date:   Fri Jan 12 14:38:08 2024 -0800
> > 
> > [...]
> > 
> > Hope this helps.
> 
> P.S.
> 
> As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
> bisect further to determine the culprit.

Actually it's not that hard. If a merge commit is the first bad commit
for a bisection, either the merge wasn't done correctly (less likely,
looking at d97a78423c33f68ca6543de510a409167baed6f5 I'd bet this isn't
the problem); or changes on different sides conflict or you did
something wrong during bisection.

To rule out the third option, you can just retest d97a78423c33,
61da593f4458 and 689237ab37c5. If d97a78423c33 is the only bad one, you
did it right.

Then to further debug the second option you can find out the offending
commit on each side with a bisection as follows, here for the RHS (i.e.
689237ab37c5):

	git bisect start 689237ab37c5 $(git merge-base 61da593f4458 689237ab37c5)

and then in each bisection step do:

	git merge --no-commit 61da593f4458
	test if the problem is present
	git reset --hard
	git bisect good/bad

In this case you get merge conflicts in drivers/video/fbdev/amba-clcd.c
and drivers/video/fbdev/vermilion/vermilion.c. In the assumption that
you don't have these enabled in your .config, you can just ignore these.

Side note: A problem during bisection can be that the .config changes
along the process. You should put your config into (say)
arch/x86/configs/lala_defconfig and do

	make lala_defconfig

before building each step to prevent this.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG][BISECTED] Freeze at loading init ramdisk
  2024-01-18  7:45   ` Uwe Kleine-König
@ 2024-01-18 20:04     ` Mirsad Todorovac
  2024-01-18 21:14       ` Uwe Kleine-König
  2024-01-22 10:20       ` Uwe Kleine-König
  0 siblings, 2 replies; 9+ messages in thread
From: Mirsad Todorovac @ 2024-01-18 20:04 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Linux Kernel Mailing List, Helge Deller, James E.J. Bottomley,
	Ard Biesheuvel, Arnd Bergmann, Greg Kroah-Hartman, Hans de Goede,
	Huacai Chen, Javier Martinez Canillas, Linus Walleij,
	Prathu Baronia, Sam Ravnborg, Sui Jingfeng, Thomas Zimmermann,
	dri-devel, linux-fbdev, linux-parisc



On 1/18/24 08:45, Uwe Kleine-König wrote:
> Hello Mirsad,
> 
> On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote:
>> On 1/16/24 01:32, Mirsad Todorovac wrote:
>>> On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
>>> freezes upon first two lines and before any systemd messages.
>>>
>>> (Please find the config attached.)
>>>
>>> Bisecting the bug led to this result:
>>>
>>> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
>>> d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
>>> commit d97a78423c33f68ca6543de510a409167baed6f5
>>> Merge: 61da593f4458 689237ab37c5
>>> Author: Linus Torvalds <torvalds@linux-foundation.org>
>>> Date:   Fri Jan 12 14:38:08 2024 -0800
>>>
>>> [...]
>>>
>>> Hope this helps.
>>
>> P.S.
>>
>> As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
>> bisect further to determine the culprit.
> 
> Actually it's not that hard. If a merge commit is the first bad commit
> for a bisection, either the merge wasn't done correctly (less likely,
> looking at d97a78423c33f68ca6543de510a409167baed6f5 I'd bet this isn't
> the problem); or changes on different sides conflict or you did
> something wrong during bisection.
> 
> To rule out the third option, you can just retest d97a78423c33,
> 61da593f4458 and 689237ab37c5. If d97a78423c33 is the only bad one, you
> did it right.

This was confirmed.

> Then to further debug the second option you can find out the offending
> commit on each side with a bisection as follows, here for the RHS (i.e.
> 689237ab37c5):
> 
> 	git bisect start 689237ab37c5 $(git merge-base 61da593f4458 689237ab37c5)
> 
> and then in each bisection step do:
> 
> 	git merge --no-commit 61da593f4458
> 	test if the problem is present
> 	git reset --hard
> 	git bisect good/bad
> 
> In this case you get merge conflicts in drivers/video/fbdev/amba-clcd.c
> and drivers/video/fbdev/vermilion/vermilion.c. In the assumption that
> you don't have these enabled in your .config, you can just ignore these.
> 
> Side note: A problem during bisection can be that the .config changes
> along the process. You should put your config into (say)
> arch/x86/configs/lala_defconfig and do
> 
> 	make lala_defconfig
> 
> before building each step to prevent this.

I must have done something wrong:

marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect log
# bad: [689237ab37c59b9909bc9371d7fece3081683fba] fbdev/intelfb: Remove driver
# good: [de927f6c0b07d9e698416c5b287c521b07694cac] Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
git bisect start '689237ab37c5' 'de927f6c0b07d9e698416c5b287c521b07694cac'
# good: [d9f25b59ed85ae45801cf45fe17eb269b0ef3038] fbdev: Remove support for Carillo Ranch driver
git bisect good d9f25b59ed85ae45801cf45fe17eb269b0ef3038
# good: [e2e0b838a1849f92612a8305c09aaf31bf824350] video/sticore: Remove info field from STI struct
git bisect good e2e0b838a1849f92612a8305c09aaf31bf824350
# good: [778e73d2411abc8f3a2d60dbf038acaec218792e] drm/hyperv: Remove firmware framebuffers with aperture helper
git bisect good 778e73d2411abc8f3a2d60dbf038acaec218792e
# good: [df67699c9cb0ceb70f6cc60630ca938c06773eda] firmware/sysfb: Clear screen_info state after consuming it
git bisect good df67699c9cb0ceb70f6cc60630ca938c06773eda
marvin@defiant:~/linux/kernel/linux_torvalds$

with the error:

marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
Bisecting: 0 revisions left to test after this (roughly 0 steps)
drivers/video/fbdev/amba-clcd.c: needs merge
drivers/video/fbdev/vermilion/vermilion.c: needs merge
error: you need to resolve your current index first
marvin@defiant:~/linux/kernel/linux_torvalds$

Best regards,
Mirsad

> Best regards
> Uwe
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG][BISECTED] Freeze at loading init ramdisk
  2024-01-18 20:04     ` Mirsad Todorovac
@ 2024-01-18 21:14       ` Uwe Kleine-König
  2024-01-18 21:44         ` Mirsad Todorovac
  2024-01-22 10:20       ` Uwe Kleine-König
  1 sibling, 1 reply; 9+ messages in thread
From: Uwe Kleine-König @ 2024-01-18 21:14 UTC (permalink / raw)
  To: Mirsad Todorovac
  Cc: Linux Kernel Mailing List, Helge Deller, James E.J. Bottomley,
	Ard Biesheuvel, Arnd Bergmann, Greg Kroah-Hartman, Hans de Goede,
	Huacai Chen, Javier Martinez Canillas, Linus Walleij,
	Prathu Baronia, Sam Ravnborg, Sui Jingfeng, Thomas Zimmermann,
	dri-devel, linux-fbdev, linux-parisc

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

On Thu, Jan 18, 2024 at 09:04:05PM +0100, Mirsad Todorovac wrote:
> 
> 
> On 1/18/24 08:45, Uwe Kleine-König wrote:
> > Hello Mirsad,
> > 
> > On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote:
> > > On 1/16/24 01:32, Mirsad Todorovac wrote:
> > > > On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
> > > > freezes upon first two lines and before any systemd messages.
> > > > 
> > > > (Please find the config attached.)
> > > > 
> > > > Bisecting the bug led to this result:
> > > > 
> > > > marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
> > > > d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
> > > > commit d97a78423c33f68ca6543de510a409167baed6f5
> > > > Merge: 61da593f4458 689237ab37c5
> > > > Author: Linus Torvalds <torvalds@linux-foundation.org>
> > > > Date:   Fri Jan 12 14:38:08 2024 -0800
> > > > 
> > > > [...]
> > > > 
> > > > Hope this helps.
> > > 
> > > P.S.
> > > 
> > > As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
> > > bisect further to determine the culprit.
> > 
> > Actually it's not that hard. If a merge commit is the first bad commit
> > for a bisection, either the merge wasn't done correctly (less likely,
> > looking at d97a78423c33f68ca6543de510a409167baed6f5 I'd bet this isn't
> > the problem); or changes on different sides conflict or you did
> > something wrong during bisection.
> > 
> > To rule out the third option, you can just retest d97a78423c33,
> > 61da593f4458 and 689237ab37c5. If d97a78423c33 is the only bad one, you
> > did it right.
> 
> This was confirmed.
> 
> > Then to further debug the second option you can find out the offending
> > commit on each side with a bisection as follows, here for the RHS (i.e.
> > 689237ab37c5):
> > 
> > 	git bisect start 689237ab37c5 $(git merge-base 61da593f4458 689237ab37c5)
> > 
> > and then in each bisection step do:
> > 
> > 	git merge --no-commit 61da593f4458
> > 	test if the problem is present
> > 	git reset --hard
> > 	git bisect good/bad
> > 
> > In this case you get merge conflicts in drivers/video/fbdev/amba-clcd.c
> > and drivers/video/fbdev/vermilion/vermilion.c. In the assumption that
> > you don't have these enabled in your .config, you can just ignore these.
> > 
> > Side note: A problem during bisection can be that the .config changes
> > along the process. You should put your config into (say)
> > arch/x86/configs/lala_defconfig and do
> > 
> > 	make lala_defconfig
> > 
> > before building each step to prevent this.
> 
> I must have done something wrong:
> 
> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect log
> # bad: [689237ab37c59b9909bc9371d7fece3081683fba] fbdev/intelfb: Remove driver
> # good: [de927f6c0b07d9e698416c5b287c521b07694cac] Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
> git bisect start '689237ab37c5' 'de927f6c0b07d9e698416c5b287c521b07694cac'
> # good: [d9f25b59ed85ae45801cf45fe17eb269b0ef3038] fbdev: Remove support for Carillo Ranch driver
> git bisect good d9f25b59ed85ae45801cf45fe17eb269b0ef3038
> # good: [e2e0b838a1849f92612a8305c09aaf31bf824350] video/sticore: Remove info field from STI struct
> git bisect good e2e0b838a1849f92612a8305c09aaf31bf824350
> # good: [778e73d2411abc8f3a2d60dbf038acaec218792e] drm/hyperv: Remove firmware framebuffers with aperture helper
> git bisect good 778e73d2411abc8f3a2d60dbf038acaec218792e
> # good: [df67699c9cb0ceb70f6cc60630ca938c06773eda] firmware/sysfb: Clear screen_info state after consuming it
> git bisect good df67699c9cb0ceb70f6cc60630ca938c06773eda
> marvin@defiant:~/linux/kernel/linux_torvalds$
> 
> with the error:
> 
> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
> Bisecting: 0 revisions left to test after this (roughly 0 steps)
> drivers/video/fbdev/amba-clcd.c: needs merge
> drivers/video/fbdev/vermilion/vermilion.c: needs merge
> error: you need to resolve your current index first

It seems you forgot the "git reset --hard" step.  Doing it in this state
should still be possible.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG][BISECTED] Freeze at loading init ramdisk
  2024-01-18 21:14       ` Uwe Kleine-König
@ 2024-01-18 21:44         ` Mirsad Todorovac
  0 siblings, 0 replies; 9+ messages in thread
From: Mirsad Todorovac @ 2024-01-18 21:44 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Linux Kernel Mailing List, Helge Deller, James E.J. Bottomley,
	Ard Biesheuvel, Arnd Bergmann, Greg Kroah-Hartman, Hans de Goede,
	Huacai Chen, Javier Martinez Canillas, Linus Walleij,
	Prathu Baronia, Sam Ravnborg, Sui Jingfeng, Thomas Zimmermann,
	dri-devel, linux-fbdev, linux-parisc



On 1/18/24 22:14, Uwe Kleine-König wrote:
> On Thu, Jan 18, 2024 at 09:04:05PM +0100, Mirsad Todorovac wrote:
>>
>>
>> On 1/18/24 08:45, Uwe Kleine-König wrote:
>>> Hello Mirsad,
>>>
>>> On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote:
>>>> On 1/16/24 01:32, Mirsad Todorovac wrote:
>>>>> On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
>>>>> freezes upon first two lines and before any systemd messages.
>>>>>
>>>>> (Please find the config attached.)
>>>>>
>>>>> Bisecting the bug led to this result:
>>>>>
>>>>> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
>>>>> d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
>>>>> commit d97a78423c33f68ca6543de510a409167baed6f5
>>>>> Merge: 61da593f4458 689237ab37c5
>>>>> Author: Linus Torvalds <torvalds@linux-foundation.org>
>>>>> Date:   Fri Jan 12 14:38:08 2024 -0800
>>>>>
>>>>> [...]
>>>>>
>>>>> Hope this helps.
>>>>
>>>> P.S.
>>>>
>>>> As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
>>>> bisect further to determine the culprit.
>>>
>>> Actually it's not that hard. If a merge commit is the first bad commit
>>> for a bisection, either the merge wasn't done correctly (less likely,
>>> looking at d97a78423c33f68ca6543de510a409167baed6f5 I'd bet this isn't
>>> the problem); or changes on different sides conflict or you did
>>> something wrong during bisection.
>>>
>>> To rule out the third option, you can just retest d97a78423c33,
>>> 61da593f4458 and 689237ab37c5. If d97a78423c33 is the only bad one, you
>>> did it right.
>>
>> This was confirmed.
>>
>>> Then to further debug the second option you can find out the offending
>>> commit on each side with a bisection as follows, here for the RHS (i.e.
>>> 689237ab37c5):
>>>
>>> 	git bisect start 689237ab37c5 $(git merge-base 61da593f4458 689237ab37c5)
>>>
>>> and then in each bisection step do:
>>>
>>> 	git merge --no-commit 61da593f4458
>>> 	test if the problem is present
>>> 	git reset --hard
>>> 	git bisect good/bad
>>>
>>> In this case you get merge conflicts in drivers/video/fbdev/amba-clcd.c
>>> and drivers/video/fbdev/vermilion/vermilion.c. In the assumption that
>>> you don't have these enabled in your .config, you can just ignore these.
>>>
>>> Side note: A problem during bisection can be that the .config changes
>>> along the process. You should put your config into (say)
>>> arch/x86/configs/lala_defconfig and do
>>>
>>> 	make lala_defconfig
>>>
>>> before building each step to prevent this.
>>
>> I must have done something wrong:
>>
>> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect log
>> # bad: [689237ab37c59b9909bc9371d7fece3081683fba] fbdev/intelfb: Remove driver
>> # good: [de927f6c0b07d9e698416c5b287c521b07694cac] Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
>> git bisect start '689237ab37c5' 'de927f6c0b07d9e698416c5b287c521b07694cac'
>> # good: [d9f25b59ed85ae45801cf45fe17eb269b0ef3038] fbdev: Remove support for Carillo Ranch driver
>> git bisect good d9f25b59ed85ae45801cf45fe17eb269b0ef3038
>> # good: [e2e0b838a1849f92612a8305c09aaf31bf824350] video/sticore: Remove info field from STI struct
>> git bisect good e2e0b838a1849f92612a8305c09aaf31bf824350
>> # good: [778e73d2411abc8f3a2d60dbf038acaec218792e] drm/hyperv: Remove firmware framebuffers with aperture helper
>> git bisect good 778e73d2411abc8f3a2d60dbf038acaec218792e
>> # good: [df67699c9cb0ceb70f6cc60630ca938c06773eda] firmware/sysfb: Clear screen_info state after consuming it
>> git bisect good df67699c9cb0ceb70f6cc60630ca938c06773eda
>> marvin@defiant:~/linux/kernel/linux_torvalds$
>>
>> with the error:
>>
>> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
>> Bisecting: 0 revisions left to test after this (roughly 0 steps)
>> drivers/video/fbdev/amba-clcd.c: needs merge
>> drivers/video/fbdev/vermilion/vermilion.c: needs merge
>> error: you need to resolve your current index first
> 
> It seems you forgot the "git reset --hard" step.  Doing it in this state
> should still be possible.

Well, it was possible, but I obviously got the wrong result:

marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect log
# bad: [689237ab37c59b9909bc9371d7fece3081683fba] fbdev/intelfb: Remove driver
# good: [de927f6c0b07d9e698416c5b287c521b07694cac] Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
git bisect start '689237ab37c5' 'de927f6c0b07d9e698416c5b287c521b07694cac'
# good: [d9f25b59ed85ae45801cf45fe17eb269b0ef3038] fbdev: Remove support for Carillo Ranch driver
git bisect good d9f25b59ed85ae45801cf45fe17eb269b0ef3038
# good: [e2e0b838a1849f92612a8305c09aaf31bf824350] video/sticore: Remove info field from STI struct
git bisect good e2e0b838a1849f92612a8305c09aaf31bf824350
# good: [778e73d2411abc8f3a2d60dbf038acaec218792e] drm/hyperv: Remove firmware framebuffers with aperture helper
git bisect good 778e73d2411abc8f3a2d60dbf038acaec218792e
# good: [df67699c9cb0ceb70f6cc60630ca938c06773eda] firmware/sysfb: Clear screen_info state after consuming it
git bisect good df67699c9cb0ceb70f6cc60630ca938c06773eda
# good: [df67699c9cb0ceb70f6cc60630ca938c06773eda] firmware/sysfb: Clear screen_info state after consuming it
git bisect good df67699c9cb0ceb70f6cc60630ca938c06773eda
# good: [c25a19afb81cfd73dab494ba64f9a434cf1a4499] fbdev/hyperv_fb: Do not clear global screen_info
git bisect good c25a19afb81cfd73dab494ba64f9a434cf1a4499
# first bad commit: [689237ab37c59b9909bc9371d7fece3081683fba] fbdev/intelfb: Remove driver
marvin@defiant:~/linux/kernel/linux_torvalds$ uname -rms
Linux 6.7.0-initrd-retest-02751-g689237ab37c5 x86_64
marvin@defiant:~/linux/kernel/linux_torvalds$

... meaning, I get the 689237ab37c5 as "first bad commit" but it boots.

If you see an obvious error, it would be helpful, otherwise I might retry the bisect, but later.

I am puzzled, but bisecting a merge commit is my first attempt at this.

Best regards,
Mirsad

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG][BISECTED] Freeze at loading init ramdisk
  2024-01-17 18:47 ` [BUG][BISECTED] Freeze at loading init ramdisk Mirsad Todorovac
  2024-01-18  7:45   ` Uwe Kleine-König
@ 2024-01-20 11:25   ` Bagas Sanjaya
  2024-01-20 18:15     ` Mirsad Todorovac
  1 sibling, 1 reply; 9+ messages in thread
From: Bagas Sanjaya @ 2024-01-20 11:25 UTC (permalink / raw)
  To: Mirsad Todorovac, Linux Kernel Mailing List
  Cc: Sui Jingfeng, linux-parisc, Arnd Bergmann, Greg Kroah-Hartman,
	Helge Deller, Huacai Chen, Javier Martinez Canillas, dri-devel,
	linux-fbdev, James E.J. Bottomley, Hans de Goede, Prathu Baronia,
	Thomas Zimmermann, Uwe Kleine-König, Sam Ravnborg,
	Ard Biesheuvel

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

On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote:
> On 1/16/24 01:32, Mirsad Todorovac wrote:
> > Hi,
> > 
> > On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
> > freezes upon first two lines and before any systemd messages.
> > 
> > (Please find the config attached.)
> > 
> > Bisecting the bug led to this result:
> > 
> > marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
> > d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
> > commit d97a78423c33f68ca6543de510a409167baed6f5
> > Merge: 61da593f4458 689237ab37c5
> > Author: Linus Torvalds <torvalds@linux-foundation.org>
> > Date:   Fri Jan 12 14:38:08 2024 -0800
> > 
> >      Merge tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev
> >      Pull fbdev updates from Helge Deller:
> >       "Three fbdev drivers (~8500 lines of code) removed. The Carillo Ranch
> >        fbdev driver is for an Intel product which was never shipped, and for
> >        the intelfb and the amba-clcd drivers the drm drivers can be used
> >        instead.
> >        The other code changes are minor: some fb_deferred_io flushing fixes,
> >        imxfb margin fixes and stifb cleanups.
> >        Summary:
> >         - Remove intelfb fbdev driver (Thomas Zimmermann)
> >         - Remove amba-clcd fbdev driver (Linus Walleij)
> >         - Remove vmlfb Carillo Ranch fbdev driver (Matthew Wilcox)
> >         - fb_deferred_io flushing fixes (Nam Cao)
> >         - imxfb code fixes and cleanups (Dario Binacchi)
> >         - stifb primary screen detection cleanups (Thomas Zimmermann)"
> >      * tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev: (28 commits)
> >        fbdev/intelfb: Remove driver
> >        fbdev/hyperv_fb: Do not clear global screen_info
> >        firmware/sysfb: Clear screen_info state after consuming it
> >        fbdev/hyperv_fb: Remove firmware framebuffers with aperture helpers
> >        drm/hyperv: Remove firmware framebuffers with aperture helper
> >        fbdev/sis: Remove dependency on screen_info
> >        video/logo: use %u format specifier for unsigned int values
> >        video/sticore: Remove info field from STI struct
> >        arch/parisc: Detect primary video device from device instance
> >        fbdev/stifb: Allocate fb_info instance with framebuffer_alloc()
> >        video/sticore: Store ROM device in STI struct
> >        fbdev: flush deferred IO before closing
> >        fbdev: flush deferred work in fb_deferred_io_fsync()
> >        fbdev: amba-clcd: Delete the old CLCD driver
> >        fbdev: Remove support for Carillo Ranch driver
> >        fbdev: hgafb: fix kernel-doc comments
> >        fbdev: mmp: Fix typo and wording in code comment
> >        fbdev: fsl-diu-fb: Fix sparse warning due to virt_to_phys() prototype change
> >        fbdev: imxfb: add '*/' on a separate line in block comment
> >        fbdev: imxfb: use __func__ for function name
> >        ...
> > 
> >   Documentation/fb/index.rst                         |    1 -
> >   Documentation/fb/intelfb.rst                       |  155 --
> >   Documentation/userspace-api/ioctl/ioctl-number.rst |    1 -
> >   MAINTAINERS                                        |   12 -
> >   arch/parisc/video/fbdev.c                          |    2 +-
> >   drivers/Makefile                                   |    3 +-
> >   drivers/firmware/sysfb.c                           |   14 +-
> >   drivers/gpu/drm/hyperv/hyperv_drm_drv.c            |    8 +-
> >   drivers/video/backlight/Kconfig                    |    7 -
> >   drivers/video/backlight/Makefile                   |    1 -
> >   drivers/video/backlight/cr_bllcd.c                 |  264 ---
> >   drivers/video/fbdev/Kconfig                        |   72 -
> >   drivers/video/fbdev/Makefile                       |    2 -
> >   drivers/video/fbdev/amba-clcd.c                    |  986 ---------
> >   drivers/video/fbdev/core/fb_defio.c                |    8 +-
> >   drivers/video/fbdev/fsl-diu-fb.c                   |    2 +-
> >   drivers/video/fbdev/hgafb.c                        |   13 +-
> >   drivers/video/fbdev/hyperv_fb.c                    |   20 +-
> >   drivers/video/fbdev/imxfb.c                        |  179 +-
> >   drivers/video/fbdev/intelfb/Makefile               |    8 -
> >   drivers/video/fbdev/intelfb/intelfb.h              |  382 ----
> >   drivers/video/fbdev/intelfb/intelfb_i2c.c          |  209 --
> >   drivers/video/fbdev/intelfb/intelfbdrv.c           | 1680 ----------------
> >   drivers/video/fbdev/intelfb/intelfbhw.c            | 2115 --------------------
> >   drivers/video/fbdev/intelfb/intelfbhw.h            |  609 ------
> >   drivers/video/fbdev/mmp/hw/mmp_spi.c               |    2 +-
> >   drivers/video/fbdev/sis/sis_main.c                 |   37 -
> >   drivers/video/fbdev/stifb.c                        |  109 +-
> >   drivers/video/fbdev/vermilion/Makefile             |    6 -
> >   drivers/video/fbdev/vermilion/cr_pll.c             |  195 --
> >   drivers/video/fbdev/vermilion/vermilion.c          | 1175 -----------
> >   drivers/video/fbdev/vermilion/vermilion.h          |  245 ---
> >   drivers/video/logo/pnmtologo.c                     |    6 +-
> >   drivers/video/sticore.c                            |    5 +
> >   include/linux/amba/clcd-regs.h                     |   87 -
> >   include/linux/amba/clcd.h                          |  290 ---
> >   include/video/sticore.h                            |    6 +-
> >   37 files changed, 208 insertions(+), 8708 deletions(-)
> >   delete mode 100644 Documentation/fb/intelfb.rst
> >   delete mode 100644 drivers/video/backlight/cr_bllcd.c
> >   delete mode 100644 drivers/video/fbdev/amba-clcd.c
> >   delete mode 100644 drivers/video/fbdev/intelfb/Makefile
> >   delete mode 100644 drivers/video/fbdev/intelfb/intelfb.h
> >   delete mode 100644 drivers/video/fbdev/intelfb/intelfb_i2c.c
> >   delete mode 100644 drivers/video/fbdev/intelfb/intelfbdrv.c
> >   delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.c
> >   delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.h
> >   delete mode 100644 drivers/video/fbdev/vermilion/Makefile
> >   delete mode 100644 drivers/video/fbdev/vermilion/cr_pll.c
> >   delete mode 100644 drivers/video/fbdev/vermilion/vermilion.c
> >   delete mode 100644 drivers/video/fbdev/vermilion/vermilion.h
> >   delete mode 100644 include/linux/amba/clcd-regs.h
> >   delete mode 100644 include/linux/amba/clcd.h
> > marvin@defiant:~/linux/kernel/linux_torvalds$
> > 
> > Hope this helps.
> 
> P.S.
> 
> As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
> bisect further to determine the culprit.
> 
> But I thought later that it would be interesting to see why my hardware triggered the freeze
> and probably others did not, or someone would complain already.
> 
> Both of the boxes were AMD Ryzen: Ryzen 7 5700G and Ryzen 9 7950X.
> 
> FWIW, I am attaching both hardware listings and the config used, so anyone knowledgeable with
> fbdev could possibly narrow down the search.
> 

Hi Mirsad,

There is another report from Jens with similar symptom [1]. Can you check if
reverting df67699c9cb0ce ("firmware/sysfb: Clear screen_info state after
consuming it") fixes your regression?

Thanks.

[1]: https://lore.kernel.org/regressions/93ffd2ee-fa83-4469-96fb-fb263c26bb3c@kernel.dk/T/#t


-- 
An old man doll... just what I always wanted! - Clara

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG][BISECTED] Freeze at loading init ramdisk
  2024-01-20 11:25   ` Bagas Sanjaya
@ 2024-01-20 18:15     ` Mirsad Todorovac
  0 siblings, 0 replies; 9+ messages in thread
From: Mirsad Todorovac @ 2024-01-20 18:15 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Kernel Mailing List
  Cc: Sui Jingfeng, linux-parisc, Arnd Bergmann, Greg Kroah-Hartman,
	Helge Deller, Huacai Chen, Javier Martinez Canillas, dri-devel,
	linux-fbdev, James E.J. Bottomley, Hans de Goede, Prathu Baronia,
	Thomas Zimmermann, Uwe Kleine-König, Sam Ravnborg,
	Ard Biesheuvel

On 1/20/24 12:25, Bagas Sanjaya wrote:
> On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote:
>> On 1/16/24 01:32, Mirsad Todorovac wrote:
>>> Hi,
>>>
>>> On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
>>> freezes upon first two lines and before any systemd messages.
>>>
>>> (Please find the config attached.)
>>>
>>> Bisecting the bug led to this result:
>>>
>>> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
>>> d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
>>> commit d97a78423c33f68ca6543de510a409167baed6f5
>>> Merge: 61da593f4458 689237ab37c5
>>> Author: Linus Torvalds <torvalds@linux-foundation.org>
>>> Date:   Fri Jan 12 14:38:08 2024 -0800
>>>
>>>       Merge tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev
>>>       Pull fbdev updates from Helge Deller:
>>>        "Three fbdev drivers (~8500 lines of code) removed. The Carillo Ranch
>>>         fbdev driver is for an Intel product which was never shipped, and for
>>>         the intelfb and the amba-clcd drivers the drm drivers can be used
>>>         instead.
>>>         The other code changes are minor: some fb_deferred_io flushing fixes,
>>>         imxfb margin fixes and stifb cleanups.
>>>         Summary:
>>>          - Remove intelfb fbdev driver (Thomas Zimmermann)
>>>          - Remove amba-clcd fbdev driver (Linus Walleij)
>>>          - Remove vmlfb Carillo Ranch fbdev driver (Matthew Wilcox)
>>>          - fb_deferred_io flushing fixes (Nam Cao)
>>>          - imxfb code fixes and cleanups (Dario Binacchi)
>>>          - stifb primary screen detection cleanups (Thomas Zimmermann)"
>>>       * tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev: (28 commits)
>>>         fbdev/intelfb: Remove driver
>>>         fbdev/hyperv_fb: Do not clear global screen_info
>>>         firmware/sysfb: Clear screen_info state after consuming it
>>>         fbdev/hyperv_fb: Remove firmware framebuffers with aperture helpers
>>>         drm/hyperv: Remove firmware framebuffers with aperture helper
>>>         fbdev/sis: Remove dependency on screen_info
>>>         video/logo: use %u format specifier for unsigned int values
>>>         video/sticore: Remove info field from STI struct
>>>         arch/parisc: Detect primary video device from device instance
>>>         fbdev/stifb: Allocate fb_info instance with framebuffer_alloc()
>>>         video/sticore: Store ROM device in STI struct
>>>         fbdev: flush deferred IO before closing
>>>         fbdev: flush deferred work in fb_deferred_io_fsync()
>>>         fbdev: amba-clcd: Delete the old CLCD driver
>>>         fbdev: Remove support for Carillo Ranch driver
>>>         fbdev: hgafb: fix kernel-doc comments
>>>         fbdev: mmp: Fix typo and wording in code comment
>>>         fbdev: fsl-diu-fb: Fix sparse warning due to virt_to_phys() prototype change
>>>         fbdev: imxfb: add '*/' on a separate line in block comment
>>>         fbdev: imxfb: use __func__ for function name
>>>         ...
>>>
>>>    Documentation/fb/index.rst                         |    1 -
>>>    Documentation/fb/intelfb.rst                       |  155 --
>>>    Documentation/userspace-api/ioctl/ioctl-number.rst |    1 -
>>>    MAINTAINERS                                        |   12 -
>>>    arch/parisc/video/fbdev.c                          |    2 +-
>>>    drivers/Makefile                                   |    3 +-
>>>    drivers/firmware/sysfb.c                           |   14 +-
>>>    drivers/gpu/drm/hyperv/hyperv_drm_drv.c            |    8 +-
>>>    drivers/video/backlight/Kconfig                    |    7 -
>>>    drivers/video/backlight/Makefile                   |    1 -
>>>    drivers/video/backlight/cr_bllcd.c                 |  264 ---
>>>    drivers/video/fbdev/Kconfig                        |   72 -
>>>    drivers/video/fbdev/Makefile                       |    2 -
>>>    drivers/video/fbdev/amba-clcd.c                    |  986 ---------
>>>    drivers/video/fbdev/core/fb_defio.c                |    8 +-
>>>    drivers/video/fbdev/fsl-diu-fb.c                   |    2 +-
>>>    drivers/video/fbdev/hgafb.c                        |   13 +-
>>>    drivers/video/fbdev/hyperv_fb.c                    |   20 +-
>>>    drivers/video/fbdev/imxfb.c                        |  179 +-
>>>    drivers/video/fbdev/intelfb/Makefile               |    8 -
>>>    drivers/video/fbdev/intelfb/intelfb.h              |  382 ----
>>>    drivers/video/fbdev/intelfb/intelfb_i2c.c          |  209 --
>>>    drivers/video/fbdev/intelfb/intelfbdrv.c           | 1680 ----------------
>>>    drivers/video/fbdev/intelfb/intelfbhw.c            | 2115 --------------------
>>>    drivers/video/fbdev/intelfb/intelfbhw.h            |  609 ------
>>>    drivers/video/fbdev/mmp/hw/mmp_spi.c               |    2 +-
>>>    drivers/video/fbdev/sis/sis_main.c                 |   37 -
>>>    drivers/video/fbdev/stifb.c                        |  109 +-
>>>    drivers/video/fbdev/vermilion/Makefile             |    6 -
>>>    drivers/video/fbdev/vermilion/cr_pll.c             |  195 --
>>>    drivers/video/fbdev/vermilion/vermilion.c          | 1175 -----------
>>>    drivers/video/fbdev/vermilion/vermilion.h          |  245 ---
>>>    drivers/video/logo/pnmtologo.c                     |    6 +-
>>>    drivers/video/sticore.c                            |    5 +
>>>    include/linux/amba/clcd-regs.h                     |   87 -
>>>    include/linux/amba/clcd.h                          |  290 ---
>>>    include/video/sticore.h                            |    6 +-
>>>    37 files changed, 208 insertions(+), 8708 deletions(-)
>>>    delete mode 100644 Documentation/fb/intelfb.rst
>>>    delete mode 100644 drivers/video/backlight/cr_bllcd.c
>>>    delete mode 100644 drivers/video/fbdev/amba-clcd.c
>>>    delete mode 100644 drivers/video/fbdev/intelfb/Makefile
>>>    delete mode 100644 drivers/video/fbdev/intelfb/intelfb.h
>>>    delete mode 100644 drivers/video/fbdev/intelfb/intelfb_i2c.c
>>>    delete mode 100644 drivers/video/fbdev/intelfb/intelfbdrv.c
>>>    delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.c
>>>    delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.h
>>>    delete mode 100644 drivers/video/fbdev/vermilion/Makefile
>>>    delete mode 100644 drivers/video/fbdev/vermilion/cr_pll.c
>>>    delete mode 100644 drivers/video/fbdev/vermilion/vermilion.c
>>>    delete mode 100644 drivers/video/fbdev/vermilion/vermilion.h
>>>    delete mode 100644 include/linux/amba/clcd-regs.h
>>>    delete mode 100644 include/linux/amba/clcd.h
>>> marvin@defiant:~/linux/kernel/linux_torvalds$
>>>
>>> Hope this helps.
>>
>> P.S.
>>
>> As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
>> bisect further to determine the culprit.
>>
>> But I thought later that it would be interesting to see why my hardware triggered the freeze
>> and probably others did not, or someone would complain already.
>>
>> Both of the boxes were AMD Ryzen: Ryzen 7 5700G and Ryzen 9 7950X.
>>
>> FWIW, I am attaching both hardware listings and the config used, so anyone knowledgeable with
>> fbdev could possibly narrow down the search.
>>
> 
> Hi Mirsad,
> 
> There is another report from Jens with similar symptom [1]. Can you check if
> reverting df67699c9cb0ce ("firmware/sysfb: Clear screen_info state after
> consuming it") fixes your regression?
> 
> Thanks.
> 
> [1]: https://lore.kernel.org/regressions/93ffd2ee-fa83-4469-96fb-fb263c26bb3c@kernel.dk/T/#t

Thanks, Bagas, I confirm that it is the same issue:

  1991  git checkout d97a78423c33
  1992  git revert df67699c9cb0ce
  1993  make clean; make olddefconfig
  1994  time nice make -j 36 bindeb-pkg |& tee ../err-6.8-mrg-1.log; date
  1995  sudo apt-get -s install ../linux-image-6.7.0-bagas-vanilla-rvt-09751-g6b082430adc8_6.7.0-09751-g6b082430adc8-26_amd64.deb
  1996  sudo apt-get -y install ../linux-image-6.7.0-bagas-vanilla-rvt-09751-g6b082430adc8_6.7.0-09751-g6b082430adc8-26_amd64.deb

Reverting df67699c9cb0ce fixed it.

I don't have a slightest idea what is the side effect of this commit.

Tested-by: Mirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr>

Best regards,
Mirsad

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG][BISECTED] Freeze at loading init ramdisk
  2024-01-18 20:04     ` Mirsad Todorovac
  2024-01-18 21:14       ` Uwe Kleine-König
@ 2024-01-22 10:20       ` Uwe Kleine-König
  2024-01-22 22:06         ` Mirsad Todorovac
  1 sibling, 1 reply; 9+ messages in thread
From: Uwe Kleine-König @ 2024-01-22 10:20 UTC (permalink / raw)
  To: Mirsad Todorovac
  Cc: Linux Kernel Mailing List, Helge Deller, James E.J. Bottomley,
	Ard Biesheuvel, Arnd Bergmann, Greg Kroah-Hartman, Hans de Goede,
	Huacai Chen, Javier Martinez Canillas, Linus Walleij,
	Prathu Baronia, Sam Ravnborg, Sui Jingfeng, Thomas Zimmermann,
	dri-devel, linux-fbdev, linux-parisc

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

On Thu, Jan 18, 2024 at 09:04:05PM +0100, Mirsad Todorovac wrote:
> 
> 
> On 1/18/24 08:45, Uwe Kleine-König wrote:
> > Hello Mirsad,
> > 
> > On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote:
> > > On 1/16/24 01:32, Mirsad Todorovac wrote:
> > > > On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
> > > > freezes upon first two lines and before any systemd messages.
> > > > 
> > > > (Please find the config attached.)
> > > > 
> > > > Bisecting the bug led to this result:
> > > > 
> > > > marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
> > > > d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
> > > > commit d97a78423c33f68ca6543de510a409167baed6f5
> > > > Merge: 61da593f4458 689237ab37c5
> > > > Author: Linus Torvalds <torvalds@linux-foundation.org>
> > > > Date:   Fri Jan 12 14:38:08 2024 -0800
> > > > 
> > > > [...]
> > > > 
> > > > Hope this helps.
> > > 
> > > P.S.
> > > 
> > > As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
> > > bisect further to determine the culprit.
> > 
> > Actually it's not that hard. If a merge commit is the first bad commit
> > for a bisection, either the merge wasn't done correctly (less likely,
> > looking at d97a78423c33f68ca6543de510a409167baed6f5 I'd bet this isn't
> > the problem); or changes on different sides conflict or you did
> > something wrong during bisection.
> > 
> > To rule out the third option, you can just retest d97a78423c33,
> > 61da593f4458 and 689237ab37c5. If d97a78423c33 is the only bad one, you
> > did it right.
> 
> This was confirmed.
> 
> > Then to further debug the second option you can find out the offending
> > commit on each side with a bisection as follows, here for the RHS (i.e.
> > 689237ab37c5):
> > 
> > 	git bisect start 689237ab37c5 $(git merge-base 61da593f4458 689237ab37c5)
> > 
> > and then in each bisection step do:
> > 
> > 	git merge --no-commit 61da593f4458
> > 	test if the problem is present
> > 	git reset --hard
> > 	git bisect good/bad
> > 
> > In this case you get merge conflicts in drivers/video/fbdev/amba-clcd.c
> > and drivers/video/fbdev/vermilion/vermilion.c. In the assumption that
> > you don't have these enabled in your .config, you can just ignore these.
> > 
> > Side note: A problem during bisection can be that the .config changes
> > along the process. You should put your config into (say)
> > arch/x86/configs/lala_defconfig and do
> > 
> > 	make lala_defconfig
> > 
> > before building each step to prevent this.
> 
> I must have done something wrong:
> 
> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect log
> # bad: [689237ab37c59b9909bc9371d7fece3081683fba] fbdev/intelfb: Remove driver
> # good: [de927f6c0b07d9e698416c5b287c521b07694cac] Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
> git bisect start '689237ab37c5' 'de927f6c0b07d9e698416c5b287c521b07694cac'
> # good: [d9f25b59ed85ae45801cf45fe17eb269b0ef3038] fbdev: Remove support for Carillo Ranch driver
> git bisect good d9f25b59ed85ae45801cf45fe17eb269b0ef3038
> # good: [e2e0b838a1849f92612a8305c09aaf31bf824350] video/sticore: Remove info field from STI struct
> git bisect good e2e0b838a1849f92612a8305c09aaf31bf824350
> # good: [778e73d2411abc8f3a2d60dbf038acaec218792e] drm/hyperv: Remove firmware framebuffers with aperture helper
> git bisect good 778e73d2411abc8f3a2d60dbf038acaec218792e
> # good: [df67699c9cb0ceb70f6cc60630ca938c06773eda] firmware/sysfb: Clear screen_info state after consuming it
> git bisect good df67699c9cb0ceb70f6cc60630ca938c06773eda

FTR: Now that you identified df67699c9cb0ce as the culprit, calling
git bisect good on it was wrong, so something was fishy in your testing
and it's no surprise the bisection found a wrong result.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [BUG][BISECTED] Freeze at loading init ramdisk
  2024-01-22 10:20       ` Uwe Kleine-König
@ 2024-01-22 22:06         ` Mirsad Todorovac
  0 siblings, 0 replies; 9+ messages in thread
From: Mirsad Todorovac @ 2024-01-22 22:06 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Linux Kernel Mailing List, Helge Deller, James E.J. Bottomley,
	Ard Biesheuvel, Arnd Bergmann, Greg Kroah-Hartman, Hans de Goede,
	Huacai Chen, Javier Martinez Canillas, Linus Walleij,
	Prathu Baronia, Sam Ravnborg, Sui Jingfeng, Thomas Zimmermann,
	dri-devel, linux-fbdev, linux-parisc



On 1/22/24 11:20, Uwe Kleine-König wrote:
> On Thu, Jan 18, 2024 at 09:04:05PM +0100, Mirsad Todorovac wrote:
>>
>>
>> On 1/18/24 08:45, Uwe Kleine-König wrote:
>>> Hello Mirsad,
>>>
>>> On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote:
>>>> On 1/16/24 01:32, Mirsad Todorovac wrote:
>>>>> On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
>>>>> freezes upon first two lines and before any systemd messages.
>>>>>
>>>>> (Please find the config attached.)
>>>>>
>>>>> Bisecting the bug led to this result:
>>>>>
>>>>> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
>>>>> d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
>>>>> commit d97a78423c33f68ca6543de510a409167baed6f5
>>>>> Merge: 61da593f4458 689237ab37c5
>>>>> Author: Linus Torvalds <torvalds@linux-foundation.org>
>>>>> Date:   Fri Jan 12 14:38:08 2024 -0800
>>>>>
>>>>> [...]
>>>>>
>>>>> Hope this helps.
>>>>
>>>> P.S.
>>>>
>>>> As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
>>>> bisect further to determine the culprit.
>>>
>>> Actually it's not that hard. If a merge commit is the first bad commit
>>> for a bisection, either the merge wasn't done correctly (less likely,
>>> looking at d97a78423c33f68ca6543de510a409167baed6f5 I'd bet this isn't
>>> the problem); or changes on different sides conflict or you did
>>> something wrong during bisection.
>>>
>>> To rule out the third option, you can just retest d97a78423c33,
>>> 61da593f4458 and 689237ab37c5. If d97a78423c33 is the only bad one, you
>>> did it right.
>>
>> This was confirmed.
>>
>>> Then to further debug the second option you can find out the offending
>>> commit on each side with a bisection as follows, here for the RHS (i.e.
>>> 689237ab37c5):
>>>
>>> 	git bisect start 689237ab37c5 $(git merge-base 61da593f4458 689237ab37c5)
>>>
>>> and then in each bisection step do:
>>>
>>> 	git merge --no-commit 61da593f4458
>>> 	test if the problem is present
>>> 	git reset --hard
>>> 	git bisect good/bad
>>>
>>> In this case you get merge conflicts in drivers/video/fbdev/amba-clcd.c
>>> and drivers/video/fbdev/vermilion/vermilion.c. In the assumption that
>>> you don't have these enabled in your .config, you can just ignore these.
>>>
>>> Side note: A problem during bisection can be that the .config changes
>>> along the process. You should put your config into (say)
>>> arch/x86/configs/lala_defconfig and do
>>>
>>> 	make lala_defconfig
>>>
>>> before building each step to prevent this.
>>
>> I must have done something wrong:
>>
>> marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect log
>> # bad: [689237ab37c59b9909bc9371d7fece3081683fba] fbdev/intelfb: Remove driver
>> # good: [de927f6c0b07d9e698416c5b287c521b07694cac] Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
>> git bisect start '689237ab37c5' 'de927f6c0b07d9e698416c5b287c521b07694cac'
>> # good: [d9f25b59ed85ae45801cf45fe17eb269b0ef3038] fbdev: Remove support for Carillo Ranch driver
>> git bisect good d9f25b59ed85ae45801cf45fe17eb269b0ef3038
>> # good: [e2e0b838a1849f92612a8305c09aaf31bf824350] video/sticore: Remove info field from STI struct
>> git bisect good e2e0b838a1849f92612a8305c09aaf31bf824350
>> # good: [778e73d2411abc8f3a2d60dbf038acaec218792e] drm/hyperv: Remove firmware framebuffers with aperture helper
>> git bisect good 778e73d2411abc8f3a2d60dbf038acaec218792e
>> # good: [df67699c9cb0ceb70f6cc60630ca938c06773eda] firmware/sysfb: Clear screen_info state after consuming it
>> git bisect good df67699c9cb0ceb70f6cc60630ca938c06773eda
> 
> FTR: Now that you identified df67699c9cb0ce as the culprit, calling
> git bisect good on it was wrong, so something was fishy in your testing
> and it's no surprise the bisection found a wrong result.

Copy that. But it is my first attempt on a bisect of a merge commit, so I will simply
ask to be forgiven. Maybe I forgot "git reset --hard" in some step.

I have to do a thorough homework on the merge commit magic.

Best regards,
Mirsad


> Best regards
> Uwe
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-22 22:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <8a6aa228-f2da-4dcd-93c1-e34614cd6471@alu.unizg.hr>
2024-01-17 18:47 ` [BUG][BISECTED] Freeze at loading init ramdisk Mirsad Todorovac
2024-01-18  7:45   ` Uwe Kleine-König
2024-01-18 20:04     ` Mirsad Todorovac
2024-01-18 21:14       ` Uwe Kleine-König
2024-01-18 21:44         ` Mirsad Todorovac
2024-01-22 10:20       ` Uwe Kleine-König
2024-01-22 22:06         ` Mirsad Todorovac
2024-01-20 11:25   ` Bagas Sanjaya
2024-01-20 18:15     ` Mirsad Todorovac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).