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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-31-2003, 12:18 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Rep:
|
linux says my CD writer is read-only
I've got a cd writer which I'm trying to properly configure. I have a /mnt/cdrw dir which points to /dev/scd0. My fstab file looks like this
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,user,kudzu,rw,exec,umask=000 0 0
/dev/cdrom /mnt/cdrom iso9660 owner,ro,mode=444,noauto 0 0
/dev/cdrw /mnt/cdrw iso9660 owner,rw,mode=444,noauto 0 0
my grub.conf file has been appended with hdc=ide-scsi. And /dev/scd0, /dev/hdc, and /mnt/cdrw all have read write and execute privilages. Yet, when I mount the cdrw I get the following message:
mount: block device /dev/cdrw is write-protected, mounting read-only
Does anyone know what I need to do to fix this? Any help would be greatly appreciated.
Jason
|
|
|
12-31-2003, 01:00 PM
|
#2
|
Member
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83
Rep:
|
What that means is that you cannot mount /dev/cdrw, and cp or mv files to it. A cd-rw still MUST use cd burning software.
|
|
|
12-31-2003, 01:21 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Original Poster
Rep:
|
cexshun,
I'm not quit sure what you mean. If i try to use cdrecord to burn a file to the drive i get the following:
[root@localhost jason]# cdrecord -v dev=0,0,0 nix.jpg
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jrg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'MITSUMI '
Identifikation : 'CR-4804TE '
Revision : '2.6C'
Device seems to be: Philips CDD-522.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET RAW/R16 RAW/R96R
Drive buf size : 1343488 = 1312 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 0 MB padsize: 532 KB
Total size: 0 MB (00:04.02) = 302 sectors
Lout start: 1 MB (00:06/02) = 302 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Is not unrestricted
Is not erasable
Disk sub type: Medium Type A, high Beta category (A+) (3)
ATIP start of lead in: -11324 (97:31/01)
ATIP start of lead out: 336225 (74:45/00)
Disk type: Long strategy type (Cyanine, AZO or similar)
Manuf. index: 22
Manufacturer: Ritek Co.
Blocks total: 336225 Blocks current: 336225 Blocks remaining: 335923
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01: 0 of 0 MB written.
WARNING: padding up to secsize.
Track 01: writing 532 KB of pad data.
Track 01: Total bytes read/written: 69572/614400 (300 sectors).
Writing time: 4.053s
Average write speed 1.4x.
Fixating...
Fixating time: 60.398s
cdrecord: fifo had 2 puts and 2 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
The cd writer seems to doing something. When the process is finished the disk looks like something was written to it but there's nothing on it.
|
|
|
12-31-2003, 01:40 PM
|
#4
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Original Poster
Rep:
|
One more thing, when i try to mount the drive using mount -r -t iso9660 /dev/cdrw /mnt/cdrw I get :
mount: wrong fs type, bad option, bad superblock on /dev/cdrw,
or too many mounted file systems
I've tried three different brands of disks and still no luck.
What else might be causing this?
|
|
|
All times are GMT -5. The time now is 02:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|