From owner-freebsd-hackers Thu Jan 2 7:34:30 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55EF237B401 for ; Thu, 2 Jan 2003 07:34:26 -0800 (PST) Received: from priv-edtnes10-hme0.telusplanet.net (outbound02.telus.net [199.185.220.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EB7343EA9 for ; Thu, 2 Jan 2003 07:34:25 -0800 (PST) (envelope-from sh@bel.bc.ca) Received: from dbs ([216.232.223.49]) by priv-edtnes10-hme0.telusplanet.net (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with SMTP id <20030102153425.RMXW20094.priv-edtnes10-hme0.telusplanet.net@dbs> for ; Thu, 2 Jan 2003 08:34:25 -0700 Message-ID: <000901c2b274$6e7950f0$31dfe8d8@slugabed.org> From: "Sean Hamilton" To: Subject: Kernel panic with ATA RAID Date: Thu, 2 Jan 2003 07:34:25 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Seems my toying with atacontrol caused a reproducable panic. I have a perl script which causes the panic right away every time, I'll mail that to anybody @freebsd.org that wants it. (Or is such paranoia unnecessary?) I believe everything else needed is here. sh --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x88 fault code = supervisor write, page not present instruction pointer = 0x8:0xc014e4fd stack pointer = 0x10:0xcfce6d4c frame pointer = 0x10:0xcfce6d60 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 = 112 (dd) interrupt mask = none trap number = 12 panic: page fault --- --- (kgdb) where #0 0xc01447b6 in dumpsys () #1 0xc0144587 in boot () #2 0xc01449ac in poweroff_wait () #3 0xc01dddb2 in trap_fatal () #4 0xc01dda85 in trap_pfault () #5 0xc01dd66f in trap () #6 0xc014e4fd in dsclose () #7 0xc014de75 in diskclose () #8 0xc01782e8 in spec_close () #9 0xc01abc3a in ufsspec_close () #10 0xc01ac201 in ufs_vnoperatespec () #11 0xc0175f5c in vn_close () #12 0xc0176887 in vn_closefile () #13 0xc013ac9f in fdrop () #14 0xc013abe7 in closef () #15 0xc013a7f4 in fdfree () #16 0xc013d4b1 in exit1 () #17 0xc0146432 in sigexit () #18 0xc01461ac in postsig () #19 0xc01de114 in syscall2 () #20 0xc01d2465 in Xint0x80_syscall () #21 0x8055585 in ?? () #22 0x8048f00 in ?? () #23 0x8048135 in ?? () --- --- machine i386 cpu I686_CPU ident SOAP maxusers 0 options INET options FFS options FFS_ROOT options SOFTUPDATES options UFS_DIRHASH options COMPAT_43 options ICMP_BANDLIM device apm device isa device pci device ata device atadisk device atapicd options ATA_STATIC_ID device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device vga0 at isa? device sc0 at isa? flags 0x100 device npx0 at nexus? port IO_NPX irq 13 device miibus device rl pseudo-device loop pseudo-device ether pseudo-device pty pseudo-device bpf device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 --- --- Copyright (c) 1992-2002 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.7-RELEASE #2: Wed Jan 1 06:52:01 PST 2003 [snip] Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (451.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x672 Stepping = 2 Features=0x383f9ff real memory = 335544320 (327680K bytes) avail memory = 323653632 (316068K bytes) Preloaded elf kernel "kernel" at 0xc0279000. Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00fdf00 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 10 chip1: port 0x5000-0x500f at device 7.3 on pci0 rl0: port 0xe400-0xe4ff mem 0xe8000000-0xe80000ff irq 10 at device 17.0 on pci0 rl0: Ethernet address: [snip] miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: