LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 09-01-2003, 05:02 PM   #1
Spaceboy
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Rep: Reputation: 0
Problem compiling Kernel 2.6 test4


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
 
Old 09-01-2003, 05:29 PM   #2
olsimar
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
i doesn't know what's the matter but i think you can just desactivate the ps2esdi in your kernel config and so no matters of compile
 
Old 09-01-2003, 08:17 PM   #3
Spaceboy
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
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)
 
Old 09-01-2003, 08:36 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Is loopback compiled into the kernel or as a module, one of the two?

Google hits

Last edited by fancypiper; 09-01-2003 at 08:39 PM.
 
Old 09-02-2003, 12:30 PM   #5
Spaceboy
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
module.
 
Old 09-02-2003, 12:40 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Nevermind, I think my thought is a red herring. Let me read your errors again.....

Last edited by fancypiper; 09-02-2003 at 01:23 PM.
 
Old 09-02-2003, 01:23 PM   #7
Spaceboy
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 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.
 
Old 09-02-2003, 01:29 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Post your kernel config for the pci, ide and scsi areas. I think there might be a problem somewhere in that area.
 
Old 09-02-2003, 08:10 PM   #9
Spaceboy
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
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

#
# PCMCIA SCSI adapter support
#
CONFIG_PCMCIA_AHA152X=m
CONFIG_PCMCIA_FDOMAIN=m
CONFIG_PCMCIA_NINJA_SCSI=m
CONFIG_PCMCIA_QLOGIC=m

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

Last edited by Spaceboy; 09-02-2003 at 08:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWare on RH 9 with kernel 2.6.0 test4 slippytoad Red Hat 1 10-07-2003 03:34 PM
PCI tulip network adapter not working in 2.6.0-test4-bk3 kernel... Slayer Linux - Networking 0 09-06-2003 09:26 AM
Latest Mandrake kernel-2.6.0 test4 PCLinux Mandriva 5 09-02-2003 03:43 PM
Nvidida Drivers and 2.6.0-test4 kernel leonscape LinuxQuestions.org Member Success Stories 0 08-28-2003 02:38 AM
Yet another kernel compiling problem... duncan Linux - General 4 07-09-2001 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration