On Mon, 26 Jul 1999, Steven wrote:

> Jean-Michel Dault wrote:
> > 
> > You *DON'T* need to recompile the kernel. I use a CD Writer with the
> > standard Mandrake kernel.
> > 
> > 1)Add this to your /etc/lilo.conf:
> > append="hdb=ide-scsi"
> > 
> > 2)Reboot
> > 
> > 3)Then, you can simply do a "modprobe ide-scsi", and voila! You can add
> > the modprobe in /etc/rc.d/rc.local.
> 
> OK, Module Tutorial time for me: 
> Why can the kernel load some modules automatically (and unload them when
> it's done), but others have to be pushed in by hand?

Serveral reasons, there maybe more than one module that does slightly
different things like with sound and scsi, there are loads of scsi and
sound drivers if it's not configured in /etc/conf.modules correctly it
won't know what specific driver it needs.
 
> Would I need a system.map, or other, file to use your method?

Nope,

> There is a CD Writer HowTo at 
> http://www.guug.de/~winni/linux/cdr/html/CD-Writing-2.html#ss2.1
> 
> It states
> "With 2.2, you specify which device not to treat as a IDE/ATAPI-device using
> the parameter ignore= while loading the ide-cd module. Example: use
> "modprobe ide-cd ignore=hdb", if your ATAPI-writer is hdb and you want the
> ide-scsi-driver to treat hdb as a scsi-device (usally sr0). There is no way
> to specify this on the kernel-commandline (like with 2.0)."

Not relevent ide-cd is not a module in the supplied kernel it's built in.
 
> This seems the opposite of what you have said, and you haven't mentioned the
> 'ignore' option, is that because with the  ide-scsi modules loaded then the
> kernel won't need to load the ide-cdrom module?

It's build in, all ide cd's will be accessable as standard ide devices
(eg. /dev/hdX) untill the ide-scsi module gets loaded. Not all ide cdroms
get along well w/ ide-scsi, you wind uo with funny things like 6 extra
cdrom devices.

Reply via email to