From: James Harper Subject: RE: iscsi patch Date: Tue, 24 Aug 2004 11:28:03 +1000 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <11CD4A5A-2489-4F8F-99D7-A92C982617AF@mimectl> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_BA538DCE-71FD-4A83-AF28-77A0A711591E_" Return-path: In-Reply-To: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: Cc: "xen-devel@lists.sourceforge.net" , Ian.Pratt@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org --_BA538DCE-71FD-4A83-AF28-77A0A711591E_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable actually, to make it for xenU from xen0 (no compiler tools in xenU on my se= tup), i have to also replace all occurances 'uname -r' with something that = gives me '2.6.7-xenU' (eg echo 2.6.7-xenU) in both the makefile and install= .sh files. it's a bit of a pain. the initrd comment is true though, unless iscsi (built in to the kernel) co= uld be convinced to connect via a kernel parameter... that seems a bit extr= eme though when an initrd would solve the problem nicely. as for patches, would a patch.d directory be out of the question? something= that the makefile could call via run-parts after extracting each source tr= ee? It could pass the name of the source tree as a parameter. The patch.d d= irectory would contain scripts that actually apply the patches. James From: Ian Pratt Sent: Tue 24/08/2004 12:42 AM To: James Harper Cc: xen-devel@lists.sourceforge.net; Ian.Pratt@cl.cam.ac.uk Subject: Re: [Xen-devel] iscsi patch > what's the best way of setting up the source tree so that 'make linux26' = will automagically apply a given patch to a particular source tree? eg iscs= i initiator patch to 2.6.7-xenU. I find it easy to build the iscsi initiator module outside the kernel tree. [Even if you build it into the kernel you'll still need an initrd anyhow] Just edit TOPDIR and KDIR, then "make ARCH=3Dxen". If you want to apply it as a patch, you could follow the ebtables example in the to-level Makefiles. Ian --_BA538DCE-71FD-4A83-AF28-77A0A711591E_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
actually, to mak= e it for xenU from xen0 (no compiler tools in xenU on my setup), i have to = also replace all occurances 'uname -r' with something that gives me '2.6.7-= xenU' (eg echo 2.6.7-xenU) in both the makefile and install.sh files. it's = a bit of a pain.
 
the initrd comment is true thoug= h, unless iscsi (built in to the kernel) could be convinced to connect via&= nbsp;a kernel parameter... that seems a bit extreme though when an initrd w= ould solve the problem nicely.
 
as for patches, would a patch.d = directory be out of the question? someth= ing that the makefile could call via run-parts after extracting each source= tree? It could pass the name of the source tree as a parameter. The patch.= d directory would contain scripts that actually apply the patches.
 
James
 
 


From: Ian Pratt
Sent: Tue 24/= 08/2004 12:42 AM
To: James Harper
Cc: xen-devel@lists.s= ourceforge.net; Ian.Pratt@cl.cam.ac.uk
Subject: Re: [Xen-devel] i= scsi patch

> what's the best way of setti=
ng up the source tree so that 'make linux26' will automagically apply a giv=
en patch to a particular source tree? eg iscsi initiator patch to 2.6.7-xen=
U.

I find it easy to build the iscsi initiator module outside the
kernel tree. [Even if you build it into the kernel you'll still
need an initrd anyhow]

Just edit TOPDIR and KDIR, then "make ARCH=3Dxen".

If you want to apply it as a patch, you could follow the
ebtables example in the to-level Makefiles.

Ian
--_BA538DCE-71FD-4A83-AF28-77A0A711591E_-- ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285