LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2005, 04:14 PM   #1
skybell
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Rep: Reputation: 0
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?
 
Old 07-14-2005, 04:20 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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?
 
Old 07-14-2005, 04:25 PM   #3
skybell
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
the drivers are working fine under winxp. when i try to mount them there isn't any strange spinning
 
Old 07-15-2005, 04:09 AM   #4
skybell
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
up
 
Old 07-16-2005, 04:06 AM   #5
Nitrox
Member
 
Registered: Aug 2004
Location: Detroit.
Distribution: Slack 12.1 - Vector (exp)
Posts: 51

Rep: Reputation: 15
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.
 
Old 07-16-2005, 09:03 AM   #6
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
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
 
Old 07-16-2005, 01:04 PM   #7
skybell
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 07-16-2005, 05:37 PM   #8
tmantist
Member
 
Registered: Jun 2005
Location: Florida, USA
Distribution: ~~~Slackware~~~
Posts: 86

Rep: Reputation: 15
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.

Last edited by tmantist; 07-16-2005 at 05:44 PM.
 
Old 07-16-2005, 05:43 PM   #9
tmantist
Member
 
Registered: Jun 2005
Location: Florida, USA
Distribution: ~~~Slackware~~~
Posts: 86

Rep: Reputation: 15
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.
 
Old 07-16-2005, 05:57 PM   #10
tmantist
Member
 
Registered: Jun 2005
Location: Florida, USA
Distribution: ~~~Slackware~~~
Posts: 86

Rep: Reputation: 15
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.
 
Old 07-16-2005, 06:09 PM   #11
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
are you trying to mount an audio cd ?
if so...use a data cd.

egag
 
Old 07-17-2005, 01:36 AM   #12
skybell
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
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?
 
Old 07-17-2005, 07:46 AM   #13
skybell
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
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!
 
Old 07-17-2005, 09:47 AM   #14
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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 ?
 
Old 07-17-2005, 10:23 AM   #15
skybell
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
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

Last edited by skybell; 07-17-2005 at 10:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Mount CD-ROM Kenji Miyamoto Linux - Hardware 5 07-09-2005 02:30 AM
cdrom not seen Part2 redbeansnrice Slackware 6 02-28-2005 06:28 AM
cd-rom and dvd-rom drives won't mount... :-( Ausar Linux - Newbie 12 09-01-2004 02:51 PM
Need some help badly Part2 Rolby Linux - Hardware 2 06-21-2004 03:29 PM
Multiple cd-rom icons from one cd-rom mount CEG Linux - General 5 02-04-2004 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration