LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-30-2002, 08:41 PM   #1
SPMcRuube
LQ Newbie
 
Registered: Nov 2002
Location: Hubbs of Hell (south Texas)
Distribution: Red Hat 8.0
Posts: 9

Rep: Reputation: 0
RedHat freezes mounting/or trying to write to CDRW


Just to clear the air.
I'm running Redhat 8.0 probably kernel 2.4.18-14 and
I'm not using a boot loader. I'm using a boot floppy.

When I insert a data cd and try to mount it. in KDE the drive spins up and then Linux freezes. the CAPS lock and Scroll Lock lights on the Keyboard flash and that's about it. Can't do anything other than a hard reboot. When I place a Blank CD-R in the drive and try using the basic KonCd the same thing happens (spins up then locks)

On the boot floppy in the syslinux.cfg file appears the following.
default linux
prompt 1
display boot.msg
timeout 100
label linux
kernel vmlinuz
append initrd=initrd.img hdc=ide-scsi root=/dev/hda3

I tried before to remove the "-scsi" line in hdc=ide-scsi and that allowed me to mount cd again but I couldn't write with the cd writer.

So what do I do now. I replaced the "-scsi" line and the writing software can see the burner. but it still locks up. What needs to be done. I read something about changing the etc/fstab or something. Please let me know. I would like to be able to use my cdrw drive.

Thanks for any help
 
Old 11-30-2002, 08:58 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
This is friggin weird, you can try obliterating the /etc/fstab line that deals with your cdr at all, reboot, and then manually mount the drive from the command line, that'll at least rule out any of RH's funky fstab options from being the issue. Before that check "dmesg" for the SCSI emulation line about the CDR, it should stand out a bit and be near the end. There might be a hint in there.

Cheers,

Finegan
 
Old 11-30-2002, 09:14 PM   #3
SPMcRuube
LQ Newbie
 
Registered: Nov 2002
Location: Hubbs of Hell (south Texas)
Distribution: Red Hat 8.0
Posts: 9

Original Poster
Rep: Reputation: 0
dmesg info

Well I don't like the Idea of removing the line about the cdrom from etc/fstab

this is what the line says:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0

Like I said there was something I read but didn't understand. Something about replacing that line I read it here.

http://www.ircee.com/sxs/ide.html

I ran dmesg it's a little long cause I don't know the more specific thing uh yeah. you know what i mean. anyway these are a few lines I found that may be relevent. These of course are pulled form the dmesg not in sequential order

Kernel command line: initrd=initrd.img hdc=ide-scsi root=/dev/hda3 BOOT_IMAGE=vmlinuz
ide_setup: hdc=ide-scsi

hdc: YAMAHA CRW2200E, ATAPI CD/DVD-ROM drive

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: YAMAHA Model: CRW2200E Rev: 1.0D
Type: CD-ROM ANSI SCSI revision: 02

Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12

So I dunno if any of that is helpful. Let me know if that URL means anything. And if so How do I do that for Red Hat 8.0 is it tricky remember I'm a newbie
 
Old 12-01-2002, 12:27 AM   #4
SPMcRuube
LQ Newbie
 
Registered: Nov 2002
Location: Hubbs of Hell (south Texas)
Distribution: Red Hat 8.0
Posts: 9

Original Poster
Rep: Reputation: 0
Unhappy editing etc/fstab no good

I tried the following commands

# rm /dev/cdrom
# ln -s /dev/scd0 /dev/cdrom

and I didn't get an error
I had to log in as root to mount the Cd but
the same thing happened. it spun up for a little longer than before and then boom fozen. manual hard re-boot.

is there something I am missing?
Can anyone please help.
 
Old 12-01-2002, 01:28 AM   #5
SPMcRuube
LQ Newbie
 
Registered: Nov 2002
Location: Hubbs of Hell (south Texas)
Distribution: Red Hat 8.0
Posts: 9

Original Poster
Rep: Reputation: 0
Oh yeah,

I also changed in the etc/fstab /dev/cdrom to /dev/scd0

if that is of any use to the mighty troubleshooters.



would I be able to write cd's if I remove all refrence to /dev/cdrom or /dev/scd0 as it is now from etc/fstab? or is that going to cause more trouble. And if I do does that mean removing that entire line or just the line dev/scd0?
 
Old 12-03-2002, 12:00 AM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Your cdrw is /dev/sr0
-----
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
-----
You need to adjust your fstab and symlink to the correct device, then make a new group called 'cdwrite' change the ownership of all devices and cdwriting apps to group cdwrite and add your user to group cdwrite.
 
Old 12-07-2002, 04:00 PM   #7
SPMcRuube
LQ Newbie
 
Registered: Nov 2002
Location: Hubbs of Hell (south Texas)
Distribution: Red Hat 8.0
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you, sorry about the late response.

Ok Thank you for your reply. Sorry about my late reply I've been out of town.

However, I don't think I follow you. I understand now that the cdrom is dev/sr0 but I'm not sure how to do all of what you suggested.
perhaps you could point me in the direction of some documentation that could assist me in completing the task.

Thank you again for your response.
 
  


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
CDRW: can play or write, but not both! Lord Zoltar Linux - Hardware 2 08-24-2004 10:18 PM
cdrw won't write on dell latitude with Mandrake krome Linux - Hardware 2 06-26-2004 11:20 AM
Cant write with CDRW Gates1026 Linux - General 17 01-07-2004 05:37 AM
Read/Write to DirectCD formatted CDRW? mcarter Mandriva 1 08-31-2003 07:55 PM
PC freezes at end of CDRW burn session hwood7587 Linux - Hardware 5 08-07-2003 09:01 AM

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

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