pmspcv panic on boot on this box
Glen Barber
gjb at FreeBSD.org
Thu Jul 30 20:15:19 UTC 2015
On Thu, Jul 30, 2015 at 08:13:51PM +0000, Glen Barber wrote:
> On Thu, Jul 30, 2015 at 03:09:30PM -0500, Larry Rosenman wrote:
> > $ sudo -s
> > Password:
> > # cd /usr/src
> > # patch -p0 < ~ler/pmspcv.diff
> > Hmm... Looks like a unified diff to me...
> > The text leading up to this was:
> > --------------------------
> > |Index: sys/dev/pms/freebsd/driver/common/lxutil.c
> > |===================================================================
> > |--- sys/dev/pms/freebsd/driver/common/lxutil.c (revision 286083)
> > |+++ sys/dev/pms/freebsd/driver/common/lxutil.c (working copy)
> > --------------------------
> > Patching file sys/dev/pms/freebsd/driver/common/lxutil.c using Plan A...
> > Hunk #1 failed at 758.
> > Hunk #2 failed at 767.
> > 2 out of 2 hunks failed--saving rejects to
> > sys/dev/pms/freebsd/driver/common/lxutil.c.rej
> > done
> > # vi sys/dev/pms/freebsd/driver/common/lxutil.c.rej
> > @@ -758,6 +758,7 @@
> > int idx;^M
> > static U32 cardMap[4] = { 0, 0, 0, 0 };^M
>
> Hmm. Somehow you ended up with MS DOS EOL...
>
> I'm able to apply the patch without issues. Try this:
>
> vi pmspcv.diff
> :%s:[ctrl-m]::g
>
> It should apply afterward.
>
Or, fetch the patch from here:
https://people.freebsd.org/~gjb/pmspcv.diff.txt
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150730/e4f86a7f/attachment.bin>
More information about the freebsd-current
mailing list