Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sparc64 /dev/mem locking needed ([ups@xxxxxxxxxxx: cvs commit: src/sys/i386/i386 mem.c])

Someone needs to port this change to sparc64, to fix the following

panic: vm_fault: fault on nofault entry, addr: e6ea4000
cpuid = 1
KDB: enter: panic
[thread pid 52621 tid 101030 ]
Stopped at      kdb_enter+0x3c: ta              %xcc, 1
db> wh
Tracing pid 52621 tid 101030 td 0xfffff800bb5f70a0
panic() at panic+0x160
vm_fault() at vm_fault+0x1b0
trap_pfault() at trap_pfault+0x1d0
trap() at trap+0x22c
-- fast data access mmu miss tar=0xe6ea4000 %o7=0xc0181088 --
copyout() at copyout+0x8c
memrw() at memrw+0x28c
giant_read() at giant_read+0x54
devfs_read_f() at devfs_read_f+0x64
dofileread() at dofileread+0x7c
kern_readv() at kern_readv+0x38
read() at read+0x4c
syscall() at syscall+0x33c
-- syscall (3, FreeBSD ELF64, read) %o7=0x4033f348 --

I get this relatively frequently when fstat(1) happens to run on two
CPUs at once:

52621 fffff80066738d40    0 52616 52110 0004100 [CPU 1] fstat
52620 fffff800f5c53a80    0 52617 52130 0004100 [CPU 8] fstat


----- Forwarded message from Stephan Uphoff <ups@xxxxxxxxxxx> -----

X-Original-To: kkenn@localhost
Delivered-To: kkenn@xxxxxxxxxxxxxxxxxxxxxxxx
X-Original-To: kris@xxxxxxxxxxx
Delivered-To: kris@xxxxxxxxxxx
X-Original-To: cvs-all@xxxxxxxxxxx
Delivered-To: cvs-all@xxxxxxxxxxx
From: Stephan Uphoff <ups@xxxxxxxxxxx>
Date: Mon, 23 Jan 2006 15:46:10 +0000 (UTC)
To: src-committers@xxxxxxxxxxx, cvs-src@xxxxxxxxxxx, cvs-all@xxxxxxxxxxx
X-FreeBSD-CVS-Branch: HEAD
Subject: cvs commit: src/sys/i386/i386 mem.c
X-BeenThere: cvs-all@xxxxxxxxxxx
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the entire tree <cvs-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>,
List-Archive: <http://lists.freebsd.org/pipermail/cvs-all>
List-Post: <mailto:cvs-all@xxxxxxxxxxx>
List-Help: <mailto:cvs-all-request@xxxxxxxxxxx?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>,
Errors-To: owner-cvs-all@xxxxxxxxxxx
X-UIDL: Uep!!kHC"!!MX!!Z~;"!

ups         2006-01-23 15:46:10 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        mem.c 
  Fix race conditions.
  Tested by:      kris@
  MFC after:      3 days
  Revision  Changes    Path
  1.117     +57 -33    src/sys/i386/i386/mem.c
cvs-all@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@xxxxxxxxxxx"

----- End forwarded message -----

Attachment: pgpBIrw8vdlSi.pgp
Description: PGP signature