Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to compile the latest kernel, but I'm getting the following errors. Any idea what the problem is?
drivers/block/ps2esdi.c:186: redefinition of `init_module'
drivers/block/ps2esdi.c:172: `init_module' previously defined here
drivers/block/ps2esdi.c: In function `init_module':
drivers/block/ps2esdi.c:190: warning: initialization from incompatible pointer type
drivers/block/ps2esdi.c:193: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:193: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:194: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:197: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:198: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:200: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c: In function `cleanup_module':
drivers/block/ps2esdi.c:208: warning: implicit declaration of function `mca_mark_as_unused'
drivers/block/ps2esdi.c:216: `i' undeclared (first use in this function)
drivers/block/ps2esdi.c:216: (Each undeclared identifier is reported only once
drivers/block/ps2esdi.c:216: for each function it appears in.)
drivers/block/ps2esdi.c: In function `ps2esdi_geninit':
drivers/block/ps2esdi.c:299: warning: implicit declaration of function `mca_find_adapter'
drivers/block/ps2esdi.c:299: `MCA_NOTFOUND' undeclared (first use in this function)
drivers/block/ps2esdi.c:310: warning: implicit declaration of function `mca_set_adapter_name'
drivers/block/ps2esdi.c:316: warning: implicit declaration of function `mca_mark_as_used'
drivers/block/ps2esdi.c:317: warning: passing arg 2 of `mca_set_adapter_procfn' from incompatible pointer type
drivers/block/ps2esdi.c:334: warning: implicit declaration of function `mca_read_stored_pos'
drivers/block/ps2esdi.c: In function `do_ps2esdi_request':
drivers/block/ps2esdi.c:506: warning: long long unsigned int format, different type arg (arg 3)
make[3]: *** [drivers/block/ps2esdi.o] Error 1
make[2]: *** [drivers/block] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.0-test4'
make: *** [stamp-build] Error 2
Yep, did that. The Compile seemed to go ok, but when I try to install the resulting debian kernel image I get the following errors:
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/scsi/ide-scsi.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/ide-io.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/ide-cd.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/ide-floppy.ko ignored, due to loop
WARNING: Loop detected: /lib/modules/2.6.0-test4/kernel/drivers/ide/ide-iops.ko needs ide.ko which needs ide-iops.ko again!
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/ide-iops.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/ide-taskfile.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/ide-probe.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/ide-default.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/legacy/ide-cs.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/ide.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/ide-disk.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/aec62xx.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/trm290.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/alim15x3.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/hpt34x.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/hpt366.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/cmd64x.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/piix.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/slc90e66.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/ns87415.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/cy82c693.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/amd74xx.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/sis5513.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/via82cxxx.ko ignored, due to loop
WARNING: Module /lib/modules/2.6.0-test4/kernel/drivers/ide/pci/serverworks.ko ignored, due to loop
And when I try booting the new kernel, I get the following message:
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
Well, I recompiled the kernel with loopback device support compiled into the kernel, but I still get exactly the same ide errors when installing the compiled kernel.
And I still get the Kernel panic error when trying to boot to the new kernel.
Ok, managed to fix all the ide errors, and the kernel installed fine.
However when I try to boot to the new kernel, I'm now getting a different kernel panic error:
Kernel panic: VFS: Unable to mount root fs on hda7
Anyway, here's my ide and scsi config:
# Parallel IDE high-level drivers
#
# CONFIG_PARIDE_PD is not set
CONFIG_PARIDE_PCD=m
CONFIG_PARIDE_PF=m
# CONFIG_PARIDE_PT is not set
CONFIG_PARIDE_PG=m
#
# Parallel IDE protocol modules
#
# CONFIG_PARIDE_ATEN is not set
# CONFIG_PARIDE_BPCK is not set
# CONFIG_PARIDE_BPCK6 is not set
# CONFIG_PARIDE_COMM is not set
# CONFIG_PARIDE_DSTR is not set
# CONFIG_PARIDE_FIT2 is not set
# CONFIG_PARIDE_FIT3 is not set
# CONFIG_PARIDE_EPAT is not set
# CONFIG_PARIDE_EPIA is not set
# CONFIG_PARIDE_FRIQ is not set
# CONFIG_PARIDE_FRPW is not set
# CONFIG_PARIDE_KBIC is not set
# CONFIG_PARIDE_KTTI is not set
# CONFIG_PARIDE_ON20 is not set
# CONFIG_PARIDE_ON26 is not set
CONFIG_BLK_CPQ_DA=m
CONFIG_BLK_CPQ_CISS_DA=m
# CONFIG_CISS_SCSI_TAPE is not set
CONFIG_BLK_DEV_DAC960=m
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
# CONFIG_LBD is not set
#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
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_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECS=m
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set
#
# IDE chipset support/bugfixes
#
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_RZ1000=m
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
CONFIG_BLK_DEV_AMD74XX=m
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
CONFIG_BLK_DEV_HPT34X=m
CONFIG_BLK_DEV_HPT366=m
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=m
CONFIG_BLK_DEV_NS87415=m
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_IDE_CHIPSETS=y
#
# Note: most of these also require special kernel boot parameters
#
# CONFIG_BLK_DEV_4DRIVES is not set
# CONFIG_BLK_DEV_ALI14XX is not set
# CONFIG_BLK_DEV_DTC2278 is not set
# CONFIG_BLK_DEV_HT6560B is not set
# CONFIG_BLK_DEV_QD65XX is not set
# CONFIG_BLK_DEV_UMC8672 is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set
#
# SCSI device support
#
CONFIG_SCSI=m
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_REPORT_LUNS is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
CONFIG_SCSI_AIC7XXX_OLD=m
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
CONFIG_SCSI_BUSLOGIC=m
# CONFIG_SCSI_OMIT_FLASHPOINT is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
CONFIG_SCSI_EATA=m
# CONFIG_SCSI_EATA_TAGGED_QUEUE is not set
# CONFIG_SCSI_EATA_LINKED_COMMANDS is not set
CONFIG_SCSI_EATA_MAX_TAGS=16
CONFIG_SCSI_EATA_PIO=m
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_FD_MCS is not set
CONFIG_SCSI_GDTH=m
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IBMMCA is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR_D700 is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_NCR_Q720 is not set
CONFIG_SCSI_SYM53C8XX=m
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=4
CONFIG_SCSI_NCR53C8XX_SYNC=5
# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
CONFIG_SCSI_NCR53C8XX_PQS_PDS=y
# CONFIG_SCSI_MCA_53C9X is not set
CONFIG_SCSI_PAS16=m
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
CONFIG_SCSI_PSI240I=m
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SIM710 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.