maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help! (https://talk.maemo.org/showthread.php?t=83094)

J4ZZ 2012-03-17 21:37

[N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
He, serious problem here.

After trying to boot pre50 kernel from u-boot I stuck in a reboot loop.
My setup was u-boot followed by bootmenu.

I 1st tried to just reflashed kernel. power49 and then stockpr1.3. But that didn't help.

Then I flashed zImage-fb-omap1-pr13 to see whats going on inside...

Loading stops with
Code:

......
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!
......

then shuts down...

So, IS IT DEAD?

Or can I revive it somehow preferably without a reflash?

Thanks in advance....

Regards,

J4ZZ

pali 2012-03-19 22:28

Re: [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
I got same problem more times. The only one solution is to FULL reflash COMBINED image:
$ sudo flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -f -R

J4ZZ 2012-03-20 00:05

Re: [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
Ok, this is bad. But did you found out what was causing the error? I read in several general linux forums, that it could be defective hardware or an empty proc folder causing this.

Anyway, thank you for answering. ;)

Cheers,

J4ZZ

pali 2012-03-20 09:01

Re: [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
I have really no idea where is problem. But I flashed only rootfs that does not solve problem. I must (every time) flash full fiasco image... Seems that this is really some HW problems...

But In this state I was able to boot NitDroid from microSD card without any problem (from U-Boot).

So this problem is now very very complicated. Maybe also some problem in Maemo fremantle system...

J4ZZ 2012-03-20 21:44

Re: [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
Ok, well... Flashed it, and it's up and running again ;)

Lots of work to do now :D

btw. just saw that filebox shows MyDocs and SD Card as "Memory Card" and not as their respective names "Nokia N900" and "16 GB SD" So does someone knows where to look for to correct this issue?
Filemanager and "Mass Storage Mode" are showing the proper labels.

Thanks in advanced,

J4ZZ

pali 2012-03-28 21:02

Re: [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
Ok, problem is that somebody/someapp somehow delete file /dev/console from maemo5 ubifs rootfs.

Fix is simple: Use some rescue OS to create character device /dev/console and no reflash is needed

See more on: http://mg.pov.lt/maemo-irclog/%23mae...03-28T22:46:34

J4ZZ 2012-03-29 01:26

Re: [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
I'm really glad that this 'bug' got fixed so do you mind posting some small instructions how exactly creating the missing /dev/console entry?
Do I have to copy it from somewhere or is it just creating a kind of a dummy file? Sorry for this probably noobish question...

Cheers,

J4ZZ

pali 2012-03-29 08:12

Re: [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
Code:

$ mknod <path_to_maemo5_rootfs>/dev/console c 5 1
/dev/console is character device with major number 5 and minor 1. Replace <path_to_maemo5_rootfs> with path where you mounted maemo5 ubifs rootfs

J4ZZ 2012-03-30 23:25

Re: [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
Brilliant... Thanks mate.

;)

Greetz,

J4ZZ

pali 2012-04-28 10:48

Re: [N900 not booting] Kernel panic - not syncing: Attempted to kill init! Please Help!
 
Here is output of all files in /dev/ from RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin image: http://pastebin.com/hs13sjdV


All times are GMT. The time now is 09:39.

vBulletin® Version 3.8.8