/dev/ch0 not recognized

frankcheong
frankcheong used Ask the Experts™
on
Riding on http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/Q_26283427.html as well as http://www.pubbs.net/200911/freebsd/20344-ciss4-not-seeing-multiple-luns.html
I would like to know if there is any way to manually create/link the /dev/ch0 driver for this case.

Actually, I have my msl 2024 1760 SAS tape library attaching to my HP DL 180 G6 thru Smart Array P212. I can successfully use this tape library with my window 2008 ad backup exec 2010. While from my freeBSD 8.0, 8.0 p3 or even 8.1 RC2, I don't even see the /dev/ch0 device link whereby I can see this device using the camcontrol devlist -v. My question is: -

1. Is there any way I can manually create/link the /dev/ch0 device driver ?
2. How can I achieve 1 if it is possible.
3. Having learnt that exposing disk mirror controller should be considered as danger, may I have more information and background information about that ? What specific problem will I encounter for that ?

Pls find below the configuration details which is related to the tape library:-

server# dmesg | grep ciss
ciss0: <HP Smart Array P212> port 0xd800-0xd8ff mem 0xfb800000-0xfbbfffff,0xfbdff000-0xfbdfffff irq 24 at device 0.0 on pci6
ciss0: PERFORMANT Transport
ciss0: [ITHREAD]
ciss1: <HP Smart Array P410> port 0xc800-0xc8ff mem 0xfb400000-0xfb7fffff,0xfb3ff000-0xfb3fffff irq 32 at device 0.0 on pci4
ciss1: PERFORMANT Transport
ciss1: [ITHREAD]
sa0 at ciss0 bus 32 scbus1 target 6 lun 0
da0 at ciss1 bus 0 scbus2 target 0 lun 0

Open in new window


server# camcontrol devlist -v
scbus0 on ciss0 bus 0:
scbus1 on ciss0 bus 32:
<HP Ultrium 4-SCSI U52W>           at scbus1 target 6 lun 0 (sa0,pass0)
scbus2 on ciss1 bus 0:
<COMPAQ RAID ADGVOLUME OK>         at scbus2 target 0 lun 0 (da0,pass1)
scbus3 on ciss1 bus 32:
scbus-1 on xpt0 bus 0:
<>                                 at scbus-1 target -1 lun -1 (xpt0)

Open in new window


server# camcontrol reportluns 1:6
2 LUNs found
0
1

Open in new window


server# ls /dev/
acd0            da0s1e          led             sa0.2           ttyvb
acpi            da0s1f          log             sa0.3           ttyvc
ata             dcons           mdctl           sa0.ctl         ttyvd
atkbd0          devctl          mem             stderr          ttyve
audit           devstat         nfslock         stdin           ttyvf
bpf             dgdb            nsa0            stdout          ufsid
bpf0            esa0            nsa0.0          sysmouse        ugen0.1
bpsm0           esa0.0          nsa0.1          ttyu0           ugen1.1
ciss0           esa0.1          nsa0.2          ttyu0.init      ugen2.1
ciss1           esa0.2          nsa0.3          ttyu0.lock      ugen3.1
console         esa0.3          null            ttyv0           ugen3.2
consolectl      fd              pass0           ttyv1           ugen4.1
ctty            fido            pass1           ttyv2           ugen5.1
cuau0           geom.ctl        pci             ttyv3           ukbd0
cuau0.init      io              psm0            ttyv4           ums0
cuau0.lock      kbd0            ptmx            ttyv5           urandom
da0             kbd1            pts             ttyv6           usb
da0s1           kbd2            random          ttyv7           usbctl
da0s1a          kbdmux0         sa0             ttyv8           xpt0
da0s1b          klog            sa0.0           ttyv9           zero
da0s1d          kmem            sa0.1           ttyva

Open in new window


Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015
Commented:
ciss is not a real scsi controller and does not support extra logical unit of a device - a changer, if you can configure library to provide changer as separate device you can make it work with your controller.

Author

Commented:
can I ask a stupid question?
what exactly is ciss?
Top Expert 2015

Commented:
SmartArray driver is named ciss
it does not support multiple LUNs


Announcing the Winners!

The results are in for the 15th Annual Expert Awards! Congratulations to the winners, and thank you to everyone who participated in the nominations. We are so grateful for the valuable contributions experts make on a daily basis. Click to read more about this year’s recipients!

Author

Commented:
Got it. That means I cannot get it work with freebsd unless I swap the controller.

BTW, having learnt that exposing disk mirror controller should be considered as danger, may I have more information and background information about that ? What specific problem will I encounter for that ?
Top Expert 2015

Commented:
try configuring changer as a separate device if it is possible.
also in Linux or Windows LUNs are supported only on some controllers
MSL OCP guide http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01512219
I did not find any reference to uncouple changer from drive device. But try reading it after me just in case
Top Expert 2015

Commented:
admin password is 00000000

Author

Commented:
The panel shows SAS Drive 1 Not Configurable!

Author

Commented:
After installation the same setup with with redhat linux and drivers provided in hp website, I truely believe that open source driver cciss for freeBSD have bugs. Coz rehat works nicely with the changer using the drivers provided by HP (that means redhat also can't recognize this tape library using the default setup. Sad news is I will have to stick with redhat linux when everything works in order to save some money from grabbing another controller which suppose to work with freeBSD.
Top Expert 2015

Commented:
CentOS is a free RedHat clone should it take longer to get controller.

Author

Commented:
Yes, and actually I am going to install CentOS tomrrow. Good news is when things come worst (driver provided by HP won't be installed on CentOS for some reason) then I can bargain with my boss to grab a new controller instead of purchasing the yearly subscription service from redhat which should be around the same amount whereas purchasing another controller is one off while purchasing subscription from redhat is yearly.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial