LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-05-2007, 07:31 AM   #1
int80
LQ Newbie
 
Registered: Nov 2007
Posts: 19

Rep: Reputation: 0
cdrom mount problems


I have been able to access my cdrom/DVD up until now. I haven't done anything that would warrant it not working.I don't get it, I can copy cd/DVDs with K3B, but for some reason, I can't mount the drive manually or using auto. I'm fairly sure it's something obvious (always is). I'm just not sure what. When I put the CD in, it just makes some accessing sounds, then idles, and does nothing. When I goto "Storage Media", it says it's unmounted.

Any help would be great.

Code:
Linux bt 2.6.20-BT-PwnSauce-NOSMP #3 Sat Feb 24 15:52:59 GMT 2007 i686 i686 i386 GNU/Linux

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


bt ~ # dmesg | tail
hdb: command error: status=0x51 { DriveReady SeekComplete Error }
hdb: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
ATAPI device hdb:
  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 hdb, sector 64
isofs_fill_super: bread failed, dev=hdb, iso_blknum=16, block=16

fstab:
Code:
tmpfs / tmpfs defaults 0 0 # AutoUpdate
devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
proc /proc proc defaults 0 0 # AutoUpdate
/dev/hdb /mnt/hdb_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
/dev/hda1 /mnt/hda1 ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
/dev/hda2 swap swap auto,defaults 0 0 # AutoUpdate
/dev/hda3 /mnt/hda3 reiserfs auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
/dev/fd0 /mnt/floppy vfat,msdos noauto,noatime,users,suid,dev,exec 0 0 # AutoUpdate


Code:
bt ~ # lsmod
Module                  Size  Used by
ipv6                  227680  12
snd_seq_dummy           3084  0
snd_seq_oss            30720  0
snd_seq_midi_event      5888  1 snd_seq_oss
snd_seq                44016  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6668  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            42048  0
snd_mixer_oss          15232  2 snd_pcm_oss
capability              3468  0
commoncap               5376  1 capability
fuse                   38804  0
lp                      9928  0
parport_pc             24548  0
parport                30408  2 lp,parport_pc
psmouse                35616  0
pcmcia                 31272  0
ata_generic             5256  0
i2c_i801                7180  0
i2c_core               17680  1 i2c_i801
yenta_socket           24476  1
rsrc_nonstatic         11276  1 yenta_socket
pcmcia_core            34488  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_hda_intel          17080  4
snd_hda_codec         198064  1 snd_hda_intel
snd_pcm                68752  4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              19336  3 snd_seq,snd_pcm
snd                    44644  14 snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               5984  2 snd
snd_page_alloc          7816  2 snd_hda_intel,snd_pcm
8139too                22032  0
mii                     4992  1 8139too
ehci_hcd               29336  0
uhci_hcd               21140  0
iTCO_wdt                9256  0
iTCO_vendor_support     3720  1 iTCO_wdt
intel_agp              21148  1
ipw2200               139112  0
agpgart                27952  1 intel_agp
ieee80211              30408  1 ipw2200
ieee80211_crypt         4480  1 ieee80211
evdev                   8320  0
shpchp                 30240  0

Last edited by int80; 11-05-2007 at 07:53 AM.
 
Old 11-05-2007, 08:39 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,804

Rep: Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730
Two things to check out. First of all, are you sure this is a data disk ( not a music disk ) you are trying to mount?

Second, you are specifying FS type of iso9660. You can try auto instead, that way you can mount any file system, other than a music CD. Try auto in your /etc/fstab file.

Note, in fstab you have the mount point set to /mnt/hdb_cdrom, not '/storage/media'. Either will work, just depends what you want.

Last edited by camorri; 11-05-2007 at 08:45 AM.
 
Old 11-05-2007, 08:42 AM   #3
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
I assume you've tried mounting several different data CDs that you know are accessible? Maybe your CD/DVD is broken? Boot up from a live CD if you have one and see about mounting that way. You'll be able to narrow it down to the OS or the actual drive that way.
 
Old 11-05-2007, 06:58 PM   #4
yulester
LQ Newbie
 
Registered: Oct 2007
Posts: 23

Rep: Reputation: 15
I'm betting it's not a bad CD

I'm having a similar problem with a CDROM/DVDROM too.

Mandriva Spring 2007 - Dell Precision 470

Yesterday, we recieved my son's Senior Pictures on a Walmart CD. After attempting to view them, HAL has locked out the CDROM Drive. Can't access any kind of CD/DVD.

Don't want to blame it on Walmart, but I'm getting nothing but problems from the HAL Deamon
 
Old 11-06-2007, 04:02 AM   #5
Misbah Naveed
Member
 
Registered: Oct 2007
Posts: 41

Rep: Reputation: 15
Urgent

Hi
I loaded the module PROMISE FastTrak TX2300/2200 series using the steps:
1.gcc -v
2.ln -s /lib/module/$(uname -r)/ build /usr/src/kernels/2.6.9-42.EL-i686
3.make clean
4.make
5.go to directory where the FastTrak module is placed.
6. Load module using modprobe sd_mod
7.insmod ftsata2.ko
Using lsmod shows that module has installed successfully.
If i want to replace the builtin USB module with this FastTrak module what should i do.
how can i disable the previous USB device.
 
Old 11-06-2007, 04:28 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
I looked at my lsmod output and compared. I have a "cdrom" module. It doesn't seem that you do.

Also, check if "iso9660" is listed in /proc/filesystems. If not, it could be that it wasn't compiled into the kernel but is a module.

Code:
 grep 9660 /boot/config-2.6.22.9-0.4-default
CONFIG_ISO9660_FS=y
Try modprobing "cdrom" and "iso9660" and then insert a cdrom into the drive. If this is an external usb cdrom drive, check if you have the "sr_mod" kernel module loaded.
 
Old 11-06-2007, 11:57 PM   #7
Misbah Naveed
Member
 
Registered: Oct 2007
Posts: 41

Rep: Reputation: 15
Hi
I want to load a new usb flash driver can anyone help about its source.
 
Old 11-07-2007, 01:23 AM   #8
Misbah Naveed
Member
 
Registered: Oct 2007
Posts: 41

Rep: Reputation: 15
Hi
the module i am using is shown in module list using lsmod command
but when i reboot the system i have to repeat the above steps to install the module
help me how this module of FastTrak can be exist after rebooting the system too.
should i compile the kernel too if yes....
what is the method of recompiling the kernel 2.6.9-42.EL for redhat Enterprise Version
Waiting 4 reply
 
Old 11-08-2007, 01:04 AM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
Misbah Naveed; You really shouldn't hijack a thread. From the name, it looks like that driver is for a fasttrak sata controller card or a raid controller rather than for a usb drive. It probably came with an install script that inserts the driver into initrd. If not, check if you have a /etc/sysconfig/kernel file. There is a line in it where you can add modules that should be added to initrd so that they are loaded right away. (After running mkintrd) Different distro's use different methods for doing this, so you need to indicate which distro you are using.

Also look in the README file on manual installation. It may contain info on adding a line to /etc/modprobe.conf or to copy a file to the /etc/modprobe.d/ directory.

If this is for a motherboard raid controller, it actually is still software raid, and you may want to use Linux software raid instead.

Last edited by jschiwal; 11-08-2007 at 01:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cdrom mount problems. tamtam Slackware - Installation 14 09-03-2006 11:44 AM
Problems with cdrom mount? brett90 Slackware 3 05-08-2005 09:39 AM
mount problems for cdrom dwaldie Conectiva 3 08-24-2004 10:26 AM
cdrom mount problems ergo_sum Linux - Newbie 2 09-19-2003 08:56 PM
mount /cdrom problems legin Slackware 3 08-02-2003 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:12 AM.

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