I was running 7.0-BETA4 and had problems with SEG_FAULT 12 in g_up so I
rebuilt a stock GENERIC kernel with these additional options:options KDB
option DDB
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options DEBUG_LOCKS
options DEBUG_VFS_LOCKS
options DIAGNOSTIC
Here is the build date:
FreeBSD charon.confluentasp.com 7.0-BETA4 FreeBSD 7.0-BETA4 #6: Tue Dec
11 09:05:50 EST 2007
mikej@charon.confluentasp.com:/usr/obj/usr/src/sys/CHARON i386(I cvsup'd source on this day just prior to kernel build - tag=RELENG_7)
Now when my SCSI array is plugged into the AHA-2944 controller the
kernel panics on boot. If the array is not pluggedinto the controller the system boots and runs fine.
I've read the handbook and tried to follow what posts I read as to what
would be of use in trouble shooting this.Please don't shoot the messenger. I'll be glad to supply and additional
information - this box is not in productionso I'm willing to try anything.
Just to note, the controller and array had been in production under
6.2-RELEASE and prior versions and has been runningfor years without any problems.
Thanks.
--mikej
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2007 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 7.0-BETA4 #6: Tue Dec 11 09:05:50 EST 2007
mikej@charon.confluentasp.com:/usr/obj/usr/src/sys/CHARON
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Mobile AMD Sempron(tm) Processor 3000+ (1799.81-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x20fc2 Stepping =...
This simple patch should fix it. This code path is pretty rare, though,
I'm frankly shocked that you're running into it.--- cam_xpt.c 20 Oct 2007 23:23:12 -0000 1.191
+++ cam_xpt.c 16 Dec 2007 07:46:22 -0000
@@ -3862,6 +3862,7 @@
&work_ccb->ccb_h,
xpt_links.stqe);+ mtx_unlock(&xsoftc.xpt_lock);
continue;
} else {
/*Scott
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
-----Original Message-----
From: Scott Long [mailto:scottl@samsco.org]
Sent: Sunday, December 16, 2007 2:48 AM
To: Michael Jung
Cc: freebsd-current@freebsd.org
Subject: Re: 7.0-BETA4 - witness_warn on bootThis simple patch should fix it. This code path is pretty rare, though,
I'm frankly shocked that you're running into it.--- cam_xpt.c 20 Oct 2007 23:23:12 -0000 1.191
+++ cam_xpt.c 16 Dec 2007 07:46:22 -0000
@@ -3862,6 +3862,7 @@
&work_ccb->ccb_h,
xpt_links.stqe);+ mtx_unlock(&xsoftc.xpt_lock);
continue;
} else {
/*Scott
"freebsd-current-unsubscribe@freebsd.org"
Scott,
Any chance on getting this committed? It's been working great but
requires me to
patch after every cvsup.Thanks.
--mikej
CONFIDENTIALITY NOTE: This message is intended only for the use
of the individual or entity to whom it is addressed and may contain
information that is privileged, confidential, and exempt from
disclosure under applicable law. If the reader of this message is
not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication
is strictly prohibited. If you have received this transmission
in error, please notify us by telephone at (502) 212-4001 or
notify us at PAI , Dept. 99, 11857 Commonwealth Drive,
Louisville, KY 40299. Thank you.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Thanks for the reminder, I'll take care of it.
Scott
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
