Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2001 15:06:56 +0200
From:      "Kristian K. Nielsen" <freebsd@jkkn.dk>
To:        <freebsd-stable@freebsd.org>
Subject:   4.4-STABLE crashes - suspects new ata-driver over wd-driver
Message-ID:  <001b01c153e7$efb91700$0801a8c0@jkkn.net>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hey,

Motherboard hardware:  ASUS P2B with ASUS latest BIOS update 1012

Recently I upgraded my good FreeBSD server from 3.5-STABLE to 4.4-STABLE and
after
that the kernel has constantly being panicing.
Before upgrading I never have had unexpected kernel panics - now the box
goes down
with a day.
I suspects the new ata-driver since the panics seem to happened when there
is most disk
activity like seeks or copying lots of data from one place to another.

The panic could look like this - here stangely in an inactive RealServer
(but seem to happen in any running process not nesserily the one causing the
diskactivity):

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

--------

dmesg returns:
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,M
MX>
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: <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
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.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 4.2
chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at
device 4.3 on pci0
rl0: <RealTek 8139 10/100BaseTX> port 0xd000-0xd0ff mem
0xe3000000-0xe30000ff irq 10 at device 10.0 on pci0
rl0: Ethernet address: 00:40:95:30:2e:5e
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <S3 ViRGE DX/GX graphics accelerator> at 12.0 irq 11
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
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>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
IPsec: Initialized Security Association Processing.
ad0: 8207MB <ST38641A> [16676/16/63] at ata0-master UDMA33
ad2: 9641MB <IBM-DTTA-371010> [19590/16/63] at ata1-master UDMA33
acd0: CD-RW <CD-RW CRX100E> at ata1-slave using PIO4
Mounting root from ufs:/dev/ad0s1a


-----


(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 ?? ()
---Type <return> to continue, or q <return> to quit---
#13 0x804fa3d in ?? ()
#14 0x804eb7d in ?? ()


-----


For more information - please contact me at freebsd@jkkn.net


I apreciate any help,

Kristian K. Nielsen




[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>Hey,<BR><BR>Motherboard hardware:&nbsp; ASUS P2B with ASUS 
latest BIOS update 1012<BR><BR>Recently I upgraded my good FreeBSD server from 
3.5-STABLE to 4.4-STABLE and<BR>after<BR>that the kernel has constantly being 
panicing.<BR>Before upgrading I never have had unexpected kernel panics - now 
the box<BR>goes down<BR>with a day.<BR>I suspects the new ata-driver since the 
panics seem to happened when there<BR>is most disk<BR>activity like seeks or 
copying lots of data from one place to another.<BR><BR>The panic could look like 
this - here stangely in an inactive RealServer<BR>(but seem to happen in any 
running process not nesserily the one causing 
the<BR>diskactivity):<BR><BR>IdlePTD 3276800<BR>initial pcb at 
2966c0<BR>panicstr: page fault<BR>panic messages:<BR>---<BR>Fatal trap 12: page 
fault while in kernel mode<BR>fault virtual address&nbsp;&nbsp; = 
0x7145cfb0<BR>fault 
code&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= supervisor read, page not present<BR>instruction 
pointer&nbsp;&nbsp;&nbsp;&nbsp; = 0x8:0xc01496d2<BR>stack 
pointer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
0x10:0xd720ef20<BR>frame 
pointer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
0x10:0xd720ef38<BR>code 
segment&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = base 
0x0, limit 0xfffff, type 
0x1b<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= DPL 0, pres 1, def32 1, gran 1<BR>processor 
eflags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = interrupt enabled, resume, 
IOPL = 0<BR>current process&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
364 (rmserver)<BR>interrupt 
mask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = none<BR>trap 
number&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
12<BR>panic: page fault<BR><BR>syncing disks... 104 13 10 9 8<BR>done<BR>Uptime: 
18h53m51s<BR><BR>--------<BR><BR>dmesg returns:<BR>Copyright (c) 1992-2001 The 
FreeBSD Project.<BR>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 
1992, 1993, 1994<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The Regents of 
the University of California. All rights reserved.<BR>FreeBSD 4.4-STABLE #0: Wed 
Oct 10 23:33:25 CEST 2001<BR>&nbsp;&nbsp;&nbsp; <A 
href="mailto:jkkn@jkkn.jkkn.net:/usr/src/sys/compile/JKKN_KRNL">jkkn@jkkn.jkkn.net:/usr/src/sys/compile/JKKN_KRNL</A><BR>Timecounter 
"i8254"&nbsp; frequency 1193182 Hz<BR>Timecounter "TSC"&nbsp; frequency 
300683475 Hz<BR>CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class 
CPU)<BR>&nbsp; Origin = "GenuineIntel"&nbsp; Id = 0x634&nbsp; Stepping = 
4<BR><BR>Features=0x80f9ff&lt;FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,M<BR>MX&gt;<BR>real 
memory&nbsp; = 402640896 (393204K bytes)<BR>avail memory = 387919872 (378828K 
bytes)<BR>Preloaded elf kernel "kernel" at 0xc0301000.<BR>Pentium Pro MTRR 
support enabled<BR>Using $PIR table, 6 entries at 0xc00f0d10<BR>npx0: &lt;math 
processor&gt; on motherboard<BR>npx0: INT 16 interface<BR>pcib0: &lt;Intel 
82443BX (440 BX) host to PCI bridge&gt; on motherboard<BR>pci0: &lt;PCI bus&gt; 
on pcib0<BR>pcib1: &lt;Intel 82443BX (440 BX) PCI-PCI (AGP) bridge&gt; at device 
1.0 on pci0<BR>pci1: &lt;PCI bus&gt; on pcib1<BR>isab0: &lt;Intel 82371AB PCI to 
ISA bridge&gt; at device 4.0 on pci0<BR>isa0: &lt;ISA bus&gt; on 
isab0<BR>atapci0: &lt;Intel PIIX4 ATA33 controller&gt; port 0xd800-0xd80f at 
device 4.1 on<BR>pci0<BR>ata0: at 0x1f0 irq 14 on atapci0<BR>ata1: at 0x170 irq 
15 on atapci0<BR>pci0: &lt;Intel 82371AB/EB (PIIX4) USB controller&gt; at 
4.2<BR>chip1: &lt;Intel 82371AB Power management controller&gt; port 
0xe800-0xe80f at<BR>device 4.3 on pci0<BR>rl0: &lt;RealTek 8139 10/100BaseTX&gt; 
port 0xd000-0xd0ff mem<BR>0xe3000000-0xe30000ff irq 10 at device 10.0 on 
pci0<BR>rl0: Ethernet address: 00:40:95:30:2e:5e<BR>miibus0: &lt;MII bus&gt; on 
rl0<BR>rlphy0: &lt;RealTek internal media interface&gt; on 
miibus0<BR>rlphy0:&nbsp; 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
auto<BR>pci0: &lt;S3 ViRGE DX/GX graphics accelerator&gt; at 12.0 irq 
11<BR>orm0: &lt;Option ROM&gt; at iomem 0xc0000-0xc7fff on isa0<BR>fdc0: &lt;NEC 
72065B or clone&gt; at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0<BR>fdc0: FIFO 
enabled, 8 bytes threshold<BR>fd0: &lt;1440-KB 3.5" drive&gt; on fdc0 drive 
0<BR>atkbdc0: &lt;Keyboard controller (i8042)&gt; at port 0x60,0x64 on 
isa0<BR>vga0: &lt;Generic ISA VGA&gt; at port 0x3c0-0x3df iomem 0xa0000-0xbffff 
on isa0<BR>sc0: &lt;System console&gt; at flags 0x100 on isa0<BR>sc0: VGA &lt;16 
virtual consoles, flags=0x300&gt;<BR>sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 
on isa0<BR>sio0: type 16550A<BR>sio1 at port 0x2f8-0x2ff irq 3 on isa0<BR>sio1: 
type 16550A<BR>ppc0: &lt;Parallel port&gt; at port 0x378-0x37f irq 7 on 
isa0<BR>ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode<BR>ppc0: 
FIFO with 16/16/9 bytes threshold<BR>lpt0: &lt;Printer&gt; on ppbus0<BR>lpt0: 
Interrupt-driven port<BR>ppi0: &lt;Parallel I/O&gt; on ppbus0<BR>IPsec: 
Initialized Security Association Processing.<BR>ad0: 8207MB &lt;ST38641A&gt; 
[16676/16/63] at ata0-master UDMA33<BR>ad2: 9641MB &lt;IBM-DTTA-371010&gt; 
[19590/16/63] at ata1-master UDMA33<BR>acd0: CD-RW &lt;CD-RW CRX100E&gt; at 
ata1-slave using PIO4<BR>Mounting root from 
ufs:/dev/ad0s1a<BR><BR><BR>-----<BR><BR><BR>(kgdb) where<BR>#0&nbsp; dumpsys () 
at ../../kern/kern_shutdown.c:473<BR>#1&nbsp; 0xc0143efc in boot (howto=256) at 
../../kern/kern_shutdown.c:313<BR>#2&nbsp; 0xc01442dc in poweroff_wait 
(junk=0xc02711ac, howto=-1071182641)<BR>&nbsp;&nbsp;&nbsp; at 
../../kern/kern_shutdown.c:581<BR>#3&nbsp; 0xc023b07f in trap_fatal 
(frame=0xd720eee0, eva=1900400560)<BR>&nbsp;&nbsp;&nbsp; at 
../../i386/i386/trap.c:956<BR>#4&nbsp; 0xc023ad39 in trap_pfault 
(frame=0xd720eee0, usermode=0, eva=1900400560)<BR>&nbsp;&nbsp;&nbsp; at 
../../i386/i386/trap.c:849<BR>#5&nbsp; 0xc023a90f in trap (frame={tf_fs = 16, 
tf_es = -685768688, tf_ds<BR>= -685768688,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
tf_edi = 753273225, tf_esi = 1900400556, tf_ebp = 
-685707464,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tf_isp = -685707508, tf_ebx = 4, 
tf_edx = -685707516, tf_ecx = 59999,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tf_eax = 
4, tf_trapno = 12, tf_err = 0, tf_eip = -1072392494, tf_cs 
=<BR>8,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tf_eflags = 66066, tf_esp = 
-755888352, tf_ss = 2})<BR>&nbsp;&nbsp;&nbsp; at 
../../i386/i386/trap.c:448<BR>#6&nbsp; 0xc01496d2 in nanosleep (p=0xd2f20f20, 
uap=0xd720ef80)<BR>&nbsp;&nbsp;&nbsp; at ../../kern/kern_time.c:283<BR>#7&nbsp; 
0xc023b2e1 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds<BR>= 
-1078001617,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tf_edi = 0, tf_esi = 60000, 
tf_ebp = -1077937184, tf_isp = -685707308,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
tf_ebx = 673886912, tf_edx = -1, tf_ecx = 4, tf_eax = 240, tf_trapno 
=<BR>22,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tf_err = 2, tf_eip = 673632288, tf_cs 
= 31, tf_eflags = 659,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tf_esp = -1077937220, 
tf_ss = 47}) at ../../i386/i386/trap.c:1155<BR>#8&nbsp; 0xc022f8a5 in 
Xint0x80_syscall ()<BR>#9&nbsp; 0x8074fd6 in ?? ()<BR>#10 0x8075302 in ?? 
()<BR>#11 0x80728cd in ?? ()<BR>#12 0x8076d8b in ?? ()<BR>---Type &lt;return&gt; 
to continue, or q &lt;return&gt; to quit---<BR>#13 0x804fa3d in ?? ()<BR>#14 
0x804eb7d in ?? ()<BR><BR><BR>-----<BR><BR><BR>For more information - please 
contact me at <A 
href="mailto:freebsd@jkkn.net">freebsd@jkkn.net</A><BR><BR><BR>I apreciate any 
help,<BR><BR>Kristian K. Nielsen<BR><BR><BR></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01c153e7$efb91700$0801a8c0>