RROrg / rr

Redpill Recovery (arpl-i18n)
GNU General Public License v3.0
3.87k stars 668 forks source link

Failed to boot to DSM after update to rr 24.6.4 #1214

Closed StatCombo closed 2 months ago

StatCombo commented 3 months ago

After update all (from 24.5.6 to 24.6.4) system stop booting up in DSM.... i am already try change (Priority to USE official drivers false\true) but it's not helping! please help find the way! CPU: i3 8100 RAM: 32gb ddr4 All ethernet cards available with ip address but the DSM won't boot! find.synology.com same not find! i am try to use 24.6.3 and it works fine!, please recheck all about 24.6.4 best regards!

wjz304 commented 2 months ago

https://github.com/RROrg/rr-build/actions/runs/9632096082 disable VMWARE_BALLOON,ATL2,IAVF,USB_SERIAL*

StatCombo commented 2 months ago

hello, i go test all builds...

https://github.com/RROrg/rr-build/actions/runs/9628479717 disable BCM_KONA_USB2_PHY, INTEL_IOMMU_SVM, VIRTIO_MMIO_CMDLINE_DEVICES, USB_NET_RNDIS_WLAN

Not booted! trying next

https://github.com/RROrg/rr-build/actions/runs/9629339161 CONFIG_USB4_NET CONFIG_USB_OTG CONFIG_USB_XHCI_HCD=m CONFIG_USB_XHCI_PCI_RENESAS=m CONFIG_USB_XHCI_PLATFORM=m CONFIG_USB_EHCI_HCD=m CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_PCI=m CONFIG_USB_EHCI_FSL=m CONFIG_USB_EHCI_HCD_PLATFORM=m CONFIG_USB_OHCI_HCD=m CONFIG_USB_UHCI_HCD=m

This also not booted! trying next build

disable VMWARE_BALLOON,ATL2,IAVF,USB_SERIAL*

this not work( need more variants)

wjz304 commented 2 months ago

in RR shell (Any of the above test versions will do)

curl -kL https://github.com/RROrg/public/releases/download/public/buildroot-24.6.2.zip -o /tmp/buildroot.zip
echo A | unzip /tmp/buildroot.zip -d /mnt/p3

Then "menu.sh -> Advanced menu -> Save modifications of '/opt/rr'" Then reboot Then test

(buildroot-24.6.2.zip is RR 24.6.3‘s kernel)

StatCombo commented 2 months ago

buildroot-24.6.2.zip is RR 24.6.3‘s kernel

yep, it;s works. the system are booted up!

wjz304 commented 2 months ago

Could it be qemu?

StatCombo commented 2 months ago

Could it be qemu?

You need to test it on QEMU?, i am use baremetal .... for qemu need to stup in pc. but it have another hardware....

or you mean this? BR2_PACKAGE_QEMU=y BR2_PACKAGE_QEMU_TOOLS=y BR2_PACKAGE_QEMU_GUEST_AGENT=y

its also could may be .... Need to test) CONFIG_FORCEDETH=m CONFIG_SFC=m CONFIG_SFC_MCDI_MON=y CONFIG_SFC_SRIOV=y CONFIG_SFC_MCDI_LOGGING=y CONFIG_SFC_SIENA=m CONFIG_SFC_SIENA_MCDI_MON=y CONFIG_SFC_SIENA_SRIOV=y CONFIG_SFC_SIENA_MCDI_LOGGING=y CONFIG_VIA_RHINE=m CONFIG_VIA_RHINE_MMIO=y

wjz304 commented 2 months ago

These three options only increase the qemu function. Of course, the qemu-ga service is enabled by default. In theory, the hardware device (non-qemu virtual machine) will fail and skip this service, which has no effect.

wjz304 commented 2 months ago

CONFIG_FORCEDETH=m CONFIG_SFC=m CONFIG_SFC_MCDI_MON=y CONFIG_SFC_SRIOV=y CONFIG_SFC_MCDI_LOGGING=y CONFIG_SFC_SIENA=m CONFIG_SFC_SIENA_MCDI_MON=y CONFIG_SFC_SIENA_SRIOV=y CONFIG_SFC_SIENA_MCDI_LOGGING=y CONFIG_VIA_RHINE=m CONFIG_VIA_RHINE_MMIO=y

These are the network card drivers.

StatCombo commented 2 months ago

These are the network card drivers.

lets try.... Disable qemu flags... if it's not work may be disable networks flags) may be just hardware conflict?

wjz304 commented 2 months ago

Using img of v24.6.4 in shell

rm -rf "/tmp/rdxz_tmp"; mkdir -p "/tmp/rdxz_tmp"; (cd "/tmp/rdxz_tmp"; xz -dc <"/mnt/p3/initrd-rr" | cpio -idm) >/dev/null 2>&1 || true
rm -f /tmp/rdxz_tmp/etc/init.d/S19qemu-ga
(cd "/tmp/rdxz_tmp"; find . 2>/dev/null | cpio -o -H newc -R root:root | xz --check=crc32 >"/mnt/p3/initrd-rr") || true; rm -rf "/tmp/rdxz_tmp"
reboot

then test

This takes about 5 minutes (= Save modifications of '/opt/rr)

StatCombo commented 2 months ago

(cd "/tmp/rdxz_tmp"; find . 2>/dev/null | cpio -o -H newc -R root:root | xz --check=crc32 >"/mnt/p3/initrd-rr") || true; rm -rf "/tmp/rdxz_tmp"

no, it's not helped!

wjz304 commented 2 months ago

https://github.com/RROrg/rr-build/actions/runs/9634043573 disable FORCEDETH, SFC, VIA, QEMU

StatCombo commented 2 months ago

disable FORCEDETH, SFC, VIA, QEMU

Not work.... )))) we downgrade all params?

wjz304 commented 2 months ago

Yes, but the base buildroot for each compilation is still different, wait a minute

wjz304 commented 2 months ago

https://github.com/RROrg/rr-build/actions/runs/9635661681 Buildroot version: 2024.02.1 Kernel version: 6.6.22

wjz304 commented 2 months ago

https://github.com/RROrg/rr-build/actions/runs/9635904605 Buildroot version: 2024.02.2 Kernel version: 6.6.22

StatCombo commented 2 months ago

Buildroot version: 2024.02.1

Can't get IP address in TWO NIC Devices in RR. trying next build

StatCombo commented 2 months ago

Buildroot version: 2024.02.2

This build sucessfuly booted to DSM w/o using DirectBoot option! logs.zip

wjz304 commented 2 months ago

So let’s use 2024.02.2 for now.

StatCombo commented 2 months ago

So let’s use 2024.02.2 for now.

Sure, tell me what i must to do)

StatCombo commented 2 months ago

我还怀疑了一下是不是我将两个网口设置了链路聚合的原因,刚才特别测试了一些 跟链路聚合设置无关

@yunzhongci check this build https://github.com/RROrg/rr-build/actions/runs/9635904605

wjz304 commented 2 months ago

So let’s use 2024.02.2 for now.

Sure, tell me what i must to do)

Since it is an official buildroot issue, it is difficult to investigate. So I will continue to use 2024.02.2 for a while. No need to do anything. Just wait for me to update.

StatCombo commented 2 months ago

Since it is an official buildroot issue, it is difficult to investigate. So I will continue to use 2024.02.2 for a while. No need to do anything. Just wait for me to update.

Ok , thank you very much, good night, if need we can use Telegram to communicate with u immediately if u need my help or test anything just pin me)

wjz304 commented 2 months ago

https://github.com/RROrg/rr/releases/tag/24.6.7

Close this one first, and create new issues if you have any questions later.