Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2015 01:44:47 +0100
From:      Miguel C <miguelmclara@gmail.com>
To:        Johannes Jost Meixner <johannes@meixner.dk>
Cc:        "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org>
Subject:   Re: [CFT] CentOS 6.7 ports
Message-ID:  <CADGo8CXmj17=1eWFCMeFfiwYq%2BCVOHa1C1DV2H6bcdQjTmnBkg@mail.gmail.com>
In-Reply-To: <CADGo8CXSn2RnJ9BDpyMbj4jpDKfApBYxdX=qPoa_TTKc%2BGNk-A@mail.gmail.com>
References:  <55D45CAE.6050904@meixner.dk> <CADGo8CVgxFm1=D-Y5v_YgZFUxAtbm%2Bh2my4KrFZMqsXWTu2wFw@mail.gmail.com> <55D8AB19.2090209@meixner.dk> <CADGo8CXSn2RnJ9BDpyMbj4jpDKfApBYxdX=qPoa_TTKc%2BGNk-A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 23, 2015 at 1:02 AM, Miguel C <miguelmclara@gmail.com> wrote:

>
> On Sat, Aug 22, 2015 at 6:02 PM, Johannes Jost Meixner <
> johannes@meixner.dk> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>>
>>
>> On 08/20/2015 20:51, Miguel C wrote:
>> > Was testing this with sublime3 (linux-c6 installed fine after the
>> > patch), I've changed sublime3 Makefile to get the 64bit version
>> > instead of 32; updated the plist and distinfo files... and it
>> > install fine, but I get a segfault while running it see this is
>> > dmesg:
>> >
>> > pid 59256 (bash), uid 1001: exited on signal 11 (core dumped) pid
>> > 59257 (bash), uid 1001: exited on signal 11 (core dumped)
>> >
>> > Not sure if this is the best way to get a more verbose output when
>> > linux ports are involved.
>>
>> Something you can do is, truss the sublime3 command, and attach the
>> logs here.
>>
>
> I was unaware of truss thanks, log here for "bash" seems this seems to be
> what segfaulting so before debugging sublime I would like to find out why
> bash segfaults as I wont be able to run most things without it anyway :P
>
> truss log here:
> http://pastebin.com/raw.php?i=igHkXeQq
>
>
>
>>
>> Likewise, please have a look at devel/linux_kdump and ktrace. Those
>> two should get you logs with even more debugging information.
>>
>> I found linux_kdump before sending the email, but can I just use it with
> FreeBSD ktrace? I tough I would need a "linux_ktrace" but I don't find one.
>
>
running ktrace and linux_kdump seem to do it :)

output here: http://pastebin.com/raw.php?i=jzvTA9GJ


>>
>> Best,
>> - -J
>>
>>
>> >
>> >
>> >
>> > Melhores Cumprimentos // Best Regards
>> > ----------------------------------------------- *Miguel Clara* *IT
>> > - Sys Admin & Developer*
>> >
>> > On Wed, Aug 19, 2015 at 11:38 AM, Johannes Jost Meixner
>> > <johannes@meixner.dk <mailto:johannes@meixner.dk>> wrote:
>> >
>> > Please find the work in progress of the CentOS 6.7 ports (both
>> > i686 and x68_64) at https://reviews.freebsd.org/D3428.
>> >
>> >
>> > How to test things.
>> >
>> > Specifics for 64bit: 0. Run FreeBSD 11.0-CURRENT later than end of
>> > May, put the following in make.conf:
>> >
>> > OVERRIDE_LINUX_BASE_PORT=c6_64 OVERRIDE_LINUX_NONBASE_PORTS=c6_64
>> >
>> > Specifics for 32bit: 0. Run FreeBSD 8.x, 9.x, 10.x and don't touch
>> > make.conf.
>> >
>> >
>> >
>> > 1. Load the relevant kernel modules (linux.ko, linprocfs.ko, ...)
>> >
>> > 2. Patch your portstree -- follow the instructions on
>> > https://wiki.freebsd.org/CodeReview
>> >
>> > 3. make -C ports/emulators/linux-c6 install clean
>> >
>> > 3. Try with all things Linux in the portstree or outside ---
>> > Flash, linux Games, Mathematica, Matlab, Oracle 10g, whatever you
>> > have at your disposal.
>> >
>> >
>> > _______________________________________________
>> > freebsd-emulation@freebsd.org
>> > <mailto:freebsd-emulation@freebsd.org> mailing list
>> > https://lists.freebsd.org/mailman/listinfo/freebsd-emulation To
>> > unsubscribe, send any mail to
>> > "freebsd-emulation-unsubscribe@freebsd.org
>> > <mailto:freebsd-emulation-unsubscribe@freebsd.org>"
>> >
>> >
>>
>> - --
>> I've recently changed my email address to:
>>
>>     johannes@meixner.dk
>>
>> Please update your addressbook accordingly.
>>
>> Best regards,
>>
>> Johannes Meixner
>> http://www.meixner.dk
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2
>>
>> iQIcBAEBCAAGBQJV2KsYAAoJEElqnXBiUNQCyMwP/0Sleo5eCKqgoDsbtWj7aquw
>> ryb8SpWDqfZrenFpddiYCbSZt/8D5urJRJWfVT+IxYidJnZqkqUXCYmJgB5/fbct
>> MJ2NlCU4/oBTsUVQAWpSVcXAmfHwclFlCuQlBLhuF72LoK/yxKd9FqCp8ZQ8B5yd
>> 0nDZzCN2nyVKCotisn2tfsS4bEdkbZRxv1mtFDhPJXZB0f9T1OejMHzC7awoHo8P
>> hoSwaAIRvljdJw+7dquV4tTilOcIIVGO5wyvZLyMzWFfnZLSrSwEUtemVNrEPfih
>> 9dsOq8rjpFqMa18OXgkYepvF1D1hKlFM30/rzwGZdLonhBxA3MeduuRHoEKceZV9
>> HehAFNAzpzH/q02Ty+mmpUfOzCKbNtAkwQDUF5OhFOxudOeSuXkzNGwk7AXGm2Xo
>> PTi1nUmVJMgCc69MZP18PoheF/8YovymAu90uLnscp+Cj5lsdblkK1zMVogO+/kS
>> nuSgsLOucWCUXmAnILcMG7iczhmUenUrjlX8uC+upret9rqnRw+q3/UNcHQJFr/h
>> fJIa1sEDSrXhJzGjtEKmIA2CMKzqL8re9uAHFF/e7O6I5HyZDI0Y+soeVWW2HMko
>> cZwmi0pLHwXrudfjQNdlsniWH/2ViDoiCRicGdod3uutuvDbajakVCRARAydxHa4
>> Ts5vtZUd468Pa4CaIeBT
>> =K3l7
>> -----END PGP SIGNATURE-----
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CXmj17=1eWFCMeFfiwYq%2BCVOHa1C1DV2H6bcdQjTmnBkg>