LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-17-2003, 05:58 PM   #1
shigeru
LQ Newbie
 
Registered: May 2003
Location: Japan saitama city
Distribution: redhat
Posts: 8

Rep: Reputation: 0
can't read CDROM


Hi,

I can't read CDROM.
What's wrong now while I could read it before many times.

I re-installed redhat9 that means CD worked well.
Also it recogizes CD when I put CD on boot time.
But after system is booted up, I can never read CDROM again.

fstab says:
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

mount /dev/cdrom /mnt/cdrom says:
not a dierctory or i/o error happens.
(I put a redhat9 disc1 that is really readable at boot)

Please give me a hint.

Thanks,
Shigeru
 
Old 08-17-2003, 06:14 PM   #2
pretoriano
LQ Newbie
 
Registered: Jul 2003
Location: Italy
Distribution: Debian Sid
Posts: 9

Rep: Reputation: 0
Hi, did you tried mounting the cdrom with root account?
I would edit the fstab file, changing noauto to auto so linux will make the work for me mounting the device when a media is inserted.

Try this first

Excuse for my not so fine english
 
Old 08-17-2003, 08:55 PM   #3
shigeru
LQ Newbie
 
Registered: May 2003
Location: Japan saitama city
Distribution: redhat
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,

the problem is not auto mount but never be mounted in any way.
I did it as root but not mounted.
 
Old 08-17-2003, 11:56 PM   #4
pretoriano
LQ Newbie
 
Registered: Jul 2003
Location: Italy
Distribution: Debian Sid
Posts: 9

Rep: Reputation: 0
Probably the link who refers /dev/cdrom is changed.
Did you enabled scsi emulation? If so your cdrom is not more seen as /dev/hdx but as /dev/scd0 with a symbolic link to /dev/cdrom.

Type ls -l /dev/cdrom as root and check the symbolic link to wich device refer then at console prompt type "dmesg" and check under wich device is recognised the cdrom.
 
Old 08-18-2003, 02:17 AM   #5
shigeru
LQ Newbie
 
Registered: May 2003
Location: Japan saitama city
Distribution: redhat
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,

Thanks and I guess you're right.

ls /dev/cdrom* says:
/dev/cdron -> /dev/hdc
/dev/cdrom1 -> /dev/scd0

dmesg says repeatedly:
UDF-fs DEBUG super.c:1157:udf_check_valid: Failed to read byte 32768. Assuming open disc. Skipping validity check
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 1306628

I didn't know and didn't intend to enable scsi emulation.
How can I turn off this emulation?

Thanks and regards
Shigeru Serizawa
 
Old 08-18-2003, 09:31 AM   #6
pretoriano
LQ Newbie
 
Registered: Jul 2003
Location: Italy
Distribution: Debian Sid
Posts: 9

Rep: Reputation: 0
Is /dev/cdrom your dvd and /dev/cdrom1 your burning device?

Make this test initially, edit fstab file giving to cdrom only iso9660 file system without UDF. Maybe this option may resolve quickly the problem.

To tunr off ide-scsi emulation you have to check if this is activated as a kernel module. So in a root's shell type "lsmod" to see which kernel modules are activated. Then if you see in that list ide-scsi type "modconf" and select the module under the scsi section and remove it from kernel.


I hope this help
 
Old 08-18-2003, 05:44 PM   #7
shigeru
LQ Newbie
 
Registered: May 2003
Location: Japan saitama city
Distribution: redhat
Posts: 8

Original Poster
Rep: Reputation: 0
Hi, thanks for your reply,
I guess I'm close to fix this, but still in trouble...

First I edited fstab to delete udf and booted the system, but it still in same trouble.
CDROM and CDROM1 are IDE ATAPI devices for CDROM and CDRW and they looks as below in dmesg:
-----------------------------------
hdc: SAMSUNG CD-ROM SCR-2432, ATAPI CD/DVD-ROM drive
hdd: LG CD-RW CED-8080B, ATAPI CD/DVD-ROM drive
...
hdc: attached ide-cdrom driver.
hdc: ATAPI 32X CD-ROM drive, 512kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: LG Model: CD-RW CED-8080B Rev: 1.00
Type: CD-ROM ANSI SCSI
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
------------------------------------
Linux seems automatically attach scsi driver for CDROM1.
lsmod says below:
ide-scsi 12208 0
scsi_mod 107544 3 [sg sr_mod ide-scsi]
ide-cd 35712 0
cdrom 33728 0 [sr_mod ide-cd]

I didn't find modconf command in my system.

I'm sorry to attach a lot of raw messages, but please give me another help.

Thanks a lot,
Shigeru Serizawa
 
Old 08-18-2003, 06:55 PM   #8
pretoriano
LQ Newbie
 
Registered: Jul 2003
Location: Italy
Distribution: Debian Sid
Posts: 9

Rep: Reputation: 0
Ok, try this:

as root edit file /etc/modules , here is a list of all modules loaded at boot-time. Try to comment with "#" ide-scsi. Then reboot, this time the scsi emulation should be not activated and your devices listed only as hdc and hdd.

When I was using Redhat8.0 last year I had a lot of problems concerning the scsi emulation (at each boot I had to rebuild the symlink /dev/cdrom-->/dev/scda-->/dev/hdc) The problem is that the emulation is necessary to use mastering program such as k3b,cdroast...

In other chance you could rebuild your kernel WITHOUT ide-scsi support or pass to Debian

Excuse me for poor english.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not read CDROM steve4586 SUSE / openSUSE 2 11-07-2005 10:41 AM
CDROM will not read CD's bear2x Linux - Hardware 9 04-17-2005 11:29 PM
cdrom does not read all files aeruzcar Linux - Software 5 09-25-2003 10:21 AM
can't read from /dev/cdrom SiQDiZ Linux - Hardware 5 06-03-2003 02:49 PM
CDrom cannnot read. whitefox Slackware 5 04-19-2003 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06: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