tingo said:
Do you have a rr2680_load="YES" line in your /boot/loader.conf file?
Yes. Following the instructions in that PDF (including that line) and then rebooting gives me a /dev/rr2680 and allows hptraidconf to be able to view and even alter the RAID. This is something the main page for hptrr says that it cannot do. The devices just don't show up for me to use them though, unless they should be somewhere other than /dev.
tingo said:
It could be. There are many differences between 7.0 and 7.2, a module compiled for 7.0 might not work properly under 7.2.
Do you get anything in /var/log/messages (or on console) when you kldload the module?
When I kldload rr2680 I get told that it has loaded the module but that no device is present. By modifying loader.conf and rebooting, it seems to pick up the device.
tingo said:
Well, if you haven't recompiled the kernel, you are running GENERIC ($ uname -a
will tell you) and the config file for it is /sys/amd64/conf/GENERIC
I was hesitant to mention this for fear of being told to ask elsewhere but this is actually on FreeNAS 0.7, which is based on FreeBSD 7.2. I have already tried asking there but I either get no reply at all or I get told to ask a FreeBSD community. Being bounced between the two communities without getting an answer would not be good.
Unfortunately this means that some things are just a pain to do. pkg_add does not work and even trying to get individual executables such as pciconf can be difficult. It also means that the file structure is slightly different (e.g. /cf/boot/loader.conf) and the root file system is on a memory disk.
Here is the dmesg output immediately after a reboot and also the uname output:
Code:
# dmesg | grep -i rr
rr2680: RocketRAID 268x controller driver v1.0.08.1222 (Dec 22 2008 14:08:40)
rr26800: <odin> port 0xdf00-0xdf7f mem 0xfdcf0000-0xfdcfffff irq 18 at device 0.0 on pci2
rr2680: adapter at PCI 2:0:0, IRQ 18
rr2680: Attached device index 00 (Path 00 | Target 00 | E0/Sff) 00000000
rr26800: [GIANT-LOCKED]
rr26800: [ITHREAD]
# uname -a
FreeBSD freenas.local 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #0: Fri Jun 19 20:27:15 UTC 2009 root@vmbsd72amd64:/usr/obj/freenas/usr/src/sys/FREENAS-amd64 amd64
Here is /dev/rr2680 appearing:
Code:
# ls /dev
acpi devstat net stdout ttyvc
ad10 fd net1 sysmouse ttyvd
ad4 fido net2 ttyd0 ttyve
ad6 fw0 net3 ttyd0.init ttyvf
ad8 fw0.0 net4 ttyd0.lock ufsid
ata fwmem0 network ttyp0 urandom
atkbd0 fwmem0.0 nfs4 ttyv0 usb
console geom.ctl nfslock ttyv1 usb0
consolectl io null ttyv2 usb1
crypto kbd0 pass0 ttyv3 usb2
ctty kbd1 pci ttyv4 usb3
cuad0 kbdmux0 ppi0 ttyv5 usb4
cuad0.init klog ptyp0 ttyv6 usb5
cuad0.lock kmem random ttyv7 usb6
da0 md0 [b][u]rr2680[/u][/b] ttyv8 xpt0
da0a md1 speaker ttyv9 zero
da0c mdctl stderr ttyva zfs
devctl mem stdin ttyvb
Note that da0 is the USB drive I am booting from and ad4, 6, 8 and 10 are SATA drives attached to the motherboard, not the RAID card.
Finally, here is the HighPoint RAID software showing the controller and the disk:
Code:
HighPoint RAID Management Command Line Utility v3.1
Copyright (C) 2008 HighPoint Technologies, Inc. All rights reserved.
Login:RAID
Password:
HighPoint CLI>query controllers
ID Channel Name
1 8 RocketRAID 2680 SAS Controller
-------------------------------------------------------------------------------
HighPoint CLI>query devices
ID Capacity MaxFree Flag Status ModelNumber
-------------------------------------------------------------------------------
1/1 500.03 500.03 SINGLE NORMAL ST3500320AS
-------------------------------------------------------------------------------