Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2003 07:34:25 -0800
From:      "Sean Hamilton" <sh@bel.bc.ca>
To:        <hackers@freebsd.org>
Subject:   Kernel panic with ATA RAID
Message-ID:  <000901c2b274$6e7950f0$31dfe8d8@slugabed.org>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,MMX,FXSR,SSE>
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: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 10
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at
device 7.3 on pci0
rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0xe400-0xe4ff mem
0xe8000000-0xe80000ff irq 10 at device 17.0 on pci0
rl0: Ethernet address: [snip]
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
ad0: 9732MB <SAMSUNG SV1021H> [19774/16/63] at ata0-master UDMA33
ad2: 76319MB <ST380021A> [155061/16/63] at ata1-master UDMA33
ad3: 76319MB <ST380021A> [155061/16/63] at ata1-slave UDMA33
Mounting root from ufs:/dev/ad0s1a
---


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c2b274$6e7950f0$31dfe8d8>