* Kernel panic: Attempted to kill init!
@ 2001-12-21 13:08 srinivas pulipati
2001-12-26 19:39 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: srinivas pulipati @ 2001-12-21 13:08 UTC (permalink / raw)
To: Embedded Linux PPC List
hi all,
i am trying to boot the mpc860 board with ramdisk support.
i downloaded pre built ramdisk.image.gz from
ftp://ftp.denx.de/pub/LinuxPPC/usr/src/simple-ramdisk.image.gz
i put a printk in fs/opennamei () function
i end up with the following output.
is it crashing because of library missing or something else?
thanks in advance - srinivas
loaded at: 00200000 0020B598
relocated to: 00180000 0018B598
board data at: 001801D8 0018020C
relocated to: 001F0100 001F0134
zimage at: 00208000 00249B2F
initrd at: 00249B2F 002D5831
avail ram: 002D6000 00800000
Linux/PPC load: console=ttyS0,38400 root=/dev/ram
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.4.9 (pulipati@pulipati) (gcc version 2.95.2 19991024
(release)) #2 Fri Dec 21 18:19:15 IST 2001
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,38400 root=/dev/ram
Decrementer Frequency = 150000000/60
Calibrating delay loop... 39.73 BogoMIPS
Memory: 6688k available (520k kernel code, 216k data, 32k init, 0k
highmem)
Dentry-cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode-cache hash table entries: 512 (order: 0, 4096 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
Serial driver version 5.05c (2001-07-08) with no serial options enabled
block: 64 slots per queue, batch=8
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 559k freed
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 32k init
open_namei(): trying to open /dev/console
open_namei(): trying to open /etc/ld.so.preload
open_namei(): trying to open /etc/ld.so.cache
open_namei(): trying to open /lib/libtermcap.so.2
open_namei(): trying to open /lib/libc.so.6
open_namei(): trying to open /etc/nsswitch.conf
open_namei(): trying to open /lib/libnss_compat.so.1
open_namei(): trying to open /usr/lib/libnss_compat.so.1
open_namei(): trying to open /lib/libnss_files.so.1
open_namei(): trying to open /usr/lib/libnss_files.so.1
Kernel panic: Attempted to kill init!
Rebooting in 60 seconds..
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel panic: Attempted to kill init!
2001-12-21 13:08 Kernel panic: Attempted to kill init! srinivas pulipati
@ 2001-12-26 19:39 ` Wolfgang Denk
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2001-12-26 19:39 UTC (permalink / raw)
To: srinivas pulipati; +Cc: Embedded Linux PPC List
In message <3C23345C.1274D300@multitech.co.in> you wrote:
>
> i downloaded pre built ramdisk.image.gz from
> ftp://ftp.denx.de/pub/LinuxPPC/usr/src/simple-ramdisk.image.gz
>
> i put a printk in fs/opennamei () function
> i end up with the following output.
>
> is it crashing because of library missing or something else?
Yes ;-)
Well, I think I should be a bit more helpful: something else is missing.
...
> Kernel panic: Attempted to kill init!
If you check the contents of tha ramdisk image (simply uncompress it
and mount it using the loopback device) you will see that there is no
"init" included.
Try passing a "init=/bin/sh" argument on the kernel commandline.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
The speed of time is one second per second.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Kernel panic: Attempted to kill init!
@ 2005-03-23 20:37 jagadeesh reddy
0 siblings, 0 replies; 3+ messages in thread
From: jagadeesh reddy @ 2005-03-23 20:37 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]
Hi Linuxppc-embedded ,
Iam trying to run powerpc linux on xilinx ML310 FPGA board, everything is fine..am using montavista preview kit and recently I have added gigabyte ethernet driver(XGemac) to the kernel and when I try to run new image on target I get following error. My experience is not sufficient enough to predict why such error is happened.
XGemac: Device instance 0 found
Instruction machine check in kernel mode.
Oops: machine check, sig: 7
NIP: C00D0D58 XER: 20000000 LR: C00D0D4C SP: C0335F20 REGS: c0335e70
TRAP: 0200 Not tainted
MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0334000[1] 'swapper' Last syscall: 120
last math 00000000 last altivec 00000000
GPR00: 0000000A C0335F20 C0334000 00000006 00000170 C9011100 C08E0B0C
C9011000
GPR08: 11111111 C900F000 00000000 00000006 44000042 00000000 00000000 00000000
GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
GPR24: 00000000 00000000 00000000 C01636E4 C08E0960 00000000 C0180000 C08E0A08
Call backtrace:
C00D0D4C C00D0960 C0175904 C0175C84 C016C634 C000244C C0006C9C
Kernel panic: Attempted to kill init!
<0>Rebooting in 180 seconds..
what does " Oops: machine check, sig: 7 " mean .does any one worked with xilinx gigabyte ethernet. thanks a lot......
jaggu
---------------------------------
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
[-- Attachment #2: Type: text/html, Size: 1629 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-23 20:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-21 13:08 Kernel panic: Attempted to kill init! srinivas pulipati
2001-12-26 19:39 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2005-03-23 20:37 jagadeesh reddy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).