Hello Is there anybody who uses o2cb stack with mixed kernels (2.6.37 or more and less than 2.6.37)? I looks like locking protocol version problem (2.6.37 has 1.1. dlm protocol). Is there any patch for this? Thanks and Regards Jack -- Niniejsza wiadomo?? pochodzi z domeny @agora.pl, nale??cej do Grupy Kapita?owej Agory. G??wne sp??ki wchodz?ce w sk?ad Grupy Kapita?owej Agory to: Agora SA, ul. Czerska 8/10, 00-732 Warszawa; Numer identyfikacji podatkowej: PL 526-030-56-44; Miejsce zarejestrowania: S?d Rejonowy dla m. st. Warszawy: Numer rejestru KRS: 59944; Kapita? zak?adowy: 50.937.386 z?, wp?acony w ca?o?ci. Agora - Poligrafia Sp. z o.o., ul. Towarowa 4, 43-110 Tychy; Numer identyfikacji podatkowej: PL 646-20-72-095; Miejsce zarejestrowania: S?d Rejonowy w Katowicach Numer rejestru KRS: 72481; Kapita? zak?adowy: 1.000.000,00 z?. Grupa Radiowa Agory Sp. z o.o., ul. Czerska 8/10, 00-732 Warszawa; Numer identyfikacji podatkowej: PL 521-289-70-03; Miejsce zarejestrowania: S?d Rejonowy dla m. st. Warszawy Numer rejestru KRS: 126767; Kapita? zak?adowy: 25.019.500,00 z?. Wi?cej informacji o sp??kach na stronie: www.agora.pl Wiadomo?? jest przeznaczona wy??cznie dla zamierzonego adresata i mo?e zawiera? informacje o charakterze poufnym. W razie stwierdzenia, ?e odbiorc? mia?a by? inna osoba prosimy poinformowa? nadawc? oraz niezw?ocznie usun?? wiadomo??. Wiadomo?? mo?e nie stanowi? oficjalnego stanowiska sp??ki Agora SA i nie by? zwi?zana z jej dzia?alno?ci?. ------------ This message was sent from domain @agora.pl belonging to Agora Group. Principal companies in the Agora Group structure are: Agora SA, ul. Czerska 8/10, 00-732 Warszawa; Polish VAT and tax ID no.: PL 526-030-56-44; Place of registration: Regional Court for the Capital City of Warsaw; Registration no.: 59944; Share capital: PLN 50.937.386, fully paid-up. Agora - Poligrafia Sp. z o.o., ul. Towarowa 4, 43-110 Tychy; Polish VAT and tax ID no.: PL 646-20-72-095; Place of registration: Regional Court in Katowice; Registration no.: 72481; Share capital: PLN 1.000.000,00. Grupa Radiowa Agory Sp. z o.o., ul. Czerska 8/10, 00-732 Warszawa; Polish VAT and tax ID no.: PL 521-289-70-03; Place of registration: Regional Court for the Capital City of Warsaw; Registration no.: 126767; Share capital: PLN 25.019.500,00. For more information about our companies see site: www.agora.pl This message is for the intended recipient only and it may contain confidential information. If you receive this message in error, please immediately delete it and notify the sender. This message may not represent the official views of Agora SA and may not be related to its business.
What problem are you encountering? That protocol change is backward compatible. Atleast was in our testing. On Apr 4, 2011, at 6:20 AM, Jacek St?pniewski <Jacek.Stepniewski at agora.pl> wrote:> Hello > > Is there anybody who uses o2cb stack with mixed kernels (2.6.37 or more and less than 2.6.37)? > I looks like locking protocol version problem (2.6.37 has 1.1. dlm protocol). > Is there any patch for this? > > Thanks and Regards > > Jack > -- > Niniejsza wiadomo?? pochodzi z domeny @agora.pl, nale??cej do Grupy > Kapita?owej Agory. G??wne sp??ki wchodz?ce w sk?ad Grupy Kapita?owej > Agory to: > > Agora SA, ul. Czerska 8/10, 00-732 Warszawa; Numer identyfikacji > podatkowej: PL 526-030-56-44; Miejsce zarejestrowania: S?d Rejonowy dla > m. st. Warszawy: Numer rejestru KRS: 59944; Kapita? zak?adowy: > 50.937.386 z?, wp?acony w ca?o?ci. > > Agora - Poligrafia Sp. z o.o., ul. Towarowa 4, 43-110 Tychy; Numer > identyfikacji podatkowej: PL 646-20-72-095; Miejsce zarejestrowania: S?d > Rejonowy w Katowicach Numer rejestru KRS: 72481; Kapita? zak?adowy: > 1.000.000,00 z?. > > Grupa Radiowa Agory Sp. z o.o., ul. Czerska 8/10, 00-732 Warszawa; Numer > identyfikacji podatkowej: PL 521-289-70-03; Miejsce zarejestrowania: S?d > Rejonowy dla m. st. Warszawy Numer rejestru KRS: 126767; Kapita? > zak?adowy: 25.019.500,00 z?. > > Wi?cej informacji o sp??kach na stronie: www.agora.pl Wiadomo?? jest > przeznaczona wy??cznie dla zamierzonego adresata i mo?e zawiera? > informacje o charakterze poufnym. W razie stwierdzenia, ?e odbiorc? > mia?a by? inna osoba prosimy poinformowa? nadawc? oraz niezw?ocznie > usun?? wiadomo??. Wiadomo?? mo?e nie stanowi? oficjalnego stanowiska > sp??ki Agora SA i nie by? zwi?zana z jej dzia?alno?ci?. > ------------ > This message was sent from domain @agora.pl belonging to Agora Group. > Principal companies in the Agora Group structure are: > > Agora SA, ul. Czerska 8/10, 00-732 Warszawa; Polish VAT and tax ID no.: > PL 526-030-56-44; Place of registration: Regional Court for the Capital > City of Warsaw; Registration no.: 59944; Share capital: PLN 50.937.386, > fully paid-up. > > Agora - Poligrafia Sp. z o.o., ul. Towarowa 4, 43-110 Tychy; Polish VAT > and tax ID no.: PL 646-20-72-095; Place of registration: Regional Court > in Katowice; Registration no.: 72481; Share capital: PLN 1.000.000,00. > > Grupa Radiowa Agory Sp. z o.o., ul. Czerska 8/10, 00-732 Warszawa; > Polish VAT and tax ID no.: PL 521-289-70-03; Place of registration: > Regional Court for the Capital City of Warsaw; Registration no.: 126767; > Share capital: PLN 25.019.500,00. > > For more information about our companies see site: www.agora.pl This > message is for the intended recipient only and it may contain > confidential information. If you receive this message in error, please > immediately delete it and notify the sender. This message may not > represent the official views of Agora SA and may not be related to its > business. > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users
On Mon, Apr 04, 2011 at 03:20:43PM +0200, Jacek St?pniewski wrote:> Is there anybody who uses o2cb stack with mixed kernels (2.6.37 or more and less than 2.6.37)? > I looks like locking protocol version problem (2.6.37 has 1.1. dlm protocol). > Is there any patch for this?The change is rolling upgrade compatible. If the first machine to mount is the newer one, the newer protocol is selected. If an older machine mounts first, the newer machines will join at the older protocol. Joel -- "Not everything that can be counted counts, and not everything that counts can be counted." - Albert Einstein http://www.jlbec.org/ jlbec at evilplan.org
At protocol negotiation 1.0 is selected (rest of nodes are pre 2.6.37 with dlm 1.0). But connecting node (with kernel >= 2.6.37) checks builtin version, not negotiated one. I have found this code in dlmdomain.c:1615 (function: dlm_try_to_join_domain) /* Support for global heartbeat and node info was added in 1.1 */ if (dlm_protocol.pv_major > 1 || dlm_protocol.pv_minor > 0) { status = dlm_send_nodeinfo(dlm, ctxt->yes_resp_map); dlm_protocol is not changed during negotiation I think here should be dlm->dlm_locking_proto instead dlm_protocol This leads to sending unknown message type DLM_QUERY_NODEINFO (unknown for protocol 1.0): (mount.ocfs2,10247,3):dlm_send_nodeinfo:1235 ERROR: node mismatch -92, node 3 (mount.ocfs2,10247,3):dlm_try_to_join_domain:1618 ERROR: status = -92 (mount.ocfs2,10247,3):dlm_join_domain:1879 ERROR: status = -92 This code exists (in git) up to 2.6.39-rc1 ----- Oryginalna wiadomo?? ----- Od: "Sunil Mushran" <sunil.mushran at oracle.com> Do: "Jacek St?pniewski" <Jacek.Stepniewski at agora.pl> DW: ocfs2-users at oss.oracle.com Wys?ane: poniedzia?ek, 4 kwiecie? 2011 15:33:49 Temat: Re: [Ocfs2-users] o2cb stack and kernel >= 2.6.37 -- Niniejsza wiadomo?? pochodzi z domeny @agora.pl, nale??cej do Grupy Kapita?owej Agory. G??wne sp??ki wchodz?ce w sk?ad Grupy Kapita?owej Agory to: Agora SA, ul. Czerska 8/10, 00-732 Warszawa; Numer identyfikacji podatkowej: PL 526-030-56-44; Miejsce zarejestrowania: S?d Rejonowy dla m. st. Warszawy: Numer rejestru KRS: 59944; Kapita? zak?adowy: 50.937.386 z?, wp?acony w ca?o?ci. Agora - Poligrafia Sp. z o.o., ul. Towarowa 4, 43-110 Tychy; Numer identyfikacji podatkowej: PL 646-20-72-095; Miejsce zarejestrowania: S?d Rejonowy w Katowicach Numer rejestru KRS: 72481; Kapita? zak?adowy: 1.000.000,00 z?. Grupa Radiowa Agory Sp. z o.o., ul. Czerska 8/10, 00-732 Warszawa; Numer identyfikacji podatkowej: PL 521-289-70-03; Miejsce zarejestrowania: S?d Rejonowy dla m. st. Warszawy Numer rejestru KRS: 126767; Kapita? zak?adowy: 25.019.500,00 z?. Wi?cej informacji o sp??kach na stronie: www.agora.pl Wiadomo?? jest przeznaczona wy??cznie dla zamierzonego adresata i mo?e zawiera? informacje o charakterze poufnym. W razie stwierdzenia, ?e odbiorc? mia?a by? inna osoba prosimy poinformowa? nadawc? oraz niezw?ocznie usun?? wiadomo??. Wiadomo?? mo?e nie stanowi? oficjalnego stanowiska sp??ki Agora SA i nie by? zwi?zana z jej dzia?alno?ci?. ------------ This message was sent from domain @agora.pl belonging to Agora Group. Principal companies in the Agora Group structure are: Agora SA, ul. Czerska 8/10, 00-732 Warszawa; Polish VAT and tax ID no.: PL 526-030-56-44; Place of registration: Regional Court for the Capital City of Warsaw; Registration no.: 59944; Share capital: PLN 50.937.386, fully paid-up. Agora - Poligrafia Sp. z o.o., ul. Towarowa 4, 43-110 Tychy; Polish VAT and tax ID no.: PL 646-20-72-095; Place of registration: Regional Court in Katowice; Registration no.: 72481; Share capital: PLN 1.000.000,00. Grupa Radiowa Agory Sp. z o.o., ul. Czerska 8/10, 00-732 Warszawa; Polish VAT and tax ID no.: PL 521-289-70-03; Place of registration: Regional Court for the Capital City of Warsaw; Registration no.: 126767; Share capital: PLN 25.019.500,00. For more information about our companies see site: www.agora.pl This message is for the intended recipient only and it may contain confidential information. If you receive this message in error, please immediately delete it and notify the sender. This message may not represent the official views of Agora SA and may not be related to its business.
On 04/04/2011 10:08 AM, Jacek St?pniewski wrote:> At protocol negotiation 1.0 is selected (rest of nodes are pre 2.6.37 with dlm 1.0). > But connecting node (with kernel>= 2.6.37) checks builtin version, not negotiated one. > I have found this code in dlmdomain.c:1615 (function: dlm_try_to_join_domain) > > /* Support for global heartbeat and node info was added in 1.1 */ > if (dlm_protocol.pv_major> 1 || dlm_protocol.pv_minor> 0) { > status = dlm_send_nodeinfo(dlm, ctxt->yes_resp_map); > > dlm_protocol is not changed during negotiation > I think here should be dlm->dlm_locking_proto instead dlm_protocol > > This leads to sending unknown message type DLM_QUERY_NODEINFO (unknown for protocol 1.0): > > (mount.ocfs2,10247,3):dlm_send_nodeinfo:1235 ERROR: node mismatch -92, node 3 > (mount.ocfs2,10247,3):dlm_try_to_join_domain:1618 ERROR: status = -92 > (mount.ocfs2,10247,3):dlm_join_domain:1879 ERROR: status = -92 > > This code exists (in git) up to 2.6.39-rc1oops. You are correct. If you want, you can send in a patch fix. Else, I can do it later today. Send it to ocfs2-devel at oss.oracle.com.