----- Original Message -----
>Date: Thu, 21 May 2009 10:14:17 -0500
>From: Adam Chunn <[email protected]>
>To: solaris driver <[email protected]>
>Subject: [driver-discuss] How do I turn off the boot-archive check on
>       boot-up?
>
>
>I am having a minor annoyance with my 111a build of 2009.06 Solaris.
>
>The short version:  How do I turn off the boot-archive check on boot-up?
>
>The long version:
>
>I am doing driver development and a couple of times a day I crash my system.
>
>I do not work close to my development system, so I have been 
>successfully using the /etc/system "set snooping=1" trick to have my 
>Solaris system reboot when it hangs itself.  When that doesn't work, I 
>use IPMI to reboot my box remotely.
>
>Every time my Solaris box reboots from a crash, it hangs just in initial 
>boot-up wanting me to enter System Maintenance Mode and type "svcadm 
>clear system/boot-archive" because the driver install changed some 
>archived files.  Unfortunately I can't remotely enter system and type 
>these commands.  I have to trundle down to my lab and type these commands.
>
>I have tried to just disable the service by "svcadm disable 
>system/boot-archive", but upon crash, the OS still requests system 
>maintenance mode, I have to enter it, re-enable the service, re-clear 
>the service and then start up.
>
>I have tried to add the "-F failsafe" flag to various lines in the grub 
>menu list.  But everywhere I put it, it either hangs my box or ignores it.
>
>Surely there is an easy way to disable this.  Any help would be 
>appreciated.  Thanks.
>
>-Adam


I'm developping nic drivers. I don't put my drivers into /kernel/drv
directory when they aren't  stable. Instead of that, I load the drivers
into kernel space explicitly by using "modload my_driver".

In addition I put the source code on a separate NFS server. That prevents
the source and binaries from corrupted when the test machine crashes.

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

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

Reply via email to