LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   my dvd is read as hdd and my ide cd-rw is read as scsi??? (https://www.linuxquestions.org/questions/linux-hardware-18/my-dvd-is-read-as-hdd-and-my-ide-cd-rw-is-read-as-scsi-72297/)

spyghost 07-13-2003 08:51 AM

my dvd is read as hdd and my ide cd-rw is read as scsi???
 
hi,

here is my optical disc drives setup...
  • all my optical discs are ide
  • my cd-rw is a secondary master
  • my dvd-rom is a secondary slave

in spite of this madrake 9.1 reads this way...
  • my dvd-rom became a hdd
  • my cd-rw became a scsi

is there a problem here? what should i do to configure my drives the way they should be?

fancypiper 07-13-2003 08:58 AM

See the DVD HOWTO for setting up your DVD.

# CD burning info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus
Adding an IDE CD-Writer to Linux
CD Writing HOWTO
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom
# Generate an ISO from a directory.
mkisofs -Jr -o foo.iso /path/to/directory
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=<your device> speed=<burning speed> blank=fast
# Make multisession data CDs
mkisofs -L -l -J -R -A Disc-ID -P Publisher-ID -p Preparer-ID -V Volume-ID /lets.wav.mp3 | cdrecord -v -pad -data -multi fs=8m speed=32 dev=0,0,0 driveropts=burnproof -
# This would be for the second session, an image of the imported files
cdrecord -v -pad -data -multi speed=32 dev=0,0,0 driveropts=burnproof '/tmp/stupid_place.raw'

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page

spyghost 07-13-2003 09:18 AM

here is what came out....

Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SONY ' 'CD-RW CRX195E1 ' 'ZYS5' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

spyghost 07-13-2003 09:21 AM

Quote:

Originally posted by fancypiper
I think both need scsi emulation, so you may have to tweak the dvd settings.
What do you mean? How do i tweak it?

fancypiper 07-13-2003 09:21 AM

Your burner should work OK then.

According to the poster below, your DVD doesn't need scsi emulation.

Sorry, I don't have a DVD so all I can do is point again to the Linux DVD HOWTO.

mlp68 07-13-2003 01:49 PM

I don't know if the original question got answered by the other posts but the reason that a CD writer needs to be a SCSI device is that cdrecord only understands SCSI devices. That's why the installation sets up the IDE-based writer to use a scsi emulator to make it look like a scsi device. If you look in your grub.conf, you'll probably see some "hdc=ide-scsi" in there. (If you use lilo, it's like append="hdc=ide-scsi" )

Now there is no reason to do that for the DVD. The vanilla IDE driver is fine (you won't use the SCSI-only cdrecord with this drive). That's why you see what you see, and it's all fine and as it should be.

mlp

spyghost 07-13-2003 06:03 PM

so there's no problem at all?

then why is it that whenever i change properties in my dvd-rom icon, this window appears...

Could not save properties. You do not have sufficient access to write to /home/...Desktop/DVD-ROM Device.

however, it does not appear when i change cd-rw settings...

mlp68 07-13-2003 07:27 PM

Do a

ls -l ~/Desktop

and then see what the permissions and owners for the DVD-ROM are, and if they are different for your writer and DVD. I bet they are. That has most lilely nothing to do with the device in in /dev/.

mlp

spyghost 07-14-2003 08:27 AM

-rwxr--r-- 1 nateraln nateraln 226 Jul 13 21:33 CD-RW Device*
-r-xr--r-- 1 nateraln nateraln 215 Jul 13 21:35 DVD-ROM Device*

yup, no write permission.. now how can i make changes in dvd-rom properties?

mlp68 07-14-2003 05:10 PM

cd ~/Desktop
chmod 744 'CD-RW Device'

[ you need the quotes because of your apparent space in the name ]

will do it.

Good luck,
mlp

spyghost 07-16-2003 07:29 AM

got it... thanks a lot

davecs 07-16-2003 04:03 PM

Your CD writer has to have scsi emulation or it will not work! (Well it will, but only as a reader.)

Earlier today I thought I would try to get my dvd to emulate scsi as I read that "grip" will rip audio tracks of CDs faster.

What I did was to go into KDE Control Centre and select LILO. Using administrator mode and the Expert tab, in the lines append="something in quotes" I added hdd=ide-scsi immediately after where it already had hdc=ide-scsi.

After rebooting, it took a little messing around in both the Mandrake and KDE Control Centres, but I did manage to get the cdrecorder mounted at /mnt/cdrecorder and the DVD at /mnt/dvdrom. I got rid of the original /mnt/cdrom and /mnt/cdrom2 and yes, access is definitely quicker. Grip goes about twice as fast (not touching Nero in Windows but a definite improvement). I had to edit my DVD and CDRW icons on the desktop, but now when I click on them, I get Konqueror opening and displaying a list of entries much quicker!

I had to unload and reload K3B afterwards. However, the latest version is available for Mandrake users from Texstar. If you use Mandrake go to http://plf.zarb.org/~nanardon to set up your Mandrake Control Centre>Software Install to use Texstar, Mandrake contrib, PLF, and other sources.

DAVE


All times are GMT -5. The time now is 11:04 PM.