I got " Kernel panic - not syncing: No init found.  Try passing init= option
to kernel.", Where can I find information to fix it?

Host/Guest system are 2.6.13-rc6, fedora 4



[EMAIL PROTECTED] umlbuild]# gdb linux-uml-2.6.13-rc6
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) handle SIGUSR1 nostop noprint
Signal        Stop      Print   Pass to program Description
SIGUSR1       No        No      Yes             User defined signal 1
(gdb) handle SIGSEGV nostop noprint
Signal        Stop      Print   Pass to program Description
SIGSEGV       No        No      Yes             Segmentation fault
(gdb) set args ubd0=./root-fs/gentoo-fs
(gdb) r
Starting program:
/home/cliffton/strongswan-testing/umlbuild/linux-uml-2.6.13-rc6
ubd0=./root-fs/gentoo-fs
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xffffe000
Checking for /proc/mm...not found
Detaching after fork from child process 8790.
Checking for the skas3 patch in the host...not found
UML running in SKAS0 mode
Checking PROT_EXEC mmap in /tmp...OK
Detaching after fork from child process 8791.
Detaching after fork from child process 8792.
Detaching after fork from child process 8793.
Linux version 2.6.13-rc6 ([EMAIL PROTECTED]) (gcc version 4.0.0
20050519 (Red Hat 4.0.0-8)) #2 Sun Aug 28 13:57:26 PDT 2005
Built 1 zonelists
Kernel command line: ubd0=./root-fs/gentoo-fs root=98:0
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29824k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Checking for /dev/anon on the host...Not available (open failed with errno
2)
NET: Registered protocol family 16
mconsole (version 2) initialized on /root/.uml/XUvFiO/mconsole
ubd: Synchronous mode
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
ReiserFS: ubda: found reiserfs format "3.6" with standard journal
ReiserFS: ubda: using ordered data mode
ReiserFS: ubda: journal params: device ubda, size 8192, journal first block
18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: ubda: checking transaction log (ubda)
ReiserFS: ubda: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to
kernel.

EIP: 0073:[<ffffe410>] CPU: 0 Not tainted ESP: 007b:b7eaaf8c EFLAGS:
00000246
    Not tainted
EAX: 00000000 EBX: 00002256 ECX: 00000013 EDX: 00002256
ESI: 00002248 EDI: 00000011 EBP: b7eaafb8 DS: 007b ES: 007b
088b3b40:  [<0806f7bd>] show_regs+0xd1/0xd8
088b3b60:  [<0805e4bf>] panic_exit+0x27/0x48
088b3b90:  [<0808036a>] notifier_call_chain+0x1e/0x40
088b3bc0:  [<08073329>] panic+0x59/0x108
088b3bf0:  [<08057390>] init+0xe0/0x104
088b3c20:  [<0805a18f>] run_kernel_thread+0x2f/0x3c
088b3ce0:  [<08060078>] new_thread_handler+0x8c/0xbc
088b3d20:  [<ffffe420>] _etext+0xf7e59406/0x0



Program exited with code 01.
(gdb)

-----Original Message-----
From: Jeff Dike [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 28, 2005 6:46 AM
To: Clifford Ton
Cc: 'Blaisorblade'; user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] "Program received signal SIGTRAP, Trace/breakpoint
trap"

On Fri, Aug 26, 2005 at 12:35:11PM -0700, Clifford Ton wrote:
> Program received signal SIGUSR1, User defined signal 1.
> 0xffffe410 in __kernel_vsyscall ()
> (gdb) c
> Continuing.
> c
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x081c7aca in ipt_register_table (table=0x8229500, repl=0x820cc60)
>     at include/asm/arch/string.h:207
> 207     __asm__ __volatile__(

handle SIGUSR1 pass nostop noprint
handle SIGSTOP pass nostop noprint


> Failed to open 'root_fs', errno = 2
> VFS: Cannot open root device "98:0" or unknown-block(98,0)

This is self-explanatory.

                                Jeff
M


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 8/26/2005




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to