NetBSD Problem Report #46624
From martin@aprisoft.de Sat Jun 23 11:09:06 2012
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 0BB8463B85F
for <gnats-bugs@gnats.NetBSD.org>; Sat, 23 Jun 2012 11:09:06 +0000 (UTC)
Message-Id: <20120623110852.2E6BBAF580E@emmas.aprisoft.de>
Date: Sat, 23 Jun 2012 13:08:52 +0200 (CEST)
From: martin@NetBSD.irg
Reply-To: martin@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: endianess issue in iscsi-target and/or LUN handling bug in iscsi module
X-Send-Pr-Version: 3.95
>Number: 46624
>Category: kern
>Synopsis: endianess issue in iscsi-target and/or LUN handling bug in iscsi module
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: martin
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 23 11:10:00 +0000 2012
>Last-Modified: Sat Jun 23 11:10:54 +0000 2012
>Originator: Martin Husemann
>Release: NetBSD 6.99.7
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 6.99.7 NetBSD 6.99.7 (MODULAR) #189: Mon Jun 18 11:01:49 CEST 2012 martin@emmas.aprisoft.de:/nelly/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:
It is very easy to play with iscsi connections on NetBSD (5 or newer). On
one machine, run: "iscsi-target", this will export a single 100MB disk backed
up by storage in /tmp. On the other machine do:
iscsid
iscsictl add_send_target -a (ip-of-target-machine)
iscsictl refresh_targets
iscsictl login -P 2
Now you should get a scsibus and a single sd device attached.
This works with iscsi-target running on i386/amd64 machines. However, if
the target runs on sparc64, you will get sd0, sd1, ... sd15 attached.
This sure looks like a bug in iscsi-target, but testing that target with
Windows shows no duplicated luns - which does not tell much, however.
>How-To-Repeat:
s/a
>Fix:
I'll have a look, but can't right now - filing PR as a reminder.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Sat, 23 Jun 2012 11:10:54 +0000
Responsible-Changed-Why:
I'll have a look, but feel free to beat me to it and take over maintainership
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.