LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SCSI CD/w emulation problem (https://www.linuxquestions.org/questions/linux-hardware-18/scsi-cd-w-emulation-problem-87223/)

safrout 08-29-2003 11:48 PM

SCSI CD/w emulation problem
 
i have tried all the solutiong i have found on the forum but with no good results
still K3B don't want to c my cd writer as a writer device
it only see it as a reader

my /etc/rc.d/rc.modules look lie this:
-----------------------------------------
#!/bin/sh
# (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>
# $Id: rc.modules,v 1.1.1.1 2000/07/30 05:07:38 chmouel Exp $
# description: launch modules specified in /etc/modules inspired by a
# Debian idea.

[ -f /etc/modules ] || exit 0

# Loop over every line in /etc/modules.
(cat /etc/modules; echo) | while read module args
do
case "$module" in
\#*|"") continue ;;
esac
initlog -s "Loading module: $module"
modprobe $module $args >/dev/null 2>&1
modprobe scsi_mod
modprobe sr_mod
done
---------------------------------------

and my lilo.conf look like this
---------------------------------
xxxxxx................

image=/mnt/lfs/boot/lfskernel
label="lfs"
root=/dev/hda7
read-only
append="hdc=ide-scsi max_scsi_lun=1"
__________________________
and hwen i run lsmod i can see that the module sd_,od and ide_scsi is loaded already


can anyone help plz
i am using mandrake 9.1

safrout 08-30-2003 11:37 PM

can't anyone help plz

dowmun 08-31-2003 10:17 AM

Hi,
Since looking like a fool does not bother me, I would like to ask some questions. You appear to be trying to write CD's in lfs. I am not to this point yet, but I am interested as I hope to be doing the same thing soon.

Your lilo.conf file:
mage=/mnt/lfs/boot/lfskernel
label="lfs"
root=/dev/hda7
read-only
append="hdc=ide-scsi max_scsi_lun=1"
_________________

My lilo.conf line concerning the image to be booted is:
image=/boot/lfskernel
I guess the image can be placed anywhere, but wouldn't it be better under /boot? I am asking, I do not know that this makes a bit of difference.
In the append line, you are passing two options to the kernel:
hdc=ide-scsi ( I understand this one)
max_scsi_lun=1 (What does this one do? I have run across it somewhere, but can't find it now. )
I have read that when you pass two options like this, they must be seperated by a double space.

Sorry to be of no help, but I need to be looking at this same thing, and I would like to see you get your's going, so there will be someone to answer my questions.

safrout 08-31-2003 02:24 PM

this option in the /etc/lilo.conf is not for lfs kernel only it is for the lilo to run when i reboot my computer and my lfs i am still compliling kdebase


All times are GMT -5. The time now is 07:50 AM.