Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2008 16:30:36 +0300
From:      "R.Mahmatkhanov" <cvs-src@yandex.ru>
To:        freebsd-current@freebsd.org
Subject:   Typo in /usr/src/sys/cam/cam_xpt.c
Message-ID:  <479C877C.30603@yandex.ru>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090805080403060902090107
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Good day!
I just saw it in dmesg:

Jan 27 02:04:49 nx7400 kernel: xptioctl: pass driver is not in the kernel
Jan 27 02:04:49 nx7400 kernel: xptioctl: put "device pass0" in your
kernel config file

I think it's bad suggestion, because we have not pass0 device option:

- --------------------------------------------------------------
>>> stage 1: configuring the kernel
- --------------------------------------------------------------
cd /usr/src/sys/i386/conf;
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 config  -d /usr/obj/usr/src/sys/GENERIC2  /usr/src/sys/i386/conf/GENERIC2
config: Error: device "pass0" is unknown
config: 1 errors
*** Error code 1

Please correct it anybody. Thanks in advance.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEARECAAYFAkech3wACgkQmY+KeAh7t3A8ngCeOna3BcSHNPjwHqEsQpWCNJr9
ahAAoMH8mpdP3IoBl532MmnsOayWY06T
=Zxcc
-----END PGP SIGNATURE-----

--------------090805080403060902090107
Content-Type: text/x-patch;
 name="cam_xpt.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="cam_xpt.diff"

--- /usr/src/sys/cam/cam_xpt.c	2007-07-01 03:46:16.000000000 +0400
+++ /home/manager/cam_xpt.c	2008-01-27 16:19:37.000000000 +0300
@@ -1381,7 +1381,7 @@
 			if (base_periph_found == 1) {
 				printf("xptioctl: pass driver is not in the "
 				       "kernel\n");
-				printf("xptioctl: put \"device pass0\" in "
+				printf("xptioctl: put \"device pass\" in "
 				       "your kernel config file\n");
 			}
 		}

--------------090805080403060902090107--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?479C877C.30603>