2 hpt 2760sgl

Status
Not open for further replies.

Drk

Dabbler
Joined
May 26, 2013
Messages
38
First, high point has a new driver out for 9.x. I finally got all 16 drives to show up with this driver, I had boot.conf load the driver. I am not sure if Freenas loads one card with the 8.x driver and the other one with 9.x. I am getting better with bsd but not sure how to tell what driver loads with what card, is there away? I am running the 9.1 alpha btw too. Any help would be great. Also I have 1.5 raid firmware and not the 1.2 nonraid version. Smart still errors out too.

Rodney
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
You can use "dmesg" from the command line to see what happened during the boot.
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
Yea i am not that new lol, i can not see the info that i need with that i will dig around.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
kldstat -v

camcontrol devlist -v (this one will tell you what disk is connected to which controller)

Does the 9.x driver have a different /dev/XXX name? Some modules are builtin so I'd doubt the 9.x would successfully load if they are the same.
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
From what i can see, i do not see the other driver loading just the 9.0 driver. Here the the logs from both http://tny.cz/b9088233. I can give you ssh if you would like to look around, since you know a lot more than me. I am learning just in the spare time. Does the 9.x driver have a different /dev/XXX name? i am not sure about this one.

Rodney
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Both are using the same driver, the one you added yourself, there is not builtin driver to handle those cards.
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
Really, i thought it was added in one the tickets? http://support.freenas.org/ticket/1496 or am i wrong? I mean it all makes since now i was just going by that ticket, i need to check smart to make sure it loads.I am getting lines and lines of
(probe52:rr272x_1x0:0:52:0): CAM status: Invalid Target ID
(probe52:rr272x_1x0:0:52:0): Error 22, Unretryable error
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Yes, there is support for hpt27xx, it is builtin in the kernel, but thats not the driver your controller is attaching to.
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
It all makes since now, i feel dumb. I remmber it all now that i have to load the driver i was thinking the driver loaded now i remmeber that i had to set that up last build. I guess i was really confused not it makes since. Thank you so much for all you help.
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
Well on a side note i can not get it to load on 8.3 with 8.X driver,
 

tanik1

Contributor
Joined
Mar 31, 2013
Messages
163
Really, i thought it was added in one the tickets? http://support.freenas.org/ticket/1496 or am i wrong? I mean it all makes since now i was just going by that ticket, i need to check smart to make sure it loads.I am getting lines and lines of
(probe52:rr272x_1x0:0:52:0): CAM status: Invalid Target ID
(probe52:rr272x_1x0:0:52:0): Error 22, Unretryable error


Hello, I just started working on freenas 9.1 RC2 and I am encountering the same error message you are getting. I am able to see all my drive and build a volume but I get that error message at startup and when I try to manually run the smartd. At start up it is slightly different mine says the hpt27xx0.

For the smartctl part it shows this.
(pass2:hpt27xx0:0:0:0): REQUEST SENSE. CDB: 03 00 00 00 12 00
(pass2:hpt27xx0:0:0:0): CAM status: CCB request was invalid
(pass2:hpt27xx0:0:0:0): SEND DIAGNOSTIC. CDB: 1d 20 00 00 00 00
(pass2:hpt27xx0:0:0:0): CAM status: CCB request was invalid

Did you ever found out why that was happening?
Would like to know if you fixed it.

Thank you.
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
Yea i have never got a answer for that, the smart does not load right for the drives either. I belive that is just the smart code, but the bad thing is i can get get any info from the drives either as far as 512 or 4k or anything from camcontrol inqury. It will give me the controller and port but that is abotu it. I have have not had time to work with it it may need a ticket to the devs. I am worried i am going to have to rebuild my nas box being i do not thing it built with 4k sector size.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
As the resident guru with Highpoint cards on this forum, I have yet to see any Highpoint controller work with SMART. :(

Very disappointing because I've used Highpoint exclusively for probably 10 years or more. I've never had a problem with their controllers until FreeNAS(in particular, SMART). If they had support for SMART via smartctl they'd be an excellent choice for controllers. I do have a ticket in to see if support can be added for the Highpoint 3560 and 4520, but nobody has gotten it to work yet. :(
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
yea cyber, i will not use them again for that reason. When i get the money i am going to go with a 16 port card. I have tried for about 6 months reading freenas, freebsd forum ect with not luck either. I just gave up really. No one can really tell me a reason that i have seen why and how if could work.
 

tanik1

Contributor
Joined
Mar 31, 2013
Messages
163
Hey Drk, I failed to mention that i had a 2720sgl highpoint card and that I was getting the same error as you during startup.
(probe4:hpt27xx0:0:4:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe4:hpt27xx0:0:4:0): CAM status: Invalid Target ID
(probe4:hpt27xx0:0:4:0): Error 22, Unretryable error
...
...
(probe254:hpt27xx0:0:254:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe254:hpt27xx0:0:254:0): CAM status: Invalid Target ID
(probe254:hpt27xx0:0:254:0): Error 22, Unretryable error

I think this might be a bug in freenas 9.1 RC2. It seems like it is still looking for more drives even though I do not have anymore drive than 4 connected to the card. So meaning that it found 0 1 2 3 and from 4 and up it keep searching and 254 is the last number i forgot what the number relates to but its a number that plays a roll in hardware i believe. I might be wrong but this is what i came to think. Because the output codes didn't seem to affect anything.

but I am able to get my smart to work with the highpoint. Have you tried to turn the smart service off then go to each drive and disable the smart. Then reboot and enable all the smart for each drive and turn the service back on. then reboot once more and this time smart should run. it will pick up as for mines was /dev/hpt27xx in th smartd. I ran the in shell to test.

smartd -q showtests

and looks like its all in there. but I would like to know how i would find out how to check if the sector size is 4k too. Hope that helps with the smartd
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
I will look into that, but my drives are showing as 512 so i am going to have to move 4tbs off somewhere and rebuild them zpools. Great....
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
tanik1,

Try to run a smart test.... smartctl -t short-d hpt, 1/1/1 /dev/hpt27xx or whatever it is. I forget the exact settings, but "-t short" should run a short test(it errored out for me every time I tried). You should be able to do a "-a" and see all of the parameters(again, when I did it I got an error every time). The short test typically takes 2-3 minutes and if you are able to execute it(and then the "-a" works) you should see a section of the smartctl output that says something like...

Code:
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG    VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate    0x002f  200  200  051    Pre-fail  Always      -      0
  3 Spin_Up_Time            0x0027  151  145  021    Pre-fail  Always      -      9433
  4 Start_Stop_Count        0x0032  100  100  000    Old_age  Always      -      994
  5 Reallocated_Sector_Ct  0x0033  200  200  140    Pre-fail  Always      -      0
  7 Seek_Error_Rate        0x002e  200  200  000    Old_age  Always      -      0
  9 Power_On_Hours          0x0032  065  065  000    Old_age  Always      -      26223
10 Spin_Retry_Count        0x0032  100  100  000    Old_age  Always      -      0
11 Calibration_Retry_Count 0x0032  100  100  000    Old_age  Always      -      0
12 Power_Cycle_Count      0x0032  100  100  000    Old_age  Always      -      450
192 Power-Off_Retract_Count 0x0032  200  200  000    Old_age  Always      -      382
193 Load_Cycle_Count        0x0032  199  199  000    Old_age  Always      -      3786
194 Temperature_Celsius    0x0022  118  102  000    Old_age  Always      -      34
196 Reallocated_Event_Count 0x0032  200  200  000    Old_age  Always      -      0
197 Current_Pending_Sector  0x0032  200  200  000    Old_age  Always      -      0
198 Offline_Uncorrectable  0x0030  200  200  000    Old_age  Offline      -      0
199 UDMA_CRC_Error_Count    0x0032  200  200  000    Old_age  Always      -      0
200 Multi_Zone_Error_Rate  0x0008  200  200  000    Old_age  Offline      -      0
 
SMART Error Log Version: 1
No Errors Logged
 
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error      00%    25635        -
# 2  Extended offline    Completed without error      00%    25346        -
# 3  Extended offline    Completed without error      00%    24813        -
# 4  Extended offline    Completed without error      00%    21324        -


Notice the secton for my "SMART Self-test log"s lifetime hours comparied to my Power_On_Hours. That will show you if your attempt to perform the test was successful.


I'm curious to see what you get. I don't think I tried to do a smartd -q showtests. I do remember somewhere something said that short and long tests WERE supported(and should have worked) but I could never get a test to actually run. Every attempt at the command line with smartctl resulted in errors.
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
Tank,

Use diskinfo -v da1, etc that works for the sector size. I belive that will be the same as the pool sector size too.

Drk
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
smartctl -a also will tell you the bytes per sector. But, keep in mind, may hard drives lie and say they are 512-bytes per sector when they are actually 4k sectors. All 18 of my 2TB disks are 4k sector drives despite them all saying 512-bytes per sector.

Your best bet if you want to know your sector size is look up the info in the manufacturers documentation for your model of hard disk.
 
Status
Not open for further replies.
Top