* bug#35584: CD/DVD does not work
@ 2019-05-05 16:52 sirgazil
2019-05-05 18:11 ` pelzflorian (Florian Pelz)
` (4 more replies)
0 siblings, 5 replies; 10+ messages in thread
From: sirgazil @ 2019-05-05 16:52 UTC (permalink / raw)
To: 35584
Hi,
I installed the GNU system in a real machine using the Guix 1.0 ISO installer (https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.x86_64-linux.iso.xz).
When I insert a CD or a DVD the drive light flashes for a moment, then turns off, but it seems the discs are never mounted. GNOME displays no messages, GNOME Files does not list the drive, I don't see anything related to DVD after running "findmnt", and running "lsblk" says:
```
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931,5G 0 disk
├─sda1 8:1 0 750M 0 part /boot/efi
├─sda2 8:2 0 3,7G 0 part [SWAP]
└─sda3 8:3 0 927,1G 0 part /
sr0 11:0 1 1024M 0 rom
```
---
https://sirgazil.bitbucket.io/
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#35584: CD/DVD does not work
2019-05-05 16:52 bug#35584: CD/DVD does not work sirgazil
@ 2019-05-05 18:11 ` pelzflorian (Florian Pelz)
2019-05-05 20:17 ` Ricardo Wurmus
2019-11-04 23:05 ` sirgazil via Bug reports for GNU Guix
` (3 subsequent siblings)
4 siblings, 1 reply; 10+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-05-05 18:11 UTC (permalink / raw)
To: sirgazil; +Cc: 35584
On Sun, May 05, 2019 at 11:52:36AM -0500, sirgazil wrote:
> Hi,
>
> I installed the GNU system in a real machine using the Guix 1.0 ISO installer (https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.x86_64-linux.iso.xz).
>
> When I insert a CD or a DVD the drive light flashes for a moment, then turns off, but it seems the discs are never mounted. GNOME displays no messages, GNOME Files does not list the drive, I don't see anything related to DVD after running "findmnt", and running "lsblk" says:
>
> ```
> $ lsblk
> NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
> sda 8:0 0 931,5G 0 disk
> ├─sda1 8:1 0 750M 0 part /boot/efi
> ├─sda2 8:2 0 3,7G 0 part [SWAP]
> └─sda3 8:3 0 927,1G 0 part /
> sr0 11:0 1 1024M 0 rom
> ```
I can confirm. So sr0 is visible. The same happens for me on an
internal and an external USB DVD drive when I insert a video DVD, but
I can play it with VLC and once I open the drive /dev/sr0 in VLC it
gets auto-mounted in Nautilus. Note that I have gvfs in my packages
field, if that makes a difference.
On Arch the DVD gets mounted by Nautilus immediately on insert.
I have no idea why that happens though.
Regards,
Florian
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#35584: CD/DVD does not work
2019-05-05 18:11 ` pelzflorian (Florian Pelz)
@ 2019-05-05 20:17 ` Ricardo Wurmus
2019-05-11 20:23 ` Pierre Neidhardt
0 siblings, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2019-05-05 20:17 UTC (permalink / raw)
To: pelzflorian (Florian Pelz); +Cc: 35584, sirgazil
pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de> writes:
> On Sun, May 05, 2019 at 11:52:36AM -0500, sirgazil wrote:
>> Hi,
>>
>> I installed the GNU system in a real machine using the Guix 1.0 ISO installer (https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.x86_64-linux.iso.xz).
>>
>> When I insert a CD or a DVD the drive light flashes for a moment, then turns off, but it seems the discs are never mounted. GNOME displays no messages, GNOME Files does not list the drive, I don't see anything related to DVD after running "findmnt", and running "lsblk" says:
>>
>> ```
>> $ lsblk
>> NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
>> sda 8:0 0 931,5G 0 disk
>> ├─sda1 8:1 0 750M 0 part /boot/efi
>> ├─sda2 8:2 0 3,7G 0 part [SWAP]
>> └─sda3 8:3 0 927,1G 0 part /
>> sr0 11:0 1 1024M 0 rom
>> ```
>
> I can confirm. So sr0 is visible. The same happens for me on an
> internal and an external USB DVD drive when I insert a video DVD, but
> I can play it with VLC and once I open the drive /dev/sr0 in VLC it
> gets auto-mounted in Nautilus. Note that I have gvfs in my packages
> field, if that makes a difference.
>
> On Arch the DVD gets mounted by Nautilus immediately on insert.
I cannot reproduce this with a slightly older system. On my workstation
CDs could always be mounted by Nautilus immediately. If this doesn’t
work any more it must be a regression.
--
Ricardo
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#35584: CD/DVD does not work
2019-05-05 20:17 ` Ricardo Wurmus
@ 2019-05-11 20:23 ` Pierre Neidhardt
0 siblings, 0 replies; 10+ messages in thread
From: Pierre Neidhardt @ 2019-05-11 20:23 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 35584, sirgazil
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
Not sure it's related, but it's awfully similar to the issue I'm having
with CDEmu: I can load images but nothing ever gets mounted.
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#35584: CD/DVD does not work
2019-05-05 16:52 bug#35584: CD/DVD does not work sirgazil
2019-05-05 18:11 ` pelzflorian (Florian Pelz)
@ 2019-11-04 23:05 ` sirgazil via Bug reports for GNU Guix
2020-07-29 0:15 ` Luis Felipe via Bug reports for GNU Guix
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2019-11-04 23:05 UTC (permalink / raw)
To: 35584
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
Just to add that the problem is still present today on:
$ LANG=C guix describe
Generation 5 Nov 04 2019 14:24:15 (current)
guix bf7b08c
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: bf7b08c4fe7d14c25a83bde99f19eca1119d88ff
Also, I was able to use the drive successfully from a Trisquel 8 Live USB stick. So, at least I know the drive works.
---
https://sirgazil.bitbucket.io/
[-- Attachment #2: Type: text/html, Size: 1097 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#35584: CD/DVD does not work
2019-05-05 16:52 bug#35584: CD/DVD does not work sirgazil
2019-05-05 18:11 ` pelzflorian (Florian Pelz)
2019-11-04 23:05 ` sirgazil via Bug reports for GNU Guix
@ 2020-07-29 0:15 ` Luis Felipe via Bug reports for GNU Guix
2020-07-29 13:18 ` Danny Milosavljevic
2020-12-08 15:56 ` Luis Felipe via Bug reports for GNU Guix
2021-03-25 19:45 ` bug#35584: CDs and DVDs aren't auto-mounted raingloom
4 siblings, 1 reply; 10+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2020-07-29 0:15 UTC (permalink / raw)
To: 35584@debbugs.gnu.org
This bug persist on the Guix version I'm using:
★★★★★★★★★★
$ guix describe
Generation 4 Jul 05 2020 13:40:24 (current)
guix 6ee7468
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 6ee7468758d7c043692ae8c0b5e130fa4eabe94c
★★★★★★★★★★
There is one thing I hadn't noticed before, though. If I insert a DVD while I'm in a GNOME session, it doesn't work (that's the bug), but if I reboot with the DVD still in, log in to GNOME and open Nautilus, the DVD is listed and it works correctly. After doing this, if I extract the DVD and insert it again, it still doesn't work.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#35584: CD/DVD does not work
2020-07-29 0:15 ` Luis Felipe via Bug reports for GNU Guix
@ 2020-07-29 13:18 ` Danny Milosavljevic
2020-07-29 13:42 ` Luis Felipe via Bug reports for GNU Guix
0 siblings, 1 reply; 10+ messages in thread
From: Danny Milosavljevic @ 2020-07-29 13:18 UTC (permalink / raw)
To: 35584; +Cc: raghavgururajan, luis.felipe.la
[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]
Hi,
On Wed, 29 Jul 2020 00:15:39 +0000
Luis Felipe via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:
> There is one thing I hadn't noticed before, though. If I insert a DVD while I'm in a GNOME session, it doesn't work (that's the bug), but if I reboot with the DVD still in, log in to GNOME and open Nautilus, the DVD is listed and it works correctly. After doing this, if I extract the DVD and insert it again, it still doesn't work.
Checking nautilus sources, it uses GVolumeMonitor which is part of glib (gio).
That uses GUnixMountMonitor, and that checks /proc/mounts and fstab.
fstab is found like this:
static char *
get_fstab_file (void)
{
#ifdef HAVE_LIBMOUNT
return (char *) mnt_get_fstab_path ();
#else
#if defined(HAVE_SYS_MNTCTL_H) && defined(HAVE_SYS_VMOUNT_H) && defined(HAVE_SYS_VFS_H)
/* AIX */
return "/etc/filesystems";
#elif defined(_PATH_MNTTAB)
return _PATH_MNTTAB;
#elif defined(VFSTAB)
return VFSTAB;
#else
return "/etc/fstab";
#endif
#endif
}
libmount is part of util-linux, which has:
/**
* mnt_get_fstab_path:
*
* Returns: path to /etc/fstab or $LIBMOUNT_FSTAB.
*/
const char *mnt_get_fstab_path(void)
{
const char *p = safe_getenv("LIBMOUNT_FSTAB");
return p ? : _PATH_MNTTAB;
}
In order to debug this problem, please try setting the environment variable
before starting nautilus, like this:
killall nautilus
export LIBMOUNT_FSTAB=/etc/fstab
nautilus
Then check whether detecting changes in CD/DVD state work fine like this.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#35584: CD/DVD does not work
2020-07-29 13:18 ` Danny Milosavljevic
@ 2020-07-29 13:42 ` Luis Felipe via Bug reports for GNU Guix
0 siblings, 0 replies; 10+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2020-07-29 13:42 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: raghavgururajan, 35584
Hi, Danny.
> In order to debug this problem, please try setting the environment variable
> before starting nautilus, like this:
>
> killall nautilus
> export LIBMOUNT_FSTAB=/etc/fstab
> nautilus
>
> Then check whether detecting changes in CD/DVD state work fine like this.
>
Unfortunately not. I got this:
$ killall nautilus
nautilus: no process found
So I closed any visible instance of Nautilus instead, exported the LIBMOUNT_FSTAB variable, started nautilus, inserted a DVD, and it didn't work.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#35584: CD/DVD does not work
2019-05-05 16:52 bug#35584: CD/DVD does not work sirgazil
` (2 preceding siblings ...)
2020-07-29 0:15 ` Luis Felipe via Bug reports for GNU Guix
@ 2020-12-08 15:56 ` Luis Felipe via Bug reports for GNU Guix
2021-03-25 19:45 ` bug#35584: CDs and DVDs aren't auto-mounted raingloom
4 siblings, 0 replies; 10+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2020-12-08 15:56 UTC (permalink / raw)
To: 35584@debbugs.gnu.org
This bug persists in the Guix System version I'm using:
guix 08d8c2d
linux-libre 5.9.12-gnu
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#35584: CDs and DVDs aren't auto-mounted
2019-05-05 16:52 bug#35584: CD/DVD does not work sirgazil
` (3 preceding siblings ...)
2020-12-08 15:56 ` Luis Felipe via Bug reports for GNU Guix
@ 2021-03-25 19:45 ` raingloom
4 siblings, 0 replies; 10+ messages in thread
From: raingloom @ 2021-03-25 19:45 UTC (permalink / raw)
To: 35584
This persists. System commit from about 1-2 weeks ago. (built from
private branch, so commit name wouldn't mean much)
Not sure how to investigate, because last time I tried looking into
GVFS issues it turned out to be a huge mess.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-03-25 23:53 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-05 16:52 bug#35584: CD/DVD does not work sirgazil
2019-05-05 18:11 ` pelzflorian (Florian Pelz)
2019-05-05 20:17 ` Ricardo Wurmus
2019-05-11 20:23 ` Pierre Neidhardt
2019-11-04 23:05 ` sirgazil via Bug reports for GNU Guix
2020-07-29 0:15 ` Luis Felipe via Bug reports for GNU Guix
2020-07-29 13:18 ` Danny Milosavljevic
2020-07-29 13:42 ` Luis Felipe via Bug reports for GNU Guix
2020-12-08 15:56 ` Luis Felipe via Bug reports for GNU Guix
2021-03-25 19:45 ` bug#35584: CDs and DVDs aren't auto-mounted raingloom
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).