Bug 428801 - [Areca 4.7 feat] Update the arcmsr driver to
Summary: [Areca 4.7 feat] Update the arcmsr driver to
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.7
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Tomas Henzl
QA Contact:
Keywords: FutureFeature, OtherQA
Depends On:
Blocks: 262141 RHEL4u7_relnotes
TreeView+ depends on / blocked
Reported: 2008-01-15 11:14 UTC by nickcheng
Modified: 2009-06-20 02:05 UTC (History)
6 users (show)

Clone Of:
Last Closed: 2008-07-24 19:24:35 UTC

Attachments (Terms of Use)
The patch for Areca driver, arcmsr, against RHEL4.7 (23.77 KB, application/zip)
2008-01-15 11:14 UTC, nickcheng
no flags Details
Update the patch for arcmsr (108.37 KB, patch)
2008-02-13 04:27 UTC, Nick Cheng
no flags Details | Diff
Update the patch for arcmsr (108.37 KB, patch)
2008-02-13 04:27 UTC, Nick Cheng
no flags Details | Diff
arcmsr_hba.c (47.93 KB, patch)
2008-02-25 11:06 UTC, Tomas Henzl
no flags Details | Diff
areca files (60.71 KB, application/octet-stream)
2008-02-28 09:41 UTC, Tomas Henzl
no flags Details
The patch for arcmsr- (39.48 KB, patch)
2008-03-04 02:48 UTC, Nick Cheng
no flags Details | Diff
patch for Kconfig (1.13 KB, patch)
2008-03-06 02:28 UTC, Nick Cheng
no flags Details | Diff
new version (155.05 KB, patch)
2008-03-12 14:01 UTC, Tomas Henzl
no flags Details | Diff
Change Log for arcmsr (6.83 KB, text/plain)
2008-06-03 02:49 UTC, Nick Cheng
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2008:0665 normal SHIPPED_LIVE Moderate: Updated kernel packages for Red Hat Enterprise Linux 4.7 2008-07-24 16:41:06 UTC

Description nickcheng 2008-01-15 11:14:44 UTC
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 nickcheng 2008-01-15 11:14:44 UTC
Created attachment 291703 [details]
The patch for Areca driver, arcmsr, against RHEL4.7

Comment 2 RHEL Product and Program Management 2008-01-15 11:27:25 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update

Comment 4 Tomas Henzl 2008-02-06 12:44:16 UTC
you patchfiles are probably generated against RHEL5.1, they are failing in this
case. I'm going to send to you the sources from 4.6. Please recreate/backport
the pathset. RHEL4 is based on kernel 2.6.9.

Comment 7 Tomas Henzl 2008-02-06 13:32:29 UTC
Nick, you could also use the sources from  bz#233399
Thanks for your time

Comment 8 Nick Cheng 2008-02-13 04:27:25 UTC
Created attachment 294727 [details]
Update the patch for arcmsr

Comment 9 Nick Cheng 2008-02-13 04:27:49 UTC
Created attachment 294728 [details]
Update the patch for arcmsr

Comment 10 Tomas Henzl 2008-02-15 14:20:36 UTC
Nick, again this patch fails to apply against current RHEL4.6 code base. For
example this doesn't work because there function arcmsr_adjust_disk_queue_depth
is not part of arcmsr_hba.c.
-static int arcmsr_adjust_disk_queue_depth(struct scsi_device *sdev, int
+static ssize_t arcmsr_adjust_disk_queue_depth(struct device *dev, const char
*buf, size_t count)
Or I'm doing something wrong ?
Try to use code base from https://bugzilla.redhat.com/show_bug.cgi?id=233399
From Comment 29 in233399 http://people.redhat.com/~jbaron/rhel4/

Comment 11 Nick Cheng 2008-02-18 01:57:31 UTC
OK, I will check.

Comment 12 Nick Cheng 2008-02-19 06:01:40 UTC
Would you please check if the arcmsr source code version is
If it is, arcmsr_adjust_disk_queue_depth() should be there.
The kernel is 2.6.9-67.ELsmp of RHEL4.6 GA on my site.
Is it synchronous to yours?

Comment 13 Tomas Henzl 2008-02-25 11:06:59 UTC
Created attachment 295784 [details]

sorry for being late, I was on vacation last week.
It is "Driver Version", but the symbol
arcmsr_adjust_disk_queue_depth is not there as you can see in the attachment.

Comment 14 Tomas Henzl 2008-02-27 16:56:58 UTC
do you need some other help from me ?

Comment 15 Nick Cheng 2008-02-28 05:53:14 UTC
Hi Tomas,
I check the patch that I made for RHEL4.6 and found it really lacks
It just came to my mind that I made a few changes on arcmsr-  to fit
But I don't keep the variant of source code that I ported for RHEL4.6.
I should be blamed.
Sorry to bother you.
Would you please kindly send me the (1)arcmsr_hba.c, (2)arcmsr_attr.c,
(3)arcmsr.h, (4)pci_ids.h, (5)ChangeLog.arcmsr and (6)Kconfig in

Comment 16 Tomas Henzl 2008-02-28 09:41:36 UTC
Created attachment 296175 [details]
areca files

Nick, I attached the files here, note that there is not Changelog.arcmsr in the
current codebase. Other way how to get the sources is mentioned in Comments

Comment 17 Nick Cheng 2008-03-04 02:48:02 UTC
Created attachment 296695 [details]
The patch for arcmsr-

This is the patch for arcmsr- @ RHEL4 Update 7

Comment 18 Tomas Henzl 2008-03-04 14:00:02 UTC
Nick, it looks like, that in the Kconfig part of your patch, you are changing
things that do not belong to the arcmsr driver. Please could you clarify this ? 

Comment 19 Nick Cheng 2008-03-06 02:28:44 UTC
Created attachment 296981 [details]
patch for Kconfig

Would you please check if this answers your need?
If not, please let me know.

Comment 20 Tomas Henzl 2008-03-06 16:57:50 UTC
Nick, thanks it looks good.

+** For history of changes, see Documentation/scsi/ChangeLog.arcmsr
+**     Firmware Specification, see Documentation/scsi/arcmsr_spec.txt
The patches for these files are missing, it looks like you are moving the
firmware spec from arcmsr.h to arcmsr_spec.txt, so could you provide a patch for
that(also for ChangeLog.arcmsr) ?
-		arcmsr_interrupt(acb);
+		arcmsr_interrupt(acb);/* FIXME: need spinlock */
what does this change mean, shouldn't it rather be fixed ?

Comment 21 Tomas Henzl 2008-03-09 17:01:59 UTC
Nick, you are removing in the function void arcmsr_polling_ccbdone the line :
- poll_ccb_done = 1;
The upstream version does not remove this, so it is only a lapse or is there a
reason for it ?

Comment 22 Nick Cheng 2008-03-10 02:24:40 UTC
Hi Tomas,
For the comment #20, just for sure, do you really need the ChangeLog.arcmsr?
You mentioned there is no ChangeLog.arcmsr for the code base in Comment#16.

If you really need it, I will make a patch for you.
As for  -arcmsr_interrupt(acb);
        +arcmsr_interrupt(acb);/* FIXME: need spinlock */
this is from kernel.org comment, it is for the notification purpose.
It is still an open issue, although I think it has no need to do a fix.
But just let it be there, maybe someone could have other special comments.

For the comment #21, I check it on my site and find it has been removed the 
line, poll_ccb_done = 1.
It could be staying in -mm stage.


Comment 23 Tomas Henzl 2008-03-10 09:27:48 UTC
Hi Nick, 
I created the arcmsr_spec.txt from upstream and I agree with you that the
Changelog is not so important.

Last open issue which I don't understand yet is the "poll_ccb_done = 1".
Should the line stay in the sources or not? I think we will better use the
upstream version - what do you think ?

Comment 24 Nick Cheng 2008-03-10 10:30:53 UTC
After my last review, I found it will be logical if there is no "poll_ccb_done 
= 1".
I have upstreamed to kernel.org with a version w/o poll_ccb_done = 1.
I agree with you'r idea.
But I think it will be adopted into kernel source sooner or later.
If you persist in your opinion, I will submit to it.
BTW, should I make a patch for arcmsr_spec.txt?

Comment 25 Tomas Henzl 2008-03-10 11:35:17 UTC
Nick, thanks, the patch for arcmsr_spec.txt is not needed as I created it myself.

>I have upstreamed to kernel.org with a version w/o poll_ccb_done = 1.
Could you point me where you upstreamed it ? I mean on which list + date.

Comment 27 Tomas Henzl 2008-03-12 14:01:38 UTC
Created attachment 297765 [details]
new version

Nick, this is the version we were talking about. Please check it if it is OK.

Comment 28 Vivek Goyal 2008-03-27 23:23:24 UTC
Committed in 68.27.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 30 Nick Cheng 2008-05-12 04:37:32 UTC
Hi Tomas,
Sorry, I paid no attention to this message.
Do you still waiting my response?

Comment 31 Tomas Henzl 2008-05-12 08:05:08 UTC
don't know what message, but now is important the message from Comment #28,
please download and test the new kernel.

Comment 32 nickcheng 2008-05-19 10:38:05 UTC
I can't boot the kernel.

Comment 33 Tomas Henzl 2008-05-19 11:01:24 UTC
I'm going to test it, but could you more precisely say what kernel you couldn't
boot and if any, some error messages ?
Btw. this a kernel for RHEL4.7.

Comment 34 nickcheng 2008-05-19 11:20:38 UTC
I download kernel-2.6.9-70.EL.src.rpm and kernel-2.6.9-70.EL.x86_64.rpm and
build the kernel. But after I reboot the built kernel, I got kernel panic.
It has nothing to do with Areca driver because I don't have Areca RAID card on it. 

Comment 35 Tomas Henzl 2008-05-19 11:47:49 UTC
The kernel-2.6.9-70.EL.x86_64.rpm is already a package with a built kernel. I've
just tried to install it with rpm ('rpm -ivh kernel-2.6.9-70.EL.i686.rpm') and
it works. Does it work when you install it directly without compiling ?

Comment 36 Don Domingo 2008-05-21 03:54:40 UTC
this bug has been tagged for inclusion in RHEL4.7 release notes. please provide
a short summary of changes applied in this update to the arcmsr driver. thanks!

Comment 37 nickcheng 2008-05-21 07:11:18 UTC
What kind of update to arcmsr?
I have no idea what are you talking about.

Comment 38 Tomas Henzl 2008-05-21 09:22:12 UTC
'release notes' is a text which describes what is new in RHEL4.7.
So we should write down what is new in this driver - for example

- driver updated to version to This update applies several
changes, most notably:
   * Support for new controllers - ARC1200/1201/1202 SATA RAID adapter
   * Many bugfixes and minor improvements

If you are aware of something more precise then 'Many bugfixes and minor
improvements' then please advise.

Comment 39 Don Domingo 2008-05-21 22:36:49 UTC
Thanks Tomas. adding to RHEl4.7 release notes under "Driver Updates => Storage":

arcmsr: driver updated to version This update applies several bug
fixes and minor enhancements; in addition, it also provides support for the
following SATA RAID adapters:

    * ARC1200
    * ARC1201
    * ARC1202

please advise if any further revisions are required. thanks!

Comment 40 nickcheng 2008-05-23 08:44:31 UTC
Would you please check the arcmsr version in arcmsr.h by searching
Thank you,

Comment 43 Tomas Henzl 2008-05-27 09:54:45 UTC
sorry I haven't noticed your question(Comment #40). The version from the latest
attachment is 
+#define ARCMSR_DRIVER_VERSION	"Driver Version 2008/02/27"

Comment 44 Nick Cheng 2008-05-29 06:54:44 UTC
Hi Tomas,
Sorry to late response.
If the driver in RHEL4U7 is "Driver Version 2008/02/27", it is
not the first version that includes the ARC120X HBAs.
I am afraid you get wrong or I misconstrue you.
Would you mind to kindly check it out?

Comment 45 Tomas Henzl 2008-05-29 08:53:42 UTC
from the latest attachment
+#define PCI_DEVICE_ID_ARECA_1200	0x1200
+#define PCI_DEVICE_ID_ARECA_1201	0x1201
+#define PCI_DEVICE_ID_ARECA_1202	0x1202
this looks like a support for a new hardware, please check it.

Is there anything else what you think should be mentioned in the release notes ?

Comment 46 Don Domingo 2008-06-02 23:17:46 UTC

the RHEL4.7 release notes deadline is on June 17, 2008 (Tuesday). they will
undergo a final proofread before being dropped to translation, at which point no
further additions or revisions will be entertained.

a mockup of the RHEL4.7 release notes can be viewed here:

please use the aforementioned link to verify if your bugzilla is already in the
release notes (if it needs to be). each item in the release notes contains a
link to its original bug; as such, you can search through the release notes by
bug number.


Comment 47 Nick Cheng 2008-06-03 02:00:41 UTC
The hyperlink,
http://intranet.corp.redhat.com/ic/intranet/RHEL4u7relnotesmockup.html, is not

Comment 48 Don Domingo 2008-06-03 02:24:23 UTC
Hi Nick,
sorry, that page is only available internally to RHEL people. anyhow, the
release note for this item is quoted in Comment#39

Comment 49 Nick Cheng 2008-06-03 02:49:21 UTC
Created attachment 308180 [details]
Change Log for arcmsr

Comment 50 Chris Ward 2008-06-05 15:57:27 UTC
~ Attention: ~ Feedback requested regarding this **High Priority** bug. 

A fix for this issue should be included in the latest packages contained in
RHEL4.7-Snapshot1--available now on partners.redhat.com.

After you (Red Hat Partner) have verified that this issue has been addressed,
submit a comment describing the passing results of your test in appropriate
detail, along with which snapshot and package version tested. The bugzilla will
be updated by Red Hat Quality Engineering for you when this information has been

If you believe this issue has not properly fixed or you are unable to verify the
issue for any reason, please add a comment describing the most recent issues you
are experiencing, along with which snapshot and package version tested. 

If you believe the bug has not been fixed, change the status of the bug to ASSIGNED.

If you are receiving this message in Issue Tracker, please reply with a message
to Issue Tracker about your results and bugzilla will be updated for you. 

If you need assistance accessing ftp://partners.redhat.com, please contact your
Partner Manager.

Thank you
Red Hat QE Partner Management

Comment 51 Nick Cheng 2008-06-06 01:47:25 UTC
Could we close this bug report?

Comment 52 Don Domingo 2008-06-06 01:59:15 UTC
i believe that's up to QE. i only do the documentation for specific bugs. :-) 

Comment 53 Chris Ward 2008-06-06 08:24:59 UTC
Nick, have you been able to successfully verify the bug in either the 4.7 Beta
or Snapshot 1? If your latest findings indicate the bug has been addressed, QE
will be glad to close this bug report for you.

Comment 54 Nick Cheng 2008-06-06 08:44:56 UTC
Actually this is not a really bug.
It starts to request adding Areca driver into RHEL4U7.
Now, it seems so far so good.
How do I close this bug?

Comment 57 Chris Ward 2008-06-06 09:32:51 UTC
Nick, since there will be changes made to the kernel source to update the arcmsr
driver, we must *verify* that these changes have been made correctly. 

Since you reported the request, it would be great if you could test and verify
that this driver update has actually been properly included in the latest kernel
available in the RHEL 4.7 Beta or Snapshot 1 and meets your expectations.

Let me know which version of the kernel you tested. The latest RHEL4.7 snapshot
is available on http://partners.redhat.com

Additional information can be found in Comment #50. 


Comment 58 Andrius Benokraitis 2008-06-06 14:11:10 UTC
Nick, this bugzilla must say open until the product GAs... since you've tested
and verified the features update to the arcmsr driver, I'm going to change it to
VERIFIED. No other action is needed from you at this point, unless anything is
of issue to the submission.

Comment 61 Nick Cheng 2008-06-12 03:21:37 UTC
Hi Andrius,
I verified it on RHEL 4.7 Snapshot 1.
So far so good.

Comment 62 Andrius Benokraitis 2008-06-12 04:36:04 UTC
Great, thanks for the update Nick!

Comment 64 errata-xmlrpc 2008-07-24 19:24:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Comment 65 Chris Ward 2008-07-29 07:28:42 UTC
Partners, I would like to thank you all for your participation in assuring the
quality of this RHEL 4.7 Update Release. My hat's off to you all. Thanks.

Note You need to log in before you can comment on or make changes to this bug.