Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jul 2005 12:14:58 +0200
From:      Marc Olzheim <marcolz@stack.nl>
To:        freebsd-stable@FreeBSD.org
Cc:        marcolz@stack.nl
Subject:   Today's RELENG_5_4 and 'lock cmpxchgl'
Message-ID:  <20050701101458.GA1193@stack.nl>

next in thread | raw e-mail | index | archive | help

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Somehow, this sounds familiar, i.e.: the "lock cmpxchgl":

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x1c
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc05160c3
stack pointer           = 0x10:0xebf499ac
frame pointer           = 0x10:0xebf499b8
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         = 1299 (screen)
[thread pid 1299 tid 100428 ]
Stopped at      0xc05160c3 = knote+0x27:        lock cmpxchgl   %ecx,0x1c(%edx)
db> tr
Tracing pid 1299 tid 100428 td 0xc670cc00
knote(c5fdde80,0,0,c5fdde10,c5fdde00) at 0xc05160c3 = knote+0x27
ttwakeup(c5fdde00,c5fdde00,c5fdde00,c5f93000,ebf49a04) at 0xc0560ad9 = ttwakeup+0x65
ttymodem(c5fdde00,1) at 0xc055f73c = ttymodem+0x170
ptcopen(c5f93000,3,2000,c670cc00,c0717d40) at 0xc0563427 = ptcopen+0x63
spec_open(ebf49a70,ebf49b2c,c05913f9,ebf49a70,180) at 0xc04f4f82 = spec_open+0x2b6
spec_vnoperate(ebf49a70) at 0xc04f4cc7 = spec_vnoperate+0x13
vn_open_cred(ebf49bd4,ebf49cd4,0,c6614900,5) at 0xc05913f9 = vn_open_cred+0x419
vn_open(ebf49bd4,ebf49cd4,0,5,58) at 0xc0590fde = vn_open+0x1e
kern_open(c670cc00,bfbfdf40,0,3,0) at 0xc058af5b = kern_open+0xeb
open(c670cc00,ebf49d04,3,0,292) at 0xc058ae6c = open+0x18
syscall(bfbf002f,2f,bfbf002f,ffffffff,28104c2d) at 0xc069e5e3 = syscall+0x2b3
Xint0x80_syscall() at 0xc068d2ff = Xint0x80_syscall+0x1f
--- syscall (5, FreeBSD ELF32, open), eip = 0x2816c7bb, esp = 0xbfbfdf0c, ebp = 0xbfbfdf68 ---

What am I doing wrong ?

It's an SMP dual Xeon machine. Same kernel config as I used on my older
kernels that didn't crash though...

Marc

--wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCxReiezjnobFOgrERAgbAAJ9WXbzEm2qm4TaPkn0reHTQh14FaQCeM7fu
baZsFt4Sqi0V4HcQVBSyG+c=
=cB4f
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--



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