Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340449 - sys-block/iscsitarget-1.4.20.2: version bump
Summary: sys-block/iscsitarget-1.4.20.2: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://sourceforge.net/projects/iscsi...
Whiteboard:
Keywords:
: 347527 (view as bug list)
Depends on:
Blocks: 325181 340775 345853
  Show dependency tree
 
Reported: 2010-10-11 02:46 UTC by Stefan Behte (RETIRED)
Modified: 2013-01-03 16:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild (iscsitarget-1.4.20.2.ebuild,1.91 KB, text/plain)
2010-10-13 11:47 UTC, Tom Ribbens
Details
iscsitarget-1.4.20.2.ebuild (iscsitarget-1.4.20.2.ebuild,1.89 KB, text/plain)
2010-11-23 01:46 UTC, Stefan Behte (RETIRED)
Details
iscsitarget-1.4.20.2+linux-2.6.36.patch (iscsitarget-1.4.20.2+linux-2.6.36.patch,339 bytes, text/plain)
2010-11-23 01:47 UTC, Stefan Behte (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Behte (RETIRED) gentoo-dev Security 2010-10-11 02:46:20 UTC
It got *many* important fixes:

New Features:
- Added ability to atomically delete all targets/sessions/connections
- Added support for logical sector sizes (512, 1024, 2048, 4096)
  and devices whose native sector size > 512

Fixes:
- Fixed bug with reservation release during session deletion
- Fixed compliance issues around ABORT TASK/ABORT TASK SET
- Fixed fileio so it should work with all file system types
- Fixed session and connection reinstatement to work per RFC
- Fixed performance issue with CFQ scheduler
- Fixed race condition between issuing ioctls during kernel cleanup
- Fixed race condition between ietd shutdown and initiators which
  would cause initiators to fail to reconnect properly
- Fixed a race condition with data-out handling with multiple
  connections per session
- Fixed possible wthread lost wakeup condition when the number of
  wthreads is less then the number of CPUs/cores.
- memory leak in the iSNS ACL code
- the kernel module allocating UAs in atomic context could cause a soft lockup
- handling iSCSI logins was faulty, causing issues with QLogic HBAs
- ietd was not sufficiently protected against multiple instances
- ietd exited when trying to remove targets with active sessions
- MD5/SHA-1 used for CHAP authentication were faulty on big endian platforms
Comment 1 Tom Ribbens 2010-10-13 11:47:56 UTC
Created attachment 250449 [details]
New ebuild

Since I need this rather quickly, I tried myself of modifying the ebuild so I could get the version bumped. Basically all I did was remove the patchlines for the files it was giving errors on, and then it compiled flawlessly for me.
Comment 2 Stefan Behte (RETIRED) gentoo-dev Security 2010-11-23 01:41:29 UTC
The NIPQUAD marco was removed in 2.6.36, so this needs an additional patch.
Comment 3 Stefan Behte (RETIRED) gentoo-dev Security 2010-11-23 01:46:27 UTC
Created attachment 255157 [details]
iscsitarget-1.4.20.2.ebuild

new build, also fixes #325181
Comment 4 Stefan Behte (RETIRED) gentoo-dev Security 2010-11-23 01:47:54 UTC
Created attachment 255159 [details]
iscsitarget-1.4.20.2+linux-2.6.36.patch

Patch for 2.6.36 compatibility
Comment 5 Martin Samek 2010-12-08 13:54:41 UTC
Please bump Portage tree. There is no working ebuild for 2.6.36 kernel.
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2010-12-14 10:17:20 UTC
*** Bug 347527 has been marked as a duplicate of this bug. ***
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2010-12-15 11:51:25 UTC
Bumped hard masked.  I have no hardware whatsoever. If you are brave, please test and report back here or by email.
Comment 8 Leho Kraav (:macmaN @lkraav) 2010-12-15 17:31:22 UTC
i have been running 1.4.20.2 for a while with no problems. current ebuild is failing patch:

 * Failed Patch: iscsitarget-1.4.18+linux-2.6.32.patch !
 *  ( /mnt/datapool/gentoo/portage/sys-block/iscsitarget/files/iscsitarget-1.4.18+linux-2.6.32.patch )

iirc, i just commented out all patches in my overlay for it compile just fine.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2010-12-16 00:17:55 UTC
(In reply to comment #8)
> i have been running 1.4.20.2 for a while with no problems. current ebuild is
> failing patch:
> 
>  * Failed Patch: iscsitarget-1.4.18+linux-2.6.32.patch !
>  *  (
> /mnt/datapool/gentoo/portage/sys-block/iscsitarget/files/iscsitarget-1.4.18+linux-2.6.32.patch
> )

My bad.  Resync in about 1 hour and try again.
Comment 10 Stefan Behte (RETIRED) gentoo-dev Security 2010-12-17 01:09:10 UTC
Thanks fauli!

sys-block/iscsitarget-1.4.20.2 works like a charm for me for a few weeks now. There is no reason for hardmasking IMHO, let's put it in ~arch.