Solaris 测试驱动程序崩溃

发布于 2024-09-14 05:32:04 字数 103 浏览 10 评论 0原文

在solaris中,我写了一个驱动程序,它崩溃了。但是我的solaris内核也因此崩溃了。每次系统重置并且内核转储核心并重新启动时都会加载驱动程序。如何在系统重新启动时停止加载崩溃的驱动程序?

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 reboots?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

鸩远一方 2024-09-21 05:32:04

太糟糕了,您没有使用 Solaris 10(或更高版本),它实现了故障安全引导并具有许多其他改进。无论如何,恢复系统的最简单方法是在 OpenSolaris SPARC Live CD 上启动,例如 Milax ( http://genunix.org/distributions/dss/milax032sparc.iso )或类似的,安装 Solaris 9 根文件系统并从那里删除伪造的驱动程序。

完成后,您可能想要实现故障安全引导,如下所述:

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

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

陌伤ぢ 2024-09-21 05:32:04

您一直在遵循推荐的最佳实践

为了安全和方便,启动
与备用内核是高度
受到鼓励。

正确的?因此,除非您在某处配置了备用内核,并且没有遵循 最佳实践(开发驱动程序进入/tmp),您可能会遇到严重的问题。

我想您可以按照 @jlliagre 的建议从第二台计算机或 CD 进行网络引导,然后安装本地磁盘以删除有问题的驱动程序。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文