SCSI device not created upon a CF card plug in

Sagara Wijetunga sagara at tomahawk.com.sg
Wed Jul 22 05:39:05 UTC 2009


Hi FreeBSD community 

The SCSI device (eg. da1s1) is not created automatically upon a CF card plug 
in on an USB multi-card reader on FreeBSD 7.2 (i386) but the SCSI device 
(eg. da1s1) is created automatically if I reboot the computer while the CF 
card is plug in. 

Here are detail:
$ camcontrol devlist
<GENERIC USB Storage-SMC 010D>     at scbus0 target 0 lun 0 (pass0,da0)
<GENERIC USB Storage-CFC 010D>     at scbus0 target 0 lun 1 (pass1,da1)
<GENERIC USB Storage-MMC 010D>     at scbus0 target 0 lun 2 (pass2,da2)
<GENERIC USB Storage-MSC 010D>     at scbus0 target 0 lun 3 (pass3,da3) 

After the CF card is plugged in:
$ ls -l /dev/ | grep da
crw-r-----  1 root    operator    0, 105 Jul 22 13:18 da0
crw-r-----  1 root    operator    0, 106 Jul 22 13:18 da1
crw-r-----  1 root    operator    0, 107 Jul 22 13:18 da2
crw-r-----  1 root    operator    0, 108 Jul 22 13:18 da3 

After reboot while the CF card is plugged in:
$ ls -l /dev/ | grep da
crw-r-----  1 root    operator    0, 105 Jul 22 13:24 da0
crw-r-----  1 root    operator    0, 106 Jul 22 13:24 da1
crw-r-----  1 root    operator    0, 110 Jul 22 13:24 da1s1
crw-r-----  1 root    operator    0, 107 Jul 22 13:24 da2
crw-r-----  1 root    operator    0, 108 Jul 22 13:24 da3 

My questions in this regards are:
1. Is this an error/bug in FreeBSD 7.2? 

2. Or, does it require some configuration tweak? 

If this is an error/bug in FreeBSD 7.2, could somebody please develop a 
patch against the FreeBSD 7.2 sources? 

Kind regards
Sagara


More information about the freebsd-stable mailing list