Thanks a lot James,
I have verified your suggested with my driver, its working very well.

Thanks again for great and quick help.

Best regards,
ajit

On Wed, Jan 7, 2009 at 1:08 PM, James C. McPherson
<[email protected]>wrote:

> On Wed, 07 Jan 2009 11:15:23 +0530
> ajit jain <[email protected]> wrote:
>
> > Hi,
> >
> > Thanks for replying Paul.
> >
> > My driver will be loaded at the boot time itself, just after the root
> > file-system mounts in the read-only mode. Suppose there is bug in the
> > driver due to which the system is panicing, and since the driver is
> > loading at the boot time, it will cause the system to panic in all
> > the subsequent boot cycle. To avoid such issue I'll bypass the driver
> > loading by supplying "do not load the driver" as an argument to the
> > boot options. So, in the rc scripts I need to check whether the
> > system is boot with the by-pass mode of the driver.
>
>
> Gday Ajit,
>
> If you add
>
> -Bdisable-sd=true
>
> to your kernel$ line in grub, then the sd(7d) driver will be
> disabled. Replace "sd" with your driver name to achieve a similar
> result.
>
> That's the best way that I know of to prevent loading a driver
> which is panicing on boot.
>
>
> James C. McPherson
> --
> Senior Kernel Software Engineer, Solaris
> Sun Microsystems
> http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog
>
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to