On Sun, Feb 03, 2008 at 03:04:52AM +0300, Dmitry Morozovsky wrote:
> Dear colleagues,
> 
> during rsycn from eSATA drive connected to Promise TX4 (ad12) to ZFS pool 
> eSATA disk got disconnected. With the next access, system crashed:
> 
> Unread portion of the kernel message buffer:
> 
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 1; apic id = 01
> fault virtual address   = 0x3020e0b30
> fault code              = supervisor read data, page not present
> instruction pointer     = 0x8:0xffffffff801cac9d
> stack pointer           = 0x10:0xffffffffd79f7800
> frame pointer           = 0x10:0xffffffffd79f7840
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 898 (tcsh)
> trap number             = 12
> panic: page fault
> cpuid = 1
> Uptime: 7h49m35s
> Physical memory: 4087 MB
> Dumping 677 MB: 662 646 630 614 598 582 566 550 534 518 502 486 470 454 438 
> 422 
> 406 390 374 358 342 326 310 294 278 262 246 230 214 198 182 166 150 134 118 
> 102 
> 86 70 54 38 22 6
> 
> #0  doadump () at pcpu.h:194
> 194     pcpu.h: No such file or directory.
>         in pcpu.h
> (kgdb) bt
> #0  doadump () at pcpu.h:194
> #1  0x0000000000000031 in ?? ()
> #2  0xffffffff80219c30 in boot (howto=260) at 
> /usr/src/sys/kern/kern_shutdown.c:409
> #3  0xffffffff8021a04d in panic (fmt=0x104 <Address 0x104 out of bounds>) at 
> /usr/src/sys/kern/kern_shutdown.c:563
> #4  0xffffffff80353284 in trap_fatal (frame=0xffffff000179c340, 
> eva=18446742974222725120) at /usr/src/sys/amd64/amd64/trap.c:724
> #5  0xffffffff80353655 in trap_pfault (frame=0xffffffffd79f7750, usermode=0) 
> at 
> /usr/src/sys/amd64/amd64/trap.c:641
> #6  0xffffffff80353ffb in trap (frame=0xffffffffd79f7750) at 
> /usr/src/sys/amd64/amd64/trap.c:410
> #7  0xffffffff80339dbe in calltrap () at 
> /usr/src/sys/amd64/amd64/exception.S:169
> #8  0xffffffff801cac9d in dev2udev (x=0xffffff0001779400) at 
> /usr/src/sys/fs/devfs/devfs_vnops.c:1325
> #9  0xffffffff80310ab8 in ufs_getattr (ap=Variable "ap" is not available.
> ) at /usr/src/sys/ufs/ufs/ufs_vnops.c:401
> #10 0xffffffff8029dcf3 in vn_stat (vp=0xffffff004728b9b0, 
> sb=0xffffffffd79f79f0, active_cred=Variable "active_cred" is not available.
> ) at vnode_if.h:286
> #11 0xffffffff802953b1 in kern_stat (td=0xffffff000179c340, path=0x44b66a 
> <Address 0x44b66a out of bounds>, pathseg=Variable "pathseg" is not available.
> ) at /usr/src/sys/kern/vfs_syscalls.c:2112
> #12 0xffffffff80295507 in stat (td=Variable "td" is not available.
> ) at /usr/src/sys/kern/vfs_syscalls.c:2093
> #13 0xffffffff803538da in syscall (frame=0xffffffffd79f7c70) at 
> /usr/src/sys/amd64/amd64/trap.c:852
> #14 0xffffffff80339fcb in Xfast_syscall () at 
> /usr/src/sys/amd64/amd64/exception.S:290
> #15 0x00000000809c235c in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> (kgdb) 
> 
> I would be glad to provide additional info to investigate and hopefully fix 
> the 
> problem.
> 
> Sincerely,
> D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
> [ FreeBSD committer:                                 [EMAIL PROTECTED] ]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] ***
> ------------------------------------------------------------------------

Di you have the UFS volume mounted from the eSATA drive ? If yes, then the
panic is the natural consequence of the device disappearing from under the
UFS. If not, and fault address 0x3020e0b30 looks suspicious, it could mean
some kernel memory corruption.

Anyway,  it would  be interesting to look at the vnode vp content from the
frame #10, and to  lookup the mount point together with  a device it comes
from.

Attachment: pgpYhq2P6ifvq.pgp
Description: PGP signature

Reply via email to