Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: netbsd-8 crash
Date: Sat, 4 Aug 2018 22:09:47 +0200 (CEST)
From: 6bone%6bone.informatik.uni-leipzig.de@localhost
Message-ID: <Pine.NEB.4.64.1808042204230.27283%6bone.informatik.uni-leipzig.de@localhost>
| I am unable to rewrite the code. Can you send me a patch?
Try this. It applies to src/sys/dev/ic/ciss.c
kre
ps: unless you changed the kernel between the #8 and #9 crashes, netbsd.8.gz
can just be a copy of netbsd.9.gz - the file only exists to make sure that
there's a copy of the kernel binary to match the core dump (in case /netbsd
is changing from boot to boot.)
--- ciss.c 2018-04-20 17:29:46.000000000 +0700
+++ ciss.c_patched 2018-08-05 05:14:37.000000000 +0700
@@ -630,7 +630,9 @@
/* if never got a chance to be done above... */
if (ccb->ccb_state != CISS_CCB_FREE) {
- KASSERT(error);
+ KASSERTMSG(error,
+ "State 0x%x != CCB_FREE, wait 0x%x cmd_stat 0x%x",
+ ccb->ccb_state, wait, ccb->ccb_err.cmd_stat);
ccb->ccb_err.cmd_stat = CISS_ERR_TMO;
error = ciss_done(ccb);
}
Home |
Main Index |
Thread Index |
Old Index