Bug 137181

Summary: [ata] Promise SATA controller SX4-M PDC20621 does not see attached drives
Product: Base System Reporter: Roman Valls <admin>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 6.4-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.txt none

Description Roman Valls 2009-07-27 17:30:00 UTC
The machine boots with several errors when the controller is attached. There have been similar issues with a recent Linux bug report related to this card driver:

http://bugzilla.kernel.org/show_bug.cgi?id=12631

As well as several (past) discusions on FreeBSD mailing lists:

http://osdir.com/ml/os.freebsd.devel.hardware/2005-07/msg00053.html

But it does not seem to be consistently fixed on all releases/kernels. In addition, the controller interacts badly with our onboard RAID system (Intel MatrixRAID RAID1), putting it on DEGRADED mode for no apparent reason.

I'm attaching a relevant log file section (system.log.txt).

Fix: The Linux bug was closed by fixing IRQ/mask-related code, but I don't know if the same problem applies to FreeBSD

Patch attached with submission follows:
How-To-Repeat: Boot FreeNAS with this controller with 4 HDD's attached.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:59 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped