Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jan 2010 18:25:02 +0300
From:      Vladimir Ermakov <samflanker@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   how to create pass devices without reboot?
Message-ID:  <4B44AB4E.5080805@gmail.com>

next in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B44AB4E.5080805>