From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 22 11:07:10 2011 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72ABA106568E for ; Mon, 22 Aug 2011 11:07:10 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 589118FC12 for ; Mon, 22 Aug 2011 11:07:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7MB7AOr097254 for ; Mon, 22 Aug 2011 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7MB794f097252 for freebsd-scsi@FreeBSD.org; Mon, 22 Aug 2011 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Aug 2011 11:07:09 GMT Message-Id: <201108221107.p7MB794f097252@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org 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: Mon, 22 Aug 2011 11:07:10 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/159412 scsi [ciss] 7.3 RELEASE: ciss0 ADAPTER HEARTBEAT FAILED err o kern/157770 scsi [iscsi] [panic] iscsi_initiator panic o kern/154432 scsi [xpt] run_interrupt_driven_hooks: still waiting after o kern/153514 scsi [cam] [panic] CAM related panic o kern/153361 scsi [ciss] Smart Array 5300 boot/detect drive problem o kern/152250 scsi [ciss] [patch] Kernel panic when hw.ciss.expose_hidden o kern/151564 scsi [ciss] ciss(4) should increase CISS_MAX_LOGICAL to 10 o docs/151336 scsi Missing documentation of scsi_ and ata_ functions in c s kern/149927 scsi [cam] hard drive not stopped before removing power dur o kern/148083 scsi [aac] Strange device reporting o kern/147704 scsi [mpt] sys/dev/mpt: new chip revision, partially unsupp o kern/146287 scsi [ciss] ciss(4) cannot see more than one SmartArray con o kern/145768 scsi [mpt] can't perform I/O on SAS based SAN disk in freeb o kern/144648 scsi [aac] Strange values of speed and bus width in dmesg o kern/144301 scsi [ciss] [hang] HP proliant server locks when using ciss o kern/142351 scsi [mpt] LSILogic driver performance problems o kern/141934 scsi [cam] [patch] add support for SEAGATE DAT Scopion 130 o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device o kern/132250 scsi [ciss] ciss driver does not support more then 15 drive o kern/132206 scsi [mpt] system panics on boot when mirroring and 2nd dri o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 o kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus o kern/128452 scsi [sa] [panic] Accessing SCSI tape drive randomly crashe o kern/128245 scsi [scsi] "inquiry data fails comparison at DV1 step" [re o kern/127927 scsi [isp] isp(4) target driver crashes kernel when set up o kern/127717 scsi [ata] [patch] [request] - support write cache toggling o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi o kern/123674 scsi [ahc] ahc driver dumping o kern/123520 scsi [ahd] unable to boot from net while using ahd o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load o kern/60598 scsi wire down of scsi devices conflicts with config s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o bin/57088 scsi [cam] [patch] for a possible fd leak in libcam.c o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce 48 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 22 20:27:03 2011 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EC271065672 for ; Mon, 22 Aug 2011 20:27:03 +0000 (UTC) (envelope-from marck@FreeBSD.org) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id C9DB98FC0C for ; Mon, 22 Aug 2011 20:27:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.4/8.14.4) with ESMTP id p7MKAH9F026018; Tue, 23 Aug 2011 00:10:17 +0400 (MSD) (envelope-from marck@FreeBSD.org) Date: Tue, 23 Aug 2011 00:10:17 +0400 (MSD) From: Dmitry Morozovsky X-X-Sender: marck@woozle.rinet.ru To: Kostik Belousov In-Reply-To: <20110822194031.GR17489@deviant.kiev.zoral.com.ua> Message-ID: References: <20110822194031.GR17489@deviant.kiev.zoral.com.ua> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (woozle.rinet.ru [0.0.0.0]); Tue, 23 Aug 2011 00:10:17 +0400 (MSD) Cc: freebsd-scsi@FreeBSD.org, mav@FreeBSD.org, re@FreeBSD.org Subject: Re: Documentating patch for defaults/loader.conf 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: Mon, 22 Aug 2011 20:27:03 -0000 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? -- 8< -- 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" # CAM bus registration delay (in ms), + # useful for USB sticks as root #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 -- 8< -- -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] --------------------------------------------------------------------------- *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@FreeBSD.org *** --------------------------------------------------------------------------- From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 22 20:31:15 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C79581065676; Mon, 22 Aug 2011 20:31:15 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 294A88FC12; Mon, 22 Aug 2011 20:31:14 +0000 (UTC) Received: by fxe4 with SMTP id 4so4697050fxe.13 for ; Mon, 22 Aug 2011 13:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=4Ft18SarZFIwQoOceS8664wZzDNre51H8IUWwFuxFSc=; b=nf2CpwkR2mbxrH15ScgwiXq2t3zRCVWVc+eUc/wdMJ1TFyrfyjqeRvo4k7BIbeVPD0 /pbFDoHSG6otqCbzhyBqCeptYRi/6NaWfIGyEzSd0G9Tn9B9QbeczkahvAmbldKvDm29 SqKmMsWG0COjobenta6ONjBffGgRPKz+kTF0s= Received: by 10.223.54.134 with SMTP id q6mr4177604fag.130.1314045073632; Mon, 22 Aug 2011 13:31:13 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id g16sm5377027faa.27.2011.08.22.13.31.09 (version=SSLv3 cipher=OTHER); Mon, 22 Aug 2011 13:31:10 -0700 (PDT) Sender: Alexander Motin Message-ID: <4E52BC7F.4040408@FreeBSD.org> Date: Mon, 22 Aug 2011 23:30:55 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110709 Thunderbird/5.0 MIME-Version: 1.0 To: Dmitry Morozovsky References: <20110822194031.GR17489@deviant.kiev.zoral.com.ua> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@FreeBSD.org, re@FreeBSD.org Subject: Re: Documentating patch for defaults/loader.conf 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: Mon, 22 Aug 2011 20:31:15 -0000 On 22.08.2011 23:10, 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? > > -- 8< -- > 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" # CAM bus registration delay (in ms), > + # useful for USB sticks as root > #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 > -- 8< -- Yes, I agree that wording is not perfect. It is not a delay of the bus registration, but instead boot delay for the bus registration. Original sysctl description is closer to the right meaning. -- Alexander Motin From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 22 21:11:03 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 820EE10656DA; Mon, 22 Aug 2011 21:11:03 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 034048FC1B; Mon, 22 Aug 2011 21:11:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.4/8.14.4) with ESMTP id p7MKv56H036189; Tue, 23 Aug 2011 00:57:05 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 23 Aug 2011 00:57:05 +0400 (MSD) From: Dmitry Morozovsky To: Kostik Belousov In-Reply-To: Message-ID: References: <20110822194031.GR17489@deviant.kiev.zoral.com.ua> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (woozle.rinet.ru [0.0.0.0]); Tue, 23 Aug 2011 00:57:05 +0400 (MSD) Cc: freebsd-scsi@freebsd.org, mav@freebsd.org, re@freebsd.org Subject: Re: Documentating patch for defaults/loader.conf 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: Mon, 22 Aug 2011 21:11:03 -0000 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 #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 *** ------------------------------------------------------------------------ From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 22 21:30:08 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 232BE106566C for ; Mon, 22 Aug 2011 21:30:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id AC3A98FC12 for ; Mon, 22 Aug 2011 21:30:07 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p7ML00FJ070553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Aug 2011 00:00:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p7ML00gU075603; Tue, 23 Aug 2011 00:00:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p7ML00uS075602; Tue, 23 Aug 2011 00:00:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 23 Aug 2011 00:00:00 +0300 From: Kostik Belousov To: Dmitry Morozovsky Message-ID: <20110822210000.GW17489@deviant.kiev.zoral.com.ua> References: <20110822194031.GR17489@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rS3NtQ6l2oJMSbd+" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-scsi@freebsd.org, mav@freebsd.org Subject: Re: Documentating patch for defaults/loader.conf 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: Mon, 22 Aug 2011 21:30:08 -0000 --rS3NtQ6l2oJMSbd+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 23, 2011 at 12:57:05AM +0400, Dmitry Morozovsky wrote: > On Tue, 23 Aug 2011, Dmitry Morozovsky wrote: >=20 > > On Mon, 22 Aug 2011, Kostik Belousov wrote: > >=20 > > > > any objections for this simple patch? > > > >=20 > > > > (we stumped into this yesterday, and no easy founded answers even o= n Google=20 > > > > except the single FreeBSD Forums thread was found) > > >=20 > > > 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. > >=20 > > I based the comment on existing comment to the tunable in cam_xpt.c: > >=20 > > 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= "); > >=20 > >=20 > > Alexander, colleagues, your thought on the following patch? >=20 > [reply by mav@ viewed on web archives, but lost somewhere] >=20 > Well, what about the following wording then? >=20 > marck@woozle:~/FreeBSD/svn/head/sys> svn diff > Index: boot/forth/loader.conf > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- boot/forth/loader.conf (revision 224542) > +++ boot/forth/loader.conf (working copy) > @@ -109,6 +109,8 @@ > #kern.ncallout=3D"" # Set the maximum # of timer events > #kern.ngroups=3D"1023" # Set the maximum # of supplemental gro= ups > #kern.sgrowsiz=3D"" # Set the amount to grow stack > +#kern.cam.boot_delay=3D"10000" # Delay (in ms) for CAM bus registratio= n, > + # useful for USB sticks as root Delay (in ms) of root mount for CAM bus registration, ... > #kern.cam.scsi_delay=3D"2000" # Delay (in ms) before probing SCSI > #kern.ipc.maxsockets=3D"" # Set the maximum number of soc= kets avaliable > #kern.ipc.nmbclusters=3D"" # Set the number of mbuf clusters >=20 >=20 > --=20 > Sincerely, > D.Marck [DM5020, MCK-RIPE, DM3-RIPN] > [ FreeBSD committer: marck@FreeBSD.org ] > ------------------------------------------------------------------------ > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** > ------------------------------------------------------------------------ --rS3NtQ6l2oJMSbd+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk5Sw08ACgkQC3+MBN1Mb4hP1ACfUTWTgZ/XoYuG0IkBhjniHs2f 3kIAoKxHRkfpnM8rDAV9vP6vT91XUAE7 =5zGS -----END PGP SIGNATURE----- --rS3NtQ6l2oJMSbd+-- From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 22 21:33:26 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 206F41065670; Mon, 22 Aug 2011 21:33:26 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 908F38FC12; Mon, 22 Aug 2011 21:33:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.4/8.14.4) with ESMTP id p7MLXOTE036710; Tue, 23 Aug 2011 01:33:24 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 23 Aug 2011 01:33:24 +0400 (MSD) From: Dmitry Morozovsky To: Kostik Belousov In-Reply-To: <20110822210000.GW17489@deviant.kiev.zoral.com.ua> Message-ID: References: <20110822194031.GR17489@deviant.kiev.zoral.com.ua> <20110822210000.GW17489@deviant.kiev.zoral.com.ua> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (woozle.rinet.ru [0.0.0.0]); Tue, 23 Aug 2011 01:33:24 +0400 (MSD) Cc: freebsd-scsi@freebsd.org, mav@freebsd.org Subject: Re: Documentating patch for defaults/loader.conf 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: Mon, 22 Aug 2011 21:33:26 -0000 On Tue, 23 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 I could not agree more! ;) -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------