From: James Harper Subject: RE: iscsi patch Date: Tue, 24 Aug 2004 21:15:35 +1000 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <83033DD7-5F6F-41DF-A429-ED9FD4A563CB@mimectl> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_1A5FA559-3C85-4993-866B-45DB649181E3_" Return-path: In-Reply-To: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: Cc: Ian Pratt , "xen-devel@lists.sourceforge.net" List-Id: xen-devel@lists.xenproject.org --_1A5FA559-3C85-4993-866B-45DB649181E3_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable i hadn't thought of doing that. I make it hard for myself sometimes!!! there's an iscsi-boot program which I can't get working - are there some ne= twork ioctl's not implemented under xen? It seems to be a minimal iscsid wh= ich doesn't persist but connects the root filesystem. Maybe it isn't mainta= ined anymore but it's in utils. James From: Ian Pratt Sent: Tue 24/08/2004 5:49 PM To: James Harper Cc: Ian Pratt; xen-devel@lists.sourceforge.net; Ian.Pratt@cl.cam.ac.uk Subject: Re: [Xen-devel] iscsi patch > actually, to make it for xenU from xen0 (no compiler tools in xenU on my = setup), i have to also replace all occurances 'uname -r' with something tha= t gives me '2.6.7-xenU' (eg echo 2.6.7-xenU) in both the makefile and insta= ll.sh files. it's a bit of a pain. Hmm, I'm not sure why you had to do that. I build on a totally different system to the one I'm installing on (it runs a 2.4 kernel) and other than editing TOPDIR and KDIR everything worked fine if I did a "make ARCH=3Dxen", and then did a "make ARCH=3Dxen install" on the target system (it shouldn't rebuild anything, so you won't need a compiler). > the initrd comment is true though, unless iscsi (built in to the kernel) = could be convinced to connect via a kernel parameter... that seems a bit ex= treme though when an initrd would solve the problem nicely. Adding a kernel command line parameter to do this would be tough -- iscsid is a big daemon and setting up a connection to an iscsi disk is really quite complex. Ian --_1A5FA559-3C85-4993-866B-45DB649181E3_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
i hadn't thought= of doing that. I make it hard for myself sometimes!!!
 
there's an iscsi-boot program wh= ich I can't get working - are there some network ioctl's not implemented un= der xen? It seems to be a minimal iscsid which doesn't persist but connects= the root filesystem. Maybe it isn't maintained anymore but it's in utils.<= /FONT>
 
James


From: Ian Pratt
Sent: Tue 24/= 08/2004 5:49 PM
To: James Harper
Cc: Ian Pratt; xen-dev= el@lists.sourceforge.net; Ian.Pratt@cl.cam.ac.uk
Subject: Re: [Xe= n-devel] iscsi patch

> actually, to make it for xen=
U 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 ec=
ho 2.6.7-xenU) in both the makefile and install.sh files. it's a bit of a p=
ain.

Hmm, I'm not sure why you had to do that. I build on a totally
different system to the one I'm installing on (it runs a 2.4
kernel) and other than editing TOPDIR and KDIR everything worked
fine if I did a "make ARCH=3Dxen", and then did a "make ARCH=3Dxen install"
on the target system (it shouldn't rebuild anything, so you won't
need a compiler).

> the initrd comment is true though, unless iscsi (built in to the kerne=
l) could be convinced to connect via a kernel parameter... that seems a bit=
 extreme though when an initrd would solve the problem nicely.

Adding a kernel command line parameter to do this would be tough
-- iscsid is a big daemon and setting up a connection to an iscsi
disk is really quite complex.

Ian
--_1A5FA559-3C85-4993-866B-45DB649181E3_-- ------------------------------------------------------- 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