Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2000 22:12:09 +0200
From:      Alain Thivillon <Alain.Thivillon@hsc.fr>
To:        Bosko Milekic <bmilekic@dsuper.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Linux Module problems
Message-ID:  <20000526221209.E9906@yoko.hsc.fr>
In-Reply-To: <Pine.BSF.4.21.0005261352080.20869-100000@jehovah.technokratis.com>; from bmilekic@dsuper.net on Fri, May 26, 2000 at 02:08:18PM -0400
References:  <Pine.BSF.4.21.0005261352080.20869-100000@jehovah.technokratis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bosko Milekic <bmilekic@dsuper.net> écrivait (wrote) :

>   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!

	I had the same problem with all statically linked Linux
binaries, including rpm. I guess that loader does not recognize as
Linux, launch them as FreeBSD static and one of the syscall is mapped to
halt() (for example if dont launch rpm as root, i have "Segmentation
violation" instead of a reboot).

	As explained in /usr/src/UPDATING, you have to rebrand them:

        brandelf -t Linux <static-binary>

        The first candidate (and i think this explain you problem)
        if of course /compat/linux/sbin/ldconfig.

-- 
Alain Thivillon -+- Alain.Thivillon@hsc.fr -+- Hervé Schauer Consultants


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000526221209.E9906>