Re: Updates to linsysfs

2017-10-11 Thread Chagin Dmitry
On Tue, Oct 10, 2017 at 06:20:27PM -0700, carlos antonio neira bustos wrote: > Hi, > > I just updated linsysfs to include /sys/class/net files for eth0 and > loopback device. Who could do a code review for this or maintains this > part of the linuxlator? hi, feel free to send it to me or post b

Re: help debugging Oracle Java error

2016-09-16 Thread Chagin Dmitry
On Fri, Sep 16, 2016 at 10:31:24AM -0700, Chuck Tuffli wrote: > What's the best way to go about debugging a failure with a Java > application using the Linux JDK provided by Oracle? The application in > question uses the gradle wrapper (i.e. gradlew) to run, but throws an > java.io.IOException erro

Re: ioctl

2016-09-15 Thread Chagin Dmitry
On Thu, Sep 15, 2016 at 01:37:22PM +0200, Erik Cederstrand wrote: > > > Den 15. sep. 2016 kl. 10.40 skrev Erik Cederstrand : > > > > Hi folks, > > > > I managed to get a 64-bit Oracle instantclient running under 64-bit Linux > > so I can connect to an Oracle database using the Oracle client "sq

Re: linux-compat semctl operation - bad address

2016-09-13 Thread Chagin Dmitry
On Mon, Sep 12, 2016 at 02:57:01PM -0500, Joe Love wrote: > > > On Sep 9, 2016, at 4:34 PM, Joe Love wrote: > > > > Hi, > > > > I have a linux binary I’m trying to run on a 12-CURRENT machine with the > > linux_base-c7 (64-bit) port. > > > > When trying to run it, it starts up and then spits

Re: cx_Oracle on 64-bit FreeBSD, need help

2016-06-15 Thread Chagin Dmitry
On Wed, Jun 15, 2016 at 02:15:15PM +0200, Erik Cederstrand wrote: > Hi, > > I'm trying to get the cx_Oracle Python package to run on 64-bit 10.3-RELEASE. > This has previously not been possible, so this is a first attempt. cx_Oracle > requires the Oracle instantclient libraries which are only av

Re: Problem with sublime2 and 3 and linux-compat

2016-05-09 Thread Chagin Dmitry
(though it maybe stripped out ;D) > > > On 5/8/16, Chagin Dmitry wrote: > > On Sun, May 08, 2016 at 11:05:41PM +0430, mokhi wrote: > >> ktrace.out is attached. > >> dump output is : https://dpaste.de/9OHE (for the case that attachments > >> are stripped out)

Re: Problem with sublime2 and 3 and linux-compat

2016-05-08 Thread Chagin Dmitry
On Sun, May 08, 2016 at 11:05:41PM +0430, mokhi wrote: > ktrace.out is attached. > dump output is : https://dpaste.de/9OHE (for the case that attachments > are stripped out) > 404, please, do ktrace -di /path/to/u/bin and then kdump -HAR -m128 > programm.log, then send programm.log to me _

Re: Problem with sublime2 and 3 and linux-compat

2016-05-08 Thread Chagin Dmitry
On Sun, May 08, 2016 at 08:13:23PM +0430, mokhi wrote: > > ^^ looks like native > > (FreeBSD) lib > Yes it is. > And IMO it shouldnt search out of compat/linux/usr/lib for libs, no? > Also i checked for "compat/linux/usr/lib/libtinfo.so.5" and it exis

Re: Problem with sublime2 and 3 and linux-compat

2016-05-08 Thread Chagin Dmitry
On Sun, May 08, 2016 at 07:01:08PM +0430, mokhi wrote: > Hi. > I encountered problem with sublime port that uses linux emulations. > When i try to run sublime it errors me "compat/linux/bin/sh: error > while loading shared libraries: /usr/local/lib/libtinfo.so.5: ELF file

Re: What to do after submitting a patch for SVR4/STREAMS?

2016-04-23 Thread Chagin Dmitry
On Fri, Apr 22, 2016 at 08:37:07AM +, Kristoffer Eriksson wrote: > Hi, > > I submitted patches to problem report 208464 to fix a problem that prevented > the kernel modules svr4.ko & streams.ko from loading, which has been a > problem since probably many years back, and up to the current 10.

Re: citrix_ica - "wfica" generates deadlock in linux_sys_futex...

2016-03-08 Thread Chagin Dmitry
On Tue, Mar 08, 2016 at 01:50:18PM +0200, Konstantin Belousov wrote: > On Tue, Mar 08, 2016 at 12:30:10PM +0300, Chagin Dmitry wrote: > > > > in new kernel: > > > > 1828 100750 wfica0.31 CALL L32 > > linux_ipc(0x2,0x1e240,0x1,0x7b6,0,0x2d4cb598) &g

Re: citrix_ica - "wfica" generates deadlock in linux_sys_futex...

2016-03-08 Thread Chagin Dmitry
On Tue, Mar 08, 2016 at 10:03:50AM +0100, Nils Beyer wrote: > Chagin Dmitry wrote: > >>>> using 10.3-RC1 (r296451M) "wfica" from citrix_ica generates a deadlock > >>>> in linux_sys_futex: > >>>> =

Re: citrix_ica - "wfica" generates deadlock in linux_sys_futex...

2016-03-08 Thread Chagin Dmitry
On Tue, Mar 08, 2016 at 09:24:00AM +0100, Nils Beyer wrote: > Hi Dmitry, > > Chagin Dmitry wrote: > >> using 10.3-RC1 (r296451M) "wfica" from citrix_ica generates a deadlock in > >> linux_sys_futex: > >> ===

Re: citrix_ica - "wfica" generates deadlock in linux_sys_futex...

2016-03-07 Thread Chagin Dmitry
On Tue, Mar 08, 2016 at 08:33:06AM +0100, Nils Beyer wrote: > Hi, > > using 10.3-RC1 (r296451M) "wfica" from citrix_ica generates a deadlock in > linux_sys_futex: > == > #tail -50 ktrace.wfica.log nice, please, do kdump -H

Re: Sublime no longer working on FreeBSD CURRENT

2016-03-07 Thread Chagin Dmitry
On Mon, Mar 07, 2016 at 03:21:38PM +, Miguel C wrote: > Melhores Cumprimentos // Best Regards > --- > *Miguel Clara* > *IT - Sys Admin & Developer* > > On Mon, Mar 7, 2016 at 7:31 AM, Chagin Dmitry wrote: > > > On

Re: Sublime no longer working on FreeBSD CURRENT

2016-03-06 Thread Chagin Dmitry
On Mon, Mar 07, 2016 at 01:42:46AM +, Miguel C wrote: > https://dpaste.de/ucXY > > It seems to fail do to missing "shm" but this should work with the link to > tmp on devfs.conf, or at least it did before. > yes, it's related to the /dev/shm. please, mount tmpfs to the /tmp, ie put tmpfs

Re: Sublime no longer working on FreeBSD CURRENT

2016-03-05 Thread Chagin Dmitry
On Sat, Mar 05, 2016 at 11:17:15PM +, Miguel C wrote: > I've been playing with linux centos 6.7 and linux64 and wasn't able to even > start sublime, so I decide to start from scratch, but still on freebsd > current > > sublime still does not run, ktrace was not helpfull but truss seems to > of

Re: CVE-2015-7547 and linux-f10-* ports?

2016-02-21 Thread Chagin Dmitry
On Sun, Feb 21, 2016 at 04:48:12PM +0100, Ren?? Ladan wrote: > 2016-02-20 23:36 GMT+01:00 Chagin Dmitry : > > On Thu, Feb 18, 2016 at 07:27:12PM +0100, Dag-Erling Sm??rgrav wrote: > >> Ren?? Ladan writes: > >> > in light of CVE-2015-7547 and various other security vu

Re: CVE-2015-7547 and linux-f10-* ports?

2016-02-21 Thread Chagin Dmitry
On Thu, Feb 18, 2016 at 07:27:12PM +0100, Dag-Erling Sm??rgrav wrote: > Ren?? Ladan writes: > > in light of CVE-2015-7547 and various other security vulnerabilities, > > is there any desire to keep the linux-f10-* ports? > > I don't think we can just svn rm them. IIRC, c6 doesn't work with a > s

Re: Testing the new 64bit linux emu fails

2016-02-01 Thread Chagin Dmitry
On Mon, Feb 01, 2016 at 08:11:51AM +0100, Jan Beich wrote: > Stefan Rumetshofer writes: > > > * downloaded the NVIDIA driver 358.16 and installed it. > [...] > > Btw I tried running 64bit glxgears from archlinux but this fails with: > > > > X Error: BadValue > > Request Major code 153 (GLX) >

Re: Testing the new 64bit linux emu fails

2016-01-14 Thread Chagin Dmitry
On Thu, Jan 14, 2016 at 11:36:34AM +, Stefan Rumetshofer wrote: > Ok, i deleted the /compat/linux directory and installed the linux_base-c6 > from scratch. Also the linux-c6-xorg-libs and linux-c6-libGLU. Then put the > nvidia libs from the centos6 package to the right place. > But trying to ru

Re: [CFT] CentOS 6.7 ports

2016-01-09 Thread Chagin Dmitry
On Sat, Jan 09, 2016 at 12:17:43PM +0200, Johannes Jost Meixner wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi there, > > Michael Wilke (miwi@) and I have polished and finished up the CentOS > 6.7 ports work I had started last August. We're by now in a state > where I'm aware o

Re: Panic on lemul

2015-02-14 Thread Chagin Dmitry
On Sun, Feb 01, 2015 at 09:18:14PM +0100, Piotr Kubaj wrote: > Hi. I've tried to install Steam using lemul branch. I've used c6 ports, > installed x11/linux-c6-xorg-libs and x11/nvidia-driver (I have NVidia > GPU). I've also loaded linux, linux64 and linprocfs modules and mounted > linproc, proc an

Re: Panic on lemul

2015-02-01 Thread Chagin Dmitry
On Sun, Feb 01, 2015 at 09:18:14PM +0100, Piotr Kubaj wrote: > Hi. I've tried to install Steam using lemul branch. I've used c6 ports, > installed x11/linux-c6-xorg-libs and x11/nvidia-driver (I have NVidia > GPU). I've also loaded linux, linux64 and linprocfs modules and mounted > linproc, proc an

Re: Linux /dev/shm

2015-01-02 Thread Chagin Dmitry
On Thu, Jan 01, 2015 at 11:30:09AM -0600, Jason Bacon wrote: > On 12/31/14 17:31, Chagin Dmitry wrote: > > On Wed, Dec 31, 2014 at 04:33:08PM -0600, Jason Bacon wrote: > >> On 12/30/14 12:54, Miguel Clara wrote: > >>> On 30 December 2014 06:46:40 WET, Chagin Dmitr

Re: Linux /dev/shm

2014-12-31 Thread Chagin Dmitry
On Wed, Dec 31, 2014 at 04:33:08PM -0600, Jason Bacon wrote: > On 12/30/14 12:54, Miguel Clara wrote: > > > > On 30 December 2014 06:46:40 WET, Chagin Dmitry wrote: > >> On Mon, Dec 29, 2014 at 08:49:08PM -0600, Jason Bacon wrote: > >>> Not sure where else to

Re: Linux /dev/shm

2014-12-30 Thread Chagin Dmitry
On Tue, Dec 30, 2014 at 07:12:45PM -0600, Jason Bacon wrote: > On 12/30/14 12:54 PM, Miguel Clara wrote: > > > > On 30 December 2014 06:46:40 WET, Chagin Dmitry wrote: > >> On Mon, Dec 29, 2014 at 08:49:08PM -0600, Jason Bacon wrote: > >>> Not sure where else

Re: Linux /dev/shm

2014-12-29 Thread Chagin Dmitry
On Mon, Dec 29, 2014 at 08:49:08PM -0600, Jason Bacon wrote: > > Not sure where else to ask this: > > I'm trying to run Atomistix (http://www.quantumwise.com/) on FreeBSD 10.1. > > The installer runs without a hitch, but I've run into issues with one of > the main binaries, vnl_exec. > > First

Re: Merging lemul branch to head

2014-10-28 Thread Chagin Dmitry
On Tue, Oct 28, 2014 at 10:28:35PM +0100, Piotr Kubaj wrote: > Skype 2.x is not a problem nowadays as Microsoft forces users to use at > least 4.3. > So flash is the only remaining issue? If so, I would say you should > merge it with HEAD, or at least publish a patch against recent HEAD. I > myself

Re: Merging lemul branch to head

2014-10-28 Thread Chagin Dmitry
On Wed, Oct 15, 2014 at 08:16:00AM +0300, Johannes Meixner wrote: > Hi Dmitry, > > By now there's a large-enough demand for having 64bit support in the main > system, and plenty of people willing to test/report bugs/submit fixes. > > What are the remaining showstoppers/blockers that need to be ac

Re: linux epoll syscall on 10.0-RC4

2014-04-06 Thread Chagin Dmitry
On Wed, Jan 08, 2014 at 06:11:31PM -0800, Yuri wrote: > On 01/04/2014 11:24, Patrick Proniewski wrote: > > Any info about epoll support on 10.0 ? > > I have the working version, will get it to be checked in soon. > > Yuri Hi, Yuri! What's new? Thanks! -- Have fun! chd pgp1rJRYnSNdl.pgp Desc

Re: FreeBSD-9, linux_base-f10: Compiling hello_world.c using the Linuxulator

2013-06-19 Thread Chagin Dmitry
On Wed, Jun 19, 2013 at 12:02:33PM +0200, Andre Albsmeier wrote: > I need to compile small linux binary ("hello world" like). > I want to do this on one of my FreeBSD-9 machines, preferably > using the linux emulation. The result should run on linux > machines and under the linuxulator on FreeBSD-9

Re: Lin?ux?u?la?tor problem

2013-05-20 Thread Chagin Dmitry
On Sun, May 19, 2013 at 06:37:39PM -0500, Adam Vande More wrote: > On Sun, May 19, 2013 at 2:35 PM, Chagin Dmitry wrote: > > please, try with: > > > > diff --git a/sys/compat/linux/linux_socket.c > > b/sys/compat/linux/linux_socket.c > > index a66a62d..cae7d71

Re: Lin?ux?u?la?tor problem

2013-05-19 Thread Chagin Dmitry
On Tue, May 14, 2013 at 03:42:17PM -0500, Adam Vande More wrote: > I'm trying to get an ancient Linux app called IMS System > Administration Utility V2.02 (07-Dec-90) going. > > Unfortunately, it fails here: > >910 sysval NAMI "/compat/linux/secfile" >910 sysval NAMI "/compat/linu

Re: Linux and Steam and libc.so.6

2013-05-19 Thread Chagin Dmitry
On Thu, May 16, 2013 at 03:25:33AM -0400, Zaphod Beeblebrox wrote: > As far as I can tell, our current linux emulation platform is based on > Fedora "10." As far as I can tell, this was released in November 2008 > (going on 5 years ago) and was EOL as of December 2009 (my source is > wikipedia).

Re: Linux linux_fcntl64 with F_GETLK is faulty?

2013-04-28 Thread Chagin Dmitry
On Sun, Apr 28, 2013 at 01:55:58AM -0700, Yuri wrote: > While running a linux 32-bit program on 9.1 amd64, I see these two lines > in truss log, and program also eventually fails: > linux_open("/some/file/name",0x40,0644) = 5 (0x5) > linux_fcntl64(0x5,0x7,0x8410,0x8410,0x2a988ff4,0x6)

Linuxulator patches,request for test && review

2013-02-25 Thread Chagin Dmitry
Hi all! I have created a new Linuxulator branch: svn://svn.freebsd.org/base/user/dchagin/lemul where I plan to switch it to use the native 1:1 threads, implement vdso for nptl cleanup support and amd64 layer. Currently I have committed the patchset which switched Linuxulator to 1:1 threading mo

Re: [PATCH] Move MI bits out of MD linux.h

2013-01-28 Thread Chagin Dmitry
On Mon, Jan 28, 2013 at 01:53:36PM -0500, John Baldwin wrote: > On Monday, January 28, 2013 12:49:44 pm Chagin Dmitry wrote: > > On Mon, Jan 28, 2013 at 09:47:39AM -0500, John Baldwin wrote: > > > This patch attempts to reduce duplication between i386/linux/linux.h and > >

Re: [PATCH] Move MI bits out of MD linux.h

2013-01-28 Thread Chagin Dmitry
On Mon, Jan 28, 2013 at 09:47:39AM -0500, John Baldwin wrote: > This patch attempts to reduce duplication between i386/linux/linux.h and > amd64/linux32/linux.h by moving bits that are MI out into headers in > compat/linux. I only moved constants that were defined in MI headers in > Linux > it

Re: regarding issues with futexes and multiple threads

2011-03-07 Thread Chagin Dmitry
On Mon, Mar 07, 2011 at 03:35:59PM +, Alexander Best wrote: > On Fri Mar 4 11, Chagin Dmitry wrote: > break; > > case LINUX_FUTEX_LOCK_PI: > > ...then i ran chrome with some flash website. this was the dmesg output (well > part of it): > &

Re: regarding issues with futexes and multiple threads

2011-03-04 Thread Chagin Dmitry
On Fri, Mar 04, 2011 at 11:08:43AM +, Alexander Best wrote: > On Fri Mar 4 11, Chagin Dmitry wrote: > > On Thu, Mar 03, 2011 at 09:20:51PM +, Alexander Best wrote: > > > hi there, > > > > > > i've been investigating this issue for quite a while n

Re: regarding issues with futexes and multiple threads

2011-03-03 Thread Chagin Dmitry
On Thu, Mar 03, 2011 at 09:20:51PM +, Alexander Best wrote: > hi there, > > i've been investigating this issue for quite a while now and simply wanted to > post some measurements i did. > > basically there's a massive slowdown when a process triggers a lot of threads > which are doing futex o

Re: 9.0-CURRENT vs multimedia/linux-huludesktop

2011-02-07 Thread Chagin Dmitry
On Sat, Feb 05, 2011 at 03:41:26PM -0500, Joseph S. Atkinson wrote: > Not sure what is wrong with this. This problem doesn't occur 7.x or 8.x, but > on > -CURRENT, if you click any part of the window streaming video in huludesktop, > the client freezes playback and must be kill(1)'d. > > Termin

Re: [patch] draft to add support for futex operators FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET to the linuxulator

2011-01-30 Thread Chagin Dmitry
On Sat, Jan 29, 2011 at 12:26:17PM +, Alexander Best wrote: > hi there, > > i've spent a couple of hours hacking support for futex operators > FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET into the linuxulator. the following > patch is far from perfect and in certain places it is probably doing the

Re: kern/145024: [linux] kernel crash by linux.ko module with nooptions COMPAT_FREEBSD32

2011-01-30 Thread Chagin Dmitry
On Sun, Jan 30, 2011 at 06:59:24PM +, Alexander Best wrote: > On Sun Jan 30 11, Chagin Dmitry wrote: > > On Sun, Jan 30, 2011 at 06:27:53PM +, arun...@freebsd.org wrote: > > > Old Synopsis: [linux] [panic] kernel crash by linux.ko module with > > > nooptions

Re: kern/145024: [linux] kernel crash by linux.ko module with nooptions COMPAT_FREEBSD32

2011-01-30 Thread Chagin Dmitry
On Sun, Jan 30, 2011 at 06:27:53PM +, arun...@freebsd.org wrote: > Old Synopsis: [linux] [panic] kernel crash by linux.ko module with nooptions > COMPAT_FREEBSD32 > New Synopsis: [linux] kernel crash by linux.ko module with nooptions > COMPAT_FREEBSD32 > > State-Changed-From-To: open->analyz

Re: [patch] draft to add support for futex operators FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET to the linuxulator

2011-01-29 Thread Chagin Dmitry
On Sat, Jan 29, 2011 at 12:26:17PM +, Alexander Best wrote: > hi there, > > i've spent a couple of hours hacking support for futex operators > FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET into the linuxulator. the following > patch is far from perfect and in certain places it is probably doing the