Click to See Complete Forum and Search --> : Add/check modules?


tecknophreak
08-01-2001, 09:23 AM
How do you add a module or check to see if one is there on you system?

EyesWideOpen
08-01-2001, 09:33 AM
You mean kernel modules?

[man] insmod to install modules.
[man] lsmod to list installed modules.

tecknophreak
08-01-2001, 09:49 AM
yup, thanx

tecknophreak
08-01-2001, 09:57 AM
Ah crap!!

I'm getting the following error:

sg.o: couldn't find the kernel version the module was compiled for


So I tried to compile it and got 100s of errors!! So I'm not sure where to go from here.

bdg1983
08-01-2001, 05:05 PM
For a CDWriter?

You may need to compile your kernel and include scsi support. ide-scsi and a few others. I think the ones I've listed below are correct.

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
# CONFIG_BLK_DEV_COMMERIAL is not set
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m # THIS ONE

#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m # THIS ONE
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_SR_EXTRA_DEVS=2 # THIS ONE
CONFIG_CHR_DEV_SG=m # THIS ONE