From owner-freebsd-stable@FreeBSD.ORG Wed Dec 22 14:59:12 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21FA21065767 for ; Wed, 22 Dec 2010 14:59:11 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7726C8FC17 for ; Wed, 22 Dec 2010 14:59:11 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 0FF9F46B49; Wed, 22 Dec 2010 09:59:11 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E66D08A027; Wed, 22 Dec 2010 09:59:08 -0500 (EST) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 22 Dec 2010 09:51:50 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20101102; KDE/4.4.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201012220951.50493.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 22 Dec 2010 09:59:09 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=4.2 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: Subject: Re: panic on boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2010 14:59:12 -0000 On Wednesday, December 22, 2010 5:12:03 am Daniel Braniss wrote: > the hardware is Sun Fire X2200 M2, and it's discless, PXE booted. > > this seems to have started sometime before 8.2, and it > 'sometimes happens': > > FreeBSD 8.2-PRERELEASE #15 r4274: Wed Dec 22 09:11:27 IST 2010c40, rbp = > 0xffffffff80ef5c60 --- > danny@rnd:/home/obj/rnd/r+d/stable/8/sys/HUJI amd64 > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Dual-Core AMD Opteron(tm) Processor 2218 (2613.40-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x40f13 Family = f Model = 41 Stepping = 3 > Features=0x178bfbff CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=0x2001 > AMD Features=0xea500800 > AMD Features2=0x1f > ... > SMP: AP CPU #3 Launched! > (cd0:ata0:0:0:0): SCSI status: Check Condition > cpu3 AP: > (cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) > ID: 0x03000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff > (cd0: lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff > ata0:0: timer: 0x000200ef therm: 0x00010000 err: 0x000000f00: pmc: 0x000104000): > Error 6, Unretryable error > SMP: AP CPU #2 Launched! > cd0 at ata0 bus 0 scbus0 target 0 lun 0 > cpu2 AP: > cd0: ID: 0x02000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff > Removable CD-ROM SCSI-0 device > lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff > cd0: 33.300MB/s transfers timer: 0x000200ef therm: 0x00010000 err: 0x000000f0 ( pmc: 0x00010400UDMA2, > ATAPI 12bytes, ioapic0: routing intpin 3 (PIO 65534bytesISA IRQ 3)) to lapic 1 vector 48 > f > loiwotaapbilce0 :c lreoaunteirn gs tianrttpeidn > 4 (cd0: Attempt to query device size failed: NOT READY, Medium not present > ISA IRQ 4) to lapic 2 vector 48 > ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 3 vector 48 > ioapic0: routing intpin 15 (ISA IRQ 15) to lapic 1 vector 49 > ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 2 vector 49 > ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 3 vector 49 > ioapic0: routing intpin 22 (PCI IRQ 22) to lapic 1 vector 50 > ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 2 vector 50 > kernel trap 12 with interrupts disabled > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x10 > fault code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff808b1581 > stack pointer = 0x28:0xffffffff80ef5b20 > frame pointer = 0x28:0xffffffff80ef5b50 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = resume, IOPL = 0 > current process = 0 (swapper) > trap number = 12 > panic: page fault > cpuid = 0 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > kdb_backtrace() at kdb_backtrace+0x37 > panic() at panic+0x187 > trap_fatal() at trap_fatal+0x290 > trap_pfault() at trap_pfault+0x28f > trap() at trap+0x3df > calltrap() at calltrap+0x8 > --- trap 0xc, rip = 0xffffffff808b1581, rsp = 0xffffffff80ef5b20, rbp = 0xffffffff80ef5b50 --- > intr_execute_handlers() at intr_execute_handlers+0x21 > lapic_handle_intr() at lapic_handle_intr+0x37 > Xapic_isr1() at Xapic_isr1+0xa5 > --- interrupt, rip = 0xffffffff808b6cf3, rsp = 0xffffffff80ef5c40, rbp = 0xffffffff80ef5c60 --- > spinlock_exit() at spinlock_exit+0x33 > ioapic_assign_cpu() at ioapic_assign_cpu+0x123 > intr_shuffle_irqs() at intr_shuffle_irqs+0x9d > mi_startup() at mi_startup+0x77 > btext() at btext+0x2c > Uptime: 2s Can you do 'l *intr_execute_handlers+0x21' and 'l *ioapic_assign_cpu+0x123' in 'gdb kernel.debug' of your kernel? -- John Baldwin