From owner-freebsd-current@FreeBSD.ORG Fri Dec 5 14:13:40 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6D371065672 for ; Fri, 5 Dec 2008 14:13:39 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 999E48FC16 for ; Fri, 5 Dec 2008 14:13:39 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by an-out-0708.google.com with SMTP id b6so21809ana.13 for ; Fri, 05 Dec 2008 06:13:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=m1aueq4aS1mcpK7AzT/OfcjruBpidSZA5UsIRcK70eQ=; b=a/n0gqWo+x2q6LT8gq6sppKm20y/nOOQEkpfK3sfzN9ynfGCsLMwGWyDSmSEzfEYbP xPgCzSaisIKbdZ+QyJX0VPGCyVNnEy5pDdCs4h91nLAblCbDRuwvHGXpRh1ieG17y6im A8dgLdFvcir5MHKTlSrserenmo62jjuVA1OHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=q64EfvcKVePJqO81wRVAPFD6Tr6ygUgJlXone1mXOAnrntviisKb2iik7XHF+hliXM zzKWcERGGADOo/aQuUruOZy8CijGr+prCDiK4hfoKTZpLrnklG7nsbFapdejS3GpSwrc C/Hk17y5UelPiLJf2O0dBBo9VxKpS1CYhoX2s= Received: by 10.231.30.198 with SMTP id v6mr557ibc.22.1228486418454; Fri, 05 Dec 2008 06:13:38 -0800 (PST) Received: by 10.231.19.11 with HTTP; Fri, 5 Dec 2008 06:13:38 -0800 (PST) Message-ID: <3a142e750812050613w4e9155bat950f03716aa58beb@mail.gmail.com> Date: Fri, 5 Dec 2008 15:13:38 +0100 From: "Paul B. Mahol" To: "NAKAJI Hiroyuki" In-Reply-To: <87zljb8nw6.fsf@roddy.4407.kankyo-u.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87zljb8nw6.fsf@roddy.4407.kankyo-u.ac.jp> Cc: freebsd-current@freebsd.org Subject: Re: Fatal trap 12: page fault while in kernel mode X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 14:13:40 -0000 On 12/5/08, NAKAJI Hiroyuki wrote: > Hi, > > I found that my 8-current box sometimes gets panic recently. > >From a serial console, I saved a textdump. > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x0 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0a57285 > stack pointer = 0x28:0xe682dc44 > frame pointer = 0x28:0xe682dcec > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 1015 (nfsd: service) > panic: from debugger > cpuid = 0 > KDB: stack backtrace: > Uptime: 1d16h10m24s > > And, > > $ addr2line -e /boot/kernel/kernel.symbols 0xc0a57285 > /usr/src/sys/rpc/svc.c:787 > > 781 /* now receive msgs from xprtprt (support batch calls) */ > 782 r = malloc(sizeof(*r), M_RPC, M_WAITOK|M_ZERO); > 783 > 784 msg.rm_call.cb_cred.oa_base = r->rq_credarea; > 785 msg.rm_call.cb_verf.oa_base = > &r->rq_credarea[MAX_AUTH_BYTES]; > 786 r->rq_clntcred = &r->rq_credarea[2*MAX_AUTH_BYTES]; > 787 if (SVC_RECV(xprt, &msg, &r->rq_addr, &args)) { > 788 enum auth_stat why; > 789 > > Why this occurs and what do I have to check? > > === /var/run/dmesg.boot === > Copyright (c) 1992-2008 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 8.0-CURRENT #167: Wed Dec 3 11:33:19 JST 2008 > root@roddy.4407.kankyo-u.ac.jp:/usr/obj/usr/src/sys/RODDY > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 > > Features=0xbfebfbff > Features2=0x4400 > Logical CPUs per core: 2 > real memory = 1073152000 (1023 MB) > avail memory = 1036349440 (988 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 6 > cpu3 (AP): APIC ID: 7 > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 24-47 on motherboard > ioapic2 irqs 48-71 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > can't fetch resources for \\_SB_.PCI0.LPC0.SIO_.LPT_ - > AE_AML_INVALID_RESOURCE_TYPE > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: on hostb0 > pci0: at device 0.1 (no driver attached) > pcib1: mem 0xf8000000-0xfbffffff at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: mem > 0xfc000000-0xfdffffff,0xf0100000-0xf0103fff,0xf0800000-0xf0ffffff irq 16 at > device 0.0 on pci1 > drm0: on vgapci0 > vgapci0: child drm0 requested pci_enable_busmaster > info: [drm] AGP at 0xf4000000 64MB > info: [drm] Initialized mga 3.2.2 20060319 > pcib2: at device 2.0 on pci0 > pci2: on pcib2 > pcib3: at device 29.0 on pci2 > pci3: on pcib3 > pcib4: at device 31.0 on pci2 > pci4: on pcib4 > bge0: mem > 0xf1100000-0xf110ffff irq 52 at device 4.0 on pci4 > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge0: Ethernet address: 00:50:45:00:a0:37 > bge0: [ITHREAD] > uhci0: port 0x1400-0x141f irq 16 > at device 29.0 on pci0 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0x1420-0x143f irq 19 > at device 29.1 on pci0 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0x1440-0x145f irq 18 > at device 29.2 on pci0 > uhci2: [GIANT-LOCKED] > uhci2: [ITHREAD] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: on usb2 > uhub2: 2 ports with 2 removable, self powered > ehci0: mem > 0xf0000000-0xf00003ff irq 23 at device 29.7 on pci0 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb3: EHCI version 1.0 > usb3: companion controllers, 2 ports each: usb0 usb1 usb2 > usb3: on ehci0 > usb3: USB revision 2.0 > uhub3: on usb3 > uhub3: 6 ports with 6 removable, self powered > pcib5: at device 30.0 on pci0 > pci5: on pcib5 > atapci0: port > 0x2450-0x2457,0x2444-0x2447,0x2448-0x244f,0x2440-0x2443,0x2000-0x20ff irq 21 > at device 0.0 on pci5 > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > pcm0: port 0x2400-0x243f irq 22 at device 1.0 on pci5 > pcm0: > pcm0: [ITHREAD] > pcm0: > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci1: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1460-0x146f at device 31.1 on pci0 > ata0: on atapci1 > ata0: [ITHREAD] > ata1: on atapci1 > ata1: [ITHREAD] > pci0: at device 31.3 (no driver attached) > acpi_button0: on acpi0 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: [FILTER] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > ppc1: port 0x378-0x37f on acpi0 > ppc1: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc1: FIFO with 16/16/8 bytes threshold > ppbus0: on ppc1 > ppbus0: IEEE1284 device found /NIBBLE/PS2 > ppbus0: Probing for PnP devices: > ppbus0: PRINTER LIPS,N201,ESCP,HP-GL,CJL > plip0: on ppbus0 > plip0: cannot reserve interrupt, failed. > device_attach: plip0 attach returned 6 > lpt0: on ppbus0 > lpt0: Polled port > ppi0: on ppbus0 > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > uart1: [FILTER] > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x30 on acpi0 > uart0: [FILTER] > uart0: console (9600,n,8,1) > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model IntelliMouse, device ID 3 > cpu0: on acpi0 > p4tcc0: on cpu0 > cpu1: on acpi0 > p4tcc1: on cpu1 > pmtimer0 on isa0 > orm0: at iomem > 0xc0000-0xc8fff,0xc9000-0xd4fff,0xe0000-0xe3fff pnpid ORM0000 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ppc0: parallel port not found. > uhid0: on uhub1 > Timecounters tick every 1.000 msec > ad0: 114473MB at ata0-master UDMA100 > acd0: DVDR at ata1-master UDMA33 > ad4: DMA limited to UDMA33, controller found non-ATA66 cable > ad4: 152627MB at ata2-master UDMA33 > ad6: 152627MB at ata3-master UDMA100 > SMP: AP CPU #2 Launched! > SMP: AP CPU #1 Launched! > SMP: AP CPU #3 Launched! > Trying to mount root from ufs:/dev/ad0s1a > WARNING: / was not properly dismounted > umass0: on uhub3 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 286188MB (586114703 512 byte sectors: 255H 63S/T 36483C) > > === /sys/i386/conf/RODDY === > include GENERIC > > ident RODDY > > nooption INVARIANTS > nooption INVARIANT_SUPPORT > nooption WITNESS > nooption WITNESS_SKIPSPIN > > device sound > device "snd_es137x" > > options MSGBUF_SIZE=81920 > > options DEVICE_POLLING > options HZ=1000 > > options NETATALK > -- > NAKAJI Hiroyuki > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > Full bt would be better, also make sure that world and kernel are in sync (because of recent libc changes). -- Paul