From nobody@FreeBSD.org  Sat Sep 29 16:46:55 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E285716A417
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Sep 2007 16:46:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C8BBC13C44B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Sep 2007 16:46:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8TGktxR091833
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Sep 2007 16:46:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l8TGktXq091832;
	Sat, 29 Sep 2007 16:46:55 GMT
	(envelope-from nobody)
Message-Id: <200709291646.l8TGktXq091832@www.freebsd.org>
Date: Sat, 29 Sep 2007 16:46:55 GMT
From: OISHI Masakuni <yamasa@bsdhouse.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: iscsi_initiator.ko is missing the dependency to CAM.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         116745
>Category:       kern
>Synopsis:       [iscsi] [patch] iscsi_initiator.ko is missing the dependency to CAM.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    antoine
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 29 16:50:01 GMT 2007
>Closed-Date:    Tue May 27 18:36:19 UTC 2008
>Last-Modified:  Tue May 27 18:36:19 UTC 2008
>Originator:     OISHI Masakuni
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
FreeBSD luminous.bsdhouse.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Sep 29 23:33:22 JST 2007     root@luminous.bsdhouse.org:/usr/obj/usr/src/sys/LUMINOUS  i386
>Description:
iscsi_initiator.ko cannot resolve CAM related symbols.
This problem is the same as kern/106543.
>How-To-Repeat:
Boot from the kernel without "device scbus", and
# kldload cam
# kldload iscsi_initiator
>Fix:
--- sys/dev/iscsi/initiator/iscsi.c.old 2007-07-25 00:35:02.000000000 +0900
+++ sys/dev/iscsi/initiator/iscsi.c     2007-09-29 12:12:09.857058108 +0900
@@ -808,3 +808,4 @@
 };
 
 DECLARE_MODULE(iscsi, iscsi_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE);
+MODULE_DEPEND(iscsi, cam, 1, 1, 1);


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: antoine 
State-Changed-When: Sun Apr 20 15:57:16 UTC 2008 
State-Changed-Why:  
Patched in HEAD. 


Responsible-Changed-From-To: freebsd-bugs->antoine 
Responsible-Changed-By: antoine 
Responsible-Changed-When: Sun Apr 20 15:57:16 UTC 2008 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116745 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/116745: commit references a PR
Date: Sun, 20 Apr 2008 15:57:07 +0000 (UTC)

 antoine     2008-04-20 15:56:59 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/iscsi/initiator iscsi.c 
   Log:
   Record the dependency of the iscsi initiator on cam.
   
   PR:             116745
   Submitted by:   OISHI Masakuni
   Approved by:    rwatson (mentor)
   MFC after:      1 month
   
   Revision  Changes    Path
   1.2       +1 -0      src/sys/dev/iscsi/initiator/iscsi.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/116745: commit references a PR
Date: Tue, 27 May 2008 18:27:58 +0000 (UTC)

 antoine     2008-05-27 18:27:51 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     sys/dev/iscsi/initiator iscsi.c 
   Log:
   MFC to RELENG_7:
     Record the dependency of the iscsi initiator on cam.
   
     PR:             116745
     Submitted by:   OISHI Masakuni
     Approved by:    rwatson (mentor)
     MFC after:      1 month
   
   Revision  Changes    Path
   1.1.2.1   +1 -0      src/sys/dev/iscsi/initiator/iscsi.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: antoine 
State-Changed-When: Tue May 27 18:35:39 UTC 2008 
State-Changed-Why:  
Patch committed in HEAD and RELENG_7, thanks for the report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116745 
>Unformatted:
