mps0-troubles
Joachim Tingvold
joachim at tingvold.com
Thu Feb 3 23:53:15 UTC 2011
On Thu, Feb 03, 2011, at 23:10:56PM GMT+01:00, Kenneth D. Merry wrote:
> I've attached a patch that has a number of debugging sysctls, a
> change from
> gibbs@ that has to do with device removal, and some other extra
> debugging
> cruft. (i.e. this patch won't go into the tree as-is, it's just for
> debugging.)
Index: mps.c
|===================================================================
|--- mps.c (revision 218241)
|+++ mps.c (working copy)
--------------------------
Patching file mps.c using Plan A...
Hunk #1 succeeded at 386 (offset -1 lines).
Hunk #2 succeeded at 734 (offset -7 lines).
Hunk #3 succeeded at 812 (offset -9 lines).
Hunk #4 failed at 847.
The patch is looking for
SYSCTL_ADD_UINT(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree),
[...]
SYSCTL_ADD_UINT(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree),
[...]
but my mps.c has
SYSCTL_ADD_INT(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), [...]
SYSCTL_ADD_INT(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), [...]
That, and all the offsets; maybe my mps-driver is a bit outdated?
Maybe this is a stupid question, but I'm no FreeBSD-expert. (-:
--
Joachim
More information about the freebsd-scsi
mailing list