Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2019 19:50:20 +0200
From:      Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
To:        Alan Somers <asomers@freebsd.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: HEAD'S UP: fusefs sysctls going away
Message-ID:  <22f4bc9d-3068-132c-5ebe-6093cb5ddd04@plan-b.pwste.edu.pl>
In-Reply-To: <CAOtMX2hh2ZrDhU7HiNYKy1ruZ1aLEkw3S-xBxNasNyirshPuPQ@mail.gmail.com>
References:  <CAOtMX2i9qwhNTdCgNxxUOmf=FZAOmD7w=T8vmvyF-9-P0iw-CQ@mail.gmail.com> <20190321154817.2lgwjzl4o2urlmdw@mutt-hbsd> <CAOtMX2gqmVAZumDsB9_6YaOeZsFF5m3NN4aibL=8CYNWDGo3OA@mail.gmail.com> <20190321155922.rdsnvyztssgmms2x@mutt-hbsd> <CAOtMX2hVnDzReKOzaHNS_SZPOy9=x%2B1b1w3AyXwbFdb54w%2BFZA@mail.gmail.com> <49723980-27d7-1b2f-e583-5b6c10666ad3@plan-b.pwste.edu.pl> <CAOtMX2g3=d3S5jgU2=BuG%2BMAPzHCMFkNLuOvwRp3y5o-Tmok=g@mail.gmail.com> <2ce4c843-745b-76b9-cda9-4c83ab005110@plan-b.pwste.edu.pl> <CAOtMX2hh2ZrDhU7HiNYKy1ruZ1aLEkw3S-xBxNasNyirshPuPQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--83NNTOYl3OcxJaiJl5yCkagRLXDiUb2BF
Content-Type: multipart/mixed; boundary="wG372Ew6CiD3a87ds51762UchbgqB39cE";
 protected-headers="v1"
From: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
To: Alan Somers <asomers@freebsd.org>
Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>
Message-ID: <22f4bc9d-3068-132c-5ebe-6093cb5ddd04@plan-b.pwste.edu.pl>
Subject: Re: HEAD'S UP: fusefs sysctls going away
References: <CAOtMX2i9qwhNTdCgNxxUOmf=FZAOmD7w=T8vmvyF-9-P0iw-CQ@mail.gmail.com>
 <20190321154817.2lgwjzl4o2urlmdw@mutt-hbsd>
 <CAOtMX2gqmVAZumDsB9_6YaOeZsFF5m3NN4aibL=8CYNWDGo3OA@mail.gmail.com>
 <20190321155922.rdsnvyztssgmms2x@mutt-hbsd>
 <CAOtMX2hVnDzReKOzaHNS_SZPOy9=x+1b1w3AyXwbFdb54w+FZA@mail.gmail.com>
 <49723980-27d7-1b2f-e583-5b6c10666ad3@plan-b.pwste.edu.pl>
 <CAOtMX2g3=d3S5jgU2=BuG+MAPzHCMFkNLuOvwRp3y5o-Tmok=g@mail.gmail.com>
 <2ce4c843-745b-76b9-cda9-4c83ab005110@plan-b.pwste.edu.pl>
 <CAOtMX2hh2ZrDhU7HiNYKy1ruZ1aLEkw3S-xBxNasNyirshPuPQ@mail.gmail.com>
In-Reply-To: <CAOtMX2hh2ZrDhU7HiNYKy1ruZ1aLEkw3S-xBxNasNyirshPuPQ@mail.gmail.com>

--wG372Ew6CiD3a87ds51762UchbgqB39cE
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US

W dniu 06.04.2019 o=C2=A017:28, Alan Somers pisze:

> On Sat, Apr 6, 2019 at 8:52 AM Marek Zarychta <zarychtam@plan-b.pwste.e=
du.pl>
> wrote:
>
>>>> After recent changes in fusefs code I am getting such panics regular=
ly
>>>> on amd64:
>>>>
>>>>
>>>> Fatal trap 12: page fault while in kernel mode
>>>> cpuid =3D 3; apic id =3D 03
>>>> fault virtual address    =3D 0x248
>>>> fault code        =3D supervisor read data  , page not present
>>>> instruction pointer    =3D 0x20:0xffffffff82d6250c
>>>> stack pointer            =3D 0x28:0xfffffe005dc2c630
>>>> frame pointer            =3D 0x28:0xfffffe005dc2c7b0
>>>> code segment        =3D base 0x0, limit 0xfffff, type 0x1b
>>>>             =3D DPL 0, pres 1, long 1, def32 0, gran 1
>>>> processor eflags    =3D interrupt enabled, resume, IOPL =3D 0
>>>> current process        =3D 2016 (mount_fusefs)
>>>> trap number        =3D 12
>>>> panic: page fault
>>>> cpuid =3D 3
>>>> time =3D 1554528396
>>>> KDB: stack backtrace:
>>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
>>>> 0xfffffe005dc2c2e0
>>>> vpanic() at vpanic+0x19d/frame 0xfffffe005dc2c330
>>>> panic() at panic+0x43/frame 0xfffffe005dc2c390
>>>> trap_fatal() at trap_fatal+0x394/frame 0xfffffe005dc2c3f0
>>>> trap_pfault() at trap_pfault+0x49/frame 0xfffffe005dc2c450
>>>> trap() at trap+0x29f/frame 0xfffffe005dc2c560
>>>> calltrap() at calltrap+0x8/frame 0xfffffe005dc2c560
>>>> --- trap 0xc, rip =3D 0xffffffff82d6250c, rsp =3D 0xfffffe005dc2c630=
, rbp =3D
>>>> 0xfffffe005dc2c7b0 ---
>>>> fuse_vfsop_mount() at fuse_vfsop_mount+0x5dc/frame 0xfffffe005dc2c7b=
0
>>>> vfs_domount() at vfs_domount+0xace/frame 0xfffffe005dc2c9e0
>>>> vfs_donmount() at vfs_donmount+0x934/frame 0xfffffe005dc2ca80
>>>> sys_nmount() at sys_nmount+0x69/frame 0xfffffe005dc2cac0
>>>> amd64_syscall() at amd64_syscall+0x36e/frame 0xfffffe005dc2cbf0
>>>> fast_syscall_common() at fast_syscall_common+0x101/frame
>>>> 0xfffffe005dc2cbf0
>>>> --- syscall (378, FreeBSD ELF64, sys_nmount), rip =3D 0x8002d510a, r=
sp =3D
>>>> 0x7fffffffe128, rbp =3D 0x7fffffffe730 ---
>>>> KDB: enter: panic
>>>>
>>>> Last time I have checked it happened on FreeBSD 13.0-CURRENT #21
>>>> r345948: Fri Apr  5 17:12:53 CEST 2019.
>>>>
>>>> As a workaround loading fusefs.ko and fuse.ko modules can be disable=
d.
>>>>
>>>> --
>>>> Marek Zarychta
>>> Thanks for the bug report.  This is probably fixed by r345419 (which
>>> hasn't been merged to head yet).  If so, then it indicates that your =
fuse daemon
>>> is doing something wrong.  What fuse file system are you trying to us=
e, and
>>> what command are you using to start it?
>>> -Alan
>> XFCE4 desktop environment seems to be the culprit of the whole anxiety=
=2E
>> It has installed fusefs-libs-2.9.9 as a dependency. I get these panics=

>> during the XFCE session startup. Furthermore, I haven't any fusefs
>> packages installed beside mentioned fusefs-libs.
>>
>> --
>> Marek Zarychta
>
> Then the culprit is probably /usr/local/libexec/gvfsd-fuse.  But on my
> XFCE4 system, that command never runs.  I don't know why not.  Try this=

> patch:
> https://reviews.freebsd.org/D19836
>
> -Alan

Thank you for the fast-tracked patch. It resolves the issue.

I have XFCE4=C2=A0 coexisting with Gnome and some extra,=C2=A0 non-native=
 disk
partitions on this workstation, this is probably the cause that
/usr/local/libexec/gvfsd-fuse comes into play.

--=20
Marek Zarychta



--wG372Ew6CiD3a87ds51762UchbgqB39cE--

--83NNTOYl3OcxJaiJl5yCkagRLXDiUb2BF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAlyo5uEACgkQdZ/s//1S
jSykWgf/WvMa/4e2tGT7kctw/yNL1bzMrC6IWxfsBtpJTK/do1GI7hQk6SL+gQSv
R7/jSxlFxl1VTWPlLpi43/I6pVL9oao6zExXpy2O32LrxgO3x47VOPsCJ2S7azIS
tqU0yyydJ5kOweB+moqQ/3Baq+BHk2n+YC3jfrbmL2r9QRne8qJMW7AapHIz/PAL
J1gV2QphzVSVA2odYedkn3pf58zdfc37qYTXJOhV7mx8qv+P0wkY70uaKA0w0xUJ
MI/4Vbwp/GAiz4kPQ1ymjiGoaowtcOsHbbSniipkB0npqvrJ0VbCcqNyYWmAlHXX
vvXTKjYsgmifK109XRz7q7uzajx+kw==
=qhDC
-----END PGP SIGNATURE-----

--83NNTOYl3OcxJaiJl5yCkagRLXDiUb2BF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22f4bc9d-3068-132c-5ebe-6093cb5ddd04>