View previous topic :: View next topic |
Author |
Message |
emrys404 n00b
Joined: 18 Oct 2004 Posts: 50
|
Posted: Sun Dec 05, 2004 7:13 pm Post subject: CD/DVD drive woes |
|
|
Okay, my dvd/cdrom drives are infuriating me. My head is getting sore from slamming it on the keyboard so many times:)
Okay first off, my fstab:
Code: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20$
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> $
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdc1 /boot ext2 noauto,noatime $
/dev/hdc3 / xfs noatime $
/dev/hdc2 none swap sw $
/dev/cdroms/cdrom0 /mnt/dvd auto noauto,ro $
0 0
/dev/cdroms/cdrom1 /mnt/cdrom iso9660 noauto,ro
#/dev/fd0 /mnt/floppy auto noauto,user $
|
Okay, first annoyance i guess is that i have never been able to umount anything. It always says the device is busy, but nothing is using it and i am not residing in its folder. Using the -f option worked a few times but not anymore. Second annoyance is all the errors are fucking unpredicatable. I cant seem to find a pattern. Third would be starting this morning i cant mount anything. It keep saying "you must specify the filesystem" even when i do (ie. mount -iso9660 /mnt/dvd) and mount auto /mnt/dvd or even mount -auto /mnt/dvd just give me usage errors.
I have tried mounting straight from the device (in this case hda and hdb instead of from /dev/cdroms. still no go.
This was happening in the 2.4 kerenl so i upgraded to 2.6 with udev hopeing it would fix it, but frankly i dont know anything about udev and i keep seeing the words devfs when the kernel boots up. so i dont know if udev is working or what.
Frankly, this unpredictabily is pissing me off and i'm about to break something. Any and all help is greatly appreciated.
thanks
-emrys _________________ -blar |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Sun Dec 05, 2004 7:26 pm Post subject: |
|
|
you can use lsof to see what is using the device
you also have to use -t iso9660 not -iso9660
udev only creates files that represent devices and has no influence on anything like this _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
Lokheed Veteran
Joined: 12 Jul 2004 Posts: 1295 Location: /usr/src/linux
|
Posted: Sun Dec 05, 2004 9:20 pm Post subject: |
|
|
Well your fstab looks good. I would add "user" to noauto,ro.
As for unmounting, I found that you cannot have an explorer window open, such as Konquorer or Nautilus, even having bash open will stop a umount. Close all your windows, then try umounting, if that doesnt work then I am at a loss...
You need to recompile your kernel and remove devfs from it. Then simply emerge udev, you dont need hotplug just hotplug-base which gets emerged with it. |
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
Posted: Mon Dec 06, 2004 4:08 pm Post subject: |
|
|
I can't get mounting to work correctly, it used to work fine... here's the ouput: Code: | ten-4 root # mount -t iso9660 /dev/hda /mnt/dvdrom
mount: block device /dev/hda is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hda,
or too many mounted file systems | And my fstab: Code: | # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb1 /boot reiserfs notail $
/dev/hdb3 / reiserfs noatime $
/dev/hdb2 none swap sw $
/dev/cdroms/cdrom0 /mnt/dvdrom iso9660 user,noauto,ro $
/dev/fd0 /mnt/floppy auto noauto | Ideas? I'm almost sure it's a stupid error. _________________ no software patents in europe! | adopt an unanswered post. |
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
Posted: Mon Dec 06, 2004 4:12 pm Post subject: |
|
|
Here's the dmesg error: Code: | hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
hda: packet command error: error=0x50
ide: failed opcode was 100
cdrom: failed setting lba address space
hda: command error: status=0x51 { DriveReady SeekComplete Error }
hda: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hda, sector 64
isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 | And from way up in the dmesg, drive is seen as: Code: | Probing IDE interface ide0...
hda: 16X52X32X52COMBO, ATAPI CD/DVD-ROM drive |
_________________ no software patents in europe! | adopt an unanswered post. |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
Posted: Mon Dec 06, 2004 10:23 pm Post subject: |
|
|
Nope, it's a Rosewill, from the Newegg Invoice: CDRW DVD COMBO ROSEWILL C523216B RT
(Serial#: 898745000368)
It worked in Windows and for installing... any other information you might need? Do I need SCSI emulation? _________________ no software patents in europe! | adopt an unanswered post. |
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
Posted: Sun Jan 09, 2005 7:58 pm Post subject: |
|
|
Now works in XMMS with Digital Audio Extraction option selected in the CD reader config.
Damn... I see a lot of Bill Gates here.
Edit several weeks later: The problem is back, I can't figure it out for the life of me. The first time I tried mounting a data CD today, it worked. I tried again a few minutes later with something else and I got the error i described above!!! grr...
Edit2: A different CD worked fine, I'm confused. Ignore this. _________________ no software patents in europe! | adopt an unanswered post. |
|
Back to top |
|
|
|