Kernel panic while booting Toon

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

RoadXY
Member
Member
Posts: 111
Joined: Wed Oct 21, 2015 8:11 am

Kernel panic while booting Toon

Post by RoadXY »

I was in de process of rooting my Toon when all of a sudden my Toon stopped booting.

Some numbers:
Boot

What I had accomplished so far:

Interupted boot
Enabled root
Disabled OpenVPN
Copied the base64 encoded dropbear file
I already noticed that touch didn't work but the flat cable had come out so I didn't worry to much
Reboot

Last part of the boot log:

Code: Select all

UBIFS: recovery needed
UBIFS error (pid 1): ubifs_recover_leb: corrupt empty space LEB 639:47104, corruption starts at 2048
UBIFS error (pid 1): ubifs_scanned_corruption: corruption at LEB 639:2048
UBIFS error (pid 1): ubifs_recover_leb: LEB 639 scanning failed
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00             512 mtdblock0 (driver?)
1f01            1536 mtdblock1 (driver?)
1f02            3072 mtdblock2 (driver?)
1f03            3072 mtdblock3 (driver?)
1f04          121856 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c00273d0>] (unwind_backtrace+0x0/0xf0) from [<c029e720>] (panic+0x60/0x190)
[<c029e720>] (panic+0x60/0x190) from [<c0008ea0>] (mount_block_root+0x15c/0x20c)
[<c0008ea0>] (mount_block_root+0x15c/0x20c) from [<c00090d0>] (prepare_namespace+0x8c/0x178)
[<c00090d0>] (prepare_namespace+0x8c/0x178) from [<c0008b50>] (kernel_init+0x10c/0x14c)
[<c0008b50>] (kernel_init+0x10c/0x14c) from [<c00238ec>] (kernel_thread_exit+0x0/0x8)
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Kernel panic while booting Toon

Post by TheHogNL »

Member of the Toon Software Collective
RoadXY
Member
Member
Posts: 111
Joined: Wed Oct 21, 2015 8:11 am

Re: Kernel panic while booting Toon

Post by RoadXY »

I feel stupid.
Thanks for the heads up
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Kernel panic while booting Toon

Post by marcelr »

Don't thrash your rootfs just like that.

Try and fix the rootfs first, before you revert to a complete rewrite. Access to Eneco will be lost forever, then, and there's no guarantee that the method described in the tutorials works for you.
RoadXY
Member
Member
Posts: 111
Joined: Wed Oct 21, 2015 8:11 am

Re: Kernel panic while booting Toon

Post by RoadXY »

On u-boot here aren't any commands like ls or vi.
Do you still think it's possible to repair it?
I've searched on Google but couldn't find anything where I don't need the source-code for the OS...
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Kernel panic while booting Toon

Post by marcelr »

My first try would be to follow the path through an NFS-mounted rootfs, then try to fix the ubi from there.
RoadXY
Member
Member
Posts: 111
Joined: Wed Oct 21, 2015 8:11 am

Re: Kernel panic while booting Toon

Post by RoadXY »

marcelr wrote:My first try would be to follow the path through an NFS-mounted rootfs, then try to fix the ubi from there.
But where can I get the root filesystem?
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Kernel panic while booting Toon

Post by marcelr »

A barebones rootfs image is part of the openembedded build. Back then, I built a kernel with a rootfs over nfs mount. I can upload both if you want.
RoadXY
Member
Member
Posts: 111
Joined: Wed Oct 21, 2015 8:11 am

Re: Kernel panic while booting Toon

Post by RoadXY »

Yes please!
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Kernel panic while booting Toon

Post by marcelr »

Apparently, I already did that a while ago ...

You can find them here:

http://files.domoticaforum.eu/uploads/T ... qb2.tar.gz
http://files.domoticaforum.eu/uploads/T ... ge-nfs.zip
RoadXY
Member
Member
Posts: 111
Joined: Wed Oct 21, 2015 8:11 am

Re: Kernel panic while booting Toon

Post by RoadXY »

WickedMaster solved the issue!
The whole parition of the Toon was corrupted and even an repair wasn't helping.
He formatted and flashed the partition and my Toon is back up again.

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

Re: Kernel panic while booting Toon

Post by TheHogNL »

No problem ;)
Member of the Toon Software Collective
WickedMaster
Member
Member
Posts: 76
Joined: Wed Nov 07, 2018 1:53 pm

Re: Kernel panic while booting Toon

Post by WickedMaster »

TheHogNL wrote:No problem ;)
Also thanks for the help!
NLKris
Starting Member
Starting Member
Posts: 33
Joined: Sat Jan 26, 2019 4:16 am

Re: Kernel panic while booting Toon

Post by NLKris »

What did WickedMaster do exactly? I think I might brik my Toon the same way and I just do not understand the unbrick post with webservers etc..

What happend: I did a factory reset, after that I made connection to WiFi so I could root and connect with ssh. When connected to internet the Toon started to download a update. I power off.
Than I started rooting, happend all fine. Than I started the update script witch told me it had to force to 5.2.11. After the download it needed a minute of two. After long waiting the script told me it could not start/finish the update.

So I did the script with -f, it worked..But still wanted to update from 4.20 to 5.2.11. Won't finish the last download part (I think). So after some reading I tried to open VPN, command "opkg update" and "opkg install base-qb2-uni".
Toon told me onscreen it had to reboot after an update. Rebooting in 8..7..6..5.... Anyway, it never rebooted. So I power of.

Than it never startup again. No SSH access. Looked up with COM poort and saw this:

Code: Select all

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"

Code: Select all

Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c00273d0>] (unwind_backtrace+0x0/0xf0) from [<c029e720>] (panic+0x60/0x190)
[<c029e720>] (panic+0x60/0x190) from [<c00223dc>] (init_post+0x78/0xc4)
[<c00223dc>] (init_post+0x78/0xc4) from [<c0008b54>] (kernel_init+0x110/0x14c)
[<c0008b54>] (kernel_init+0x110/0x14c) from [<c00238ec>] (kernel_thread_exit+0x0/0x8)
I hope someone can help me trough step by step (of send me a very clear tutorial). I thank you already for the time!!
NLKris
Starting Member
Starting Member
Posts: 33
Joined: Sat Jan 26, 2019 4:16 am

Re: Kernel panic while booting Toon

Post by NLKris »

NLKris wrote:What did WickedMaster do exactly? I think I might brik my Toon the same way and I just do not understand the unbrick post with webservers etc..

What happend: I did a factory reset, after that I made connection to WiFi so I could root and connect with ssh. When connected to internet the Toon started to download a update. I power off.
Than I started rooting, happend all fine. Than I started the update script witch told me it had to force to 5.2.11. After the download it needed a minute of two. After long waiting the script told me it could not start/finish the update.

So I did the script with -f, it worked..But still wanted to update from 4.20 to 5.2.11. Won't finish the last download part (I think). So after some reading I tried to open VPN, command "opkg update" and "opkg install base-qb2-uni".
Toon told me onscreen it had to reboot after an update. Rebooting in 8..7..6..5.... Anyway, it never rebooted. So I power of.

Than it never startup again. No SSH access. Looked up with COM poort and saw this:

Code: Select all

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"

Code: Select all

Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c00273d0>] (unwind_backtrace+0x0/0xf0) from [<c029e720>] (panic+0x60/0x190)
[<c029e720>] (panic+0x60/0x190) from [<c00223dc>] (init_post+0x78/0xc4)
[<c00223dc>] (init_post+0x78/0xc4) from [<c0008b54>] (kernel_init+0x110/0x14c)
[<c0008b54>] (kernel_init+0x110/0x14c) from [<c00238ec>] (kernel_thread_exit+0x0/0x8)
I hope someone can help me trough step by step (of send me a very clear tutorial). I thank you already for the time!!
I've tried to make up a server myself, with linux, but I could not get it working. Is there somebody with a running server to get the Toon alive again? I could drive to your way and if needed I'll pay for the service.
I hope that somebody could help my Toon or have some golden steps to do it myself.
Post Reply

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