Villan
2006-Sep-29 03:21 UTC
[Xen-users] Error starting gentoo domU created with domi - lvm2 issue?
Hi, I setup an lvm2 partition and used domi to install gentoo in a domU. Unfortunately I cannot get this to start. I have tried multiple cconfigs, but the kernel just cant find the root partition. Hopefully I am doing something wrong that is apparent to one of you. config: http://villan.us/aeon_xen.conf.txt permissions: http://villan.us/perms.txt xmcreate: http://villan.us/xmcreate.txt error logs: http://villan.us/xend.log.txt Thanks a lot! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Sep-29 10:07 UTC
Re: [Xen-users] Error starting gentoo domU created with domi - lvm2 issue?
On 9/29/06, Villan <villan@gmail.com> wrote:> Hi, > > I setup an lvm2 partition and used domi to install gentoo in a domU. > Unfortunately I cannot get this to start. I have tried multiple cconfigs, > but the kernel just cant find the root partition.Are you sure scsi support is compiled into the kernel? If you have it only as a module, you need to build a initrd soi the scsi drivers are available at boot time. BTW: which Xen version are you using? Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Hierling
2006-Sep-29 14:25 UTC
Re: [Xen-users] Error starting gentoo domU created with domi - lvm2 issue?
Hi> I setup an lvm2 partition and used domi to install gentoo in a domU. > > Unfortunately I cannot get this to start. I have tried multiple > cconfigs, > > but the kernel just cant find the root partition. > > Are you sure scsi support is compiled into the kernel? > If you have it only as a module, you need to build a initrd soi the > scsi drivers are available at boot time.SCSI Support is NOT reqiured for DomU Kernel. As i have experienced (Gentoo, Xen3.0.2) you need only IDE Support in DomU Kernel.>From my Kernel config:CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDE_GENERIC=y CONFIG_BLK_DEV_IDEPCI=y linux-2.6.16.18-xenU # grep SCSI .config # SCSI device support # CONFIG_SCSI is not set # NOTE: USB_STORAGE enables SCSI, and ''SCSI disk support'' regards Martin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Villan
2006-Sep-29 17:44 UTC
Re: [Xen-users] Error starting gentoo domU created with domi - lvm2 issue?
Ha, so which one is it? Seems I''m not the only one thats confused here :) On 9/29/06, Martin Hierling <martin@mh-itc.de> wrote:> > Hi > > > > I setup an lvm2 partition and used domi to install gentoo in a domU. > > > Unfortunately I cannot get this to start. I have tried multiple > > cconfigs, > > > but the kernel just cant find the root partition. > > > > Are you sure scsi support is compiled into the kernel? > > If you have it only as a module, you need to build a initrd soi the > > scsi drivers are available at boot time. > > > > SCSI Support is NOT reqiured for DomU Kernel. As i have experienced > (Gentoo, Xen3.0.2) you need only IDE Support in DomU Kernel. > From my Kernel config: > > CONFIG_IDE=y > CONFIG_BLK_DEV_IDE=y > CONFIG_BLK_DEV_IDEDISK=y > CONFIG_IDE_GENERIC=y > CONFIG_BLK_DEV_IDEPCI=y > > > linux-2.6.16.18-xenU # grep SCSI .config > # SCSI device support > # CONFIG_SCSI is not set > # NOTE: USB_STORAGE enables SCSI, and ''SCSI disk support'' > > regards Martin > > _______________________________________________ > 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
Henning Sprang
2006-Sep-30 12:46 UTC
Re: [Xen-users] Error starting gentoo domU created with domi - lvm2 issue?
Martin Hierling wrote:> SCSI Support is NOT reqiured for DomU Kernel.It depends on how you configure your disks in the domU config. In his, case, he uses SCSI disk, and so he needs the scsi drivers.> As i have experienced > (Gentoo, Xen3.0.2) you need only IDE Support in DomU Kernel. > From my Kernel config: > > CONFIG_IDE=y > CONFIG_BLK_DEV_IDE=y > CONFIG_BLK_DEV_IDEDISK=y > CONFIG_IDE_GENERIC=y > CONFIG_BLK_DEV_IDEPCI=yThis is also possible, then he needs to change the sd* disk entries in the domU config to hd* Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Sep-30 14:36 UTC
Re: [Xen-users] Error starting gentoo domU created with domi - lvm2 issue?
Villan wrote:> Ha, so which one is it? Seems I''m not the only one thats confused here :)I did just forget you to tell that you can chose between using SCSI or IDE virtual disks in the Xen domU, and Martin didn''t look at your config file, so he didn''t see that you already configured the virtual disks as SCSI. I think with the addition of my other Mail, things should be clear enough. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Villan
2006-Oct-01 23:58 UTC
Re: [Xen-users] Error starting gentoo domU created with domi - lvm2 issue?
Hi Henning, Thanks for the clairification, makes a lot of sense. Is there any reason to choose ide over scsi when dealing with virtual disks? I am pretty sure scsi support is compiled directly into the domU kernel, here is the output: grep -i scsi domUconfig | grep -v "#" | less > scsi.txt http://villan.us/scsi.txt Thanks again. Julian On 9/30/06, Henning Sprang <henning_sprang@gmx.de> wrote:> > Villan wrote: > > Ha, so which one is it? Seems I''m not the only one thats confused here > :) > > I did just forget you to tell that you can chose between using SCSI or > IDE virtual disks in the Xen domU, and Martin didn''t look at your config > file, so he didn''t see that you already configured the virtual disks as > SCSI. > > I think with the addition of my other Mail, things should be clear enough. > > Henning > > _______________________________________________ > 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
Henning Sprang
2006-Oct-02 00:23 UTC
Re: [Xen-users] Error starting gentoo domU created with domi - lvm2 issue?
Villan wrote:> Hi Henning, > > Thanks for the clairification, makes a lot of sense.You''re welcome!> Is there any reason > to choose ide over scsi when dealing with virtual disks?I don''t really know about pros and cons.>I am pretty > sure scsi support is compiled directly into the domU kernel, here is the > output: > > grep -i scsi domUconfig | grep -v "#" | less > scsi.txt > > http://villan.us/scsi.txt <http://villan.us/scsi.txt> >Looks good. Hmm, I am too tired now for further ideas... maybe trying IDE (at least a workaround). I''ll have another look at the config tomorrow. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Villan
2006-Oct-10 07:09 UTC
Re: [Xen-users] Error starting gentoo domU created with domi - lvm2 issue?
I tired using ide, by changing the config file from sda to hda in both the root and disk locations, to no avail. The errors are the same, just with ''hda'' instead of ''sda''. For the record, lvm is indeed installed to sda7 - is there someone else who has a xen install running on lvm as well? When I first started this, I thought it was a common occurrance, but this seems to not be the case. On 10/1/06, Henning Sprang <henning_sprang@gmx.de> wrote:> > Villan wrote: > > Hi Henning, > > > > Thanks for the clairification, makes a lot of sense. > > You''re welcome! > > > > Is there any reason > > to choose ide over scsi when dealing with virtual disks? > > I don''t really know about pros and cons. > > >I am pretty > > sure scsi support is compiled directly into the domU kernel, here is the > > output: > > > > grep -i scsi domUconfig | grep -v "#" | less > scsi.txt > > > > http://villan.us/scsi.txt <http://villan.us/scsi.txt> > > > > Looks good. Hmm, I am too tired now for further ideas... maybe trying > IDE (at least a workaround). I''ll have another look at the config > tomorrow. > > Henning >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users