issues with usb dvd, not related to usb

Asked by lostin_60s

I am having an issue with my usb dvdrw. It is not being recognized by the system. It's not a usb issue, as the usb port i am using is good. And my pos external dvdrw is fine. I am guessing that the values directly below may be the culprit. I tried this.
I changed

/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

to

/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 auto rw,user,noauto,exec,utf8 0 0

as these are the folders in /media.

I rebooted. Still no drive. So I ran

daniel@mypos:/$ sudo mount /dev/scd1 /media/cdrom1
mount: special device /dev/scd1 does not exist
daniel@mypos:/$

At which point I returned everything to normal, and posted. I am stuck. Any and all help will be appreciated. Below is my info.

===============================================================

daniel@mypos:/$ls /dev returns dsp
                                dvd
                                dvdrw
============================================================
ls /dev/scd* returns /dev/scd0
============================================================
below is in /dev

Name: scd0
Type: link to block device (inode/blockdevice}
Link target: sr0
Contents: 0 bytes (0 bytes) file

Name: dvd
Type: link to block device (inode/blockdevice}
Link target: sr0
Contents: 0 bytes (0 bytes) file

Name: dvdrw
Type: link to block device (inode/blockdevice}
Link target: sr0
Contents: 0 bytes (0 bytes) file

Name: cdrom
Type: link to block device (inode/blockdevice}
Link target: sr0
Contents: 0 bytes (0 bytes) file

Name: cdrw
Type: link to block device (inode/blockdevice}
Link target: sr0
Contents: 0 bytes (0 bytes) file

===========================================================
Below is in /media

Name: cdrom
Type: Link to folder (inode/directory)
Link target: cdrom0
Contents: nothing folder

Name: cdrom0
Type: Link to folder (inode/directory)
Link target: cdrom0
Contents: nothing folder

Name: cdrom1
Type: folder (inode/directory)
Link target:
Contents: nothing folder

Name: floppy
Type: Link to folder (inode/directory)
Link target: floppy)
Contents: nothing folder

Name: floppy0
Type: folder (inode/directory)
Link target:
Contents: nothing folder

===========================================================
Below is my /etc/fstab file

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=165586ed-0484-4189-877f-10307fde890a / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=fdec8c64-23a5-4ce9-8bc4-bc7ce2f9b0b7 none swap sw 0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
============================================================

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

You can't mount /dev/scd1 twice. The first mount will work and the second wil fail as /dev/scd1 is busy.

If you are trying to mount a DVD drive it will be /dev/scd0

you can verify what is going on with:

file /dev/scd0; file /dev/scd1

Here is my /etc/fstab which may help. (I have a single drive with 3 partitions, / /home and swap

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=209df587-a795-4126-a5f1-e307e39939a0 / ext3 noatime,nodiratime,errors=remount-ro,data=writeback 0 1
# /dev/sda3
UUID=ecfcfa4f-0805-4495-a577-402ee6688de0 /home ext3 relatime 0 2
# /dev/sda1
UUID=3b242869-9115-44cc-ab9e-1bfbfdd98276 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

If you are trying to mount a floppy disk (I'm guessing by your use of /media/floppy0) then you will need this guide:

http://ubuntuforums.org/archive/index.php/t-3687.html

Peace

Revision history for this message
lostin_60s (lostin-60s) said :
#2

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=165586ed-0484-4189-877f-10307fde890a / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=fdec8c64-23a5-4ce9-8bc4-bc7ce2f9b0b7 none swap sw 0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/floppy0 auto rw,user,noauto,exec,utf8 0

Here is my fstab file as it is now. I chopped off some of the top to fit in one screenshot.

# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=165586ed-0484-4189-877f-10307fde890a / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=fdec8c64-23a5-4ce9-8bc4-bc7ce2f9b0b7 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrw0 auto rw,user,noauto,exec,utf8 0 0

I also tried

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrw1 auto rw,user,noauto,exec,utf8 0 0
and

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom0 auto rw,user,noauto,exec,utf8 0 0
and
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 auto rw,user,noauto,exec,utf8 0 0

I have a basic understanding of the problem, but I don't enough yet to fix it. As always, any help will be appreciated.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Just make sure you don't try to mount the same device twice, it wont work.

Revision history for this message
lostin_60s (lostin-60s) said :
#4

It seems to me that

/dev/scd0 /media/cdrom0 udf,iso9660,user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0

should work, However it doesn't. Being very new I tend to try and work things out myself. I know almost nothing about coding...well except for cobol. I am working on that. So, how close am I here.

/dev/scd0 = I have a device, and it's name is scd0

/media/cdrom = this device will be controlled from the folder /media. This device is my first cdrom drive.

/udf,iso9660 user,noauto,exec,utf8 0 0 = The format this device will use is udf. It will read iso9660files (usr don't know") do not auto mount this device. (exec don't know). The text format of files controlling this device is utf8.

I know that is a minimalistic way of putting it, but it's the best I can do.

Why does my external DVD drive get recognized, while my usb DVD drive doesn't? I am going to google about a bit more and see what I can find. Meanwhile, any and all help will be greatly appreciated.

Revision history for this message
lostin_60s (lostin-60s) said :
#5

Almost forgot. I have the file /dev/scd0 when I try to open it I get "an unexpected error, no medium found" message. I don't even have the file /dev/scd1.

Revision history for this message
lostin_60s (lostin-60s) said :
#6

Thanks actionparsnip. A bit of trying this and that in fstab, and it now works.

Revision history for this message
lostin_60s (lostin-60s) said :
#7

Thanks actionparsnip, that solved my question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Can you paste your new fstab please for final resolution. Glad you got it sorted fellah

Revision history for this message
lostin_60s (lostin-60s) said :
#9

You are NOT gonna believe this garbage. After getting my DVD drive to work, while doing something with screenlets, I somehow (???) lost a file needed to boot. I had no choice but to reinstall. This is my fstab file from the new install. And it works. I don't see how it can, but it does. If you have any ideas on this I would love to hear them.

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=79637391-0cf7-4318-bf46-a67dd8baeaef / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=fdec8c64-23a5-4ce9-8bc4-bc7ce2f9b0b7 none swap sw 0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

The thing is, I had to change this

/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

to this

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0

to get it to work before. Go figure. I sure appreciate the help, though. You did get me running.

Revision history for this message
lostin_60s (lostin-60s) said :
#10

BTW, I misspoke in my first post on the 27th, because it did work, just not on the 27th. I think I edited the fstab, and then forgot to try it. I was exhausted.