Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2012 22:11:17 GMT
From:      Richard <eaglebird42@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/168320: hptiop driver should support the RR4310 controller card.
Message-ID:  <201205242211.q4OMBHDd007765@red.freebsd.org>
Resent-Message-ID: <201205242220.q4OMK5re054072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         168320
>Category:       amd64
>Synopsis:       hptiop driver should support the RR4310 controller card.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 24 22:20:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Richard
>Release:        8.2
>Organization:
>Environment:
FreeBSD Filenest.eagleserv.local 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
The RocketRaid 4310 controller card from HighPoint Technologies is not recognized by the hptiop driver. This is due to the source code lacking the correct case(s) for the 4310 (and also lacking for the 4322). After adding in the case in the correct switch statement, the controller should be recognized and the driver attached.
>How-To-Repeat:
Build the hptiop.ko module from the current source using hptiop.c and the Makefile found in the dev environment at '/usr/src/sys/modules/hptiop/Makefile' and specify it to load at boot. With the 4310 controller card installed, boot the machine with the module installed and see that it is recognized by pciconf and the driver is loaded, but dmesg reports "pci1: <mass storage, RAID> at device 0.0 (no driver attached)", and any array or disks attached to the controller are not shown in /dev/.
>Fix:
In the source code hptiop.c, find the "switch (id) {" statement which is followed by the case "case 0x4320:". In new lines, add "case 0x4322:" and "case 0x4310:" prior to the statement "sas = 1;", and recompile. Upon repeating the test in "How to repeat the problem", it should be found that the driver is attached for the controller and any arrays or disks show up in /dev/. dmesg will also report:
"
hptiop0: adapter at PCI 1:0:0, IRQ 16
hptiop0: <RocketRAID 4310 SAS Controller
> mem 0xe1000000-0xe17fffff irq 16 at device 0.0 on pci1
hptiop0: 0 RocketRAID 3xxx/4xxx controller driver v1.3 (010208)
hptiop0: Reserved 0x800000 bytes for rid 0x10 type 3 at 0xe1000000
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 49
hptiop0: [GIANT-LOCKED]
hptiop0: [ITHREAD]
"

>Release-Note:
>Audit-Trail:
>Unformatted:



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