From owner-freebsd-bugs Mon Mar 25 14:10:39 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D42B637B416 for ; Mon, 25 Mar 2002 14:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2PMA1r25874; Mon, 25 Mar 2002 14:10:01 -0800 (PST) (envelope-from gnats) Received: from qualle.private.net (dsl-213-023-064-178.arcor-ip.net [213.23.64.178]) by hub.freebsd.org (Postfix) with ESMTP id DA94A37B416 for ; Mon, 25 Mar 2002 14:05:25 -0800 (PST) Received: (from root@localhost) by qualle.private.net (8.11.6/8.11.3) id g2PM5mN00515; Mon, 25 Mar 2002 23:05:48 +0100 (CET) (envelope-from root) Message-Id: <200203252205.g2PM5mN00515@qualle.private.net> Date: Mon, 25 Mar 2002 23:05:48 +0100 (CET) From: Jan-Oliver Neumann To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/36315: panic: vm_fault on nofault entry while running portupgrade (4.5-STABLE) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36315 >Category: kern >Synopsis: panic: vm_fault on nofault entry while running portupgrade (4.5-STABLE) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 25 14:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jan-Oliver Neumann >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: ASUS A7V, 1 GHz Athlon, 256 MB, IC35L040AVER07-0 on Promise ATA 100 Controller System: FreeBSD qualle.private.net 4.5-STABLE FreeBSD 4.5-STABLE #13: Mon Mar 25 22:16:24 CET 2002 root@qualle.private.net:/usr/src/sys/compile/QUALLE i386 The machine panics with a vm_fault when portupgrade is backing up old data. The error is reproducible. System (abbreviated dmesg): FreeBSD 4.5-STABLE #13: Mon Mar 25 22:16:24 CET 2002 CPU: AMD Athlon(tm) Processor (1008.99-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> real memory = 268353536 (262064K bytes) avail memory = 257589248 (251552K bytes) pcib1: at device 1.0 on pci0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 chip1: at device 4.4 on pci0 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xa000-0xa07f mem 0xdf800000-0xdf80007f irq 15 at device 10.0 on pci0 xl0: Ethernet address: 00:01:03:2a:33:74 atapci1: port 0x8000-0x803f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407 mem 0xde800000-0xde81ffff irq 10 at device 17.0 on pci0 ata2: at 0x9400 on atapci1 ata3: at 0x8800 on atapci1 ad0: 39266MB [79780/16/63] at ata2-master UDMA100 acd0: DVD-ROM at ata0-master PIO4 The /usr/src and /usr/ports hierachies are mounted via NFS from another 4.5-STABLE system. >Description: Information from kernel dump: (kgdb) where #0 dumpsys () at ../../kern/kern_shutdown.c:487 #1 0xc0168e93 in boot (howto=256) at ../../kern/kern_shutdown.c:316 #2 0xc01692d1 in panic ( fmt=0xc02ba2c0 "vm_fault: fault on nofault entry, addr: %lx") at ../../kern/kern_shutdown.c:595 #3 0xc021efbc in vm_fault (map=0xc03297cc, vaddr=3332976640, fault_type=1 '\001', fault_flags=0) at ../../vm/vm_fault.c:240 #4 0xc0285646 in trap_pfault (frame=0xcc2c8c18, usermode=0, eva=3332976909) at ../../i386/i386/trap.c:848 #5 0xc028523f in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -960294912, tf_esi = -1058148352, tf_ebp = -869495720, tf_isp = -869495740, tf_ebx = 1697127, tf_edx = -960293260, tf_ecx = 255, tf_eax = -961990387, tf_trapno = 12, tf_err = 0, tf_eip = -1071234803, tf_cs = 8, tf_eflags = 66183, tf_esp = -869495676, tf_ss = -1071600672}) at ../../i386/i386/trap.c:458 #6 0xc026410d in skpc (mask0=255, size=1697127, cp0=0xc6a9310d
) at ../../libkern/skpc.c:50 #7 0xc020abe0 in ffs_nodealloccg (ip=0xc0f48800, cg=56, ipref=605696, mode=16832) at ../../ufs/ffs/ffs_alloc.c:1347 #8 0xc0209daf in ffs_hashalloc (ip=0xc0f48800, cg=56, pref=605696, size=16832, allocator=0xc020aaa0 ) at ../../ufs/ffs/ffs_alloc.c:863 #9 0xc0209844 in ffs_valloc (pvp=0xcc22c300, mode=16832, cred=0xc0fb7e80, vpp=0xcc2c8d10) at ../../ufs/ffs/ffs_alloc.c:607 #10 0xc021bcb6 in ufs_mkdir (ap=0xcc2c8e78) at ../../ufs/ufs/ufs_vnops.c:1321 #11 0xc021ce0d in ufs_vnoperate (ap=0xcc2c8e78) at ../../ufs/ufs/ufs_vnops.c:2422 #12 0xc019b09d in mkdir (p=0xcb170040, uap=0xcc2c8f80) at vnode_if.h:674 #13 0xc0285c2a in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134553504, tf_esi = 134553512, tf_ebp = -1077937640, tf_isp = -869494828, tf_ebx = 403718788, tf_edx = 134553520, tf_ecx = -1355838882, tf_eax = 136, tf_trapno = 12, tf_err = 2, tf_eip = 403419796, tf_cs = 31, tf_eflags = 647, tf_esp = -1077937796, tf_ss = 47}) at ../../i386/i386/trap.c:1167 #14 0xc0279ca5 in Xint0x80_syscall () #15 0x180ebfd7 in ?? () #16 0x804c5e1 in ?? () #17 0x8049ef1 in ?? () #18 0x8049a2c in ?? () #19 0x80496f5 in ?? () (kgdb) up 7 #7 0xc020abe0 in ffs_nodealloccg (ip=0xc0f48800, cg=56, ipref=605696, mode=16832) at ../../ufs/ffs/ffs_alloc.c:1347 1347 loc = skpc(0xff, len, &inosused[start]); (kgdb) list 1342 if (isclr(inosused, ipref)) 1343 goto gotit; 1344 } 1345 start = cgp->cg_irotor / NBBY; 1346 len = howmany(fs->fs_ipg - cgp->cg_irotor, NBBY); 1347 loc = skpc(0xff, len, &inosused[start]); 1348 if (loc == 0) { 1349 len = start + 1; 1350 start = 0; 1351 loc = skpc(0xff, len, &inosused[0]); (kgdb) More information and coredump available on request. >How-To-Repeat: Run portupgrade on my machine :-(. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message