Re: FATAL error after upgrade glibc for linux emulation

2018-12-18 Thread Tijl Coosemans
On Tue, 18 Dec 2018 04:20:02 +  wrote:
> I installed 'linux_base-c7' on freeBSD12, and its glibc version is
> '2.17', but I have a linux application, it is depended on glibc-2.27.
> So I upgrade the glibc in /compat/linux to '2.27', (I just copy glibc
> 2.27 from Ubuntu 18.04 to 'compat/linux/lib64':
> ld-2.27.so
> libc-2.27.so
> libdl-2.27.so
> librt-2.27.so
> 
> Then I run my application, it is reported the error:
> FATAL: kernel too old.
> 
> Then I run a simple help world (only print a message), it can work
> before my glibc upgrading, but now get the same error.
> 
> Anything I missed?

You can try to increase compat.linux.osrelease sysctl, but this will
only work if your program doesn't need new kernel features.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


[Bug 220003] emulators/virtualbox-ose: crashes on recent 12.0-CURRENT

2018-12-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220003

Ivo Karabojkov  changed:

   What|Removed |Added

 CC||karaboj...@kit.bg

--- Comment #3 from Ivo Karabojkov  ---
I can confirm the crash:
The crash occurs when I try to start VM on:
FreeBSD 12.0-RELEASE r341666 GENERIC amd64
CPU: Intel E5-2623 v4
CPU microcode: updated from 0xb2a to 0xb2e
virtualbox-ose-nox11-5.2.22_2 (installed from PORTS)

The same system worked fine with FreeBSD 11.2-RELEASE and
virtualbox-ose-nox11-5.2.12_1

The VM starts with NAT adapter and immediately crashes the host with bridged
adapter.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: FATAL error after upgrade glibc for linux emulation

2018-12-18 Thread Chuck Tuffli
On Mon, Dec 17, 2018 at 8:20 PM  wrote:
>
> Dell - Internal Use - Confidential
>
> Hi Linux emulation experts,
>
> I installed 'linux_base-c7' on freeBSD12, and its glibc version is '2.17', 
> but I have a linux application, it is depended on glibc-2.27.
> So I upgrade the glibc in /compat/linux to '2.27', (I just copy glibc 2.27 
> from Ubuntu 18.04 to 'compat/linux/lib64':
> ld-2.27.so
> libc-2.27.so
> libdl-2.27.so
> librt-2.27.so
>
> Then I run my application, it is reported the error:
> FATAL: kernel too old.
>
> Then I run a simple help world (only print a message), it can work before my 
> glibc upgrading, but now get the same error.
>
> Anything I missed?

Can you tell if a call to
setsockopt(..., IP_RECVERR)
is failing?

--chuck
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"