partitioning – Re-using previously Bitlocker encrypted SSD fails after formatting was aborted

  • In my other PC I had 2 identical Crucial MX 200 1 TB SSD drives which were both Bitlocker protected.

  • I upgraded my other PC to NVM SSD and wanted to use them both old SSDs with Linux (Ubuntu 20.04).

  • I removed them from the old PC and installed them in an external disk
    case (USB3) and both drives were found in KDE’s partitionmanager

  • I removed all found partitions on the drives and created new ext4
    partitions (I want to use them as storage) but when I applied the
    changes unfortunately partitionmanager crashed and the problems
    started.

  • Now I am getting error messages in system-log whenever I connect one
    of the drives like:

blk_update_request: critical medium error, dev sdd, sector 2048 op
0x0:(READ) flags 0x80700 phys_seg 1 prio class 0

blk_update_request: critical medium error, dev sdd, sector 2048 op
0x0:(READ) flags 0x0 phys_seg 1 prio class 0

Buffer I/O error on dev sdd, logical block 256, async page read

blk_update_request: critical medium error, dev sdd, sector 1953521536
op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0

blk_update_request: critical medium error, dev sdd, sector 1953521536
op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

  • partitionmanager and gparted both can find the drives (after
    displaying some errors) but are not able to create new partitions (I
    can delete the old ones but when I try to create a new one and apply
    the changes I get “Input / Output Error”)

  • I also tried to clone another 1TB drive on one of them to perhaps fix
    issues with “initialization” – but it did not help – this is the
    command I used:

     sudo dd if=/dev/disk1 of=/dev/disk2 conv=sync,noerror
    
  • As I was running out of ideas I even tried if I could fix the problem
    in Windows with disk management but it did not work also (getting
    errors that data cannot be read / written).

  • I looked into
    https://www.diskpart.com/windows-10/diskpart-windows-10-1203.html and
    tried to “clean” the drives with diskpart – no success.

  • I also checked the SMART data on both drives but according to the
    tool provided by Crucial “Crucial Storage Executive” both drives are
    in good shape and there were no issues.

  • One thing that caught my eye under Windows was that there is an error
    in Windows System log mentioning the Bitlocker-Driver “The device
    has a bad block” – could it be that the issue is somehow related
    to the fact that the drives were Bitlocker encrypted? But no other
    tool found bad blocks on the drive and how could I fix it?

Does anybody have an idea how I could re-resurrect the drives?
Is it really possible that the formatting error killed both drives in a way that they cannot be fixed?
I also checked the external disk cases and with other drives they work perfectly fine – so I don’t think they are the problem.
I highly doubt that both SSDs (which worked fine in the first place) are both now having a hardware-issue at the same time just after the problem with formatting them in the first place….

macOS Big Sur Fails on Internet Recovery Mode: “Installation could not be completed.”

I have a 13 inch MacBook Pro Mid 2014. I have been struggling with installation process since last night. At first, I started my Mac by pressing Option + Command + R and Power button so that I opened it with internet recovery mode. After that, I cleared my disk space and tried to install macOS Big Sur. But just before selecting my disk where I am going to install, it shows an error which says “Installation could not be completed.” I tried to install the os which comes with Mid-2014 and tried to update it but it didn’t work either.

composer – Acquia Dev Desktop create-project Fails With 404 Error at Repository

I am using a brand new installation of Acquia Dev Desktop on Windows 10. When I try to use composer to create a new project I get the following output using the -vvv option:

composer create-project drupal/drupal-project:8.x    hhc  --no-interaction  --no-install  -vvv 

Downloading https://packagist.phpcomposer.com/packages.json
[200] https://packagist.phpcomposer.com/packages.json
Writing C:/Users/JimD/AppData/Local/Composer/repo/https—packagist.phpcomposer.com/packages.json into cache
Downloading https://packagist.phpcomposer.com/p2/drupal/recommended-project.json
[404] https://packagist.phpcomposer.com/p2/drupal/recommended-project.json

[InvalidArgumentException]
Could not find package drupal/recommended-project with version 8.x.

This happens with both composer versions 1.10 and 2.0.7.
I have tried all of the following and got the same result after each.

  • composer clear-cache

  • upgrade from version 1.10.13 to 2.0.7

  • clear-cache and composer reloaded all the .json files from repository in to cache.

  • Uninstalled Acquia and removed all file folders related to composer.

  • Tried different --stability options

  • Tried installing project for other platform

    composer create-project -n concrete5/composer dreamrs –no-install -vvv

Tried repositories https://repo.packagist.org and https://packagist.phpcomposer.com

In every case I get the “Could not find package” error.

EDITED:
Latest effort, I downloaded the recommended-project.json file, put it in an empty folder and ran composer install -vvv. I got a 404 error for every package. Here are some examples:

[404] https://packages.drupal.org/files/packages/8/p2/drupal/core-dev.json

[404] https://packages.drupal.org/files/packages/8/p2/drupal/core-composer-scaffold.json

Any idea what is going on here? I can download other packges such as hirak/prestissimo and grasmash/composerize-drupal.

(Wine) Game fails to load because of what seems to be Wine’s path conversion

PlayOnLinux debug log.

Using Ubuntu 20.04.1, tried with latest stable and staging Wines. The game is Crazy Taxi 3 for Windows. Note that my question is probably well into XY problem territory.

The way I see it, the game tries to load the Media/ directory in its own directory, but Wine interprets that as my system‘s media/ directory, that is Z:. I’m sure there’s a good reason for this behaviour, so I’d like to know if there’s some kind of workaround. I figure what I’m looking for is a way to prevent Wine from converting paths in the first place for this one executable.

composer – create-project Fails With 404 Error at Repository

I am using a brand new installation of Acquia Dev Desktop on Windows 10. When I try to use composer to create a new project I get the followin output using the -vvv option:

composer create-project drupal/drupal-project:8.x hhc –no-interaction –no-install -vvv

Downloading https://packagist.phpcomposer.com/packages.json
[200] https://packagist.phpcomposer.com/packages.json
Writing C:/Users/JimD/AppData/Local/Composer/repo/https—packagist.phpcomposer.com/packages.json into cache
Downloading https://packagist.phpcomposer.com/p2/drupal/recommended-project.json
[404] https://packagist.phpcomposer.com/p2/drupal/recommended-project.json

[InvalidArgumentException]
Could not find package drupal/recommended-project with version 8.x.

This happens with both composer versions 1.10 and 2.0.7.
I have tried all of the following and got the same result after each.

composer clear-cache
upgrade from version 1.10.13 to 2.0.7
clear-cache and composer reloaded all the .json files from repository in to cache.
Uninstalled Acquia and removed all file folders related to composer.
Tried different –stability options
Tried installing project for other platform

composer create-project -n concrete5/composer dreamrs –no-install -vvv

Tried repositories https://repo.packagist.org and https://packagist.phpcomposer.com

In every case I get the “Could not find package” error.

Any idea what is going on here? I can download other packges such as hirak/prestissimo and grasmash/composerize-drupal.

c++ – OMP Sections fails with lastprivate

The programme with the lastprivate option specified for the sections directive crushes throwing an exception: Run-Time Check Failure #3 - The variable 'n' is being used without being initialized. The code is as simple as that:

#include <iostream>
#include <omp.h>

int main()
{
    int n = 0;

#pragma omp parallel sections lastprivate(n)
    {
        n = 5;
    }

    std::cin.get();
}

Looks like the compiler says that I cannot initialise it because it is uninitialised (it even sounds dummy). Google says nothing. What is the problem?

io – VCD read fails in Ubuntu 20.04, while it doesn’t in Windows 10

In Windows, I may read a VCD’s content and play it without any problem. On the same machine and the same drive, in Linux (Ubuntu 20.04), it’s not read and I get I/O error. The size if also reported differently. In Windows the AVSEQ01.DAT file size is 724MB and in Linux it’s 625MB!
I think it’s a trick to prevent the VCD to be able to be copied. Maybe if I would install older versions of Windows than 10 I would encounter the same problem as Linux does. It seems that Windows 10 knows the trick and overcomes it, but Linux doesn’t, although it’s just a guess and I’m not sure about it.
Any idea?

sql server – SSIS Package Fails when run from sql agent

I have an SSIS package that is loaded onto the a sql server. The package fails when executed as a sql agent job, but the package runs fine when the user goes into the ssisdb catalog.

The job is accessing two different databases, one sql server instance using integrated security and one oracle database. The job step is being run as a proxy user that has access to the sql server database. The oracle connection string has the server name and oracle service name, as well as the oracle username and password.

When the job runs via the agent it fails with the following error
” An OLE DB error has occured. Error code: 0x80004005.
An OLE DB record is available. Source: “OraOLDEDB”.
Hresult: 0x80004005 Description: “ORA-12154: TNS:could not resolve the connect identifier specified”

This strikes me as odd because when specifying the servername and oracle service name, the tnsnames.ora file should not be needed. This also seems like an unlikely root cause, because the package runs fine when the developer executes the package from the ssisdb catalog. To further rule this out, I changed the connection string from server/service to just the database name found in the tnsnames.ora file. I verified the name is resolved via tnsping, which works successfully.

I am beginning to think that the error is being caused because the proxy account can not access the oracle client, so I tried to make the proxy account a local admin on the sql server, where the oracle client is installed. This didn’t change anything.

pr.probability – Probability of all “fails” being same individual

I’ve searched but am unsure how to go about working this out:

There are 100 members of staff who are all assessed annually. There are 5 assessment areas per person. Each assessment area has grading: A, B, C, D. Grades A or B are required to “pass”, C and D are “fail”.

100 staff were assessed by the same management, 99 staff achieved an A in all 5 areas. 1 staff member received 3 assessments of C. As the areas are equally weighted, that staff member then had 60% C rating and was therefore overall rated C – and failed.

What is the likelihood that of the 100 staff, all assessed on 5 areas with 4 grades in each:

what is the likelihood that of the 500 assessments (100 staff x 5 areas), there were only 3 which were not A

what is the probability that 100% of that number were all the same person

openstack command fails with SSL error on Ubunut 18.04 LTS

Openstack client commands fails after sourcing the rc file in Ubuntu 18.04 LTS with below error message; I tried the same operation in CentOS and it went well there. I am surprised why in Ubuntu 18.04 LTS it is failing.

  ubuntu@clover:~$ openstack image list
  Failed to discover available identity versions when contacting https://10.18.54.16:13000/v3. 
  Attempting to parse version from URL.
  SSL exception connecting to https://10.18.54.16:13000/v3/auth/tokens: 
  HTTPSConnectionPool(host='10.18.54.16', port=13000): Max retries exceeded with url: /v3/auth/tokens 
  (Caused by SSLError(SSLError(1, u'(SSL: CERTIFICATE_VERIFY_FAILED) certificate verify failed 
  (_ssl.c:727)'),))

  ubuntu@clover:~$ curl -g -i -X GET https://10.18.54.16:13000/v3 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.17.2 keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5"
  HTTP/1.1 200 Connection established
  Proxy-Agent: Fortinet-Proxy/1.0

  curl: (60) SSL certificate problem: unable to get local issuer certificate
  More details here: https://curl.haxx.se/docs/sslcerts.html

  curl failed to verify the legitimacy of the server and therefore could not
  establish a secure connection to it. To learn more about this situation and
  how to fix it, please visit the web page mentioned above.

On running in CentOS

    (centos@undercloud ~)$ curl -g -i -X GET https://10.18.54.16:13000/v3 -H "Accept:      application/json" -H "User-Agent: openstacksdk/0.17.2 keystoneauth1/3.10.0 python-requests/2.19.1         CPython/2.7.5"
    HTTP/1.1 200 OK
    Date: Thu, 19 Nov 2020 05:18:39 GMT
    Server: Apache
    Vary: X-Auth-Token,Accept-Encoding
    x-openstack-request-id: req-d2161611-5f92-4ae7-8799-dd7008939bc9
    Content-Length: 253
    Content-Type: application/json

    {"version": {"status": "stable", "updated": "2018-10-15T00:00:00Z", "media-types": ({"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}), "id": "v3.11", "links": ({"href": "https://10.18.54.16:13000/v3/", "rel": "self"}