pavlos
2020-May-05 20:32 UTC
[Samba] Win7 clients problem after upgrading samba file server to 4.12 on Arch
Hi Andrew et al, Now is the time to come back to my leisure... Preparing the environment to the 'git bisect' surgery: - Got a clone of the last VM with 4.12.2 installed from https://download.samba.org/pub/samba/samba-latest.tar.gz - Stopped smb/nmb services and uninstalled 'sudo make uninstall' within the directory 4.12.2. - Got the current master with 'git clone https://gitlab.com/samba-team/samba/' - it's version is 4.13.0pre1. - From inside the directory: './confugure', 'make' and 'sudo make install'. No issues. - Started smb/nmb services. No issues, as all configuration was adapted to different directories layout and missing packages installed during previous attempt. - # smbstatus --version Version 4.13.0pre1-GIT-f80c97cb8da Stubborn problems with multiple Win7 clients do persist, unfortunately. Now we have to move backwards till the last commit when it was working properly. We already know that 4.12.x is hopeless and we have to find last working commit within 4.11.x branch. For instance, the 4.11.3 - the last provided by Arch packagers - was working. But there were many other patches published by samba, the current one is 4.11.9. Would it be possible to perform 'git bisect' between different branches? Please give me some instructions as I am new in this school :) Regards, Pawel. wt., 5 maj 2020 o 11:50 Andrew Bartlett <abartlet at samba.org> napisa?(a):> On Tue, 2020-05-05 at 11:08 +0200, pavlos wrote: > > My plans are as follows, step by step: > > - clone the VM, clean and build the newest from gitlab, I can see it > > is 4.13.0pre1 > > - clone the VM. clean and build the latest supported 4.11.8 > > - create a new fresh VM with another distro, not Arch or Arch-based, > > build the official 4.12.2 - to check/confirm that it is not distro- > > related > > Thanks. Even if it is distro-related, the bisect between the two > versions will be helpful. > > Andrew Bartlett > > > I will start playing in couple of hours, now I am at work... > > > > Pawel. > > > > wt., 5 maj 2020 o 03:33 Andrew Bartlett <abartlet at samba.org> > > napisa?(a): > > > On Tue, 2020-05-05 at 03:05 +0200, pavlos wrote: > > > > @Andrew > > > > Unfortunately I didn't make notes on exact time of errors when > > > doing > > > > my tests... > > > > > > > > But, I've spend last couple of hours on building samba from > > > master: > > > > Have made a clone of the virtual machine, with new name and > > > network > > > > interface mac address, and a new dynamic IP assigned by my > > > router. > > > > Uninstalled Arch packages: samba, smbclient and cifs-tools > > > (depending > > > > on smbclient) > > > > As 'ala' downloaded > > > > https://download.samba.org/pub/samba/samba-latest.tar.gz and > > > unpacked > > > > it, obtaining 'samba-4.12.2' directory > > > > > > Thanks. This gives you Samba 4.12.2. However our development > > > branch, > > > master is newer. Could you try that? > > > > > > git clone https://gitlab.com/samba-team/samba/ > > > > > > That can be downloaded from > > > > https://gitlab.com/samba-team/samba/-/archive/master/samba-master.tar.bz2 > > > > > > but if you use git, then you can really help us with the bisect. > > > > > > But the rest of your steps look good. > > > > > > The next step, assuming master still fails, is to do a bisect. > > > http://webchick.net/node/99 > > > > > > You may need to run 'git clean -x -f -d' between steps. > > > > > > This will be slow, particularly as you can't automate it (need test > > > with the client), but it is a very good way to find what the issue > > > is. > > > > > > Thanks, > > > > > > Andrew Bartlett > > > > -- > Andrew Bartlett https://samba.org/~abartlet/ > Authentication Developer, Samba Team https://samba.org > Samba Developer, Catalyst IT > https://catalyst.net.nz/services/samba > > > >
Andrew Bartlett
2020-May-05 21:28 UTC
[Samba] Win7 clients problem after upgrading samba file server to 4.12 on Arch
On Tue, 2020-05-05 at 22:32 +0200, pavlos wrote:> Hi Andrew et al, > > Now is the time to come back to my leisure... > > Preparing the environment to the 'git bisect' surgery: > Got a clone of the last VM with 4.12.2 installed from > https://download.samba.org/pub/samba/samba-latest.tar.gz > Stopped smb/nmb services and uninstalled 'sudo make uninstall' within > the directory 4.12.2. > Got the current master with 'git clone > https://gitlab.com/samba-team/samba/' - it's version is 4.13.0pre1. > From inside the directory: './confugure', 'make' and 'sudo make > install'. No issues. > Started smb/nmb services. No issues, as all configuration was adapted > to different directories layout and missing packages installed during > previous attempt. > # smbstatus --version > Version 4.13.0pre1-GIT-f80c97cb8da > Stubborn problems with multiple Win7 clients do persist, > unfortunately. > > Now we have to move backwards till the last commit when it was > working properly. > We already know that 4.12.x is hopeless and we have to find last > working commit within 4.11.x branch. > For instance, the 4.11.3 - the last provided by Arch packagers - was > working. > But there were many other patches published by samba, the current one > is 4.11.9. > > Would it be possible to perform 'git bisect' between different > branches?Yes, it can do that, in the git checkout. Because of the different branches it will do an extra at the point they diverge.> Please give me some instructions as I am new in this school :)git bisect good samba-4.11.2 (say yes to starting the bisect) git bisect bad samba-4.12.2 Then it will move to various points it needs to test, counting down the bisect revisions. Between each one, do a 'git clean -x -f -d && ./configure && make -j && sudo make install' Finally, first install ccache if you can, it will be much faster. Andrew Bartlett> Regards, Pawel. > > wt., 5 maj 2020 o 11:50 Andrew Bartlett <abartlet at samba.org> > napisa?(a): > > On Tue, 2020-05-05 at 11:08 +0200, pavlos wrote: > > > My plans are as follows, step by step: > > > - clone the VM, clean and build the newest from gitlab, I can see > > it > > > is 4.13.0pre1 > > > - clone the VM. clean and build the latest supported 4.11.8 > > > - create a new fresh VM with another distro, not Arch or Arch- > > based, > > > build the official 4.12.2 - to check/confirm that it is not > > distro- > > > related > > > > Thanks. Even if it is distro-related, the bisect between the two > > versions will be helpful. > > > > Andrew Bartlett > > > > > I will start playing in couple of hours, now I am at work... > > > > > > Pawel. > > > > > > wt., 5 maj 2020 o 03:33 Andrew Bartlett <abartlet at samba.org> > > > napisa?(a): > > > > On Tue, 2020-05-05 at 03:05 +0200, pavlos wrote: > > > > > @Andrew > > > > > Unfortunately I didn't make notes on exact time of errors > > when > > > > doing > > > > > my tests... > > > > > > > > > > But, I've spend last couple of hours on building samba from > > > > master: > > > > > Have made a clone of the virtual machine, with new name and > > > > network > > > > > interface mac address, and a new dynamic IP assigned by my > > > > router. > > > > > Uninstalled Arch packages: samba, smbclient and cifs-tools > > > > (depending > > > > > on smbclient) > > > > > As 'ala' downloaded > > > > > https://download.samba.org/pub/samba/samba-latest.tar.gz and > > > > unpacked > > > > > it, obtaining 'samba-4.12.2' directory > > > > > > > > Thanks. This gives you Samba 4.12.2. However our development > > > > branch, > > > > master is newer. Could you try that? > > > > > > > > git clone https://gitlab.com/samba-team/samba/ > > > > > > > > That can be downloaded from > > > > > >https://gitlab.com/samba-team/samba/-/archive/master/samba-master.tar.bz2> > > > > > > > but if you use git, then you can really help us with the > > bisect. > > > > > > > > But the rest of your steps look good. > > > > > > > > The next step, assuming master still fails, is to do a bisect. > > > > http://webchick.net/node/99 > > > > > > > > You may need to run 'git clean -x -f -d' between steps. > > > > > > > > This will be slow, particularly as you can't automate it (need > > test > > > > with the client), but it is a very good way to find what the > > issue > > > > is. > > > > > > > > Thanks, > > > > > > > > Andrew Bartlett > > > >-- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Developer, Catalyst IT https://catalyst.net.nz/services/samba
pavlos
2020-May-05 21:43 UTC
[Samba] Win7 clients problem after upgrading samba file server to 4.12 on Arch
'git checkout' in your first sentence- please be more detailed. And please remember where I start - I am just after 'git clone' and build of 4.13.x Pawel wt., 5 maj 2020 o 23:28 Andrew Bartlett <abartlet at samba.org> napisa?(a):> On Tue, 2020-05-05 at 22:32 +0200, pavlos wrote: > > Hi Andrew et al, > > > > Now is the time to come back to my leisure... > > > > Preparing the environment to the 'git bisect' surgery: > > Got a clone of the last VM with 4.12.2 installed from > > https://download.samba.org/pub/samba/samba-latest.tar.gz > > Stopped smb/nmb services and uninstalled 'sudo make uninstall' within > > the directory 4.12.2. > > Got the current master with 'git clone > > https://gitlab.com/samba-team/samba/' - it's version is 4.13.0pre1. > > From inside the directory: './confugure', 'make' and 'sudo make > > install'. No issues. > > Started smb/nmb services. No issues, as all configuration was adapted > > to different directories layout and missing packages installed during > > previous attempt. > > # smbstatus --version > > Version 4.13.0pre1-GIT-f80c97cb8da > > Stubborn problems with multiple Win7 clients do persist, > > unfortunately. > > > > Now we have to move backwards till the last commit when it was > > working properly. > > We already know that 4.12.x is hopeless and we have to find last > > working commit within 4.11.x branch. > > For instance, the 4.11.3 - the last provided by Arch packagers - was > > working. > > But there were many other patches published by samba, the current one > > is 4.11.9. > > > > Would it be possible to perform 'git bisect' between different > > branches? > > Yes, it can do that, in the git checkout. Because of the different > branches it will do an extra at the point they diverge. > > > Please give me some instructions as I am new in this school :) > > git bisect good samba-4.11.2 > (say yes to starting the bisect) > git bisect bad samba-4.12.2 > > Then it will move to various points it needs to test, counting down the > bisect revisions. > > Between each one, do a 'git clean -x -f -d && ./configure && make -j && > sudo make install' > > Finally, first install ccache if you can, it will be much faster. > > Andrew Bartlett > > > Regards, Pawel. > > > > wt., 5 maj 2020 o 11:50 Andrew Bartlett <abartlet at samba.org> > > napisa?(a): > > > On Tue, 2020-05-05 at 11:08 +0200, pavlos wrote: > > > > My plans are as follows, step by step: > > > > - clone the VM, clean and build the newest from gitlab, I can see > > > it > > > > is 4.13.0pre1 > > > > - clone the VM. clean and build the latest supported 4.11.8 > > > > - create a new fresh VM with another distro, not Arch or Arch- > > > based, > > > > build the official 4.12.2 - to check/confirm that it is not > > > distro- > > > > related > > > > > > Thanks. Even if it is distro-related, the bisect between the two > > > versions will be helpful. > > > > > > Andrew Bartlett > > > > > > > I will start playing in couple of hours, now I am at work... > > > > > > > > Pawel. > > > > > > > > wt., 5 maj 2020 o 03:33 Andrew Bartlett <abartlet at samba.org> > > > > napisa?(a): > > > > > On Tue, 2020-05-05 at 03:05 +0200, pavlos wrote: > > > > > > @Andrew > > > > > > Unfortunately I didn't make notes on exact time of errors > > > when > > > > > doing > > > > > > my tests... > > > > > > > > > > > > But, I've spend last couple of hours on building samba from > > > > > master: > > > > > > Have made a clone of the virtual machine, with new name and > > > > > network > > > > > > interface mac address, and a new dynamic IP assigned by my > > > > > router. > > > > > > Uninstalled Arch packages: samba, smbclient and cifs-tools > > > > > (depending > > > > > > on smbclient) > > > > > > As 'ala' downloaded > > > > > > https://download.samba.org/pub/samba/samba-latest.tar.gz and > > > > > unpacked > > > > > > it, obtaining 'samba-4.12.2' directory > > > > > > > > > > Thanks. This gives you Samba 4.12.2. However our development > > > > > branch, > > > > > master is newer. Could you try that? > > > > > > > > > > git clone https://gitlab.com/samba-team/samba/ > > > > > > > > > > That can be downloaded from > > > > > > > > > https://gitlab.com/samba-team/samba/-/archive/master/samba-master.tar.bz2 > > > > > > > > > > but if you use git, then you can really help us with the > > > bisect. > > > > > > > > > > But the rest of your steps look good. > > > > > > > > > > The next step, assuming master still fails, is to do a bisect. > > > > > http://webchick.net/node/99 > > > > > > > > > > You may need to run 'git clean -x -f -d' between steps. > > > > > > > > > > This will be slow, particularly as you can't automate it (need > > > test > > > > > with the client), but it is a very good way to find what the > > > issue > > > > > is. > > > > > > > > > > Thanks, > > > > > > > > > > Andrew Bartlett > > > > > > -- > Andrew Bartlett https://samba.org/~abartlet/ > Authentication Developer, Samba Team https://samba.org > Samba Developer, Catalyst IT > https://catalyst.net.nz/services/samba > > > >
Seemingly Similar Threads
- Win7 clients problem after upgrading samba file server to 4.12 on Arch
- Win7 clients problem after upgrading samba file server to 4.12 on Arch
- Win7 clients problem after upgrading samba file server to 4.12 on Arch
- Win7 clients problem after upgrading samba file server to 4.12 on Arch
- Win7 clients problem after upgrading samba file server to 4.12 on Arch