View previous topic :: View next topic |
Author |
Message |
5a\/ag3 Apprentice
Joined: 08 Aug 2003 Posts: 175 Location: Spruce Grove Alberta, Canada
|
Posted: Tue May 11, 2004 4:50 am Post subject: /dev/cdroms/cdrom2 Issues |
|
|
Hey guys and gals I am having some issues here with My CDROM. now before you jump on the whistle and say look here for the instructions hear me out
All of my Optical Disks work! Yes all Three of them
Here is my fstab
Code: |
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext3 noauto,noatime 1 1
/dev/hda3 / ext3 noatime 0 0
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/dvd iso9660 noauto,ro,user 0 0
/dev/cdroms/cdrom1 /mnt/cdrw iso9660 noauto,rw,user 0 0
/dev/cdroms/cdrom2 /mnt/cdrom iso9660 noauto,ro,user 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
I have tested the eject command on all the drives.. they work
I have tested functionality on the CD ROM with an Audio disc with Gnome CD player, and It works, however I had to say look here in /dev/cdroms/cdrom2 and voila it works
here is my /mnt dir
Code: |
savage@devel savage $ ls /mnt -al | more
total 24
drwxr-xr-x 6 root root 4096 May 5 20:29 .
drwxr-xr-x 20 root root 4096 May 3 08:29 ..
-rw-r--r-- 1 root root 0 May 6 16:30 .keep
drwxr-xr-x 2 root root 4096 May 1 11:42 cdrom
drwxr-xr-x 2 root root 4096 May 5 20:29 cdrw
drwxr-xr-x 2 root root 4096 May 5 20:29 dvd
drwx------ 2 root root 4096 May 1 11:42 floppy
|
However when I try and mount the cdrom ( /dev/cdroms/cdrom2 )
I get this error ...
Code: |
savage@devel savage $ mount /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdroms/cdrom2,
or too many mounted file systems
|
all the other drives mount and umount so I dont know why this is happening
In order I have my Drives set up as follows
Secondary Master is the CDRW
Secondary Slave is the CDROM
Primary master is the Hard drive
Primary slave is the DVD-ROM
I enabled ide-scsi in the kernel as a module and still the same effect
Any Suggestions???
Thank you in advance
regards sAvAgE _________________ Yeah... I got nothin for this field! |
|
Back to top |
|
|
Tarball Tux's lil' helper
Joined: 19 Jun 2002 Posts: 142 Location: Cheshire, UK
|
Posted: Tue May 11, 2004 5:24 am Post subject: |
|
|
Have you checked the IDE cables? Stating the obvious I know but it's the easiest to check/fix!
The disc that you are trying to mount in /mnt/cdrom, does it mount Ok in the other drives?
Are you using UDEV or DevFS? Are /dev/cdroms/cdrom? symlinks and do they point somewhere sensible? |
|
Back to top |
|
|
5a\/ag3 Apprentice
Joined: 08 Aug 2003 Posts: 175 Location: Spruce Grove Alberta, Canada
|
Posted: Tue May 11, 2004 1:50 pm Post subject: |
|
|
Yes I have checked the cables, and also I checked the BIOS and everything seems ok. I tried a quick test where I put in the bootable ISO of GENTOO 2004.1 the computer booted and read the disc.. however Gentoo itself could not load the disc. it kept trying to scan for the device where it came from.
yes I can
Code: |
mount /mnt/cdrw
mount /mnt/dvd
mount /mnt/floppy
umount /mnt/cdrw
umount /mnt/dvd
umount /mnt/floppy
eject /mnt/cdrom
eject /mnt/dvd
eject /mnt/cdrw
|
_________________ Yeah... I got nothin for this field! |
|
Back to top |
|
|
Tarball Tux's lil' helper
Joined: 19 Jun 2002 Posts: 142 Location: Cheshire, UK
|
Posted: Tue May 11, 2004 10:22 pm Post subject: |
|
|
How about the symlinks? Do they seem to point to sensible devices? |
|
Back to top |
|
|
5a\/ag3 Apprentice
Joined: 08 Aug 2003 Posts: 175 Location: Spruce Grove Alberta, Canada
|
Posted: Wed May 12, 2004 11:35 pm Post subject: |
|
|
how can I check the symlinks? or better where can I check the symlinks? what do I look for? _________________ Yeah... I got nothin for this field! |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Thu May 13, 2004 2:15 am Post subject: |
|
|
you could try setting the iso9660 to auto... _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
Tarball Tux's lil' helper
Joined: 19 Jun 2002 Posts: 142 Location: Cheshire, UK
|
Posted: Thu May 13, 2004 5:26 am Post subject: |
|
|
To check the symlink links:
Code: |
ls -l /dev/cdroms/*
|
symlinks will appears something like:
Code: | lrwxrwxrwx 1 root root 6 May 9 15:43 cdrom -> ../hdb
lrwxrwxrwx 1 root root 6 May 9 15:43 cdrom0 -> ../hdb
lrwxrwxrwx 1 root root 6 May 9 15:43 cdrom1 -> ../hdd
|
If your writer is setup as a SCSI device then it will be pointing to something like ../sg0
Although, after re-reading your original post, it sounds like /dev/cdroms/cdroms2 is pointing a block device but which???
You can try changing the FS from iso9660 to auto but if you have managed to mount the same CD in two drives but not the third, it would seem that the disc is ok and contains a valid iso9660. |
|
Back to top |
|
|
5a\/ag3 Apprentice
Joined: 08 Aug 2003 Posts: 175 Location: Spruce Grove Alberta, Canada
|
Posted: Thu May 13, 2004 6:08 am Post subject: |
|
|
here are my symlinks for my cdroms
Code: |
savage@devel savage $ ls -l /dev/cdroms/*
lr-xr-xr-x 1 root root 33 Dec 31 1969 /dev/cdroms/cdrom0 -> ../ide/host0/bus0/ target1/lun0/cd
lr-xr-xr-x 1 root root 33 Dec 31 1969 /dev/cdroms/cdrom1 -> ../ide/host0/bus1/ target0/lun0/cd
lr-xr-xr-x 1 root root 33 Dec 31 1969 /dev/cdroms/cdrom2 -> ../ide/host0/bus1/ target1/lun0/cd
savage@devel savage $
|
_________________ Yeah... I got nothin for this field! |
|
Back to top |
|
|
|