LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't mount CD-ROM - part2 (https://www.linuxquestions.org/questions/slackware-14/cant-mount-cd-rom-part2-343233/)

skybell 07-14-2005 04:14 PM

Can't mount CD-ROM - part2
 
Hi everybody! i know there is another 3d about it but
following that istructions i couldn't fix my similar problem...
i can't mount my dvd and cd-rw.
Info:

fstab
/dev/hda3 swap swap defaults 0 0
/dev/hda2 / ext3 defaults 1 1
/dev/hda1 /fat-c vfat auto,rw,umask=000 1 0
/dev/hdb1 /fat-d vfat auto,rw,umask=000 1 0
/dev/dvd /mnt/dvd auto noauto,user,ro 0 0
/dev/cd-rw /mnt/cd-rw iso9660 noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

ls -l /dev/cd-rw /dev/dvd /dev/hd?
lrwxrwxrwx 1 root root 8 2005-07-13 19:41 /dev/cd-rw -> /dev/hdd
lrwxrwxrwx 1 root root 8 2005-07-13 19:40 /dev/dvd -> /dev/hdc
brw-rw---- 1 root disk 3, 0 2002-06-09 21:27 /dev/hda
brw-rw---- 1 root disk 3, 64 2002-06-09 21:27 /dev/hdb
brwxrwxrwx 1 root disk 22, 0 2002-06-09 21:27 /dev/hdc
brwxrwxrwx 1 root disk 22, 64 2002-06-09 21:27 /dev/hdd
brw-rw---- 1 root disk 33, 0 2002-06-09 21:27 /dev/hde
brw-rw---- 1 root disk 33, 64 2002-06-09 21:27 /dev/hdf
brw-rw---- 1 root disk 34, 0 2002-06-09 21:27 /dev/hdg
brw-rw---- 1 root disk 34, 64 2002-06-09 21:28 /dev/hdh
brw-rw---- 1 root disk 56, 0 2002-06-09 21:28 /dev/hdi
brw-rw---- 1 root disk 56, 64 2002-06-09 21:28 /dev/hdj
brw-rw---- 1 root disk 57, 0 2002-06-09 21:28 /dev/hdk
brw-rw---- 1 root disk 57, 64 2002-06-09 21:28 /dev/hdl
brw-rw---- 1 root disk 88, 0 2003-09-02 22:02 /dev/hdm
brw-rw---- 1 root disk 88, 64 2003-09-02 22:02 /dev/hdn
brw-rw---- 1 root disk 89, 0 2002-06-09 21:28 /dev/hdo
brw-rw---- 1 root disk 89, 64 2002-06-09 21:28 /dev/hdp
brw-rw---- 1 root disk 90, 0 2002-06-09 21:28 /dev/hdq
brw-rw---- 1 root disk 90, 64 2002-06-09 21:28 /dev/hdr
brw-rw---- 1 root disk 91, 0 2002-06-09 21:28 /dev/hds
brw-rw---- 1 root disk 91, 64 2002-06-09 21:28 /dev/hdt

ls -l /mnt/
drwxrwxrwx 2 root root 4096 2005-07-13 19:43 cd-rw
drwxrwxrwx 2 root root 4096 2005-07-13 19:43 dvd
drwxr-xr-x 2 root root 4096 2002-03-16 08:34 floppy
drwxr-xr-x 2 root root 4096 2002-03-16 08:34 hd

cat /proc/ide/hdc/model
SAMSUNG DVD-ROM SD-616T

cat /proc/ide/hdd/model
ASUS CRW-4012A

mount -a /dev/dvd /mnt/dvd/
mount -t auto /dev/dvd /mnt/dvd/
mount -t iso9660 /dev/dvd /mnt/dvd/
mount: /dev/dvd is not a valid block device

mount -a /dev/cd-rw /mnt/cd-rw/
mount -t auto /dev/cd-rw /mnt/cd-rw/
mount: block device /dev/cd-rw is write-protected, mounting read-only
mount: you must specify the filesystem type

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

dmesg | tail
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 0
EXT3-fs: unable to read superblock
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 64
isofs_fill_super: bread failed, dev=hdd, iso_blknum=16, block=16

suggestions?

Matir 07-14-2005 04:20 PM

Those messages from dmesg look like a failing drive or cable. Try reseating or replacing the cable. (I've seen this one MANY times). Additionally, does the drive spin at all when you are attempting to mount?

skybell 07-14-2005 04:25 PM

the drivers are working fine under winxp. when i try to mount them there isn't any strange spinning

skybell 07-15-2005 04:09 AM

up

Nitrox 07-16-2005 04:06 AM

hdd: command error: status=0x51 { DriveReady SeekComplete Error }

That line caught my eye. It could be you have the wrong Motherboard Drivers
installed (probably using Generic IDE). I too had this problem, and recompiling
the kernel with VIA Chipset Drivers fixed it right up.

Or, worst case scenario, failing hard disk. :( As Matir pointed out.

samac 07-16-2005 09:03 AM

I believe dvd and cd/rw use a kernel module called "ide-scsi" (I think, could be wrong about the name).

If you use lilo and the 2.4 kernel "append hdc=ide-scsi hdd=ide-scsi" to /etc/lilo.conf, the 2.6 kernel "append hdc=ide-cd hdd=ide-cd", then rerun lilo as root and reboot.

If you are using grub, I don't know.

Who knows I might even be completely off track, but it is simple enough to be worth a try.

Samac

skybell 07-16-2005 01:04 PM

still doesn't work. i've recompiled the kernel with the correct drivers VT82CXXXX
and added the append command on lilo. the error messages are the same as before.
maybe the problem stick to the kernel configuration.

lspci
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235
PIPC Bus Master IDE (rev 06)

config
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# 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 is not set
CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_IDE_GENERIC is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

tmantist 07-16-2005 05:37 PM

use 'smartctl --info /dev/suspicious_problem_drive' to see if your hard drive or cdrom drive supports Self-Monitoring Analysis and Reporting Technology(SMART). If if does you can use smartctl to ask your drive if it's about to die, it'll be honest. Drives are reliable and dirt cheap now.

Are you trying to mount a cd-rw with a ext3 filesystem on it? I don't think that works yet. You have to use mkisofs with the RockRidge extensions to get features of Unix onto a CD-r/rw.

tmantist 07-16-2005 05:43 PM

Your media could be corrupted. Say you made the cd-rw at 24x speed, when the media only supports 10x or so. If you have crucial data on the disk you can use 'dd' to rescue your data from the cd and put the iso-image in a safe place to be analyzed, or you can use cdrecord to "clone" the disk to a file on your hard disk.

tmantist 07-16-2005 05:57 PM

You have DMA on. That's good as the new devices has DMA as the industry's "pet feature".

CONFIG_IDE_GENERIC
CONFIG_IDE_CHIPSETS
CONFIG_BLK_DEV_GENERIC is not set. The kernel config tool recommends that you enable those options, you have them as not set. I think it's something to tinker with.

egag 07-16-2005 06:09 PM

are you trying to mount an audio cd ?
if so...use a data cd.

egag

skybell 07-17-2005 01:36 AM

great! now i can mount my slackware cd... i added the three option as Tmantist adviced me.
ok. almost done.
i can't mount music cd. i tried with -t iso9660. there's another type of fs for music cd?

skybell 07-17-2005 07:46 AM

i still can't mount music cd but i can listen it from the dvd driver with KsCD. that's could be enough for you r patience to aswering to my problems but....
if also the cd-rw plays music will be a really satisfaction!

keefaz 07-17-2005 09:47 AM

The audio cd can't be mounted as they don't contain any filesystem,
only audio and index data

Did you try to configure KsCD, so it reads /dev/hdd instead of /dev/hdc ?

skybell 07-17-2005 10:23 AM

to play my music cd on KsCD i had configured to use /dev/dvd (sym link to hdc). when i select /dev/cd-rw, KsCD works regularly but with no sound


All times are GMT -5. The time now is 10:50 AM.