From owner-freebsd-scsi@FreeBSD.ORG Sat Dec 9 19:08:14 2006 Return-Path: X-Original-To: scsi@FreeBSD.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20F9716A4B3; Sat, 9 Dec 2006 19:08:14 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 295BD43C9D; Sat, 9 Dec 2006 19:07:07 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.8/8.13.8/NinthNine) with SMTP id kB9J8B91040458; Sun, 10 Dec 2006 04:08:11 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 10 Dec 2006 04:08:11 +0900 From: Norikatsu Shigemura To: FreeBSD-gnats-submit@FreeBSD.org Message-Id: <20061210040811.83f1171e.nork@FreeBSD.org> X-Mailer: Sylpheed version 2.3.0beta5 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Sun, 10 Dec 2006 04:08:12 +0900 (JST) Cc: scsi@FreeBSD.org, ken@FreeBSD.org, Norikatsu Shigemura , Matt Jacob Subject: kldload mpt(4) doesn't work. X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2006 19:08:14 -0000 >Submitter-Id: current-users >Originator: Norikatsu Shigemura >Organization: Ensure Technology LTD. >Confidential: no >Synopsis: kldload mpt(4) doesn't work. >Severity: critical >Priority: high >Category: kern >Class: sw-bug >Release: FreeBSD 6.2-PRERELEASE i386 >Environment: System: FreeBSD melfina.ninth-nine.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #39: Thu Nov 16 05:36:03 JST 2006 nork@melfina.ninth-nine.com:/usr/obj/usr/src/sys/MELFINA i386 >Description: I would try to kldload mpt(4). But no works. Because mpt.ko couldn't resolve cam related symbols. >How-To-Repeat: # kldload mpt kldload: can't load mpt: No such file or directory # dmesg link_elf: symbol xpt_periph undefined >Fix: SEE ALSO: http://lists.freebsd.org/pipermail/freebsd-current/2004-September/037056.html http://lists.freebsd.org/pipermail/freebsd-current/2004-September/037065.html http://lists.freebsd.org/pipermail/freebsd-current/2004-September/037067.html http://lists.freebsd.org/pipermail/freebsd-current/2004-September/037071.html http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061908.html http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061908.html http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061923.html http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061925.html http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061926.html http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061930.html http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061946.html http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061965.html http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061924.html http://www.freebsd.org/cgi/query-pr.cgi?pr=105989 mpt62.diff: for RELENG_6_2 mpt6x.diff: for RELENG_6 mpt70.diff: for HEAD --- mpt62.diff begins here --- Index: mpt_pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/mpt/mpt_pci.c,v retrieving revision 1.20.2.6 diff -u -r1.20.2.6 mpt_pci.c --- mpt_pci.c 16 Sep 2006 05:42:06 -0000 1.20.2.6 +++ mpt_pci.c 9 Dec 2006 18:54:29 -0000 @@ -211,6 +211,8 @@ static devclass_t mpt_devclass; DRIVER_MODULE(mpt, pci, mpt_driver, mpt_devclass, 0, 0); MODULE_VERSION(mpt, 1); +MODULE_DEPEND(mpt, cam, 1, 1, 1); +MODULE_DEPEND(mpt, pci, 1, 1, 1); static int mpt_pci_probe(device_t dev) --- mpt62.diff ends here --- --- mpt6x.diff begins here --- Index: mpt_pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/mpt/mpt_pci.c,v retrieving revision 1.20.2.6 diff -u -r1.20.2.6 mpt_pci.c --- mpt_pci.c 16 Sep 2006 05:42:06 -0000 1.20.2.6 +++ mpt_pci.c 9 Dec 2006 18:53:10 -0000 @@ -211,6 +211,8 @@ static devclass_t mpt_devclass; DRIVER_MODULE(mpt, pci, mpt_driver, mpt_devclass, 0, 0); MODULE_VERSION(mpt, 1); +MODULE_DEPEND(mpt, cam, 1, 1, 1); +MODULE_DEPEND(mpt, pci, 1, 1, 1); static int mpt_pci_probe(device_t dev) --- mpt6x.diff ends here --- --- mpt7x.diff begins here --- Index: mpt_pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/mpt/mpt_pci.c,v retrieving revision 1.44 diff -u -r1.44 mpt_pci.c --- mpt_pci.c 19 Nov 2006 23:24:52 -0000 1.44 +++ mpt_pci.c 9 Dec 2006 18:52:27 -0000 @@ -211,6 +211,8 @@ static devclass_t mpt_devclass; DRIVER_MODULE(mpt, pci, mpt_driver, mpt_devclass, 0, 0); MODULE_VERSION(mpt, 1); +MODULE_DEPEND(mpt, cam, 1, 1, 1); +MODULE_DEPEND(mpt, pci, 1, 1, 1); static int mpt_pci_probe(device_t dev) --- mpt7x.diff ends here ---