[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

sr_mod with Redhat 7.0

Hi there all,

I just got forwarded an E-mail I posted about a year and a half ago when I
posted a solution to get IDE writers working in RH 7.0 without recompiling
the kernel. There is one problem though, I'm now using redhat 7.1, and
mandrake 8.0, and can't work out for the life of me what RPM is needed for
this file :-) Basically from what I can make out from this question, is
that when he boots his comp now, he get's an eror like:

"alias scd0 sr_mod", followed by an error that it's nowhere to be found. I
am presuming that this is to be found in some rpm on the cd.

Could someone please give me a hand here? I have my writer in my Mandrake
system, so I can't test it either :-(

Below is the question Dennis posted me, and below that is the solution I
posted a long time ago. Many thanks for any help :-)

Best regards

---------- Forwarded message ----------
Date: Thu, 19 Jul 2001 14:50:09 -0400
From: Denis Marleau lhsl com
To: ralph slooten quicknet nl
Subject: RE: cd burner question...

Hi Ralph,

I quite did  what you mention but I can'nt run :

alias scd0 sr_mod
insmod sr_mod

And I did a search on my disk, sr_mod.o not found..

RedHat 7.0 - 2.2.16-22

p.s I am not really confortable with linux yet but I just started...



[Gnometoaster] IDE-Scsi Emulation without recompiling ... :-)
Ralph Slooten ralph slooten quicknet nl
Fri, 29 Sep 2000 13:05:32 +0200 (CEST)
     Previous message: [Gnometoaster] Help ! - Kernel recompile problem
     Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

Hi there all, it seems that lots of people are having problems recompiling
new kernel which comes with redhat 7.0

The reason I needed to is to get my IDE HP8100i CD Writer to work. Well,
someone (initials=I.E.) has sent me a solution which worked great, and
involve any recompiling of the kernel, and is so much quicker to configure

Here is what he wrote:

This is how I would make my CD writer to work.

$ su -
password: <scret>
# cp /etc/modules.conf /etc/modules.conf.bak
# vi /etc/modules.conf

Modify modules.conf for your CDROM writer, my CDROM is located at

Here is my modules.conf

alias scd0 sr_mod
alias scsi_hostadapter ide-scsi
options ide-cd ignore=hdc

# cp /etc/rc.d/rc.local  /etc/rc.d/rc.local.bak
# vi  /etc/rc.d/rc.local

Put this at the end of the rc.local
# load ide-scsi module
insmod ide-scsi

# cp /etc/lilo.conf /etc/lilo.conf.bak
# vi /etc/lilo.conf

put the append statement for /etc/lilo.conf your cdrom
'append="hdX=ide-scsi"' and run lilo.
Here is /etc/lilo.conf, my CDROM is located at /dev/hdc


# /sbin/lilo

Now relink the /dev/cdrom to your scsi emulation of your cdwriter

# mv /dev/cdrom /dev/cdrom.bak
# ln -s /dev/scd0 /dev/cdrom

Reboot.  (I don't know how to restart with new conf.modules and rc.local

in linux :( )

Run dmesg to see if your scsi emulation is working after the reboot

# dmesg
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
  Vendor: HP        Model: CD-Writer+ 8100   Rev: 1.0g
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.56

Run cdrecord to see if you scsi emulation is working also.

# cdrecord -scanbus
Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jvrg Schilling
Using libscg version 'schily-0.1'
        0,0,0     0) 'HP      ' 'CD-Writer+ 8100 ' '1.0g' Removable

        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) *

I hope it works for you, it works for me

     Previous message: [Gnometoaster] Help ! - Kernel recompile problem
     Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

     Lernout & Hauspie - Montreal division
     Denis Marleau - Software Engineer
     (514) 732-3202

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]