From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 15:08:56 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C27F216A4A5 for ; Mon, 19 Jun 2006 15:08:56 +0000 (UTC) (envelope-from todor.dragnev@gmail.com) Received: from mail.sistechnology.com (torro.sistechnology.com [217.79.65.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DDDE44036 for ; Mon, 19 Jun 2006 14:40:05 +0000 (GMT) (envelope-from todor.dragnev@gmail.com) Received: from localhost (localhost [127.0.0.1]) by mail.sistechnology.com (Postfix) with ESMTP id AC2A646C13 for ; Mon, 19 Jun 2006 17:40:02 +0300 (EEST) Received: from mail.sistechnology.com ([217.79.65.130]) by localhost (torro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08827-10 for ; Mon, 19 Jun 2006 17:39:59 +0300 (EEST) Received: from [192.168.7.3] (tdragnev [192.168.7.3]) by mail.sistechnology.com (Postfix) with ESMTP id B034246C10 for ; Mon, 19 Jun 2006 17:39:59 +0300 (EEST) From: Todor Dragnev To: freebsd-stable@freebsd.org Date: Mon, 19 Jun 2006 17:38:43 +0300 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606191738.43641.todor.dragnev@gmail.com> X-Virus-Scanned: by the vKeeper at sistechnology.com Subject: bridge.ko, sysctrl.conf and ifconfig_XXX_name, SCSI as a boot device 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: Mon, 19 Jun 2006 15:08:58 -0000 Hello list, I have two minor problems: First one: I want to make bridging on two of my interfaces but have problem when I use ifconfig_XXX_name directrive in rc.conf . After each restart of machine I must enter manually commands for sysctrl to enable bridging. After reboot dmesg shows: interface net0 Not found in bridge interface net2 Not found in bridge /etc/rc.conf: ifconfig_rl0_name="net0" ifconfig_rl1_name="net1" ifconfig_rl2_name="net2" /etc/sysctrl.conf: net.link.ether.bridge.enable=1 net.link.ether.bridge.config=net0,net2 Second problem: I have SCSI controller with 40GB hard disk and two ATA disks. My FreeBSD is installed on da0 (SCSI). Last night I connect USB stick to the box and transfer some files. On morning I found that machine is restarted because of power outage and refuse to boot. After first wave of panic I found that USB Flash Disk is still attached and kernel change naming order of SCSI devices: Now ad0 was USB Flash, SCSI -FUJITSU - ad1. I thing that is not good idea to naming USB devices first and after this real SCSI devices. So, what is the right workaround of these problems? Regards, Todor Dragnev ad0: 238475MB at ata0-master UDMA100 ad2: 152627MB at ata1-master UDMA100 da0 at sym0 bus 0 target 15 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled da0: 35046MB (71775284 512 byte sectors: 255H 63S/T 4467C) umass0: Generic Mass Storage Device, rev 2.00/1.02, addr 2 da1 at umass-sim0 bus 0 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 982MB (2012160 512 byte sectors: 64H 32S/T 982C)