Messages in this thread |  | | | From | "Adam J. Richter" <> | | Date | Sat, 2 May 1998 20:17:34 -0700 | | Subject | Re: Kernel 2.1.99 and kmod and ppa |
| |
On Sat, 2 May 1998, Michael Guntsche wrote: > I noticed following strange problem with kmod and the PPA devices. > After modularizing alle the scsi components (scsi_mod,sd_mod,ppa) and > restarting the computer mounting the iomega would only install the > scsi_mod and the sd_mod module. > > my conf_modules file that worked with kerneld and the 2.0.xx kernels > > <snip> > block-char-major-8 sd_mod > install sd_mod insmod -k ppa && insmod -k sd_mod > > or > > <snip> > block-char-major-8 ppa > post-install ppa insmod -k sd_mod > > doesnt semm to work with kmod.
"block-char-major-8" should be "block-major-8", or, more correctly, "scsi_hostadapter". Since you did not define "block-major-8", modprobe used its built-in default definition of "block-major-8" which is "sd_mod".
I have submitted a change to Marcin Dalecki (the author of modprobe) that replaces these undocumented built-in defaults with a standard /etc/conf.modules file, which will make modprobe's expected behavior more visible, although part of my reason for submitting that change was because I had to extend the data structure modprobe uses in enabling it to handle multiple aliases (e.g., "alias scsi_hostapter ncr53c8xx ppa"), which made such initialization a tiny bit more complex.
-- Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205 adam@yggdrasil.com \ / San Jose, California 95129-1034 +1 408 261-6630 | g g d r a s i l United States of America fax +1 408 261-6631 "Free Software For The Rest Of Us." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
|  |