[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Getting UML to boot



I am trying to get UML from unstable to work on my system, but the
kernel always panics during boot. I managed to get past the first panic
by setting "root=/home/seneca" or "root=/tmp", but now I get:

   Warning: unable to open an initial console
   Kernel panic: No init found.  Try passing init= option to kernel.

I have tried passing different init values to the kernel, but each time,
I get the same panic of "No init found", or the kernel freezes.

How would I determine the proper values for UML to work on my system,
without panicking during boot? Attached is the output of an attempt to
boot UML.

-- 
Seneca
seneca-cunningham@rogers.com
tracing thread pid = 18267
Linux version 2.4.18-28um (mdz@mizar) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Tue May 21 20:34:23 EDT 2002
On node 0 totalpages: 8192
zone(0): 0 pages.
zone(1): 8192 pages.
zone(2): 0 pages.
Kernel command line: ubd0=/tmp init=/tmp/bin/bash root=/dev/ubd0
Calibrating delay loop... 40.96 BogoMIPS
Memory: 32244k available
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes)
Checking for host processor cmov support...No
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
Checking that host ptys support output SIGIO...No, enabling workaround
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
block: 64 slots per queue, batch=16
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Initializing stdio console driver
Initializing software serial port version 1
mconsole (version 2) initialized on /home/seneca/.uml/Y08zJv/mconsole
unable to open /tmp for validation
cramfs: wrong magic
read_super_block: can't find a reiserfs filesystem on (dev 62:00, block 16, size 4096)
read_super_block: can't find a reiserfs filesystem on (dev 62:00, block 2, size 4096)
VFS: Mounted root (root-hostfs filesystem) readonly.
Warning: unable to open an initial console.
Kernel panic: No init found.  Try passing init= option to kernel.
 <6>SysRq : Show Regs

EIP: 0023:[<a0105e01>] CPU: 0 Not tainted ESP: 002b:a0894798 EFLAGS: 00000293
    Not tainted
EAX: 00000000 EBX: 00004762 ECX: 0000000a EDX: a0892000
ESI: 00000009 EDI: a0894000 EBP: a08947b4 DS: 002b ES: 002b
Call Trace: [<a000dd9f>] [<a00a7e84>] [<a01615bc>] [<a0161526>] [<a000ac23>] 
   [<a00a7e0d>] [<a00f6b9b>] [<a000dd9f>] [<a001af4c>] [<a00eaea7>] [<a0142fa0>] 
   [<a000dd9f>] [<a0142fa0>] [<a000d1fb>] [<a000d1e7>] [<a000d1dd>] [<a000a6e6>] 
   [<a0142fa0>] [<a000a4ff>] [<a000a4e8>] [<a00f2319>] [<a000a4e8>] [<a00f2399>] 
   [<a00f23a8>] [<a00f10e8>] [<a000a4e8>] [<a000a4e8>] [<a00f10d5>] [<a00f23f4>] 
   [<a00f789b>] [<a000a4e8>] [<a00f781c>] [<a0105d48>] [<a0105e01>] [<a018a080>] 
   [<a011b84b>] [<a011b996>] [<a011ba1d>] [<a01052c9>] [<a011b6c1>] [<a010538f>] 
   [<a0105329>] 


Reply to: