* pxe support
@ 2007-01-17 18:46 Sven Oehme
2007-01-17 19:15 ` Anthony Liguori
0 siblings, 1 reply; 14+ messages in thread
From: Sven Oehme @ 2007-01-17 18:46 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 216 bytes --]
Hi,
i saw a bunch of patches from Anthony adding pxe support to qemu. will
that end in xen at some point , or is it already in ?
i searched in the archives and also the source but couldn't find anything
..
Sven
[-- Attachment #1.2: Type: text/html, Size: 391 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-17 18:46 pxe support Sven Oehme
@ 2007-01-17 19:15 ` Anthony Liguori
2007-01-18 9:01 ` Tim Deegan
0 siblings, 1 reply; 14+ messages in thread
From: Anthony Liguori @ 2007-01-17 19:15 UTC (permalink / raw)
To: Sven Oehme; +Cc: Tim Deegan, xen-devel
Sven Oehme wrote:
>
> Hi,
>
> i saw a bunch of patches from Anthony adding pxe support to qemu. will
> that end in xen at some point , or is it already in ?
> i searched in the archives and also the source but couldn't find
> anything ..
It should be there. The QEMU patches were inspired by Tim's Xen
patches. I've seen a few commits that have disabled/enabled Option ROM
loading which would prevent the etherboot ROM from getting loaded.
Should PXE booting work ATM Tim?
Regards,
Anthony Liguori
> Sven
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-17 19:15 ` Anthony Liguori
@ 2007-01-18 9:01 ` Tim Deegan
2007-01-18 9:22 ` Sven Oehme
2007-01-18 10:45 ` Christoph Egger
0 siblings, 2 replies; 14+ messages in thread
From: Tim Deegan @ 2007-01-18 9:01 UTC (permalink / raw)
To: Anthony Liguori; +Cc: xen-devel, Sven Oehme
At 13:15 -0600 on 17 Jan (1169039714), Anthony Liguori wrote:
> Sven Oehme wrote:
> >
> >Hi,
> >
> >i saw a bunch of patches from Anthony adding pxe support to qemu. will
> >that end in xen at some point , or is it already in ?
> >i searched in the archives and also the source but couldn't find
> >anything ..
>
> It should be there. The QEMU patches were inspired by Tim's Xen
> patches. I've seen a few commits that have disabled/enabled Option ROM
> loading which would prevent the etherboot ROM from getting loaded.
>
> Should PXE booting work ATM Tim?
Works for me in -unstable. Give the guest a vif, and choose boot=n.
Cheers,
Tim.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-18 9:01 ` Tim Deegan
@ 2007-01-18 9:22 ` Sven Oehme
2007-01-18 9:35 ` Tim Deegan
2007-01-18 10:45 ` Christoph Egger
1 sibling, 1 reply; 14+ messages in thread
From: Sven Oehme @ 2007-01-18 9:22 UTC (permalink / raw)
To: Tim Deegan; +Cc: Anthony Liguori, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1375 bytes --]
Hi Tim,
that's my config :
name = "fc7-pxe"
memory = "256"
disk = [ 'phy:vg01/fc7-pxe,xvda,w', ]
vif = [ 'mac=66:22:aa:77:aa:89, bridge=xenbr0', ]
vnc=1
uuid = "57caa792-1234-773c-69a3-f1e0269d8618"
on_reboot = 'restart'
on_crash = 'restart'
boot='n'
when i start it :
xm create /etc/xen/fc7-pxe -c
Using config file "/etc/xen/fc7-pxe".
Error: No kernel specified
so what am i doing wrong ?
i am using xen-unstable from yesterday
thanks. Sven
xen-devel-bounces@lists.xensource.com wrote on 01/18/2007 10:01:44 AM:
> At 13:15 -0600 on 17 Jan (1169039714), Anthony Liguori wrote:
> > Sven Oehme wrote:
> > >
> > >Hi,
> > >
> > >i saw a bunch of patches from Anthony adding pxe support to qemu.
will
> > >that end in xen at some point , or is it already in ?
> > >i searched in the archives and also the source but couldn't find
> > >anything ..
> >
> > It should be there. The QEMU patches were inspired by Tim's Xen
> > patches. I've seen a few commits that have disabled/enabled Option
ROM
> > loading which would prevent the etherboot ROM from getting loaded.
> >
> > Should PXE booting work ATM Tim?
>
> Works for me in -unstable. Give the guest a vif, and choose boot=n.
>
> Cheers,
>
> Tim.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 2514 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-18 9:22 ` Sven Oehme
@ 2007-01-18 9:35 ` Tim Deegan
2007-01-18 9:38 ` Sven Oehme
0 siblings, 1 reply; 14+ messages in thread
From: Tim Deegan @ 2007-01-18 9:35 UTC (permalink / raw)
To: Sven Oehme; +Cc: Anthony Liguori, Tim Deegan, xen-devel
At 10:22 +0100 on 18 Jan (1169115756), Sven Oehme wrote:
> name = "fc7-pxe"
> memory = "256"
> disk = [ 'phy:vg01/fc7-pxe,xvda,w', ]
> vif = [ 'mac=66:22:aa:77:aa:89, bridge=xenbr0', ]
> vnc=1
> uuid = "57caa792-1234-773c-69a3-f1e0269d8618"
> on_reboot = 'restart'
> on_crash = 'restart'
> boot='n'
>
> when i start it :
>
> xm create /etc/xen/fc7-pxe -c
> Using config file "/etc/xen/fc7-pxe".
> Error: No kernel specified
>
> so what am i doing wrong ?
> i am using xen-unstable from yesterday
The guest needs to be a HVM guest -- look at /etc/xen/xmexample.hvm.
Off the top of my head, you are missing these two lines:
builder = 'hvm'
kernel = '/usr/lib/xen/boot/hvmloader'
Cheers,
Tim.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-18 9:35 ` Tim Deegan
@ 2007-01-18 9:38 ` Sven Oehme
2007-01-18 10:01 ` Tim Deegan
0 siblings, 1 reply; 14+ messages in thread
From: Sven Oehme @ 2007-01-18 9:38 UTC (permalink / raw)
Cc: Anthony Liguori, Tim Deegan, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1162 bytes --]
ok, that explains why it is not working with my PV guest.
are there plans to add this function to PV guests as well , i think here
is the most value ... and by the way where i need it :-)
Sven Oehme
Tim Deegan <Tim.Deegan@xensource.com>
01/18/07 10:35 AM
To
Sven Oehme/Germany/IBM@IBMDE
cc
Tim Deegan <Tim.Deegan@xensource.com>, Anthony Liguori
<aliguori@linux.vnet.ibm.com>, xen-devel@lists.xensource.com
Subject
Re: [Xen-devel] pxe support
At 10:22 +0100 on 18 Jan (1169115756), Sven Oehme wrote:
> name = "fc7-pxe"
> memory = "256"
> disk = [ 'phy:vg01/fc7-pxe,xvda,w', ]
> vif = [ 'mac=66:22:aa:77:aa:89, bridge=xenbr0', ]
> vnc=1
> uuid = "57caa792-1234-773c-69a3-f1e0269d8618"
> on_reboot = 'restart'
> on_crash = 'restart'
> boot='n'
>
> when i start it :
>
> xm create /etc/xen/fc7-pxe -c
> Using config file "/etc/xen/fc7-pxe".
> Error: No kernel specified
>
> so what am i doing wrong ?
> i am using xen-unstable from yesterday
The guest needs to be a HVM guest -- look at /etc/xen/xmexample.hvm.
Off the top of my head, you are missing these two lines:
builder = 'hvm'
kernel = '/usr/lib/xen/boot/hvmloader'
Cheers,
Tim.
[-- Attachment #1.2: Type: text/html, Size: 2271 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-18 9:38 ` Sven Oehme
@ 2007-01-18 10:01 ` Tim Deegan
2007-01-18 10:21 ` Sven Oehme
2007-01-18 22:14 ` Ian Pratt
0 siblings, 2 replies; 14+ messages in thread
From: Tim Deegan @ 2007-01-18 10:01 UTC (permalink / raw)
To: Sven Oehme; +Cc: Anthony Liguori, xen-devel
At 10:38 +0100 on 18 Jan (1169116728), Sven Oehme wrote:
> ok, that explains why it is not working with my PV guest.
> are there plans to add this function to PV guests as well
I don't know if anyone is working on it. It shouldn't be too hard to
put together some DHCP and TFTP clients to fake it out.
Jacob Gorm Hansen's got a project to do some in-domain bootloading for
PV guests, which might do what you need:
http://lists.xensource.com/archives/html/xen-devel/2007-01/msg00134.html
Cheers,
Tim.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-18 10:01 ` Tim Deegan
@ 2007-01-18 10:21 ` Sven Oehme
2007-01-18 22:14 ` Ian Pratt
1 sibling, 0 replies; 14+ messages in thread
From: Sven Oehme @ 2007-01-18 10:21 UTC (permalink / raw)
To: Tim Deegan; +Cc: Anthony Liguori, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 836 bytes --]
thanks for the info, i will have a look at least from the posting it looks
like what i am looking for ..
Sven
Tim Deegan <Tim.Deegan@xensource.com>
01/18/07 11:01 AM
To
Sven Oehme/Germany/IBM@IBMDE
cc
Anthony Liguori <aliguori@linux.vnet.ibm.com>,
xen-devel@lists.xensource.com
Subject
Re: [Xen-devel] pxe support
At 10:38 +0100 on 18 Jan (1169116728), Sven Oehme wrote:
> ok, that explains why it is not working with my PV guest.
> are there plans to add this function to PV guests as well
I don't know if anyone is working on it. It shouldn't be too hard to
put together some DHCP and TFTP clients to fake it out.
Jacob Gorm Hansen's got a project to do some in-domain bootloading for
PV guests, which might do what you need:
http://lists.xensource.com/archives/html/xen-devel/2007-01/msg00134.html
Cheers,
Tim.
[-- Attachment #1.2: Type: text/html, Size: 1669 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: pxe support
2007-01-18 10:01 ` Tim Deegan
2007-01-18 10:21 ` Sven Oehme
@ 2007-01-18 22:14 ` Ian Pratt
2007-01-22 9:55 ` Gerd Hoffmann
2007-01-24 15:53 ` Gerd Hoffmann
1 sibling, 2 replies; 14+ messages in thread
From: Ian Pratt @ 2007-01-18 22:14 UTC (permalink / raw)
To: Tim Deegan, Sven Oehme, Gerd Hoffmann; +Cc: Anthony Liguori, xen-devel
> At 10:38 +0100 on 18 Jan (1169116728), Sven Oehme wrote:
> > ok, that explains why it is not working with my PV guest.
> > are there plans to add this function to PV guests as well
>
> I don't know if anyone is working on it. It shouldn't be too hard to
> put together some DHCP and TFTP clients to fake it out.
> Jacob Gorm Hansen's got a project to do some in-domain bootloading for
> PV guests, which might do what you need:
>
http://lists.xensource.com/archives/html/xen-devel/2007-01/msg00134.html
There's also Gerd's domU kexec work.
I'd really like to see domU PV PXE boot support to complement the HVM
support. The easiest way might just be to hack something together in
dom0, though. 'tftpc' can be used to fetch the kernels. The easiest dhcp
client to use is probably udhcp. I'd probably hack it to take a MAC
address on the command line, and then exit after getting a response (or
timing out). We should be able to run udhcp against the guests's vif, or
possibly the bridge its connected to.
It would be excellent if someone could work on this and try and get a
patch into 3.0.5.
Thanks,
Ian
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-18 22:14 ` Ian Pratt
@ 2007-01-22 9:55 ` Gerd Hoffmann
2007-01-24 15:53 ` Gerd Hoffmann
1 sibling, 0 replies; 14+ messages in thread
From: Gerd Hoffmann @ 2007-01-22 9:55 UTC (permalink / raw)
To: Ian Pratt; +Cc: Anthony Liguori, Tim Deegan, xen-devel, Sven Oehme
> There's also Gerd's domU kexec work.
Kind of "on hold" right now due to being sidetracked with 32-on-64
stuff, hope I can come back to this soon. Should be easy to get pxe
work I think. The mini bootloader already can bring up the interface
using dhcp, it doesn't do anything useful with it yet though, I did this
more for network device handover testing. Fetching a kernel using tftpc
is easy to add.
cheers,
Gerd
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-18 22:14 ` Ian Pratt
2007-01-22 9:55 ` Gerd Hoffmann
@ 2007-01-24 15:53 ` Gerd Hoffmann
2007-01-24 15:57 ` Sven Oehme
1 sibling, 1 reply; 14+ messages in thread
From: Gerd Hoffmann @ 2007-01-24 15:53 UTC (permalink / raw)
To: Ian Pratt; +Cc: Anthony Liguori, Tim Deegan, xen-devel, Sven Oehme
Ian Pratt wrote:
> There's also Gerd's domU kexec work.
If you want to have something to play with:
http://www.suse.de/~kraxel/kexec/README.vmlinuz-xen-kboot
http://www.suse.de/~kraxel/kexec/vmlinuz-xen-kboot.32
[ the pae/64 kernels are not updated yet and
can boot from the virtual disk only ]
Put this into the xen config file:
kernel="/path/to/vmlinuz-xen-kboot.32"
extra="kernel=tftp:vmlinuz-xen"
extra="kernel=http://host/path/file" works too.
cheers,
Gerd
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: pxe support
2007-01-24 15:53 ` Gerd Hoffmann
@ 2007-01-24 15:57 ` Sven Oehme
0 siblings, 0 replies; 14+ messages in thread
From: Sven Oehme @ 2007-01-24 15:57 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: Anthony Liguori, Tim Deegan, xen-devel, Ian Pratt
[-- Attachment #1.1: Type: text/plain, Size: 870 bytes --]
i have a pae system, so have to wait until you updated them :-)
Sven
Gerd Hoffmann <kraxel@novell.com>
01/24/07 04:53 PM
To
Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
cc
Tim Deegan <Tim.Deegan@xensource.com>, Sven Oehme/Germany/IBM@IBMDE,
Anthony Liguori <aliguori@linux.vnet.ibm.com>,
xen-devel@lists.xensource.com, ian.pratt@cl.cam.ac.uk
Subject
Re: [Xen-devel] pxe support
Ian Pratt wrote:
> There's also Gerd's domU kexec work.
If you want to have something to play with:
http://www.suse.de/~kraxel/kexec/README.vmlinuz-xen-kboot
http://www.suse.de/~kraxel/kexec/vmlinuz-xen-kboot.32
[ the pae/64 kernels are not updated yet and
can boot from the virtual disk only ]
Put this into the xen config file:
kernel="/path/to/vmlinuz-xen-kboot.32"
extra="kernel=tftp:vmlinuz-xen"
extra="kernel=http://host/path/file" works too.
cheers,
Gerd
[-- Attachment #1.2: Type: text/html, Size: 1793 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-18 9:01 ` Tim Deegan
2007-01-18 9:22 ` Sven Oehme
@ 2007-01-18 10:45 ` Christoph Egger
2007-01-18 11:05 ` Sven Oehme
1 sibling, 1 reply; 14+ messages in thread
From: Christoph Egger @ 2007-01-18 10:45 UTC (permalink / raw)
To: xen-devel
On Thursday 18 January 2007 10:01, Tim Deegan wrote:
> At 13:15 -0600 on 17 Jan (1169039714), Anthony Liguori wrote:
> > Sven Oehme wrote:
> > >Hi,
> > >
> > >i saw a bunch of patches from Anthony adding pxe support to qemu. will
> > >that end in xen at some point , or is it already in ?
> > >i searched in the archives and also the source but couldn't find
> > >anything ..
> >
> > It should be there. The QEMU patches were inspired by Tim's Xen
> > patches. I've seen a few commits that have disabled/enabled Option ROM
> > loading which would prevent the etherboot ROM from getting loaded.
> >
> > Should PXE booting work ATM Tim?
>
> Works for me in -unstable. Give the guest a vif, and choose boot=n.
There's no explicit PXE support needed in Xen. All what you need is a
bootmanager, which passes a multiboot header to Xen. That's all.
PXE bootmanagers which support multiboot are PXELinux and PXEGrub
(I'm aware of these two. I don't know if there are more.).
Both work fine for me. I use them regularly for development/testing.
It makes more fun to build a kernel and boot it from network. It saves
me a double reboot.
Christoph
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: pxe support
2007-01-18 10:45 ` Christoph Egger
@ 2007-01-18 11:05 ` Sven Oehme
0 siblings, 0 replies; 14+ messages in thread
From: Sven Oehme @ 2007-01-18 11:05 UTC (permalink / raw)
To: Christoph Egger; +Cc: xen-devel, xen-devel-bounces
[-- Attachment #1.1: Type: text/plain, Size: 2525 bytes --]
maybe i explain a bit more what i try to do, may be you are right and all
this exists ...
i want to configure _somewhere_ in a central repository all
information's for all my domU's using the mac as reference, so my domU
will look like this :
name = "rhel4-1"
memory = "256"
vif = [ 'type=ioemu, mac=00:16:3e:20:2b:7d, bridge=xenbr0', ]
in my "central repository" what ever that will be i want to specify the
following :
ip = "192.168.0.230"
netmask = "255.255.255.0"
gateway = "192.168.0.1"
hostname = "rhel4-1"
root = "/dev/nfs"
nfs_server = "192.168.0.1"
nfs_root = "/nfsroots/rhel4-1"
now i have a bunch of dom0 systems that boot up and run various xm creates
each domU should now make a "broadcast" in the net and based on the mac it
gets all the infos i stored in the repository and boots up the system over
nfs.
i don't want to story _anything_ on the dom0 as i want to boot them as
well over pxe, cd or from usb and the domU config files this node will
start are created at boot time with a shell script based on some info's
the dom0 retrieves at boot time.
Sven
Xen-devel-bounces@lists.xensource.com wrote on 01/18/2007 11:45:03 AM:
> On Thursday 18 January 2007 10:01, Tim Deegan wrote:
> > At 13:15 -0600 on 17 Jan (1169039714), Anthony Liguori wrote:
> > > Sven Oehme wrote:
> > > >Hi,
> > > >
> > > >i saw a bunch of patches from Anthony adding pxe support to qemu.
will
> > > >that end in xen at some point , or is it already in ?
> > > >i searched in the archives and also the source but couldn't find
> > > >anything ..
> > >
> > > It should be there. The QEMU patches were inspired by Tim's Xen
> > > patches. I've seen a few commits that have disabled/enabled Option
ROM
> > > loading which would prevent the etherboot ROM from getting loaded.
> > >
> > > Should PXE booting work ATM Tim?
> >
> > Works for me in -unstable. Give the guest a vif, and choose boot=n.
>
> There's no explicit PXE support needed in Xen. All what you need is a
> bootmanager, which passes a multiboot header to Xen. That's all.
>
> PXE bootmanagers which support multiboot are PXELinux and PXEGrub
> (I'm aware of these two. I don't know if there are more.).
> Both work fine for me. I use them regularly for development/testing.
>
> It makes more fun to build a kernel and boot it from network. It saves
> me a double reboot.
>
> Christoph
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 3794 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-01-24 15:57 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-17 18:46 pxe support Sven Oehme
2007-01-17 19:15 ` Anthony Liguori
2007-01-18 9:01 ` Tim Deegan
2007-01-18 9:22 ` Sven Oehme
2007-01-18 9:35 ` Tim Deegan
2007-01-18 9:38 ` Sven Oehme
2007-01-18 10:01 ` Tim Deegan
2007-01-18 10:21 ` Sven Oehme
2007-01-18 22:14 ` Ian Pratt
2007-01-22 9:55 ` Gerd Hoffmann
2007-01-24 15:53 ` Gerd Hoffmann
2007-01-24 15:57 ` Sven Oehme
2007-01-18 10:45 ` Christoph Egger
2007-01-18 11:05 ` Sven Oehme
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.