Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 24
Posts: 24   Pages: 3   [ Previous Page | 1 2 3 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 5183 times and has 23 replies Next Thread
Sgt.Joe
Ace Cruncher
USA
Joined: Jul 4, 2006
Post Count: 7846
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Upgrade: Best Practices to Preserve Device ID?

Surely you will not be able to have two T7400. If you do a clone, then one of them (I think the one which will be launched later) will be registered as a new machine.

You may be entirely correct. But, when I get another machine to replace the original I may just try it and see what happens.
Cheers
----------------------------------------
Sgt. Joe
*Minnesota Crunchers*
[Aug 25, 2019 8:24:46 PM]   Link   Report threatening or abusive post: please login first  Go to top 
hchc
Veteran Cruncher
USA
Joined: Aug 15, 2006
Post Count: 865
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Upgrade: Best Practices to Preserve Device ID?

Edited to add: This post is deprecated, since I tested using just Zika work units, which did not error, and thought the root cause was because of a faulty upgrade. I re-tested with SCC1 work units and got the error again. The root cause is indeed Debian 10 (buster) using a kernel that disables the VSYSCALL emulation parameter. See my next post for the re-test.

Since I'm now on a clean install of Buster (compared to the original post of this thread), I decided to test @xithryx's idea.

I reversed @daka's original workaround (that did work for me btw when I upgraded):

I edited /etc/default/grub

and changed:
GRUB_CMDLINE_LINUX_DEFAULT="quiet vsyscall=emulate"
back to its default:
GRUB_CMDLINE_LINUX_DEFAULT="quiet"

then:
sudo update-grub

and Reboot.

After a reboot I fetched a couple WCG work units, and they are executing normally with no Error (e.g. the Segmentation fault error).

So there may be some accuracy to what xithryx said that somehow when I did the in-place upgrade from Debian 9 to Debian 10 that it borked some libraries.

I'm running this all headless (i.e. not using BOINC Manager) so there's no GUI components to BOINC and I only installed the "boinc-client" 7.14.2 package, but I suppose the upgrade didn't upgrade some dependent libraries or something that BOINC needed. Now that it's working on a clean install without needing to do the "vsyscall=emulate" part, that points to the upgrade process not going 100%.
----------------------------------------
  • i5-7500 (Kaby Lake, 4C/4T) @ 3.4 GHz
  • i5-4590 (Haswell, 4C/4T) @ 3.3 GHz
  • i5-3570 (Broadwell, 4C/4T) @ 3.4 GHz

----------------------------------------
[Edit 3 times, last edit by hchc at Aug 26, 2019 12:10:26 PM]
[Aug 26, 2019 2:22:19 AM]   Link   Report threatening or abusive post: please login first  Go to top 
daka
Advanced Cruncher
Sweden
Joined: Apr 4, 2017
Post Count: 92
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Upgrade: Best Practices to Preserve Device ID?

After a reboot I fetched a couple WCG work units, and they are executing normally with no Error (e.g. the Segmentation fault error).

I'm guessing none from the HST or SCC projects?
You will probably get problems once you get one of them. They seem to be the project binaries currently compiled with glibc 2.13 or earlier.

From the Debian kernel changelog for version 4.10:
  * [amd64] Enable LEGACY_VSYSCALL_NONE instead of LEGACY_VSYSCALL_EMULATE
(Closes: #852620). This breaks (e)glibc versions < 2.14 and dietlibc
versions < 0.33. It can be reverted using the kernel parameter:
vsyscall=emulate

and from /usr/share/doc/linux-image-amd64/NEWS.Debian.gz
  * From Linux 4.10, the old 'virtual syscall' interface on 64-bit PCs
(amd64) is disabled. This breaks chroot environments and containers
that use (e)glibc 2.13 and earlier, including those based on Debian 7
or RHEL/CentOS 6. To re-enable it, set the kernel parameter:
vsyscall=emulate

----------------------------------------
2 x i5-5300U @ 2.7GHz (2 x 2c4t, 40W power usage total)
46 x i5-5200U @ 2.5GHz (46 x 2c4t, 920W power usage total)
Not running currently:
96 x i5-7200U @ 3.1GHz (96 x 2c4t, 2400W power usage total)

[Aug 26, 2019 9:41:27 AM]   Link   Report threatening or abusive post: please login first  Go to top 
hchc
Veteran Cruncher
USA
Joined: Aug 15, 2006
Post Count: 865
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Upgrade: Best Practices to Preserve Device ID?

@daka said:

@hchc said:
After a reboot I fetched a couple WCG work units, and they are executing normally with no Error (e.g. the Segmentation fault error).

I'm guessing none from the HST or SCC projects?
You will probably get problems once you get one of them. They seem to be the project binaries currently compiled with glibc 2.13 or earlier.

Nice catch. I stand corrected. When I did my test, I downloaded a couple work units -- they happened to both be Zika -- and since they didn't error out, I called it a day.

Just now, I forced a download of SCC1 work units and got the error again:
<core_client_version>7.14.2</core_client_version>
<![CDATA[
<message>
process got signal 11</message>
<stderr_txt>
SIGSEGV: segmentation violation

</stderr_txt>
]]>


After adding the "vsyscall=emulate" kernel parameter again per your first post and rebooting, SCC1 work units are proceeding without error.

So it turns out @daka is indeed correct that this has everything to do with Debian 10 (with kernel 4.19.x) disabling VSYSCALL and not @xithryx's suspicion that it was due to a faulty upgrade from Debian 9 (stretch) to 10 (buster). The clean install I just did had nothing to do with it: vsyscall emulation is the sole root cause.

Solution would be for WCG Techs to compile the problem binaries with at least glibc 2.14 if not the latest and greatest.
----------------------------------------
  • i5-7500 (Kaby Lake, 4C/4T) @ 3.4 GHz
  • i5-4590 (Haswell, 4C/4T) @ 3.3 GHz
  • i5-3570 (Broadwell, 4C/4T) @ 3.4 GHz

----------------------------------------
[Edit 2 times, last edit by hchc at Aug 26, 2019 12:05:56 PM]
[Aug 26, 2019 12:01:39 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 24   Pages: 3   [ Previous Page | 1 2 3 ]
[ Jump to Last Post ]
Post new Thread