All of lore.kernel.org
 help / color / mirror / Atom feed
* Newbie question: "error creating domain: vbd: segment not found"
@ 2005-01-25 14:54 Quinton Hoole
  2005-01-26 15:46 ` Jan Kundrát
  0 siblings, 1 reply; 16+ messages in thread
From: Quinton Hoole @ 2005-01-25 14:54 UTC (permalink / raw)
  To: xen-devel

Hi 

I'm following the ttylinux example in section 3.3 of the xen user
manual, and getting the following error:

[root@localhost quintonh]#  /usr/sbin/xm create -c
/etc/xen/ttylinux.domain-config-file
Using config file "/etc/xen/ttylinux.domain-config-file".
Error: Error creating domain: vbd: Segment not found:
uname=file:/home/quintonh/Downloads/xen/ttylinux-xen

My domain config file is attached, but essentially looks like this:

kernel = "/boot/vmlinuz-2.6.10-xenU"
memory = 64
name = "ttylinux"
nics=1
ip = "1.2.3.4"
disk = [ 'file:/home/quintonh/Downloads/xen/ttylinux-xen,hdb2,w' ]
root = "/dev/hdb2 ro"

And the file is there:

[root@localhost xen]# pwd
/home/quintonh/Downloads/xen
[root@localhost xen]# ls -als
total 26196
    4 drwx------  3 quintonh quintonh     4096 Jan 25 15:47 .
    4 drwx------  8 quintonh quintonh     4096 Jan 17 16:29 ..
16020 -rw-rw-r--  1 quintonh quintonh 16384000 Jan 25 14:39 ttylinux-xen

Any ideas?

Q


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newbie question: "error creating domain: vbd: segment not found"
  2005-01-25 14:54 Newbie question: "error creating domain: vbd: segment not found" Quinton Hoole
@ 2005-01-26 15:46 ` Jan Kundrát
  2005-01-27 10:04   ` Quinton Hoole
  0 siblings, 1 reply; 16+ messages in thread
From: Jan Kundrát @ 2005-01-26 15:46 UTC (permalink / raw)
  To: Quinton Hoole; +Cc: xen-devel

Quinton Hoole wrote:
> I'm following the ttylinux example in section 3.3 of the xen user
> manual, and getting the following error:
[...]
> disk = [ 'file:/home/quintonh/Downloads/xen/ttylinux-xen,hdb2,w' ]
[...]
> Any ideas?

It takes a while for a mail to pass thru the sf.net mailing list system :-).

You're using file-backed storage, but it seems that you don't have loop 
device support compiled into your dom0 kernel. You'll have to enable 
CONFIG_BLK_DEV_LOOP in your dom0 kernel configuration and rebuild.

-jkt

-- 
cd /local/pub && more beer > /dev/mouth



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Newbie question: "error creating domain: vbd: segment not found"
  2005-01-26 15:46 ` Jan Kundrát
@ 2005-01-27 10:04   ` Quinton Hoole
  2005-01-28 15:23     ` Jan Kundrat
  2005-01-28 16:11     ` Mark Williamson
  0 siblings, 2 replies; 16+ messages in thread
From: Quinton Hoole @ 2005-01-27 10:04 UTC (permalink / raw)
  To: 'Jan Kundrát'; +Cc: xen-devel

> Quinton Hoole wrote:
> > I'm following the ttylinux example in section 3.3 of the xen user
> > manual, and getting the following error:
> [...]
> > disk = [ 'file:/home/quintonh/Downloads/xen/ttylinux-xen,hdb2,w' ]
> [...]
> > Any ideas?
> 
> You're using file-backed storage, but it seems that you don't have
loop
> device support compiled into your dom0 kernel. You'll have to enable
> CONFIG_BLK_DEV_LOOP in your dom0 kernel configuration and rebuild.

Thanks, but I'm using the standard XenLinux distribution
(vmlinuz-2.6.10-xen0) which I downloaded from the Xen downloads page a
few weeks back.  Surely this has the required loop device support?

Q

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26
 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Newbie question: "error creating domain: vbd: segment not found"
  2005-01-27 10:04   ` Quinton Hoole
@ 2005-01-28 15:23     ` Jan Kundrat
  2005-01-28 16:11     ` Mark Williamson
  1 sibling, 0 replies; 16+ messages in thread
From: Jan Kundrat @ 2005-01-28 15:23 UTC (permalink / raw)
  To: Quinton Hoole; +Cc: xen-devel

On 2005-01-27, 12:04, Quinton Hoole wrote:

> > Quinton Hoole wrote:
> > > I'm following the ttylinux example in section 3.3 of the xen user
> > > manual, and getting the following error:
> > [...]
> > > disk = [ 'file:/home/quintonh/Downloads/xen/ttylinux-xen,hdb2,w' ]
> > [...]
> > > Any ideas?
> > 
> > You're using file-backed storage, but it seems that you don't have
> loop
> > device support compiled into your dom0 kernel. You'll have to enable
> > CONFIG_BLK_DEV_LOOP in your dom0 kernel configuration and rebuild.
> 
> Thanks, but I'm using the standard XenLinux distribution
> (vmlinuz-2.6.10-xen0) which I downloaded from the Xen downloads page a
> few weeks back.  Surely this has the required loop device support?

I don't know. Are you able to mount some disk image from inside of dom0? 
Something like `mount /path/to/image.iso /mnt/iso -t iso9660 -o loop,ro`, 
where /path/to/image.iso is ISO image of CD-ROM?
Does `losetup` work?

-jkt

-- 
cd /local/pub && more beer > /dev/mouth



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newbie question: "error creating domain: vbd: segment not found"
  2005-01-27 10:04   ` Quinton Hoole
  2005-01-28 15:23     ` Jan Kundrat
@ 2005-01-28 16:11     ` Mark Williamson
  2005-01-28 17:00       ` Quinton Hoole
  1 sibling, 1 reply; 16+ messages in thread
From: Mark Williamson @ 2005-01-28 16:11 UTC (permalink / raw)
  To: xen-devel; +Cc: Quinton Hoole, 'Jan Kundrát'

> Thanks, but I'm using the standard XenLinux distribution
> (vmlinuz-2.6.10-xen0) which I downloaded from the Xen downloads page a
> few weeks back.  Surely this has the required loop device support?

Can you check that you have the losetup command available on your system and 
that it works OK?

Try:
losetup /dev/loop0 /home/quintonh/Downloads/xen/ttylinux-xen

And then change the VBD to refer to 'phy:/dev/loop0' instead of 'file:...'.

(assuming that works, you can remove the loop mapping after stopping the 
domain using 'losetup -d /dev/loop0)

Cheers,
Mark


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newbie question: "error creating domain: vbd: segment not found"
  2005-01-28 17:00       ` Quinton Hoole
@ 2005-01-28 16:55         ` Mark Williamson
  2005-01-28 20:24           ` Anthony Liguori
  2005-01-29 11:37           ` Newbie question: "error creating domain: vbd: segment " Quinton Hoole
  0 siblings, 2 replies; 16+ messages in thread
From: Mark Williamson @ 2005-01-28 16:55 UTC (permalink / raw)
  To: Quinton Hoole
  Cc: 'Mark Williamson', xen-devel, 'Jan Kundrát'

> Marvellous!  Fixed.

So the commands I showed just worked but the file: uname didn't?  You didn't 
have to install any packages to make it work?

Cheers,
Mark

> Thanks
>
> Q
>
> > -----Original Message-----
> > From: maw48@hermes.cam.ac.uk [mailto:maw48@hermes.cam.ac.uk] On Behalf
>
> Of Mark Williamson
>
> > Sent: 28 January 2005 18:12
> > To: xen-devel@lists.sourceforge.net
> > Cc: Quinton Hoole; 'Jan Kundrát'
> > Subject: Re: [Xen-devel] Newbie question: "error creating domain: vbd:
>
> segment not found"
>
> > > Thanks, but I'm using the standard XenLinux distribution
> > > (vmlinuz-2.6.10-xen0) which I downloaded from the Xen downloads page
>
> a
>
> > > few weeks back.  Surely this has the required loop device support?
> >
> > Can you check that you have the losetup command available on your
>
> system and
>
> > that it works OK?
> >
> > Try:
> > losetup /dev/loop0 /home/quintonh/Downloads/xen/ttylinux-xen
> >
> > And then change the VBD to refer to 'phy:/dev/loop0' instead of
>
> 'file:...'.
>
> > (assuming that works, you can remove the loop mapping after stopping
>
> the
>
> > domain using 'losetup -d /dev/loop0)
> >
> > Cheers,
> > Mark
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Newbie question: "error creating domain: vbd: segment not found"
  2005-01-28 16:11     ` Mark Williamson
@ 2005-01-28 17:00       ` Quinton Hoole
  2005-01-28 16:55         ` Mark Williamson
  0 siblings, 1 reply; 16+ messages in thread
From: Quinton Hoole @ 2005-01-28 17:00 UTC (permalink / raw)
  To: 'Mark Williamson', xen-devel; +Cc: 'Jan Kundrát'

Marvellous!  Fixed. 

Thanks

Q

> -----Original Message-----
> From: maw48@hermes.cam.ac.uk [mailto:maw48@hermes.cam.ac.uk] On Behalf
Of Mark Williamson
> Sent: 28 January 2005 18:12
> To: xen-devel@lists.sourceforge.net
> Cc: Quinton Hoole; 'Jan Kundrát'
> Subject: Re: [Xen-devel] Newbie question: "error creating domain: vbd:
segment not found"
> 
> > Thanks, but I'm using the standard XenLinux distribution
> > (vmlinuz-2.6.10-xen0) which I downloaded from the Xen downloads page
a
> > few weeks back.  Surely this has the required loop device support?
> 
> Can you check that you have the losetup command available on your
system and
> that it works OK?
> 
> Try:
> losetup /dev/loop0 /home/quintonh/Downloads/xen/ttylinux-xen
> 
> And then change the VBD to refer to 'phy:/dev/loop0' instead of
'file:...'.
> 
> (assuming that works, you can remove the loop mapping after stopping
the
> domain using 'losetup -d /dev/loop0)
> 
> Cheers,
> Mark
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26
> 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26
 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newbie question: "error creating domain: vbd: segment not found"
  2005-01-28 16:55         ` Mark Williamson
@ 2005-01-28 20:24           ` Anthony Liguori
  2005-01-29  7:46             ` Newbie question: "error creating domain: vbd:segment " Quinton Hoole
  2005-01-29 11:37           ` Newbie question: "error creating domain: vbd: segment " Quinton Hoole
  1 sibling, 1 reply; 16+ messages in thread
From: Anthony Liguori @ 2005-01-28 20:24 UTC (permalink / raw)
  To: Mark Williamson
  Cc: Quinton Hoole, 'Mark Williamson',
	xen-devel, 'Jan Kundrát'

I've seen this problem occur before when I destroy a domain through a
non-xm tool (sending control messages myself).  I think it's some sort
of dead-lock but I cannot reproduce it reliably.

Rebooting always fixes the problem for me.

Regards,

On Fri, 2005-01-28 at 10:55, Mark Williamson wrote:
> > Marvellous!  Fixed.
> 
> So the commands I showed just worked but the file: uname didn't?  You didn't 
> have to install any packages to make it work?
> 
> Cheers,
> Mark
> 
> > Thanks
> >
> > Q
> >
> > > -----Original Message-----
> > > From: maw48@hermes.cam.ac.uk [mailto:maw48@hermes.cam.ac.uk] On Behalf
> >
> > Of Mark Williamson
> >
> > > Sent: 28 January 2005 18:12
> > > To: xen-devel@lists.sourceforge.net
> > > Cc: Quinton Hoole; 'Jan Kundrát'
> > > Subject: Re: [Xen-devel] Newbie question: "error creating domain: vbd:
> >
> > segment not found"
> >
> > > > Thanks, but I'm using the standard XenLinux distribution
> > > > (vmlinuz-2.6.10-xen0) which I downloaded from the Xen downloads page
> >
> > a
> >
> > > > few weeks back.  Surely this has the required loop device support?
> > >
> > > Can you check that you have the losetup command available on your
> >
> > system and
> >
> > > that it works OK?
> > >
> > > Try:
> > > losetup /dev/loop0 /home/quintonh/Downloads/xen/ttylinux-xen
> > >
> > > And then change the VBD to refer to 'phy:/dev/loop0' instead of
> >
> > 'file:...'.
> >
> > > (assuming that works, you can remove the loop mapping after stopping
> >
> > the
> >
> > > domain using 'losetup -d /dev/loop0)
> > >
> > > Cheers,
> > > Mark
> > >
> > >
> > > --
> > > No virus found in this incoming message.
> > > Checked by AVG Anti-Virus.
> > > Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
-- 
Anthony Liguori
Linux Technology Center (LTC) - IBM Austin
E-mail: aliguori@us.ibm.com
Phone: (512) 838-1208




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Newbie question: "error creating domain: vbd:segment not found"
  2005-01-28 20:24           ` Anthony Liguori
@ 2005-01-29  7:46             ` Quinton Hoole
  2005-01-29  9:41               ` Ian Pratt
  0 siblings, 1 reply; 16+ messages in thread
From: Quinton Hoole @ 2005-01-29  7:46 UTC (permalink / raw)
  To: 'Anthony Liguori', 'Mark Williamson'
  Cc: 'Mark Williamson', xen-devel, 'Jan Kundrat'

> From: Anthony Liguori [mailto:aliguori@us.ibm.com]
> I've seen this problem occur before when I destroy a domain through a
> non-xm tool (sending control messages myself).  I think it's some sort
> of dead-lock but I cannot reproduce it reliably.
> 
> Rebooting always fixes the problem for me.

Not in my case.  I tried that.  Just shout if there's any other info I
can send you to make sense of it.  Note that I'm a relative newbie to
Linux devices, so it might be something pretty trivial.  See in
particular my comments yesterday re: my root device:

"my root partition is on /dev/hdb2, and not /dev/sda1, so my domain
config file has been edited appropriately (/dev/sda1 does not even exist
on my system).  Am I perhaps confused here?  Should I be using a device
other than my dom0 root device?"

Q

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26
 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newbie question: "error creating domain: vbd:segment not found"
  2005-01-29  7:46             ` Newbie question: "error creating domain: vbd:segment " Quinton Hoole
@ 2005-01-29  9:41               ` Ian Pratt
  2005-01-29 11:44                 ` Quinton Hoole
  0 siblings, 1 reply; 16+ messages in thread
From: Ian Pratt @ 2005-01-29  9:41 UTC (permalink / raw)
  To: Quinton Hoole
  Cc: 'Anthony Liguori', 'Mark Williamson',
	xen-devel, 'Jan Kundrat',
	Ian.Pratt


> "my root partition is on /dev/hdb2, and not /dev/sda1, so my domain
> config file has been edited appropriately (/dev/sda1 does not even exist
> on my system).  Am I perhaps confused here?  Should I be using a device
> other than my dom0 root device?"

Yes!

Each domain needs its own root file system.

Ian


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Newbie question: "error creating domain: vbd: segment not found"
  2005-01-28 16:55         ` Mark Williamson
  2005-01-28 20:24           ` Anthony Liguori
@ 2005-01-29 11:37           ` Quinton Hoole
  1 sibling, 0 replies; 16+ messages in thread
From: Quinton Hoole @ 2005-01-29 11:37 UTC (permalink / raw)
  To: 'Mark Williamson'
  Cc: 'Mark Williamson', xen-devel, 'Jan Kundrat'

Mark Williamson wrote> 
> So the commands I showed just worked but the file: uname didn't?  You
didn't
> have to install any packages to make it work?
>
 
Yes, that's correct.  Losetup worked, and the VM boots with
phy:/dev/loop0.  No additional packages required.
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26
 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Newbie question: "error creating domain: vbd:segment not found"
  2005-01-29  9:41               ` Ian Pratt
@ 2005-01-29 11:44                 ` Quinton Hoole
  2005-01-29 13:43                   ` Mark Williamson
  0 siblings, 1 reply; 16+ messages in thread
From: Quinton Hoole @ 2005-01-29 11:44 UTC (permalink / raw)
  To: 'Ian Pratt'
  Cc: 'Anthony Liguori', 'Mark Williamson',
	xen-devel, 'Jan Kundrat'

Yep - that's what I guessed.  But using 

disk = ['file:/path/to/ttylinux/rootfs,sda1,w']

as in the tutorial failed ("device not found" from what I recall).  But
changing sda1 to hdb2 got around that problem, albeit the wrong
approach, I assume.

Q

> -----Original Message-----
> From: xen-devel-admin@lists.sourceforge.net
[mailto:xen-devel-admin@lists.sourceforge.net] On
> Behalf Of Ian Pratt
> Sent: 29 January 2005 11:42
> To: Quinton Hoole
> Cc: 'Anthony Liguori'; 'Mark Williamson';
xen-devel@lists.sourceforge.net; 'Jan Kundrat';
> Ian.Pratt@cl.cam.ac.uk
> Subject: Re: [Xen-devel] Newbie question: "error creating domain:
vbd:segment not found"
> 
> 
> > "my root partition is on /dev/hdb2, and not /dev/sda1, so my domain
> > config file has been edited appropriately (/dev/sda1 does not even
exist
> > on my system).  Am I perhaps confused here?  Should I be using a
device
> > other than my dom0 root device?"
> 
> Yes!
> 
> Each domain needs its own root file system.
> 
> Ian
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive
Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26
> 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26
 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newbie question: "error creating domain: vbd:segment not found"
  2005-01-29 11:44                 ` Quinton Hoole
@ 2005-01-29 13:43                   ` Mark Williamson
  2005-01-31  9:08                     ` Quinton Hoole
  0 siblings, 1 reply; 16+ messages in thread
From: Mark Williamson @ 2005-01-29 13:43 UTC (permalink / raw)
  To: Quinton Hoole
  Cc: 'Ian Pratt', 'Anthony Liguori',
	'Mark Williamson', xen-devel, 'Jan Kundrat'

> disk = ['file:/path/to/ttylinux/rootfs,sda1,w']
>
> as in the tutorial failed ("device not found" from what I recall).  But
> changing sda1 to hdb2 got around that problem, albeit the wrong
> approach, I assume.

Ah, that'll break if you don't have a /dev/sda1 to lookup in dom1.  Changing 
"sda1" to "0801" should work (I think this issue is fixed in the testing 
tree)

Cheers,
Mark

>
> Q
>
> > -----Original Message-----
> > From: xen-devel-admin@lists.sourceforge.net
>
> [mailto:xen-devel-admin@lists.sourceforge.net] On
>
> > Behalf Of Ian Pratt
> > Sent: 29 January 2005 11:42
> > To: Quinton Hoole
> > Cc: 'Anthony Liguori'; 'Mark Williamson';
>
> xen-devel@lists.sourceforge.net; 'Jan Kundrat';
>
> > Ian.Pratt@cl.cam.ac.uk
> > Subject: Re: [Xen-devel] Newbie question: "error creating domain:
>
> vbd:segment not found"
>
> > > "my root partition is on /dev/hdb2, and not /dev/sda1, so my domain
> > > config file has been edited appropriately (/dev/sda1 does not even
>
> exist
>
> > > on my system).  Am I perhaps confused here?  Should I be using a
>
> device
>
> > > other than my dom0 root device?"
> >
> > Yes!
> >
> > Each domain needs its own root file system.
> >
> > Ian
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive
>
> Reporting
>
> > Tool for open source databases. Create drag-&-drop reports. Save time
> > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Newbie question: "error creating domain: vbd:segment not found"
  2005-01-29 13:43                   ` Mark Williamson
@ 2005-01-31  9:08                     ` Quinton Hoole
  0 siblings, 0 replies; 16+ messages in thread
From: Quinton Hoole @ 2005-01-31  9:08 UTC (permalink / raw)
  To: 'Mark Williamson'; +Cc: xen-devel

> 
> > disk = ['file:/path/to/ttylinux/rootfs,sda1,w']
> >
> > as in the tutorial failed ("device not found" from what I recall).
But
> > changing sda1 to hdb2 got around that problem, albeit the wrong
> > approach, I assume.
> 
> Ah, that'll break if you don't have a /dev/sda1 to lookup in dom1.
Changing
> "sda1" to "0801" should work (I think this issue is fixed in the
testing
> tree)

Hmmm - sadly not.  I've tried "0801", but I get the error:

"Error creating domain: vbd: Segment not found:
uname=file:/home/quintonh/Downloads/xen/ttylinux-xen"

Config file is now identical to that given in the manual, except with
"sda1" replaced by "0801" in both places.  As before, using
off-the-shelf downloaded builds of xen and ttylinux-xen.

Q

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 2005/01/28
 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Newbie question: "error creating domain: vbd: segment not found"
@ 2005-01-28 14:39 Quinton Hoole
  0 siblings, 0 replies; 16+ messages in thread
From: Quinton Hoole @ 2005-01-28 14:39 UTC (permalink / raw)
  To: xen-devel

Hi Guys

I'm still struggling to get ttylinux running on xen - please see config
files etc below.  Can anyone perhaps help?  I'm using the bog standard
binaries for both xen and ttylinux downloaded from the xen site.  The
only change I've made relative to the tutorial in section 3.3 of the xen
user manual are that my root partition is on /dev/hdb2, and not
/dev/sda1, so my domain config file has been edited appropriately
(/dev/sda1 does not even exist on my system).  Am I perhaps confused
here?  Should I be using a device other than my dom0 root device?

Thanks in advance...

Q

> -----Original Message-----
> From: Quinton Hoole [mailto:quinton@hoole.biz]
> Sent: 26 January 2005 09:04
> To: 'xen-devel@lists.sourceforge.net'
> Subject: Newbie question: "error creating domain: vbd: segment not
found"
> 
> I'm following the ttylinux example in section 3.3 of the xen user
> manual, and getting the following error:
> 
> [root@localhost quintonh]#  /usr/sbin/xm create -c
/etc/xen/ttylinux.domain-config-file
> Using config file "/etc/xen/ttylinux.domain-config-file".
> Error: Error creating domain: vbd: Segment not found:
> uname=file:/home/quintonh/Downloads/xen/ttylinux-xen
> 
> My domain config file is attached, but essentially looks like this:
> 
> kernel = "/boot/vmlinuz-2.6.10-xenU"
> memory = 64
> name = "ttylinux"
> nics=1
> ip = "1.2.3.4"
> disk = [ 'file:/home/quintonh/Downloads/xen/ttylinux-xen,hdb2,w' ]
> root = "/dev/hdb2 ro"
> 
> And the file is there:
> 
> [root@localhost xen]# pwd
> /home/quintonh/Downloads/xen
> [root@localhost xen]# ls -als
> total 26196
>    4 drwx------  3 quintonh quintonh     4096 Jan 25 15:47 .
>    4 drwx------  8 quintonh quintonh     4096 Jan 17 16:29 ..
> 16020 -rw-rw-r--  1 quintonh quintonh 16384000 Jan 25 14:39
ttylinux-xen
> 
> Any ideas?
> 
> Q
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 2005/01/25
> 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.5 - Release Date: 2005/01/26
 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Newbie question: "error creating domain: vbd: segment not found"
@ 2005-01-26  7:04 Quinton Hoole
  0 siblings, 0 replies; 16+ messages in thread
From: Quinton Hoole @ 2005-01-26  7:04 UTC (permalink / raw)
  To: xen-devel

Advance apologies for a potential retransmit – the moderator doesn’t
seem to have got to my previous post yet, so here goes from a registered
account…

I'm following the ttylinux example in section 3.3 of the xen user
manual, and getting the following error:

[root@localhost quintonh]#  /usr/sbin/xm create -c
/etc/xen/ttylinux.domain-config-file
Using config file "/etc/xen/ttylinux.domain-config-file".
Error: Error creating domain: vbd: Segment not found:
uname=file:/home/quintonh/Downloads/xen/ttylinux-xen

My domain config file is attached, but essentially looks like this:

kernel = "/boot/vmlinuz-2.6.10-xenU"
memory = 64
name = "ttylinux"
nics=1
ip = "1.2.3.4"
disk = [ 'file:/home/quintonh/Downloads/xen/ttylinux-xen,hdb2,w' ]
root = "/dev/hdb2 ro"

And the file is there:

[root@localhost xen]# pwd
/home/quintonh/Downloads/xen
[root@localhost xen]# ls -als
total 26196
   4 drwx------  3 quintonh quintonh     4096 Jan 25 15:47 .
   4 drwx------  8 quintonh quintonh     4096 Jan 17 16:29 ..
16020 -rw-rw-r--  1 quintonh quintonh 16384000 Jan 25 14:39 ttylinux-xen

Any ideas?

Q

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 2005/01/25
 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-01-31  9:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-25 14:54 Newbie question: "error creating domain: vbd: segment not found" Quinton Hoole
2005-01-26 15:46 ` Jan Kundrát
2005-01-27 10:04   ` Quinton Hoole
2005-01-28 15:23     ` Jan Kundrat
2005-01-28 16:11     ` Mark Williamson
2005-01-28 17:00       ` Quinton Hoole
2005-01-28 16:55         ` Mark Williamson
2005-01-28 20:24           ` Anthony Liguori
2005-01-29  7:46             ` Newbie question: "error creating domain: vbd:segment " Quinton Hoole
2005-01-29  9:41               ` Ian Pratt
2005-01-29 11:44                 ` Quinton Hoole
2005-01-29 13:43                   ` Mark Williamson
2005-01-31  9:08                     ` Quinton Hoole
2005-01-29 11:37           ` Newbie question: "error creating domain: vbd: segment " Quinton Hoole
2005-01-26  7:04 Quinton Hoole
2005-01-28 14:39 Quinton Hoole

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.