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