On my -CURRENT machine,
FreeBSD jehovah 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat May 13 15:11:13 EDT
2000 root@jehovah:/usr/src/sys/compile/JEHOVAH i386
(obviously a little out-dated), I have recently noticed unusual
problems with the linux module which, by the way, is of the same date.
The first problem I discovered first came up while building the
StarOffice5 port. After checking the dependency for linux's libc5, it
_spontaneously_ reboots. No panic(), hence no debugger. I've never seen
this sort of behavior before and have no idea what could have caused it.
However, I noticed a related incident, which I can reproduce. What I
did was, for kicks, kldunload linux, and then make install the
staroffice5 port, and this time, I got a page fault and panic() from
within malloc, which was trying to move something located at an address
on an unmapped page to a register. I can reproduce this easily at the
moment, with the following:
#!/bin/sh
while true; do
kldload linux;
kldunload linux;
done
A quick kldunload linux followed by a quick kldload linux does it on the
first iteration.
What's more odd is that now, after panic()ing the machine a couple of
times with the above, I can reproduce the spontaneous reboot easily too,
by just starting up linux Netscape!
At the moment, I cvsup-ed new sources, and am rebuilding world and a
fresh new kernel, at which point I'll try to reproduce this again. I
remember seeing this in earlier -CURRENT, too, just never got around to
playing with it. Anyone?
--
Bosko Milekic * pages.infinit.net/bmilekic/index.html * www.technokratis.com
[EMAIL PROTECTED] * [EMAIL PROTECTED] * [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message