kldload mpt(4) doesn't work.
Norikatsu Shigemura
nork at FreeBSD.org
Sat Dec 9 11:08:14 PST 2006
>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 at 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 ---
More information about the freebsd-scsi
mailing list