how to create pass devices without reboot?

Alexander Motin mav at FreeBSD.org
Wed Jan 6 23:26:52 UTC 2010


Vladimir Ermakov wrote:
> 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
> 
> # 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 ?

What's about:
camcontrol devlist -v
camcontrol reset X
camcontrol rescan X
camcontrol devlist -v
, where X is mfip0 scbus number?

-- 
Alexander Motin


More information about the freebsd-hackers mailing list