Evgeniy Polyakov schrieb:
> Hi Dimitri.
> 
> On Mon, Sep 22, 2008 at 07:39:23PM +0200, Dimitri Puzin ([EMAIL PROTECTED]) 
> wrote:
>> nommu_map_single: overflow 1fe047e00+512 of device mask ffffffff
> 
> Does attached patch fix the problem?
With this patch applied it still doesn't work as expected. The overflow
messages are gone however syslog shows
[  120.924266] hifn0: abort: c: 0, s: 1, d: 0, r: 0.
when doing cryptsetup luksFormat as in original e-mail. At this point
cryptsetup hangs and can't be killed with -SIGKILL. I've attached
SysRq-t dump of this condition.

Regards,

Dimitri Puzin
> 
> diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c
> index 81f3f95..b288bbd 100644
> --- a/drivers/crypto/hifn_795x.c
> +++ b/drivers/crypto/hifn_795x.c
> @@ -2593,7 +2593,7 @@ static int hifn_probe(struct pci_dev *pdev, const 
> struct pci_device_id *id)
>               return err;
>       pci_set_master(pdev);
>  
> -     err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
> +     err = pci_set_dma_mask(pdev, DMA_64BIT_MASK);
>       if (err)
>               goto err_out_disable_pci_device;
>  

Attachment: sysrq.gz
Description: GNU Zip compressed data

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to