all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mounting "my-home"  to  /home  cannot work again.
@ 2017-01-14  1:41 tumashu
  2017-01-14 11:00 ` David Craven
  0 siblings, 1 reply; 10+ messages in thread
From: tumashu @ 2017-01-14  1:41 UTC (permalink / raw)
  To: guix

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]

If mount "my-root" to / only, my machine works well, when I mount "my-home" to /home, it cannot work well.
I cannot enter my guixsd again, "mounting-multi-part" has been broken?

------------------------
[   12.079023] [drm] Initialized radeon 2.48.0 20080528 for 0000:01:00.0 on minor 0
[   13.253525] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
[   13.253746] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19
[   13.253983] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[   13.326750] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.327259] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xf8b20000, irq=19
[   13.446723] ath9k 0000:44:00.0 wlo1: renamed from wlan0
**Get stuck at this point.....**
-------------------------
 
This is my guixsd configure: https://github.com/tumashu/guixsd-helper/blob/master/guixsd-helper.scm



[-- Attachment #2: Type: text/html, Size: 1362 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: mounting "my-home" to /home cannot work again.
  2017-01-14  1:41 mounting "my-home" to /home cannot work again tumashu
@ 2017-01-14 11:00 ` David Craven
  2017-01-14 12:08   ` tumashu
                     ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: David Craven @ 2017-01-14 11:00 UTC (permalink / raw)
  To: tumashu; +Cc: guix

Hi!

> ------------------------
> [   12.079023] [drm] Initialized radeon 2.48.0 20080528 for 0000:01:00.0 on
> minor 0
> [   13.253525] input: HDA Intel MID Mic as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
> [   13.253746] input: HDA Intel MID Headphone as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input19
> [   13.253983] input: HDA ATI HDMI HDMI/DP,pcm=3 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
> [   13.326750] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> [   13.327259] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xf8b20000, irq=19
> [   13.446723] ath9k 0000:44:00.0 wlo1: renamed from wlan0
> **Get stuck at this point.....**
> -------------------------

These are generated by the kernel. There must be some stacktrace or
errors from guixsd missing somewhere, maybe when running guix system
reconfigure?

I don't see how an error in the guixsd configuration or a bug in
guixsd would cause the kernel to hang during boot, before entering the
initrd.

The recommended way of adding file-systems to an operating-system
definition according to the guix manual is:

(file-systems (cons* fs-root fs-home fs-backup1 fs-backup2 %base-file-systems))

Can you verify that the working setup kernel is the same one as the
non working setup kernel?

Possibly a relevant commit is 37203715805335131d18ac05ecb0367f222cd065.

HTH!

David

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re:Re: mounting "my-home" to /home cannot work again.
  2017-01-14 11:00 ` David Craven
@ 2017-01-14 12:08   ` tumashu
  2017-01-14 12:10   ` tumashu
  2017-01-14 14:14   ` tumashu
  2 siblings, 0 replies; 10+ messages in thread
From: tumashu @ 2017-01-14 12:08 UTC (permalink / raw)
  To: David Craven; +Cc: guix

(file-systems (cons* fs-root fs-home fs-backup1 fs-backup2 %base-file-systems))

cannot work !
在 2017-01-14 19:00:35,"David Craven" <david@craven.ch> 写道:
Hi!

> ------------------------
> [   12.079023] [drm] Initialized radeon 2.48.0 20080528 for 0000:01:00.0 on
> minor 0
> [   13.253525] input: HDA Intel MID Mic as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
> [   13.253746] input: HDA Intel MID Headphone as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input19
> [   13.253983] input: HDA ATI HDMI HDMI/DP,pcm=3 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
> [   13.326750] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> [   13.327259] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xf8b20000, irq=19
> [   13.446723] ath9k 0000:44:00.0 wlo1: renamed from wlan0
> **Get stuck at this point.....**
> -------------------------

These are generated by the kernel. There must be some stacktrace or
errors from guixsd missing somewhere, maybe when running guix system
reconfigure?

I don't see how an error in the guixsd configuration or a bug in
guixsd would cause the kernel to hang during boot, before entering the
initrd.

The recommended way of adding file-systems to an operating-system
definition according to the guix manual is:

(file-systems (cons* fs-root fs-home fs-backup1 fs-backup2 %base-file-systems))

Can you verify that the working setup kernel is the same one as the
non working setup kernel?

Possibly a relevant commit is 37203715805335131d18ac05ecb0367f222cd065.

HTH!

David

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re:Re: mounting "my-home" to /home cannot work again.
  2017-01-14 11:00 ` David Craven
  2017-01-14 12:08   ` tumashu
@ 2017-01-14 12:10   ` tumashu
  2017-01-14 14:14   ` tumashu
  2 siblings, 0 replies; 10+ messages in thread
From: tumashu @ 2017-01-14 12:10 UTC (permalink / raw)
  To: David Craven; +Cc: guix

(file-systems (cons fs-root %fs-base-file-systems))

can work
在 2017-01-14 19:00:35,"David Craven" <david@craven.ch> 写道:
Hi!

> ------------------------
> [   12.079023] [drm] Initialized radeon 2.48.0 20080528 for 0000:01:00.0 on
> minor 0
> [   13.253525] input: HDA Intel MID Mic as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
> [   13.253746] input: HDA Intel MID Headphone as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input19
> [   13.253983] input: HDA ATI HDMI HDMI/DP,pcm=3 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
> [   13.326750] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> [   13.327259] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xf8b20000, irq=19
> [   13.446723] ath9k 0000:44:00.0 wlo1: renamed from wlan0
> **Get stuck at this point.....**
> -------------------------

These are generated by the kernel. There must be some stacktrace or
errors from guixsd missing somewhere, maybe when running guix system
reconfigure?

I don't see how an error in the guixsd configuration or a bug in
guixsd would cause the kernel to hang during boot, before entering the
initrd.

The recommended way of adding file-systems to an operating-system
definition according to the guix manual is:

(file-systems (cons* fs-root fs-home fs-backup1 fs-backup2 %base-file-systems))

Can you verify that the working setup kernel is the same one as the
non working setup kernel?

Possibly a relevant commit is 37203715805335131d18ac05ecb0367f222cd065.

HTH!

David

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re:Re: mounting "my-home" to /home cannot work again.
  2017-01-14 11:00 ` David Craven
  2017-01-14 12:08   ` tumashu
  2017-01-14 12:10   ` tumashu
@ 2017-01-14 14:14   ` tumashu
  2017-01-14 16:46     ` David Craven
  2017-01-14 17:29     ` Ludovic Courtès
  2 siblings, 2 replies; 10+ messages in thread
From: tumashu @ 2017-01-14 14:14 UTC (permalink / raw)
  To: David Craven; +Cc: guix

[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]

When I use (title 'device) instead of (title 'label), it works again, I don't understand the reason.

https://github.com/tumashu/guixsd-helper






At 2017-01-14 19:00:35, "David Craven" <david@craven.ch> wrote:
>Hi!
>
>> ------------------------
>> [   12.079023] [drm] Initialized radeon 2.48.0 20080528 for 0000:01:00.0 on
>> minor 0
>> [   13.253525] input: HDA Intel MID Mic as
>> /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
>> [   13.253746] input: HDA Intel MID Headphone as
>> /devices/pci0000:00/0000:00:1b.0/sound/card0/input19
>> [   13.253983] input: HDA ATI HDMI HDMI/DP,pcm=3 as
>> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
>> [   13.326750] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
>> [   13.327259] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xf8b20000, irq=19
>> [   13.446723] ath9k 0000:44:00.0 wlo1: renamed from wlan0
>> **Get stuck at this point.....**
>> -------------------------
>
>These are generated by the kernel. There must be some stacktrace or
>errors from guixsd missing somewhere, maybe when running guix system
>reconfigure?
>
>I don't see how an error in the guixsd configuration or a bug in
>guixsd would cause the kernel to hang during boot, before entering the
>initrd.
>
>The recommended way of adding file-systems to an operating-system
>definition according to the guix manual is:
>
>(file-systems (cons* fs-root fs-home fs-backup1 fs-backup2 %base-file-systems))
>
>Can you verify that the working setup kernel is the same one as the
>non working setup kernel?
>
>Possibly a relevant commit is 37203715805335131d18ac05ecb0367f222cd065.
>
>HTH!
>
>David

[-- Attachment #2: Type: text/html, Size: 2001 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re: mounting "my-home" to /home cannot work again.
  2017-01-14 14:14   ` tumashu
@ 2017-01-14 16:46     ` David Craven
  2017-01-15  1:46       ` tumashu
  2017-01-14 17:29     ` Ludovic Courtès
  1 sibling, 1 reply; 10+ messages in thread
From: David Craven @ 2017-01-14 16:46 UTC (permalink / raw)
  To: tumashu; +Cc: guix

Hi!

I cannot reproduce the issue on current master, sorry!

make check-system TESTS="separate-store-os" would show if there's a
problem with multiple file-systems using labels.

If you want more help with your issue please come and visit us on IRC...

David

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: mounting "my-home" to /home cannot work again.
  2017-01-14 14:14   ` tumashu
  2017-01-14 16:46     ` David Craven
@ 2017-01-14 17:29     ` Ludovic Courtès
  2017-01-15  0:05       ` tumashu
  1 sibling, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2017-01-14 17:29 UTC (permalink / raw)
  To: tumashu; +Cc: guix

tumashu  <tumashu@163.com> skribis:

> When I use (title 'device) instead of (title 'label), it works again, I don't understand the reason.
>
> https://github.com/tumashu/guixsd-helper

This file has:

(define fs-home
  (file-system
   (device "/dev/sda7")
   (title 'device)
   (mount-point "/home")
   (type "ext4")))

… which is correct.

If you previously had 'label instead of 'device here, the file system
could not be found at boot time because GuixSD was searching for a file
system with “/dev/sda7” as its *label*.

See
<https://www.gnu.org/software/guix/manual/html_node/File-Systems.html>
for the meaning of ‘title’.

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re:Re: mounting "my-home" to /home cannot work again.
  2017-01-14 17:29     ` Ludovic Courtès
@ 2017-01-15  0:05       ` tumashu
  0 siblings, 0 replies; 10+ messages in thread
From: tumashu @ 2017-01-15  0:05 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix

no ,i  use my-root as label before and cannot work
在 2017-01-15 01:29:26,"Ludovic Courtès" <ludo@gnu.org> 写道:
tumashu  <tumashu@163.com> skribis:

> When I use (title 'device) instead of (title 'label), it works again, I don't understand the reason.
>
> https://github.com/tumashu/guixsd-helper

This file has:

(define fs-home
  (file-system
   (device "/dev/sda7")
   (title 'device)
   (mount-point "/home")
   (type "ext4")))

… which is correct.

If you previously had 'label instead of 'device here, the file system
could not be found at boot time because GuixSD was searching for a file
system with “/dev/sda7” as its *label*.

See
<https://www.gnu.org/software/guix/manual/html_node/File-Systems.html>
for the meaning of ‘title’.

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re:Re: Re: mounting "my-home" to /home cannot work again.
  2017-01-14 16:46     ` David Craven
@ 2017-01-15  1:46       ` tumashu
  2017-01-15  9:47         ` David Craven
  0 siblings, 1 reply; 10+ messages in thread
From: tumashu @ 2017-01-15  1:46 UTC (permalink / raw)
  To: David Craven; +Cc: guix

make check-system TESTS="separate-store-os" ?   build guix from sources?
在 2017-01-15 00:46:37,"David Craven" <david@craven.ch> 写道:
Hi!

I cannot reproduce the issue on current master, sorry!

make check-system TESTS="separate-store-os" would show if there's a
problem with multiple file-systems using labels.

If you want more help with your issue please come and visit us on IRC...

David

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re: Re: mounting "my-home" to /home cannot work again.
  2017-01-15  1:46       ` tumashu
@ 2017-01-15  9:47         ` David Craven
  0 siblings, 0 replies; 10+ messages in thread
From: David Craven @ 2017-01-15  9:47 UTC (permalink / raw)
  To: tumashu; +Cc: guix

> make check-system TESTS="separate-store-os" ?   build guix from sources?

Assuming you have a default guixsd installation with no modifications,
you should be able to run `guix pull` to get the latest sources and
`guix reconfigure`.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-01-15  9:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-14  1:41 mounting "my-home" to /home cannot work again tumashu
2017-01-14 11:00 ` David Craven
2017-01-14 12:08   ` tumashu
2017-01-14 12:10   ` tumashu
2017-01-14 14:14   ` tumashu
2017-01-14 16:46     ` David Craven
2017-01-15  1:46       ` tumashu
2017-01-15  9:47         ` David Craven
2017-01-14 17:29     ` Ludovic Courtès
2017-01-15  0:05       ` tumashu

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.