Re: compile ide-scsi

2004-01-05 Thread Arvind R.
Hi,

On Mon, Jan 05, 2004 at 03:03:52AM +0100, Emmanuel Kasper wrote:
 I think you should check to have 'scsi' and 'scsi disk support' compiled in 
 the kernel and not as modules for the ide-scsi emulation to work. I was 
 thinking also to replace on my Ultra 10 the CD by a CD RW. 
 Is the drive already recognized on boot by the Kernel ? 
 
 Emmanuel 

Only the boot-device driver need be compiled in - the rest ALL
can be loaded - especially if an initrd image is used.
The CD drivers can be compiled as modules with the foll. in

/etc/modutils/actions
# for IDE CD-Writer AND a IDE CD-R
pre-install sg  modprobe ide-scsi
pre-install sr_mod  modprobe ide-scsi
pre-install ide-scsimodprobe ide-cd

and in /etc/modutils/aliases
# CD-Writer aliases - will ignore hdd as candidate for ide-cd
options ide-cd  ignore=hdd  # CD-Writer on IDE-2 Slave

and if you have devfs, 

in /etc/modutils/1devfsd
# All CD-ROMs
probeall  /dev/cdroms   sg sr_mod ide-probe-mod ide-cd cdrom
alias /dev/cdroms/* /dev/cdroms
alias /dev/cdrom/dev/cdroms

You have to 'update-modules' after making changes in /etc/modutils
files.

With Debian, you can keep seperate files for say - sound, disks, video.
All files in modutils directory will be merged into
/etc/modules.conf by 'update-modules'. See 'man run-parts' for filename
restrictions.

I use this sort of set-up on Ultra5 and i386 with bare-minimum
compiled-in drivers.

Hope this is useful.

- arvind.



Re: compile ide-scsi

2004-01-04 Thread Emmanuel Kasper
I think you should check to have 'scsi' and 'scsi disk support' compiled in the 
kernel and not as modules for the ide-scsi emulation to work. I was thinking 
also to replace on my Ultra 10 the CD by a CD RW. 
Is the drive already recognized on boot by the Kernel ? 

Emmanuel 

 
 De: Andrew Carl Tolonen [EMAIL PROTECTED]
 Date: 2003/12/31 mer. PM 10:53:03 GMT+01:00
 À: debian-sparc@lists.debian.org
 Objet: compile ide-scsi
 
 I am trying to get my IDE CD-R working on my ultra 10 running woody.
 To enable scsi emulation, I have compiled 2.4.21 and responded either 'm'
 or 'y' to all the SCSI support stuff in xconfig.  After I
 compile the kernel, i have sg and sr_mod loaded as modules but ide-scsi is
 not available in /kernel/drivers/scsi using modconf.
 
 I have found that ide-scsi.c and ide-scsi.h exist in
 /usr/src/2.4.21/drivers/scsi. but, ide-scsi.o does not exist in
 /lib/modules/2.4.21/kernel/drivers/scsi.
 
 how can i specify that ide-scsi get compiled such that it can be loaded
 as a module? am i missing something using xconfig?
 
 thanks,
 andy
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 

-
Internet simplement moins cher avec Tele2 : http://www.tele2.fr
-



compile ide-scsi

2003-12-31 Thread Andrew Carl Tolonen
I am trying to get my IDE CD-R working on my ultra 10 running woody.
To enable scsi emulation, I have compiled 2.4.21 and responded either 'm'
or 'y' to all the SCSI support stuff in xconfig.  After I
compile the kernel, i have sg and sr_mod loaded as modules but ide-scsi is
not available in /kernel/drivers/scsi using modconf.

I have found that ide-scsi.c and ide-scsi.h exist in
/usr/src/2.4.21/drivers/scsi. but, ide-scsi.o does not exist in
/lib/modules/2.4.21/kernel/drivers/scsi.

how can i specify that ide-scsi get compiled such that it can be loaded
as a module? am i missing something using xconfig?

thanks,
andy