root must be a super user

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

root must be a super user

3,816 Views
vijayaragavansr
Contributor II

Hi,

i built core-image-base and succesffully flashed onto SD Card and booted as root.

but i am unable to execute reboot,poweroff,shutdown commands.  

below my terminal log

root@melange:~# poweroff
poweroff: must be superuser.
root@melange:~# reboot
reboot: must be superuser.
root@melange:~# shutdown -r now
shutdown: warning: cannot open /var/run/shutdown.pid
shutdown: /dev/initctl: Permission denied
init: must be superuser.
root@melange:~#

am surprised that when i logged in as root i do not have have full permission? something wrong in the bitbake?

0 Kudos
Reply
5 Replies

2,653 Views
jiamingdong
Contributor I

Hi,

Did you solve this issue?

I have the problem with you. The image works well on SD card, but when i try to make it work on NFS.

It has the issue.

root user can't do the reboot work.

If you have solved this issue, please share.

Thanks.

0 Kudos
Reply

2,653 Views
martin_maurer
Contributor III

Can you describe a bit your current setup? Is your filesystem RO?

Do you use NFS? Other file system relevant tasks done in your setup?

Can you show output of serial console during kernel startup?

What does "id" display? Have you used a special way to boot/login?

Any changes done by yourself or used some standard image?

Is sticky bit set on these commands?

Have you checked why it can't open /var/run/shutdown.pid ?

What does "mount" show?

0 Kudos
Reply

2,653 Views
vijayaragavansr
Contributor II

Hi Martin Maurer,
i have not done any changes in the image. just build core-image-minimal(bitbake core-image-minimal) and mounted over NFS . this is the settings of NFS at the server

#/home/vijay/fsl-arm-yocto-bsp/bld-x11/tmp/work/imx6ulevk-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs *(rw,no_root_squash)
/home/vijay/fsl-arm-yocto-bsp/bld-x11/tmp/work/imx6ulevk-poky-linux-gnueabi/core-image-base/1.0-r0/rootfs *(rw,sync,no_root_squash)

please find attached serial log file
below is the response of mount and id command
root@hello:~# mount
192.168.1.33:/home/vijay/fsl-arm-yocto-bsp/bld-x11/tmp/work/imx6ulevk-poky-linux-gnueabi/core-image-base/1.0-r0/rootfs on / type nfs (rw,relatime,vers=2,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.1.33,mountvers=1,mountproto=udp,local_lock=all,addr=192.168.1.33)
devtmpfs on /dev type devtmpfs (rw,relatime,size=89328k,nr_inodes=22332,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /var/volatile type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
root@hello:~# id
uid=0(root) gid=0(root) groups=0(root)
root@hello:~#

how to set sticky bit for those comamnds?

this is the serial log

U-Boot 2015.04-imx_v2015.04_4.1.15_1.0.0_ga+gd7d7c43 (Apr 01 2016 - 10:00:09)

CPU: Freescale i.MX6UL rev1.0 at 396 MHz
CPU: Temperature 32 C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc1 is current device
Net: FEC1
Normal Boot
Hit any key to stop autoboot: 0
=> run netboot
Booting from net ...
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.30 (1011 ms)
Using FEC1 device
TFTP from server 192.168.1.33; our IP address is 192.168.1.30
Filename 'zImage'.
Load address: 0x80800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########################################################
469.7 KiB/s
done
Bytes transferred = 6618792 (64fea8 hex)
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.1.30 (1009 ms)
Using FEC1 device
TFTP from server 192.168.1.33; our IP address is 192.168.1.30
Filename 'zImage-imx6ul-14x14-evk.dtb'.
Load address: 0x83000000
Loading: #######
312.5 KiB/s
done
Bytes transferred = 34305 (8601 hex)
Kernel image @ 0x80800000 [ 0x000000 - 0x64fea8 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300b600
Modify /soc/aips-bus@02000000/bee@02044000:status disabled
ft_system_setup for mx6

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.1.15-1.2.0+g77f6154 (vijay@ubuntu) (gcc version 5.2.0 (GCC) ) #2 SMP PREEMPT Thu Sep 29 23:46:45 PDT 2016
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX6 UltraLite 14x14 EVK Board
Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
PERCPU: Embedded 12 pages/cpu @8bb32000 s16960 r8192 d24000 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: console=ttymxc0,115200 root=/dev/nfs ip=192.168.1.32:192.168.1.31:192.168.1.1:255.255.255.0:test:eth0:off nfsroot=192.168.1.33:/home/vijay/fsl-arm-yocto-bsp/bld-x11/tmp/work/imx6ulevk-poky-linux-gnueabi/core-image-base/1.0-r0/rootfs *(rw,no_root_squash),v3,tcp rw
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 178660K/524288K available (8334K kernel code, 434K rwdata, 2936K rodata, 424K init, 450K bss, 17948K reserved, 327680K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xa0800000 - 0xff000000 (1512 MB)
lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80b09d0c (11272 kB)
.init : 0x80b0a000 - 0x80b74000 ( 424 kB)
.data : 0x80b74000 - 0x80be0bc0 ( 435 kB)
.bss : 0x80be3000 - 0x80c53a00 ( 451 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS:16 nr_irqs:16 16
mxc_clocksource_init 24000000
Switching to timer-based delay loop, resolution 41ns
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
/cpus/cpu@0 missing clock-frequency property
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80008280 - 0x800082d8
Brought up 1 CPUs
SMP: Total of 1 processors activated (48.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
mxs-dma 1804000.dma-apbh: initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: can't use DMA
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.20
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 256 (order: 2, 16384 bytes)
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
backlight supply power not found, using dummy regulator
MIPI DSI driver module loaded
MIPI DSI driver module loaded
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmware 3.3
imx-sdma 20ec000.sdma: initialized
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 236, base_baud = 5000000) is a IMX
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
fsl-quadspi 21e0000.qspi: n25q256a (32768 Kbytes)
spi_gpio spi4: gpio-miso property not found, switching to no-rx mode
CAN device driver interface
flexcan 2090000.can: device registered (reg_base=a0a08000, irq=30)
flexcan 2094000.can: device registered (reg_base=a0a10000, irq=31)
20b4000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
libphy: fec_enet_mii_bus: probed
fec 20b4000.ethernet eth0: registered PHC device 0
2188000.ethernet supply phy not found, using dummy regulator
pps pps1: new PPS source ptp1
fec 2188000.ethernet eth1: registered PHC device 1
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usb_ehset_test
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
2184000.usb supply vbus not found, using dummy regulator
2184200.usb supply vbus not found, using dummy regulator
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
input: iMX6UL TouchScreen Controller as /devices/platform/soc/2000000.aips-bus/2040000.tsc/input/input1
input: FreescaleAccelerometer as /devices/virtual/input/input2
fxls8471 device driver probe successfully
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
pxp-v4l2 pxp_v4l2: initialized
0-000e supply vdd not found, using dummy regulator
0-000e supply vddio not found, using dummy regulator
mag3110 0-000e: check mag3110 chip ID
input: mag3110 as /devices/virtual/input/input3
mag3110 0-000e: mag3110 is probed
imx2-wdt 20bc000.wdog: use WDOG_B to reboot.
imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
Bluetooth: HCI UART driver ver 2.3
Bluetooth: HCI UART protocol H4 registered
Bluetooth: HCI UART protocol BCSP registered
Bluetooth: HCI UART protocol ATH3K registered
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
usbcore: registered new interface driver ath3k
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
caam 2140000.caam: Entropy delay = 3200
caam 2140000.caam: Instantiated RNG4 SH0
mmc1: host does not support reading read-only switch, assuming write-enable
caam 2140000.caam: Instantiated RNG4 SH1
caam 2140000.caam: device ID = 0x0a16030000000000 (Era -524)
caam 2140000.caam: job rings = 3, qi = 0
mmc1: new high speed SD card at address 0002
mmcblk1: mmc1:0002 00000 1.86 GiB
mmcblk1: p1 p2
caam algorithms registered in /proc/crypto
caam_jr 2141000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 8 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: 64-bit black key:
platform caam_sm: [0000] f9 0c e3 dc e1 a8 e1 9f
platform caam_sm: [0008] 09 3d a7 70 a2 90 8b 9f
platform caam_sm: 128-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: 128-bit black key:
platform caam_sm: [0000] 1f e6 bf 2d 26 3b ab 7a
platform caam_sm: [0008] b7 dc be 4f 74 ae 50 9a
platform caam_sm: 192-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: 192-bit black key:
platform caam_sm: [0000] c1 ab ca 06 69 60 b5 f2
platform caam_sm: [0008] 52 48 3d 2a c1 b7 be 7f
platform caam_sm: [0016] 5d 82 d0 12 a3 95 00 18
platform caam_sm: [0024] ea 22 fb 1d c1 bf 1e 97
platform caam_sm: 256-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
platform caam_sm: 256-bit black key:
platform caam_sm: [0000] c5 d2 47 61 76 ef 2b a1
platform caam_sm: [0008] f0 39 b4 66 6c 74 99 6b
platform caam_sm: [0016] b4 ac 36 26 47 7e 6c 7c
platform caam_sm: [0024] e1 e2 3b dc 53 05 87 c5
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 64-bit black key in blob:
platform caam_sm: [0000] 05 07 13 5f be 98 c2 46
platform caam_sm: [0008] 8b 35 c2 b0 07 52 3a e6
platform caam_sm: [0016] 3d ec b5 91 34 c9 45 46
platform caam_sm: [0024] 98 86 7e 51 89 3b cc d9
platform caam_sm: [0032] 2e 69 13 d9 7b b8 54 7a
platform caam_sm: [0040] af a9 d0 ab f3 50 2a a9
platform caam_sm: [0048] 30 6b 5b 3f 5e 0f 68 b9
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit black key in blob:
platform caam_sm: [0000] 6c 02 97 16 d9 39 ba 30
platform caam_sm: [0008] db e6 f3 6a e9 15 c2 1e
platform caam_sm: [0016] 2e 51 1f be 1a a2 eb 01
platform caam_sm: [0024] 70 43 0f 00 8a 62 24 2d
platform caam_sm: [0032] 70 eb c6 6b 15 44 6e 20
platform caam_sm: [0040] ff 82 6d d2 76 57 d0 2a
platform caam_sm: [0048] 67 2e 70 2c 9e 46 96 2c
platform caam_sm: [0056] f9 ae a7 57 c0 36 a3 15
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 192-bit black key in blob:
platform caam_sm: [0000] 45 77 65 67 a2 31 e9 4d
platform caam_sm: [0008] 28 b2 ba 88 eb 98 5e 7b
platform caam_sm: [0016] 5d 39 18 bb 16 aa dd 9a
platform caam_sm: [0024] f6 a1 79 d7 d6 5d b6 39
platform caam_sm: [0032] 2e 41 6b 8f 47 ea 15 25
platform caam_sm: [0040] b5 b4 7c 32 09 e3 19 ff
platform caam_sm: [0048] c3 24 51 0c f0 61 e3 ce
platform caam_sm: [0056] f0 99 4b 14 f0 bf 3c 2d
platform caam_sm: [0064] 2e ce 31 b4 da 5a 9a ae
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit black key in blob:
platform caam_sm: [0000] 54 c5 2c 98 31 16 ad f4
platform caam_sm: [0008] df 78 22 9c 5a 45 63 0f
platform caam_sm: [0016] 8c 76 12 88 50 a4 af 2b
platform caam_sm: [0024] ad 87 24 8c e3 2c 48 e4
platform caam_sm: [0032] 78 c0 b4 65 93 1f a2 04
platform caam_sm: [0040] 94 76 60 55 26 7f 19 30
platform caam_sm: [0048] f4 5e a0 b2 f2 29 b6 d7
platform caam_sm: [0056] e8 4f cc b5 dd 7c 80 d5
platform caam_sm: [0064] bb 55 51 ea 17 c7 53 12
platform caam_sm: [0072] 74 5b a2 50 d2 9e 1b 2e
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: restored 64-bit black key:
platform caam_sm: [0000] a4 c2 a6 8f 06 86 ab c4
platform caam_sm: [0008] eb bc 8c bf af 8f 4e bc
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] 1f e6 bf 2d 26 3b ab 7a
platform caam_sm: [0008] b7 dc be 4f 74 ae 50 9a
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] c1 ab ca 06 69 60 b5 f2
platform caam_sm: [0008] 52 48 3d 2a c1 b7 be 7f
platform caam_sm: [0016] c3 15 f3 d9 f0 8f 52 1c
platform caam_sm: [0024] 36 71 d4 e7 76 13 70 a3
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] c5 d2 47 61 76 ef 2b a1
platform caam_sm: [0008] f0 39 b4 66 6c 74 99 6b
platform caam_sm: [0016] b4 ac 36 26 47 7e 6c 7c
platform caam_sm: [0024] e1 e2 3b dc 53 05 87 c5
snvs-secvio 20cc000.caam-snvs: can't get snvs clock
snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
fsl-asrc 2034000.asrc: driver registered
imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
imx-wm8960 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
imx-wm8960 sound: wm8960-hifi <-> 202c000.sai mapping ok
NET: Registered protocol family 26
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
dhd_module_init in
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
fec 20b4000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IP-Config: Complete:
device=eth0, hwaddr=00:04:9f:03:fb:62, ipaddr=192.168.1.32, mask=255.255.255.0, gw=192.168.1.1
host=test, domain=, nis-domain=(none)
bootserver=192.168.1.31, rootserver=192.168.1.33, rootpath=
gpio_dvfs: disabling
VSD_3V3: disabling
can-3v3: disabling
ALSA device list:
#0: wm8960-audio
VFS: Mounted root (nfs filesystem) on device 0:14.
devtmpfs: mounted
Freeing unused kernel memory: 424K (80b0a000 - 80b74000)
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
udevd[181]: starting version 182
bootlogd: cannot allocate pseudo tty: No such file or directory
random: dd urandom read with 107 bits of entropy available
ALSA: Restoring mixer settings...
random: nonblocking pool is initialized
Sat Oct 8 12:01:06 UTC 2016
INIT: Entering runlevel: 5
Configuring network interfaces... ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1
Starting system message bus: Unknown username "avahi" in message bus configuration file
dbus.
Starting OpenBSD Secure Shell server: sshd
done.
Starting rpcbind daemon...done.
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
Timeout reached while wating for return value
Could not receive return value from daemon process.
...fail!
Starting Telephony daemon
Starting Linux NFC daemon

NXP iMX Release Distro 4.1.15-1.2.0
hello login:root
root@hello:~# poweroff
poweroff: must be superuser.
root@hello:~# reboot
reboot: must be superuser.
root@hello:~# shutdown -r now
shutdown: warning: cannot open /var/run/shutdown.pid
shutdown: /dev/initctl: Permission denied
init: must be superuser.
root@hello:~#

Thanks
Vijay

0 Kudos
Reply

2,653 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Vijayaragavan Srinivasan,

There is a possible fix on the following thread:

i.mx6q yocto linux 3.10.17-- login as root,but get "permission denied (are you root?)" while ping 

Which is basically to change the permissions of the root user with:

chown root:root /bin/busybox.suid

Regards,

0 Kudos
Reply

2,653 Views
vijayaragavansr
Contributor II

Hi,

Thanks for quick reply. this is my terminal log after following the instruction given in the link.

root@melange:~# chown root:root /bin/busybox.suid
chown: /bin/busybox.suid: Operation not permitted
root@melange:~# su
initgroups: Operation not permitted

did not succeed.

0 Kudos
Reply