Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2020 21:21:55 +0200
From:      freebsd@sysctl.cz
To:        Damjan Jovanovic <damjan.jov@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Linux Discord application
Message-ID:  <29b585a51259600a856a498497250594@sysctl.cz>
In-Reply-To: <d321957286436a826111cf6bcec4aff8@sysctl.cz>
References:  <3672398cef1da5a19cc727f41c1e02d3@sysctl.cz> <CAJm2B-k1==fMVEwv0HPOsr0DwDdgagjAUbh1F8YaF67FsHe7og@mail.gmail.com> <d321957286436a826111cf6bcec4aff8@sysctl.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Dne 2020-05-10 20:39, freebsd@sysctl.cz napsal:
> Dne 2020-05-10 20:06, Damjan Jovanovic napsal:
>> On Sun, May 10, 2020 at 8:02 PM <freebsd@sysctl.cz> wrote:
>> 
>>> Hi,
>>> i tried run discord linux application with linux emulation
>>> but i have still problem with SIGTRAP and i dont know how to
>>> continue
>>> and where have mistake. I installed linux-c7 package.
>>> Copied library to /compat/linux/lib64/tls/x86-64/ .
>>> Thx M.
>>> 
>>> linux_readlink("/proc/self/exe",0x7fffffffbdc0,4096) ERR#-2 'No such
>>> 
>>> file or directory'
>>> SIGNAL 5 (SIGTRAP) code=TRAP_BRKPT
>>> process killed, signal = 5 (core dumped)
>> 
>> Try:
>> 
>> mount -t linprocfs none /compat/linux/proc
>> 
>> Damjan
> 
> I tried mount -t linprocfs none /compat/linux/proc command and its a 
> bit better
> but i added /compat/linux/proc to /etc/fstab and had problems with boot 
> os.
> 
> Mounting /etc/fstab filesystems failed, startup aborted
> ERROR: ABORTING BOOT (sending SIGTERM to parent)!
> 2020-05-10T16:48:18.819372+02:00  init 1 - - /bin/sh on /etc/rc
> terminated abnormally, going to single user mode
> Enter full pathname of shell or RETURN for /bin/sh: #
> # mount -u /
> # nano /etc/d\^H\^[[Kfstab
> \^[[1;30r\^[[m\^[[4l\^[[?1h\^[=\^[[?1h\^[=\^[[?1h\^[=\^[[39;49m\^[[?25l\^[[39;49m\^[[m\^[[H\^[[2J\^[[28;33H\^[[7m[
> Reading File ]\^[[26A\^[[m\^[[28;32H\^[[7m[ Read 15
> lines\^[[11A\^[[m\^[[?12l\^[[?25h\^[[H\^[[39;49m\^[[7m  GNU nano 2.5.3
>              File: /etc/fstab
> \^[[2;1H\^[[m\^[[34m# Device                Mountpoint
> FStype         Options
> \^[[39m\^[[m$\^[[3;1H/dev/mirror/swap\^[[3;25Hnone\^[[3;49Hswap\^[[3;65Hsw\^[[13C$\^[[4;1H/dev/ada1p1\^[[4;25H/media\^[[4;49Hufs\^[[4;65Hrw\^[[13C$\^[[6;1Hproc\^[[6;25H/proc\^[[6;49Hprocfs\^[[6;65Hrw\^[[13C$\^[[7;1H\^[[34m#fdesc
>                  /dev/fd                 fdescfs         rw,autolate
> 
> \^[[39m\^[[m$\^[[8;1Htmpfs\^[[8;25H/tmp\^[[8;49Htmpfs\^[[8;65Hrw,mode=777
> 
> $\^[[10;1Hlinsysfs\^[[10;25H/compat/linux/sys\^[[7Clinsysfs\^[[10;65Hrw\^[[13C$\^[[11;1H\^[[34m#linprocfs
>              /compat/linux/proc      linprocfs       rw\^[[K\^[[1B#0
>    0\^[[1B#linsysfs               /compat/linux/sys       linsysfs
>    rw\^[[K\^[[1B#0      0\^[[1B#tmpfs
> /compat/linux/dev/shm   tmpfs       rw,mode=1777\^[[K\^[[1B#0
> 0\^[[13B\^[[39m\^[[7m^G\^[[m Get Help  \^[[7m^O\^[[m Write Out
> \^[[7m^W\^[[m Where Is  \^[[7m^K\^[[m Cut Text  \^[[7m^J\^[[m Justify
>  \^[[7m^C\^[[m Cur Pos\^[[1B\^[[7m^X\^[[m Exit\^[[6C\^[[7m^R\^[[m Read
> File \^[[7m^\134\^[[m Replace   \^[[7m^U\^[[m Uncut Text\^[[7m^T\^[[m
> To Spell  \^[[7m^_\^[[m Go To Line\^[[28A\^[[?25l\^[[28;14H\^[[7m[
> line 2/16 (12%), col 1/98 (1%), char 61/552 (11%)
> ]\^[[25A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;21H\^[[7m3\^[[6C8\^[[28;53H110/552
> (\^[[C9%) ]\^[[24A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;13H\^[[7m[ line
> 4/16 (25%), col 1/1
> (100\^[[28;54H69\^[[6C30\^[[23A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;13H
> \^[[7m[ line 5/16 (31%), col 1/98
> (1\^[[28;54H70\^[[22A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;21H\^[[7m6\^[[6C7\^[[28;53H212\^[[7C8\^[[21A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;21H\^[[7m7/16
> (43\^[[28;54H67\^[[6C4\^[[20A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;13H\^[[7m[
> line 8/16 (50%), col 1/1
> (100\^[[28;53H321\^[[6C5\^[[19A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;13H
> \^[[7m[ line 9/16 (56%), col 1/98
> (1\^[[28;55H2\^[[18A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;13H\^[[7m[
> line 10/16
> (62\^[[28;39H81\^[[28;54H7\^[[7C67\^[[17A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;21H\^[[7m1\^[[6C8\^[[28;39H10
> (10%), char 426/552 (77%)
> ]\^[[16A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;21H\^[[7m0\^[[6C2\^[[28;39H81
> (1%), char 372/552 (67%)
> ]\^[[m\^[[K\^[[17A\^[[?12l\^[[?25h\^[[?25l\^[[28;13H \^[[7m[ line 9/16
> (56\^[[28;39H98\^[[28;54H2\^[[7C58\^[[18A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[7\^[[11;27r\^[8\^[[1B\^[M\^[[1;30r\^[[1;71H\^[[7mModified\^[[9B\^[[m\^[[34m#linsysfs
>               /compat/linux/sys       linsysfs        rw
> \^[[1B\^[[39m\^[[m0\^[[7C0\^[[28;24H\^[[7m7 (52\^[[28;37H2/89
> (2\^[[28;55H3/554\^[[10;2H\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;13H\^[[7m[
> line 10\^[[6C8\^[[28;39H10 (20%), char 371/554 (66%)
> ]\^[[11;2H\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[28;37H\^[[7m1/10
> (1\^[[28;56H0\^[[17A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[A$\^[[34m
> \^[[7C\^[[39m\^[[m\^[[K\^[[28;12H\^[[7m[ line 9/17 (52%), col 89/89
> (10\^[[28;55H69\^[[10;17H\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[34m#linsysfs\^[[7C
>        /compat/linux/sys       linsysfs        rw
> \^[[39m\^[[m$\^[[28;12H \^[[7m[ line 10/17 (58%), col 1/10
> (1\^[[28;55H70\^[[17A\^[[m\^[[?12l\^[[?25h\^[[?25l\^[[34m#0
> 0\^[[28;37H\^[[39m\^[[7m2/10
> (2\^[[28;56H1/555\^[[11;2H\^[[m\^[[?12l\^[[?25h\^[[17B\^H\^[[7mSave
> modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?
>     \^[[29;1H Y\^[[m Yes\^[[K\^[[1B\^[[7m N\^[[m No  \^[[6C
> \^[[7m^C\^[[m Cancel\^[[K\^[[28;62H\^[[7mFile Name to Write:
> /etc/fstab                              \^[[1B^G\^[[m Get Help
> \^[[7mM-D\^[[m DOS Format  \^[[7mM-A\^[[m Append\^[[6C\^[[7mM-B\^[[m
> Backup File\^[[1B\^[[7m^C\^[[m Cancel\^[[7C\^[[7mM-M\^[[m Mac Format
> \^[[7mM-P\^[[m Prepend     \^[[7m^T\^[[m To
> Files\^[[28;31H\^[[?25l\^[[39;49m\^[[m
> \^[[7m[ Wrote 16 lines
> ]\^[[m\^[[K\^[[11;2H\^[[17B\^H\^[[J\^[[1;71H\^[[7m
> \^[[30;80H\^[[m\^[[30;1H\^[[?12l\^[[?25h\^[[?1l\^[>#
> rebo\^H\^[[K\^H\^[[K\^H\^[[K\^H\^[[K\^Gexi\^H\^[[K\^H\^[[K\^H\^[[K\^Gexit
> Setting hostuuid: 4c4c4544-0035-4c10-804a-c8c04f445431.
> Setting hostid: 0x5c06bd42.
> 
> _______________________________________________
> 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"

Hi Damjam,
i send new log file with next issue, log in attachment.
.....
munmap(0x807ddb000,4096)                         = 0 (0x0)
gettimeofday({ 1589137391.957675 },0x0)          = 0 (0x0)
linux_open("/usr/home/maxfx/Downloads/Discord/v8_context_snapshot.bin",0x0,0600) 
= 4 (0x4)
linux_newfstat(4,0x7fffffffce50)                 = 0 (0x0)
linux_mmap2(0x0,0xab280,0x1,0x1,0x4,0x0)         = 34499018752 
(0x8084d4000)
linux_open("/usr/home/maxfx/Downloads/Discord/natives_blob.bin",0x0,0600) 
= 5 (0x5)
linux_newfstat(5,0x7fffffffcd20)                 = 0 (0x0)
linux_mmap2(0x0,0x140c6,0x1,0x1,0x5,0x0)         = 34493595648 
(0x807fa8000)
linux_socketpair(0x1,0x5,0x0,0x7fffffffd060)     = 0 (0x0)
linux_shutdown(0x6,0x0)                          = 0 (0x0)
linux_shutdown(0x7,0x1)                          = 0 (0x0)
linux_pipe(0x7fffffffd068)                       = 0 (0x0)
linux_mmap2(0x0,0x20001000,0x3,0x20022,0xffffffffffffffff,0x0) = 
35011895296 (0x826df2000)
linux_mprotect(0x826df2000,0x1000,0x0)           = 0 (0x0)
linux_clone(0x3d0f00,0x846df1bf0,0x846df29d0,0x846df29d0,0x846df2700) = 
100797 (0x189bd)
<new thread 100797>
linux_set_robust_list(0x846df29e0,0x18)          = 0 (0x0)
linux_gettid()                                   = 100797 (0x189bd)
linux_newstat("/sys/fs/cgroup/cpuset/chrome",0x846df1918) ERR#-2 'No 
such file or directory'
linux_newstat("/sys/fs/cgroup/schedtune/chrome",0x846df1918) ERR#-2 'No 
such file or directory'
setpriority(PRIO_PROCESS,0,0)                    = 0 (0x0)
linux_prctl(0xf,0x1604716b21e8,0xac26,0x189bd,0x0) = 0 (0x0)
linux_sys_futex(0x7fffffffcf84,0x84,0x1,0x7fffffff,0x7fffffffcf58,0x2) = 
1 (0x1)
linux_sys_futex(0x7fffffffcf84,0x80,0x1,0x0,0x7fffffffcf00,0x0) = 0 
(0x0)
linux_sys_futex(0x7fffffffcf58,0x80,0x2,0x0,0x7fffffffcf58,0x1) ERR#-11 
'Resource temporarily unavailable'
linux_sys_futex(0x7fffffffcf58,0x81,0x1,0x7fffffff,0x0,0x2) = 0 (0x0)
linux_sys_futex(0x7fffffffcf58,0x81,0x1,0x0,0x0,0x1) = 0 (0x0)
linux_sys_futex(0x1604716a0058,0x81,0x1,0x7fffffff,0x0,0x2) = 1 (0x1)
linux_sys_futex(0x1604716a0058,0x80,0x2,0x0,0x1604716a0058,0x1) = 0 
(0x0)
linux_sys_futex(0x1604716a0058,0x81,0x1,0x0,0x0,0x1) = 0 (0x0)
linux_readlink("/proc/self/exe","/usr/home/maxfx/Downloads/Discord/Discord<A0>iq^D^V",4096) 
= 41 (0x29)
linux_newlstat(0x7fffffffbe50,0x7fffffffbd80)    = 0 (0x0)
linux_newlstat(0x7fffffffbe50,0x7fffffffbd80)    = 0 (0x0)
linux_newlstat(0x7fffffffbe50,0x7fffffffbd80)    = 0 (0x0)
linux_newlstat(0x7fffffffbe50,0x7fffffffbd80)    = 0 (0x0)
linux_newlstat(0x7fffffffbe50,0x7fffffffbd80)    = 0 (0x0)
linux_newlstat(0x7fffffffbe50,0x7fffffffbd80)    = 0 (0x0)
linux_socketpair(0x1,0x5,0x0,0x7fffffffce60)     = 0 (0x0)
linux_setsockopt(0xa,0x1,0x10,0x7fffffffcdec,0x4) ERR#-92 'Protocol not 
available'
SIGNAL 5 (SIGTRAP) code=TRAP_BRKPT
poll({ 8/POLLIN 7/POLLIN },2,-1)                 ERR#-4 'Interrupted 
system call'
<thread 100797 exited>
process killed, signal = 5 (core dumped)



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