[openib-general] OFED-1.1: *** stack smashing detected ***: opensm terminated

Hal Rosenstock halr at voltaire.com
Tue Nov 21 06:12:49 PST 2006


On Tue, 2006-11-21 at 09:00, Vladimir Sokolovsky wrote:
> Hal Rosenstock wrote:
> > On Mon, 2006-11-13 at 14:32, Tziporet Koren wrote:
> >   
> >> Hal Rosenstock wrote:
> >>     
> >>> Can you see if this fixes it ? Thanks.
> >>>  
> >>> -- Hal
> >>>  
> >>> Index: opensm/osm_helper.c
> >>> ===================================================================
> >>> --- opensm/osm_helper.c (revision 10089)
> >>> +++ opensm/osm_helper.c (working copy)
> >>> @@ -1264,7 +1264,7 @@
> >>>    IN const ib_service_record_t* const p_sr,
> >>>    IN const osm_log_level_t log_level )
> >>>  {
> >>> -  char buf_service_key[33];
> >>> +  char buf_service_key[35];
> >>>    char buf_service_name[65];
> >>>    if( osm_log_is_active( p_log, log_level ) )
> >>>
> >>>   
> >>>       
> >> Hal,
> >> If this patch does solve the problem please add it to the support page 
> >> of OFED 1.1 on the Wiki 
> >> (https://openib.org/tiki/tiki-index.php?page=OFED+Support)
> >>     
> >
> > So do I update the OpenSM sources, just run:
> > ofed_patch.sh --add -type user
> > or both for a given patch ? 
> >
> > -- Hal
> >
> >   
> Hal,
> You can update https://openib.org/tiki/tiki-index.php?page=OFED+Support
> page under "Known Issues:"
> In order to add patch to OFED-1.1:
> ./ofed_patch.sh --add --ofed /tmp/OFED-1.1/ --patch 
> /tmp/osm_helper.patch --type user

That appears to update the RPM and SRPM, right ?

Should the OFED 1.1 sources in the tree be updated as well ?

-- Hal

> Where osm_helper.patch:
> 
> Index: openib/src/userspace/management/osm/opensm/osm_helper.c
> ===================================================================
> --- openib/src/userspace/management/osm/opensm/osm_helper.c (revision 10089)
> +++ openib/src/userspace/management/osm/opensm/osm_helper.c (working copy)
> @@ -1264,7 +1264,7 @@
>    IN const ib_service_record_t* const p_sr,
>    IN const osm_log_level_t log_level )
>  {
> -  char buf_service_key[33];
> +  char buf_service_key[35];
>    char buf_service_name[65];
>    if( osm_log_is_active( p_log, log_level ) )
> 
> 
> Regards,
> Vladimir
> >> Thanks,
> >> Tziporet
> >>     
> >
> >
> > _______________________________________________
> > openib-general mailing list
> > openib-general at openib.org
> > http://openib.org/mailman/listinfo/openib-general
> >
> > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> >   
> 





More information about the general mailing list