LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how can I mount my dvd burner using SCSI emulation? (https://www.linuxquestions.org/questions/linux-hardware-18/how-can-i-mount-my-dvd-burner-using-scsi-emulation-302520/)

Xavius 03-16-2005 06:50 PM

how can I mount my dvd burner using SCSI emulation?
 
just like the subject

I should use the scsi emulation for my ide dvd burner. How can I do this?

I read you should use, at boot time, as kernel parameter
<hdX>=ide-scsi

where instead of X you should put the correct letter according to your system
but this doesn't seems work
:(

thanks a lot in advance!
:confused:

urka58 03-17-2005 08:34 AM

Make sure Ide-scsi emulation module is up by "lsmod"
If this module is buuilt in try "dmesg".... at some point you should find something like
ide-scsi emulation for attached device, bla..bla..bla...
sr0......(scd0)....
sr0 (scd0) will be the name of the device when ide-scsi emulation is active.
Hope this helps
Ciao

n2diy 03-18-2005 02:56 PM

Re: how can I mount my dvd burner using SCSI emulation?
 
Quote:

Originally posted by Xavius
just like the subject

I should use the scsi emulation for my ide dvd burner. How can I do this?

I read you should use, at boot time, as kernel parameter
<hdX>=ide-scsi

where instead of X you should put the correct letter according to your system
but this doesn't seems work
:(

thanks a lot in advance!
:confused:


Hello,

I'm having a similar problem, though the scsi emulation does work for me. But it is a pain to do at boot time, isn't there a way to automate the emulation. I'm quessing I have to edit grub.conf?

magenta_hades 04-04-2005 01:51 AM

yes another GRUB entry
 
Yes, that's how I've done it in the past. Just write another line in grub.conf underneath
where your Linux booting section is, making it identical except to skip the hdx=ide-scsi
parameter.
But make sure you update your /etc/fstab for the mount points (They will be IDE mount
points now.), e.g.,/mnt/hdx, and create the mount point directories.

mrchaos 04-11-2005 10:06 PM

hey all, I'm having similar problems. At one point SCSI emulation for my DVD burner worked fine, but now it doesn't.


Quote:

Make sure Ide-scsi emulation module is up by "lsmod"
lsmod lists that ide-scsi IS loaded:
Code:

root@ZAXCOMP:/home/zax# lsmod
Module                  Size  Used by    Tainted: P
ipx                    16548  1  (autoclean)
snd-pcm-oss            36704  0
snd-mixer-oss          12152  0  [snd-pcm-oss]
appletalk              19972  13  (autoclean)
parport_pc            15044  1  (autoclean)
lp                      6404  0  (autoclean)
parport                22824  1  (autoclean) [parport_pc lp]
nfsd                  68112  8
uhci                  24284  0  (unused)
ehci-hcd              17516  0  (unused)
usbcore                58860  1  [uhci ehci-hcd]
i810_rng                2528  0  (unused)
snd-intel8x0          18080  1
snd-ac97-codec        52472  0  [snd-intel8x0]
snd-pcm                54504  0  [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer              13412  0  [snd-pcm]
snd                    31268  1  [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore              3396  4  [snd]
snd-page-alloc          4712  0  [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
nvidia              3643836  6
eepro100              18836  1
mii                    2272  0  [eepro100]
pcmcia_core            39172  0
ide-scsi                9392  0

But as you can see, there are no processes using this module. I've already edited my fstab and my lilo.conf to include the startup code (append= hdc=ide-scsi), but it doesn't seem to work right.

urka58 04-12-2005 10:58 AM

Check the occourences of
/sbin/modprobe sr_mod
/sbin/modprobe sg
in the scsi section of your /etc/rc.d/rc.modules are uncommented.
This will load the scsi removable and generic modules at boot.
Once you have those modules loaded scsi emulation should work.
Where is your DVD drive on your system (primary master ..... secondary slave ????)
Hope this helps
Ciao

mrchaos 04-12-2005 12:22 PM

my drives aren't configured as master/slave. The jumpers are in the third slot on both drives ("cables select" i think it's called).

But I don't think it will matter at this point. I just upgraded last night to the 2.6.10 kernel, and I hear that scsi emulation is obsolete in this kernel version.

mipia 04-17-2005 06:07 PM

I have a similar issue with this in my Slackware 10.1 install. I decided, for now, to stick with 2.4.
I see that my cd burner is listed as /dev/sr0 according to K3b, what should I add for a line in my fstab file?
Should I be adding a line for /dev/sr0, or replacing it for the /dev/cdrom line?

Here is the line for /dev/cdrom:
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0

anything else I need to do? Permissions for the /mnt/whatever/ dir?
Just double checking for any "gotchas".

TIA

mrchaos 04-17-2005 06:18 PM

When I had it working I remember adding an fstab line for /dev/sg0 as well (sg0 and sr0 both represent the scsi emulated device), but I don't know if it's necessary since you're only mounting sr0 when you want to use the drive.


yeah, fstab will have to be modded for you're scsi device, so it'll have to be
/dev/sr0 /mnt/cdrom auto **users**,ro 0 0

Give those a shot, it worked for me the first time around, so I know it's possible. Post back here if you have any problems.

mipia 04-17-2005 07:04 PM

yeah still having issues with k3b. It said "cannot open device /dev/sr0".
The "debugging output" gave this, more or less a summary of the drive:

Devices
-----------------------
SONY CD-RW CRX230E QYS1 (/dev/sr0, ) at /mnt/cdrom [CD-R; CD-RW; CD-ROM] [CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R16; RAW/R96P; RAW/R96R]

System
-----------------------
K3b Version: 0.11.19
KDE Version: 3.3.2
QT Version: 3.3.3
Kernel: 2.4.29

And just in case, here is my fstab:
/dev/hda5 swap swap defaults 0 0
/dev/hda1 / reiserfs defaults 1 1
/dev/hda6 /home reiserfs defaults 1 2
/dev/sr0 /mnt/cdrom iso9660 noauto,users 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


I know that i have to entries for the same cd drive, I wasn't sure if I needed to add or replace.

Thanks again

mrchaos 04-17-2005 08:17 PM

you did make sure you typed in the command
Code:

root@hostname# cdrom=ide-scsi
right? if not, that's your problem. Run "lsmod" to make sure ide-scsi is running.

The two entries in fstab shouldn't make a difference since you're only going to mount one of them (which one you choose is up to you)


**edit**
By the way, if the cdrom=ide-scsi is what's missing and you want it to run at boot, edit your lilo.conf (or whichever bootloader you have) so that it contains

Code:

append= cdrom=ide-scsi

mipia 04-17-2005 09:59 PM

everything is fine for the scsi emulation, I've got the line in lilo, lsmod shows what should be there ide-scsi 9392 0

not sure what to do next

mrchaos 04-17-2005 10:11 PM

yeah, looks like you are in the same boat that I was in too :cry: . I was only able to get out of it by updating to 2.6.10 where the scsi emulation is deprecated (dvds burn at 8x in normal dma mode). I might just have to do a little reading up myself :study:


naughty scsi emulation, naughty :tisk:

mipia 04-17-2005 11:33 PM

LOL yea tell me about it. Dont really have time right now, but unless I can figure out what is wrong and how to correct it, I might have to mess around with another kernel compile. Then Im sure I will be back again with another no sound no net problem like every other time I tried 2.6.* Dang nforce2.

mipia 04-17-2005 11:38 PM

LOL yea tell me about it. Dont really have time right now, but unless I can figure out what is wrong and how to correct it, I might have to mess around with another kernel compile. Thanks for the help.


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