[Ocf-linux-users] FW: kernel panic, hifn7751, digests
                
                Brought to you by:
                
                    david-m
                    
                
            
            
        
        
        
    | 
      
      
      From: John G. <joh...@ta...> - 2008-07-23 19:55:48
      
     | 
| Folks FWIW I still see this panic in ocf-linux-20080704.tar.gz Patch seems to fix it. Cheers John -----Original Message----- From: ocf...@li... [mailto:ocf...@li...] On Behalf Of John Gumb Sent: 20 June 2008 19:54 To: ocf...@li... Subject: [Ocf-linux-users] kernel panic, hifn7751, digests Folks Between ocf-linux-20060331 and ocf-linux-20071215 something got into the hifn driver which causes a kernel panic under load calculating digests. By pretty much brute force I think I've tracked down what's causing it. The patch kinda speaks for itself but its all related to moving towards a common crypto_copyback function. Reinstating crp->crp_mac rather than using crp->crp_buf and the complexity that entails in crypto_copyback/cuio_copyback seems to fix it. I don't pretend to understand this but it does seem to work for us. As I say, the crash only happens under heavy load and if I have ENABLE_DIGESTS on in the openssl eng_cryptodev.c Just thought I'd let you know or might help someone. Patch and panic signature attached. cheers John Gumb |