View previous topic :: View next topic |
Author |
Message |
kds66 Apprentice
Joined: 17 Oct 2006 Posts: 166 Location: Manaus, Brazil
|
Posted: Tue Oct 17, 2006 4:10 am Post subject: [SOLVED] Cannot mount /media/cdrecorder for write access |
|
|
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 |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Tue Oct 17, 2006 4:17 am Post subject: |
|
|
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 |
|
|
kds66 Apprentice
Joined: 17 Oct 2006 Posts: 166 Location: Manaus, Brazil
|
Posted: Tue Oct 17, 2006 10:25 pm Post subject: |
|
|
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 |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Wed Oct 18, 2006 2:03 am Post subject: |
|
|
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 |
|
|
kds66 Apprentice
Joined: 17 Oct 2006 Posts: 166 Location: Manaus, Brazil
|
Posted: Thu Oct 19, 2006 1:30 am Post subject: |
|
|
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 |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu Oct 19, 2006 11:16 am Post subject: |
|
|
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 |
|
|
kds66 Apprentice
Joined: 17 Oct 2006 Posts: 166 Location: Manaus, Brazil
|
Posted: Tue Oct 24, 2006 9:20 pm Post subject: Solved |
|
|
Just reporting back that the problem appears to be gone after my latest kernel rebuild. |
|
Back to top |
|
|
|