Re: IDE -> ATA DISK

Vern Hoxie (vern@zebra.alphacdc.com)
Sat, 5 Dec 1998 11:02:48 -0700


On 4 Dec 1998, Riley Williams wrote:

lengthy description of multiple system administrators truncated.

> Q> The new sysadmin is browsing through the kernel configuration
> Q> to see whether it can be reduced in size since memory is tight,
> Q> and notices that the SCSI subsystem is compiled in, although
> Q> none of the systems have SCSI drives fitted. He therefore
> Q> deselects it and recompiles the kernel without support for
> Q> it, then puts the recompiled kernel as the one to use. He does
> Q> NOT delete the ppa.o module since he didn't notice it in the
> Q> first place.

....

> The system administrator was CORRECTLY trusted, and acted in what
> (s)he thought was the best interest of all concerned. However, the
> actions taken were WRONG!

The kernel Makefile should be modified:

from"
modules_install:
@( \
MODLIB=/lib/modules/$(VERSION).$(PATCHLEVEL).$(SUBLEVEL); \
cd modules; \
MODULES=""; \
....
to:
modules_install:
@( \
MODLIB=/lib/modules/$(VERSION).$(PATCHLEVEL).$(SUBLEVEL); \
if [ -d $MODLIB ] then rm -r $MODLIB; fi; \
cd modules; \
MODULES=""; \
....

He will hear from the zip drive user's forthwith but there will not be
any incompatible errors messages.

vern

-- 
Vernon C. Hoxie                                     vern@zebra.alphacdc.com
3975 W. 29th Ave.                                        uucp: 303-455-2670
Denver, Colo., 80212                                    voice: 303-477-1780
       Manners are just a formal expression of how to treat people.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/