From owner-freebsd-bugs Fri Oct 12 11:30:25 2001 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 DF30337B408 for ; Fri, 12 Oct 2001 11:30:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9CIU0A42616; Fri, 12 Oct 2001 11:30:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5771B37B407 for ; Fri, 12 Oct 2001 11:25:06 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9CIP6A41758; Fri, 12 Oct 2001 11:25:06 -0700 (PDT) (envelope-from nobody) Message-Id: <200110121825.f9CIP6A41758@freefall.freebsd.org> Date: Fri, 12 Oct 2001 11:25:06 -0700 (PDT) From: Kristian Kraemmer Nielsen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/31233: Kernel panics after upgrading to 4.4-STABLE on ASUS P2B running less than a day 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: 31233 >Category: kern >Synopsis: Kernel panics after upgrading to 4.4-STABLE on ASUS P2B running less than a day >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 12 11:30:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Kristian Kraemmer Nielsen >Release: 4.4-STABLE >Organization: >Environment: FreeBSD jkkn.jkkn.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Oct 10 23:33:25 CEST 2001 jkkn@jkkn.jkkn.net:/usr/src/sys/compile/JKKN_KRNL i386 >Description: Machine crashes after running less than a day. Problem started after upgrading from 3.5-STABLE to 4.4-STABLE. It is most like to have something to do with the IDE controller and the new ata-drivers since it panics under high disk activity/seeks. It does not make any difference to disable UDMA, write-cache nor soft-updates. Panic: IdlePTD 3276800 initial pcb at 2966c0 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x7145cfb0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01496d2 stack pointer = 0x10:0xd720ef20 frame pointer = 0x10:0xd720ef38 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 = 364 (rmserver) interrupt mask = none trap number = 12 panic: page fault syncing disks... 104 13 10 9 8 done Uptime: 18h53m51s dumping to dev #ad/0x20001, offset 794120 dump ata0: resetting devices .. done --- cut --- (kgdb) where #0 dumpsys () at ../../kern/kern_shutdown.c:473 #1 0xc0143efc in boot (howto=256) at ../../kern/kern_shutdown.c:313 #2 0xc01442dc in poweroff_wait (junk=0xc02711ac, howto=-1071182641) at ../../kern/kern_shutdown.c:581 #3 0xc023b07f in trap_fatal (frame=0xd720eee0, eva=1900400560) at ../../i386/i386/trap.c:956 #4 0xc023ad39 in trap_pfault (frame=0xd720eee0, usermode=0, eva=1900400560) at ../../i386/i386/trap.c:849 #5 0xc023a90f in trap (frame={tf_fs = 16, tf_es = -685768688, tf_ds = -685768688, tf_edi = 753273225, tf_esi = 1900400556, tf_ebp = -685707464, tf_isp = -685707508, tf_ebx = 4, tf_edx = -685707516, tf_ecx = 59999, tf_eax = 4, tf_trapno = 12, tf_err = 0, tf_eip = -1072392494, tf_cs = 8, tf_eflags = 66066, tf_esp = -755888352, tf_ss = 2}) at ../../i386/i386/trap.c:448 #6 0xc01496d2 in nanosleep (p=0xd2f20f20, uap=0xd720ef80) at ../../kern/kern_time.c:283 #7 0xc023b2e1 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = -1078001617, tf_edi = 0, tf_esi = 60000, tf_ebp = -1077937184, tf_isp = -685707308, tf_ebx = 673886912, tf_edx = -1, tf_ecx = 4, tf_eax = 240, tf_trapno = 22, tf_err = 2, tf_eip = 673632288, tf_cs = 31, tf_eflags = 659, tf_esp = -1077937220, tf_ss = 47}) at ../../i386/i386/trap.c:1155 #8 0xc022f8a5 in Xint0x80_syscall () #9 0x8074fd6 in ?? () #10 0x8075302 in ?? () #11 0x80728cd in ?? () #12 0x8076d8b in ?? () ---cut--- (kgdb) up 5 #5 0xc023a90f in trap (frame={tf_fs = 16, tf_es = -685768688, tf_ds = -685768688, tf_edi = 753273225, tf_esi = 1900400556, tf_ebp = -685707464, tf_isp = -685707508, tf_ebx = 4, tf_edx = -685707516, tf_ecx = 59999, tf_eax = 4, tf_trapno = 12, tf_err = 0, tf_eip = -1072392494, tf_cs = 8, tf_eflags = 66066, tf_esp = -755888352, tf_ss = 2}) at ../../i386/i386/trap.c:448 448 (void) trap_pfault(&frame, FALSE, eva); (kgdb) frame frame->tf_ebp frame->tf_eip #0 0xc01496d2 in nanosleep (p=0xd2f20f20, uap=0xd720ef80) at ../../kern/kern_time.c:283 283 if (error && SCARG(uap, rmtp)) { (kgdb) list 278 if (SCARG(uap, rmtp)) 279 if (!useracc((caddr_t)SCARG(uap, rmtp), sizeof(rmt), 280 VM_PROT_WRITE)) 281 return (EFAULT); 282 error = nanosleep1(p, &rqt, &rmt); 283 if (error && SCARG(uap, rmtp)) { 284 error2 = copyout(&rmt, SCARG(uap, rmtp), sizeof(rmt)); 285 if (error2) /* XXX shouldn't happen, did useracc() above */ 286 return (error2); 287 } For more information please mail jkkn@jkkn.dk. >How-To-Repeat: Kernel panic seem to accour under high disk activity/seeks. Output of dmesg: Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-STABLE #0: Wed Oct 10 23:33:25 CEST 2001 jkkn@jkkn.jkkn.net:/usr/src/sys/compile/JKKN_KRNL Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 300683475 Hz CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80f9ff real memory = 402640896 (393204K bytes) avail memory = 387919872 (378828K bytes) Preloaded elf kernel "kernel" at 0xc0301000. Pentium Pro MTRR support enabled Using $PIR table, 6 entries at 0xc00f0d10 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 4.2 chip1: port 0xe800-0xe80f at device 4.3 on pci0 rl0: port 0xd000-0xd0ff mem 0xe3000000-0xe30000ff irq 10 at device 10.0 on pci0 rl0: Ethernet address: 00:40:95:30:2e:5e miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 12.0 irq 11 orm0: