Click to See Complete Forum and Search --> : Sony DRU510a DVD+RW problem
vicky
10-28-2004, 05:24 PM
I am running Fedora core 2 (AMD64 version) on my PC and have a Sony DRU510A DVD+RW installed. The problem I am having is that there Fedora doesn't seem to know which driver to load for it, so doesn't. Hence I am unable to use it.
Does anyone know which driver I need to use to get it working. (I installed FC2 with the ISO's already installed on a linux partition as the boot process couldn't find the files on the FC2 installation CDs).
MMYoung
10-28-2004, 08:33 PM
When you say "get it working" do you mean use it to burn CD/DVD's or that it isn't recognized and you can't mount pre-recorded/burned/purchased data and/or audio CD/DVD's?
I have a DRU 530A so I'm assuming your drive is and IDE/ATAPI drive as well. If it is then you shouldn't have to load any "drivers" as they are built into (or compiled as a module) your kernel.
Another question, how is it connected to the PC? Is it the secondary master or slave or what?
Later,
MMYoung
vicky
10-29-2004, 02:47 AM
The cdrom doesn't appear to be recognised. If I go into the hardware centre, it shows the CDROM and its modelnumber, but under driver it says 'none or not known'. Hence I am not able to mount it.
I do know that it is atapi/ide, but will have to open the box later to tell you whether it is master/slave.
I will post the output of dmesg later in case there is anything there to shed any light.
rocketpcguy
10-29-2004, 06:25 AM
does the drive work fine in windows? it comes up in the BIOS setup?
vicky
10-29-2004, 10:28 AM
I have had a 32bit version of Mandrake 9.2 working on it in the past so I know the DVD drive works.
What I have found, and apologies for misinforming you, is that dmesg finds the drive. The output from 'dmesg|grep CD' shows:
hdc: SONY DVD RW DRU-510A, ATAPI CD/DVD-ROM drive
hdc: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
If I put a CD in the drive, a message box comes up stating:
Unable to mount the selected volume. The volume is in a format that cannot be mounted.
and dmesg then shows these following lines:
Unable to identify CD-ROM format.
UDF-fs DEBUG fs/udf/lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG fs/udf/super.c:1552:udf_fill_super: Multi-session=0
UDF-fs DEBUG fs/udf/super.c:540:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG fs/udf/super.c:1288:udf_check_valid: Failed to read byte 32768. Assuming open disc. Skipping validity check
UDF-fs DEBUG fs/udf/misc.c:236:udf_read_tagged: location mismatch block 256, tag 61 != 256
UDF-fs DEBUG fs/udf/super.c:1342:udf_load_partition: No Anchor block found
UDF-fs: No partition found (1)
UDF-fs DEBUG fs/udf/lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG fs/udf/super.c:1552:udf_fill_super: Multi-session=0
UDF-fs DEBUG fs/udf/super.c:540:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs: No VRS found
UDF-fs DEBUG fs/udf/lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG fs/udf/super.c:1552:udf_fill_super: Multi-session=0
UDF-fs DEBUG fs/udf/super.c:540:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG fs/udf/super.c:1288:udf_check_valid: Failed to read byte 32768. Assuming open disc. Skipping validity check
UDF-fs DEBUG fs/udf/misc.c:236:udf_read_tagged: location mismatch block 256, tag 0 != 256
UDF-fs DEBUG fs/udf/super.c:1342:udf_load_partition: No Anchor block found
UDF-fs: No partition found (1)
/etc/fstab has the following line in it for the drive:
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
MMYoung
10-29-2004, 04:24 PM
You might want to try removing the udf from the /etc/fstab entry and see what that does :confused:.
Later,
MMYoung
vicky
11-01-2004, 02:34 PM
I removed reference to UDF, but I still couldn't mount the DVD drive. It gave the usual message to do with incorrect filesystem, bad block, etc but no udf complaints fron 'dmesg'.
I then changed the line in /etc/fstab to:
/dev/cdrom /mnt/cdrom auto noauto,owner,kudzu,ro 0 0
but on trying to mount a CD, it locked up the PC. After various tries it appeared that using 'auto' seemed to cause the lock up.
I checked /proc/filesystem and /etc/filesystem, and they both have iso9660 and udf, so I don't know what to try next.
hard candy
11-01-2004, 04:30 PM
You may have to reconfigure the kernel and let scsi emulation be used. On some of these drives, scsi emulation is still required. And in order to use cdrecord (K3b, Arson, etc) and dvdwriter, you'll probably need scsi emulation anyway.
First let's find out if it is already available, add this to the kernel line in your grub menu.lst, "hdc=ide-scsi" (or hdd if it is slave on the secondary channel). Reboot and see if it is recognized now. In fstab, you can change the dvd entry to "/dev/hdc /mnt/dvd(if that is the folder in your mnt directory) -t udf, iso9660 (if it handles both dvd and cdrw) noauto,ro,user 0 0".
MMYoung
11-01-2004, 06:25 PM
FC 2 uses the 2.6.3(?) kernel, would you still need ide-scsi?
Just wondering,
MMYoung
hard candy
11-01-2004, 08:30 PM
Yes, cdrecord requires emulation.
"The cdrtools distribution contains a SCSI user level transport library
called libscg. The SCSI library is suitable to talk to any SCSI device without
having a special device specific driver for it.
Cdrecord may be easily ported to any system that has a generic SCSI device
driver similar to the scg driver." from the 2.0 version Readme.
je_fro
11-01-2004, 09:39 PM
I have a dvd+rw and it requires ide-scsi because it can't see anything beyond 2.2 GB and refuses to mount. There's a bug, and they are working on it...
http://bugzilla.kernel.org/show_bug.cgi?id=1930
vicky
11-02-2004, 08:37 AM
I modified grub.conf to include hdc=ide-scsi, and /etc/fstab to read:
/dev/hdc /mnt/cdrom udf,iso9660 noauto,ro,user 0 0
(fstab threw an error with the -t udf, iso9660)
On reboot, dmesg showed:
ide-setup: hdc=ide-scsi
hdc: Sony DVD RW DRU-510A, ATAPI CD/DVD-ROM drive
but gave no indication of allocating it to a /dev/sg* as I would of expected
When I then tried to mount either a data CD or data DVD (mount /mnt/cdrom), mount complained with:
mount: /dev/hdc is not a valid block device
I looked under /proc/scsi, and there were no scsi devices attached. Under /proc/ide, the Sony DVD RW was shown under hdc.
I ran 'cdrecord -scanbus', and it too could not find the Sony DVD RW. The message that this gave was:
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI cia /dev/hd* interface.
cdrecord: No such file or directory. Cannot open '/dev/hd*'. Cannot open scsi driver.
The Fedora Harware Browser still shows the Sony DVD RW at /dev/hdc.
hard candy
11-02-2004, 10:40 AM
Try "modprobe sg" to load the sg module. If it is not present you may have to recompile a kernel with scsi emulation options chosen.
vicky
11-02-2004, 11:32 AM
I modprobe'd sg, ran lsmod to check it had loaded (which it had), rebooted and then ran lsmod again. sg was loaded but not used, and scsi_mod was loaded and used by sg and a couple of other modules.
However, the DVD RW was still set as /dev/hdc according to the hardware browser and would still not mount.:confused:
hard candy
11-02-2004, 11:49 AM
OK, lets try changing the fstab entry to /dev/sr0 then sd0 and rebooting each time. I went through a similiar situation with a plextor and the 2.6 kernel and it is a matter of finding the right combination.
vicky
11-03-2004, 07:53 AM
I tried /dev/sr0 and /dev/sd0 in fstab (rebooting each time) but on trying to mount I was told that they didn't exist. I looked in /dev and there was no reference to sr0 nor to sd0.
It is almost as if Fedora is ignoring the ide-scsi instruction even though it has acknowleged its existance under dmesg.
je_fro
11-03-2004, 10:25 AM
Do you have it in the right place?
Here's mine:
title Gentoo-2.6.9
root (hd0,1)
kernel (hd0,1)/bzImage-2.6.9 devfs=nomount hdc=ide-scsi video=mtrr,vesa:1280x1024 vga=0x31a root=/dev/sda1
initrd=/initrd-1280x1024
See that hdc=ide-scsi ?
hard candy
11-03-2004, 10:30 AM
Have you considered Slackware, one of the automatic Gentoo installation distros, Ubuntu, Debian, Suse, Mepis,etc....? ( I really dislike Fedora Core/Red Hat since you can go to most linux hardware forums and it seems the FC/Redhat people have the worst problems- my opinion only). In the long run, I think anyone would be better off with one of those other distros. Your problem is solvable I'm sure, but I have run out of ideas.
MMYoung
11-03-2004, 11:27 AM
You might also want to try looking through your dmesg output. From a terminal type:
dmesg | grep sr
If nothing happens try:
dmesg | grep sd
If nothing happens then you may just want to scroll through the dmesg output looking for something that will let you know that the ide-scsi module is loading and that it is assigning device nodes to them. For instance, my dmesg output (in Slackware with the 2.4.27 kernel) reports the following:
mmyoung@mypc~$ dmesg | grep sr
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 40x/52x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr2 at scsi1, channel 0, id 0, lun 0
sr2: scsi-1 drive
So now I know that I have the following CD Drives:
/dev/sr0 (which is actually my primary IDE DVD-CD/RW /dev/hcd)
/dev/sr1 (which is actually my seconday IDE CD/RW /dev/hdd)
/dev/sr2 (which is my USB DVD)
Also, here is a quick "look through" of all my dmesg output that has to do with the ide-scsi and /dev/hdc and /dev/hdd.
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: DVD RW DRU-530A Rev: 2.1a
Type: CD-ROM ANSI SCSI revision: 02
Vendor: HL-DT-ST Model: CD-RW GCE-8523B Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 40x/52x writer cd/rw xa/form2 cdda tray
Note to hard candy and jefro:
Looks like I'm fixing to have to recompile my 2.6.7 kernel and re-enable the ide-scsi module for my DVD -/+ RW drive. :mad:
Later,
MMYoung
vicky
11-03-2004, 11:52 AM
I definitely have the hdc=ide-scsi on the kernel line in grub.conf.
Within dmesg there is no reference to sr, sd, or any other scsi type of reference.
I agree that the next step is to go to another distro - probably SUSE as I have already tried Mandrake and had the same problem.
Thanks for you help, and hopefully I won't run in to the same problems under Suse.
hard candy
11-03-2004, 05:21 PM
My fstab entry in Slackware with 2.6.7 kernel and Plextor dvdrw:
/dev/sr0 /mnt/dvdrw iso9660 noauto,users,ro 0 0
From /proc/scsi/scsi:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: PLEXTOR Model: DVDR PX-712A Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
(with the ide-scsi module loaded).
From /proc/ide/ide1/hdc/model:
PLEXTOR DVDR PX-712A
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.