[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] iSCSI root



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.