how to create pass devices without reboot?

Vladimir Ermakov samflanker at gmail.com
Wed Jan 6 15:52:51 UTC 2010


Hi, All!

my problem
need access to harddisks over hw raid controller (smartmontools working 
with disks over /dev/pass* devices)

i am using `mfi` driver for LSI MegaRAID controller, and
kernel without `mfip` module


# uname -a
FreeBSD DAMASCUS 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Mon Jan  4 
13:22:16 CET 2010     root at damascus:/usr/obj/usr/src/sys/DAMASCUS  amd64

# grep mfip /sys/conf/NOTES
device          mfip            # LSI MegaRAID SAS passthrough, requires CAM

# kldload mfip
# kldstat
Id Refs Address            Size     Name
  1    4 0xffffffff80100000 6f0d78   kernel
  2    1 0xffffffff80a22000 b84      mfip.ko

# dmesg | grep mfip
mfip0: <SCSI Passthrough Bus> on mfi0

# ls /dev/pass*
ls: /dev/pass*: No such file or directory


need create pass devices without reboot

please any solutions ?




P.S.

after reboot system (`mfip` load on boot )  have pass* devices
# ls /dev/pass*
/dev/pass0      /dev/pass2      /dev/pass4      /dev/pass6
/dev/pass1      /dev/pass3      /dev/pass5


/venom



More information about the freebsd-hackers mailing list