Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 1998 15:04:09 -0400 (EDT)
From:      Kevin Street <street@iname.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   CAM panics
Message-ID:  <Pine.BSF.4.02A.9809261500380.905-100000@kstreet.interlog.com>

next in thread | raw e-mail | index | archive | help
I'm getting a repeatable CAM crash during my nightly backup jobs.  The 
system is ELF from late Sept 24, the kernel sources are from mid
morning (GMT -0400) Sept 25.  (I rebuilt the kernel after the first
nightly panic).  The crash happens when by backup job tries to mount and 
access a SCSI Syquest Syjet on da1.  No softupdates on either of my SCSI
drives.  This has been working ok since C day, until my most recent system
rebuild.  I'm about to resup & rebuild again today to see if it magically
fixes itself.  

Console messages:

Sep 26 03:11:45 kstreet /kernel: (da1:ahc0:0:4:0): SCB 0x0 - timed out in
command phase, SCSISIGI == 0x84 
Sep 26 03:11:45 kstreet /kernel: SEQADDR == 0x153
Sep 26 03:11:45 kstreet /kernel: SSTAT1 == 0x2
Sep 26 03:11:46 kstreet /kernel: (da1:ahc0:0:4:0): BDR message in message buffer

Crash dump:

IdlePTD 2326528
initial pcb at 212948
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xb8
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf01069e8
stack pointer           = 0x10:0xf01f6cc8
frame pointer           = 0x10:0xf01f6e08
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         = Idle
interrupt mask          = cam
trap number             = 12
panic: page fault

syncing disks...

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf018ae58
stack pointer           = 0x10:0xf01f6aa4
frame pointer           = 0x10:0xf01f6aa8
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         = Idle
interrupt mask          = bio cam
trap number             = 12
panic: page fault
 
#0  boot (howto=260) at ../../kern/kern_shutdown.c:268
#1  0xf0131fcb in panic (fmt=0xf01b4bcf "page fault")
    at ../../kern/kern_shutdown.c:430
#2  0xf01b586d in trap_fatal (frame=0xf01f6a68) at ../../i386/i386/trap.c:879
#3  0xf01b5300 in trap_pfault (frame=0xf01f6a68, usermode=0)
    at ../../i386/i386/trap.c:772
#4  0xf01b4f97 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 0,
      tf_esi = -256733184, tf_ebp = -266376536, tf_isp = -266376560,
      tf_ebx = -266336672, tf_edx = -1073168320, tf_ecx = 15, tf_eax = 0,
      tf_trapno = 12, tf_err = 0, tf_eip = -266817960, tf_cs = 8,
      tf_eflags = 66178, tf_esp = -256733184, tf_ss = -266376504})
    at ../../i386/i386/trap.c:396
#5  0xf018ae58 in acquire_lock (lk=0xf0200660)
    at ../../ufs/ffs/ffs_softdep.c:268
#6  0xf018f521 in softdep_update_inodeblock (ip=0xf0b29000, bp=0xf32f2a88,
    waitfor=0) at ../../ufs/ffs/ffs_softdep.c:3473
#7  0xf0189d80 in ffs_update (vp=0xf5bc2220, access=0xf01f6b60,
    modify=0xf01f6b60, waitfor=0) at ../../ufs/ffs/ffs_inode.c:109
#8  0xf0193e49 in ffs_fsync (ap=0xf01f6b9c) at ../../ufs/ffs/ffs_vnops.c:252
#9  0xf0192247 in ffs_sync (mp=0xf0975200, waitfor=2, cred=0xf08fa800,
    p=0xf022d5dc) at vnode_if.h:499
#10 0xf0155127 in sync (p=0xf022d5dc, uap=0x0) at ../../kern/vfs_syscalls.c:527
#11 0xf0131ba2 in boot (howto=256) at ../../kern/kern_shutdown.c:201
#12 0xf0131fcb in panic (fmt=0xf01b4bcf "page fault")
    at ../../kern/kern_shutdown.c:430
#13 0xf01b586d in trap_fatal (frame=0xf01f6c8c) at ../../i386/i386/trap.c:879
#14 0xf01b5300 in trap_pfault (frame=0xf01f6c8c, usermode=0)
    at ../../i386/i386/trap.c:772
#15 0xf01b4f97 in trap (frame={tf_es = -267190256, tf_ds = -258736112,
      tf_edi = -266375556, tf_esi = 0, tf_ebp = -266375672,
      tf_isp = -266376012, tf_ebx = 0, tf_edx = -260758032,
      tf_ecx = -260760352, tf_eax = -259023808, tf_trapno = 12, tf_err = 0,
      tf_eip = -267359768, tf_cs = 8, tf_eflags = 66118, tf_esp = -266375556,
      tf_ss = -266375624}) at ../../i386/i386/trap.c:396
#16 0xf01069e8 in xpt_set_transfer_settings (cts=0xf01f6e7c, async_update=1)
    at ../../cam/cam_xpt.c:5319
#17 0xf01051b8 in xpt_async (async_code=512, path=0xf07525f0,
    async_arg=0xf01f6e7c) at ../../cam/cam_xpt.c:3879
#18 0xf0115702 in ahc_set_syncrate (ahc=0xf08fc000, devinfo=0xf01f6f3c,
    path=0xf07525f0, syncrate=0x0, period=0, offset=0, type=1)
    at ../../dev/aic7xxx/aic7xxx.c:733
#19 0xf0118867 in ahc_handle_devreset (ahc=0xf08fc000, target=4,
    channel=65 'A', status=CAM_BDR_SENT, acode=AC_SENT_BDR,
    message=0xf011759e "Bus Device Reset", verbose_only=0)
    at ../../dev/aic7xxx/aic7xxx.c:2249
#20 0xf0117951 in ahc_handle_scsiint (ahc=0xf08fc000, intstat=4)
    at ../../dev/aic7xxx/aic7xxx.c:1758
#21 0xf0115e3d in ahc_intr (arg=0xf08fc000) at ../../dev/aic7xxx/aic7xxx.c:1009
(kgdb)   

--
Kevin Street
street@iName.com


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9809261500380.905-100000>