I don't know any document introduce solaris dump.
But I think source code is the best document :). sddump() in sd.c
is the solaris system crash dump routine.

Javen

Somnath kotur wrote:

>Garett,
>         Thanks,is there some documentation you can
>point me to or elaborate more on how exactly does this
>work on solaris? I know that in windows,during
>crashdump for a boot driver, a copy of the miniport
>driver(HBA driver) is made and prefixed with a symbol
>to give a different name and that is loaded again and
>so forth, is it similiar in solaris? 
>
>Thanks
>Som
>--- Garrett D'Amore <[EMAIL PROTECTED]> wrote:
>
>  
>
>>Javen Wu wrote:
>>    
>>
>>>hi Som,
>>>
>>>You need implement tran_reset() routine for
>>>      
>>>
>>coredump because sddump() 
>>    
>>
>>>need the reset.
>>>  
>>>      
>>>
>>You need tran_reset() anyway!  tran_abort() and
>>tran_reset() may be 
>>called by sd driver when encountering certain error
>>conditions, as I 
>>discovered myself.
>>
>>To support crash dumps, you also need to implement
>>support for 
>>tran_start() when the pkt->pkt_flags includes
>>FLAG_NOINTR.  Interrupts 
>>are not enabled during dump(9e).
>>
>>    -- Garrett
>>    
>>
>>>Cheers
>>>Javen
>>>
>>>Somnath kotur wrote:
>>>
>>>  
>>>      
>>>
>>>>Hi Javen,
>>>>
>>>>           I tried searching the sun docs for any
>>>>information on if there is anything to be done
>>>>        
>>>>
>>for
>>    
>>
>>>>crashdump support particularly when your
>>>>        
>>>>
>>SCSI/iSCSI
>>    
>>
>>>>driver is the boot driver , just got the
>>>>administration guides ,and from them i got the
>>>>impression that there is really NOT much to  be
>>>>        
>>>>
>>done,
>>    
>>
>>>>could you pls confirm?
>>>>
>>>>Thanks
>>>>Som
>>>>
>>>>
>>>>
>>>>    
>>>>        
>>>>
>____________________________________________________________________________________
>  
>
>>>>Looking for last minute shopping deals?  
>>>>Find them fast with Yahoo! Search. 
>>>>        
>>>>
>http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>  
>
>>>> 
>>>>
>>>>    
>>>>        
>>>>
>>>_______________________________________________
>>>driver-discuss mailing list
>>>[email protected]
>>>
>>>      
>>>
>http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>  
>
>>>  
>>>      
>>>
>>    
>>
>
>
>
>      
> ____________________________________________________________________________________
>Be a better friend, newshound, and 
>know-it-all with Yahoo! Mobile.  Try it now.  
>http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
>
>  
>

_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to