Toon stuck in load screen

If your (rooted) Toon doesn't do what it's supposed to, post here. Dutch allowed / Posten in 't Nederlands toegestaan.

Moderators: marcelr, TheHogNL, Toonz

TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon stuck in load screen

Post by TheHogNL »

First of all, why didn't you go for option 1) first. This backups your VPN connection configuration. Without this, you will never have an option to upgrade the toon anymore.

But noticing the errors, it seems that there is something wrong with your toon. Go 'drop to shell' and type 'mount' and 'dmesg' and post all output. And also show the content of /dev with 'ls /dev'
Member of the Toon Software Collective
Oneten1983
Starting Member
Starting Member
Posts: 9
Joined: Sun Jan 12, 2020 10:14 pm

Re: Toon stuck in load screen

Post by Oneten1983 »

i also tested option 1, same error message, as in previous post.

Output with ls /dev

pi@raspberrypi:~ $ ls /dev
autofs loop4 ram14 tty15 tty4 tty7 vcsa7
block loop5 ram15 tty16 tty40 tty8 vcsm-cma
btrfs-control loop6 ram2 tty17 tty41 tty9 vcsu
bus loop7 ram3 tty18 tty42 ttyAMA0 vcsu1
cachefiles loop-control ram4 tty19 tty43 ttyprintk vcsu2
char mapper ram5 tty2 tty44 uhid vcsu3
console media0 ram6 tty20 tty45 uinput vcsu4
cuse media1 ram7 tty21 tty46 urandom vcsu5
disk mem ram8 tty22 tty47 v4l vcsu6
dma_heap mmcblk0 ram9 tty23 tty48 vchiq vcsu7
fb0 mmcblk0p1 random tty24 tty49 vcio vhci
fd mmcblk0p2 raw tty25 tty5 vc-mem video10
full mmcblk0p5 rfkill tty26 tty50 vcs video11
fuse mmcblk0p6 serial0 tty27 tty51 vcs1 video12
gpiochip0 mmcblk0p7 shm tty28 tty52 vcs2 video13
gpiomem mqueue snd tty29 tty53 vcs3 video14
hidraw0 net stderr tty3 tty54 vcs4 video15
hidraw1 null stdin tty30 tty55 vcs5 video16
hwrng ppp stdout tty31 tty56 vcs6 watchdog
initctl ptmx tty tty32 tty57 vcs7 watchdog0
input pts tty0 tty33 tty58 vcsa zero
kmsg ram0 tty1 tty34 tty59 vcsa1
log ram1 tty10 tty35 tty6 vcsa2
loop0 ram10 tty11 tty36 tty60 vcsa3
loop1 ram11 tty12 tty37 tty61 vcsa4
loop2 ram12 tty13 tty38 tty62 vcsa5
loop3 ram13 tty14 tty39 tty63 vcsa6
pi@raspberrypi:~ $


Output Drop shell.
Welcome to the Toon recovery environment.
--> This is a Toon with NAND offset of 2048
=========================================
1) Backup Toon VPN config
2) Format Toon filesystem
3) Recover Toon filesystem
9) Reboot Toon
0) Drop to shell
=========================================
Choose an option:
0
/ # mount
rootfs on / type rootfs (rw)
/dev/root on / type nfs (rw,relatime,vers=3,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=tcp,port=65535,timeo=600,retrans=2,sec=sys,addr=192.168.178.222)
proc on /proc type proc (rw,noatime)
none on /sys type sysfs (rw,relatime)
/ # dmesg
Linux version 2.6.36-R07-h21 (marcelr@laptop46.wfw.wtb.tue.nl) (gcc version 4.5.3 20110223 (prerelease) (GCC) ) #1 PREEMPT Wed Feb 24 19:02:12 CET 2016
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Prodrive B.V ED2.0
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c04b2a14, node_mem_map c04da000
Normal zone: 256 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 32512 pages, LIFO batch:7
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: root=/dev/nfs rw nfsroot=192.168.178.222:/srv/nfs/toon,nfsvers=3,nolock,tcp console=ttymxc0,115200 loglevel=8 mtdparts=mxc_nand:512K@0x0010 0000(u-boot-env)ro,1536K(splash-image),3M(kernel),3M(kernel-backup),119M(rootfs) ip=192.168.178.68:192.168.178.222:192.168.178.1:255.255.255.0:toon::off panic=0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 124984k/124984k available, 6088k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffa00000 - 0xffe00000 ( 4 MB)
vmalloc : 0xc8800000 - 0xf4000000 ( 696 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0025000 ( 116 kB)
.text : 0xc0025000 - 0xc044d000 (4256 kB)
.data : 0xc046a000 - 0xc04b3020 ( 293 kB)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:272
MXC IRQ initialized
MXC GPIO hardware
Console: colour dummy device 80x30
Calibrating delay loop... 199.88 BogoMIPS (lpj=999424)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
msgmni has been set to 244
io scheduler noop registered (default)
imx-fb imx-fb.0: PreserveUBootFramebuffer(1): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: PreserveUBootFramebuffer(2): xres=800, yres=480 [skip _update_lcdc]
Console: switching to colour frame buffer device 100x30
imx-fb imx-fb.0: fb0: DISP0 BG fb device registered successfully.
imx-fb imx-fb.0: PreserveUBootFramebuffer(3): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: fb1: DISP0 FG fb device registered successfully.
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
console [ttymxc0] enabled
imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
RedBoot partition parsing not available
5 cmdlinepart partitions found on MTD device mxc_nand
Creating 5 MTD partitions on "mxc_nand":
0x000000100000-0x000000180000 : "u-boot-env"
0x000000180000-0x000000300000 : "splash-image"
0x000000300000-0x000000600000 : "kernel"
0x000000600000-0x000000900000 : "kernel-backup"
0x000000900000-0x000008000000 : "rootfs"
at25 spi0.0: 32 KByte at25640B eeprom, pagesize 64
spi_imx spi_imx.0: probed
FEC Ethernet Driver
fec_enet_mii_bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
mxc-ehci mxc-ehci.0: initializing i.MX USB Controller
mxc-ehci mxc-ehci.0: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.0: Work around for USB enabled
ULPI transceiver vendor/product ID 0x0424/0x000d
ULPI ID does not match any known transceiver.
mxc-ehci mxc-ehci.0: unable to init transceiver, probably missing
mxc-ehci mxc-ehci.2: initializing i.MX USB Controller
mxc-ehci mxc-ehci.2: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.2: Work around for USB enabled
mxc-ehci mxc-ehci.2: Freescale On-Chip EHCI Host Controller
mxc-ehci mxc-ehci.2: new USB bus registered, assigned bus number 1
mxc-ehci mxc-ehci.2: irq 55, io mem 0x10024400
mxc-ehci mxc-ehci.2: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Freescale On-Chip EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.36-R07-h21 ehci_hcd
usb usb1: SerialNumber: mxc-ehci.2
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for cp210x
usbcore: registered new interface driver cp210x
cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
input: TSC2007 Touchscreen as /devices/virtual/input/input0
rtc-isl1208 1-006f: chip found, driver version 0.3
rtc-isl1208: dev (254:0)
rtc-isl1208 1-006f: rtc core: registered rtc-isl1208 as rtc0
i2c /dev entries driver
tmp431 0-004c: Could not read configuration register (-5)
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
Registered led device: led0
Registered led device: led1
adt7410 0-0048: adt7410 temperature sensor registered.
adt7410 0-0049: adt7410 temperature sensor registered.
usbcore: registered new interface driver r871x_usb_drv
nf_conntrack version 0.5.0 (1952 buckets, 7808 max)
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Registering the dns_resolver key type
rtc-isl1208 1-006f: setting system clock to 2021-04-12 18:55:02 UTC (1618253702)
usb 1-1: new high speed USB device using mxc-ehci and address 2
usb 1-1: New USB device found, idVendor=148f, idProduct=5370
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: 802.11 n WLAN
usb 1-1: Manufacturer: Ralink
usb 1-1: SerialNumber: 1.0
eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:10, irq=-1)
ADDRCONF(NETDEV_UP): eth0: link is not ready
IP-Config: Complete:
device=eth0, addr=192.168.178.68, mask=255.255.255.0, gw=192.168.178.1,
host=toon, domain=, nis-domain=(none),
bootserver=192.168.178.222, rootserver=192.168.178.222, rootpath=
Looking up port of RPC 100003/3 on 192.168.178.222
PHY: 1:10 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Looking up port of RPC 100005/3 on 192.168.178.222
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing init memory: 116K
/ #

thanks in advise.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon stuck in load screen

Post by TheHogNL »

All look ok. I believe you have the NFS directory read only for the user causing /dev/null not to be writable. If this is the case you can ignore the messages about /dev/null or fix it on your NFS server.
And I hope you first did option 1 before you tried option 2 because if you did option 2 first, you don't have a backup of the vpn config.

And then just go for the next option to recover your toon.
Member of the Toon Software Collective
Oneten1983
Starting Member
Starting Member
Posts: 9
Joined: Sun Jan 12, 2020 10:14 pm

Re: Toon stuck in load screen

Post by Oneten1983 »

Output ls -l thru serial connection toon

/ # ls -l
drwxr-xr-x 2 root root 4096 Jan 25 2019 bin
drwxrwxr-x 2 root root 4096 Jan 25 2019 boot
drwxr-xr-x 2 root root 4096 Jun 15 2019 dev
drwxr-xr-x 23 root root 4096 Jun 16 2019 etc
drwxrwxr-x 2 root root 4096 Jul 5 2015 lib
lrwxrwxrwx 1 root root 12 Jul 5 2015 linuxrc -> /bin/busybox
-rwxr-xr-x 1 root root 7885 Jul 19 2019 menu.sh
drwxrwxr-x 5 root root 4096 Jun 15 2019 mnt
dr-xr-xr-x 41 root root 0 Jan 1 1970 proc
drwxr-xr-x 5 root root 4096 Nov 8 2019 recovery
drwxr-xr-x 2 root root 4096 Jun 14 2019 root
drwxr-xr-x 2 root root 4096 Jun 10 2019 sbin
drwxr-xr-x 12 root root 0 Apr 13 19:59 sys
drwxrwxrwt 2 root root 4096 Mar 11 2019 tmp
drwxr-xr-x 9 root root 4096 Jul 5 2015 usr
drwxrwxr-x 8 root root 4096 Jul 5 2015 var
/ #
/dev # ls -l
crw-rw-rw- 1 root root 5, 1 Jun 10 2019 console
prw------- 1 root root 0 Jun 15 2019 initctl
crw-r--r-- 1 root root 90, 0 Mar 11 2019 mtd0
crw-r--r-- 1 root root 90, 2 Jan 27 2019 mtd1
crw-r--r-- 1 root root 90, 4 Jan 28 2019 mtd2
crw-r--r-- 1 root root 90, 6 Mar 11 2019 mtd3
brw-r--r-- 1 root root 31, 3 Jun 10 2019 mtd3block
crw-r--r-- 1 root root 90, 8 Jan 27 2019 mtd4
brw-r--r-- 1 root root 31, 4 Jan 27 2019 mtd4block
crw-r--r-- 1 root root 90, 10 Mar 11 2019 mtd5
crw-r--r-- 1 root root 1, 3 Mar 11 2019 null
crw-rw-rw- 1 root root 207, 16 Jun 10 2019 ttymxc0
crw-r--r-- 1 root root 252, 0 Jan 25 2019 ubi0
crw-r--r-- 1 root root 252, 1 Jan 27 2019 ubi0_0
crw-r--r-- 1 root root 251, 0 Jun 10 2019 ubi1
crw-r--r-- 1 root root 251, 1 Jun 10 2019 ubi1_0
crw-r--r-- 1 root root 10, 63 Jan 28 2019 ubi_ctrl
/dev #

I can't change the permissions.

/dev # chmod -R 777 null
chmod: null: Operation not permitted


When looking thru the raspberry:
pi@raspberrypi:~/toon $ ls -l
totaal 64
drwxr-xr-x 2 pi pi 4096 jan 25 2019 bin
drwxr-xr-x 2 pi pi 4096 jan 25 2019 boot
drwxrwxrwx 3 pi pi 4096 apr 11 22:08 dev
drwxr-xr-x 23 pi pi 4096 apr 10 22:33 etc
drwxr-xr-x 2 pi pi 4096 jul 5 2015 lib
lrwxrwxrwx 1 pi pi 12 jul 5 2015 linuxrc -> /bin/busybox
-rwxrwxrwx 1 pi pi 7885 jul 19 2019 menu.sh
drwxr-xr-x 5 pi pi 4096 jun 15 2019 mnt
drwxr-xr-x 2 pi pi 4096 jul 5 2015 proc
drwxr-xr-x 5 pi pi 4096 nov 8 2019 recovery
drwxr-xr-x 2 pi pi 4096 jun 14 2019 root
drwxr-xr-x 2 pi pi 4096 jun 10 2019 sbin
drwxr-xr-x 2 pi pi 4096 jul 5 2015 sys
drwxr-xr-x 2 pi pi 4096 mrt 11 2019 tmp
drwxr-xr-x 9 pi pi 4096 jul 5 2015 usr
drwxr-xr-x 8 pi pi 4096 jul 5 2015 var
pi@raspberrypi:~/toon $
pi@raspberrypi:~/toon $ cd dev
pi@raspberrypi:~/toon/dev $ ls -l
totaal 4
prw------- 1 pi pi 0 jun 15 2019 initctl
drwxrwxrwx 2 pi pi 4096 apr 11 22:08 null
pi@raspberrypi:~/toon/dev $

After selecting 1 in the toon recovery menu, the script is aborted no furhter selections can be made.



INFO:recovery:Toon booting into recovery shell. For now, just start your favourite serial terminal
pi@raspberrypi:~/ToonRecovery $

i disconnect the jtag connector put the serial connector in the toon, start putty in windows.

Welcome to the Toon recovery environment.
--> This is a Toon with NAND offset of 2048
=========================================
1) Backup Toon VPN config
2) Format Toon filesystem
3) Recover Toon filesystem
9) Reboot Toon
0) Drop to shell
=========================================
Choose an option:
1
Fetching your current Toon VPN key, if possible...
Attaching Toon root filesystem...
/menu.sh: line 296: can't create /dev/null: Permission denied
ERROR: coul/ # 2
/bin/sh: 2: not found
/ #

I'm lost!! i'm patient but this is frustrated what can i do to recover the toon?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon stuck in load screen

Post by TheHogNL »

Last thing I can think of is that the NFS share is read only and not read write.
Member of the Toon Software Collective
Oneten1983
Starting Member
Starting Member
Posts: 9
Joined: Sun Jan 12, 2020 10:14 pm

Re: Toon stuck in load screen

Post by Oneten1983 »

Many thanks for your help i will try to find out.
Post Reply

Return to “Toon issues and support (Nederlands toegestaan)”