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.

Moderator: marcelr

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
Starting Member
Starting Member
 
Posts: 9
Joined: October 2015


Re: Kernel panic while booting Toon

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

I feel stupid.
Thanks for the heads up
RoadXY
Starting Member
Starting Member
 
Posts: 9
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
Advanced Member
Advanced Member
 
Posts: 922
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
Starting Member
Starting Member
 
Posts: 9
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
Advanced Member
Advanced Member
 
Posts: 922
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
Starting Member
Starting Member
 
Posts: 9
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
Advanced Member
Advanced Member
 
Posts: 922
Joined: May 2012
Location: Ehv

Re: Kernel panic while booting Toon

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

Yes please!
RoadXY
Starting Member
Starting Member
 
Posts: 9
Joined: October 2015

Re: Kernel panic while booting Toon

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

marcelr
Advanced Member
Advanced Member
 
Posts: 922
Joined: May 2012
Location: Ehv


Return to Toon issues and support (Nederlands toegestaan)

Who is online

Users browsing this forum: No registered users and 0 guests