Wilkinson, Alex
2010-Oct-14 03:39 UTC
Reproducible Kernel Panic on 8.1-STABLE [SEC=UNCLASSIFIED]
Hi all, I have come across a bug that triggers a kernel panic on 8.1-STABLE(r213395) through the use of /usr/ports/sysutils/fusefs-sshfs. Typically i do an sshfs mount as such: #sshfs username@hostname:/home/username local_mountpoint/ This mounts the remote filesystem fine. However, when i edit and save a file in say vi on the remote sshfs i get the following panic everytime: FreeBSD/amd64 (hostname.com) (ttyu0) login: Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x0 fault code = supervisor read instruction, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xffffff80e9d1d9d0 frame pointer = 0x28:0xffffff80e9d1db50 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1749 (vim) trap number = 12 panic: page fault cpuid = 2 Uptime: 17m11s Physical memory: 8096 MB Dumping 1591 MB: It then seems to hang and not actually do a dump and i need to physically reset the box. If there is anything i can do to further assist in debugging please let me know. -Alex IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.
Sergey Nikolenko
2010-Oct-14 08:42 UTC
Reproducible Kernel Panic on 8.1-STABLE [SEC=UNCLASSIFIED]
On 14.10.2010 09:26, Wilkinson, Alex wrote:> I have come across a bug that triggers a kernel panic on 8.1-STABLE(r213395) through the > use of /usr/ports/sysutils/fusefs-sshfs. Typically i do an sshfs mount as such: > > #sshfs username@hostname:/home/username local_mountpoint/ > > This mounts the remote filesystem fine. However, when i edit and save a file in > say vi on the remote sshfs i get the following panic everytime:Try this out http://www.freebsd.org/cgi/query-pr.cgi?pr=149674
Wilkinson, Alex
2010-Oct-14 08:51 UTC
Reproducible Kernel Panic on 8.1-STABLE [SEC=UNCLASSIFIED]
0n Thu, Oct 14, 2010 at 02:13:27PM +0600, Sergey Nikolenko wrote: >On 14.10.2010 09:26, Wilkinson, Alex wrote: >> I have come across a bug that triggers a kernel panic on 8.1-STABLE(r213395) through the >> use of /usr/ports/sysutils/fusefs-sshfs. Typically i do an sshfs mount as such: >> >> #sshfs username@hostname:/home/username local_mountpoint/ >> >> This mounts the remote filesystem fine. However, when i edit and save a file in >> say vi on the remote sshfs i get the following panic everytime: > >Try this out >http://www.freebsd.org/cgi/query-pr.cgi?pr=149674 Yes! GREAT! This patch fixes the kernel panic! Can we get this committed ASAP ? -Alex IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.
Wilkinson, Alex
2010-Oct-15 01:43 UTC
Reproducible Kernel Panic on 8.1-STABLE [SEC=UNCLASSIFIED]
0n Thu, Oct 14, 2010 at 04:51:10PM +0800, Wilkinson, Alex wrote: > 0n Thu, Oct 14, 2010 at 02:13:27PM +0600, Sergey Nikolenko wrote: > > >On 14.10.2010 09:26, Wilkinson, Alex wrote: > >> I have come across a bug that triggers a kernel panic on 8.1-STABLE(r213395) through the > >> use of /usr/ports/sysutils/fusefs-sshfs. Typically i do an sshfs mount as such: > >> > >> #sshfs username@hostname:/home/username local_mountpoint/ > >> > >> This mounts the remote filesystem fine. However, when i edit and save a file in > >> say vi on the remote sshfs i get the following panic everytime: > > > >Try this out > >http://www.freebsd.org/cgi/query-pr.cgi?pr=149674 > >Yes! GREAT! This patch fixes the kernel panic! Can we get this committed ASAP ? Committed! |--------------------------------------------------------------------------------------+--+--| | [ 12:44 beat ] Original commit message # | | | | | | | | ports/sysutils/fusefs-kmod/Makefile 1.31 diff | | | | ports/sysutils/fusefs-kmod/files/patch-fuse_module__fuse_main.c 1.1 | | | | | | | | - Fix panic on FreeBSD 8.x and newer | | | | - Bump PORTREVISION | | | | | | | | PR: ports/149674 | | | | Submitted by: Dmitrij Tejblum <dt AT yandex.ru> | | | | Approved by: Anish Mistry <amistry AT am-productions.biz> (maintainer) | | | |--------------------------------------------------------------------------------------+--+--| -Alex IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.
Ivan Voras
2010-Oct-15 14:28 UTC
Reproducible Kernel Panic on 8.1-STABLE [SEC=UNCLASSIFIED]
On 10/15/10 03:43, Wilkinson, Alex wrote:> > 0n Thu, Oct 14, 2010 at 04:51:10PM +0800, Wilkinson, Alex wrote: > > > 0n Thu, Oct 14, 2010 at 02:13:27PM +0600, Sergey Nikolenko wrote: > > > > >On 14.10.2010 09:26, Wilkinson, Alex wrote: > > >> I have come across a bug that triggers a kernel panic on 8.1-STABLE(r213395) through the > > >> use of /usr/ports/sysutils/fusefs-sshfs. Typically i do an sshfs mount as such: > > >> > > >> #sshfs username@hostname:/home/username local_mountpoint/ > > >> > > >> This mounts the remote filesystem fine. However, when i edit and save a file in > > >> say vi on the remote sshfs i get the following panic everytime: > > > > > >Try this out > > >http://www.freebsd.org/cgi/query-pr.cgi?pr=149674 > > > >Yes! GREAT! This patch fixes the kernel panic! Can we get this committed ASAP ? > > Committed!How stable is fuse & sshfs lately? It looks like every time in the past I tried it I soon ended up panicking the system.
Torfinn Ingolfsen
2010-Oct-15 17:03 UTC
Reproducible Kernel Panic on 8.1-STABLE [SEC=UNCLASSIFIED]
On Fri, 15 Oct 2010 16:27:51 +0200 Ivan Voras <ivoras@freebsd.org> wrote:> How stable is fuse & sshfs lately? It looks like every time in the past > I tried it I soon ended up panicking the system.Well, I use sshfs routinely to copy data between my machines, and have done so for about a year. Mostly small files (like; oh I must get the documentation files / whatever for this from my main workstation), but I have also used it for backup of several terabytes of data. I connect and disconnect with sshfs all the time. Most machines run FreeBSD 7 / 8, mostly amd64 and a couple run Linux (Ubuntu). So far, very stable, and almost no problems. I think the bug mentioned in this thread hit me, but just once so far. -- Regards, Torfinn Ingolfsen
Wilkinson, Alex
2010-Oct-18 03:18 UTC
Reproducible Kernel Panic on 8.1-STABLE [SEC=UNCLASSIFIED]
0n Fri, Oct 15, 2010 at 04:27:51PM +0200, Ivan Voras wrote: >On 10/15/10 03:43, Wilkinson, Alex wrote: >> >> 0n Thu, Oct 14, 2010 at 04:51:10PM +0800, Wilkinson, Alex wrote: >> >> > 0n Thu, Oct 14, 2010 at 02:13:27PM +0600, Sergey Nikolenko wrote: >> > >> > >On 14.10.2010 09:26, Wilkinson, Alex wrote: >> > >> I have come across a bug that triggers a kernel panic on 8.1-STABLE(r213395) through the >> > >> use of /usr/ports/sysutils/fusefs-sshfs. Typically i do an sshfs mount as such: >> > >> >> > >> #sshfs username@hostname:/home/username local_mountpoint/ >> > >> >> > >> This mounts the remote filesystem fine. However, when i edit and save a file in >> > >> say vi on the remote sshfs i get the following panic everytime: >> > > >> > >Try this out >> > >http://www.freebsd.org/cgi/query-pr.cgi?pr=149674 >> > >> >Yes! GREAT! This patch fixes the kernel panic! Can we get this committed ASAP ? >> >> Committed! > >How stable is fuse & sshfs lately? It looks like every time in the past >I tried it I soon ended up panicking the system. since this patch it has been very stable so far! -Alex IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.