Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 07:44:09 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-stable@freebsd.org
Subject:   stable breaks HighPoint support
Message-ID:  <5.1.0.14.0.20020326071236.033c00d0@192.168.0.12>
In-Reply-To: <01c653057111a32WEB@www.lanworks.de>

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

It looks like something in stable seem to break High Point 404 support 
using the vendor's drivers and RAID administrator software.
http://www.highpoint-tech.com/rr404_down.htm

raidtest2# gdb -k kernel.debug vmcore.0
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
SMP 2 cpus
IdlePTD at phsyical address 0x004d3000
initial pcb at physical address 0x00412b80
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 01000002; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc1e101ec
stack pointer           = 0x10:0xd2d44da4
frame pointer           = 0x10:0xd2d44da8
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         = 165 (hptsvr)
interrupt mask          = none <- SMP: XXX
trap number             = 12
panic: page fault
mp_lock = 01000002; cpuid = 1; lapic.id = 00000000
boot() called on cpu#1

syncing disks... 17
done
Uptime: 3m51s
twed0: detached

dumping to dev #ad/0x20001, offset 647192
dump ata0: resetting devices .. done
383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 
364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 
345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 
326 325 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 
307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 
288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 
269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 
250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 
231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 
212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 
193 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 0
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc01d833c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc01d87a4 in poweroff_wait (junk=0xc03b8d79, howto=-1069840305) at 
/usr/src/sys/kern/kern_shutdown.c:595
#3  0xc034b1f5 in trap_fatal (frame=0xd2d44d64, eva=0) at 
/usr/src/sys/i386/i386/trap.c:966
#4  0xc034ae6d in trap_pfault (frame=0xd2d44d64, usermode=0, eva=0) at 
/usr/src/sys/i386/i386/trap.c:859
#5  0xc034a9cb in trap (frame={tf_fs = -797835240, tf_es = 16, tf_ds = 16, 
tf_edi = -757838092, tf_esi = 2, tf_ebp = -757838424,
       tf_isp = -757838448, tf_ebx = -757838228, tf_edx = -1042194560, 
tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0,
       tf_eip = -1042218516, tf_cs = 8, tf_eflags = 66178, tf_esp = 0, 
tf_ss = -757838384}) at /usr/src/sys/i386/i386/trap.c:458
#6  0xc1e101ec in ?? ()
#7  0xc1e0fbb7 in ?? ()
#8  0xc1e05066 in ?? ()
#9  0xc1e05a61 in ?? ()
#10 0xc01dd3e8 in sysctl_root (oidp=0x0, arg1=0xd2d44ef4, arg2=2, 
req=0xd2d44e6c) at /usr/src/sys/kern/kern_sysctl.c:1041
#11 0xc01dd5a1 in userland_sysctl (p=0xd0727d40, name=0xd2d44ef4, 
namelen=2, old=0x0, oldlenp=0x0, inkernel=0, new=0xbfadcccc,
     newlen=28, retval=0xd2d44ef0) at /usr/src/sys/kern/kern_sysctl.c:1134
#12 0xc01dd457 in __sysctl (p=0xd0727d40, uap=0xd2d44f80) at 
/usr/src/sys/kern/kern_sysctl.c:1070
#13 0xc034b539 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
tf_edi = -1079129004, tf_esi = -1079128884,
       tf_ebp = -1079129076, tf_isp = -757837868, tf_ebx = 672168644, 
tf_edx = 0, tf_ecx = 0, tf_eax = 202, tf_trapno = 22,
       tf_err = 2, tf_eip = 671794456, tf_cs = 31, tf_eflags = 643, tf_esp 
= -1079129136, tf_ss = 47})
     at /usr/src/sys/i386/i386/trap.c:1167
#14 0xc0335a6b in Xint0x80_syscall ()
cannot read proc at 0
(kgdb) up
#1  0xc01d833c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
316                     dumpsys();
(kgdb) up
#2  0xc01d87a4 in poweroff_wait (junk=0xc03b8d79, howto=-1069840305) at 
/usr/src/sys/kern/kern_shutdown.c:595
595             boot(bootopt);
(kgdb) up
#3  0xc034b1f5 in trap_fatal (frame=0xd2d44d64, eva=0) at 
/usr/src/sys/i386/i386/trap.c:966
966                     panic("%s", trap_msg[type]);
(kgdb) up
#4  0xc034ae6d in trap_pfault (frame=0xd2d44d64, usermode=0, eva=0) at 
/usr/src/sys/i386/i386/trap.c:859
859                     trap_fatal(frame, eva);
(kgdb) up
#5  0xc034a9cb in trap (frame={tf_fs = -797835240, tf_es = 16, tf_ds = 16, 
tf_edi = -757838092, tf_esi = 2, tf_ebp = -757838424,
       tf_isp = -757838448, tf_ebx = -757838228, tf_edx = -1042194560, 
tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0,
       tf_eip = -1042218516, tf_cs = 8, tf_eflags = 66178, tf_esp = 0, 
tf_ss = -757838384}) at /usr/src/sys/i386/i386/trap.c:458
458                             (void) trap_pfault(&frame, FALSE, eva);
(kgdb) up
#6  0xc1e101ec in ?? ()
(kgdb) up
#7  0xc1e0fbb7 in ?? ()
(kgdb) up
#8  0xc1e05066 in ?? ()
(kgdb) up
#9  0xc1e05a61 in ?? ()
(kgdb) up
#10 0xc01dd3e8 in sysctl_root (oidp=0x0, arg1=0xd2d44ef4, arg2=2, 
req=0xd2d44e6c) at /usr/src/sys/kern/kern_sysctl.c:1041
1041                    error = oid->oid_handler(oid, oid->oid_arg1, 
oid->oid_arg2,
(kgdb) up
#11 0xc01dd5a1 in userland_sysctl (p=0xd0727d40, name=0xd2d44ef4, 
namelen=2, old=0x0, oldlenp=0x0, inkernel=0, new=0xbfadcccc,
     newlen=28, retval=0xd2d44ef0) at /usr/src/sys/kern/kern_sysctl.c:1134
1134                error = sysctl_root(0, name, namelen, &req2);
(kgdb) up
#12 0xc01dd457 in __sysctl (p=0xd0727d40, uap=0xd2d44f80) at 
/usr/src/sys/kern/kern_sysctl.c:1070
1070            error = userland_sysctl(p, name, uap->namelen,
(kgdb) up
#13 0xc034b539 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
tf_edi = -1079129004, tf_esi = -1079128884,
       tf_ebp = -1079129076, tf_isp = -757837868, tf_ebx = 672168644, 
tf_edx = 0, tf_ecx = 0, tf_eax = 202, tf_trapno = 22,
       tf_err = 2, tf_eip = 671794456, tf_cs = 31, tf_eflags = 643, tf_esp 
= -1079129136, tf_ss = 47})
     at /usr/src/sys/i386/i386/trap.c:1167
1167            error = (*callp->sy_call)(p, args);
(kgdb) up
#14 0xc0335a6b in Xint0x80_syscall ()
(kgdb) up
cannot read proc at 0
(kgdb)

raidtest2# kldstat
Id Refs Address    Size     Name
  1    2 0xc0100000 3b23cc   kernel
  2    1 0xc1e63000 1e000    hpt374.ko
raidtest2# sysctl hpt374.status
hpt374.status:
Device Driver for HPT374 UDMA/ATA133 RAID Controller Driver Version 1.0

Physical device list
Controller/Bus/ID  Model                Capacity  Status   Array
-------------------------------------------------------------------

Logical device list
No. Type         Name                 Capacity  Status            OsDisk
-------------------------------------------------------------------------

raidtest2#

ad0: 19541MB <Maxtor 2B020H1> [39703/16/63] at ata0-master UDMA33
ad8: 38166MB <ST340016A> [77545/16/63] at ata4-master UDMA100
ad10: 38166MB <ST340016A> [77545/16/63] at ata5-master UDMA100
acd0: CDROM <CD-ROM 52X/AKH> at ata1-master PIO4

ad8 and ad10 are the ones on the controller.

	---Mike
--------------------------------------------------------------------
Mike Tancsa,                          	          tel +1 519 651 3400
Sentex Communications,     			  mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada			  www.sentex.net/mike


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020326071236.033c00d0>