Date: Wed, 13 Aug 2008 13:28:22 +0200 From: "Alexander Leidinger" <Alexander@Leidinger.net> To: "Nate Eldredge" <neldredge@math.ucsd.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: Debugging reboot with Linux emulation Message-ID: <20080813132822.18394zk66kfg0xcs@webmail.leidinger.net> In-Reply-To: <Pine.GSO.4.64.0808122344020.11980@zeno.ucsd.edu> References: <Pine.GSO.4.64.0808122344020.11980@zeno.ucsd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Nate Eldredge" <neldredge@math.ucsd.edu> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080813132822.18394zk66kfg0xcs>