WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] iscsi patch

To: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] iscsi patch
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 24 Aug 2004 14:17:17 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Tue, 24 Aug 2004 14:25:07 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 24 Aug 2004 22:54:40 +1000." <7EBA88E5-18A3-45D6-8020-E957EF652D6F@mimectl>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> iscsi-boot appears to try and bring up the network interface and give it an 
> address and route. unfortunately it says this instead (under an initrd 
> environment):
> iSCSI: error in getting interface name
> : No such device
> iSCSI: Error in bringing up the network interface

Are you sure you're bringing up the network interface before
trying to start iscsi-boot? Put an 'ifconfig eth0' in your
initrd.

(You need to enable CONFIG_IP_PNP if you want to set the ip
address on the command line)

> when I try to run iscsid under initrd it says 
> all isc1093350010.49159 >> iscsid[97]: iSCSI session ioctl failed for <snip>, 
> Can not allocate memory: Cannot allocate memory
> 
> any ideas? something is obviously different about initrd but i can't put my 
> finger on what. it's starting to drive me crazy!

I'd get strace on your initrd and start both commands under
strace.

Are you sure you've got the scsi, sd and iscsi_sfnet modules all
loaded OK? (stick cat /proc/modules in your initrd).

To make life easy for myself I've often got initrd's working
using bash before switching to nash to save memory. ldd will tell
you what libraries you need to copy across.

Ian


-------------------------------------------------------
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel