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 root

To: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] iSCSI root
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 29 Aug 2004 02:04:26 +0100
Cc: brianw@xxxxxxxxxxxx, "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 29 Aug 2004 02:17:01 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Sun, 29 Aug 2004 10:41:24 +1000." <8D79F272-4D0C-426A-B295-ABCE399C2422@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
That's a rather odd thing to do, as it's not like there's a generic
EXPORT_SYMBOL'ed way to e.g. open a file. I can't imagine why they'd
have removed all wrappers except execve.

Easiest workaround is just to roll your own wrappers around the
syscalls using the _syscall* macros. 

 -- Keir


> Speaking of compiling, iscsi-init doesn't seem to compile for me under 
> 2.6.8.1. It tells me this:
> 
> make -C /lib/modules/2.6.8.1-xenU/build SUBDIRS=/usr/src/iscsi-init-4.0.1 
> modules
> make[1]: Entering directory `/usr/src/xeno-unstable.bk/linux-2.6.8.1-xenU'
>   Building modules, stage 2.
>   MODPOST
> *** Warning: "close" [/usr/src/iscsi-init-4.0.1/iscsi_init.ko] undefined!
> *** Warning: "read" [/usr/src/iscsi-init-4.0.1/iscsi_init.ko] undefined!
> *** Warning: "open" [/usr/src/iscsi-init-4.0.1/iscsi_init.ko] undefined!
> make[1]: Leaving directory `/usr/src/xeno-unstable.bk/linux-2.6.8.1-xenU'
> 
> and then of course close, read, and open are missing symbols.
> 
> it looks like the definitions from <asm/unistd.h> have been taken away 
> between 2.6.7 and 2.6.8. Any idea's what should replace them? What should 
> kernel code use for opening, reading, and closing files?


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>