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

Re: [Xen-users] Setting up FSTAB



Jorge,

I have listed below the messages from the command prompt that are displayed.
The messgaes from the xend.log file are also included. I was thinking that
my problem is because the install did not work correctly. I used the FC4
script to install. I got a lot of server time out problems when it was
retrieving the code from the servers.

0------Console messages
XT2-fs warning (device sda1): ext2_fill_super: mounting ext3 filesystem as
ext2

EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 188k freed

***************************************************************
***************************************************************
** WARNING: Currently emulating unsupported memory accesses  **
**          in /lib/tls glibc libraries. The emulation is    **
**          slow. To ensure full performance you should      **
**          install a 'xen-friendly' (nosegneg) version of   **
**          the library, or disable tls support by executing **
**          the following as root:                           **
**          mv /lib/tls /lib/tls.disabled                    **
** Offending process: init (pid=1)                           **
***************************************************************
***************************************************************

Continuing...

unix: no version for "struct_module" found: kernel tainted.
NET: Registered protocol family 1
Enforcing mode requested but no policy loaded. Halting now.
Kernel panic - not syncing: Attempted to kill init!
[root@localhost log]#


-----------------xend.log Messages ------------------------
[2006-01-28 20:27:50 xend] DEBUG (image:170) dom            = 23
[2006-01-28 20:27:50 xend] DEBUG (image:171) image          =
/boot/vmlinuz-2.6-xen
[2006-01-28 20:27:50 xend] DEBUG (image:172) store_evtchn   = 1
[2006-01-28 20:27:50 xend] DEBUG (image:173) console_evtchn = 2
[2006-01-28 20:27:50 xend] DEBUG (image:174) cmdline        = 
ip=:1.2.3.4::::eth0:dhcp root=/dev/sda1 4
[2006-01-28 20:27:50 xend] DEBUG (image:175) ramdisk        =
[2006-01-28 20:27:50 xend] DEBUG (image:176) vcpus          = 1
[2006-01-28 20:27:50 xend] DEBUG (DevController:104) DevController: writing
{'backend-id': '0', 'mac': '         00:16:3e:1b:0f:a9', 'handle': '0',
'state': '1', 'backend': '/local/domain/0/backend/vif/23/0'} to /loca       
 l/domain/23/device/vif/0.
[2006-01-28 20:27:50 xend] DEBUG (DevController:106) DevController: writing
{'mac': '00:16:3e:1b:0f:a9',          'state': '1', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'frontend-id': '23', 'domain': 'T        
heArtOfXen2', 'frontend': '/local/domain/23/device/vif/0'} to
/local/domain/0/backend/vif/23/0.
[2006-01-28 20:27:51 xend] DEBUG (DevController:104) DevController: writing
{'virtual-device': '2049', '         backend-id': '0', 'state': '1',
'backend': '/local/domain/0/backend/vbd/23/2049'} to /local/domain/23/de    
    vice/vbd/2049.
[2006-01-28 20:27:51 xend] DEBUG (DevController:106) DevController: writing
{'domain': 'TheArtOfXen2', '         frontend':
'/local/domain/23/device/vbd/2049', 'dev': 'sda1', 'state': '1', 'params':
'/domains/vm1disk'         , 'mode': 'w', 'frontend-id': '23', 'type':
'file'} to /local/domain/0/backend/vbd/23/2049.
[2006-01-28 20:27:51 xend.XendDomainInfo] DEBUG (XendDomainInfo:661) Storing
VM details: {'ssidref': '0'         , 'uuid':
'2bc67b9a-f561a8df-ca6ef7ab-48973b90', 'on_reboot': 'restart', 'start_time':
'1138498071.2', '         on_poweroff': 'destroy', 'name': 'TheArtOfXen2',
'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_c         rash':
'restart', 'image': '(linux (kernel /boot/vmlinuz-2.6-xen) (ip
:1.2.3.4::::eth0:dhcp) (root /dev/         sda1) (args 4) (vcpus 1) (vcpus
1) (boot c) (display :0.0) (nics 1))', 'maxmem': '256'}
[2006-01-28 20:27:51 xend.XendDomainInfo] DEBUG (XendDomainInfo:686) Storing
domain details: {'console/r         ing-ref': '103296', 'console/port': '2',
'name': 'TheArtOfXen2', 'console/limit': '1048576', 'vm': '/vm/        
2bc67b9a-f561a8df-ca6ef7ab-48973b90', 'domid': '23', 'cpu/0/availability':
'online', 'memory/target': '2         62144', 'store/ring-ref': '103297',
'store/port': '1'}
[2006-01-28 20:28:04 xend.XendDomainInfo] WARNING (XendDomainInfo:799)
Domain has crashed: name=TheArtOf         Xen2 id=23.
[2006-01-28 20:28:04 xend.XendDomainInfo] ERROR (XendDomainInfo:1411) VM
TheArtOfXen2 restarting too fas         t (14.117597 seconds since the last
restart).  Refusing to restart to avoid loops.
[2006-01-28 20:28:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:1271)
XendDomainInfo.destroy: domid=23
[2006-01-28 20:28:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:1279)
XendDomainInfo.destroyDomain(23)


--------- Original Message --------
From: Jorge Dávila <davila@xxxxxxxxxxxxxxxxxxxxxxx>
To: Randolph D. Hill <rdh@xxxxxxxxxxxxxxxx>
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Setting up FSTAB
Date: 29/01/06 01:17

>
> Randolph:
>
> SELinux is enabled?
>
> Can you put all error messages?
>
> Jorge Dávila.
>
>
> El sáb, 28-01-2006 a las 19:06 +0000, Randolph D. Hill escribió:
> &gt; Jorge,
> &gt; thanks for the response. I was able to fix the problem and move abit
futhre
> &gt; down the road. Now I have the this error
> &gt;
> &gt; unix: no version for &quot;struct_module&quot; found: kernel tainted.
> &gt; NET: Registered protocol family 1
> &gt; Enforcing mode requested but no policy loaded. Halting now.
> &gt; Kernel panic - not syncing: Attempted to kill init!
> &gt;
> &gt; -
> &gt; -------- Original Message --------
> &gt; From: Jorge Dávila &lt;davila@xxxxxxxxxxxxxxxxxxxxxxx&gt;
> &gt; To: Xen Users &lt;xen-users@xxxxxxxxxxxxxxxxxxx&gt;, Randolph D. Hill
> &gt; &lt;rdh@xxxxxxxxxxxxxxxx&gt;
> &gt; Subject: Re: [Xen-users] Setting up FSTAB
> &gt; Date: 29/01/06 00:47
> &gt;
> &gt; &gt;
> &gt; &gt; Randolph:
> &gt; &gt;
> &gt; &gt; What is your domain configuration about disk in the domain
configuration
> &gt; &gt; file?
> &gt; &gt;
> &gt; &gt; What are your partitions?
> &gt; &gt;
> &gt; &gt; Where is your boot partition?
> &gt; &gt;
> &gt; &gt; What is in your /boot/grub/grub.conf file?
> &gt; &gt;
> &gt; &gt; Ah!.. remove the string &amp;quot;LABEL=&amp;quot; from your
/etc/fstab file.
> &gt; &gt;
> &gt; &gt; Jorge Dávila.
> &gt; &gt;
> &gt; &gt; El sáb, 28-01-2006 a las 16:15 +0000, Randolph D. Hill escribió:
> &gt; &gt; &amp;gt; I am setting up Xen for the first time and have run
into a problem.
> &gt; &gt; &amp;gt; My system was initially setup with Fedora Core 4.
> &gt; &gt; &amp;gt; I was able to successfully create a File-backed VBD.
> &gt; &gt; &amp;gt; When I boot the domain,I get an error message that is
listed at the
> &gt; end of
> &gt; &gt; &amp;gt; the below boot messages. I suspect the problem is
casued by my fstab.
> &gt; &gt; &amp;gt; However,
> &gt; &gt; &amp;gt; I am not sure how it should be configured. Fstab listed
also.
> &gt; &gt; &amp;gt; Any pointers will be greately appreciated.
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt; xm create -c dommain2 vmid=2
> &gt; &gt; &amp;gt; Using config file
&amp;quot;/etc/xen/dommain2&amp;quot;.
> &gt; &gt; &amp;gt; Started domain TheArtOfXen2
> &gt; &gt; &amp;gt; Linux version 2.6.12.6-xen3_7.1_fc4 (rread@shandlx)
(gcc version
> &gt; 4.0.1
> &gt; &gt; &amp;gt; 20050727 (Red Hat 4.0.1-5)) #1 SMP Tue Dec 13 16:33:43
PST 2005
> &gt; &gt; &amp;gt; BIOS-provided physical RAM map:
> &gt; &gt; &amp;gt; Xen: 0000000000000000 - 0000000004000000 (usable)
> &gt; &gt; &amp;gt; 0MB HIGHMEM available.
> &gt; &gt; &amp;gt; 72MB LOWMEM available.
> &gt; &gt; &amp;gt; ACPI in unprivileged domain disabled
> &gt; &gt; &amp;gt; IRQ lockup detection disabled
> &gt; &gt; &amp;gt; Built 1 zonelists
> &gt; &gt; &amp;gt; Kernel command line:  ip=:1.2.3.4::::eth0:dhcp
root=/dev/hda1 ro 4
> &gt; &gt; &amp;gt; Initializing CPU#0
> &gt; &gt; &amp;gt; PID hash table entries: 512 (order: 9, 8192 bytes)
> &gt; &gt; &amp;gt; Xen reported: 993.322 MHz processor.
> &gt; &gt; &amp;gt; Dentry cache hash table entries: 16384 (order: 4, 65536
bytes)
> &gt; &gt; &amp;gt; Inode-cache hash table entries: 8192 (order: 3, 32768
bytes)
> &gt; &gt; &amp;gt; Software IO TLB disabled
> &gt; &gt; &amp;gt; vmalloc area: c5000000-fb7fe000, maxmem 34000000
> &gt; &gt; &amp;gt; Memory: 60684k/73728k available (2214k kernel code,
4708k reserved,
> &gt; 885k
> &gt; &gt; &amp;gt; data, 188k init, 0k highmem)
> &gt; &gt; &amp;gt; Checking if this processor honours the WP bit even in
supervisor
> &gt; mode... Ok.
> &gt; &gt; &amp;gt; Security Framework v1.0.0 initialized
> &gt; &gt; &amp;gt; SELinux:  Disabled at boot.
> &gt; &gt; &amp;gt; Capability LSM initialized
> &gt; &gt; &amp;gt; Mount-cache hash table entries: 512
> &gt; &gt; &amp;gt; CPU: L1 I cache: 16K, L1 D cache: 16K
> &gt; &gt; &amp;gt; CPU: L2 cache: 256K
> &gt; &gt; &amp;gt; Enabling fast FPU save and restore... done.
> &gt; &gt; &amp;gt; Enabling unmasked SIMD FPU exception support... done.
> &gt; &gt; &amp;gt; Checking 'hlt' instruction... disabled
> &gt; &gt; &amp;gt; Brought up 1 CPUs
> &gt; &gt; &amp;gt; NET: Registered protocol family 16
> &gt; &gt; &amp;gt; Brought up 1 CPUs
> &gt; &gt; &amp;gt; ACPI: Subsystem revision 20050309
> &gt; &gt; &amp;gt; ACPI: Interpreter disabled.
> &gt; &gt; &amp;gt; Linux Plug and Play Support v0.97 (c) Adam Belay
> &gt; &gt; &amp;gt; xen_mem: Initialising balloon driver.
> &gt; &gt; &amp;gt; usbcore: registered new driver usbfs
> &gt; &gt; &amp;gt; usbcore: registered new driver hub
> &gt; &gt; &amp;gt; PCI: Using ACPI for IRQ routing
> &gt; &gt; &amp;gt; PCI: If a device doesn't work, try
&amp;quot;pci=routeirq&amp;quot;.  If it
> &gt; helps, post a
> &gt; &gt; &amp;gt; report
> &gt; &gt; &amp;gt; PCI: System does not support PCI
> &gt; &gt; &amp;gt; PCI: System does not support PCI
> &gt; &gt; &amp;gt; Grant table initialized
> &gt; &gt; &amp;gt; IA-32 Microcode Update Driver: v1.14-xen
&amp;lt;tigran@xxxxxxxxxxx&amp;gt;
> &gt; &gt; &amp;gt; VFS: Disk quotas dquot_6.5.1
> &gt; &gt; &amp;gt; Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
> &gt; &gt; &amp;gt; Initializing Cryptographic API
> &gt; &gt; &amp;gt; isapnp: Scanning for PnP cards...
> &gt; &gt; &amp;gt; isapnp: No Plug &amp;amp; Play device found
> &gt; &gt; &amp;gt; PNP: No PS/2 controller found. Probing ports directly.
> &gt; &gt; &amp;gt; i8042.c: No controller found.
> &gt; &gt; &amp;gt; io scheduler noop registered
> &gt; &gt; &amp;gt; io scheduler anticipatory registered
> &gt; &gt; &amp;gt; io scheduler deadline registered
> &gt; &gt; &amp;gt; io scheduler cfq registered
> &gt; &gt; &amp;gt; RAMDISK driver initialized: 16 RAM disks of 16384K size
1024
> &gt; blocksize
> &gt; &gt; &amp;gt; Xen virtual console successfully installed as tty1
> &gt; &gt; &amp;gt; Event-channel device installed.
> &gt; &gt; &amp;gt; netfront: Initialising virtual ethernet driver.
> &gt; &gt; &amp;gt; Uniform Multi-Platform E-IDE driver Revision:
7.00alpha2
> &gt; &gt; &amp;gt; ide: Assuming 50MHz system bus speed for PIO modes;
override with
> &gt; idebus=xx
> &gt; &gt; &amp;gt; Registering block device major 8
> &gt; &gt; &amp;gt; ide-floppy driver 0.99.newide
> &gt; &gt; &amp;gt; mice: PS/2 mouse device common for all mice
> &gt; &gt; &amp;gt; NET: Registered protocol family 2
> &gt; &gt; &amp;gt; IP: routing cache hash table of 512 buckets, 4Kbytes
> &gt; &gt; &amp;gt; TCP established hash table entries: 4096 (order: 3,
32768 bytes)
> &gt; &gt; &amp;gt; TCP bind hash table entries: 4096 (order: 3, 32768
bytes)
> &gt; &gt; &amp;gt; TCP: Hash tables configured (established 4096 bind
4096)
> &gt; &gt; &amp;gt; NET: Registered protocol family 8
> &gt; &gt; &amp;gt; NET: Registered protocol family 20
> &gt; &gt; &amp;gt; VFS: Cannot open root device &amp;quot;hda1&amp;quot;
or unknown-block(0,0)
> &gt; &gt; &amp;gt; Please append a correct &amp;quot;root=&amp;quot; boot
option
> &gt; &gt; &amp;gt; Kernel panic - not syncing: VFS: Unable to mount root
fs on
> &gt; &gt; &amp;gt; unknown-block(0,0)
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt; # This file is edited by fstab-sync - see 'man
fstab-sync' for
> &gt; details
> &gt; &gt; &amp;gt; #/dev/VolGroup00/LogVol00 /                       ext3 
  defaults
> &gt;     1
> &gt; &gt; &amp;gt; 1
> &gt; &gt; &amp;gt; /dev/VolGroup00/LogVol00/domains/vm1disk /             
         ext3
> &gt; &gt; &amp;gt; defaults        1 1
> &gt; &gt; &amp;gt; LABEL=/boot             /boot                   ext3   
defaults
> &gt;   1 2
> &gt; &gt; &amp;gt; /dev/devpts             /dev/pts                devpts
> &gt; gid=5,mode=620  0 0
> &gt; &gt; &amp;gt; /dev/shm                /dev/shm                tmpfs  
defaults
> &gt;   0 0
> &gt; &gt; &amp;gt; /dev/proc               /proc                   proc   
defaults
> &gt;   0 0
> &gt; &gt; &amp;gt; /dev/sys                /sys                    sysfs  
defaults
> &gt;   0 0
> &gt; &gt; &amp;gt; /dev/VolGroup00/LogVol01 swap                    swap  
 defaults
> &gt;    0 0
> &gt; &gt; &amp;gt; #/dev/fd0                /media/floppy           auto
> &gt; &gt; &amp;gt; pamconsole,exec,noauto,managed 0 0
> &gt; &gt; &amp;gt; #/dev/hda                /media/cdrom            auto
> &gt; &gt; &amp;gt; pamconsole,exec,noauto,managed 0 0
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt;
> &gt; &gt; &amp;gt; _______________________________________________
> &gt; &gt; &amp;gt; Xen-users mailing list
> &gt; &gt; &amp;gt; Xen-users@xxxxxxxxxxxxxxxxxxx
> &gt; &gt; &amp;gt; http://lists.xensource.com/xen-users
> &gt; &gt; --
> &gt; &gt;
-----------------------------------------------------------------
> &gt; &gt; Jorge Isaac Davila Lopez
> &gt; &gt; -
> &gt; &gt; sitio web: http://www.nicaraguaopensource.com/
> &gt; &gt; correo-e: davila@xxxxxxxxxxxxxxxxxxxxxxx
> &gt; &gt; -
> &gt; &gt; clave pgp: http://www.nicaraguaopensource.com/claves/nos.asc
> &gt; &gt; huella digital: F8F4 8563 28D2 29E1 E2EA 9EAB CA0F A96F A3EE
6F56
> &gt; &gt;
-----------------------------------------------------------------
> &gt; &gt;
> &gt; &gt;
> &gt; &gt; _______________________________________________
> &gt; &gt; Xen-users mailing list
> &gt; &gt; Xen-users@xxxxxxxxxxxxxxxxxxx
> &gt; &gt; http://lists.xensource.com/xen-users
> &gt; &gt;
> &gt; &gt;
> &gt; &gt;
> &gt; &gt;
> &gt; &gt;
> &gt;
> --
> -----------------------------------------------------------------
> Jorge Isaac Davila Lopez
> -
> sitio web: http://www.nicaraguaopensource.com/
> correo-e: davila@xxxxxxxxxxxxxxxxxxxxxxx
> -
> clave pgp: http://www.nicaraguaopensource.com/claves/nos.asc
> huella digital: F8F4 8563 28D2 29E1 E2EA 9EAB CA0F A96F A3EE 6F56
> -----------------------------------------------------------------
>
>
>
>
>
>


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.