unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Bind mount at boot
@ 2021-07-09 16:13 7e9wc56emjakcm
  0 siblings, 0 replies; only message in thread
From: 7e9wc56emjakcm @ 2021-07-09 16:13 UTC (permalink / raw)
  To: help-guix

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? _)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-11 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09 16:13 Bind mount at boot 7e9wc56emjakcm

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).