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, TerrorSource, Toonz

Kernel panic while booting Toon

Postby RoadXY » Fri Apr 20, 2018 7:23 pm

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)
RoadXY
Member
Member
 
Posts: 60
Joined: October 2015

Re: Kernel panic while booting Toon

Postby TheHogNL » Fri Apr 20, 2018 9:54 pm

Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 960
Joined: August 2017

Re: Kernel panic while booting Toon

Postby RoadXY » Fri Apr 20, 2018 9:58 pm

I feel stupid.
Thanks for the heads up
RoadXY
Member
Member
 
Posts: 60
Joined: October 2015

Re: Kernel panic while booting Toon

Postby marcelr » Sun Apr 22, 2018 9:28 pm

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.
marcelr
Global Moderator
Global Moderator
 
Posts: 1050
Joined: May 2012
Location: Ehv

Re: Kernel panic while booting Toon

Postby RoadXY » Sun Apr 22, 2018 10:14 pm

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...
RoadXY
Member
Member
 
Posts: 60
Joined: October 2015

Re: Kernel panic while booting Toon

Postby marcelr » Mon Apr 23, 2018 2:24 pm

My first try would be to follow the path through an NFS-mounted rootfs, then try to fix the ubi from there.
marcelr
Global Moderator
Global Moderator
 
Posts: 1050
Joined: May 2012
Location: Ehv

Re: Kernel panic while booting Toon

Postby RoadXY » Thu May 24, 2018 12:18 pm

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?
RoadXY
Member
Member
 
Posts: 60
Joined: October 2015

Re: Kernel panic while booting Toon

Postby marcelr » Thu May 24, 2018 5:54 pm

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.
marcelr
Global Moderator
Global Moderator
 
Posts: 1050
Joined: May 2012
Location: Ehv

Re: Kernel panic while booting Toon

Postby RoadXY » Thu May 24, 2018 7:32 pm

Yes please!
RoadXY
Member
Member
 
Posts: 60
Joined: October 2015

Re: Kernel panic while booting Toon

Postby marcelr » Thu May 24, 2018 10:31 pm

marcelr
Global Moderator
Global Moderator
 
Posts: 1050
Joined: May 2012
Location: Ehv

Re: Kernel panic while booting Toon

Postby RoadXY » Tue Apr 09, 2019 9:42 am

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! :!:
RoadXY
Member
Member
 
Posts: 60
Joined: October 2015

Re: Kernel panic while booting Toon

Postby TheHogNL » Tue Apr 09, 2019 3:04 pm

No problem ;)
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 960
Joined: August 2017

Re: Kernel panic while booting Toon

Postby WickedMaster » Tue Apr 09, 2019 3:12 pm

TheHogNL wrote:No problem ;)


Also thanks for the help!
User avatar
WickedMaster
Member
Member
 
Posts: 67
Joined: November 2018

Re: Kernel panic while booting Toon

Postby NLKris » Fri Apr 19, 2019 12:39 am

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: 11
Joined: January 2019

Re: Kernel panic while booting Toon

Postby NLKris » Mon May 20, 2019 9:43 pm

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.
NLKris
Starting Member
Starting Member
 
Posts: 11
Joined: January 2019


Return to Toon issues and support (Nederlands toegestaan)

Who is online

Users browsing this forum: No registered users and 0 guests