No Sudo Rights on BBB Client Using NFS Server

Hi there.

I have a BBB that successfully boots from my Ubuntu desktop running the NFS service. The problem is I can, while in the BBB via SSH, kick around a little bit. I can create files and run Python3 scripts - which is all I really need. The problem is I can’t use any privileged commands, because sudo won’t work . I want to embedded this BBB into a box, and I don’t want to open it up every time to reboot it if I place a new kernel or different rootfs on the easily accessible desktop.

I was wondering if there is a way to have the rootfs be temporally owned by the BBB so that I can use “sudo reboot” to have the new kernel booted, or if there is another way to reboot the BBB to use the new kernel/rootfs on the desktop?

Kind regards,
Jack

Hi @Jack_Nightengale, this smells like you are missing “no_root_squash” in your nfs configuration.

Please confirm your NFS settings from /etc/exports…

Regards,

My exports file is configured as follow:

/var/rootfs 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check,anonuid=1000,anongid=1000)

My hope was that when I added the anonuid=1000 and anongid=1000 I would map the BBB Debian id to my main user on the desktop (id=1000).

Kind regards,
Jack

I think it’s also worth mentioning that I don’t have root on the BBB and that the rootfs is owned by root in the desktop.

Hi @Jack_Nightengale,

The default user was set to 1000, so you shouldn’t need to change anonuid/anongid. When i test NFS, I just use:

/opt/buster/ *(rw,sync,no_subtree_check,no_root_squash)

Correct, root on ubuntu is disabled… (it’s an ubuntu thing…)

Regards,

@RobertCNelson, I’ll quickly check if I place the rootfs under the opt directory, and edit the nfs configuartion if anything changes.

@Jack_Nightengale i wouldn’t worry about the directory, but i’d rip out those anonuid=1000,anongid=1000 settings and try again…

Regards,

@RobertCNelson I still can’t use sudo. Here is the output:

Debian GNU/Linux 10 beaglebone ttyS0

BeagleBoard.org Debian Image 2020-01-16

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login: [   26.398418] usb0: HOST MAC 78:04:73:7e:8c:75
[   26.422046] usb0: MAC 78:04:73:7e:8c:76
[   26.445462] usb1: HOST MAC 78:04:73:7e:8c:78
[   26.466279] usb1: MAC 78:04:73:7e:8c:79
[   26.877060] configfs-gadget gadget: high-speed config #1: c
[   28.179848] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
debian
Password:
Last login: Thu Feb 14 10:12:32 UTC 2019 on ttyS0

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@beaglebone:~$ ls
bin  p.py
debian@beaglebone:~$ python3 p.py
osefnejfneofe
debian@beaglebone:~$ sudo reboot
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
debian@beaglebone:~$

I also used “sudo exportfs -a” on the desktop before manually power the BBB on again.

Kind regards,
Jack

@Jack_Nightengale, i just retested my directions… I’m not sure what’s blocking “sudo” on your system, it might be how you copied the file system from the Beagle…

Server: 192.168.1.80
Beagle: 192.168.1.177

Server: Install NFS:

sudo apt install nfs-kernel-server
sudo nano /etc/exports
/opt/buster/ *(rw,sync,no_subtree_check,no_root_squash)
sudo exportfs -a

Beagle; Install NFS, and copy files over…

debian@beaglebone:~$ cat /etc/dogtag
BeagleBoard.org Debian Stretch IoT Image 2020-04-06

debian@beaglebone:~$ sudo apt install nfs-common

debian@beaglebone:~$ sudo mkdir /tmp/rootfs/
debian@beaglebone:~$ sudo mount -t nfs -o rw,nfsvers=3,rsize=8192,wsize=8192 192.168.1.80:/opt/buster/ /tmp/rootfs/

debian@beaglebone:~$ mount | grep nfs
192.168.1.80:/opt/buster/ on /tmp/rootfs type nfs (rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.80,mountvers=3,mountport=41366,mountproto=udp,local_lock=none,addr=192.168.1.80)

debian@beaglebone:~$ cd /opt/scripts/tools/developers/
debian@beaglebone:/opt/scripts/tools/developers$ ./nfs-rsync.sh

NFS Settings for my setup:

#uname_r=4.14.108-ti-r131
client_ip=192.168.1.177
server_ip=192.168.1.80
gw_ip=192.168.1.1
root_dir=/opt/buster

Server: install tftpd-hpa, so we can use uname_r nfs boot…

sudo apt install tftpd-hpa

cat /etc/default/tftpd-hpa 
# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/opt/buster/boot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"

sudo /etc/init.d/tftpd-hpa restart

Beagle: Copy /nfs-uEnv.txt as /uEnv.txt and edit:

##client_ip needs to be set for u-boot to try booting via nfs

client_ip=192.168.1.177

#u-boot defaults: uncomment and override where needed

server_ip=192.168.1.80
gw_ip=192.168.1.1
#netmask=255.255.255.0
#hostname=
#device=eth0
#autoconf=off
root_dir=/opt/buster
#nfs_options=,vers=3
#nfsrootfstype=ext4 rootwait fixrtc

##use uname_r= only if TFTP SERVER is setup for uname_r boot:
uname_r=4.14.108-ti-r131

Verify Beagle is loading from tftp:

Loaded environment from /uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
Checking if client_ip is set ...
gpio: pin 56 (gpio 56) value is 1
Running nfsboot_uname_r ...
Booting from 192.168.1.80 ...
cpsw Waiting for PHY auto negotiation to complete.. done
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.80; our IP address is 192.168.1.177
Filename 'vmlinuz-4.14.108-ti-r131'.
Load address: 0x82000000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ########
	 1.4 MiB/s
done
Bytes transferred = 9654768 (9351f0 hex)
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.80; our IP address is 192.168.1.177
Filename 'dtbs/4.14.108-ti-r131/am335x-boneblack.dtb'.
Load address: 0x88000000
Loading: #####
	 5.2 MiB/s
done
Bytes transferred = 60180 (eb14 hex)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffee000, end 8ffffb13 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.108-ti-r131 (voodoo@x2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1stretch SMP PREEMPT Tue Mar 24 19:18:37 UTC 2020
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] CPU: All CPU(s) started in SVC mode.

Login into System:

Debian GNU/Linux 9 beaglebone ttyS0

BeagleBoard.org Debian Stretch IoT Image 2020-04-06

Support: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login: debian
Password: 
Last login: Fri May 15 14:44:59 UTC 2020 on ttyS0

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@beaglebone:~$

debian@beaglebone:~$ mount | grep nfs
192.168.1.80:/opt/buster on / type nfs (rw,relatime,vers=3,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.1.80,mountvers=3,mountproto=udp,local_lock=all,addr=192.168.1.80)

debian@beaglebone:~$ whoami
debian

debian@beaglebone:~$ sudo whoami
root

debian@beaglebone:~$ sudo reboot
[  OK  ] Stopped target RPC Port Mapper.
[  OK  ] Stopped target Graphical Interface.
[  OK  ] Stopped target Sound Card.
[  OK  ] Stopped target Host and Network Name Lookups.
         Stopping dnsmasq - A lightweight DHCP and caching DNS server...
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Unmounting RPC Pipe File System...
[  OK  ] Stopped target Timers.

@RobertCNelson Thank you for the detailed response. I checked all my services, my tftpd-hpa is configured as above, and the command

debian@beaglebone:~$ mount | grep nfs

gives me the same output as your, just my IPs differs.

192.168.1.254:/var/rootfs on / type nfs (rw,relatime,vers=3,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.1.254,mountvers=3,mountproto=udp,local_lock=all,addr=192.168.1.254)

It might be files ownership on the desktop that is blocking it. Here is the file ownership on the BBB:

debian@beaglebone:/$ ls -l
total 72
-rw-r–r-- 1 debian debian 40 Feb 8 2020 ID.txt
-rw-r–r-- 1 debian debian 1359 Feb 8 2020 bbb-uEnv.txt
drwxr-xr-x 2 debian debian 4096 Feb 8 2020 bin
drwxr-xr-x 4 debian debian 4096 Feb 8 2020 boot
drwxr-xr-x 14 root root 3080 Feb 14 10:12 dev
drwxr-xr-x 66 debian debian 4096 Feb 17 2020 etc
drwxr-xr-x 3 debian debian 4096 Feb 8 2020 home
drwxr-xr-x 14 debian debian 4096 Feb 8 2020 lib
drwx------ 2 debian debian 4096 Feb 8 2020 lost+found
drwxr-xr-x 2 debian debian 4096 Feb 8 2020 media
drwxr-xr-x 2 debian debian 4096 Feb 8 2020 mnt
-rw-r–r-- 1 debian debian 1008 Feb 8 2020 nfs-uEnv.txt
drwxr-xr-x 5 debian debian 4096 Feb 8 2020 opt
dr-xr-xr-x 89 root root 0 Jan 1 1970 proc
drwx------ 2 debian debian 4096 Feb 8 2020 root
drwxr-xr-x 17 root root 520 Feb 14 10:13 run
drwxr-xr-x 2 debian debian 4096 Feb 8 2020 sbin
drwxr-xr-x 2 debian debian 4096 Feb 8 2020 srv
dr-xr-xr-x 12 root root 0 Jan 1 2000 sys
drwxrwxrwt 3 root root 4096 Feb 17 2020 tmp
drwxr-xr-x 10 debian debian 4096 Feb 8 2020 usr
drwxr-xr-x 11 debian debian 4096 Feb 8 2020 var

And on the desktop under /var/rootfs:

skulos@skulos:/var/rootfs$ ls -l
total 88
-rw-r–r-- 1 skulos skulos 1359 Feb 8 04:49 bbb-uEnv.txt
drwxr-xr-x 2 skulos skulos 4096 Feb 8 04:49 bin
drwxr-xr-x 4 skulos skulos 4096 Feb 8 04:49 boot
drwxr-xr-x 4 skulos skulos 4096 Feb 8 04:49 dev
drwxr-xr-x 66 skulos skulos 4096 Feb 17 10:28 etc
drwxr-xr-x 3 skulos skulos 4096 Feb 8 04:49 home
-rw-r–r-- 1 skulos skulos 40 Feb 8 04:49 ID.txt
drwxr-xr-x 14 skulos skulos 4096 Feb 8 04:49 lib
drwx------ 2 skulos skulos 4096 Feb 8 04:49 lost+found
drwxr-xr-x 2 skulos skulos 4096 Feb 8 04:49 media
drwxr-xr-x 2 skulos skulos 4096 Feb 8 04:49 mnt
-rw-r–r-- 1 skulos skulos 1008 Feb 8 04:49 nfs-uEnv.txt
drwxr-xr-x 5 skulos skulos 4096 Feb 8 04:49 opt
drwxr-xr-x 2 skulos skulos 4096 Feb 8 04:49 proc
drwx------ 2 skulos skulos 4096 Feb 8 04:49 root
drwxr-xr-x 2 skulos skulos 4096 Feb 8 04:49 run
drwxr-xr-x 2 skulos skulos 4096 Feb 8 04:49 sbin
drwxr-xr-x 2 skulos skulos 4096 Feb 8 04:49 srv
drwxr-xr-x 2 skulos skulos 4096 Feb 8 04:49 sys
drwxrwxrwt 3 root root 4096 Feb 17 10:29 tmp
drwxr-xr-x 10 skulos skulos 4096 Feb 8 04:50 usr
drwxr-xr-x 11 skulos skulos 4096 Feb 8 04:50 var

I also created a file on the desktop using sudo to see what would happen, and got this:

debian@beaglebone:~$ ls -l
total 12
drwxr-xr-x 2 debian debian 4096 Feb 8 2020 bin
-rw-r–r-- 1 root root 1178 Feb 17 2020 list
-rw-r–r-- 1 debian debian 23 Feb 23 2020 p.py

Is there another way to reboot the board? And how did you copy the rootfs on your system?

Kind regards,
Jack

Also I get debian with whoami, and sudo whoami get the error sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set.

I’ve tried everything I can think of. I’ve changed ownerships, I tried all of the NFS squash options. I’ve placed the NFS in a home directory, root directory and subroot directory.

@Jack_Nightengale, your root file system on your x86 doesn’t have the correct permissions…

voodoo@hestia:/opt/buster$ ls -lha
total 92K
drwxr-xr-x 20 root root 4.0K May 15 09:48 .
drwxr-xr-x 12 root root 4.0K May 15 09:33 ..
-rw-r--r--  1 root root 1.4K Apr  6 09:01 bbb-uEnv.txt
drwxr-xr-x  2 root root 4.0K May 15 09:45 bin
drwxr-xr-x  4 root root 4.0K May 15 09:43 boot
drwxr-xr-x  2 root root 4.0K May 15 09:45 dev
drwxr-xr-x 86 root root 4.0K May 15 09:46 etc
drwxr-xr-x  3 root root 4.0K Apr  6 05:34 home
-rw-r--r--  1 root root   52 Apr  6 09:01 ID.txt
drwxr-xr-x 13 root root 4.0K Apr  6 05:31 lib
drwxr-xr-x  2 root root 4.0K Apr  6 05:14 media
drwxr-xr-x  2 root root 4.0K Apr  6 05:14 mnt
-rw-r--r--  1 root root 1008 Apr  6 09:01 nfs-uEnv.txt
drwxr-xr-x  8 root root 4.0K Apr  6 09:01 opt
dr-xr-xr-x  2 root root 4.0K Dec 31  1969 proc
drwx------  3 root root 4.0K Apr  6 05:31 root
drwxr-xr-x  2 root root 4.0K May 15 09:46 run
drwxr-xr-x  2 root root 4.0K May 15 09:45 sbin
drwxr-xr-x  2 root root 4.0K Apr  6 05:14 srv
dr-xr-xr-x  2 root root 4.0K May 15 09:43 sys
drwxrwxrwt  9 root root 4.0K May 15 11:44 tmp
drwxr-xr-x 10 root root 4.0K Apr  6 05:14 usr
drwxr-xr-x 12 root root 4.0K Apr  6 05:22 var

Did you run rsync as root when you copied it over?

Regards,

No, I did not. I just copied the image off of the SD Card into a folder. Should I run the nfs-rsync.sh from the rootfs directory on the desktop or when I’ve SSH’d into the BBB?

I’ve also changed the ownership of the rootfs to root on the desktop.

Regards.

@RobertCNelson Do I just copy the rfs from the SD card into the directory, as root, and then run the rsync script or the rsync command?

Hi @Jack_Nightengale, i recommend user ‘boot’ off the microSD and then transfer the data from the BBB to you nfs server via rsync. So using your previous post’s i would:

Boot BeagleBone Black off microSD

Create a temporary nfs mount point:

sudo mkdir /tmp/rootfs/

Mount your nfs server (192.168.1.254 based on your posts)

sudo mount -t nfs -o rw,nfsvers=3,rsize=8192,wsize=8192 192.168.1.254:/var/rootfs/ /tmp/rootfs/"

Then transfer your BeagleBone Black’s rootfs via rsync: (this has the --delete flag, so it’ll clear out any difference in your NFS’s directory…)

sudo rsync -aAx --human-readable --info=name0,progress2 --delete /* /tmp/rootfs/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found}

Regards,

@RobertCNelson Good day, sorry it’s been almost a month since you gave me an answer. Thank you so much for your response. I just got my hardware back from storage today. Just ran the commands (after battling to set up everything again). Will let you know how it goes.

Again, my apologies and thanks,
Jack.

@RobertCNelson The rsync seems to have worked, thank you.

The ethernet interface seems to go down, just before the BBB tries to connect to the nfs server. See the 3rd and 2nd last lines out the output.

U-Boot SPL 2019.04-00002-g3d8c979660 (Nov 01 2019 - 09:14:23 -0500)
Trying to boot from MMC2
Loading Environment from EXT4... Card did not respond to voltage select!


U-Boot 2019.04-00002-g3d8c979660 (Nov 01 2019 - 09:14:23 -0500), Build: jenkins-github_Bootloader-Builder-134

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... Card did not respond to voltage select!
Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net:   eth0: MII MODE
cpsw, usb_ether
Press SPACE to abort autoboot in 0 seconds
board_name=[A335BNLT] ...
board_rev=[000C] ...
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
Card did not respond to voltage select!
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt ...
1006 bytes read in 22 ms (43.9 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from /uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
Checking if client_ip is set ...
gpio: pin 56 (gpio 56) value is 1
Running nfsboot_uname_r ...
Booting from 192.168.1.254 ...
cpsw Waiting for PHY auto negotiation to complete.. done
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.254; our IP address is 192.168.1.10
Filename 'vmlinuz-4.19.79-ti-r30'.
Load address: 0x82000000
Loading: ###############T ##################################################
         ##############################T ###################################
         ###########################T ######################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################################################
         468.8 KiB/s
done
Bytes transferred = 10338816 (9dc200 hex)
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.254; our IP address is 192.168.1.10
Filename 'dtbs/4.19.79-ti-r30/am335x-boneblack.dtb'.
Load address: 0x88000000
Loading: #####
         5.7 MiB/s
done
Bytes transferred = 59507 (e873 hex)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffee000, end 8ffff872 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.79-ti-r30 (voodoo@x2-am57xx-beagle-x15-2gb) (gcc version 8.3.0 (Debian 8.3.0-6)) #1buster SMP PREEMPT Mon Nov 4 20:38:01 UTC 2019
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xa0/0x508 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s39628 r8192 d21812 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129412
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw rootfstype=ext4 rootwait fixrtc nfsroot=192.168.1.254:/var/rootfs,vers=3 ip=192.168.1.10:192.168.1.254:192.168.1.1:255.255.255.0::eth0:off
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 445708K/522240K available (13312K kernel code, 1156K rwdata, 4452K rodata, 1024K init, 349K bss, 27380K reserved, 49152K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0000000 - 0xff800000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdfe00000   ( 510 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (14304 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   (1157 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 350 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 42631 entries in 126 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000040] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000054] OMAP clocksource: timer1 at 24000000 Hz
[    0.000768] timer_probe: no matching timers found
[    0.001003] Console: colour dummy device 80x30
[    0.001036] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001046] This ensures that you still see kernel messages. Please
[    0.001053] update your kernel commandline.
[    0.001115] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.046919] pid_max: default: 32768 minimum: 301
[    0.047220] Security Framework initialized
[    0.047240] Yama: becoming mindful.
[    0.047391] AppArmor: AppArmor initialized
[    0.047513] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.047529] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048634] CPU: Testing write buffer coherency: ok
[    0.048709] CPU0: Spectre v2: using BPIALL workaround
[    0.049201] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.071023] Setting up static identity map for 0x80100000 - 0x80100060
[    0.078940] rcu: Hierarchical SRCU implementation.
[    0.090285] EFI services will not be available.
[    0.094950] smp: Bringing up secondary CPUs ...
[    0.094970] smp: Brought up 1 node, 1 CPU
[    0.094983] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.094992] CPU: All CPU(s) started in SVC mode.
[    0.096752] devtmpfs: initialized
[    0.111292] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.111946] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.111978] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.116002] xor: measuring software checksum speed
[    0.154915]    arm4regs  :  1217.000 MB/sec
[    0.194912]    8regs     :  1091.000 MB/sec
[    0.234910]    32regs    :  1088.000 MB/sec
[    0.274908]    neon      :  1673.000 MB/sec
[    0.274919] xor: using function: neon (1673.000 MB/sec)
[    0.274939] pinctrl core: initialized pinctrl subsystem
[    0.276322] NET: Registered protocol family 16
[    0.281671] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.312711] l4_wkup_cm:clk:0010:0: failed to disable
[    0.352844] audit: initializing netlink subsys (disabled)
[    0.354141] cpuidle: using governor menu
[    0.359041] audit: type=2000 audit(0.348:1): state=initialized audit_enabled=0 res=1
[    0.361940] OMAP GPIO hardware version 0.1
[    0.376081] No ATAGs?
[    0.376101] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.403093] raid6: using algorithm neonx8 gen() 0 MB/s
[    0.403117] raid6: .... xor() 0 MB/s, rmw enabled
[    0.403127] raid6: using neon recovery algorithm
[    0.410587] edma 49000000.edma: TI EDMA DMA engine driver
[    0.414132] SCSI subsystem initialized
[    0.415396] usbcore: registered new interface driver usbfs
[    0.415493] usbcore: registered new interface driver hub
[    0.415626] usbcore: registered new device driver usb
[    0.417858] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.418144] media: Linux media interface: v0.10
[    0.418215] videodev: Linux video capture interface: v2.00
[    0.418387] pps_core: LinuxPPS API ver. 1 registered
[    0.418399] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.418426] PTP clock support registered
[    0.419148] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.423290] Advanced Linux Sound Architecture Driver Initialized.
[    0.424136] NetLabel: Initializing
[    0.424154] NetLabel:  domain hash size = 128
[    0.424163] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.424264] NetLabel:  unlabeled traffic allowed by default
[    0.425332] clocksource: Switched to clocksource timer1
[    0.590658] VFS: Disk quotas dquot_6.6.0
[    0.590774] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.591680] AppArmor: AppArmor Filesystem Enabled
[    0.604029] NET: Registered protocol family 2
[    0.605146] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.605188] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.605234] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.605295] TCP: Hash tables configured (established 4096 bind 4096)
[    0.605644] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.605672] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.605910] NET: Registered protocol family 1
[    0.619114] RPC: Registered named UNIX socket transport module.
[    0.619137] RPC: Registered udp transport module.
[    0.619146] RPC: Registered tcp transport module.
[    0.619154] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.620556] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.623243] Initialise system trusted keyrings
[    0.623699] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.631180] zbud: loaded
[    0.638662] NFS: Registering the id_resolver key type
[    0.638713] Key type id_resolver registered
[    0.638723] Key type id_legacy registered
[    0.638745] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.639106] fuse init (API version 7.27)
[    0.649780] Key type asymmetric registered
[    0.649808] Asymmetric key parser 'x509' registered
[    0.649908] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.654286] io scheduler noop registered
[    0.654306] io scheduler deadline registered
[    0.654604] io scheduler cfq registered (default)
[    0.654620] io scheduler mq-deadline registered
[    0.657070] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.658758] gpio-of-helper ocp:cape-universal: ready
[    0.662198] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    0.664032] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.667717] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    1.230600] random: fast init done
[    1.469509] console [ttyS0] enabled
[    1.475791] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.482439] random: crng init done
[    1.607761] libphy: Fixed MDIO Bus: probed
[    1.665455] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.673211] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.679818] MDIO: davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[    1.688574] libphy: 4a101000.mdio: probed
[    1.692804] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    1.703197] cpsw 4a100000.ethernet: Detected MACID = 78:04:73:7e:8c:74
[    1.710117] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.716616] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.721965] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[    1.731224] usbcore: registered new interface driver smsc95xx
[    1.738125] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.744792] ehci-platform: EHCI generic platform driver
[    1.750300] ehci-omap: OMAP-EHCI Host Controller driver
[    1.756155] usbcore: registered new interface driver usb-storage
[    1.764856] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.775049] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
[    1.785617] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    1.795913] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
[    1.807005] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    1.812463] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    1.820240] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.828595] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.835959] usb usb1: Product: MUSB HDRC host driver
[    1.840979] usb usb1: Manufacturer: Linux 4.19.79-ti-r30 musb-hcd
[    1.847125] usb usb1: SerialNumber: musb-hdrc.1
[    1.852574] hub 1-0:1.0: USB hub found
[    1.856526] hub 1-0:1.0: 1 port detected
[    1.871937] omap_rtc 44e3e000.rtc: registered as rtc0
[    1.878470] i2c /dev entries driver
[    1.882760] Driver for 1-wire Dallas network protocol.
[    1.890330] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.897822] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    1.907784] cpuidle: enable-method property 'ti,am3352' found operations
[    1.915250] sdhci: Secure Digital Host Controller Interface driver
[    1.921526] sdhci: Copyright(c) Pierre Ossman
[    1.926437] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    1.935247] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.940512] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[    1.974803] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.1
[    2.005865] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.013438] ledtrig-cpu: registered to indicate activity on CPUs
[    2.020000] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    2.026192] omap-aes 53500000.aes: will run requests pump with realtime priority
[    2.036227] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    2.046122] hidraw: raw HID events driver (C) Jiri Kosina
[    2.052738] usbcore: registered new interface driver usbhid
[    2.058621] usbhid: USB HID core driver
[    2.063673] remoteproc remoteproc0: wkup_m3 is available
[    2.071889] gnss: GNSS driver registered with major 239
[    2.082605] wireguard: WireGuard 0.0.20191012 loaded. See www.wireguard.com for information.
[    2.091485] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.102778] NET: Registered protocol family 10
[    2.109601] mmc1: new high speed MMC card at address 0001
[    2.119199] Segment Routing with IPv6
[    2.123756] mmcblk1: mmc1:0001 M62704 3.56 GiB
[    2.128770] mip6: Mobile IPv6
[    2.132594] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[    2.138836] NET: Registered protocol family 17
[    2.143520] Key type dns_resolver registered
[    2.148546] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[    2.154575] mpls_gso: MPLS GSO support
[    2.158719] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB, chardev (242:0)
[    2.166297] ThumbEE CPU extension supported.
[    2.170662] Registering SWP/SWPB emulation handler
[    2.176648] omap_voltage_late_init: Voltage driver support not added
[    2.183752] PM: Cannot get wkup_m3_ipc handle
[    2.188515]  mmcblk1: p1
[    2.194204] registered taskstats version 1
[    2.200327] Loading compiled-in X.509 certificates
[    2.205481] zswap: loaded using pool lzo/zbud
[    2.213009] Btrfs loaded, crc32c=crc32c-generic
[    2.217790] AppArmor: AppArmor sha1 policy hashing enabled
[    2.278602] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    2.285795] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    2.297191] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    2.303477] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.432098] tda998x 0-0070: found TDA19988
[    2.439699] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
[    2.445867] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.452541] [drm] No driver support for vblank timestamp query.
[    2.459017] [drm] Cannot find any crtc or sizes
[    2.464505] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    2.472245] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    2.479882] remoteproc remoteproc0: powering up wkup_m3
[    2.488619] cpu cpu0: Linked as a consumer to regulator.3
[    2.494175] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[    2.502451] cpu cpu0: Dropping the link to regulator.3
[    2.507971] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    2.507992] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[    2.522049] cpu cpu0: Linked as a consumer to regulator.3
[    2.530962] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok
[    2.539647] PM: bootloader does not support rtc-only!
[    2.546135] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    2.569484] net eth0: initializing cpsw version 1.12 (0)
[    2.646765] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[    2.663863] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.494523] [drm] Cannot find any crtc or sizes
[    4.710624] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    4.721668] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    4.741623] IP-Config: Complete:
[    4.744901]      device=eth0, hwaddr=78:04:73:7e:8c:74, ipaddr=192.168.1.10, mask=255.255.255.0, gw=192.168.1.1
[    4.755122]      host=192.168.1.10, domain=, nis-domain=(none)
[    4.761042]      bootserver=192.168.1.254, rootserver=192.168.1.254, rootpath=
[    4.769057] ALSA device list:
[    4.772122]   #0: TI BeagleBone Black
[    4.797634] VFS: Mounted root (nfs filesystem) on device 0:17.
[    4.804278] devtmpfs: mounted
[    4.813647] Freeing unused kernel memory: 1024K
[    4.818974] Run /sbin/init as init process
[    5.516141] systemd[1]: System time before build time, advancing clock.
[    5.549561] systemd[1]: Failed to insert module 'kdbus': Function not implemented
[    5.601952] systemd[1]: systemd 230 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    5.621137] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 8 (jessie)!

[    5.643988] systemd[1]: Set hostname to <beaglebone>.
[    6.771369] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[    6.779421] systemd[1]: sysinit.target: Found dependency on nfs-common.service/start
[    6.787339] systemd[1]: sysinit.target: Found dependency on rpcbind.target/start
[    6.794868] systemd[1]: sysinit.target: Found dependency on rpcbind.service/start
[    6.802438] systemd[1]: sysinit.target: Found dependency on network-online.target/start
[    6.810522] systemd[1]: sysinit.target: Found dependency on network.target/start
[    6.817995] systemd[1]: sysinit.target: Found dependency on connman.service/start
[ SKIP ] Ordering cycle found, skipping LSB:...iles common to client and server
[ SKIP ] Ordering cycle found, skipping LSB: RPC portmapper replacement
[  OK  ] Created slice System Slice.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Journal Socket.
         Mounting /sys/kernel/debug...
         Starting Load Kernel Modules...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting POSIX Message Queue File System...
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Listening on Journal Audit Socket.
         Starting Journal Service...
[  OK  ] Reached target Paths.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted /sys/kernel/debug.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
         Mounting Configuration File System...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
[FAILED] Failed to start Remount Root and Kernel File Systems.
See 'systemctl status systemd-remount-fs.service' for details.
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted FUSE Control File System.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started udev Kernel Device Manager.
         Starting LSB: Tune IDE hard disks...
[  OK  ] Started Load/Save Random Seed.
[    9.123175] systemd-journald[135]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started LSB: Tune IDE hard disks.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on cloud9.socket.
         Starting Restore Sound Card State...
[  OK  ] Listening on bonescript.socket.
[  OK  ] Listening on node-red.socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started Bonescript autorun.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting System Logging Service...
[  OK  ] Started Regular background program processing daemon.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Generic Board Startup...
         Starting Cape Manager Service...
         Starting LSB: Start busybox udhcpd at boot time...
         Starting Restore /etc/resolv.conf i...e the ppp link was shut down....
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Connection service...
         Starting Login Service...
[  OK  ] Started BB WL18xx wlan0 Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore Sound Card State.
[  OK  ] Started Cape Manager Service.
[  OK  ] Started Restore /etc/resolv.conf if...ore the ppp link was shut down..
[   16.950820] cpsw 4a100000.ethernet eth0: Link is Down
[   26.341637] nfs: server 192.168.1.254 not responding, still trying
[  116.197636] nfs: server 192.168.1.254 not responding, still trying

Also,

<ethaddr> not set. Validating first E-fuse MAC

Do I just need to configure the ethernet interfaces?

Regards, Jack.

Also I found this:

[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs rw rootfstype=ext4 rootwait fixrtc nfsroot=192.168.1.254:/var/rootfs,vers=3 ip=192.168.1.10:192.168.1.254:192.168.1.1:255.255.255.0::eth0:off

Anyway I can fix this? I’ve tried the uEnv.txt file, but correct me if I’m wrong but I think U-Boot gives the boot arguments to the kernel. I honestly have no idea how to fix this.

Kind regards.