bridge.ko, sysctrl.conf and ifconfig_XXX_name, SCSI as a boot device

Todor Dragnev todor.dragnev at gmail.com
Mon Jun 19 15:08:58 UTC 2006


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 <Seagate ST3250824A 3.AAE> at ata0-master UDMA100
ad2: 152627MB <Seagate ST3160023A 8.01> at ata1-master UDMA100
da0 at sym0 bus 0 target 15 lun 0
da0: <FUJITSU MAP3367NP 0106> 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: <Multi Flash Reader 1.00> Removable Direct Access SCSI-0 device
da1: 40.000MB/s transfers 
da1: 982MB (2012160 512 byte sectors: 64H 32S/T 982C)


More information about the freebsd-stable mailing list