panic under 4.8...?

Chuck Swiger cswiger at mac.com
Thu May 15 17:13:26 PDT 2003


Hi, all--

I've got a 1997 Dell XPS D300 which has been rock-solid over the years, 
which I'd just upgraded via a PowerLeap iP3/T-1400C.  The system seemed 
stable for several days, so I cvsup'ed and updated this machine from 
4.7p10 to 4.8-STABLE, only to get a panic a few hours later.

Can anyone make an educated guess as to whether the panic below is 
related to this upgrade, or possibly more likely to be related to 
disk/ATA issues?  I mention the latter because the panic was preceded by:

May 14 07:06:44 <kern.crit> sec /kernel: ad2: READ command timeout tag=0 
serv=0 - resetting
May 14 07:06:44 <kern.crit> sec /kernel: ata1: resetting devices ..
May 14 07:06:44 <kern.crit> sec /kernel: ad2: removed from configuration
May 14 07:06:44 <kern.crit> sec /kernel: done

...and I'd been using the chance of having the system case open to build 
out another drive (ad2).

8-sec# gdb -k gdb -k /usr/obj/usr/src/sys/NORMAL/kernel.debug 
/opt/crash/vmcore.0
GNU gdb 4.18 (FreeBSD)
[ ... ]
IdlePTD at phsyical address 0x00473000
initial pcb at physical address 0x003b3700
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x36
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01d1092
stack pointer           = 0x10:0xd08d3ca0
frame pointer           = 0x10:0xd08d3cac
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         = 41175 (cron)
interrupt mask          = bio
trap number             = 12
panic: page fault

syncing disks... 144 67 64 64 64 64 64 64 64 57 45 45 45 45 45 45 45 51 
45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45
0xc632ad9c 1: dev:#ad/0x20012, flags:200212a0, blkno:7310840, lblkno:0
0xc63279bc 2: dev:#ad/0x20012, flags:200212a0, blkno:7310832, lblkno:0
0xc6324c58 3: dev:#ad/0x20012, flags:200210a0, blkno:7308848, lblkno:0
0xc63226bc 4: dev:#ad/0x20012, flags:200212a0, blkno:7309028, lblkno:0
0xc631ffd4 5: dev:#ad/0x20012, flags:200212a0, blkno:7309388, lblkno:0
0xc6319430 6: dev:#ad/0x20012, flags:200212a0, blkno:7309396, lblkno:0
0xc6314e28 7: dev:#ad/0x20012, flags:200212a0, blkno:7309032, lblkno:0
0xc6312dbc 8: dev:#ad/0x20012, flags:200210a0, blkno:7308852, lblkno:0
0xc630e138 9: dev:#ad/0x20012, flags:200212a0, blkno:7309528, lblkno:0
0xc630a828 10: dev:#ad/0x20012, flags:200012a0, blkno:5632, lblkno:5632
0xc6306dcc 11: dev:#ad/0x20012, flags:200212a0, blkno:7309776, lblkno:0
0xc63069e8 12: dev:#ad/0x20012, flags:200212a0, blkno:7309724, lblkno:0
0xc630590c 13: dev:#ad/0x20012, flags:200212a0, blkno:7291328, 
lblkno:7291328
0xc63057c0 14: dev:#ad/0x20012, flags:200212a0, blkno:7309024, lblkno:0
0xc6304d60 15: dev:#ad/0x20012, flags:200212a0, blkno:7344320, lblkno:4
0xc62f4384 16: dev:#ad/0x20012, flags:200212a0, blkno:7308856, lblkno:0
0xc62f0d0c 17: dev:#ad/0x20012, flags:200212a0, blkno:7309524, lblkno:0
0xc62ef700 18: dev:#ad/0x20012, flags:200012a0, blkno:16, lblkno:16
0xc62e0edc 19: dev:#ad/0x20012, flags:200212a0, blkno:7310836, lblkno:0
0xc62e0c44 20: dev:#ad/0x20012, flags:200212a0, blkno:7309708, lblkno:0
0xc62df8d0 21: dev:#ad/0x20012, flags:200212a0, blkno:7309784, lblkno:0
0xc62df638 22: dev:#ad/0x20012, flags:200212a0, blkno:7290976, 
lblkno:7290976
0xc62db414 23: dev:#ad/0x20012, flags:200212a0, blkno:7309516, lblkno:0
0xc62d0a30 24: dev:#ad/0x20012, flags:200212a0, blkno:7309532, lblkno:0
0xc62caa38 25: dev:#ad/0x20012, flags:200212a0, blkno:7309968, lblkno:0
0xc62ca3bc 26: dev:#ad/0x20012, flags:200212a0, blkno:7309964, lblkno:0
0xc62c9bf4 27: dev:#ad/0x20012, flags:200212a0, blkno:7309716, lblkno:0
0xc62c55ec 28: dev:#ad/0x20012, flags:200212a0, blkno:7309040, lblkno:0
0xc62bd43c 29: dev:#ad/0x20012, flags:200212a0, blkno:7309404, lblkno:0
0xc62bcf0c 30: dev:#ad/0x20012, flags:200212a0, blkno:7310828, lblkno:0
0xc62b9894 31: dev:#ad/0x20012, flags:200212a0, blkno:7309720, lblkno:0
0xc62b8e34 32: dev:#ad/0x20012, flags:200212a0, blkno:7309400, lblkno:0
0xc62b5a54 33: dev:#ad/0x20012, flags:200212a0, blkno:7309780, lblkno:0
0xc62afcf4 34: dev:#ad/0x20012, flags:200212a0, blkno:7296540, lblkno:0
0xc62ad374 35: dev:#ad/0x20012, flags:200212a0, blkno:7291392, 
lblkno:7291392
0xc62a56f4 36: dev:#ad/0x20012, flags:200212a0, blkno:7308844, lblkno:0
0xc62a4380 37: dev:#ad/0x20012, flags:200212a0, blkno:7309712, lblkno:0
0xc62a2ec0 38: dev:#ad/0x20012, flags:200212a0, blkno:7309772, lblkno:0
0xc62a1de4 39: dev:#ad/0x20012, flags:200212a0, blkno:7308860, lblkno:0
0xc62a1c98 40: dev:#ad/0x20012, flags:200212a0, blkno:7309520, lblkno:2
0xc62a0a70 41: dev:#ad/0x20012, flags:200212a0, blkno:7325280, lblkno:0
0xc629f848 42: dev:#ad/0x20012, flags:21029020, blkno:7308668, lblkno:0
0xc629f5b0 43: dev:#ad/0x20012, flags:200212a0, blkno:7309392, lblkno:0
giving up on 43 buffers
Uptime: 5h27m56s

dumping to dev #ad/0x30001, offset 361904
dump ata0: resetting devices .. done
192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 
174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 
156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 
138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 
120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 
102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 
79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 
55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 
6 5 4 3 2 1

(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc01a8cd8 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc01a910c in poweroff_wait (junk=0xc037558c, howto=-1070116721)
     at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc030d057 in trap_fatal (frame=0xd08d3c60, eva=54)
     at /usr/src/sys/i386/i386/trap.c:974
#4  0xc030cd19 in trap_pfault (frame=0xd08d3c60, usermode=0, eva=54)
     at /usr/src/sys/i386/i386/trap.c:867
#5  0xc030c8cf in trap (frame={tf_fs = -1070858224, tf_es = 16, tf_ds = 16,
       tf_edi = -970327992, tf_esi = 0, tf_ebp = -796050260,
       tf_isp = -796050292, tf_ebx = 0, tf_edx = -796050220,
       tf_ecx = -970327992, tf_eax = -1062969200, tf_trapno = 12, tf_err 
= 0,
       tf_eip = -1071837038, tf_cs = 8, tf_eflags = 66050, tf_esp = 
-970327992,
       tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:466
#6  0xc01d1092 in vfs_setdirty (bp=0xc629f848)
     at /usr/src/sys/kern/vfs_bio.c:1991
#7  0xc01d21bc in vfs_busy_pages (bp=0xc629f848, clear_modify=1)
     at /usr/src/sys/kern/vfs_bio.c:2946
#8  0xc01cf79f in bwrite (bp=0xc629f848) at /usr/src/sys/kern/vfs_bio.c:691
#9  0xc01d5233 in vop_stdbwrite (ap=0xd08d3d58)
     at /usr/src/sys/kern/vfs_default.c:344
#10 0xc01d5049 in vop_defaultop (ap=0xd08d3d58)
     at /usr/src/sys/kern/vfs_default.c:152
#11 0xc02b7185 in ufs_vnoperate (ap=0xd08d3d58)
     at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#12 0xc01d137a in getblk (vp=0xd0b28840, blkno=0, size=16384, slpflag=0,
     slptimeo=0) at vnode_if.h:1193
#13 0xc01d377a in cluster_read (vp=0xd0b28840, filesize=65536, lblkno=0,
     size=16384, cred=0x0, totread=260, seqcount=2, bpp=0xd08d3e44)
     at /usr/src/sys/kern/vfs_cluster.c:119
#14 0xc02af407 in ffs_read (ap=0xd08d3e68)
     at /usr/src/sys/ufs/ufs/ufs_readwrite.c:267
#15 0xc01dee8c in vn_read (fp=0xc2c6d380, uio=0xd08d3ed4, cred=0xc0cdb900,
     flags=0, p=0xcb1041e0) at vnode_if.h:334
#16 0xc01b8027 in dofileread (p=0xcb1041e0, fp=0xc2c6d380, fd=3,
     buf=0x8055000, nbyte=260, offset=-1, flags=0)
     at /usr/src/sys/sys/file.h:147
#17 0xc01b7eeb in read (p=0xcb1041e0, uap=0xd08d3f80)
     at /usr/src/sys/kern/sys_generic.c:117
#18 0xc030d325 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
       tf_edi = 0, tf_esi = 134565888, tf_ebp = -1077941152,
       tf_isp = -796049452, tf_ebx = 672121228, tf_edx = -1077939888,
       tf_ecx = 0, tf_eax = 3, tf_trapno = 12, tf_err = 2, tf_eip = 
672074476,
       tf_cs = 31, tf_eflags = 663, tf_esp = -1077941292, tf_ss = 47})
     at /usr/src/sys/i386/i386/trap.c:1175
#19 0xc03006a5 in Xint0x80_syscall ()
#20 0x280e09ab in ?? ()
#21 0x280b6482 in ?? ()
#22 0x280b6301 in ?? ()

Thanks,
-Chuck

PS: I've seen a touch under a factor of three improvement in wall-clock 
compiler performance-- "make buildkernel" went from ~1300 seconds down 
to 450s.  Which I think is pretty darn good for a $150 dollar upgrade, 
or about 5% of the original system cost.  The CPUID goes from:

CPU: Pentium II/Pentium II Xeon/Celeron (300.01-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,MMX>

...to:

CPU: Intel(R) Celeron(TM) CPU 1400MHz (933.37-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6b4  Stepping = 4
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>

...and is now running at 933 MHz due to the 66MHz FSB of the AL440LX 
mainboard, rather than the normal 1400MHz @ 100MHz FSB of the Tualatin 
[370PGA-FC Celeron2?] CPU being used.  ECC memory still works, even.



More information about the freebsd-stable mailing list