From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 6 Aug 2020 17:12:37 +0200 Subject: [Buildroot] openssh totaly can't use on riscv/arm64 with latest buildroot In-Reply-To: References: Message-ID: <20200806171237.1ba34fc8@windsurf.home> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Thu, 6 Aug 2020 14:31:33 +0000 jiao shuaipeng wrote: > Any one ever use openssh8.3 on RISCV/ARM64 with latest buildroot commit ? > > We found the the binary of openssh can generated successfully with the buildroot. > But when we run the application sshd or "ssh-keygen -a", it will be stuck. > I have used the GDB to find root cause why the program is stuch, i see the stach frame is corrupted. > > we are using the config "qemu_aarch64_virt_defconfig" and "qemu_riscv32_virt_defconfig", and enable the openssh with "make menucofig". qemu version is 5.0.50. linux kernel version is 5.1.12. Could this simply due to the lack of entropy in the random number generator ? Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com