NSA320 fails uboot after upgrade debian buster to bullseye October 30, 2022 10:12AM |
Registered: 3 years ago Posts: 24 |
NSA320> boot Initializing devices... Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: ST2000DL003-9VT166 Firm: CC45 Ser#: 5YD6LRQ4 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Device 1: Model: ST4000DM005-2DP166 Firm: 0001 Ser#: ZDH0CSKF Type: Hard Disk Supports 48-bit addressing Capacity: 3815447.8 MB = 3726.0 GB (7814037168 x 512) Unknown command 'mmc' - try 'help' Loading envs from usb 0... ** Bad device usb 0 ** Loading envs from usb 1... ** Bad device usb 1 ** Loading envs from usb 2... ** Bad device usb 2 ** Loading envs from usb 3... ** Bad device usb 3 ** Loading envs from ide 0... 260 bytes read in 88 ms (2 KiB/s) ... envs loaded importing envs ... running scan_disk ... Scan device usb device usb 0:1 ** Bad device usb 0 ** device usb 1:1 ** Bad device usb 1 ** device usb 2:1 ** Bad device usb 2 ** device usb 3:1 ** Bad device usb 3 ** Scan device ide Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: ST2000DL003-9VT166 Firm: CC45 Ser#: 5YD6LRQ4 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Device 1: Model: ST4000DM005-2DP166 Firm: 0001 Ser#: ZDH0CSKF Type: Hard Disk Supports 48-bit addressing Capacity: 3815447.8 MB = 3726.0 GB (7814037168 x 512) device ide 0:1 ext4fs_devread read outside partition 18446744073262735360 device ide 1:1 Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** Scan device mmc Unknown command 'mmc' - try 'help' device mmc 0:1 ** Bad device mmc 0 ** device mmc 1:1 ** Bad device mmc 1 ** device mmc 2:1 ** Bad device mmc 2 ** device mmc 3:1 ** Bad device mmc 3 ** loading uImage ... ** Bad device usb 0 ** loading uInitrd ... ** Bad device usb 0 ** loading DTB /boot/dts/kirkwood-nsa320.dtb ... ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image!
Processing triggers for initramfs-tools (0.140) ... update-initramfs: Generating /boot/initrd.img-5.19.2-kirkwood-tld-1 I: The initramfs will attempt to resume from /dev/sdb1 I: (UUID=e410ee0f-8aa3-4af5-af2e-0cbab3fc195e) I: Set the RESUME variable to override this.
cd /boot mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.19.2-kirkwood-tld-1 -d vmlinuz-5.19.2-kirkwood-tld-1 uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.19.2-kirkwood-tld-1 -d initrd.img-5.19.2-kirkwood-tld-1 uInitrd
NSA320> load ide 0:1 0x800000 /boot/uImage ext4fs_devread read outside partition 18446744073262735360 NSA320> ext4ls ide 0:1 /boot/11.5 <DIR> 4096 . <DIR> 4096 .. 5733288 uImage 12719243 uInitrd 13192459 initrd.img-5.19.2-kirkwood-tld-1 NSA320> load ide 0:1 0x800000 /boot/11.5/uImage ext4fs_devread read outside partition 18446744073262784512 NSA320> load ide 0:1 0x800000 /boot/bck.20221030/uImage 4963680 bytes read in 861 ms (5.5 MiB/s)
Re: NSA320 fails uboot after upgrade debian buster to bullseye October 30, 2022 01:31PM |
Admin Registered: 13 years ago Posts: 19,007 |
Quote
device ide 0:1
ext4fs_devread read outside partition 18446744073262735360
Quote
loading uImage ...
** Bad device usb 0 **
loading uInitrd ...
** Bad device usb 0 **
loading DTB /boot/dts/kirkwood-nsa320.dtb ...
** Bad device usb 0 **
setenv devices usb setenv bootdev usb printenv boot
update-initramfs -uAnd then recreate the uInitrd in /boot.
Re: NSA320 fails uboot after upgrade debian buster to bullseye October 30, 2022 02:20PM |
Registered: 3 years ago Posts: 24 |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:46:11 -0700) ZyXEL NSA320 2-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Using egiga0 device ARP Retry count exceeded; starting again ping failed; host 192.168.3.121 is not alive Hit any key to stop autoboot: 0 Initializing devices... starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: ST2000DL003-9VT166 Firm: CC45 Ser#: 5YD6LRQ4 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Device 1: Model: ST4000DM005-2DP166 Firm: 0001 Ser#: ZDH0CSKF Type: Hard Disk Supports 48-bit addressing Capacity: 3815447.8 MB = 3726.0 GB (7814037168 x 512) Unknown command 'mmc' - try 'help' Loading envs from usb 0... ** Bad device usb 0 ** Loading envs from usb 1... ** Bad device usb 1 ** Loading envs from usb 2... ** Bad device usb 2 ** Loading envs from usb 3... ** Bad device usb 3 ** Loading envs from ide 0... 260 bytes read in 88 ms (2 KiB/s) ... envs loaded importing envs ... running scan_disk ... Scan device usb device usb 0:1 ** Bad device usb 0 ** device usb 1:1 ** Bad device usb 1 ** device usb 2:1 ** Bad device usb 2 ** device usb 3:1 ** Bad device usb 3 ** Scan device ide Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: ST2000DL003-9VT166 Firm: CC45 Ser#: 5YD6LRQ4 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Device 1: Model: ST4000DM005-2DP166 Firm: 0001 Ser#: ZDH0CSKF Type: Hard Disk Supports 48-bit addressing Capacity: 3815447.8 MB = 3726.0 GB (7814037168 x 512) device ide 0:1 ext4fs_devread read outside partition 18446744073262735360 device ide 1:1 Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** Scan device mmc Unknown command 'mmc' - try 'help' device mmc 0:1 ** Bad device mmc 0 ** device mmc 1:1 ** Bad device mmc 1 ** device mmc 2:1 ** Bad device mmc 2 ** device mmc 3:1 ** Bad device mmc 3 ** loading uImage ... ** Bad device usb 0 ** loading uInitrd ... ** Bad device usb 0 ** loading DTB /boot/dts/kirkwood-nsa320.dtb ... ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image!
NSA320> printenv arcNumber=3956 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) init=/bin/systemd bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 20 bootdelay=10 bootdev=usb custom_params=init=/bin/systemd device=0:1 device_type=ide devices=usb ide mmc devicetype=ide disk_number=0 disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-nsa320.dtb ethact=egiga0 ethaddr=B0:B2:DC:F0:FF:12 fileaddr=800000 filesize=4bbd60 if_netconsole=ping $serverip init_ide=ide reset init_mmc=mmc rescan init_usb=usb start ipaddr=192.168.3.90 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x2c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) partition=nand0,2 preboot=run if_netconsole start_netconsole preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done scan_ide=ide reset scan_mmc=mmc rescan scan_usb=usb start serverip=192.168.3.121 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done; uenv_loaded=1 uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi usb_ready_retry=15
Re: NSA320 fails uboot after upgrade debian buster to bullseye October 30, 2022 03:47PM |
Registered: 3 years ago Posts: 24 |
root@NSA320:/boot# update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.19.2-kirkwood-tld-1 I: The initramfs will attempt to resume from /dev/sdb1 I: (UUID=e410ee0f-8aa3-4af5-af2e-0cbab3fc195e) I: Set the RESUME variable to override this. [ 1633.218646][ T6419] ecc_sw_hamming_correct: uncorrectable ECC error [ 1633.225063][ T6419] blk_update_request: I/O error, dev mtdblock7, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 1633.238066][ T6419] ecc_sw_hamming_correct: uncorrectable ECC error [ 1633.244960][ T6419] blk_update_request: I/O error, dev mtdblock7, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 1633.256825][ T6419] ecc_sw_hamming_correct: uncorrectable ECC error [ 1633.263673][ T6419] blk_update_request: I/O error, dev mtdblock7, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 1633.284538][ T6419] ecc_sw_hamming_correct: uncorrectable ECC error [ 1633.290960][ T6419] ecc_sw_hamming_correct: uncorrectable ECC error [ 1633.297270][ T6419] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 1633.310310][ T6419] ecc_sw_hamming_correct: uncorrectable ECC error [ 1633.316625][ T6419] ecc_sw_hamming_correct: uncorrectable ECC error [ 1633.323786][ T6419] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 1633.335639][ T6419] ecc_sw_hamming_correct: uncorrectable ECC error [ 1633.342837][ T6419] ecc_sw_hamming_correct: uncorrectable ECC error [ 1633.349156][ T6419] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
apt remove linux-image-5.2.9-kirkwood-tld-1
root@NSA320:/boot# update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.19.2-kirkwood-tld-1 I: The initramfs will attempt to resume from /dev/sdb1 I: (UUID=e410ee0f-8aa3-4af5-af2e-0cbab3fc195e) I: Set the RESUME variable to override this.
root@NSA320:/boot# debsums -cs debsums: missing file /boot/config-5.2.9-kirkwood-tld-1 (from linux-image-5.2.9-kirkwood-tld-1 package) debsums: missing file /boot/vmlinuz-5.2.9-kirkwood-tld-1 (from linux-image-5.2.9-kirkwood-tld-1 package) debsums: missing file /boot/System.map-5.2.9-kirkwood-tld-1 (from linux-image-5.2.9-kirkwood-tld-1 package)
Re: NSA320 fails uboot after upgrade debian buster to bullseye October 30, 2022 05:02PM |
Admin Registered: 13 years ago Posts: 19,007 |
Re: NSA320 fails uboot after upgrade debian buster to bullseye October 30, 2022 06:46PM |
Registered: 3 years ago Posts: 24 |
root@NSA320:/boot# ls -l total 45476 drwxr-xr-x 10 root root 4096 Oct 30 22:25 . drwxr-xr-x 23 root root 4096 Dec 15 2021 .. drwxr-xr-x 2 root root 4096 Oct 30 14:43 11.5 -rw-r--r-- 1 root root 5050489 Aug 18 01:53 System.map-5.19.2-kirkwood-tld-1 drwxr-xr-x 2 root root 4096 Oct 30 00:45 bck drwxr-xr-x 3 root root 4096 Oct 30 00:41 bck.20221030 -rw-r--r-- 1 root root 191187 Aug 18 01:53 config-5.19.2-kirkwood-tld-1 drwxr-xr-x. 3 root root 4096 Oct 30 20:52 corrupt drwxr-xr-x 2 root root 4096 Oct 30 14:39 downloaded drwxr-xr-x. 2 root root 4096 Aug 1 2021 dts -rw-r--r-- 1 root root 3320 Feb 21 2022 fw_printenv.out -rw-r--r-- 1 root root 13192398 Oct 30 22:25 initrd.img-5.19.2-kirkwood-tld-1 drwxr-xr-x 2 root root 4096 Oct 30 21:34 installs -rw-r--r-- 1 root root 160832 Aug 20 22:40 linux-5.19.2-kirkwood-tld-1.patch -rw-r--r-- 1 root root 1331200 Aug 18 08:11 linux-dtb-5.19.2-kirkwood-tld-1.tar drwxr-xr-x 2 root root 4096 Oct 30 21:33 old -rw-r--r-- 1 root root 260 Oct 30 00:56 uEnv.txt -rw-r--r--. 1 root root 5435888 Sep 24 2021 uImage -rw-r--r--. 1 root root 9671091 Sep 24 2021 uInitrd -rwxr-xr-x 1 root root 5733224 Aug 18 01:53 vmlinuz-5.19.2-kirkwood-tld-1 -rwxr-xr-x 1 root root 5733224 Aug 18 04:39 zImage-5.19.2-kirkwood-tld-1
root@NSA320:/boot# uname -a Linux NSA320 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel GNU/Linux
Re: NSA320 fails uboot after upgrade debian buster to bullseye October 30, 2022 07:31PM |
Admin Registered: 13 years ago Posts: 19,007 |