Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2014 09:36:57 +0200
From:      "Tobias C. Berner" <tcberner@gmail.com>
To:        freebsd-current@freebsd.org
Cc:        araujo@freebsd.org, Allan Jude <allanjude@freebsd.org>
Subject:   Re: kernel page fault with nfs
Message-ID:  <9401112.gOMxVk2Kpo@noxon.firefly>
In-Reply-To: <8773412.LsFmcEyqqY@noxon.firefly>
References:  <3430961.Iq02vNgBU7@noxon.firefly> <CAOfEmZh3L54UAhFhszC6V90QpdXT8hRUJxj2KP9FaNt7HTN83Q@mail.gmail.com> <8773412.LsFmcEyqqY@noxon.firefly>

next in thread | previous in thread | raw e-mail | index | archive | help
Now that I posted it, 32767 should of course be 2^15=32768. Let me recheck if it still 
hangs with the correct value. 

On Monday 20 October 2014 09.15:39 Tobias C. Berner wrote:
> Hi Marcelo
> 
> Yes, I'm using readahead:
> The mountoptions are
> "readahead=4,soft,intr,rw,tcp,wsize=32767,rsize=32767,late"
> 
> 
> mfg Tobias
> 
> On Monday 20 October 2014 10.41:30 Marcelo Araujo wrote:
> > Hello Tobias,
> > 
> > Could you show how you are mount the NFS share?
> > Are you using 'readahead' option?
> > 
> > Best Regards,
> > 
> > 2014-10-19 17:40 GMT+08:00 Tobias C. Berner <tcberner@gmail.com>:
> > > both are at 1100038.
> > > 
> > > On Sunday 19 October 2014 11.12:36 Marcelo Araujo wrote:
> > > > It is still strange, could you do what Allan said and send us the
> > > > result
> > > 
> > > in
> > > 
> > > > case you are not sure you have world and kernel in the same revision!
> > > > 
> > > > On Oct 19, 2014 6:48 AM, "Tobias C. Berner" <tcberner@gmail.com> wrote:
> > > > >  Hi
> > > > > 
> > > > > World ist from october 16, installed world and kernel then.
> > > > > 
> > > > > Kernel was later rebuilt with debug-options.
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > Is the following more sensible?
> > > > > 
> > > > > 
##################################################
> > > > > 
> > > > > # kgdb NOXON/kernel.debug vmcore.1
> > > > > 
> > > > > Fatal trap 12: page fault while in kernel mode
> > > > > 
> > > > > cpuid = 5; apic id = 05
> > > > > 
> > > > > fault virtual address = 0xfffffe07d1744000
> > > > > 
> > > > > fault code = supervisor write data, page not present
> > > > > 
> > > > > instruction pointer = 0x20:0xffffffff80d4d58a
> > > > > 
> > > > > stack pointer = 0x28:0xfffffe086057f240
> > > > > 
> > > > > frame pointer = 0x28:0xfffffe086057f2f0
> > > > > 
> > > > > 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 = 6524 (python2.7)
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > (kgdb) bt
> > > > > 
> > > > > #0 doadump (textdump=1) at pcpu.h:219
> > > > > 
> > > > > #1 0xffffffff80926b6d in kern_reboot (howto=260) at
> > > > > /usr/src/sys/kern/kern_shutdown.c:447
> > > > > 
> > > > > #2 0xffffffff809270c0 in panic (fmt=<value optimized out>) at
> > > > > /usr/src/sys/kern/kern_shutdown.c:746
> > > > > 
> > > > > #3 0xffffffff8035f167 in db_panic (addr=<value optimized out>,
> > > > > have_addr=2, count=0, modif=0x0) at
> > > > > /usr/src/sys/ddb/db_command.c:473
> > > > > 
> > > > > #4 0xffffffff8035ed7d in db_command (cmd_table=0x0) at
> > > > > /usr/src/sys/ddb/db_command.c:440
> > > > > 
> > > > > #5 0xffffffff8035eaf4 in db_command_loop () at
> > > > > /usr/src/sys/ddb/db_command.c:493
> > > > > 
> > > > > #6 0xffffffff80361600 in db_trap (type=<value optimized out>,
> > > > > code=0)
> > > 
> > > at
> > > 
> > > > > /usr/src/sys/ddb/db_main.c:251
> > > > > 
> > > > > #7 0xffffffff80966f01 in kdb_trap (type=12, code=0, tf=<value
> > > > > optimized
> > > > > out>) at /usr/src/sys/kern/subr_kdb.c:654
> > > > > 
> > > > > #8 0xffffffff80d4fa7c in trap_fatal (frame=0xfffffe086057f190,
> > > 
> > > eva=<value
> > > 
> > > > > optimized out>) at /usr/src/sys/amd64/amd64/trap.c:861
> > > > > 
> > > > > #9 0xffffffff80d4fe0c in trap_pfault (frame=0xfffffe086057f190,
> > > > > usermode=<value optimized out>) at
> > > > > /usr/src/sys/amd64/amd64/trap.c:677
> > > > > 
> > > > > #10 0xffffffff80d4f42e in trap (frame=0xfffffe086057f190) at
> > > > > /usr/src/sys/amd64/amd64/trap.c:426
> > > > > 
> > > > > #11 0xffffffff80d33972 in calltrap () at
> > > > > /usr/src/sys/amd64/amd64/exception.S:231
> > > > > 
> > > > > #12 0xffffffff80d4d58a in bzero () at
> > > > > /usr/src/sys/amd64/amd64/support.S:53
> > > > > 
> > > > > #13 0xffffffff80830463 in ncl_doio (vp=0xfffff801e7f99938,
> > > > > bp=0xfffffe07c5a168e8, cr=<value optimized out>, td=<value optimized
> > > 
> > > out>,
> > > 
> > > > > called_from_strategy=<value optimized out>)
> > > > > 
> > > > > at /usr/src/sys/fs/nfsclient/nfs_clbio.c:1648
From owner-freebsd-current@FreeBSD.ORG  Mon Oct 20 08:19:51 2014
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 0343DFF8;
 Mon, 20 Oct 2014 08:19:51 +0000 (UTC)
Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "cloud.theravensnest.org",
 Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id C72E2D00;
 Mon, 20 Oct 2014 08:19:49 +0000 (UTC)
Received: from [192.168.0.106] (cpc14-cmbg15-2-0-cust307.5-4.cable.virginm.net
 [82.26.1.52]) (authenticated bits=0)
 by theravensnest.org (8.14.9/8.14.9) with ESMTP id s9K8Jcfn087914
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Mon, 20 Oct 2014 08:19:42 GMT (envelope-from theraven@FreeBSD.org)
X-Authentication-Warning: theravensnest.org: Host
 cpc14-cmbg15-2-0-cust307.5-4.cable.virginm.net [82.26.1.52] claimed to be
 [192.168.0.106]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: Voxer using FreeBSD, BSDNow.tv interview
From: David Chisnall <theraven@FreeBSD.org>
In-Reply-To: <CAG=rPVfYQCBVRUcdPORAKGz_851YSTos=W7y0Sb2_VzO9cJ_oQ@mail.gmail.com>
Date: Mon, 20 Oct 2014 09:19:31 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <31A8D963-F8EF-4D68-9586-39EE8A7C7C5A@FreeBSD.org>
References: <CAG=rPVfYQCBVRUcdPORAKGz_851YSTos=W7y0Sb2_VzO9cJ_oQ@mail.gmail.com>
To: Craig Rodrigues <rodrigc@FreeBSD.org>
X-Mailer: Apple Mail (2.1878.6)
Cc: freebsd-advocacy@freebsd.org,
 freebsd-current Current <freebsd-current@freebsd.org>
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Oct 2014 08:19:51 -0000

On 19 Oct 2014, at 23:09, Craig Rodrigues <rodrigc@FreeBSD.org> wrote:

>     (2)  Most devops engineers in web/mobile companies are familiar =
with
>            Linux.  Any differences between Linux and FreeBSD in
> command-line
>            utilities are not show-stoppers, but they are annoyances.
>            Anything FreeBSD could do to help people used to Linux =
would be
> a big
>            help.  Allan Jude even brought up my request to symlink
> /bin/bash (
> =
https://lists.freebsd.org/pipermail/freebsd-ports/2014-September/095483.ht=
ml
> ) :)

I presume that most of the relevant differences are for users / =
developers and not sysadmins?  It's worth noting that GNU coreutils, =
tar, bash, and a load of other things are in the ports repository.  I =
wonder if it's worth having a gnu-userland metaport, perhaps with =
something like the Solaris approach of sticking them all in a different =
tree so that you can just add that to the start of your PATH and have =
all of the GNU tools work by default. =20

David




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