Bug 191135 - [hptrr] [patch] probe hptrr INQUIRY CDB: 12 00 00 00 24 00 CAM status: Invalid Target ID Error 22
Summary: [hptrr] [patch] probe hptrr INQUIRY CDB: 12 00 00 00 24 00 CAM status: Invali...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-17 20:58 UTC by conzales_demon
Modified: 2014-06-26 01:44 UTC (History)
2 users (show)

See Also:


Attachments
original file and modified version 'hptrr_osm_bsd.c' FreeBSD10-RELEASE (19.69 KB, application/x-zip-compressed)
2014-06-17 20:58 UTC, conzales_demon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description conzales_demon 2014-06-17 20:58:40 UTC
Created attachment 143880 [details]
original file and modified version 'hptrr_osm_bsd.c' FreeBSD10-RELEASE

I'm not a programmer so if this is a messy bug report: "Don't shoot the messenger!" ;)
===========================================================================
'probe hptrr INQUIRY CDB: 12 00 00 00 24 00 CAM status: Invalid Target ID Error 22'

The message above scrolls endlessly on the terminal during booting after POST. The problem doesn't only exist with the 'hptrr' driver but other 'scsi/cam' drivers as well (twa -- 3ware). More info on 'twa' here: https://groups.google.com/forum/#!msg/fa.freebsd.stable/BbK2Q9SFca0/VimqyyD1a2oJ

Please do a diff on the two files I sent with this report as it was the solution for me. I don't get the message anymore and everthing works fine. The solution is not mine, I only applied it to the hptrr-driver. Since I'm not a programmer I can not predict if the changes bring any problems with stability or reliability (data corruption etc.)

So it would be great if somebody with storage driver knowledge could look at the solution. The few lines changed were recommended by somebody with the same problem only with a different CAM-driver. If can find the original message and posted solution (that i copied) I'll post it here.

This problem started after I installed FreeBSD 9.2-RELEASE, 10-RELEASE still has it. I believe 8.4-RELEASE didn't have this problem.
Comment 1 conzales_demon 2014-06-17 21:15:55 UTC
Update
==================================================
I believe I got the fix from here (hpt27 driver):
https://www.mail-archive.com/freebsd-stable@freebsd.org/msg124458.html