From owner-freebsd-stable@FreeBSD.ORG Wed Jul 22 05:39:04 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4FA6106564A for ; Wed, 22 Jul 2009 05:39:04 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id 8D55D8FC0A for ; Wed, 22 Jul 2009 05:39:04 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 12060 invoked by alias); 22 Jul 2009 02:20:27 -0000 Message-ID: <20090722022027.12059.qmail@us1.tomahawkonline.net> From: "Sagara Wijetunga" To: freebsd-stable@FreeBSD.org Date: Wed, 22 Jul 2009 10:20:27 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: SCSI device not created upon a CF card plug in X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 05:39:05 -0000 Hi FreeBSD community The SCSI device (eg. da1s1) is not created automatically upon a CF card plug in on an USB multi-card reader on FreeBSD 7.2 (i386) but the SCSI device (eg. da1s1) is created automatically if I reboot the computer while the CF card is plug in. Here are detail: $ camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 0 lun 1 (pass1,da1) at scbus0 target 0 lun 2 (pass2,da2) at scbus0 target 0 lun 3 (pass3,da3) After the CF card is plugged in: $ ls -l /dev/ | grep da crw-r----- 1 root operator 0, 105 Jul 22 13:18 da0 crw-r----- 1 root operator 0, 106 Jul 22 13:18 da1 crw-r----- 1 root operator 0, 107 Jul 22 13:18 da2 crw-r----- 1 root operator 0, 108 Jul 22 13:18 da3 After reboot while the CF card is plugged in: $ ls -l /dev/ | grep da crw-r----- 1 root operator 0, 105 Jul 22 13:24 da0 crw-r----- 1 root operator 0, 106 Jul 22 13:24 da1 crw-r----- 1 root operator 0, 110 Jul 22 13:24 da1s1 crw-r----- 1 root operator 0, 107 Jul 22 13:24 da2 crw-r----- 1 root operator 0, 108 Jul 22 13:24 da3 My questions in this regards are: 1. Is this an error/bug in FreeBSD 7.2? 2. Or, does it require some configuration tweak? If this is an error/bug in FreeBSD 7.2, could somebody please develop a patch against the FreeBSD 7.2 sources? Kind regards Sagara