From owner-freebsd-hackers Sat May 27 7: 0:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from overcee.netplex.com.au (peter1.yahoo.com [208.48.107.4]) by hub.freebsd.org (Postfix) with ESMTP id CC72C37B68A for ; Sat, 27 May 2000 07:00:11 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 2352D1CE1; Sat, 27 May 2000 07:00:11 -0700 (PDT) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Bosko Milekic Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Linux Module problems In-Reply-To: Message from Bosko Milekic of "Fri, 26 May 2000 14:08:18 EDT." Date: Sat, 27 May 2000 07:00:11 -0700 From: Peter Wemm Message-Id: <20000527140011.2352D1CE1@overcee.netplex.com.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The ipfw module does the same thing too. I discovered this while testing the kernel side of the recent module changes. Bosko Milekic wrote: > 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 > > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message