Skip to contentSkip to conversation

Filesystem problem

Buildroot mojtaba 2 participants 3 messages Jan 2, 2008 – Jan 4, 2008

lore
Share & tools
lore

mojtaba

author
#0 lore raw

Dear all,

I am trying to boot a root file system build by buildroot. But I got this error" init has generated signal 11 but has no handler for it".

My kernel version is 2.6.24-rc3
My target system is PPC 405 (XILINX VIRTEX II pro) I am using the 26-12 snapshot of buildroot

This is what I get on terminal:

loaded at:     00400000 004CE1A0                                
board data at: 004CC120 004CC19C                                
relocated to:  0040405C 004040D8                                
zimage at:     00404E94 004CB08A                                
avail ram:     004CF000 10000000                                

Linux/PPC load: console=ttyS0,9600 root=/dev/xsa2 init=/bin/sh

Uncompressing Linux...done.
Now booting the kernel
Linux version 2.6.24-rc3 (mojtaba at ubuntu2) (gcc version 4.2.2) #1 Wed Jan 2 14:3

7:58 CET 2008
Xilinx ML300 Reference System (Virtex-II Pro)

Zone PFN ranges:
DMA 0 -> 65536
Normal 65536 -> 65536
HighMem 655
Movable zone start PFN for each node
early_node_map[1] active PFN ranges

    0:        0 ->    65536                           

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024

Kernel command line: console=ttyS0,9600 root=/dev/xsa2 init=/bin/sh

Xilinx INTC #0 at 0x41200000 mapped to 0xEF5FE000

PID hash table entries: 1024 (order: 10, 4096 bytes)

Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

Memory: 258048k available (1288k kernel code, 436k data, 76k init, 0k highmem)

Mount-cache hash table entries: 512
net_namespace: 64 bytes
NET: Registered protocol family 16
sysctl table check failed: /kernel/l2cr .1.31 Missing strategy

Call Trace:           
[cfc1fe20] [c0008148] show_stack+0x58/0x188 (unreliable)

[cfc1fe68] [c0038908] set_fail+0x50/0x68

[cfc1fe80] [c0038f7c] sysctl_check_table+0x65c/0x6ac

[cfc1fee8] [c0038f8c] sysctl_check_table+0x66c/0x6ac

[cfc1ff50] [c0026c58] register_sysctl_table+0x64/0xb4

[cfc1ff68] [c019ed4c] register_ppc_htab_sysctl+0x18/0x2c [cfc1ff70] [c019b228] kernel_init+0x104/0x290
[cfc1fff0] [c0004af8] kernel_thread+0x44/0x60
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x40401003 (irq = 2) is a 16550A console [ttyS0] enabled
xsysace xsysace.0: Xilinx SystemACE revision 1.0.12
xsysace xsysace.0: capacity: 1981728 sectors
xsa: xsa1 xsa2 xsa3
Xilinx SystemACE device driver, major=254
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 76k init
Warning: unable to open an initial console.
init has generated signal 11 but has no handler for it

Kernel panic - not syncing: Attempted to kill init!

Rebooting in 180 seconds..

Regards,
Mojtaba

#1 lore raw
Quoted 9 lines · mojtaba

Dear all,

I am trying to boot a root file system build by buildroot. But I got this error" init has generated signal 11 but has no handler for it".

My kernel version is 2.6.24-rc3
My target system is PPC 405 (XILINX VIRTEX II pro) I am using the 26-12 snapshot of buildroot

<snip>

Quoted 5 lines

mice: PS/2 mouse device common for all mice
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 76k init
Warning: unable to open an initial console.

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You probably don't have /dev/console in your root filesystem.

g.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
author
#2 lore raw

Hi,
Thank you for your helps.

Today I tried to make the file system again using buildroot. This time I included busybox to the packages for target system (Before that, I did not include the busybox). Surprisingly the system boot correctly.

But, I do not want to use busybox. I already compiled coreutils and I want to put them on my target system. After building the root file system I tried to replace those symbolic links to busybox(such as ls, cp, ...) with the real commands from coreutils but I got this error.

Freeing unused kernel memory: 76k init
missing file opeKernel panic - not syncing: Attempted to kill init! rand
Try `/bin/Rebooting in 180 seconds..sh --help' for more information.

So, how can I use coreutils instead of busybox?

Regards,
Mojtaba

-----Original Message-----
From: [email protected] [mailto:glikely at secretlab.ca] On Behalf Of Grant Likely
Sent: Wednesday, January 02, 2008 7:55 PM
To: mojtaba
Cc: buildroot at uclibc.org
Subject: Re: [Buildroot] Filesystem problem

Quoted 9 lines · mojtaba

Dear all,

I am trying to boot a root file system build by buildroot. But I got this error" init has generated signal 11 but has no handler for it".

My kernel version is 2.6.24-rc3
My target system is PPC 405 (XILINX VIRTEX II pro) I am using the 26-12 snapshot of buildroot

<snip>

Quoted 5 lines

mice: PS/2 mouse device common for all mice
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 76k init
Warning: unable to open an initial console.

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You probably don't have /dev/console in your root filesystem.

g.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195