LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-07-2005, 03:16 AM   #1
Quercus ruber
Member
 
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 135

Rep: Reputation: 24
Error when blank data CD is inserted


Hi

praps I`m being silly, but all I really want to do is to copy some data to a cdrom.

I put the (blank) cd into the drive and when I mount it, I get the following message:

mount: wrong fs type, bad option, bad superblock on /dev/cdrom

If I insert a cd which has already got data on it, I don`t get that problem - I can read the data, do whatever and then eject it.

My /etc/fstab looks like this:


Code:
/dev/hda6        swap             swap        defaults         0   0
/dev/hda5        /                reiserfs    defaults         1   1
/dev/hda7        /home            ext3        defaults         1   2
/dev/hda1        /ntfs            ntfs        user,umask=000,ro,auto         1   0
/dev/hdb1        /fat-e           vfat        user,umask=000,rw,auto         1   0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,user,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
/etc/fstab lines 1-9/9 (END)
Here is an extract from dmesg, when I put the disk in the drive:

Code:
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 64hdc: command error: error=0x50
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 64

I have tried several blank cds, in case I'd put a dud in, so unless all my blanks are corrupt, the problem does not lie with the disks.

I'm running the following kernel:


Code:
ros@darkstar:~$ uname -r
2.4.26
Hope someone can help
 
Old 03-07-2005, 04:36 AM   #2
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
A blank cd has no filesystem on it. You first have to burn your data onto in.
Here is a script I wrote .. works for me.

#!/bin/sh
#
# writes a cd from an image file
#
# written 24/6/00 last update 5/6/4 for 2.6 kernel
#
# amended to use pipe rather than tempory file
#
#cd_device="1,0,0"
#
# note for 2.6 kernel dev= parameter not needed uses /dev/cdrom
#
if [ -z $1 ];
then
echo " "
echo "type cd_write /a/path/where/the/file(s)are bootimage (optional)"
echo " "
echo "cd_write xxxx image .. to write a pure image to cd"
exit
fi
if [ $2 = "image" ]; then
echo "Writing pure image file"
cdrecord speed=4 $1
exit
fi
if [ -z $2 ]; then
mkisofs -r -v -J $1 | cdrecord -v -speed=4 -
else
mkisofs -r -v -J -b $2 $1 | cdrecord -v -speed=4 -
fi
#

If you like to use a GUI then I beleave there are lots of programs out there
for you that would do the job. Similar to nero and such on windoze.
 
Old 03-07-2005, 06:32 AM   #3
Quercus ruber
Member
 
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 135

Original Poster
Rep: Reputation: 24
thanks - I`ll try it & report back.
 
Old 03-08-2005, 03:12 AM   #4
Quercus ruber
Member
 
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 135

Original Poster
Rep: Reputation: 24
thanks, that worked and then I downloaded and compiled k3b. That worked too.

thanks a lot
 
Old 03-08-2005, 03:56 AM   #5
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
Pleased to help
 
  


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
Blank page instead of error rigel_kent Programming 1 04-03-2005 11:51 AM
scsi error Data Parity Error Detected potty Linux - Hardware 0 02-17-2004 02:48 PM
User [blank] not found.. phpmyadmin error? Transition Linux - Newbie 1 02-03-2004 05:35 PM
Replace blank/almost blank lines in file Wynd Linux - General 3 01-27-2004 04:49 PM
Blank entries inserted into mysql database sandoz Programming 4 09-22-2003 03:51 AM

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

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