But apparently in Windows and Linux ,OS reserves some amount of memory for reloading part of the storage stack to write to the dump file,are we saying that there is no such mechanism in solaris?
Thanks Som --- "James C. McPherson" <[EMAIL PROTECTED]> wrote: > Somnath kotur wrote: > > Garett, > > What about the case when the crash is due > to > > the boot driver itself?(possibly some memory > > corruption issue) Surely,it must reload the driver > > albeit in a somewhat restricted mode? How does it > work > > then? > > > Not generally the case. If, for instance, we had a > panic in mpt(7d) which was providing the boot > device, > then I would expect to see the system drop to kmdb > (if that was enabled), or reboot (otherwise). If > there's a bug in the driver which provides the boot > device, then you probably shouldn't be trusting any > crash dump which it might tell you it has been able > to drop :-) > > > > > > 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 > >>> driver-discuss@opensolaris.org > >>> > > > http://mail.opensolaris.org/mailman/listinfo/driver-discuss > >>> > >> > > > > > > > > > ____________________________________________________________________________________ > > Never miss a thing. Make Yahoo your home page. > > http://www.yahoo.com/r/hs > > _______________________________________________ > > driver-discuss mailing list > > driver-discuss@opensolaris.org > > > http://mail.opensolaris.org/mailman/listinfo/driver-discuss > > > -- > James C. McPherson > -- > Senior Kernel Software Engineer, Solaris > Sun Microsystems > http://blogs.sun.com/jmcp > http://www.jmcp.homeunix.com/blog > ____________________________________________________________________________________ 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 driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss