arcmsr + archttp64 calls dma_free_coherent() with irqs disabled - dmesg filled with warnings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
Binary package hint: linux-source-2.6.24
Hi,
I am trying to run the areca cli tool from areca with my areca 1210 card on hardy.
I am using 2.6.24-4-server which I realise is not the latest hardy kernel, but I just wanted to make sure a patch was included eventually in the hardy kernel for this bug in the areca driver.
The problem I am having is the same as this:
http://<email address hidden>
The kernel commit can be found here:
http://
and there is a patch from gentoo here:
http://
essentially, if we could backport the latests arcmsr driver, to Hardy's 2.6.24 kernel that would be awesome and I think fix the problem.
Or apply the patch from the gentoo bugtracker.
I have checked the version of the driver in the latest hardy kernel and it seems to be the stock driver.
here is the upstream driver if you want to consider applying this instead to the kernel for hardy:
ftp://ftp.
thanks
dave
Changed in linux: | |
assignee: | ubuntu-kernel-team → colin-king |
status: | Triaged → In Progress |
Thanks Dave,
I'm just updating this report with the upstream git commit id and summary for the patch to resolve this. Thanks.
commit 69e562c234440fb 7410877b5b24f4b 29ef8521d1
Author: Daniel Drake <email address hidden>
Date: Wed Feb 20 13:29:05 2008 +0000
[SCSI] arcmsr: fix message allocation
arcmsr_ iop_message_ xfer() is called from atomic context under the
queuecommand scsi_host_template handler. James Bottomley pointed out
that the current GFP_KERNEL|GFP_DMA flags are wrong: firstly we are in
atomic context, secondly this memory is not used for DMA.
Also removed some unneeded casts.
Signed-off-by: Daniel Drake <email address hidden>
Cc: Nick Cheng <email address hidden>
Signed-off-by: James Bottomley <email address hidden>