all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: 7e9wc56emjakcm@s.rendaw.me
To: help-guix@gnu.org
Subject: Bind mount at boot
Date: Sat, 10 Jul 2021 01:13:48 +0900	[thread overview]
Message-ID: <955e5f38-bfe2-0c83-fa25-88242396f59f@fastmail.com> (raw)

Hello, I have a system where I had a bind mount at boot that's no longer 
booting after updating.  Unfortunately, I hadn't updated it in a while 
(updated about a year ago) so I'm not sure when this might have started.

I'm booting from a USB stick.

Here's the rough definition:

     (file-systems (let
         ( )
         (define mount1 (file-system
             (mount-point "/rw")
             (type "ext4")
             (device (uuid "d1fecab6-998a-4ae7-8a9f-21c3501b1371"))
             (options "data=ordered")
             (flags '(no-atime))
             (needed-for-boot? #t)
     ))
         (cons*
             (file-system
                 (mount-point "/")
                 (type "ext4")
                 (device (file-system-label "IGNORED"))
             )

             mount1

             (file-system
                 (mount-point "/var")
                 (type "none")
                 (device "/root/rw/var")
                 (flags '(bind-mount))
                 (dependencies (list mount1))
                 (needed-for-boot? #t)
             )

             %base-file-systems
         )
     ))


Here's the boot log:

GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main 
thread
GC Warning: Couldn't read /proc/stat
Welcome, this is GNU's early boot Guile.
Use '--repl' for an initrd REPL.

loading kernel modules...
waiting for partition '369bb03e-86ee-c56c-43e6-2c31369bb03e' to appear...
waiting for partition '369bb03e-86ee-c56c-43e6-2c31369bb03e' to appear...
Guix_image: recovering journal
Guix_image: clean, 94899/186944 files, 669355/747090 blocks
/dev/sda3: recovering journal
/dev/sda3: clean, 60270/4792320 files, 1988760/19144192 blocks
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure statfs64: Function not implemented

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
GNU Guile 3.0.2
Copyright (C) 1995-2020 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> [  150.243364] blk_update_request: I/O error, dev 
sdb, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
,bt
,bt

In gnu/build/linux-boot.scm:
     623:8  5 (_)
In srfi/srfi-1.scm:
     634:9  4 (for-each #<procedure mount-file-system (fs #:key root)> …)
In gnu/build/file-systems.scm:
    924:56  3 (mount-file-system #<<file-system> device: "/root/rw/v…> …)
In guix/build/syscalls.scm:
    848:31  2 (_ "/root/rw/var")
     435:8  1 (_ . _)
In ice-9/boot-9.scm:
   1669:16  0 (raise-exception _ #:continuable? _)


                 reply	other threads:[~2021-07-11 21:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=955e5f38-bfe2-0c83-fa25-88242396f59f@fastmail.com \
    --to=7e9wc56emjakcm@s.rendaw.me \
    --cc=help-guix@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.