From owner-freebsd-hackers Fri May 26 11:22:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from field.videotron.net (field.videotron.net [205.151.222.108]) by hub.freebsd.org (Postfix) with ESMTP id 0C19D37C450 for ; Fri, 26 May 2000 11:07:23 -0700 (PDT) (envelope-from bmilekic@dsuper.net) Received: from modemcable009.62-201-24.mtl.mc.videotron.net ([24.201.62.9]) by field.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with ESMTP id <0FV6003H2IB7GJ@field.videotron.net> for freebsd-hackers@freebsd.org; Fri, 26 May 2000 14:06:43 -0400 (EDT) Date: Fri, 26 May 2000 14:08:18 -0400 (EDT) From: Bosko Milekic Subject: Linux Module problems X-Sender: bmilekic@jehovah.technokratis.com To: freebsd-hackers@freebsd.org Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 bmilekic@dsuper.net * bmilekic@technokratis.com * b.milekic@marianopolis.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message