LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-13-2009, 06:00 PM   #1
jxrod2000
Member
 
Registered: Apr 2006
Location: MA, USA
Distribution: OpenSuse 11
Posts: 34

Rep: Reputation: 15
Can't read from CD-ROM or Floppy


Hello,

Just installed opensuse 11.1 over the network, and now I am unable to read the CD-ROM or Floppy.

/dev/sr0 and /dev/fd0 exist

I created /media/cdrom and media/floppy because they did not exist

I added the following lines to /etc/fstab
/dev/sr0 /media/cdrom auto noauto,user,sync 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0

as root when I try to mount: mount /media/cdrom I get
mount: /dev/sr0: unknown device

as root when I try to mount: mount /media/floppy I get
mount: you must specify the filesystem type (I shouldn't have to, I don't on my other opensuse 11.1 machine)

display of ll /dev/sr*
brw-rw----+ 1 root disk 11, 0 2009-06-13 18:22 /dev/sr0

display of ll /dev/fd0
brw-rw---- 1 root floppy 2, 0 2009-06-13 18:22 /dev/fd0

My other machine running the same version works perfectly, meaning the DVD/CD/Floppy are recognized by UDEV.

I have hit a road block, and I'm not sure of what else to look for.

Your help would be appreciated.

Thanks,
Joe.
 
Old 06-14-2009, 01:13 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
I tried my floppy, got the same results. So I edited /etc/fstab and added this :

Quote:
# Entry for /dev/fd0 :
/dev/fd0 /home/cliff/mnt/floppy auto defaults 0 0
and made a mount point in my home folder to match.

Did a 'mount /dev/fd0' it mounted.

As for a data disk in sr0, I just stuck it in, it was detected, and mounted to /media. I have to believe automount has something to do with it. There is no entry in my fstab for /dev/sr0. I'm running Mandriva 2009.1 for what its worth...

Automount is not active in all system, as far as I know. If it is not active, creating a mount point, and an fstab entry should allow it to be mounted.
 
Old 06-14-2009, 08:34 AM   #3
jxrod2000
Member
 
Registered: Apr 2006
Location: MA, USA
Distribution: OpenSuse 11
Posts: 34

Original Poster
Rep: Reputation: 15
Follow up

This is from dmesg after booting:
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.20
sr 2:0:1:0: Attached scsi CD-ROM sr0

Floppy drive(s): fd0 is 1.44M


This is from dmesg after inserting a cd:
Buffer I/O error on device sr0, logical block 0
Buffer I/O error on device sr0, logical block 1
Buffer I/O error on device sr0, logical block 2
Buffer I/O error on device sr0, logical block 3
sr 2:0:1:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sr 2:0:1:0: [sr0] Sense Key : Hardware Error [current]
sr 2:0:1:0: [sr0] Add. Sense: Logical unit communication CRC error (Ultra-DMA/32)
end_request: I/O error, dev sr0, sector 0


This is odd since I used the CD to install the OS so I know it's not the hardware.
 
Old 06-14-2009, 01:16 PM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
I am by no means an expert here. Some thoughts.

Is this really a scsi drive and controller? Or is it a IDE drive running with scsi emulation?

For what its worth, my IDE drive show up as scsi also. In order for it to work, scsi modules have to be loaded. Just a guess, have a look at what 'lsmod' shows you for modules. This is what I see...

Quote:
ide_generic 2336 0 [permanent]
pata_amd 10656 0
ata_generic 4576 0
ide_pci_generic 3552 0
ide_gd_mod 23328 0
ide_core 106924 3 ide_generic,ide_pci_generic,ide_gd_mod
pata_acpi 3868 0
sata_nv 22276 3
libata 172780 4 pata_amd,ata_generic,pata_acpi,sata_nv
sd_mod 33944 4
scsi_mod 150932 4 sr_mod,sg,libata,sd_mod
crc_t10dif 1628 1 sd_mod
And from dmesg...

Quote:
dmesg | grep sr0
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
sr 2:0:0:0: Attached scsi CD-ROM sr0
If this is a IDE drive ( the majority of them are ) then you do need modules loaded ( or compiled in the kernel ) to support the scsi emulation.

See what you have, that may be a clew.
 
  


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
No CD-ROM, no floppy install beebop Fedora - Installation 2 02-20-2006 12:49 PM
permission denied! floppy cd-rom dvd-rom HELP! OMEGA-DOOM Linux - Software 17 10-15-2004 05:40 PM
Cd-Rom nor Floppy are Mounting vi0lat0r Linux - Hardware 2 03-22-2004 07:12 AM
how to add cd-rom, dvd-rom, floppy, hard disk icons on gnome desktop? spyghost Linux - Software 6 09-21-2003 05:44 PM
CD Rom and floppy bmike1 Linux - Hardware 9 08-07-2003 12:53 AM


All times are GMT -5. The time now is 01:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration