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

UML startup problems



(as the uml is in testing, this seemed a good list)

I am running the testing distribution, and have been having problems
trying to get UML working. 
When I run the images on a RH machine as host, they work fine. On
Debian, I get the following problems:

 - Debian image, always says that the flesystem has problems and needs
fixing (even when copied from a vigin, working image).

 - RH image, complains about INIT respawning too fast and locks up. A
subsequent kill/restart results in irrecoverably corrupted image.

 All this is using a stock host 2.4.18-bf24 kernel, and the latest
testing UML packages.

Error messages follow:

--- Debian UML -----------

jaques:/opt/uml# ./uml.sh
Checking for the skas3 patch in the host...not found
Checking for /proc/mm...not found
tracing thread pid = 14188
Linux version 2.4.20-6um (mdz@mizar) (gcc version 2.95.4 20011002
(Debian prerelease)) #1 SMP Fri Jun 6 10:15:19 EDT 2003
On node 0 totalpages: 12288
zone(0): 12288 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: mem=48M ubd0=root.COW,/opt/uml/Debian-3.0r0.ext2
eth0=tuntap,,,192.168.0.254 con=pty con0=fd:0,fd:1 root=/dev/ubd0
Calibrating delay loop... 1145.88 BogoMIPS
Memory: 45192k available
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Checking for host processor cmov support...Yes
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
Checking that host ptys support SIGIO on close...No, enabling workaround
POSIX conformance testing by UNIFIX
All CPUs are go!
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
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.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Initializing software serial port version 1
mconsole (version 2) initialized on /root/.uml/18FzmZ/mconsole
0<6>Partition check:
 ubda: unknown partition table
Initializing stdio console driver
Netdevice 0 : TUN/TAP backend - IP = 192.168.0.254
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
00VFS: Mounted root (ext2 filesystem) readonly.
INIT: version 2.84 booting
Activating swap.
Checking root file system...
fsck 1.27 (8-Mar-2002)
fsck.ext2: No such file or directory while trying to open /dev/ubd/0
/dev/ubd/0:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate
superblock:
    e2fsck -b 8193 <device>


fsck failed.  Please repair manually and reboot.  Please note
that the root file system is currently mounted read-only.  To
remount it read-write:

   # mount -n -o remount,rw /

CONTROL-D will exit from this shell and REBOOT the system.

(none):~#

---------------------

--------- Red Hat UML ----------------
millis@jaques:/opt/uml$ ./uml-rh.sh
Checking for the skas3 patch in the host...not found
Checking for /proc/mm...not found
tracing thread pid = 11402
Linux version 2.4.20-6um (mdz@mizar) (gcc version 2.95.4 20011002
(Debian prerelease)) #1 SMP Fri Jun 6 10:15:19 EDT 2003
On node 0 totalpages: 12288
zone(0): 12288 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: mem=48M
ubd0=root-rh.COW,/opt/uml/root_fs.rh-7.2-server.pristine.20020312
eth0=tuntap,,,192.168.0.254 con=pty con0=fd:0,fd:1 root=/dev/ubd0
Calibrating delay loop... 1151.70 BogoMIPS
Memory: 45192k available
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Checking for host processor cmov support...Yes
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
Checking that host ptys support SIGIO on close...No, enabling workaround
POSIX conformance testing by UNIFIX
All CPUs are go!
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
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.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Initializing software serial port version 1
mconsole (version 2) initialized on /home/millis/.uml/38vKqh/mconsole
Creating "root-rh.COW" as COW file for
"/opt/uml/root_fs.rh-7.2-server.pristine.20020312"
Partition check:
 ubda: unknown partition table
Initializing stdio console driver
Netdevice 0 : TUN/TAP backend - IP = 192.168.0.254
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
00VFS: Mounted root (ext2 filesystem) readonly.
INIT: version 2.78 booting
                        Welcome to Red Hat Linux
                Press 'I' to enter interactive startup.
Mounting proc filesystem:  [  OK  ]
Configuring kernel parameters:  [  OK  ]
Setting clock : Mon Jul 28 19:08:20 EDT 2003 [  OK  ]
Activating swap partitions:  swapon: /dev/ubd/1: No such device
[FAILED]
Setting hostname redhat72.goober.org:  [  OK  ]
modprobe: Can't open dependencies file
/lib/modules/2.4.20-6um/modules.dep (No such file or directory)
Checking root filesystem
/dev/ubd/0: clean, 38739/64768 files, 211858/259072 blocks
[/sbin/fsck.ext2 (1) -- /] fsck.ext2 -a /dev/ubd/0
[  OK  ]
Remounting root filesystem in read-write mode:  [  OK  ]
Finding module dependencies:  [  OK  ]
Checking filesystems
Checking all file systems.
[  OK  ]
Mounting local filesystems:  [  OK  ]
Enabling local filesystem quotas:  [  OK  ]
swapon: /dev/ubd/1: No such device
                                  Enabling swap space:  [  OK  ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Setting network parameters:  [  OK  ]
Bringing up interface lo:  [  OK  ]
Bringing up interface eth0:  SIOCSIFFLAGS: Permission denied
Failed to bring up eth0.
[FAILED]
SIOCADDRT: No such device
SIOCADDRT: Network is unreachable
Starting system logger: [FAILED]
Starting kernel logger: [  OK  ]
Starting portmapper: [  OK  ]
Initializing random number generator:  [  OK  ]
Mounting other filesystems:  [  OK  ]
Starting identd: [  OK  ]
Starting snmpd: [  OK  ]
Starting named: [  OK  ]
Starting sshd:  [  OK  ]
Starting xinetd: [  OK  ]
Starting sendmail: [  OK  ]
Starting httpd: [  OK  ]
Starting crond: [  OK  ]
Starting squid:  [  OK  ]
Starting SMB services: [  OK  ]
Starting NMB services: [  OK  ]
Please run makehistory and/or makedbz before starting innd.
Running Linuxconf hooks:  [  OK  ]
INIT: Id "0" respawning too fast: disabled for 5 minutes
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "c" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel

--------------------------------


-- 
Millis Miller <millis@faztek.org>
GnuPG Key ID: 0x7C42934F
Website: http://www.faztek.org

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: