From owner-freebsd-stable@FreeBSD.ORG Mon Dec 24 22:35:28 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 230A3914 for ; Mon, 24 Dec 2012 22:35:28 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1B18FC0C for ; Mon, 24 Dec 2012 22:35:27 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA06711; Tue, 25 Dec 2012 00:35:21 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TnGcC-000Hsr-Rj; Tue, 25 Dec 2012 00:35:20 +0200 Message-ID: <50D8D8A6.60402@FreeBSD.org> Date: Tue, 25 Dec 2012 00:35:18 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: David Wolfskill Subject: Re: stable/9 i386 panic [ACPI/timer?] References: <20121224195818.GA1867@albert.catwhisker.org> <50D8C344.4090702@FreeBSD.org> <20121224211628.GB1867@albert.catwhisker.org> In-Reply-To: <20121224211628.GB1867@albert.catwhisker.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2012 22:35:28 -0000 on 24/12/2012 23:16 David Wolfskill said the following: > albert(9.1-P)[3] kgdb /boot/kernel/kernel.symbols vmcore.0 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > ... > Unread portion of the kernel message buffer: > kernel trap 12 with interrupts disabled > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x34 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0ad475c > stack pointer = 0x28:0xc6fba9d8 > frame pointer = 0x28:0xc6fbaa18 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = resume, IOPL = 0 > current process = 11 (idle: cpu0) > trap number = 12 > panic: page fault > ... > Loaded symbols for /boot/kernel/drm.ko > #0 doadump (textdump=) at pcpu.h:249 > 249 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) frame 7 > #7 0xc0ad475c in tc_windup () at /usr/src/sys/kern/kern_tc.c:450 > 450 /usr/src/sys/kern/kern_tc.c: No such file or directory. > in /usr/src/sys/kern/kern_tc.c > Current language: auto; currently minimal > (kgdb) p timehands > $1 = (struct timehands * volatile) 0xc11ba910 > (kgdb) p th0 > $2 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3989950369, th_offset = { > sec = 25906, frac = 2057132249855343962}, th_microtime = { > tv_sec = 1356376278, tv_usec = 180944}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 180944041}, th_generation = 669311, > th_next = 0xc112a7e4} > (kgdb) p th1 > $3 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3990015836, th_offset = { > sec = 25906, frac = 2167819058537565778}, th_microtime = { > tv_sec = 1356376278, tv_usec = 186944}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 186944385}, th_generation = 669311, > th_next = 0xc112a820} > (kgdb) p th2 > $4 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3990048555, th_offset = { > sec = 25906, frac = 2223137947340682090}, th_microtime = { > tv_sec = 1356376278, tv_usec = 189943}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 189943228}, th_generation = 669311, > th_next = 0xc112a85c} > (kgdb) p th3 > $5 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3990059490, th_offset = { > sec = 25906, frac = 2241626044442123970}, th_microtime = { > tv_sec = 1356376278, tv_usec = 190945}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 190945470}, th_generation = 669311, > th_next = 0xc112a898} > (kgdb) p th4 > $6 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3990070376, th_offset = { > sec = 25906, frac = 2260031295932411698}, th_microtime = { > tv_sec = 1356376278, tv_usec = 191943}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 191943220}, th_generation = 669311, > th_next = 0xc112a8d4} > (kgdb) p th5 > $7 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3990081323, th_offset = { > sec = 25906, frac = 2278539681754952554}, th_microtime = { > tv_sec = 1356376278, tv_usec = 192946}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 192946562}, th_generation = 669311, > th_next = 0xc11ba910} > (kgdb) p th6 > $8 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3989906722, th_offset = { > sec = 25906, frac = 1983337099038093506}, th_microtime = { > tv_sec = 1356376278, tv_usec = 176943}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 176943598}, th_generation = 669310, > th_next = 0xc112a94c} > (kgdb) p th7 > $9 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3989927028, th_offset = { > sec = 25906, frac = 2017668996591077394}, th_microtime = { > tv_sec = 1356376278, tv_usec = 178804}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 178804734}, th_generation = 669310, > th_next = 0xc112a988} > (kgdb) p th8 > $10 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3989928549, th_offset = { > sec = 25906, frac = 2020240591990372602}, th_microtime = { > tv_sec = 1356376278, tv_usec = 178944}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 178944140}, th_generation = 669310, > th_next = 0xc112a9c4} > (kgdb) p th9 > $11 = {th_counter = 0xc115174c, th_adjustment = 51068786373500, > th_scale = 1690726758248, th_offset_count = 3989939440, th_offset = { > sec = 25906, frac = 2038654297114451570}, th_microtime = { > tv_sec = 1356376278, tv_usec = 179942}, th_nanotime = { > tv_sec = 1356376278, tv_nsec = 179942349}, th_generation = 669310, > th_next = 0xc112a7a8} > (kgdb) disassemble tc_windup > Dump of assembler code for function tc_windup: > 0xc0ad4740 : push %ebp > 0xc0ad4741 : mov %esp,%ebp > 0xc0ad4743 : and $0xfffffff8,%esp > 0xc0ad4749 : push %ebx > 0xc0ad474a : push %edi > 0xc0ad474b : push %esi > 0xc0ad474c : sub $0x34,%esp > 0xc0ad474f : mov 0xc112a6c8,%ecx > 0xc0ad4755 : mov %ecx,0x14(%esp) > 0xc0ad4759 : mov 0x38(%ecx),%ebx > 0xc0ad475c : mov 0x34(%ebx),%eax Could you please also provide from the same frame i reg p &timehands ? Thank you. -- Andriy Gapon