Date: Fri, 23 Jun 2000 06:58:47 -0500 From: Mike Pritchard <mpp@mppsystems.com> To: Mike <mike@adept.org> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: linux emulation crashes (was: Re: Softupdates disappears?) Message-ID: <20000623065847.A355@mppsystems.com> In-Reply-To: <20000623034310.C16895@mppsystems.com>; from mpp@mppsystems.com on Fri, Jun 23, 2000 at 03:43:10AM -0500 References: <20000622042626.C02ADE6FF8@netcom1.netcom.com> <Pine.BSF.4.21.0006221500550.82230-100000@snafu.adept.org> <20000623034310.C16895@mppsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I finally figured out my problem after quite a few reboots, and forcing a few crash dumps. It turns out that I had an old linux_base port installed, and when the /usr/sbin/linux script ran /usr/compat/linux/sbin/ldconfig the version I had, for whatever reason, wound up calling the reboot() system call. After a pkg_delete and a fresh install of the port, the problem went away. One odd thing, due to some outdated files in /etc/defaults (I think), I wasn't even building the linux module and installing it. The kldload was failing, but attempting to run the bad ldconfig still caused the machine to crash. FreeBSD syscall # 55 = reboot, Linux syscall # 55 = fcntl. I wonder if something in exec needs fixing to not run linux binaries if the emulator isn't present. The up-to-date linux ldconfig core dumps when the linux emulator isn't present. -Mike On Fri, Jun 23, 2000 at 03:43:10AM -0500, Mike Pritchard wrote: > On Thu, Jun 22, 2000 at 03:06:31PM -0700, Mike wrote: > > > > I installed 4.0 release from CD and enabled linux emulation. No > > problem. I then cvsup'd to stable, enabled softupdates and got panics on > > reboot. I turn linux emulation off, panics go away. I don't even need > > linux emulation... Just wondering if this is a known problem, or > > something I'm managing to fubar (searching list archives didn't turn > > anything up, sorry if this has been addressed). > > > > If it is a real problem, I can provide more details. > > I had the same problem with 5.0-current yesterday on one of my machines. > My machine didn't panic, but when/etc/rc loaded the linux emulator, > the machine halted itself. E.g. I got the "waiting for process..." and > the "uptime" message and then the machine halted. I didn't have time > to figure out what was going on at the time, so I just disabled the > emulator in rc.conf. > > Funny thing is, the linux emulator works fine on my other machine, and > it is running from the same source set as the machine with the problem. > They do run slightly different kernels, however. -- Mike Pritchard mpp@FreeBSD.org or mpp@mppsystems.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000623065847.A355>