Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 22, 2019 07:33AM |
Registered: 5 years ago Posts: 50 |
... [ 0.000000][ T0] INITRD: 0x00f00000+0x01461000 overlaps in-use memory region - disabling initrd .... [ 2.495171][ T1] FAT-fs (ram0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [ 2.506803][ T1] FAT-fs (ram0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [ 2.519234][ T1] F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x0) [ 2.526774][ T1] F2FS-fs (ram0): Can't find valid F2FS filesystem in 1th superblock [ 2.534756][ T1] F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x0) [ 2.542280][ T1] F2FS-fs (ram0): Can't find valid F2FS filesystem in 2th superblock [ 2.550272][ T1] List of all partitions: [ 2.554491][ T1] 0100 32768 ram0 [ 2.554493][ T1] (driver?) [ 2.562026][ T1] No filesystem could mount root, tried: [ 2.562028][ T1] ext3 [ 2.567638][ T1] ext4 [ 2.570270][ T1] vfat [ 2.572901][ T1] msdos [ 2.575541][ T1] iso9660 [ 2.578261][ T1] udf [ 2.581155][ T1] f2fs [ 2.583706][ T1] [ 2.588536][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
usb start fatload usb 0:1 0xa00000 boot/uImage fatload usb 0:1 0x2000000 boot/uRamdisk bootm 0xa00000 0x2000000
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 22, 2019 02:17PM |
Admin Registered: 13 years ago Posts: 18,555 |
Quote
Latest released kernel: linux-5.1.2-mvebu-tld-1 (18 May 2019)
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 22, 2019 02:52PM |
Registered: 5 years ago Posts: 50 |
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 23, 2019 12:53AM |
Admin Registered: 13 years ago Posts: 18,555 |
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 26, 2019 07:03PM |
Registered: 5 years ago Posts: 50 |
mkimage -A arm -T ramdisk -n "debian installer" -c gzip -d initrd.gz uRamdisk
patch -p1 -d linux-stable < linux-5.1.2-mvebu-tld-1-bodhi/linux-5.1.2-mvebu-tld-1.patch cd linux-stable make -j 4 oldconfig make -j 4 zImage make -j 4 armada-385-wdmc-mirror-gen2.dtb cat arch/arm/boot/zImage arch/arm/boot/dts/armada-385-wdmc-mirror-gen2.dtb > zImage mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n armada-385-wdmc-mirror-gen2 -d zImage uImage
echo -e "1 100M 0xb\n,4000M" | sudo sfdisk /dev/sdb sudo mkfs.vfat -F32 /dev/sdb1 sudo mkfs.ext4 /dev/sdb2 sudo mount /dev/sdb1 /mnt/ sudo mkdir /mnt/boot sudo cp output/uImage uRamdisk /mnt/boot sudo umount /mnt
... [ 0.000000][ T0] INITRD: 0x00f00000+0x013ba000 overlaps in-use memory region - disabling initrd ... [ 2.507474][ T1] VFS: Cannot open root device "ram" or unknown-block(1,0): error -6 [ 2.515455][ T1] Please append a correct "root=" boot option; here are the available partitions: [ 2.524570][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
Reset button be pushed. (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found reading /boot/uImage ##### boot from USB ##### Net: | port | Interface | PHY address | |--------|-----------|--------------| | egiga0 | RGMII | In-Band | | egiga1 | RGMII | In-Band | | egiga2 | SGMII | 0x00 | egiga0, egiga1, egiga2 [PRIME] Hit any key to stop autoboot: 1 0 (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found reading /boot/uImage 4698018 bytes read in 164 ms (27.3 MiB/s) reading /boot/uRamdisk 21367585 bytes read in 613 ms (32.2 MiB/s) boot_get_kernel : Reset button have been pushed ## Booting image at 00a00000 ... ## Booting kernel from Legacy Image at 00a00000 ... Image Name: armada-385-wdmc-mirror-gen2 Created: 2019-05-22 14:51:19 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4698018 Bytes = 4.5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 00f00000 ... Image Name: initrd.gz Created: 2019-05-22 2:06:59 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 21367585 Bytes = 20.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. ... [ 0.000000][ T0] INITRD: 0x00f00000+0x01461000 overlaps in-use memory region - disabling initrd .... [ 2.495171][ T1] FAT-fs (ram0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [ 2.506803][ T1] FAT-fs (ram0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [ 2.519234][ T1] F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x0) [ 2.526774][ T1] F2FS-fs (ram0): Can't find valid F2FS filesystem in 1th superblock [ 2.534756][ T1] F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x0) [ 2.542280][ T1] F2FS-fs (ram0): Can't find valid F2FS filesystem in 2th superblock [ 2.550272][ T1] List of all partitions: [ 2.554491][ T1] 0100 32768 ram0 [ 2.554493][ T1] (driver?) [ 2.562026][ T1] No filesystem could mount root, tried: [ 2.562028][ T1] ext3 [ 2.567638][ T1] ext4 [ 2.570270][ T1] vfat [ 2.572901][ T1] msdos [ 2.575541][ T1] iso9660 [ 2.578261][ T1] udf [ 2.581155][ T1] f2fs [ 2.583706][ T1] [ 2.588536][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
... [ 0.000000][ T0] INITRD: 0x00f00000+0x01461000 overlaps in-use memory region - disabling initrd ....and understood that for some reason the memory was probably mapped differently and the assigned memory location for the uRamdisk was not big enough to contain the debian netboot installer. The first assumption may be wrong, but the second is right for sure. The location is not big enough and I should find a bigger one, free to be used.
Marvell>> printenv CASset=max MALLOC_len=5 MPmode=SMP autoload=no baudrate=115200 boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr bootargs=root=/dev/ram console=ttyS0,115200 bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000 bootcmd_auto=stage_boot $boot_order bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; bootdelay=1 cacheShare=no console=console=ttyS0,115200 device_partition=0:1 disaMvPnp=no eeeEnable=no enaClockGating=no enaCpuStream=no enaFPU=yes enaMonExt=no enaWrAllo=no eth1addr=xx:xx:xx:xx:xx:xx eth1mtu=1500 eth2addr=xx:xx:xx:xx:xx:xx eth2mtu=1500 eth3addr=xx:xx:xx:xx:xx:xx eth3mtu=1500 ethact=egiga2 ethaddr=xx:xx:xx:xx:xx:xx ethmtu=1500 ethprime=egiga2 fdt_addr=2040000 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-38x-modular.dtb filesize=12 ide_path=/ image_name=uImage initrd_name=uInitrd ipaddr=192.168.11.110 kernel_addr_r=2080000 lcd0_enable=0 lcd0_params=640x480-16@60 lcd_panel=0 loadaddr=0x02000000 loads_echo=0 mtddevname=u-boot mtddevnum=0 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) mvNetConfig=mv_net_config=4,(xx:xx:xx:xx:xx:xx,0:1:2:3),mtu=1500 mv_pon_addr=xx:xx:xx:xx:xx:xx nandEcc=nfcConfig=4bitecc netbsd_en=no netmask=255.255.255.0 netretry=no partition=nand0,0 pcieTune=no pexMode=RC pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 ramdisk_addr_r=2880000 rootpath=/srv/nfs/ sata_delay_reset=0 sata_dma_mode=yes script_addr_r=3000000 script_name=boot.scr serverip=192.168.11.114 standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000; stderr=serial stdin=serial stdout=serial usb0Mode=host usbActive=0 usbType=3 vxworks_en=no yuk_ethaddr=xx:xx:xx:xx:xx:xx Environment size: 3209/524284 bytes
bootcmd=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000 bootcmd_auto=stage_boot $boot_order bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; ... loadaddr=0x02000000 ... standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;So the best candidate could have been 0x2000000, and I should have give it a try.
usb start fatload usb 0:1 0xa00000 boot/uImage fatload usb 0:1 0x2000000 boot/uRamdisk bootm 0xa00000 0x2000000
Reset button be pushed. (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found reading /boot/uImage ##### boot from USB ##### Net: | port | Interface | PHY address | |--------|-----------|--------------| | egiga0 | RGMII | In-Band | | egiga1 | RGMII | In-Band | | egiga2 | SGMII | 0x00 | egiga0, egiga1, egiga2 [PRIME] Hit any key to stop autoboot: 1 0 Marvell>> 1111111 printenv CASset=max MALLOC_len=5 MPmode=SMP autoload=no baudrate=115200 boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr bootargs=root=/dev/ram console=ttyS0,115200 bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=usb reset; fatload usb 0:1 0xa00000 /boot/uImage; fatload usb 0:1 0xf00000 /boot/uRamdisk; bootm 0xa00000 0xf00000 bootcmd_auto=stage_boot $boot_order bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; bootdelay=1 cacheShare=no console=console=ttyS0,115200 device_partition=0:1 disaMvPnp=no eeeEnable=no enaClockGating=no enaCpuStream=no enaFPU=yes enaMonExt=no enaWrAllo=no eth1addr=xx:xx:xx:xx:xx:xx eth1mtu=1500 eth2addr=xx:xx:xx:xx:xx:xx eth2mtu=1500 eth3addr=xx:xx:xx:xx:xx:xx eth3mtu=1500 ethact=egiga2 ethaddr=xx:xx:xx:xx:xx:xx ethmtu=1500 ethprime=egiga2 fdt_addr=2040000 fdt_skip_update=no fdtaddr=0x1000000 fdtfile=armada-38x-modular.dtb filesize=12 ide_path=/ image_name=uImage initrd_name=uInitrd ipaddr=192.168.11.110 kernel_addr_r=2080000 lcd0_enable=0 lcd0_params=640x480-16@60 lcd_panel=0 loadaddr=0x02000000 loads_echo=0 mtddevname=u-boot mtddevnum=0 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) mvNetConfig=mv_net_config=4,(xx:xx:xx:xx:xx:xx,0:1:2:3),mtu=1500 mv_pon_addr=xx:xx:xx:xx:xx:xx nandEcc=nfcConfig=4bitecc netbsd_en=no netmask=255.255.255.0 netretry=no partition=nand0,0 pcieTune=no pexMode=RC pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 ramdisk_addr_r=2880000 rootpath=/srv/nfs/ sata_delay_reset=0 sata_dma_mode=yes script_addr_r=3000000 script_name=boot.scr serverip=192.168.11.114 standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000; stderr=serial stdin=serial stdout=serial usb0Mode=host usbActive=0 usbType=3 vxworks_en=no yuk_ethaddr=xx:xx:xx:xx:xx:xx Environment size: 3222/524284 bytes
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 26, 2019 10:58PM |
Admin Registered: 13 years ago Posts: 18,555 |
Quote
[ 0.000000][ T0] INITRD: 0x00f00000+0x01461000 overlaps in-use memory region - disabling initrd
....
[ 2.495171][ T1] FAT-fs (ram0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 2.506803][ T1] FAT-fs (ram0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 2.519234][ T1] F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 2.526774][ T1] F2FS-fs (ram0): Can't find valid F2FS filesystem in 1th superblock
[ 2.534756][ T1] F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 2.542280][ T1] F2FS-fs (ram0): Can't find valid F2FS filesystem in 2th superblock
[ 2.550272][ T1] List of all partitions:
[ 2.554491][ T1] 0100 32768 ram0
[ 2.554493][ T1] (driver?)
[ 2.562026][ T1] No filesystem could mount root, tried:
[ 2.562028][ T1] ext3
[ 2.567638][ T1] ext4
[ 2.570270][ T1] vfat
[ 2.572901][ T1] msdos
[ 2.575541][ T1] iso9660
[ 2.578261][ T1] udf
[ 2.581155][ T1] f2fs
[ 2.583706][ T1]
[ 2.588536][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
bootcmd=usb reset; fatload usb 0:1 0xa00000 /boot/uImage; fatload usb 0:1 0xf00000 /boot/uRamdisk; bootm 0xa00000 0xf00000
setenv initrd_high 0xffffffff
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 27, 2019 12:18AM |
Registered: 5 years ago Posts: 50 |
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 27, 2019 01:43AM |
Admin Registered: 13 years ago Posts: 18,555 |
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 27, 2019 08:08AM |
Registered: 5 years ago Posts: 50 |
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 27, 2019 05:51PM |
Admin Registered: 13 years ago Posts: 18,555 |
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 28, 2019 08:58AM |
Registered: 5 years ago Posts: 50 |
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region May 28, 2019 05:33PM |
Admin Registered: 13 years ago Posts: 18,555 |
saveenv
mcmg2
Re: Linux Kernel 5.1.2 MVEBU - INITRD overlaps in-use memory region June 27, 2019 04:16AM |