Date: Mon, 21 Apr 1997 09:10:16 -0700 (PDT) From: Simon Shapiro <Shimon@i-Connect.Net> To: Bruce Evans <bde@zeta.org.au> Cc: freebsd-bugs@freebsd.org Subject: Re: Mystery of the X11 Panic... Message-ID: <XFMail.970421092336.Shimon@i-Connect.Net> In-Reply-To: <199704210852.SAA27852@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Bruce Evans; On 21-Apr-97 you wrote: > [cc list trimmed to remove -hackers] > > >Fatal trap 12 - Page fault while in kernel mode. in virtual address > >0xf71e0014. Tracing back shows that bash (?!) was the culprit, causing > it > >after calling _Xsyscall -> _syscall -> _vm_open -> _spec_open. > > > >Things go south at _spec_open + 0x6e, complaining about cmpl $0,0(%eax). > > This means that cdevsw[maj]->d_open is bad (probably null) although > cdevsw[maj] != NULL. This might be caused by a buggy or stale LKM. > Driver LKM's tend to cause this problem if they are unloaded. Bash > may trigger the problem because it does an opendir() on device files > (but I thought I fixed this by not opening device files in opendir()). > I wouldn't use LKMs for anything important. I thought about that and disabled all lkm's, I think. It only happens to bash if X11R6 is running and only on new 2.2 kernels. I think we need to make sure the kernel does not panic. Right? What can I do to help close this hole? Simon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.970421092336.Shimon>