Xin Chen
2007-Mar-06 05:42 UTC
[Xen-users] install Fodera 6 on Xen - stop copying files during the installation
Hi all, I got a problem here: I installed Fodera 6 with Xen 3 as domain 0. Then I was trying to install a guest system which is also Fodera 6, I use vir-install and text installation, step by step, everything is good until ready to copy files, it stopped! I check /var/log/xen/ *.log , nothing there. did anyone have the same problem? please help. thanks in advance! xin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Xin Chen
2007-Mar-06 06:38 UTC
Re: [Xen-users] install Fodera 6 on Xen - stop copying files during the installation
the guest system I want to install is called "Stimpy", more /etc/xen/Stimpy # Automatically generated xen config file name = "Stimpy" memory = "256" disk = [ ''tap:aio:/var/lib/xen/images/imageStimpy,xvda,w'', ] vif = [ ''mac=00:16:3e:13:5c:fe, bridge=xenbr0'', ] nographic=1 uuid = "8dd3b1eb-0a62-4936-581e-23b83c975cec" bootloader="/usr/bin/pygrub" vcpus=1 on_reboot = ''restart'' on_crash = ''restart'' sorry about my English:) and many thanks! xin Anuj Bhatt wrote:> On 3/6/07, Xin Chen <xcheney@allette.com.au> wrote: > >> Hi all, >> >> I got a problem here: >> >> I installed Fodera 6 with Xen 3 as domain 0. >> >> Then I was trying to install a guest system which is also Fodera 6, I >> use vir-install and text installation, >> step by step, everything is good until ready to copy files, it stopped! > > > I got lost here. Can you post your config file here? Are you trying to > load the same FC6 kernel? (from /boot) > >> I check /var/log/xen/ *.log , nothing there. >> >> did anyone have the same problem? >> >> >> please help. >> >> thanks in advance! >> xin >> >> _______________________________________________ >> 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
Xin Chen
2007-Mar-06 06:43 UTC
Re: [Xen-users] install Fodera 6 on Xen - stop copying files during the installation
By the way, I found this in /var/log/message, does this matter? Mar 5 22:06:46 pc77 kernel: tap tap-2-51712: 2 getting info Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:9): avc: denied { search } f or pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 scontext=system_u:syste m_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:10): avc: denied { search } for pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 scontext=system_u:syst em_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:11): avc: denied { write } f or pid=2245 comm="xenconsoled" name="xen" dev=tmpfs ino=3142 scontext=system_u: system_r:xenconsoled_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=dir Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:12): avc: denied { search } for pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 scontext=system_u:syst em_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir Mar 5 22:06:46 pc77 kernel: audit(1173092806.363:13): avc: denied { search } for pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 scontext=system_u:syst em_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir thanks;0) xin Xin Chen wrote:> the guest system I want to install is called "Stimpy", > > more /etc/xen/Stimpy > # Automatically generated xen config file > name = "Stimpy" > memory = "256" > disk = [ ''tap:aio:/var/lib/xen/images/imageStimpy,xvda,w'', ] > vif = [ ''mac=00:16:3e:13:5c:fe, bridge=xenbr0'', ] > nographic=1 > uuid = "8dd3b1eb-0a62-4936-581e-23b83c975cec" > bootloader="/usr/bin/pygrub" > vcpus=1 > on_reboot = ''restart'' > on_crash = ''restart'' > > sorry about my English:) > and many thanks! > > xin > > > Anuj Bhatt wrote: > >> On 3/6/07, Xin Chen <xcheney@allette.com.au> wrote: >> >>> Hi all, >>> >>> I got a problem here: >>> >>> I installed Fodera 6 with Xen 3 as domain 0. >>> >>> Then I was trying to install a guest system which is also Fodera 6, I >>> use vir-install and text installation, >>> step by step, everything is good until ready to copy files, it stopped! >> >> >> >> I got lost here. Can you post your config file here? Are you trying to >> load the same FC6 kernel? (from /boot) >> >>> I check /var/log/xen/ *.log , nothing there. >>> >>> did anyone have the same problem? >>> >>> >>> please help. >>> >>> thanks in advance! >>> xin >>> >>> _______________________________________________ >>> 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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xin
2007-Mar-07 02:20 UTC
Re: [Xen-users] install Fodera 6 on Xen - stop copying files during the installation
anyone can help me here?? thankSSSS!!! xin wrote:> > By the way, I found this in /var/log/message, does this matter? > > Mar 5 22:06:46 pc77 kernel: tap tap-2-51712: 2 getting info > Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:9): avc: denied { > search } f > or pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 > scontext=system_u:syste > m_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir > Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:10): avc: denied { > search } > for pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 > scontext=system_u:syst > em_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir > Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:11): avc: denied { > write } f > or pid=2245 comm="xenconsoled" name="xen" dev=tmpfs ino=3142 > scontext=system_u: > system_r:xenconsoled_t:s0 tcontext=system_u:object_r:device_t:s0 > tclass=dir > Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:12): avc: denied { > search } > for pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 > scontext=system_u:syst > em_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir > Mar 5 22:06:46 pc77 kernel: audit(1173092806.363:13): avc: denied { > search } > for pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 > scontext=system_u:syst > em_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir > > > thanks;0) > > xin > > Xin Chen wrote: > >> the guest system I want to install is called "Stimpy", >> >> more /etc/xen/Stimpy >> # Automatically generated xen config file >> name = "Stimpy" >> memory = "256" >> disk = [ ''tap:aio:/var/lib/xen/images/imageStimpy,xvda,w'', ] >> vif = [ ''mac=00:16:3e:13:5c:fe, bridge=xenbr0'', ] >> nographic=1 >> uuid = "8dd3b1eb-0a62-4936-581e-23b83c975cec" >> bootloader="/usr/bin/pygrub" >> vcpus=1 >> on_reboot = ''restart'' >> on_crash = ''restart'' >> >> sorry about my English:) >> and many thanks! >> >> xin >> >> >> Anuj Bhatt wrote: >> >>> On 3/6/07, Xin Chen <xcheney@allette.com.au> wrote: >>> >>>> Hi all, >>>> >>>> I got a problem here: >>>> >>>> I installed Fodera 6 with Xen 3 as domain 0. >>>> >>>> Then I was trying to install a guest system which is also Fodera 6, I >>>> use vir-install and text installation, >>>> step by step, everything is good until ready to copy files, it stopped! >>> >>> >>> >>> I got lost here. Can you post your config file here? Are you trying to >>> load the same FC6 kernel? (from /boot) >>> >>>> I check /var/log/xen/ *.log , nothing there. >>>> >>>> did anyone have the same problem? >>>> >>>> >>>> please help. >>>> >>>> thanks in advance! >>>> xin >>>> >>>> _______________________________________________ >>>> 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 > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://www.nabble.com/install-Fodera-6-on-Xen---stop-copying-files-during-the-installation-tf3353606.html#a9345618 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jez
2007-Mar-07 03:24 UTC
Re: [Xen-users] install Fodera 6 on Xen - stop copying files during the installation
On Tue, Mar 06, 2007 at 06:20:29PM -0800, xin wrote:> > anyone can help me here?? > > thankSSSS!!! > > > xin wrote: > > > > By the way, I found this in /var/log/message, does this matter? > > > > Mar 5 22:06:46 pc77 kernel: tap tap-2-51712: 2 getting info > > Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:9): avc: denied { > > search } f > > or pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 > > scontext=system_u:syste > > m_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir > > <snip/>Hi xin, I''m not running FC6 but it looks like SELinux might be getting in your way. If FC6 is anything like FC5 you can disable it by editing /etc/selinux/config and setting "SELINUX=disabled". Then reboot. jez _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
xin
2007-Mar-08 02:03 UTC
Re: [Xen-users] install Fodera 6 on Xen - stop copying files during the installation
Hi, I changed the selinux = disable in /etc/sysconfig/selinux file and reboot system, then creat a new domain guest fc6 system again. I got the same problem, the installation stops at: ------------------------------------------------ Install Starting Starting install process. This may take several minutes... ------------------------------------------------- nothing in /var/log/message and /var/log/xend-debug, I found something in /var/log/xend as below: [2007-03-08 19:47:32 xend 2466] DEBUG (balloon:127) Balloon: 310204 KiB free; need 262144; done. [2007-03-08 19:47:32 xend 2466] INFO (image:136) buildDomain os=linux dom=1 vcpus=1 [2007-03-08 19:47:32 xend 2466] WARNING (image:520) Unable to set e820 map. Probably an old HyperVisor. (38, ''Function not implemented'') [2007-03-08 19:47:32 xend 2466] DEBUG (image:199) dom = 1 [2007-03-08 19:47:32 xend 2466] DEBUG (image:200) image /var/lib/xen/vmlinuz.FrnCDU [2007-03-08 19:47:32 xend 2466] DEBUG (image:201) store_evtchn = 1 [2007-03-08 19:47:32 xend 2466] DEBUG (image:202) console_evtchn = 2 [2007-03-08 19:47:32 xend 2466] DEBUG (image:203) cmdline = method=nfs:192.168.200.105:/mnt/cdrom [2007-03-08 19:47:32 xend 2466] DEBUG (image:204) ramdisk /var/lib/xen/initrd.img.CB99RZ [2007-03-08 19:47:32 xend 2466] DEBUG (image:205) vcpus = 1 [2007-03-08 19:47:32 xend 2466] DEBUG (image:206) features = [2007-03-08 19:47:33 xend 2466] DEBUG (blkif:24) exception looking up device number for xvda: [Errno 2] No such file or directory: ''/dev/xvda'' [2007-03-08 19:47:33 xend 2466] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''51712'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/tap/1/51712''} to /local/domain/1/device/vbd/51712. I was trying to access the image file to see if there are some logs during the installation in that image file. however, lomount -t ext3 -diskimage /var/lib/xen/images/imageStimpy -partition 2 /mnt/xenstimpy lomount says bad filesystem type. ?! But I can mount partition 1, and there is only one directory in there which is "lost+found"....... HELP!! GUYS! HELP!! jez-5 wrote:> > On Tue, Mar 06, 2007 at 06:20:29PM -0800, xin wrote: >> >> anyone can help me here?? >> >> thankSSSS!!! >> >> >> xin wrote: >> > >> > By the way, I found this in /var/log/message, does this matter? >> > >> > Mar 5 22:06:46 pc77 kernel: tap tap-2-51712: 2 getting info >> > Mar 5 22:06:46 pc77 kernel: audit(1173092806.351:9): avc: denied { >> > search } f >> > or pid=2245 comm="xenconsoled" name="/" dev=sysfs ino=1 >> > scontext=system_u:syste >> > m_r:xenconsoled_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir >> > <snip/> > > Hi xin, > > I''m not running FC6 but it looks like SELinux might be getting in your > way. If FC6 is anything like FC5 you can disable it by editing > /etc/selinux/config and setting "SELINUX=disabled". Then reboot. > > jez > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://www.nabble.com/install-Fodera-6-on-Xen---stop-copying-files-during-the-installation-tf3353606.html#a9367319 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jez
2007-Mar-08 03:58 UTC
Re: [Xen-users] install Fodera 6 on Xen - stop copying files during the installation
On Wed, Mar 07, 2007 at 06:03:14PM -0800, xin wrote:> > Hi, I changed the selinux = disable in /etc/sysconfig/selinux file and reboot > system, then creat a new domain guest fc6 system again. I got the same > problem, the installation stops at: > > ------------------------------------------------ > Install Starting > Starting install process. This may > take several minutes... > > ------------------------------------------------- >... or hours, days. Maybe even years. See, problem solved - it was just an output error. :-)> nothing in /var/log/message and /var/log/xend-debug, I found something in > /var/log/xend as below: > > [2007-03-08 19:47:32 xend 2466] DEBUG (balloon:127) Balloon: 310204 KiB > free; need 262144; done. > [2007-03-08 19:47:32 xend 2466] INFO (image:136) buildDomain os=linux dom=1 > vcpus=1<snip/> I can''t see anything strange in these logs. It looks to me like the problem is with Fedora''s tools rather than with xen.> > I was trying to access the image file to see if there are some logs during > the installation in that image file. however, > lomount -t ext3 -diskimage /var/lib/xen/images/imageStimpy -partition 2 > /mnt/xenstimpy > lomount says bad filesystem type. ?!If LVM is being used by Fedora then your not going to be able to mount your filesystem like that. To see how Fedora paritioned your image you can do: fdisk -l /var/lib/xen/images/imageStimpy Anyway, from what you''ve said so far, I really doubt that there will be any clues in your fs image to explain the problem you''ve been having.> But I can mount partition 1, and there is only one directory in there which > is "lost+found"....... >This is most likely supposed to be your /boot parition. There''s nothing strange about the "lost+found" directory - all ext2 and ext3 partitions have one. The fact that you can access this parition just suggests that Fedora managed to paritition the image, but froze before it put any files in there. Which is exactly what you thought happened anyway. Sounds like a problem with Fedora''s Installer. You might have some luck getting help on the Fedora-xen mailling list: http://www.redhat.com/mailman/listinfo/fedora-xen It''s worth a try! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users