I added packages for the LIO target, which is in kernel since 2.6.38. This might help somebody.
The admintool is targetcli/rtsadmin: https://aur.archlinux.org/packages.php?ID=52905
Search Criteria
Package Details: iscsitarget-kernel 1.4.20.1-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2011-02-21)
| Package Base: | iscsitarget-kernel |
|---|---|
| Description: | An opensource iSCSI target - kernel module |
| Upstream URL: | http://iscsitarget.sourceforge.net |
| Category: | modules |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 1 |
| First Submitted: | 2009-02-20 15:10 |
| Last Updated: | 2010-07-05 07:51 |
Required by (1)
Sources
Latest Comments
Comment by JonnyJD
Comment by macxcool
If one is setting up an NAS with iscsi though, perhaps the kernel26-lts is a better way to go. Nobody would want this kind of breakage on a production server and the setup for kernel26-lts works perfectly.
Anonymous comment
It broke again with kernel 2.6.38. Attached is a PKGBUILD that adds a further patch for kernel 2.6.38
I also made the script check for the existence of the patches (locally) as the SVN access to generate/fetch the patches take ages (at least for me). This made re-running the script quicker whilst I got it working.
There should be a v1.4.20.3 of the upstream package soon that will incorporate these patches.
http://pastebin.com/8e0gZskd
Anonymous comment
Below is an updated PKGBUILD for v1.4.20.2 and compilation with kernel 2.6.36.x and 2.6.37.x. Beware that upstream v1.4.20.2 does not compile with these kernels, so three patches are pulled from SVN in the PKGBUILD to fix compilation.
http://pastebin.com/4NVg8j6c
Comment by theking2
open-iscsi might be a better project, until haary keeps up the work
Comment by theking2
cc: /lib/modules/2.6.37-ARCH/build/include/linux/version.h: No such file or directory
Comment by theking2
I'd add ,'x86_64' to the arch list but still get the error is not available for the 'x86_64' architecture. How do I create the package for x86_64?
Comment by zatricky
Build shouldn't ever require root access :-/
> make[1]: Leaving directory `/usr/src/linux-2.6.32-lts'
> install: cannot create directory /lib/modules/2.6.32-lts/extra: Permission denied
When building the package for pacman, it is supposed to "install" into the package's folders inside the build directory, *not* into the live system.
This build directory is then compressed into a pacman package which can *then* be installed properly.
Anonymous comment
Latest iscsitarget v1.4.20.2 doesn't build on kernel 2.6.36, it needs a specific fix committed in upstream SVN r373.
I've updated the PKGBUILD to v1.4.20.2, included patching for the 2.6.36 kernel, added x86_64 and fixed "DISTDIR" -> "DESTDIR".
You can get it from:
http://pastebin.ca/2003049
Comment by therp
Is there a reason this package is i686 only? I added x86_64 and it seems to work just fine.
Anonymous comment
New upstream version 1.4.20.1, patch is no longer necessary
Anonymous comment
New upstream version 1.4.20. It includes a patch for the Makefile, because utsrelease.h in Arch is located in include/generated, not in include/linux.