LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CD RW -- Writing Data to CD (https://www.linuxquestions.org/questions/linux-hardware-18/cd-rw-writing-data-to-cd-135053/)

dnachtwey 01-15-2004 08:13 AM

CD RW -- Writing Data to CD
 
I have LINUX 9 on my Dell Intel Xeon system

I recently purchased CDRW and installed it on my system. The system
will read data on a CD but will not recognize a blank CD. When I try
to mount the drive, I get the following message:

"mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)"

Still Learning. Thanks for your help.

Skyline 01-15-2004 08:37 AM

What's Linux 9 ??

Quote:

The system will read data on a CD but will not recognize a blank CD. When I try to mount the drive, I get the following message:
How does it "read data on a cd" without already being mounted? - post the out of

dmesg

if the device name is /dev/sr0 you'll need this in the relevant /etc/fstab entry - also - post your full /etc/fstab file..

frieza 01-15-2004 08:46 AM

well, of course you can't 'mount' a blank cd as an fs, there is no fs on a blank cd, you need special software to write to cdrws
look here
http://www.linuxberg.com/cd_burners_default.html

dnachtwey 01-15-2004 08:47 AM

The OS is Red Hat Linux 9.0.

I can read data on a CD (install disk, pre burned CD, etc.). When I pop in a blank CD R and try to write to it, I get errors. I have tried several brands of writeable disks and get the same results.

michaelk 01-15-2004 08:50 AM

Which linux 9? Mandrake, Redhat ...

You can not mount a blank CD. No data, no filesystem.

Did linux configure the drive automatically for you?

Skyline 01-15-2004 08:50 AM

We need to know the device name of the drive from your dmesg output - also what current line you are using in /etc/fstab - post both in full.

michaelk 01-15-2004 08:53 AM

What application are you using to burn the CD?

What are the errors?

dnachtwey 01-15-2004 08:57 AM

I have X-CD Roast and another CD write tool that came installed with my system. Roast gives me an error (complains about ATAPI device) and the other tool does nothing.

Will have to post exact error, etc. when I return to the system later today.

Skyline 01-15-2004 09:00 AM

Well if you'd post your dmesg output - we could see the device name of your CD RW drive and whether its using scsi emulation - you might need to put the device name of the cd rw drive in the X CD Roast setup tab and modify the relevant /etc/fstab entry also.........

dnachtwey 01-15-2004 05:34 PM

The following is my config file from X cdroast and after that is my etc/fstab. Where do i find dmesg?

WRITER_DEVNR = -1
READER_DEVNR = 1024
#
WRITERREADER_DEVNR = 1024
WRITERREADER_DEVICESTR = "ATAPI:0,0,0"
WRITERREADER_VENDOR = "Lite-On "
WRITERREADER_MODEL = "LTN486S 48x Max "
WRITERREADER_REV = "YDS6"
WRITERREADER_READMAXSPEED = 48
WRITERREADER_CDRMAXSPEED = 0
WRITERREADER_DVDMAXSPEED = 0
WRITERREADER_WRITER_FLAGS = ""
WRITERREADER_WRITER_MODES = ""
WRITERREADER_IS_CDRWRITER = 0
WRITERREADER_IS_DVDWRITER = 0
WRITERREADER_IS_DVDREADER = 0
WRITERREADER_SECTOR_SIZE = 2048
WRITERREADER_DRVMODE = -1
WRITERREADER_MODE = 0
WRITERREADER_SPEED = 48
WRITERREADER_FIFO = 4096
WRITERREADER_AUDIOREAD_INTERFACE = 0
WRITERREADER_AUDIOREAD_SPEED = 12
WRITERREADER_AUDIOREAD_OVERLAP = 0
WRITERREADER_AUDIOREAD_SECTORBURST = 75
WRITERREADER_AUDIOREAD_USEPARANOIA = 0
WRITERREADER_AUDIOREAD_PARANOIARETRIES = 20
#
IMAGE_DIRS = "/dev"
DSP_DEVICE = "/dev/dsp"
MIX_DEVICE = "/dev/mixer"
NOTIFY_VIA = 1
NOTIFY_AT = 0
CDDB_HOST = "freedb.freedb.org"
CDDB_PORT = 888
CDDB_PROXY_HOST = ""
CDDB_PROXY_PORT = 8080
CDDB_USE_HTTP = 0
CDDB_USE_PROXY = 0
LOGFILE = "~/.xcdroast/xcdr098.log"
LOGLEVEL = 2
LANGUAGE = ""
OPTION_TOOLTIPS = 1
OPTION_AUTORAISE = 0
OPTION_SAVEPOS = 0
OPTION_PERSONIMAGE = 0
OPTION_OVERWRITEWARN = 1
OPTION_AUTODELETE = 0
OPTION_TITLEPROGRESS = 1
OPTION_DISPLAYCDTEXT = 1
OPTION_SELECTIONMODE = 1
PRODVD_KEY = ""

FSTAB follows

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/hda6 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

Bruce Hill 01-15-2004 06:02 PM

Quote:

Originally posted by dnachtwey
The following is my config file from X cdroast and after that is my etc/fstab. Where do i find dmesg?
from a command line type dmesg like this ->

$ dmesg

michaelk 01-15-2004 06:04 PM

x-cdroast is a GUI frontend for cdrecord. If cdrecord can burn a CD then you probably have a x-cdroast configuration problem.

http://linuxgazette.net/issue57/stoddard.html

dnachtwey 01-15-2004 08:41 PM

Here is a portion of my dmesg output

hdc: ATAPI 12X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdc: DMA disabled
IA-32 Microcode Update Driver: v1.11 <tigran@veritas.com>
microcode: CPU0 no microcode found! (sig=f29, pflags=2)
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (6139 buckets, 49112 max) - 292 bytes per conntrack
i2c-core.o: i2c core module
PCI: Found IRQ 11 for device 03:0e.0
PCI: Sharing IRQ 11 with 00:1d.7
i2c-core.o: adapter Smbus i8254x at 03:0e.0 Int registered as adapter 0.
i2c-core.o: adapter Smbus i8254x at 03:0e.0 Ext registered as adapter 1.
Loading i8254x SMBus driver. Version 3.0.9
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
i2c-dev.o: Registered 'Smbus i8254x at 03:0e.0 Int' as minor 0
i2c-dev.o: Registered 'Smbus i8254x at 03:0e.0 Ext' as minor 1
i2c-proc.o version 2.6.1 (20010825)
Adding ASF alerting device watchdog driver.Version 3.0.6
i2c-core.o: driver ASF Alert device watchdog timer registered.
asfwdg: Attaching adapter Smbus i8254x at 03:0e.0 Int
i2c-core.o: client [ASF alert dev watchdog] registered to adapter [Smbus i8254x
at 03:0e.0 Int](pos. 0).
asfwdg: Attaching adapter Smbus i8254x at 03:0e.0 Ext
i2c-core.o: client [ASF alert dev watchdog] registered to adapter [Smbus i8254x
at 03:0e.0 Ext](pos. 0).
Intel(R) PRO/1000 Network Driver - version 5.0.43-k1
Copyright (c) 1999-2003 Intel Corporation.
PCI: Found IRQ 11 for device 03:0e.0
PCI: Sharing IRQ 11 with 00:1d.7
divert: allocating divert_blk for eth0
eth0: Intel(R) PRO/1000 Network Connection
e1000: eth0 NIC Link is Up 100 Mbps Full Duplex
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Found IRQ 11 for device 05:0e.0
divert: allocating divert_blk for eth1
eth1: ADMtek Comet rev 17 at 0xf097e400, 00:0C:41:20:77:78, IRQ 11.
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4363 Sat Apr 19 17:46:46 PDT 2003
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 690M
agpgart: Unsupported Intel chipset (device id: 2550), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
0: NVRM: AGPGART: unable to retrieve symbol table
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54

SCSI subsystem driver Revision: 1.00
udf: registering filesystem
UDF-fs DEBUG lowlevel.c:65:udf_get_last_session: CDROMMULTISESSION not supported: rc=-5
UDF-fs DEBUG super.c:1421:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:753:udf_load_pvoldesc: recording time 1074134572/0, 2004/01/14 21:42 (1ed4)
UDF-fs DEBUG super.c:763:udf_load_pvoldesc: volIdent[] = 'Disk1'
UDF-fs DEBUG super.c:770:udf_load_pvoldesc: volSetIdent[] = '0x4005B7SONIC '
UDF-fs DEBUG super.c:962:udf_load_logicalvol: Partition (0:0) type 1 on volume 1UDF-fs DEBUG super.c:962:udf_load_logicalvol: Partition (1:0) type 2 on volume 1UDF-fs DEBUG super.c:972:udf_load_logicalvol: FileSet found in LogicalVolDesc at block=0, partition=1
UDF-fs DEBUG super.c:800:udf_load_partdesc: Searching map: (0 == 0)
UDF-fs DEBUG super.c:882:udf_load_partdesc: Partition (0:0 type 1511) starts at
physical 513, block length 359182
UDF-fs DEBUG super.c:1215:udf_load_partition: Using anchor in block 256
UDF-fs DEBUG super.c:1448:udf_read_super: Lastblock=514
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 527368
UDF-fs DEBUG misc.c:274:udf_read_tagged: block=131842, location=0: read failed
UDF-fs: No fileset found
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 320
isofs_read_super: bread failed, dev=16:00, iso_blknum=80, block=160
Intel 810 + AC97 Audio, version 0.24, 13:50:35 Dec 18 2003
PCI: Found IRQ 11 for device 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH4 found at IO 0xcc40 and 0xc800, MEM 0xfe700400 and 0xfe700000, IRQ 11
i810: Intel ICH4 mmio at 0xf1c94400 and 0xf1c96000
i810_audio: Primary codec has ID 0
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 0
ac97_codec: AC97 Audio codec, id: ADS116 (Unknown)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2

michaelk 01-15-2004 08:55 PM

UDF errors...
Is there a blank CDR or CDRW in the drive?

If it is a CDRW is it DirectCD or InCD formated?

Did you try my suggestion to write a CDR using the cdrecord command line?

I didn't see enough of the CD writer messages. Look at your /etc/grub.conf file do you have a hdc=ide-scsi in there somewhere?

dnachtwey 01-15-2004 09:15 PM

I have a CDR disk inserted.

I tried the cdrecord and got an error

Should I have hdc=ide-scsi in my grub.conf file?

The following is results of cdrecord help.

Transport name: sg
Transport descr.: Generic transport independent SCSI
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: pg
Transport descr.: SCSI transport for ATAPI over Parallel Port
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: ATA
Transport descr.: ATA Packet specific SCSI transport
Transp. layer ind.: ATAPI:
Target specifier: bus,target,lun
Target example: ATAPI:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: RSCSI
Transport descr.: Remote SCSI
Transp. layer ind.: REMOTE:
Target specifier: rscsi@host:bus,target,lun
Target example: REMOTE:rscsi@host:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported


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