sh: Inappropriate ioctl for device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sh: Inappropriate ioctl for device

1,272 Views
thehardgamer
Contributor II

I am currently building imx-image-core for i.m 8m Mini, imx8mm-lpddr4-evk, using the imx-linux-kirkstone branch from nxp-imx github repo with no changes from my side, just sync and build, the image does kind of bootup but stops loading abruptly stating :

[ 3.346213] Run /sbin/init as init process
[ 3.359278] Run /etc/init as init process
[ 3.363804] Run /bin/init as init process
[ 3.368298] Run /bin/sh as init process
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh-5.1# [ 3.617072] Hot alarm is canceled. GPU3D clock will return to 64/64

and the system is rendered unusable, build configuration is:

BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mm-lpddr4-evk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "5.15-kirkstone"

0 Kudos
3 Replies

1,232 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @thehardgamer 

You should check below error log in rootfs.Maybe some hardware in your device is not working correctly 

sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell

0 Kudos

1,218 Views
thehardgamer
Contributor II

I doubt that it's some issue with the EVK, i tried imx-image-multimedia and it boots just fine, imx-image-core fails at inappropriate ioctl

0 Kudos

1,259 Views
thehardgamer
Contributor II

Update: Incase anyone faces this, build either full or multimedia image, those successfully boot up

0 Kudos