unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Thorsten Wilms <t_w_@freenet.de>
To: Joshua Branson <jbranso@dismail.de>
Cc: help-guix@gnu.org
Subject: Re: How to repair/reinstall guix on foreign distro
Date: Tue, 18 May 2021 09:49:54 +0200	[thread overview]
Message-ID: <20210518094954.4b29bcec4305e4c6062214da@freenet.de> (raw)
In-Reply-To: <874kf0bx14.fsf@dismail.de>

On Mon, 17 May 2021 22:23:03 -0400
Joshua Branson <jbranso@dismail.de> wrote:

> Is ubuntu causing this issue?  Why are you seeing an initramfs prompt
> every few weeks?  If you are running guix on ubuntu...that seems like
> it's ubuntu's fault.  Though I'm probably way wrong.

If there are filesystem errors on boot, you get a initramfs shell that
allows running fsck on root for repairs. Sometimes, some files can’t be
fixed. 

The system resides on a Transcend 256GB MTE110S SSD. Now one would
probably assume that SSD is faulty. What’s curious is that so far, any
and all noticeable corruption has been limited to guix-related files!
smartctl repports "overall-health self-assessment test result: PASSED"
and has "No Errors Logged". Full output attached at the end.

It does however claim that all except one power cylce has been an unsafe
shutdown, even though I had only a few hard resets and usually shutdown
by issuing `poweroff`. Searching the web for this issue led me to
turning off fast boot in the BIOS, but that didn’t help.


I would still like to have a minimal invasive way to get beyond:
```
guix pull: error: Git error: invalid data in index - incorrect header
signature
```
Or a way to to remove/replace /gnu/store from the running system.


```
~: sudo smartctl -x /dev/nvme0n1p2
[sudo] password for thorwil: 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.8.0-53-generic] (local
build) Copyright (C) 2002-19, Bruce Allen, Christian Franke,
www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       TS256GMTE110S
Serial Number:                      G286710001
Firmware Version:                   S0905C3
PCI Vendor/Subsystem ID:            0x126f
IEEE OUI Identifier:                0x000000
Controller ID:                      1
Number of Namespaces:               1
Namespace 1 Size/Capacity:          256.060.514.304 [256 GB]
Namespace 1 Formatted LBA Size:     512
Local Time is:                      Tue May 18 09:23:26 2021 CEST
Firmware Updates (0x12):            1 Slot, no Reset required
Optional Admin Commands (0x0007):   Security Format Frmw_DL
Optional NVM Commands (0x001f):     Comp Wr_Unc DS_Mngmt Wr_Zero
Sav/Sel_Feat Maximum Data Transfer Size:         64 Pages
Warning  Comp. Temp. Threshold:     83 Celsius
Critical Comp. Temp. Threshold:     90 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     9.00W       -        -    0  0  0  0        0       0

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        48 Celsius
Available Spare:                    88%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    1.136.204 [581 GB]
Data Units Written:                 1.901.390 [973 GB]
Host Read Commands:                 15.204.795
Host Write Commands:                18.097.210
Controller Busy Time:               1.386
Power Cycles:                       276
Power On Hours:                     1.214
Unsafe Shutdowns:                   275
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0

Error Information (NVMe Log 0x01, max 64 entries)
No Errors Logged
```

-- 
Thorsten Wilms <t_w_@freenet.de>


  reply	other threads:[~2021-05-18  7:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-16 16:10 How to repair/reinstall guix on foreign distro Thorsten Wilms
2021-05-18  2:23 ` Joshua Branson
2021-05-18  7:49   ` Thorsten Wilms [this message]
2021-05-18  8:03     ` Joshua Branson
2021-05-18  9:20     ` Ricardo Wurmus
2021-05-18 11:38       ` Thorsten Wilms
     [not found] ` <87fsykbwpg.fsf@foxmail.com>
2021-05-18  2:30   ` c4droid
2021-05-18  7:53     ` Thorsten Wilms

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210518094954.4b29bcec4305e4c6062214da@freenet.de \
    --to=t_w_@freenet.de \
    --cc=help-guix@gnu.org \
    --cc=jbranso@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).