LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-16-2005, 06:50 PM   #1
Xavius
Member
 
Registered: Mar 2004
Posts: 107

Rep: Reputation: 15
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!
 
Old 03-17-2005, 08:34 AM   #2
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 530

Rep: Reputation: 30
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
 
Old 03-18-2005, 02:56 PM   #3
n2diy
LQ Newbie
 
Registered: Mar 2005
Location: Lansford, Pa.
Distribution: Fedora Core 1
Posts: 1

Rep: Reputation: 0
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!

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?
 
Old 04-04-2005, 01:51 AM   #4
magenta_hades
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware 10.0 and custom builds
Posts: 1

Rep: Reputation: 0
Talking 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.
 
Old 04-11-2005, 10:06 PM   #5
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
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.
 
Old 04-12-2005, 10:58 AM   #6
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 530

Rep: Reputation: 30
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
 
Old 04-12-2005, 12:22 PM   #7
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
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.
 
Old 04-17-2005, 06:07 PM   #8
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
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
 
Old 04-17-2005, 06:18 PM   #9
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
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.
 
Old 04-17-2005, 07:04 PM   #10
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
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
 
Old 04-17-2005, 08:17 PM   #11
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
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

Last edited by mrchaos; 04-17-2005 at 08:21 PM.
 
Old 04-17-2005, 09:59 PM   #12
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
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
 
Old 04-17-2005, 10:11 PM   #13
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
yeah, looks like you are in the same boat that I was in too . 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


naughty scsi emulation, naughty
 
Old 04-17-2005, 11:33 PM   #14
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
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.
 
Old 04-17-2005, 11:38 PM   #15
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scsi emulation for dvd burner fails Recon68 Linux - Newbie 2 05-10-2005 08:40 AM
cd burner problems, SCSI emulation help? kryptobs2000 Linux - Hardware 2 06-21-2004 09:53 AM
cd burner question ide/scsi emulation wijnands Linux - Newbie 3 04-20-2004 06:27 AM
have combo CD-RW/DVD, problem with SCSI emulation, can not play DVD stunix Linux - Hardware 3 10-12-2003 08:23 AM
SCSI Emulation for cd burner Harpune Linux - Hardware 4 07-26-2003 07:50 AM


All times are GMT -5. The time now is 02:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration