Date: Thu, 30 Jul 2015 15:09:30 -0500 From: Larry Rosenman <ler@lerctr.org> To: Benno Rice <benno@freebsd.org> Cc: freebsd-current@freebsd.org, owner-freebsd-current@freebsd.org Subject: Re: pmspcv panic on boot on this box Message-ID: <e510aec2b8d394cccf166ecabcad9785@thebighonker.lerctr.org> In-Reply-To: <765D2BB8-F101-4D8C-BF1D-BB896904FB29@FreeBSD.org> References: <20150728210109.GA6424@oldtbh.lerctr.org> <04E640B9-423C-4C30-BF90-D3DD148C930D@FreeBSD.org> <765D2BB8-F101-4D8C-BF1D-BB896904FB29@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
$ 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 u_int16_t agtiapi_dev; // PCI device ID^M + u_int16_t agtiapi_vendor; // PCI vendor ID^M AGTIAPI_PRINTK("agtiapi_ProbeCard: start\n");^M ^M if ( ! atomic_cmpset_32( &cardMap[thisCard], 0, 5 ) ) { // card already ran^M @@ -766,10 +767,12 @@ }^M else {^M agtiapi_dev = pci_get_device( dev ); // get PCI device ID^M + agtiapi_vendor = pci_get_vendor( dev ); // get PCI vendor ID^M for( idx = 0; idx < COUNT(ag_card_type); idx++ ) ^M {^M - if( ag_card_type[idx].deviceId == agtiapi_dev ) ^M - { // device ID match^M + if( ag_card_type[idx].deviceId == agtiapi_dev &&^M + ag_card_type[idx].vendorId == agtiapi_vendor ) ^M + { // device and vendor IDs match^M memset( (void *)&agCardInfoList[ thisCard ], 0,^M sizeof(ag_card_info_t) );^M thisCardInst->cardIdIndex = idx;^M ~ :q # Not good :( On 2015-07-30 15:05, Benno Rice wrote: > Can you try the attached patch and let me know if it fixes the issue? > > Many thanks, > Benno. > > > > >> On Jul 30, 2015, at 11:55 AM, Benno Rice <benno@freebsd.org> wrote: >> >> 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 <ler@lerctr.org> wrote: >>> >>> 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 >>> >>> nodevice pmspcv >>> >>> Allowed me to boot. >>> >>> Dmesg.boot from the WORKING system attached. >>> >>> I *CAN* work with someone if they want. >>> >>> >>> <dmesg.boot>_______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to >>> "freebsd-current-unsubscribe@freebsd.org" >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" -- 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?e510aec2b8d394cccf166ecabcad9785>