Date: Tue, 23 Aug 2011 00:00:00 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Dmitry Morozovsky <marck@rinet.ru> Cc: freebsd-scsi@freebsd.org, mav@freebsd.org Subject: Re: Documentating patch for defaults/loader.conf Message-ID: <20110822210000.GW17489@deviant.kiev.zoral.com.ua> In-Reply-To: <alpine.BSF.2.00.1108230055350.26004@woozle.rinet.ru> References: <alpine.BSF.2.00.1108222151140.8634@woozle.rinet.ru> <20110822194031.GR17489@deviant.kiev.zoral.com.ua> <alpine.BSF.2.00.1108230006530.26004@woozle.rinet.ru> <alpine.BSF.2.00.1108230055350.26004@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue, Aug 23, 2011 at 12:57:05AM +0400, Dmitry Morozovsky wrote:
> On Tue, 23 Aug 2011, Dmitry Morozovsky wrote:
>
> > On Mon, 22 Aug 2011, Kostik Belousov wrote:
> >
> > > > any objections for this simple patch?
> > > >
> > > > (we stumped into this yesterday, and no easy founded answers even on Google
> > > > except the single FreeBSD Forums thread was found)
> > >
> > > I do not think that the wording in right, but I am not CAM expert by any
> > > measure. From my reading of the code, it is a hook to delay the root mount,
> > > not to delay CAM bus registration. It would be better if you get the scsi@
> > > or mav@ (author of the tunable) review.
> >
> > I based the comment on existing comment to the tunable in cam_xpt.c:
> >
> > cam_xpt.c:TUNABLE_INT("kern.cam.boot_delay", &xsoftc.boot_delay);
> > cam_xpt.c:SYSCTL_INT(_kern_cam, OID_AUTO, boot_delay, CTLFLAG_RDTUN,
> > cam_xpt.c: &xsoftc.boot_delay, 0, "Bus registration wait time");
> >
> >
> > Alexander, colleagues, your thought on the following patch?
>
> [reply by mav@ viewed on web archives, but lost somewhere]
>
> Well, what about the following wording then?
>
> marck@woozle:~/FreeBSD/svn/head/sys> svn diff
> Index: boot/forth/loader.conf
> ===================================================================
> --- boot/forth/loader.conf (revision 224542)
> +++ boot/forth/loader.conf (working copy)
> @@ -109,6 +109,8 @@
> #kern.ncallout="" # Set the maximum # of timer events
> #kern.ngroups="1023" # Set the maximum # of supplemental groups
> #kern.sgrowsiz="" # Set the amount to grow stack
> +#kern.cam.boot_delay="10000" # Delay (in ms) for CAM bus registration,
> + # useful for USB sticks as root
Delay (in ms) of root mount for CAM bus registration, ...
> #kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI
> #kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable
> #kern.ipc.nmbclusters="" # Set the number of mbuf clusters
>
>
> --
> Sincerely,
> D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
> [ FreeBSD committer: marck@FreeBSD.org ]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
> ------------------------------------------------------------------------
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
iEYEARECAAYFAk5Sw08ACgkQC3+MBN1Mb4hP1ACfUTWTgZ/XoYuG0IkBhjniHs2f
3kIAoKxHRkfpnM8rDAV9vP6vT91XUAE7
=5zGS
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110822210000.GW17489>
