Re: pmspcv panic on boot on this box

2015-08-04 Thread Warner Losh
> On Aug 4, 2015, at 6:13 PM, Glen Barber wrote: > > On Mon, Aug 03, 2015 at 12:10:57PM -0500, Larry Rosenman wrote: >> Just to close this out, current -HEAD is fine on this box with >> pmspcv in GENERIC, and using that as my base. No nasty pmspcv messages. >> > > Sorry for the delayed reply.

Re: pmspcv panic on boot on this box

2015-08-04 Thread Larry Rosenman
On 2015-08-04 19:13, Glen Barber wrote: On Mon, Aug 03, 2015 at 12:10:57PM -0500, Larry Rosenman wrote: Just to close this out, current -HEAD is fine on this box with pmspcv in GENERIC, and using that as my base. No nasty pmspcv messages. Sorry for the delayed reply. Again, Larry, thank y

Re: pmspcv panic on boot on this box

2015-08-04 Thread Glen Barber
On Mon, Aug 03, 2015 at 12:10:57PM -0500, Larry Rosenman wrote: > Just to close this out, current -HEAD is fine on this box with > pmspcv in GENERIC, and using that as my base. No nasty pmspcv messages. > Sorry for the delayed reply. Again, Larry, thank you for your help with this - you very l

Re: pmspcv panic on boot on this box

2015-08-03 Thread Larry Rosenman
Just to close this out, current -HEAD is fine on this box with pmspcv in GENERIC, and using that as my base. No nasty pmspcv messages. Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of C

Re: pmspcv panic on boot on this box

2015-07-31 Thread Glen Barber
On Sat, Aug 01, 2015 at 04:34:14PM +1200, mailinglists wrote: > On 1/08/15 4:26 pm, Glen Barber wrote: > > On Sat, Aug 01, 2015 at 04:24:26PM +1200, mailinglists wrote: > >> On 31/07/15 4:52 pm, Glen Barber wrote: > >>> So, to be clear, you have 'device pmsdrv' removed from the kernel > >>> config,

Re: pmspcv panic on boot on this box

2015-07-31 Thread mailinglists
On 1/08/15 4:26 pm, Glen Barber wrote: > On Sat, Aug 01, 2015 at 04:24:26PM +1200, mailinglists wrote: >> On 31/07/15 4:52 pm, Glen Barber wrote: >>> So, to be clear, you have 'device pmsdrv' removed from the kernel >>> config, but the /boot/kernel/pmspcv.ko is still available to the system? >>> >>

Re: pmspcv panic on boot on this box

2015-07-31 Thread Glen Barber
On Sat, Aug 01, 2015 at 04:24:26PM +1200, mailinglists wrote: > On 31/07/15 4:52 pm, Glen Barber wrote: > > So, to be clear, you have 'device pmsdrv' removed from the kernel > > config, but the /boot/kernel/pmspcv.ko is still available to the system? > > > > I removed the module from /boot/kernel

Re: pmspcv panic on boot on this box

2015-07-31 Thread mailinglists
On 31/07/15 4:52 pm, Glen Barber wrote: > On Fri, Jul 31, 2015 at 04:48:18AM +, mailingli...@debank.tv wrote: >> July 31 2015 4:21 PM, "Glen Barber" wrote: >>> On Fri, Jul 31, 2015 at 04:18:15AM +, Glen Barber wrote: >>> On Thu, Jul 30, 2015 at 06:57:05PM -0500, Larry Rosenman wrote:

Re: pmspcv panic on boot on this box

2015-07-31 Thread Warner Losh
> On Jul 31, 2015, at 3:32 PM, Glen Barber wrote: > > On Fri, Jul 31, 2015 at 03:11:15PM -0600, Warner Losh wrote: >> >>> On Jul 31, 2015, at 2:46 PM, Larry Rosenman wrote: >>> >>> On 2015-07-31 15:44, Glen Barber wrote: On Fri, Jul 31, 2015 at 03:41:37PM -0500, Larry Rosenman wrote: >>>

Re: pmspcv panic on boot on this box

2015-07-31 Thread Glen Barber
On Fri, Jul 31, 2015 at 03:11:15PM -0600, Warner Losh wrote: > > > On Jul 31, 2015, at 2:46 PM, Larry Rosenman wrote: > > > > On 2015-07-31 15:44, Glen Barber wrote: > >> On Fri, Jul 31, 2015 at 03:41:37PM -0500, Larry Rosenman wrote: > >>> We have a winner -- rebuilt with just this patch, and G

Re: pmspcv panic on boot on this box

2015-07-31 Thread Warner Losh
> On Jul 31, 2015, at 2:46 PM, Larry Rosenman wrote: > > On 2015-07-31 15:44, Glen Barber wrote: >> On Fri, Jul 31, 2015 at 03:41:37PM -0500, Larry Rosenman wrote: >>> We have a winner -- rebuilt with just this patch, and GENERIC with pmspcv, >>> and we boot. >> Larry, thank you so much for your

Re: pmspcv panic on boot on this box

2015-07-31 Thread Larry Rosenman
On 2015-07-31 15:44, Glen Barber wrote: On Fri, Jul 31, 2015 at 03:41:37PM -0500, Larry Rosenman wrote: We have a winner -- rebuilt with just this patch, and GENERIC with pmspcv, and we boot. Larry, thank you so much for your willingness to test this. It is greatly appreciated. Glen Absolu

Re: pmspcv panic on boot on this box

2015-07-31 Thread Glen Barber
On Fri, Jul 31, 2015 at 03:41:37PM -0500, Larry Rosenman wrote: > We have a winner -- rebuilt with just this patch, and GENERIC with pmspcv, > and we boot. > Larry, thank you so much for your willingness to test this. It is greatly appreciated. Glen pgpxqgmxk674m.pgp Description: PGP signat

Re: pmspcv panic on boot on this box

2015-07-31 Thread Larry Rosenman
We have a winner -- rebuilt with just this patch, and GENERIC with pmspcv, and we boot. On Fri, Jul 31, 2015 at 12:03:27PM -0600, Warner Losh wrote: > It replaces it. > > Or you could just add the #if 0 bits to remove the atomic_cmpset_32 from the > picture entirely. > > All this state saving

Re: pmspcv panic on boot on this box

2015-07-31 Thread Larry Rosenman
I'll try it when I get back to Austin tomorrow. On July 31, 2015 1:03:43 PM Warner Losh wrote: It replaces it. Or you could just add the #if 0 bits to remove the atomic_cmpset_32 from the picture entirely. All this state saving should be done in attach anyway, so it is mis-located here…

Re: pmspcv panic on boot on this box

2015-07-31 Thread Warner Losh
It replaces it. Or you could just add the #if 0 bits to remove the atomic_cmpset_32 from the picture entirely. All this state saving should be done in attach anyway, so it is mis-located here… But the current patch will tell me if my theory of the crime is correct and offer a path forward...

Re: pmspcv panic on boot on this box

2015-07-31 Thread Larry Rosenman
Is this with or without Benno's patch? On July 31, 2015 12:24:11 PM Warner Losh wrote: Try the following patch. There’s a fundamental misunderstanding of newbus that’s screwing things up… Also available at http://people.freebsd.org/~imp/patch-queue/pms The problem is that the first time th

Re: pmspcv panic on boot on this box

2015-07-31 Thread Warner Losh
Try the following patch. There’s a fundamental misunderstanding of newbus that’s screwing things up… Also available at http://people.freebsd.org/~imp/patch-queue/pms The problem is that the first time through for ahd0 we’re setting cardMap[0] to 5. The second time through it is already 5, so w

Re: pmspcv panic on boot on this box

2015-07-31 Thread Glen Barber
I'm getting ready to commit to head and stable/10 now, and will also update releng/10.2 and restart the -RC2 builds with the change. Glen On Fri, Jul 31, 2015 at 09:41:39AM -0500, Larry Rosenman wrote: > Please do pull it from GENERIC until this is fixed in HEAD and RELENG/10. > > > On July 31

Re: pmspcv panic on boot on this box

2015-07-31 Thread Larry Rosenman
Please do pull it from GENERIC until this is fixed in HEAD and RELENG/10. On July 31, 2015 8:32:17 AM Glen Barber wrote: On Fri, Jul 31, 2015 at 05:27:22AM -0500, Larry Rosenman wrote: > Ok, I made a GENERIC-NOPMS, without the device pmspcv, and adjusted my custom > to include GENERIC-NOPMS.

Re: pmspcv panic on boot on this box

2015-07-31 Thread Glen Barber
On Fri, Jul 31, 2015 at 05:27:22AM -0500, Larry Rosenman wrote: > Ok, I made a GENERIC-NOPMS, without the device pmspcv, and adjusted my custom > to include GENERIC-NOPMS. And we boot (I'm typing this from a ssh session > to the box). > Larry, thank you very much for testing this. Benno, for

Re: pmspcv panic on boot on this box

2015-07-31 Thread Larry Rosenman
On Fri, Jul 31, 2015 at 06:50:16AM +, Glen Barber wrote: > On Fri, Jul 31, 2015 at 01:33:32AM -0500, Larry Rosenman wrote: > > On 2015-07-30 23:21, Glen Barber wrote: > > >On Fri, Jul 31, 2015 at 04:18:15AM +, Glen Barber wrote: > > >>On Thu, Jul 30, 2015 at 06:57:05PM -0500, Larry Rosenman

Re: pmspcv panic on boot on this box

2015-07-30 Thread Glen Barber
On Fri, Jul 31, 2015 at 01:33:32AM -0500, Larry Rosenman wrote: > On 2015-07-30 23:21, Glen Barber wrote: > >On Fri, Jul 31, 2015 at 04:18:15AM +, Glen Barber wrote: > >>On Thu, Jul 30, 2015 at 06:57:05PM -0500, Larry Rosenman wrote: > >>> On 2015-07-30 17:17, Glen Barber wrote: > >>> >On Thu,

Re: pmspcv panic on boot on this box

2015-07-30 Thread Larry Rosenman
On 2015-07-30 23:21, Glen Barber wrote: On Fri, Jul 31, 2015 at 04:18:15AM +, Glen Barber wrote: On Thu, Jul 30, 2015 at 06:57:05PM -0500, Larry Rosenman wrote: > On 2015-07-30 17:17, Glen Barber wrote: > >On Thu, Jul 30, 2015 at 03:20:46PM -0500, Larry Rosenman wrote: > >>Kernel compiling -

Re: pmspcv panic on boot on this box

2015-07-30 Thread Glen Barber
On Fri, Jul 31, 2015 at 04:48:18AM +, mailingli...@debank.tv wrote: > July 31 2015 4:21 PM, "Glen Barber" wrote: > > On Fri, Jul 31, 2015 at 04:18:15AM +, Glen Barber wrote: > > > >> On Thu, Jul 30, 2015 at 06:57:05PM -0500, Larry Rosenman wrote: > >>> On 2015-07-30 17:17, Glen Barber wro

Re: pmspcv panic on boot on this box

2015-07-30 Thread mailinglists
July 31 2015 4:21 PM, "Glen Barber" wrote: > On Fri, Jul 31, 2015 at 04:18:15AM +, Glen Barber wrote: > >> On Thu, Jul 30, 2015 at 06:57:05PM -0500, Larry Rosenman wrote: >>> On 2015-07-30 17:17, Glen Barber wrote: On Thu, Jul 30, 2015 at 03:20:46PM -0500, Larry Rosenman wrote: > Ker

Re: pmspcv panic on boot on this box

2015-07-30 Thread Glen Barber
On Fri, Jul 31, 2015 at 04:18:15AM +, Glen Barber wrote: > On Thu, Jul 30, 2015 at 06:57:05PM -0500, Larry Rosenman wrote: > > On 2015-07-30 17:17, Glen Barber wrote: > > >On Thu, Jul 30, 2015 at 03:20:46PM -0500, Larry Rosenman wrote: > > >>Kernel compiling -- give mr a bit and I'll boot it an

Re: pmspcv panic on boot on this box

2015-07-30 Thread Glen Barber
On Thu, Jul 30, 2015 at 06:57:05PM -0500, Larry Rosenman wrote: > On 2015-07-30 17:17, Glen Barber wrote: > >On Thu, Jul 30, 2015 at 03:20:46PM -0500, Larry Rosenman wrote: > >>Kernel compiling -- give mr a bit and I'll boot it and make sure it > >>comes > >>up. > >> > > > >Larry, have you had any

Re: pmspcv panic on boot on this box

2015-07-30 Thread Larry Rosenman
On 2015-07-30 17:17, Glen Barber wrote: On Thu, Jul 30, 2015 at 03:20:46PM -0500, Larry Rosenman wrote: Kernel compiling -- give mr a bit and I'll boot it and make sure it comes up. Larry, have you had any luck with this patch applied? If it resolves your issue, I want to make sure it is in

Re: pmspcv panic on boot on this box

2015-07-30 Thread Glen Barber
On Thu, Jul 30, 2015 at 03:20:46PM -0500, Larry Rosenman wrote: > Kernel compiling -- give mr a bit and I'll boot it and make sure it comes > up. > Larry, have you had any luck with this patch applied? If it resolves your issue, I want to make sure it is included in the 10.2-RC2 build. Thanks.

Re: pmspcv panic on boot on this box

2015-07-30 Thread Larry Rosenman
On 2015-07-30 15:15, Glen Barber wrote: On Thu, Jul 30, 2015 at 08:13:51PM +, 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 le

Re: pmspcv panic on boot on this box

2015-07-30 Thread Glen Barber
On Thu, Jul 30, 2015 at 08:13:51PM +, 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: > > ---

Re: pmspcv panic on boot on this box

2015-07-30 Thread Glen Barber
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

Re: pmspcv panic on boot on this box

2015-07-30 Thread Larry Rosenman
$ 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/d

Re: pmspcv panic on boot on this box

2015-07-30 Thread Benno Rice
Can you try the attached patch and let me know if it fixes the issue? Many thanks, Benno. pmspcv.diff Description: Binary data > On Jul 30, 2015, at 11:55 AM, Benno Rice wrote: > > Hi Larry, > > I’ve brought this to the attention of PMC Sierra and we’re pretty sure we’ve > worked

Re: pmspcv panic on boot on this box

2015-07-30 Thread Benno Rice
Hi Larry, I’ve brought this to the attention of PMC Sierra and we’re pretty sure we’ve worked out what the problem is. I’m just waiting on their review of the fix I’ve suggested. Sorry this has caused you problems. Many apologies, Benno. > On Jul 28, 2015, at 2:01 PM, Larry Rosenman

pmspcv panic on boot on this box

2015-07-28 Thread Larry Rosenman
When I upgraded an approximately 3 month old -CURRENT system to yesterday, I got page not present panics, after a message about pmspcv not supporting my ahd(4) deviceid. I did NOT capture the panic, but adding nodevicepmspcv Allowed me to boot. Dmesg.boot from the WORKING system atta