From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 13 11:28:36 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EEE7106564A for ; Wed, 13 Aug 2008 11:28:36 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B78688FC1D for ; Wed, 13 Aug 2008 11:28:35 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A565AB.dip.t-dialin.net [84.165.101.171]) by redbull.bpaserver.net (Postfix) with ESMTP id 3BACE2E273; Wed, 13 Aug 2008 13:28:27 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 8BDED14D8DF; Wed, 13 Aug 2008 13:28:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1218626903; bh=AOaNjWLep2di2gp+8WoOpqaTo8OBt5/Fv tnSp0SHufs=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sEy/K1i8xoX7VlJ+p6V5ghmXyMriB5syJyEKO4rJ9Ebcf2kN/j9dq3jF9YD3UwOFC JAc6BRgQ8FBw3AylaIKlgV4PVPdsF0IK2fURQCwfWj0uJryC9xEPkLLkuPbJl1k06nd M9WYzBVG264lITippc9doiW4JjpOhDQ1oz28eUyuHtaxjn7Pson3W7usc+SdhbGIFbv uQZw4kHUUkXCk9+ttfbbtXMHr+pNvjmR4yKa0Vr/T6RGeadvfdKb+rYvkyMfToj+t2n JZYQ39Ki3xUsR+2xyKeAusGrfp09XOz6LuXVC5piNKsMyABCnA/QUxposxbRs9nA2YM 86UkS2JMA== Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m7DBSMJK035600; Wed, 13 Aug 2008 13:28:22 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 13 Aug 2008 13:28:22 +0200 Message-ID: <20080813132822.18394zk66kfg0xcs@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 13 Aug 2008 13:28:22 +0200 From: "Alexander Leidinger" To: "Nate Eldredge" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 3BACE2E273.A676E X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.823, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10, TW_KD 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Wed, 13 Aug 2008 11:32:26 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Debugging reboot with Linux emulation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 11:28:36 -0000 Quoting "Nate Eldredge" (from Tue, 12 Aug =20 2008 23:52:35 -0700 (PDT)): > Hi folks, > > I recently tried to run a Linux binary of Maple (commercial math =20 > software) on my FreeBSD 7.0-RELEASE/amd64 box, and the machine =20 > rebooted. I tried it again while watching the console, and no panic =20 > message appeared to be produced. Does anyone have any ideas on how =20 > to debug problems of this nature? I realize I may not be able to =20 > get Maple to work, but in any case the system should not die like =20 > this, so I can at least try to fix that bug. > > Incidentally, is it possible to run kdb with a USB keyboard? =20 > Hitting Ctrl-Alt-Esc gives me the kdb prompt, but I can't type, so I =20 > can do nothing except hit the power button. I do have =20 > hint.atkbd.0.flags=3D"0x1" in /boot/device.hints. Unfortunately I =20 > don't have a PS/2 keyboard on hand, though I can try and get a hold =20 > of one if all else fails. A guess out of my cristallball: That's one of the cases which happen if you run a linux program =20 without branding it as a linux program first. People tend to think it =20 is not needed, but in some rare circumstances it just causes what you =20 see, a reboot. So go and identify all binaries (IMPORTANT: but not the =20 libraries!), e.g. with the file(1), and use "brandelf -t Linux" on =20 those programs. Bye, Alexander. --=20 =09She said, "I know you ... you cannot sing." =09I said, "That's nothing, you should hear me play piano." =09=09-- Morrisey http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137