Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Can't mount /dev/cdrom
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
amightywind
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 137
Location: Andover, MN USA

PostPosted: Fri Dec 15, 2006 2:27 am    Post subject: [Solved] Can't mount /dev/cdrom Reply with quote

I went to rip a cd today and found that my cd wouldn't mount. I have a Sony CDRW/DVD combo drive. It has recently stopped working. I don't know if some kernel config variables changed. My kernel version is 2.6.18-gentoo-r4. /dev/cdrom exists:

# ls cdrom
lrwxrwxrwx 1 root root 3 Dec 14 18:53 cdrom -> hdc
# ls hdc
brw-rw---- 1 root cdrom 22, 0 Dec 14 18:53 hdc

I am using linux-2.6.18-gentoo-r4. Here is the failed mount:

# mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Here is my fstab
/dev/cdrom /mnt/cdrom iso9660 user,noauto,ro 0 0

Here is the end of my dmesg:

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
The failed "Read 10" packet command was:
"28 00 00 00 00 10 00 00 01 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 64
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16

Here are the config settings:

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=y
CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set
...
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set

Thanks for your time.
_________________
amightywind


Last edited by amightywind on Sat Dec 16, 2006 12:31 am; edited 1 time in total
Back to top
View user's profile Send private message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Fri Dec 15, 2006 4:46 am    Post subject: Reply with quote

what does ls -la /dev/cdrom say? permissions wise?
Back to top
View user's profile Send private message
amightywind
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 137
Location: Andover, MN USA

PostPosted: Fri Dec 15, 2006 2:10 pm    Post subject: Reply with quote

The listings of the permissions are at the top of the first message. Thanks.
_________________
amightywind
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Fri Dec 15, 2006 2:36 pm    Post subject: Reply with quote

Did you test a different CD first?

What is the output of:
Code:
cat /proc/config.gz | gunzip | grep CODEPAGE

or if no proc/config.gz support in kernel

cat /usr/src/linux/.config| grep CODEPAGE
Back to top
View user's profile Send private message
amightywind
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 137
Location: Andover, MN USA

PostPosted: Fri Dec 15, 2006 10:39 pm    Post subject: Reply with quote

I did try another cd. My first thought was that the new one was DRM'ed. What does *CODEPAGE* control?

$ cd /usr/src/linux
$ grep CODEPAGE .config
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
_________________
amightywind
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Fri Dec 15, 2006 10:54 pm    Post subject: Reply with quote

amightywind:
The error could indicate, that you try to mount an audio cd, which isn't possible. Did you ?
Back to top
View user's profile Send private message
amightywind
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 137
Location: Andover, MN USA

PostPosted: Sat Dec 16, 2006 12:30 am    Post subject: [Solved] Can't mount /dev/cdrom Reply with quote

> The error could indicate, that you try to mount an audio cd, which isn't possible. Did you ?

This got me looking elsewhere. My problem is gnome configuration. I am using new gnome programs in an older environment [xfce] that doesn't work well with them yet. Thanks.
_________________
amightywind
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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