Kernel panic:attempted to kill init ! exitcode=0x00000004

2,604 views
Skip to first unread message

Longfei Wang

unread,
Sep 14, 2014, 11:27:21 PM9/14/14
to andro...@googlegroups.com
Before the Kernel panic, it seems no error exists but then the kernel panic things occurred. Both happened on my real PC (Fujitu ST4121)and virtual PC of VirtualBox on this real PC.

A little searching show me that may caused ARM EABI and old ABI were not chosen when compiling the kernel, it this true?

I'm already started trying to download kernel source codes. Try to get kitkat branch, but 'repo sync' always got the same error... tens of times.(scripts or by hand).. Very bad experience! Does android-x86 provide zip file downloading like github? I just want to compile the kernel for Tablet PC (Fujitu ST4121)... I'm depressed... 

Longfei Wang

unread,
Sep 16, 2014, 10:53:32 PM9/16/14
to andro...@googlegroups.com
Why the android 2.2 can boot on my machine but 4.4 can't?

I've realized EABI and ABI are ARM processor's feature. Why exitcode 0x00000004 appeared on X86 processors? 

I've succeed to compile the default ISO file of 4.4.4 and try to fix the bug by adding such lines in kernel configure file:
#
# Kernel Feature
#
CONFIG_AEABI=y
CONFIG_OABI_COMPAT=y

However it can not solve the problem.

Chih-Wei Huang

unread,
Sep 16, 2014, 11:54:41 PM9/16/14
to Android-x86
Please explain what you tried to do exactly.

Don't know about Fujitu ST4121.
But many people have run android-x86 4.4 release
on Virtual Box successfully.
(search the video on youtube)
I believe it's your problem (environment, settings, ...)
to cause the failure.
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-x86...@googlegroups.com.
> To post to this group, send email to andro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-x86.
> For more options, visit https://groups.google.com/d/optout.



--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Longfei Wang

unread,
Sep 17, 2014, 5:07:29 AM9/17/14
to andro...@googlegroups.com
Sorry for my unclear description. I 'm just a learner here. Thanks for what your guys have done to make android-x86 work on a lot of machines and quite easy to compile. 4.4 does work in my laptop (both real pc and virtualbox), but not this old tablet pc (Fujitsu's Stylistic ST4121), what I worried is that the tablet is too old to run newer edition of android. Though have written some emotional words here, it doesn't mean something, like a women's clack. I just try to get some solutions to make my machine works (because android x86 2.2 works).

The main technical specification of Fujitsu's Stylistic ST4121:
CPU: PIII-M 933MHz with L2 - 512 KB
RAM: 768MB SDRAM(PC133) 
Chipset: Intel 830MG
Graphics Processor: AGP - Intel Extreme Graphics
Screen: 10.4" XGA TFT Colour (with Active Digitiser, Max 1024 x 768 pixels)
                 Reflective TFT LCD with Frontlight
Interfaces:
     2 x USB - 4 pin USB Type A
     1 x infrared - IrDA
     1 x display / video - VGA - 15 pin HD D-Sub (HD-15)
     1 x modem - phone line - RJ-11
     1 x network - Ethernet 10Base-T/100Base-TX - RJ-45
     1 x IEEE 1394 (FireWire)
     1 x keyboard - infrared
     1 x headphones - output - mini-phone stereo 3.5 mm 
     1 x microphone - input - mini-phone 3.5 mm
     1 x audio - line-in - mini-phone stereo 3.5 mm


Android 2.2 works, but 4.0, 4,3 and 4.4 didn't work in this tablet.  Vesa mode makes 2.2 usable with display on LCD. I'm not a specialist, I didn't do things than just add those lines to the kernel configuration file and recompile the kernel. So, I want to make it works. I will keep trying to dig more information of this kernel panic things on my machine.

Chih-Wei Huang

unread,
Sep 17, 2014, 10:50:55 PM9/17/14
to Android-x86
Your cpu is too old to be supported.
There may be some workarounds that
need to adjust the compiler flags.
Search the forum for it.

Longfei Wang

unread,
Sep 19, 2014, 2:20:42 AM9/19/14
to andro...@googlegroups.com
Thank you very much!  Would you please give me a little hints or references? I have searched the forum, however, I just got one tip: write CONFIG_M386=y to config file. It didn't work for my tablet.

Knowing a little, so I'm trying to use some configuration files that do not cause this kernel crashing, e.g ubuntu 10.04 (error while insert drivers to kernel), android-x86 2.2 and 2.3 (waiting to try). And if those efforts do not work, I think I must compare those configuration files with the present kernel configuration file, which is a huge task and I don't have any clue. Hoping to get a little help. Thanks again.



I also try to get the old kernel configuration file of 2.2 or 
On Thursday, September 18, 2014 10:50:55 AM UTC+8, Chih-Wei Huang wrote:
Your cpu is too old to be supported.
There may be some workarounds that
need to adjust the compiler flags.
Search the forum for it.

Chih-Wei Huang

unread,
Sep 19, 2014, 2:38:19 AM9/19/14
to Android-x86
The problem is not kernel config but compiler flags.
The default flags will generate instructions that
your cpu can't run.
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-x86...@googlegroups.com.
> To post to this group, send email to andro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-x86.
> For more options, visit https://groups.google.com/d/optout.



Longfei Wang

unread,
Sep 19, 2014, 5:37:05 AM9/19/14
to andro...@googlegroups.com
Thank you very much.

 I think I have to give up. I only have little experience on kernel compiling, and totally have no knowledge on android build tools.

How is the project on Nvidia graphic card driver? May I release the ISO I compiled for those Nvidia users who want taste test drivers? Its all your efforts and if you say no, I will definitely not release it.

Chih-Wei Huang

unread,
Sep 19, 2014, 8:10:20 AM9/19/14
to Android-x86
2014-09-19 17:37 GMT+08:00 Longfei Wang <felo...@gmail.com>:
> Thank you very much.
>
> I think I have to give up. I only have little experience on kernel
> compiling, and totally have no knowledge on android build tools.
> How is the project on Nvidia graphic card driver?

People are working on it.
You may also find some testing isos
released in the forum.

> May I release the ISO I
> compiled for those Nvidia users who want taste test drivers? Its all your
> efforts and if you say no, I will definitely not release it.

Of course you can share it.
I'm also curious how you made it.

Longfei Wang

unread,
Sep 19, 2014, 9:02:54 AM9/19/14
to andro...@googlegroups.com
Well, I just use the default configurations... thanks for your good documenting...

It is ok to release it to normal user? Perhaps it is very less value here, I want to release to at Baidu Tieba (百度贴吧), a Chinese forum...There are many Chinese people who can't wait to use the version with Nvidia card support.

Mauro Rossi

unread,
Sep 19, 2014, 1:39:14 PM9/19/14
to andro...@googlegroups.com
Hi Longfei,

if you build with Android-x86 source default config, Nvidia card will work, but in VESA mode not with OpenGL ES acceleration provided by mesa (Gallium Nouveau driver).

If you look in the "Nouveau *experiments*" thread you can find an ISO created with mesa 10.1.5 patched by pstglia (experimental but relatively stable for some tests) and newer mesa 10.4.0devel (very experimental - frequently freezing with some OpenGL apps). The aforementioned ISOs are based on stock kernel 3.10.

In the next days we may be able to post also some versions with kernel 3.16.1 and latest mesa snapshot ("very experimental to the power of 2" with some hacks here and there for compiling).

If there are people having Kepler NVEx chipsets or Maxwell NV11x chipsets, it would be interesting to have some feedback about the status on newer chipsets (we were able to test only on NV40, NV50, NVC0 families until now).

Normal users have to be informed that Gallium Nouveau enabled builds are all experimental and for test purposes, not yet for daily use and may produce freezes and/or unpredictable behaviours.

Regarding Nvidia card support, we can't wait too...keep in touch for news.

M.

Longfei Wang

unread,
Sep 20, 2014, 10:52:49 AM9/20/14
to andro...@googlegroups.com

Dear Chih-Wei,

I have two bug (may be not bug) reports and one question this time:

1. Nvidia driver: My desktop pc using old GeForce 9500 GT, I tried to boot it using the ISO file I compiled. It shows numbers on the screen and won't stop, like the photo:

2. ntfs-3g still doesn't work, it gives information: getmntent(FILE*)(3) is not implemented on Android. However, fuse is a good replacement.

3. Does xposed is embedded in this version?


Good wishes.

Longfei Wang

unread,
Sep 21, 2014, 8:47:31 AM9/21/14
to andro...@googlegroups.com

I change a line in build/core/combo/TARGET_linux-x86.mk to:
TARGET_GLOBAL_CFLAGS += -mstackrealign -mfpmath=sse -mtune=pentium3m -mno-sse3 -mno-sse2 -mmmx -msse

Then I encounter following error:
target  C: libwebrtc_aec <= external/webrtc/src/modules/audio_processing/aec/aec_core_sse2.c
target  C: libwebrtc_aec <= external/webrtc/src/modules/audio_processing/aec/aec_rdft_sse2.c
In file included from external/webrtc/src/modules/audio_processing/aec/aec_core_sse2.c:18:0:
/home/node1/Soft/pad/work/android-x86/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.7/bin/../lib/gcc/i686-linux-android/4.7/include/emmintrin.h:32:3: error: #error "SSE2 instruction set not enabled"
target  C: libwebrtc_aecm <= external/webrtc/src/modules/audio_processing/aecm/echo_control_mobile.c
In file included from external/webrtc/src/modules/audio_processing/aec/aec_rdft_sse2.c:14:0:
/home/node1/Soft/pad/work/android-x86/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.7/bin/../lib/gcc/i686-linux-android/4.7/include/emmintrin.h:32:3: error: #error "SSE2 instruction set not enabled"
external/webrtc/src/modules/audio_processing/aec/aec_rdft_sse2.c: In function 'cft1st_128_SSE2':
external/webrtc/src/modules/audio_processing/aec/aec_rdft_sse2.c:22:3: error: unknown type name '__m128'


I disabled SSE2 as it was not supported by Pentium-III M, but it was required by libwebrtc. What's next step?
Reply all
Reply to author
Forward
0 new messages