Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can burn DVDs but not mount them [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Progman3K
Guru
Guru


Joined: 03 Jan 2004
Posts: 520

PostPosted: Tue Apr 30, 2013 3:18 pm    Post subject: Can burn DVDs but not mount them [SOLVED] Reply with quote

Hi,

I can use the Gnome CD/DVD Creator to burn DVDs

The burn finishes saying 'success' and ejects the disk.

I can take the disk and put it in a DVD player and verify that the directories are there, so the disk seems to be fine.

The problem occurs when I try putting the disc back into the machine that burned it.

Nothing happens.

When I write nothing happens, I mean looking at the tail end of dmesg shows no messages at all, like if the system is ignoring the disk.

I cannot eject the disk except by pressing the mechanical eject button.

However, I can put a movie-dvd in the drive and play it with xine.

I've also looked at /var/log/messages
There are no messages at all pertaining to the disk or drive in there either.

I've looked at the kernel config and it appears to include all the necessary filesystems.

Does anyone have a clue as to what might be missing?

Thanks


Last edited by Progman3K on Wed May 08, 2013 8:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
eminenz
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2006
Posts: 90

PostPosted: Wed May 08, 2013 7:40 am    Post subject: Reply with quote

Hi,

What do you assume are all necessary filesystems?
I don't think that's the problem, but it's easy to check and if it was that, we'd look forever for something else:

Do you have
-iso9660
-joilet (i don't know if gnome cd creator uses it)
-udf
activated and - if compiled as a module - loaded?


As a general idea: You could increase the kernel log level, maybe that helps to narrow down your problem.
Back to top
View user's profile Send private message
Progman3K
Guru
Guru


Joined: 03 Jan 2004
Posts: 520

PostPosted: Wed May 08, 2013 3:42 pm    Post subject: Reply with quote

Hi eminenz!
Thanks for taking the time to help me!

The reason I believe the necessary filesystems are present is because I am able to burn CDs/DVDs. If the required modules were not present, then I don't think that would work.

Taken from the kernel .config:

CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_UDF_FS=y

As you can see, they're built-in.

How would I increase the kernel log-level? I've never done that before.

Thanks again!
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5270

PostPosted: Wed May 08, 2013 6:03 pm    Post subject: Reply with quote

As we seem to be talking about automount, did you check if udisks mounts it from console ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31351
Location: 56N 3W

PostPosted: Wed May 08, 2013 6:44 pm    Post subject: Reply with quote

Progman3K,

Optical media writing is accomplished using raw device access.
You have the correct kernel support but its only required for reading.

To be complete, UDF is a bit of an oddball. You may format a DVD+RW as UDF, then use it as a read/write device ... but
a) its slow
b) only good for about 1000 rw mounts as a rw mount incurs a superblock write.
Automounting kills the DVD+RW media when its used like this.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Progman3K
Guru
Guru


Joined: 03 Jan 2004
Posts: 520

PostPosted: Wed May 08, 2013 6:48 pm    Post subject: Reply with quote

Hello VoidMage!

Thank you for taking the time, and not just for me, for the hundreds of others you've helped. I know you've helped me at least a dozen times. Much appreciated!

To answer your question, no I haven't tried. But your idea made me try to mount it with the graphical Disk Utility, and it worked!

The following lines appeared in dmesg on success:
Quote:
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: IEEE_1282

Disk Utility reports that the disk device is /dev/sr0

I am able to explore the contents of the disk by looking in /mnt/cdrom

Oddly though, there is no icon that appears on the desktop to represent the disk, so something is still amiss...
One line in /etc/fstab says this -
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0

Armed with the information from Disk Utility, I tried the following command
Code:
udisks --mount /dev/sr0

And that works too, it also mounts the disks at /mnt/cdrom

(partial) output from the mount command gives
/dev/sr0 on /mnt/cdrom type iso9660 (ro)


So all that's missing is figuring out why it won't mount disks on its own.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31351
Location: 56N 3W

PostPosted: Wed May 08, 2013 7:05 pm    Post subject: Reply with quote

Progman3K,

The old version of udisks will not automount if there is an entry in /etc/fstab.
Comment out your
Code:
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
to test.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Progman3K
Guru
Guru


Joined: 03 Jan 2004
Posts: 520

PostPosted: Wed May 08, 2013 8:23 pm    Post subject: Reply with quote

NeddySeagoon wrote:

The old version of udisks will not automount if there is an entry in /etc/fstab.
Comment out your
Code:
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
to test.


That was it!
Thanks Neddy! Another legend!

Thanks again!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum