Bricked NAS540 boot loop because it could not load the kernel
potter91
Posts: 2
Hello guys I have purchased for cheap a dead 540
I like to revive it and found this existing topic
https://businessforum.zyxel.com/discussion/7674/nas542-bootloop-after-debian-omv-get-a-new-firmware-solved
After some try & error I could get it booting the uImage.521 but the rootfs mount gets an error
After that I tried to insert a OMV usb and it boots
But I like to restore the default firmware first and get it working again before installing OMV to a SD card
@Mijzelf I hope you can help me and I appreciate you contributions
I have attached a serial log
Greetings from germany
I like to revive it and found this existing topic
https://businessforum.zyxel.com/discussion/7674/nas542-bootloop-after-debian-omv-get-a-new-firmware-solved
After some try & error I could get it booting the uImage.521 but the rootfs mount gets an error
After that I tried to insert a OMV usb and it boots
But I like to restore the default firmware first and get it working again before installing OMV to a SD card
@Mijzelf I hope you can help me and I appreciate you contributions
I have attached a serial log
Greetings from germany
0
All Replies
-
The kernel command line is incorrect. Yours is[0.000000] Kernel command line: console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes mac_addr=00:0A:0B:0C:0D:0E,,Here you can find a proper bootlog, and the command line is[0.000000] Kernel command line: console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes
mac_addr=,, ip=dhcp root=ubi0:rootfs ubi.mtd=2,2048 rootfstype=ubifs rw noinitrd
mtdparts=spi0.0:256k(uloader)ro,512k(barebox)ro,256k(env);comcertonand:10M(config),10M(kernel1),
110M(rootfs1),10M(kernel2),110M(rootfs2),-(reserved) usb3_internal_clk=yesThe reason why your system doesn't boot isubiattach: error!: cannot attach mtd7
error 19 (No such device)
mount: unknown filesystem type 'ubifs'
NAND Flash Corrupt...
the sys-root image /dev/mtdblock7 is currupt !!The partitions of the flash memory should be specified in the command line. On your box they aren't, and so the original firmware cannot mount partition 7. You'll have to play with barebox to get the right command line.BTW, next time use a flat text editor like notepad to paste the bootlog. It's hard to read with rtf formatting.
0 -
@Mijzelf Thanks a lot now it boots againI will made two firmware flash to be secure that both kernels are OK
Only changed one line and it works again
I am so happy thanks a lot
I am using MobaXterm and .rtf is what it exportsBTW, next time use a flat text editor like notepad to paste the bootlog. It's hard to read with rtf formatting.
But the forum did not allowed the .rtf extension.
So I thought it would be clear to remove the .txt
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight