kldload ciss(4) didn't work.

重村法克 n-shigemura at ensure.jp
Tue Nov 28 23:24:14 PST 2006


>Submitter-Id:	current-users
>Originator:	Norikatsu Shigemura
>Organization:	Ensure Technology LTD.
>Confidential:	no
>Synopsis:	kldload ciss(4) didn't work.
>Severity:	critical
>Priority:	high
>Category:	kern
>Class:		sw-bug
>Release:	FreeBSD 6.1-RELEASE-p10 i386
>Environment:
System: FreeBSD XXXXX.ensure.ne.jp 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #10: Tue Oct 10 21:29:44 JST 2006 barista at XXXXX.ensure.ne.jp:/usr/obj/usr/src/sys/BARISTA i386

	HP DL360G4p (UltraSCSI 146GB x2 / RAID1)

>Description:
	I would try to kldload ciss(4).  But not works.  Because ciss.ko
	couldn't resolve cam related symbols.

>How-To-Repeat:
	# kldload ciss
	kldload: can't load ciss: 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

--- ciss7.diff begins here ---
Index: ciss.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ciss/ciss.c,v
retrieving revision 1.73
diff -u -r1.73 ciss.c
--- ciss.c	2 Nov 2006 00:54:36 -0000	1.73
+++ ciss.c	29 Nov 2006 03:04:40 -0000
@@ -219,6 +219,8 @@
 
 static devclass_t	ciss_devclass;
 DRIVER_MODULE(ciss, pci, ciss_pci_driver, ciss_devclass, 0, 0);
+MODULE_DEPEND(ciss, cam, 1, 1, 1);
+MODULE_DEPEND(ciss, pci, 1, 1, 1);
 
 /*
  * Control device interface.
--- ciss7.diff ends here ---

--- ciss6.diff begins here ---
Index: ciss.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ciss/ciss.c,v
retrieving revision 1.64.2.3
diff -u -r1.64.2.3 ciss.c
--- ciss.c	10 May 2006 19:06:35 -0000	1.64.2.3
+++ ciss.c	29 Nov 2006 03:03:00 -0000
@@ -220,6 +220,8 @@
 
 static devclass_t	ciss_devclass;
 DRIVER_MODULE(ciss, pci, ciss_pci_driver, ciss_devclass, 0, 0);
+MODULE_DEPEND(ciss, cam, 1, 1, 1);
+MODULE_DEPEND(ciss, pci, 1, 1, 1);
 
 /*
  * Control device interface.
--- ciss6.diff ends here ---


More information about the freebsd-scsi mailing list