开发者

solaris test driver crashes

In solaris I wrote a driver and it is crashing.. But my solaris kernel is also getting crashed because of it. The driver is getting loaded every time the system resets and kernel is dumping core and reboots.. How to stop the loading of the crashing driver whenever the system开发者_JAVA百科 reboots?


Too bad you aren't using Solaris 10 (or newer) which implement failsafe booting and has so many other improvements. Anyway, the simplest method to recover your system would be to boot on an OpenSolaris SPARC live CD like Milax ( http://genunix.org/distributions/dss/milax032sparc.iso ) or similar, mount your Solaris 9 root filesystem and remove your bogus driver from there.

When done, you might want to implement failsafe boot like explained here:

http://wikis.sun.com/display/BigAdmin/Back+port+Solaris+10+failsafe+feature+to+Solaris+9+and+below


You have been following the recommended best practice of

For safety and convenience, booting with an alternate kernel is highly encouraged.

Right? So unless you have an alternate kernel configured somewhere, and not been following the best practices (development drivers go into /tmp), you may have a serious problem there.

I guess you could net-boot from a second machine or CD as @jlliagre suggested, and then mount the local disks to remove the offending driver.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜