Date: Thu, 30 Jul 2015 15:20:46 -0500 From: Larry Rosenman <ler@lerctr.org> To: Glen Barber <gjb@freebsd.org> Cc: Benno Rice <benno@freebsd.org>, freebsd-current@freebsd.org, owner-freebsd-current@freebsd.org Subject: Re: pmspcv panic on boot on this box Message-ID: <ef34a26f9f5ba7ca413f79fd914c6b86@thebighonker.lerctr.org> In-Reply-To: <20150730201517.GI90754@FreeBSD.org> References: <20150728210109.GA6424@oldtbh.lerctr.org> <04E640B9-423C-4C30-BF90-D3DD148C930D@FreeBSD.org> <765D2BB8-F101-4D8C-BF1D-BB896904FB29@FreeBSD.org> <e510aec2b8d394cccf166ecabcad9785@thebighonker.lerctr.org> <20150730201351.GH90754@FreeBSD.org> <20150730201517.GI90754@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2015-07-30 15:15, Glen Barber wrote:
> 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
Kernel compiling -- give mr a bit and I'll boot it and make sure it
comes up.
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: ler@lerctr.org
US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef34a26f9f5ba7ca413f79fd914c6b86>
