Problems dumping to a SCSI device.

Patrick Mahan mahan at mahan.org
Mon May 17 19:59:47 UTC 2010


Platform: HP 350DL
FreeBSD version: FreeBSD 8.0 (amd64)

Beginning of /var/run/dmesg.boot

Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-RELEASE-p2 #0: Fri May  7 03:52:28 PDT 2010
 
build at build8064:/users/build/p4build/FBSD80REL/amd64/obj/users/build/p4build/FBSD80REL/src/sys/MPATH
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU           E5440  @ 2.83GHz (2833.45-MHz K8-class CPU)
   Origin = "GenuineIntel"  Id = 0x10676  Stepping = 6
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 
Features2=0xce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1>
   AMD Features=0x20000800<SYSCALL,LM>
   AMD Features2=0x1<LAHF>
   TSC: P-state invariant

Disk info from /var/run/dmesg.boot

ciss0: <HP Smart Array P400i> port 0x4000-0x40ff mem 
0xfd600000-0xfd6fffff,0xfd5f0000-0xfd5f0fff irq 16 at device 0.0 on pci6
ciss0: PERFORMANT Transport
ciss0: [ITHREAD]

...

da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-5 device
da0: 135.168MB/s transfers
da0: Command Queueing enabled
da0: 69973MB (143305920 512 byte sectors: 255H 32S/T 17562C)

My /etc/fstab contains:

# Device		Mountpoint	FStype	Options		Dump	Pass#
/dev/da0s1b		none		swap	sw		0	0
/dev/da0s1a		/		ufs	rw		1	1
/dev/da0s1e		/usr		ufs	rw		2	2
/dev/da0s1d		/var		ufs	rw		2	2
/dev/acd0		/cdrom		cd9660	ro,noauto	0	0
proc				/proc		procfs	rw		0	0

Swap is 8 Gbytes and we are running with 4 Gbytes of memory.

My issue is we are trying to track down an intermitten crash in the kernel,
but cannot obtain a crash dumpfile.  When a crash occurs I am seeing the
following on the console:

Fatal trap 12: page fault while in kernel mode
cpuid = 5; apic id = 05
fault virtual address   = 0x1a0
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xffffffff80527396
stack pointer           = 0x28:0xffffff80789d1ab0
frame pointer           = 0x28:0xffffff80789d1af0
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         = 87253(ls)
trap number             = 12

uptime:2d3h44m24s
Dumping 2020MB:Aborting dump due to I/O Error
Status==0xb, SCSI status=bx0

Dump Failed (ERROR 5)

This seems to be a failure in cam/scsi/scsi_da.c in dadump().  This was
working for us under FreeBSD 6.2 (we just recently switched to using 8.0).

Googling only turned up some issues way back in 4.x with different SCSI
controllers, nothing for 8.0.

Any pointers are appreciated.  I get the same behavior when I force a
panic using 'debug.kdb.panic=1' as well.

Thanks,

Patrick


More information about the freebsd-questions mailing list