At 09:15 PM 08/03/2005 -0600, David Sze wrote this to All:
At 05:55 PM 08/03/2005 -0700, Scott Long wrote this to All:
>>David Sze wrote:
>>On my 2850 the upper 1GB of RAM cannot be addressed without PAE support
>>in the kernel.  However, amr in 4.11-RELEASE does indeed seem to have
>>trouble with PAE.  The result being that with the option in the kernel,
>>the root device (ufs:/dev/amrd0s1a) cannot be found.
>>
>>I backported scottl's amr PAE fixes from RELENG_5; the diffs applied
>>cleanly (with offsets).  I'm happy to report that my 2850 can now
>>address its full 4GB and see its amr volumes.
>>
>>The diff against 4.11-RELEASE is attached, hopefully someone will be
>>willing to commit it to RELENG_4.
>
>I don't have the cycles to watch after RELENG_4, so I'll have to take
>your word that this works.  What date is this patch against?  I
>committed some follow-up fixes last week that are required for
>management apps to work (and yes, LSI is getting ready to support
>FreeBSD with management apps).

The patch is against 4.11-RELEASE, and is just a backport of your commit
from Dec. 5th
(http://lists.freebsd.org/pipermail/cvs-all/2004-December/094923.html).
There haven't been any changes to amr since release, so it should apply
directly to RELENG_4 as well.

I left out the subsequent ioctl fixes and LSI 320-2E support.  They look
straightforward, but I don't have the software or hardware to test them.
If you'd like them in there before committing to RELENG_4, I can take a
stab at it and post a new patch.

A new patch is attached to this message that synchronizes the RELENG_4 amr driver with CURRENT, minus the SMPng locking and amd64/ia64 ioctl compatibility stuff. The fixes and their corresponding file revisions are:

Greater than 4GB support
        amr.c           1.55, 1.56, 1.59
        amr_cam.c       1.10
        amr_pci.c       1.24
        amrvar.h        1.23

ioctl fixes for LSI management tools
        amr.c           1.60, 1.61

Fix module unloading
        amr_cam.c       1.12
        amrvar.h        1.24

Check for NULL amrd_sc in amrd_dump
        amr_disk.c      1.32

Support for LSI 320-2E PCI Express controller
        amr_pci.c       1.27
        amrreg.h        1.8
        amrvar.h        1.26

The only part of the patch I've tested is the >4GB support. The rest compiles but I can't vouch for its validity because I don't have the software or hardware to test.


Attachment: amr-4.x-MFC.patch
Description: Binary data

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to