From: Keir Fraser Subject: Re: iSCSI root Date: Sun, 29 Aug 2004 02:04:26 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: <8D79F272-4D0C-426A-B295-ABCE399C2422@mimectl> Return-path: In-Reply-To: Your message of "Sun, 29 Aug 2004 10:41:24 +1000." <8D79F272-4D0C-426A-B295-ABCE399C2422@mimectl> Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: James Harper Cc: brianw@terrabox.com, "xen-devel@lists.sourceforge.net" List-Id: xen-devel@lists.xenproject.org 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 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