Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Cannot mount /media/cdrecorder for write access
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Tue Oct 17, 2006 4:10 am    Post subject: [SOLVED] Cannot mount /media/cdrecorder for write access Reply with quote

After some recent package updates I can no longer mount my CD Writer for rw access. Read-only still works.

My /etc/fstab contains the following entry:

Code:
# /etc/fstab
...
/dev/hdc                /media/cdrecorder       auto    noauto,user,managed,exec 0 0


When I try to mount with a CD-RW inserted, I get the following result:

Code:
anlashok ~ # mount /media/cdrecorder
mount: block device /dev/hdc is write-protected, mounting read-only


dmesg shows the following output:

Code:
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A


Any ideas what I could still try?

Thanks.
Klaus


Last edited by kds66 on Wed Dec 13, 2006 6:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Tue Oct 17, 2006 4:17 am    Post subject: Reply with quote

Hi and welcome to the forums.

Did you compile a new kernel? If so, did you enable CDROM_PKTCDVD? You can find that on Device Drivers ---> Block devices ---> Packet writing on CD/DVD media.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Tue Oct 17, 2006 10:25 pm    Post subject: Reply with quote

Thanks for the hint. Yes, I had a kernel without support for packet writing on CD/DVD media. I recompiled my kernel with
Code:
CONFIG_CDROM_PKTCDVD=y
CONFIG_CDROM_PKTCDVD_BUFFERS=8

but when trying to mount the drive with the new kernel, I still get the message that the block device is write-protected. Anything else I could try?

Thanks,
Klaus
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Wed Oct 18, 2006 2:03 am    Post subject: Reply with quote

Sorry for the questions, but so that we can clear this up:

  • Did you boot with the new kernel?
  • Did you copy it to /boot and updated your bootloader?
  • Are you mounting a writable medium?
  • Are you using the above fstab entry?
  • Have you tried mounting by hand - mount -t auto -o=rw /dev/hdc /media/cdrecorder?

_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Thu Oct 19, 2006 1:30 am    Post subject: Reply with quote

Quote:
Did you boot with the new kernel?

Yes.

Quote:
Did you copy it to /boot and updated your bootloader?

Yes.

Quote:
Are you mounting a writable medium?

It's a CD-RW.

Quote:
Are you using the above fstab entry?

Yes.

Quote:
Have you tried mounting by hand - mount -t auto -o=rw /dev/hdc /media/cdrecorder?

Yes. Same problem.

In the meantime I discovered two (rather similar) HOW-TOs on gentoo-wiki.org that might help:

http://gentoo-wiki.com/HOWTO_Packet_Writing_on_CD-RW_Media
http://gentoo-wiki.com/HOWTO_Packet_Writing_on_CD-RW

At first glance it seems I am missing UDF Device Support in my kernel. I will try with a new kernel and post the result.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Thu Oct 19, 2006 11:16 am    Post subject: Reply with quote

kds66 wrote:
Quote:
Have you tried mounting by hand - mount -t auto -o=rw /dev/hdc /media/cdrecorder?

Yes. Same problem.
[snip]
At first glance it seems I am missing UDF Device Support in my kernel. I will try with a new kernel and post the result.

If you can't do it manually, the problem isn't on /etc/fstab and probably means you're missing something in the kernel on in the system.
Just to let you know, UDF is used on DVDs, not on CDs - well, maybe mini-DVDs.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Tue Oct 24, 2006 9:20 pm    Post subject: Solved Reply with quote

Just reporting back that the problem appears to be gone after my latest kernel rebuild.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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