jens-maus / RaspberryMatic

:house: A feature-rich but lightweight, buildroot-based Linux operating system alternative for your CloudFree CCU3/ELV-Charly 'homematicIP CCU' IoT smarthome central. Running as a pure virtual appliance (ProxmoxVE, Home Assistant, LXC, Docker/OCI, Kubernetes/K8s, etc.) on a dedicated embedded device (RaspberryPi, etc.) or generic x86/ARM hardware.
https://raspberrymatic.de
Apache License 2.0
1.55k stars 192 forks source link

3.75.6.2024031 bootet nicht von USB #2688

Open Troubadix opened 7 months ago

Troubadix commented 7 months ago

Describe the issue you are experiencing

Hallo,

ich nutze einen Pi4 mit USB-SSD Boot und der RPI-RF-Mod.

Heute habe ich von der 3.73.9.20240130 auf die 3.75.6.20240316 geupdated bzw. das versucht - leider erfolglos.

Nach dem "automatischen" Update hat das System nicht mehr gebootet. Hatte da leider noch keinen Monitor zur Hand, kann also zu Fehlermeldungen o.ä. leider nichts sagen.

Dann die 3.75.6 per Etcher auf die SSD geschrieben - das System hat nicht gebootet mit Meldung "Firmware not found". PXL_20240319_145934998

Das habe ich dann mehrmals versucht mit immer gleichem Ergebnis. Mit dem Raspberry Pi Imager übrigens gleiches Ergebnis.

Dann die 3.73.9 geflashed und das System hat wieder gebootet. Backup eingespielt und das Update auf die 3.75.6 erneut probiert. Das System hängt dann in einer Bootschleife. Ich habe davon ein Video gemacht: https://www.file-upload.net/download-15286506/PXL_20240319_1521190892.mp4.html

Aktuell läuft somit die 3.73.9 wieder problemlos und ich hoffe auf ein baldiges Update zur Problemlösung :)

Describe the behavior you expected

s.o.

Steps to reproduce the issue

s.o.

What is the version this bug report is based on?

3.75.6.2024031

Which base platform are you running?

rpi4 (RaspberryPi4, ARM64/aarch64)

Which HomeMatic/homematicIP radio module are you using?

RPI-RF-MOD

Anything in the logs that might be useful for us?

s.o

Additional information

No response

jens-maus commented 7 months ago

Bitte den genauen Typ (USB identifier) des USB<>SSD Adapters hier spezifizieren/niederlegen.

jens-maus commented 7 months ago

In deinem Video sieht man diese relevante Stelle. D.h. er kommt ja bis Starting kernel...:

Bildschirmfoto 2024-03-19 um 17 30 11

Bricht dann aber wohl wie es aussieht ab. Um das nun genauer analysieren zu können bräuchte es in der Tat den genauen Typ dieses USB<>SSD Adapters samt USB identifieren. Dazu bitte mal lsusb in der lauffähigen Version von RaspberryMatic hier zeigen und auch die Ausgaben des Kommandos dmesg. Bitte aber nicht als Screenshot sondern inline in code-passagen hier als Kommentar.

Troubadix commented 7 months ago

Hallo Jens,

danke und gerne:

root@homematic:~# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 004: ID 03eb:204b
Bus 001 Device 002: ID 2109:3431
Bus 002 Device 002: ID 152d:0562
Bus 002 Device 001: ID 1d6b:0003
root@homematic:~#
root@homematic:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 6.1.73 (builder@44d0dac4c465) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot -g3e2b597) 12.3.0, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT Tue Jan 30 07:32:52 UTC 2024
[    0.000000] Kernel is locked down from Kernel configuration; see man kernel_lockdown.7
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.1
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003defffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[    0.000000] On node 0, zone DMA32: 8448 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges
[    0.000000] percpu: Embedded 28 pages/cpu s75176 r8192 d31320 u114688
[    0.000000] pcpu-alloc: s75176 r8192 d31320 u114688 alloc=28*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v3a
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 1742098
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1007616
[    0.000000] Kernel command line: dwc_otg.lpm_enable=0 sdhci_bcm2708.enable_llm=0 console=tty2 root=PARTUUID=deedbeef-02 ro rootfstype=ext4 fsck.repair=yes rootwait rootdelay=5 consoleblank=120 logo.nologo quiet loglevel=0 init_on_alloc=1 init_on_free=1 slab_nomerge iomem=relaxed net.ifnames=0 usb-storage.quirks=174c:55aa:u,2109:0715:u,152d:0578:u,152d:0579:u,152d:1561:u,174c:0829:u,14b0:0206:u,174c:225c:u  coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=800 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:1D:FC:26 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  empty
[    0.000000] Unknown kernel command line parameters "empty", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:on
[    0.000000] mem auto-init: clearing system memory may take some time...
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x0000000039f00000-0x000000003df00000] (64MB)
[    0.000000] Memory: 3853764K/4094976K available (14848K kernel code, 2076K rwdata, 4112K rodata, 4288K init, 1355K bss, 175676K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 40765 entries in 160 pages
[    0.000000] ftrace: allocated 160 pages with 2 groups
[    0.000000] Lockdown: swapper: use of tracefs is restricted; see man kernel_lockdown.7
[    0.000000] Tracing disabled due to lockdown
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000331] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[    0.000482] Console: colour dummy device 80x25
[    0.000539] printk: console [tty2] enabled
[    0.000582] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000599] pid_max: default: 32768 minimum: 301
[    0.000743] LSM: Security Framework initializing
[    0.000807] landlock: Up and running.
[    0.000813] Yama: becoming mindful.
[    0.000921] AppArmor: AppArmor initialized
[    0.001065] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001082] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002062] cgroup: Disabling memory control group subsystem
[    0.003610] cblist_init_generic: Setting adjustable number of callback queues.
[    0.003624] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.003735] cblist_init_generic: Setting adjustable number of callback queues.
[    0.003744] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.003903] cblist_init_generic: Setting adjustable number of callback queues.
[    0.003912] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.004163] rcu: Hierarchical SRCU implementation.
[    0.004172] rcu:     Max phase no-delay instances is 1000.
[    0.005922] EFI services will not be available.
[    0.006271] smp: Bringing up secondary CPUs ...
[    0.006870] Detected PIPT I-cache on CPU1
[    0.007031] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.007718] Detected PIPT I-cache on CPU2
[    0.007845] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.008549] Detected PIPT I-cache on CPU3
[    0.008681] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.008781] smp: Brought up 1 node, 4 CPUs
[    0.008799] SMP: Total of 4 processors activated.
[    0.008807] CPU features: detected: 32-bit EL0 Support
[    0.008814] CPU features: detected: CRC32 instructions
[    0.008912] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.008923] CPU: All CPU(s) started at EL2
[    0.008928] alternatives: applying system-wide alternatives
[    0.010873] devtmpfs: initialized
[    0.022668] Enabled cp15_barrier support
[    0.022700] Enabled setend support
[    0.022847] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.022876] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.022980] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7
[    0.022989] Can not register tracer wakeup due to lockdown
[    0.023000] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7
[    0.023007] Can not register tracer function_graph due to lockdown
[    0.055283] pinctrl core: initialized pinctrl subsystem
[    0.055966] DMI not present or invalid.
[    0.056512] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.060271] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.060570] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.061549] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.061659] audit: initializing netlink subsys (disabled)
[    0.061896] audit: type=2000 audit(0.060:1): state=initialized audit_enabled=0 res=1
[    0.062431] thermal_sys: Registered thermal governor 'step_wise'
[    0.062495] cpuidle: using governor menu
[    0.063125] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.063257] ASID allocator initialised with 32768 entries
[    0.070907] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.080300] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-10-17T15:39:16, variant start
[    0.084311] raspberrypi-firmware soc:firmware: Firmware hash is 30f0c5e4d076da3ab4f341d88e7d505760b93ad7
[    0.094208] KASLR enabled
[    0.119646] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.122613] iommu: Default domain type: Translated
[    0.122627] iommu: DMA domain TLB invalidation policy: strict mode
[    0.123019] SCSI subsystem initialized
[    0.123216] usbcore: registered new interface driver usbfs
[    0.123265] usbcore: registered new interface driver hub
[    0.123307] usbcore: registered new device driver usb
[    0.123469] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.123806] pps_core: LinuxPPS API ver. 1 registered
[    0.123816] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.123836] PTP clock support registered
[    0.124911] vgaarb: loaded
[    0.125740] clocksource: Switched to clocksource arch_sys_counter
[    0.125756] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7
[    0.125763] Tracing disabled due to lockdown
[    0.125770] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7
[    0.125778] Tracing disabled due to lockdown
[    0.125788] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7
[    0.125795] Tracing disabled due to lockdown
[    0.125804] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7
[    0.125810] Tracing disabled due to lockdown
[    0.125816] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7
[    0.125822] Tracing disabled due to lockdown
[    0.126187] VFS: Disk quotas dquot_6.6.0
[    0.126245] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.126343] FS-Cache: Loaded
[    0.126491] CacheFiles: Loaded
[    0.126996] AppArmor: AppArmor Filesystem Enabled
[    0.135926] NET: Registered PF_INET protocol family
[    0.136069] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.140986] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.141037] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.141080] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.141271] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.142418] TCP: Hash tables configured (established 32768 bind 32768)
[    0.142752] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    0.142921] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.142974] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.143197] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.143873] RPC: Registered named UNIX socket transport module.
[    0.143885] RPC: Registered udp transport module.
[    0.143890] RPC: Registered tcp transport module.
[    0.143896] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.143910] PCI: CLS 0 bytes, default 64
[    0.146115] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.147166] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7
[    0.147179] Tracing disabled due to lockdown
[    0.147188] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7
[    0.147195] Can not register tracer blk due to lockdown
[    0.147201] blktrace: Warning: could not register the block tracer
[    0.147537] Initialise system trusted keyrings
[    0.147785] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.159521] NFS: Registering the id_resolver key type
[    0.159564] Key type id_resolver registered
[    0.159570] Key type id_legacy registered
[    0.159668] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.159689] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.159727] ntfs: driver 2.1.32 [Flags: R/W].
[    0.162001] Key type asymmetric registered
[    0.162015] Asymmetric key parser 'x509' registered
[    0.162083] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.162327] io scheduler mq-deadline registered
[    0.162338] io scheduler kyber registered
[    0.167942] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.167977] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.168018] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    0.168055] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[    0.168555] brcm-pcie fd500000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE
[    0.168867] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.168884] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.168899] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    0.168942] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.169030] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.172907] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[    0.173039] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[    0.173096] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[    0.279828] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    0.280006] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.280097] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.280379] pci 0000:01:00.0: PME# supported from D0 D3cold
[    0.289848] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.289871] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.289931] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.289944] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.290160] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.290322] pcieport 0000:00:00.0: PME: Signaling with IRQ 30
[    0.290672] pcieport 0000:00:00.0: AER: enabled with IRQ 30
[    0.291062] brcm-pcie fd500000.pcie: clkreq control enabled
[    0.291522] simple-framebuffer 3e6db000.framebuffer: framebuffer at 0x3e6db000, 0x3e8000 bytes
[    0.291538] simple-framebuffer 3e6db000.framebuffer: format=a8r8g8b8, mode=1280x800x32, linelength=5120
[    0.291995] Console: switching to colour frame buffer device 160x50
[    0.296126] simple-framebuffer 3e6db000.framebuffer: fb0: simplefb registered!
[    0.300495] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.302277] iproc-rng200 fe104000.rng: hwrng registered
[    0.302509] vc-mem: phys_addr:0x00000000 mem_base=0x3eb00000 mem_size:0x3ff00000(1023 MiB)
[    0.313345] brd: module loaded
[    0.319626] loop: module loaded
[    0.320130] zram: Added device: zram0
[    0.320717] Loading iSCSI transport class v2.0-870.
[    0.324009] tun: Universal TUN/TAP device driver, 1.6
[    0.324953] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.421860] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.424084] xhci_hcd 0000:01:00.0: enabling device (0000 -> 0002)
[    0.424164] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.424192] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.424753] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0f00040000000890
[    0.425218] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.425238] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.425256] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.425491] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    0.425509] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.425520] usb usb1: Product: xHCI Host Controller
[    0.425530] usb usb1: Manufacturer: Linux 6.1.73 xhci-hcd
[    0.425539] usb usb1: SerialNumber: 0000:01:00.0
[    0.426126] hub 1-0:1.0: USB hub found
[    0.426201] hub 1-0:1.0: 1 port detected
[    0.426863] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    0.426880] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.426892] usb usb2: Product: xHCI Host Controller
[    0.426900] usb usb2: Manufacturer: Linux 6.1.73 xhci-hcd
[    0.426909] usb usb2: SerialNumber: 0000:01:00.0
[    0.427394] hub 2-0:1.0: USB hub found
[    0.427440] hub 2-0:1.0: 4 ports detected
[    0.428508] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.428611] dwc_otg: FIQ enabled
[    0.428618] dwc_otg: NAK holdoff enabled
[    0.428624] dwc_otg: FIQ split-transaction FSM enabled
[    0.428634] Module dwc_common_port init
[    0.429336] usbcore: registered new interface driver uas
[    0.429414] usbcore: registered new interface driver usb-storage
[    0.429511] usbcore: registered new interface driver usbserial_generic
[    0.429540] usbserial: USB Serial support registered for generic
[    0.431239] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    0.433496] sdhci: Secure Digital Host Controller Interface driver
[    0.433511] sdhci: Copyright(c) Pierre Ossman
[    0.433868] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[    0.433880] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.437039] ledtrig-cpu: registered to indicate activity on CPUs
[    0.437132] hid: raw HID events driver (C) Jiri Kosina
[    0.437276] usbcore: registered new interface driver usbhid
[    0.437280] usbhid: USB HID core driver
[    0.442960] NET: Registered PF_INET6 protocol family
[    0.443793] Segment Routing with IPv6
[    0.443813] In-situ OAM (IOAM) with IPv6
[    0.443897] NET: Registered PF_PACKET protocol family
[    0.443946] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.443984] Key type dns_resolver registered
[    0.444688] registered taskstats version 1
[    0.444720] Loading compiled-in X.509 certificates
[    0.446942] Loaded X.509 cert 'Build time autogenerated kernel key: 1f6ba09d80f5d48a8453ae70163d54298cc6577e'
[    0.447156] Key type .fscrypt registered
[    0.447162] Key type fscrypt-provisioning registered
[    0.447294] AppArmor: AppArmor sha1 policy hashing enabled
[    0.458377] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 35, base_baud = 62500000) is a 16550
[    0.458945] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.459073] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.459485] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.459493] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.484511] of_cfs_init
[    0.484642] of_cfs_init: OK
[    0.486165] Waiting 5 sec before mounting root device...
[    0.523063] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    0.565041] mmc1: new high speed SDIO card at address 0001
[    0.681770] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.832189] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    0.832210] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.832222] usb 1-1: Product: USB2.0 Hub
[    0.833661] hub 1-1:1.0: USB hub found
[    0.833930] hub 1-1:1.0: 4 ports detected
[    0.958058] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
[    0.979135] usb 2-2: New USB device found, idVendor=152d, idProduct=0562, bcdDevice= 2.05
[    0.979153] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    0.979165] usb 2-2: Product: External
[    0.979174] usb 2-2: Manufacturer: SupTronics
[    0.979183] usb 2-2: SerialNumber: DD5641988393A
[    0.989327] scsi host0: uas
[    0.990510] scsi 0:0:0:0: Direct-Access     NVME SSD                  0205 PQ: 0 ANSI: 6
[    0.993017] sd 0:0:0:0: [sda] Spinning up disk...
[    2.013775] ..ready
[    3.038132] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[    3.038150] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    3.038338] sd 0:0:0:0: [sda] Write Protect is off
[    3.038354] sd 0:0:0:0: [sda] Mode Sense: 5f 00 00 08
[    3.038702] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.039145] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[    3.039160] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
[    3.042211]  sda: sda1 sda2 sda3
[    3.042850] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.612171] EXT4-fs (sda2): orphan cleanup on readonly fs
[    5.612495] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
[    5.612563] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
[    5.612982] devtmpfs: mounted
[    5.620275] Freeing unused kernel memory: 4288K
[    5.669280] Checked W+X mappings: passed, no W+X pages found
[    5.669312] Run /sbin/init as init process
[    5.669316]   with arguments:
[    5.669318]     /sbin/init
[    5.669321]     empty
[    5.669323]   with environment:
[    5.669325]     HOME=/
[    5.669327]     TERM=linux
[    5.829294] EXT4-fs: Mount option(s) incompatible with ext2
[    5.905249] EXT4-fs (sda3): mounted filesystem with ordered data mode. Quota mode: none.
[    6.366733] zram: Added device: zram1
[    6.368933] zram1: detected capacity change from 0 to 8239536
[    6.385362] Adding 4119764k swap on /dev/zram1.  Priority:75 extents:1 across:4119764k SS
[    6.438478] i2c_dev: i2c /dev entries driver
[    6.459921] rtc-ds1307 1-0032: registered as rtc0
[    6.472976] dummy_rx8130: loading out-of-tree module taints kernel.
[   10.202189] udevd[1046]: starting version 3.2.14
[   10.219605] udevd[1047]: starting eudev-3.2.14
[   10.341593] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   10.343898] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   10.343918] [vc_sm_connected_init]: start
[   10.346312] [vc_sm_connected_init]: installed successfully
[   10.364483] rpi-gpiomem fe200000.gpiomem: window base 0xfe200000 size 0x00001000
[   10.366038] rpi-gpiomem fe200000.gpiomem: initialised 1 regions as /dev/gpiomem
[   10.400500] pl011_raw_uart fe201000.serial: there is not valid maps for state default
[   10.402524] pl011_raw_uart fe201000.serial: Initialized pl011 device; mapbase=0xfe201000; irq=39; clockrate=48000001
[   10.402621] pl011_raw_uart fe201000.serial: Detected RPI-RF-MOD, using alternative reset pin
[   10.402971] raw-uart raw-uart: Reset radio module
[   10.454589] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   10.467907] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[   10.468344] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[   10.468741] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   10.469129] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   10.494093] brcmfmac: F1 signature read @0x18000000=0x15264345
[   10.498150] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   10.499046] usbcore: registered new interface driver brcmfmac
[   10.585774] raw-uart raw-uart: Registered new raw-uart device using underlying device GPIO@fe201000.serial.
[   10.704957] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[   10.864798] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[   10.865605] bcmgenet fd580000.ethernet eth0: Link is Down
[   13.918021] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.918494] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   29.096831] raw-uart raw-uart: Reset radio module
[   31.293046] raw-uart raw-uart: Reset radio module
[   33.782695] raw-uart raw-uart: Reset radio module
[   34.286707] Lockdown: FanshimService: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
[   34.519514] eq3loop: created slave mmd_hmip
[   34.519821] eq3loop: created slave mmd_bidcos
[   38.562538] eq3loop: eq3loop_open_slave() mmd_bidcos
[   38.562582] eq3loop: eq3loop_close_slave() mmd_bidcos
[   38.564661] eq3loop: eq3loop_open_slave() mmd_hmip
[   38.564708] eq3loop: eq3loop_close_slave() mmd_hmip
[   38.643190] eq3loop: eq3loop_open_slave() mmd_bidcos
[   54.330728] eq3loop: eq3loop_open_slave() mmd_hmip
[   54.330889] eq3loop: eq3loop_close_slave() mmd_hmip
[   54.332957] eq3loop: eq3loop_open_slave() mmd_hmip
[   54.333097] eq3loop: eq3loop_close_slave() mmd_hmip
[   54.333631] eq3loop: eq3loop_open_slave() mmd_hmip
[   54.333785] eq3loop: eq3loop_close_slave() mmd_hmip
[   54.338954] eq3loop: eq3loop_open_slave() mmd_hmip
[   66.967022] EXT4-fs (sda2): re-mounted. Quota mode: none.
[   66.993948] EXT4-fs (sda2): re-mounted. Quota mode: none.
[  128.371965] usb 1-1.1: new full-speed USB device number 3 using xhci_hcd
[  128.486558] usb 1-1.1: New USB device found, idVendor=03eb, idProduct=204b, bcdDevice= 0.00
[  128.486585] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  128.486594] usb 1-1.1: Product: CUL433
[  128.486602] usb 1-1.1: Manufacturer: busware.de
[  128.524185] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device
[  128.524283] usbcore: registered new interface driver cdc_acm
[  128.524290] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  129.573261] usb 1-1.1: USB disconnect, device number 3
[  130.827997] usb 1-1.3: new full-speed USB device number 4 using xhci_hcd
[  130.938572] usb 1-1.3: New USB device found, idVendor=03eb, idProduct=204b, bcdDevice= 0.00
[  130.938605] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  130.938618] usb 1-1.3: Product: CUL433
[  130.938628] usb 1-1.3: Manufacturer: busware.de
[  130.946078] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
root@homematic:~#

Den CUL-Stick hatte ich übrigens testweise auch ausgestöpselt, der hat also nicht reingegrätscht.

Ich hatte ein sehr ähnliches Problem übrigens schon mal (https://github.com/jens-maus/RaspberryMatic/issues/2240). Ich könnte mir laienhaft vorstellen, das da ein Bug im Kernel gefixed wurde, der jetzt wieder da ist.

Baxxy13 commented 7 months ago

Ist es der 8GB Pi4B?

Der will nicht mehr von USB booten, der Adapter spielt da m.E. erstmal keine Rolle da die 2GB und 4GB Version weiterhin booten. Siehe: Link

Baxxy13 commented 7 months ago

Es wurde ein einfacher funktionaler Workaround gefunden. Link

jens-maus commented 7 months ago

Ist es der 8GB Pi4B?

Der will nicht mehr von USB booten, der Adapter spielt da m.E. erstmal keine Rolle da die 2GB und 4GB Version weiterhin booten. Siehe: Link

So ganz kann das nicht stimmen. Wie in der dmesg Ausgabe von @Troubadix zu sehen hat er einen Pi4 mit 4GB RAM. Siehe:

[    0.000000] Memory: 3853764K/4094976K available (14848K kernel code, 2076K rwdata, 4112K rodata, 4288K init, 1355K bss, 175676K reserved, 65536K cma-reserved)

Entweder sind das also zweit getrennte Probleme (1. bestimmte USB<>SSD Adapter wollen nicht mehr mit neueren Kernels, etc. und 2. der Pi4 8GB will gar nicht mehr von irgendeinem USB<>SSD Adapter booten).

Baxxy13 commented 7 months ago

Ja, gut. Mein Test bezog sich natürlich auf mein Setup mit dem ich Bootprobleme auf dem Pi4B 8GB verifizieren konnte. Daher die Nachfrage nach der genutzten Pi4B Version. Im Forum ist ja auch zu lesen das diverse 4GB-Versionen weiterhin durchbooten. Auch werden hier ja 2 Probleme genannt die möglicherweise, aber nicht zwingend, zusammenhängen.

Das Problem mit den Adaptern ist primär der UAS-Mode. Das kann man umgehen wenn man die USB-SSD an USB2 hängt. Bei USB3 muss dann eben die Blacklist greifen.

Hier mal der dmesg output des, mit dem Workaround gestarteten, Pi4B 8GB. Am Monitor ist nichts auffälliges zu sehen, statt sich nach "starting Kernel" zu resetten bootet er korrekt weiter.

dmesg ```ruby [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083] [ 0.000000] Linux version 6.6.21 (builder@e279c14b8740) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot -gb846eb6-dirty) 12.3.0, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT Tue Mar 19 02:24:09 UTC 2024 [ 0.000000] Kernel is locked down from Kernel configuration; see man kernel_lockdown.7 [ 0.000000] KASLR enabled [ 0.000000] random: crng init done [ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4 [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x000000002ac00000..0x000000002ebfffff (65536 KiB) map reusable linux,cma [ 0.000000] OF: reserved mem: 0x000000003ee63c00..0x000000003ee63fff (1 KiB) nomap non-reusable nvram@1 [ 0.000000] OF: reserved mem: 0x000000003ee64040..0x000000003ee64081 (0 KiB) nomap non-reusable nvram@0 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000003defffff] [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff] [ 0.000000] node 0: [mem 0x0000000100000000-0x00000001ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff] [ 0.000000] On node 0, zone DMA32: 8448 pages in unavailable ranges [ 0.000000] On node 0, zone Normal: 16384 pages in unavailable ranges [ 0.000000] percpu: Embedded 30 pages/cpu s85864 r8192 d28824 u122880 [ 0.000000] pcpu-alloc: s85864 r8192 d28824 u122880 alloc=30*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Spectre-v2 [ 0.000000] CPU features: detected: Spectre-v3a [ 0.000000] CPU features: detected: Spectre-v4 [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI) [ 0.000000] CPU features: detected: ARM erratum 1742098 [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: dwc_otg.lpm_enable=0 sdhci_bcm2708.enable_llm=0 console=tty2 root=PARTUUID=deedbeef-02 ro rootfstype=ext4 fsck.repair=yes rootwait rootdelay=5 consoleblank=120 logo.nologo quiet loglevel=0 init_on_alloc=1 init_on_free=1 slab_nomerge iomem=relaxed net.ifnames=0 usb-storage.quirks=174c:55aa:u,2109:0715:u,152d:0578:u,152d:0579:u,152d:1561:u,174c:0829:u,14b0:0206:u,174c:225c:u,7825:a2a4:u,152d:0562:u coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:48:B9:6B vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 empty [ 0.000000] Unknown kernel command line parameters "empty", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2039552 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:on [ 0.000000] mem auto-init: clearing system memory may take some time... [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x0000000039f00000-0x000000003df00000] (64MB) [ 0.000000] Memory: 7965040K/8289280K available (16512K kernel code, 2184K rwdata, 4524K rodata, 5120K init, 1076K bss, 258704K reserved, 65536K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 45486 entries in 178 pages [ 0.000000] ftrace: allocated 178 pages with 4 groups [ 0.000000] Lockdown: swapper: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.000000] Tracing disabled due to lockdown [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns [ 0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns [ 0.000370] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____) [ 0.000556] Console: colour dummy device 80x25 [ 0.000570] printk: console [tty2] enabled [ 0.000681] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000) [ 0.000700] pid_max: default: 32768 minimum: 301 [ 0.001021] LSM: initializing lsm=lockdown,capability,landlock,yama,apparmor,integrity [ 0.001202] landlock: Up and running. [ 0.001209] Yama: becoming mindful. [ 0.001320] AppArmor: AppArmor initialized [ 0.001531] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.001550] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.002665] cgroup: Disabling memory control group subsystem [ 0.004635] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.004798] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.004903] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.005203] rcu: Hierarchical SRCU implementation. [ 0.005213] rcu: Max phase no-delay instances is 1000. [ 0.007310] EFI services will not be available. [ 0.007662] smp: Bringing up secondary CPUs ... [ 0.008356] Detected PIPT I-cache on CPU1 [ 0.008488] CPU1: Booted secondary processor 0x0000000001 [0x410fd083] [ 0.009252] Detected PIPT I-cache on CPU2 [ 0.009347] CPU2: Booted secondary processor 0x0000000002 [0x410fd083] [ 0.010042] Detected PIPT I-cache on CPU3 [ 0.010137] CPU3: Booted secondary processor 0x0000000003 [0x410fd083] [ 0.010233] smp: Brought up 1 node, 4 CPUs [ 0.010252] SMP: Total of 4 processors activated. [ 0.010262] CPU features: detected: 32-bit EL0 Support [ 0.010267] CPU features: detected: 32-bit EL1 Support [ 0.010277] CPU features: detected: CRC32 instructions [ 0.010391] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching [ 0.010404] CPU: All CPU(s) started at EL2 [ 0.010424] alternatives: applying system-wide alternatives [ 0.014338] devtmpfs: initialized [ 0.026433] Enabled cp15_barrier support [ 0.026468] Enabled setend support [ 0.026643] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.026673] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.026801] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.026810] Can not register tracer wakeup due to lockdown [ 0.026822] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.026830] Can not register tracer function_graph due to lockdown [ 0.069895] pinctrl core: initialized pinctrl subsystem [ 0.070507] DMI not present or invalid. [ 0.071104] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.075574] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations [ 0.075899] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.076999] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.077166] audit: initializing netlink subsys (disabled) [ 0.077440] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1 [ 0.078009] thermal_sys: Registered thermal governor 'step_wise' [ 0.078078] cpuidle: using governor menu [ 0.078750] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.078883] ASID allocator initialised with 32768 entries [ 0.086733] bcm2835-mbox fe00b880.mailbox: mailbox enabled [ 0.097077] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-10-17T15:39:16, variant start [ 0.101095] raspberrypi-firmware soc:firmware: Firmware hash is 30f0c5e4d076da3ab4f341d88e7d505760b93ad7 [ 0.111522] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL [ 0.111539] Modules: 0 pages in range for non-PLT usage [ 0.111546] Modules: 516880 pages in range for PLT usage [ 0.113819] bcm2835-dma fe007000.dma-controller: DMA legacy API manager, dmachans=0x1 [ 0.117108] iommu: Default domain type: Translated [ 0.117123] iommu: DMA domain TLB invalidation policy: strict mode [ 0.117569] SCSI subsystem initialized [ 0.117797] libata version 3.00 loaded. [ 0.118008] usbcore: registered new interface driver usbfs [ 0.118051] usbcore: registered new interface driver hub [ 0.118103] usbcore: registered new device driver usb [ 0.118484] pps_core: LinuxPPS API ver. 1 registered [ 0.118494] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.118516] PTP clock support registered [ 0.119764] vgaarb: loaded [ 0.120671] clocksource: Switched to clocksource arch_sys_counter [ 0.120686] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.120695] Tracing disabled due to lockdown [ 0.120702] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.120710] Tracing disabled due to lockdown [ 0.120717] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.120724] Tracing disabled due to lockdown [ 0.120733] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.120740] Tracing disabled due to lockdown [ 0.120750] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.120757] Tracing disabled due to lockdown [ 0.121386] VFS: Disk quotas dquot_6.6.0 [ 0.121442] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.121565] FS-Cache: Loaded [ 0.121768] CacheFiles: Loaded [ 0.122319] AppArmor: AppArmor Filesystem Enabled [ 0.132166] NET: Registered PF_INET protocol family [ 0.132306] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.141531] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.141641] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.141717] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.142121] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear) [ 0.144813] TCP: Hash tables configured (established 65536 bind 65536) [ 0.145220] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear) [ 0.145569] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.145672] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.145995] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.146750] RPC: Registered named UNIX socket transport module. [ 0.146763] RPC: Registered udp transport module. [ 0.146770] RPC: Registered tcp transport module. [ 0.146776] RPC: Registered tcp-with-tls transport module. [ 0.146783] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.146813] PCI: CLS 0 bytes, default 64 [ 0.148116] kvm [1]: IPA Size Limit: 44 bits [ 0.149589] kvm [1]: vgic interrupt IRQ9 [ 0.149635] kvm [1]: Hyp mode initialized successfully [ 0.151098] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.151113] Tracing disabled due to lockdown [ 0.151123] Lockdown: swapper/0: use of tracefs is restricted; see man kernel_lockdown.7 [ 0.151131] Can not register tracer blk due to lockdown [ 0.151137] blktrace: Warning: could not register the block tracer [ 0.151390] Initialise system trusted keyrings [ 0.151662] workingset: timestamp_bits=46 max_order=21 bucket_order=0 [ 0.153370] NFS: Registering the id_resolver key type [ 0.153403] Key type id_resolver registered [ 0.153410] Key type id_legacy registered [ 0.153444] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.153463] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.153500] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.154816] Key type asymmetric registered [ 0.154828] Asymmetric key parser 'x509' registered [ 0.154901] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.155101] io scheduler mq-deadline registered [ 0.155114] io scheduler kyber registered [ 0.155172] io scheduler bfq registered [ 0.160349] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges: [ 0.160385] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff] [ 0.160429] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000 [ 0.160466] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x01ffffffff -> 0x0400000000 [ 0.161469] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00 [ 0.161489] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.161505] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff]) [ 0.161557] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400 [ 0.161651] pci 0000:00:00.0: PME# supported from D0 D3hot [ 0.165577] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator [ 0.165729] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator [ 0.165790] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator [ 0.274766] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC) [ 0.274921] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330 [ 0.275013] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit] [ 0.275295] pci 0000:01:00.0: PME# supported from D0 D3hot [ 0.284783] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff] [ 0.284808] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit] [ 0.284870] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.284883] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff] [ 0.285187] pcieport 0000:00:00.0: enabling device (0000 -> 0002) [ 0.285350] pcieport 0000:00:00.0: PME: Signaling with IRQ 26 [ 0.285705] pcieport 0000:00:00.0: AER: enabled with IRQ 26 [ 0.286690] simple-framebuffer 3e2fe000.framebuffer: framebuffer at 0x3e2fe000, 0x7e9000 bytes [ 0.286707] simple-framebuffer 3e2fe000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680 [ 0.287387] Console: switching to colour frame buffer device 240x67 [ 0.295781] simple-framebuffer 3e2fe000.framebuffer: fb0: simplefb registered! [ 0.300856] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 0.302886] iproc-rng200 fe104000.rng: hwrng registered [ 0.303128] vc-mem: phys_addr:0x00000000 mem_base=0x3eb00000 mem_size:0x3ff00000(1023 MiB) [ 0.315177] brd: module loaded [ 0.322105] loop: module loaded [ 0.322683] zram: Added device: zram0 [ 0.323299] Loading iSCSI transport class v2.0-870. [ 0.327042] tun: Universal TUN/TAP device driver, 1.6 [ 0.328088] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000 [ 0.524786] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus [ 0.571797] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 0.571842] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1 [ 0.576477] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0300240000000890 [ 0.577433] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 0.577457] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 0.577481] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed [ 0.577793] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06 [ 0.577811] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.577823] usb usb1: Product: xHCI Host Controller [ 0.577832] usb usb1: Manufacturer: Linux 6.6.21 xhci-hcd [ 0.577842] usb usb1: SerialNumber: 0000:01:00.0 [ 0.578516] hub 1-0:1.0: USB hub found [ 0.578570] hub 1-0:1.0: 1 port detected [ 0.579244] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06 [ 0.579262] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.579274] usb usb2: Product: xHCI Host Controller [ 0.579285] usb usb2: Manufacturer: Linux 6.6.21 xhci-hcd [ 0.579294] usb usb2: SerialNumber: 0000:01:00.0 [ 0.579813] hub 2-0:1.0: USB hub found [ 0.579864] hub 2-0:1.0: 4 ports detected [ 0.580952] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 0.581057] dwc_otg: FIQ enabled [ 0.581064] dwc_otg: NAK holdoff enabled [ 0.581071] dwc_otg: FIQ split-transaction FSM enabled [ 0.581085] Module dwc_common_port init [ 0.581790] usbcore: registered new interface driver uas [ 0.581853] usbcore: registered new interface driver usb-storage [ 0.581961] usbcore: registered new interface driver usbserial_generic [ 0.582000] usbserial: USB Serial support registered for generic [ 0.582447] Driver for 1-wire Dallas network protocol. [ 0.583827] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 0.586516] sdhci: Secure Digital Host Controller Interface driver [ 0.586531] sdhci: Copyright(c) Pierre Ossman [ 0.586751] Error: Driver 'sdhost-bcm2835' is already registered, aborting... [ 0.586761] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.591600] ledtrig-cpu: registered to indicate activity on CPUs [ 0.591703] hid: raw HID events driver (C) Jiri Kosina [ 0.591827] usbcore: registered new interface driver usbhid [ 0.591831] usbhid: USB HID core driver [ 0.594810] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 0.595954] NET: Registered PF_INET6 protocol family [ 0.596599] Segment Routing with IPv6 [ 0.596619] In-situ OAM (IOAM) with IPv6 [ 0.596738] NET: Registered PF_PACKET protocol family [ 0.596756] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.596803] Key type dns_resolver registered [ 0.608414] registered taskstats version 1 [ 0.608556] Loading compiled-in X.509 certificates [ 0.610655] Loaded X.509 cert 'Build time autogenerated kernel key: 936823f38226f612e3a14115cf5f5e0198846e60' [ 0.618362] Key type .fscrypt registered [ 0.618377] Key type fscrypt-provisioning registered [ 0.618442] AppArmor: AppArmor sha1 policy hashing enabled [ 0.623527] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 35, base_baud = 62500000) is a 16550 [ 0.623997] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [ 0.624119] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [ 0.624492] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0 [ 0.624500] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated [ 0.652566] of_cfs_init [ 0.652822] of_cfs_init: OK [ 0.653133] clk: Disabling unused clocks [ 0.654274] Waiting 5 sec before mounting root device... [ 0.690278] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA [ 0.730937] mmc1: new high speed SDIO card at address 0001 [ 0.777212] mmc0: new high speed SDHC card at address bb03 [ 0.778070] mmcblk0: mmc0:bb03 SD08G 7.42 GiB [ 0.780755] mmcblk0: p1 [ 0.781091] mmcblk0: mmc0:bb03 SD08G 7.42 GiB [ 0.832698] usb 1-1: new high-speed USB device number 2 using xhci_hcd [ 0.983440] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21 [ 0.983464] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 0.983477] usb 1-1: Product: USB2.0 Hub [ 0.985081] hub 1-1:1.0: USB hub found [ 0.985400] hub 1-1:1.0: 4 ports detected [ 1.108998] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd [ 1.130344] usb 2-2: New USB device found, idVendor=152d, idProduct=0579, bcdDevice= 5.06 [ 1.130362] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.130375] usb 2-2: Product: Portable SSD [ 1.130386] usb 2-2: Manufacturer: Intenso [ 1.130396] usb 2-2: SerialNumber: 20210323101B4 [ 1.133330] usb 2-2: UAS is ignored for this device, using usb-storage instead [ 1.133415] usb 2-2: UAS is ignored for this device, using usb-storage instead [ 1.133427] usb-storage 2-2:1.0: USB Mass Storage device detected [ 1.133894] usb-storage 2-2:1.0: Quirks match for vid 152d pid 0579: 800000 [ 1.134031] scsi host0: usb-storage 2-2:1.0 [ 1.280714] usb 1-1.3: new high-speed USB device number 3 using xhci_hcd [ 1.382144] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36 [ 1.382162] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.382175] usb 1-1.3: Product: USB2.0 Hub [ 1.383936] hub 1-1.3:1.0: USB hub found [ 1.384285] hub 1-1.3:1.0: 4 ports detected [ 1.464707] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd [ 1.569914] usb 1-1.4: New USB device found, idVendor=1b1f, idProduct=c020, bcdDevice= 1.00 [ 1.569933] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.569945] usb 1-1.4: Product: eQ-3 HmIP-RFUSB [ 1.569956] usb 1-1.4: Manufacturer: Silicon Labs [ 1.569965] usb 1-1.4: SerialNumber: 3014F711A0000420C9A17A0A [ 1.676695] usb 1-1.3.2: new low-speed USB device number 5 using xhci_hcd [ 1.786569] usb 1-1.3.2: New USB device found, idVendor=03f0, idProduct=1198, bcdDevice= 7.04 [ 1.786588] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.786600] usb 1-1.3.2: Product: HP USB 1000dpi Laser Mouse [ 1.786610] usb 1-1.3.2: Manufacturer: HP [ 1.798490] input: HP HP USB 1000dpi Laser Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/0003:03F0:1198.0001/input/input0 [ 1.798882] hid-generic 0003:03F0:1198.0001: input,hidraw0: USB HID v2.00 Mouse [HP HP USB 1000dpi Laser Mouse] on usb-0000:01:00.0-1.3.2/input0 [ 1.805024] hid-generic 0003:03F0:1198.0002: hiddev96,hidraw1: USB HID v2.00 Device [HP HP USB 1000dpi Laser Mouse] on usb-0000:01:00.0-1.3.2/input1 [ 1.884704] usb 1-1.3.4: new low-speed USB device number 6 using xhci_hcd [ 1.994348] usb 1-1.3.4: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=49.00 [ 1.994367] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.994379] usb 1-1.3.4: Product: USB Keyboard [ 1.994389] usb 1-1.3.4: Manufacturer: Logitech [ 2.008052] input: Logitech USB Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.0/0003:046D:C31C.0003/input/input1 [ 2.065325] hid-generic 0003:046D:C31C.0003: input,hidraw2: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:01:00.0-1.3.4/input0 [ 2.074658] input: Logitech USB Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.1/0003:046D:C31C.0004/input/input2 [ 2.133030] hid-generic 0003:046D:C31C.0004: input,hidraw3: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:01:00.0-1.3.4/input1 [ 2.149594] scsi 0:0:0:0: Direct-Access Intenso Portable SSD 0506 PQ: 0 ANSI: 6 [ 2.150841] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB) [ 2.151569] sd 0:0:0:0: [sda] Write Protect is off [ 2.151586] sd 0:0:0:0: [sda] Mode Sense: 47 00 00 08 [ 2.152252] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.155530] sda: sda1 sda2 sda3 [ 2.156196] sd 0:0:0:0: [sda] Attached SCSI disk [ 5.877363] EXT4-fs (sda2): orphan cleanup on readonly fs [ 5.877554] EXT4-fs (sda2): mounted filesystem 725941cd-d229-4e0d-ac24-59755e9c719e ro with ordered data mode. Quota mode: none. [ 5.877615] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [ 5.877926] devtmpfs: mounted [ 5.883532] Freeing unused kernel memory: 5120K [ 5.949107] Checked W+X mappings: passed, no W+X pages found [ 5.949155] Run /sbin/init as init process [ 5.949159] with arguments: [ 5.949161] /sbin/init [ 5.949163] empty [ 5.949165] with environment: [ 5.949167] HOME=/ [ 5.949169] TERM=linux [ 6.229044] EXT4-fs: Mount option(s) incompatible with ext2 [ 6.241510] EXT4-fs (sda3): mounted filesystem 28a1a436-d5e5-4a19-9f16-56d1272bb4b1 r/w with ordered data mode. Quota mode: none. [ 6.783323] zram: Added device: zram1 [ 6.786587] zram1: detected capacity change from 0 to 16874968 [ 6.803809] Adding 8437480k swap on /dev/zram1. Priority:75 extents:1 across:8437480k SS [ 6.850551] i2c_dev: i2c /dev entries driver [ 11.750714] udevd[1041]: starting version 3.2.14 [ 11.767766] udevd[1042]: starting eudev-3.2.14 [ 11.885262] rpi-gpiomem fe200000.gpiomem: window base 0xfe200000 size 0x00001000 [ 11.885888] rpi-gpiomem fe200000.gpiomem: initialised 1 regions as /dev/gpiomem [ 11.893449] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned. [ 11.895653] generic_raw_uart: loading out-of-tree module taints kernel. [ 11.898829] bcm2835_vc_sm_cma_probe: Videocore shared memory driver [ 11.898864] [vc_sm_connected_init]: start [ 11.905174] [vc_sm_connected_init]: installed successfully [ 11.905307] pl011_raw_uart fe201000.serial: there is not valid maps for state default [ 11.906521] pl011_raw_uart fe201000.serial: Initialized pl011 device; mapbase=0xfe201000; irq=40; clockrate=48000001 [ 11.906602] pl011_raw_uart fe201000.serial: Missing I2C driver of rtc device, trying to load [ 11.906606] pl011_raw_uart fe201000.serial: Requesting module i2c:rx8130 [ 11.924336] rtc-ds1307: probe of 1-0032 failed with error -5 [ 11.943324] rtc-ds1307: probe of 1-0032 failed with error -5 [ 11.945247] raw-uart raw-uart: Reset radio module [ 11.954377] usb 1-1.4: Found eQ-3 HmIP-RFUSB with serial 3014F711A0000420C9A17A0A at usb-0000:01:00.0-1.4 [ 11.954598] raw-uart raw-uart1: Reset radio module [ 11.954610] raw-uart raw-uart1: Registered new raw-uart device using underlying device eQ-3 HmIP-RFUSB@usb-0000:01:00.0-1.4. [ 11.958175] usbcore: registered new interface driver hb_rf_usb_2 [ 11.982087] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 11.993337] Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf' [ 11.993817] Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328' [ 11.994276] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 11.994707] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 12.029889] brcmfmac: F1 signature read @0x18000000=0x15264345 [ 12.038232] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 12.041352] usbcore: registered new interface driver brcmfmac [ 12.124735] raw-uart raw-uart: Registered new raw-uart device using underlying device GPIO@fe201000.serial. [ 12.252003] brcmfmac_wcc: brcmf_wcc_attach: executing [ 12.257368] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ 12.257820] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60 [ 12.402811] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay) [ 12.404846] bcmgenet fd580000.ethernet eth0: Link is Down [ 16.485393] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 19.524070] warning: `ifplugd' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211 [ 29.147295] raw-uart raw-uart: Reset radio module [ 29.325156] raw-uart raw-uart1: Reset radio module [ 31.340501] raw-uart raw-uart: Reset radio module [ 49.517878] raw-uart raw-uart: Reset radio module [ 49.707938] raw-uart raw-uart1: Reset radio module [ 51.166172] raw-uart raw-uart1: Reset radio module [ 51.712781] eq3loop: created slave mmd_hmip [ 51.713226] eq3loop: created slave mmd_bidcos [ 53.732549] eq3loop: eq3loop_open_slave() mmd_bidcos [ 53.732593] eq3loop: eq3loop_close_slave() mmd_bidcos [ 53.734724] eq3loop: eq3loop_open_slave() mmd_hmip [ 53.734763] eq3loop: eq3loop_close_slave() mmd_hmip [ 53.807440] eq3loop: eq3loop_open_slave() mmd_bidcos [ 68.885802] eq3loop: eq3loop_open_slave() mmd_hmip [ 68.885953] eq3loop: eq3loop_close_slave() mmd_hmip [ 68.887925] eq3loop: eq3loop_open_slave() mmd_hmip [ 68.888042] eq3loop: eq3loop_close_slave() mmd_hmip [ 68.888515] eq3loop: eq3loop_open_slave() mmd_hmip [ 68.888593] eq3loop: eq3loop_close_slave() mmd_hmip [ 68.893599] eq3loop: eq3loop_open_slave() mmd_hmip ```

Edit: sehe gerade das ich den Nightly mit Kernel 6.6.21 gebootet habe. Der bootete aber gestern ohne den Workaround auch nicht, kann also als "Problemlöser" ausgeschlossen werden.

Troubadix commented 6 months ago

Ich sehe gerade im Changelog für die neue Version den Eintrag

add kernel upstream patch to increase usb storgae quirks character limit to 256 characters so that the currently specified USB quirks string does not result in a kernel bootup error

Betrifft das diesen meinen Bug? Hab leider gerade keine Zeit, das auszutesten und würde mich daher über eine kurze Bestätigung freuen :)

jens-maus commented 6 months ago

Betrifft das diesen meinen Bug? Hab leider gerade keine Zeit, das auszutesten und würde mich daher über eine kurze Bestätigung freuen :)

Nein, denn dann wäre das Issue hier ja weiter bearbeitet oder eben als gefixt geschlossen worden.

Baxxy13 commented 6 months ago

Mal so dahergedacht... Kann man nicht UAS komplett im Kernel ausknipsen?

Bei einer RM hat man doch generell einen geringen i/o da würde man doch kaum merken wenn das USB-Device mit "mass_storage" statt uas läuft. Man bräuchte die quirks-Liste nicht pflegen und könnte theoretisch jeden Adapter direkt nutzen da die (nach meiner Erfahrung) alle mit "mass_storage" harmonisieren.

Bei HA-OS ist das was anderes, da hier ggf. hoher i/o für die Datenbanken gebraucht wird.

jens-maus commented 6 months ago

Mal so dahergedacht... Kann man nicht UAS komplett im Kernel ausknipsen?

Bei einer RM hat man doch generell einen geringen i/o da würde man doch kaum merken wenn das USB-Device mit "mass_storage" statt uas läuft. Man bräuchte die quirks-Liste nicht pflegen und könnte theoretisch jeden Adapter direkt nutzen da die (nach meiner Erfahrung) alle mit "mass_storage" harmonisieren.

Prinzipiell keine schlechte Idee. Die Frage wäre nur was das für mögliche Nebenwirkungen haben könnte. Das kann ich aktuell nicht/schwer überblicken. Aber versuchen könnte man es ggf. Muss ich mal schauen ob man UAS einfach durch wegnehmen von CONFIG_USB_UAS in der kernel config ausknipsen kann.

Baxxy13 commented 5 months ago

Wie ist denn hier der Status? Inzwischen gibt es ja eine neue Version, bootet die? Im Forum Forum gab es wieder 2 Berichte mit USB-Boot-Problemen beim Pi4B. Hab mir das aber noch nicht angeguckt.

Newbie-2 commented 5 months ago

Ich habe drei USB Controller mit denen es ohne Probleme klappt. Ab besten funktioniert es mit USB-Sticks. Bei zwei USB -> M.2 Controller gibt es Probleme das entweder der Bootvorgang nicht korrekt startet oder die Raspberrymatic im StartProzess der Lan-Controller IP Zuweisung hängen bleibt.
Somit würde ich grundsätzlich sages das es keine Probleme mit einem Pi4 und der Raspberrymatic per USB Boot gibt.

Baxxy13 commented 5 months ago

Danke. Zumindest den Pi4B-8GB bekomme ich weiterhin nicht von USB->SATA-SSD gebootet, egal welchen Adapter ich nehme. 2GB und 4GB booten hingegen von allen Adaptern, also ist m.E. der Status seit 3.75.6.20240316 unverändert. Somit bin ich auch der Meinung das es bei Pi4B-2GB / Pi4B-4GB keine grundsätzlichen USB-Boot-Probleme gibt.

maik-dmxc commented 5 months ago

Hi,

das Problem des USB BOOT ist mit einer FAT32 SD Karte lösbar, aber! Ich kann nun kein Update einspielen.

Das Update endet im start des recoverymodus. Ein Update von dort aus gibt interessante Informationen.

Receiving uploaded data.......OK, DONE

Preparing firmware update:
[1/7] Checking uploaded data... 327039095 bytes received, OK
[2/7] Calculating SHA256 checksum.....359283b21d4bd651ed4ed4d1cc70edf4c57b201727d6b84150d3e3285f348465
[3/7] Checking free disk space... 108540878848 bytes, OK
[4/7] Checking storage performance.......sequential write: 73.64 MB/s (OK: > 10.0 MB/s), random write: 3673 IOPS (OK: > 500 IOPS), random read: 4654 IOPS (OK: > 1500 IOPS), PASSED
[5/7] Preparing uploaded data... zip identified, unarchiving..........OK
[6/7] Verifying uploaded data.........OK (sha256sum), DONE
[7/7] Preparing firmware update... OK, DONE
Finished preparation successfully.

Starting firmware update (DO NOT INTERRUPT!!!):
[1/5] Validate update directory... OK
[2/5] Checking update_script... no 'update_script', OK
[3/5] Checking for rootfs filesystem images... none found, OK
[4/5] Checking for bootfs filesystem images... none found, OK
[5/5] Checking for image file... found, ERROR: (fdisk bootfs)

MfG

Baxxy13 commented 5 months ago

Da hilft wohl nur die SSD direkt mit der neuen Version zu flashen, dann mit Workaround-SD zu starten und dann ein Backup restoren.

SchneidSie commented 4 months ago

Hallo, ich habe eine Raspberrymatic mit einem Pi 4 mit 4GB und einem über Kabel abgesetzten Funkmodul MOD-RPI-PCB. Das Betriebssystem läuft über einen USB-Stick in einem USB 2.0-Anschluss. Die Version 20240601 bootet bei mir von USB nur mit dem Workaround „leere FAT-formatierte SD-Karte“. Versuchsweise habe ich mal die Version 20240316 eingesteckt, sie bootet von USB auch ohne SD-Karte. Ich habe es mit zwei unterschiedlichen USB-Sticks probiert, einer mit 64GB der andere mit 32GB, beide bringen das gleiche Ergebnis. Beim „Hängen“ leuchtet die rote LED ständig, die grüne ist ca. 12-15sec aus und dann ca. 4-5sec ein, das wiederholt sich immer wieder. Auf meinem zweiten Pi4 ebenfalls mit 4GB aber mit einem Funkmodul RPI-RF-MOD zeigt sich das gleiche Ergebnis. Die Ausgabe auf einem Monitor konnte ich nur als Video aufnehmen und daraus einen Screenshot machen. Dunkler Bildschirm für ca. 15 sec, Meldung für 1-2sek, dunkler Bildschirm für ca. 15 sec, Meldung für 1-2sek etc. Gruß, Siegfried Screenshot 2024-06-27 203619

SchneidSie commented 4 months ago

Im oben stehenden Screenshot meldet der Raspi "SD: card detected". Es war aber definitiv keine SD-Karte im Schacht. Könnte das ein Hinweis auf die Problematik sein?

Baxxy13 commented 4 months ago

Hmm, das kommt dann aber vom Bootloader und nicht von RaspberryMatic. Mein Pi4B-4GB bootet auch weiterhin problemlos von USB->SATA-SSD.

derjoerg commented 4 months ago

Hallo, wollte mich hier nur mal anschließen. Raspi 4B mit 8GB RAM Argon One M.2 Expansion Board (USB3 -> SSD)

Wenn ich ein aktuelles RaspberryPi OS auf die SSD lade bootet alles wie es soll. Wenn ich ein aktuelles RaspberryMatic auf die SSD lade ... Bootloop

Sobald ich eine leere SD-Karte einstecke, bootet RaspberryMatic

HeinzHarald commented 4 months ago

Hallo, ich versuche auch Rasperrymatic 3.75.7.20240601 auf einem Raspi 4B mit 8GB RAM im Argon ONE Case mit Argon One M.2 SATA Expansion Board BKey B+MKey Version 06182021V2.3 über (USB3 -> SSD) in Betrieb zu nehmen und bekomme es nicht hin. Bootet, dann Blue Screen und dann fängt er nochmal an. Habe auch das Gehäuse schon 3 mal demontiert, da es aussah wie ein Kurzschluß. Das konnte ich aber ausschließen, da Rasperry Pi OS 64 ohne Porblme läuft.

Besteht mit dem 8GB noch immer das Problem mit dem Bootlop? Oder fehlt mir hier der Argon USB Treiber in der Rasperrymatic?

Sollte es der Treiber sein, kann mich da jemand unterstützen wie ich den installieren kann? Bin leider Windows User und mit Raspberry und Linux nicht gar so bewandert.

Das kann ich auch bestätigen Raspberry meldet der Raspi "SD: card detected". Es war aber definitiv keine SD-Karte im Schacht. Könnte das ein Hinweis auf die Problematik sein?_

Danke

Baxxy13 commented 4 months ago

Also für den Pi4B-8GB konnte ich inzwischen das Problem identifizieren und auch eine temporäre Lösung (nicht die SD-Karten Methode) finden. Da bei einem Zentralenfirmware Update/Downgrade das /boot - FS überschrieben wird lässt sich das aber nicht produktiv einsetzen. Ob sich damit das Problem beim P4B-4GB (das meiner kurioserweise nicht hat) auch beheben lässt müsste jemand mit Expertise testen.

SchneidSie commented 4 months ago

Hallo Baxxy13, wenn du mir kurz beschreibst, wie ich einen Downgrade des Bootloaders mache (per SSH oder balenaEtcher?) und wo ich den alten Bootloader finde, könnte ich das auf einem meiner beider Raspberrymatic mit Pi4B-4GB testen?!

Baxxy13 commented 4 months ago

Ich habe das ganz simpel gemacht. Die 3.73.9.20240130 geflasht und (man hat ja mit Windows zugriff auf die Boot-Partition) die u-boot.bin auf den PC kopiert. Dann die 3.75.7.20240601 geflasht und mit der u-boot.bin vom PC die auf der Boot-Partition überschrieben. Danach die SSD an den Pi4B-8GB und Voila.

SchneidSie commented 4 months ago

So, jetzt habe ich mal wie Baxxy13 beschrieben hat getestet:

  1. Natürlich KEINE SD-Karte im Schacht!
  2. RaspberryMatic-3.73.9.20240130-rpi4 geflasht und damit gebootet: --> normaler Start, „heartbeat“ kommt
  3. Aus RaspberryMatic-3.73.9.20240130-rpi4 „u-boot.bin“ vom 30.01.2024 auf PC kopiert
  4. RaspberryMatic-3.75.7.20240601-rpi4 geflasht und gebootet: --> kein „heartbeat“ --> hängt wie weiter oben beschrieben.
  5. Vom PC „u-boot.bin“ vom 30.01.2024 in RaspberryMatic-3.75.7.20240601-rpi4 die „u-boot.bin“ vom 01.06.2024 überschrieben: normaler Start, „heartbeat“ kommt! Auch wenn es nicht bei allen Pi4B-4GB auftritt, scheint er wohl doch das gleiche Problem wie der Pi4B-8GB zu haben?!
Troubadix commented 4 months ago

Könnte @jens-maus nicht ein angepasstes Image mit aktueller Raspberrymatic aber altem U-Boot bereitstellen? :)

jens-maus commented 4 months ago

Könnte @jens-maus nicht ein angepasstes Image mit aktueller Raspberrymatic aber altem U-Boot bereitstellen? :)

Nein, könnte er nicht. Besser den root-cause in U-Boot finden statt hier was altes zusammenzupatchen...

Baxxy13 commented 4 months ago

Ich hatte gestern ein wenig recherchiert, konnte aber nicht so richtig was finden. Was mich wundert ist der Pi4B-4GB. Meiner bootet problemlos von USB während andere bootloopen. Grob gesehen sind doch alle Pi4B-4GB identisch. Außer:

Naja, zumindest ist nun klar wo man suchen muss. 😉

Troubadix commented 4 months ago

Ich hab das jetzt auch ausprobiert.

Update über WebUI mit anschließendem Austausch der u-boot.bin klappt nicht. Oder aber ich war zu ungeduldig und hätte länger warten müssen?

Backup machen, aktuelle Raspimatic mit Etcher flashen und direkt danach die u-boot.bin austauschen klappt. Danach das Backup wieder einspielen und alles ist schön.

Wurde der Bug denn schon an die U-Boot-Fahrer gemeldet? Ich finde da keinen Bugtracker.

Immerhin ist jetzt mal die Sicherheitslücke behoben... :)

HeinzHarald commented 3 months ago

Hallo, der letzet Eintrag ist vom 15.07.2024 und das Thema ist noch offen. Die Version 3.77.6.20240720 bootet auf meinemPI4 8GB noch immer nicht von der angschlossenen USB SSD. Es funktioniert aber die 3.73 U-Boot.bin einzuspielen, wie oben beschrieben. Das funktioniert auch ohne Probleme unter Windows. Eventuell muß das Laufwerk mit der Datenträgerverwaltung eingebunden werden, damit es einen Laufwerksbuchstaben erhält.

Da das Problem somit bei jedem Update wieder auftaucht, meine Frage, wie sind die Aussichten auf eine Behebung, ist das machbar und wird daran gearbeitet?

SchneidSie commented 1 week ago

Hallo, Info zur neuen Version der RaspberryMatic: gestern habe ich die Version 3.79.6.20241031 eingespielt. Nach dem Neustart bleibt mein Pi4B-4GB in der Boot-Schleife hängen. Wie von Baxxy13 beschrieben, habe ich dann die „u-boot.bin“ durch die Version vom 30.01.2024 ersetzt. Damit startet meine RaspberryMatic wieder ganz normal.

HeinzHarald commented 1 week ago

Hallo, gibt es einen weg, die Raspberrymatic Software am Windows PC zu bearbeiten und schon dort die U-Boot vom 30.01.2024 einzusetzen? Ich muß jedesmal den Schrank wegbauen um die USB Brücke von der SSD zum Raspi zu entfernen. Eine Modifikation und das Online Einspielen wäre daher schon sehr hilfreich.

@jens-maus Ich verstehe ja einerseits das Du das nicht anbieten möchtest. Andererseits bin ich durch meinen SSD Aufbau jedoch dazu gezwungen die alte U-Boot zu nutzen.

Ist denn hier eine Lösung absehbar?