From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 6 12:00:35 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2193416A41F for ; Thu, 6 Apr 2006 12:00:35 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D39543D58 for ; Thu, 6 Apr 2006 12:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k36C0WjA009516 for ; Thu, 6 Apr 2006 12:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k36C0WNL009514; Thu, 6 Apr 2006 12:00:32 GMT (envelope-from gnats) Resent-Date: Thu, 6 Apr 2006 12:00:32 GMT Resent-Message-Id: <200604061200.k36C0WNL009514@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Kazarov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57DFD16A423 for ; Thu, 6 Apr 2006 11:52:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6110243D80 for ; Thu, 6 Apr 2006 11:52:30 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k36BqUKp022674 for ; Thu, 6 Apr 2006 11:52:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k36BqTrh022673; Thu, 6 Apr 2006 11:52:29 GMT (envelope-from nobody) Message-Id: <200604061152.k36BqTrh022673@www.freebsd.org> Date: Thu, 6 Apr 2006 11:52:29 GMT From: Dmitry Kazarov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/95407: atapicam, cd and /etc/rc.d/devfs problem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2006 12:00:35 -0000 >Number: 95407 >Category: kern >Synopsis: atapicam, cd and /etc/rc.d/devfs problem >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 06 12:00:32 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dmitry Kazarov >Release: FreeBSD 6.1-PRERELEASE >Organization: Multicom Ltd, Moscow >Environment: FreeBSD CE.multicom.ru 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed Apr 5 09:57:37 MSD 2006 root@CE.multicom.ru:/var/tmp/obj/usr/src/sys/CE i386 >Description: GENERIC kernel has option SCSI_DELAY=5000 which forces all CAM drivers to wait 5 secs before probing devices. This is true also for atapicam driver. But since no device on atapicam bus is used during boot kernel does not wait for devices (particulary scsi cd device driver) to settle and start /sbin/init process quite early so /etc/rc.d/devfs is executed before /dev/cd0 is created. And lines concerning cd0 in /etc/devfs.conf are ignored. IMHO, kernel should wait for all devices initialized during boot process to finish initialization before starting userland stage of boot process (/sbin/init). >How-To-Repeat: >Fix: add kern.cam.scsi_delay="200" to /boot/loader.conf BUT this will affect all SCSI devices, not only atapicam. >Release-Note: >Audit-Trail: >Unformatted: