LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 07-30-2012, 08:13 AM   #1
larry7
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Rep: Reputation: 0
help with kernel panic in qemu (arm)


hi,

So i have been cross compiling a Linux kernel with a busy box file system and testing it with qemu. i am also building my own gcc cross compiler. here are the tools and Linux kernel used:

gmp-5.0.1.tar.bz2
binutils-2.21.1.tar.bz2
linux-3.0.36.tar.bz2
uClibc-0.9.31.tar.bz2
busybox-1.20.2.tar.bz2
gcc-4.7.0.tar.bz2
mpc-0.9.tar.gz
mpfr-3.0.0.tar.bz2

the target arm is a cortex a9 so the Linux kernel was configured with the vexpress_defconfig. busybox was configured with just defconfig and as a static binary. when qemu boots with this

qemu-system-arm -m 1024 -M vexpress-a9 -serial stdio -kernel zImage -initrd rootfs.img.gz -append "root=/dev/ram console=ttyAMA0 rdinit=/sbin/init user_debug=31"

this is what i get back where the panic occurred

Freeing init memory: 164K
pgd = bf8c0000
[00116004] *pgd=9f3da831, *pte=00000000, *ppte=00000000

Pid: 1, comm: init
CPU: 0 Not tainted (3.0.36 #13)
PC is at 0xd8c50
LR is at 0xd8bb0
pc : [<000d8c50>] lr : [<000d8bb0>] psr: 60000010
sp : 7eb68d08 ip : 00117000 fp : fffff000
r10: 00001000 r9 : 00116000 r8 : 0011493c
r7 : 00000000 r6 : 00001000 r5 : 00000018 r4 : 00114908
r3 : 00116000 r2 : 00001000 r1 : 00117000 r0 : 00000001
Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
Control: 10c53c7d Table: 9f8c006a DAC: 00000015
input: AT Raw Set 2 keyboard as /devices/mb:kmi0/serio0/input/input0
Kernel panic - not syncing: Attempted to kill init!
[<8003d55c>] (unwind_backtrace+0x0/0xf from [<80345ea4>] (panic+0x5c/0x17
[<80345ea4>] (panic+0x5c/0x17 from [<80055628>] (do_exit+0x658/0x70c)
[<80055628>] (do_exit+0x658/0x70c) from [<8005595c>] (do_group_exit+0x3c/0xcc)
[<8005595c>] (do_group_exit+0x3c/0xcc) from [<800607e8>] (get_signal_to_deliver+0x160/0x40c)
[<800607e8>] (get_signal_to_deliver+0x160/0x40c) from [<80039b1c>] (do_signal+0x64/0x534)
[<80039b1c>] (do_signal+0x64/0x534) from [<8003a588>] (do_notify_resume+0x38/0x44)
[<8003a588>] (do_notify_resume+0x38/0x44) from [<80036fd8>] (work_pending+0x24/0x2


I have have been trying to find some solution to this, but to no avail. any ideas are welcome.

thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] running c code in ARM QEMU rupeshkp728 Linux - General 9 06-14-2012 01:35 PM
Error "Kernel image must be specified" (qemu-system-arm) ottavio Linux - Virtualization and Cloud 0 08-18-2011 01:40 PM
[SOLVED] arm linux kernel booting problems with qemu vinodk_gautam Linux - Mobile 1 04-21-2011 12:16 AM
Kernel panic - not syncing: Attempted to kill init! (Embedded ARM Board) ksudeadeye Linux - Embedded & Single-board computer 3 12-12-2008 04:20 PM
Kernel panic - not syncing: Attempted to kill init! (Embedded ARM Board) ksudeadeye Linux From Scratch 1 12-12-2008 02:22 AM


All times are GMT -5. The time now is 11:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration