Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error when doing "make modules modules_install"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mogz
n00b
n00b


Joined: 29 Nov 2004
Posts: 35

PostPosted: Thu Dec 16, 2004 9:20 pm    Post subject: Error when doing "make modules modules_install" Reply with quote

I eventually get this error upon running
Code:
make modules modules_install

Code:
depmod: *** Unresolved symbols in /lib/modules/2.4.26-gentoo-r6/kernel/drivers/scsi/sata_sil.o
depmod:         ata_exec_command_mmio
depmod:         ata_eng_timeout
depmod:         ata_port_start
depmod:         ata_tf_load_mmio
depmod:         ata_pci_remove_one
depmod:         ata_add_to_probe_list
depmod:         ata_port_disable
depmod:         ata_check_status_mmio
depmod:         ata_scsi_release
depmod:         ata_fill_sg
depmod:         ata_scsi_error
depmod:         ata_tf_read_mmio
depmod:         ata_interrupt
depmod:         ata_port_stop
depmod:         ata_std_ports
depmod:         ata_scsi_queuecmd
depmod:         ata_std_bios_param
depmod:         sata_phy_reset
depmod:         ata_scsi_detect
depmod:         ata_bmdma_start_mmio
depmod: *** Unresolved symbols in /lib/modules/2.4.26-gentoo-r6/kernel/drivers/scsi/sata_svw.o
depmod:         ata_exec_command_mmio
depmod:         ata_eng_timeout
depmod:         ata_port_start
depmod:         ata_pci_remove_one
depmod:         ata_add_to_probe_list
depmod:         ata_port_disable
depmod:         ata_scsi_release
depmod:         ata_fill_sg
depmod:         ata_scsi_error
depmod:         ata_interrupt
depmod:         ata_port_stop
depmod:         ata_scsi_queuecmd
depmod:         ata_std_bios_param
depmod:         sata_phy_reset
depmod:         ata_scsi_detect
depmod:         ata_bmdma_start_mmio
depmod: *** Unresolved symbols in /lib/modules/2.4.26-gentoo-r6/kernel/drivers/scsi/sata_via.o
depmod:         ata_eng_timeout
depmod:         ata_exec_command_pio
depmod:         ata_port_start
depmod:         ata_pci_remove_one
depmod:         ata_add_to_probe_list
depmod:         ata_port_disable
depmod:         ata_tf_read_pio
depmod:         ata_scsi_release
depmod:         ata_fill_sg
depmod:         ata_scsi_error
depmod:         ata_interrupt
depmod:         ata_port_stop
depmod:         ata_check_status_pio
depmod:         ata_std_ports
depmod:         ata_scsi_queuecmd
depmod:         ata_bmdma_start_pio
depmod:         ata_tf_load_pio
depmod:         ata_std_bios_param
depmod:         sata_phy_reset
depmod:         ata_scsi_detect


This aborts the compilation before the modules I really need (most of them USB-related modules) gets made, so it's an unpleasant irritation. Any ideas?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Thu Dec 16, 2004 9:30 pm    Post subject: Reply with quote

mogz,

Those unresolved symbols are in asssorted low level SATA drivers. Its very unlikely you need them all. The error means that a kerenl option that needs to be set to Y is currently at N. Its probably in the SCSI section somewhere.

How did you configure your kernel?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mogz
n00b
n00b


Joined: 29 Nov 2004
Posts: 35

PostPosted: Thu Dec 16, 2004 9:45 pm    Post subject: Reply with quote

How did you configure your kernel?

I haven't changed anything since the genkernel configuration. I have concluded that the reason the desired modules aren't made are because the compilation didn't get that far in the first place, most likely because of this error. I musn't have noticed this when I first installed gentoo.

Well, here's my SCSI settings:
Code:
<M> SCSI support                                                                           
--- SCSI support type (disk, tape, CD-ROM)                                                 
<M>   SCSI disk support                                                                   
(40) Maximum number of SCSI disks that can be loaded as modules                           
<M>   SCSI tape support                                                                   
<M>   SCSI OnStream SC-x0 tape support                                                     
<M>   SCSI CD-ROM support                                                                 
[*]     Enable vendor-specific extensions (for SCSI CDROM)                                 
(2) Maximum number of CDROM devices that can be loaded as modules                         
<M>   SCSI generic support                                                                 
--- Some SCSI devices (e.g. CD jukebox) support multiple LUNs                             
[*]   Enable extra checks in new queueing code                                             
[*]   Probe all LUNs on each SCSI device                                                   
[*]   Verbose SCSI error reporting (kernel size +=12K)                                     
[*]   SCSI logging facility                                                               
SCSI low-level drivers  --->                                                               
PCMCIA SCSI adapter support  --->             

Code:
<M> 3ware Hardware ATA-RAID support                                                               
<M> 7000FASST SCSI support                                                                         
<M> ACARD SCSI support                                                                             
<M> Adaptec AHA152X/2825 support                                                                   
<M> Adaptec AHA1542 support                                                                       
<M> Adaptec AHA1740 support                                                                       
<M> Adaptec AACRAID support (EXPERIMENTAL)                                                         
<M> Adaptec AIC7xxx support                                                                       
(32)   Maximum number of TCQ commands per device                                                   
(15000)   Initial bus reset delay in milli-seconds                                                 
[ ]   Probe for EISA and VL AIC7XXX Adapters                                                       
[ ]   Build Adapter Firmware with Kernel Build                                                     
[ ]   Compile in Debugging Code                                                                   
(0)   Debug code enable mask (2048 for all debugging)                                             
[ ]   Decode registers during diagnostics                                                         
<M> Adaptec AIC79xx support                                                                       
(32)   Maximum number of TCQ commands per device                                                   
(15000)   Initial bus reset delay in milli-seconds                                                 
[ ]   Build Adapter Firmware with Kernel Build                                                     
[ ]   Enable Read Streaming for All Targets                                                       
[ ]   Compile in Debugging Code                                                                   
(0)   Debug code enable mask (16384 for all debugging)                                             
[ ]   Decode registers during diagnostics                                                         
<M> Old Adaptec AIC7xxx support                                                                   
[ ]   Enable Tagged Command Queueing (TCQ) by default                                             
(8)   Maximum number of TCQ commands per device                                                   
[ ]   Collect statistics to report in /proc           
<M> Adaptec I2O RAID support                                                                       
<M> AdvanSys SCSI support                                                                         
<M> Always IN2000 SCSI support                                                                     
<M> AM53/79C974 PCI SCSI support                                                                   
<M> AMI MegaRAID support                                                                           
< > AMI MegaRAID2 support                                                                         
[*] Serial ATA (SATA) support                                                                     
<M>   ServerWorks Frodo / Apple K2 SATA support (EXPERIMENTAL)                                     
<*>   Intel PIIX/ICH SATA support                                                                 
< >   Promise SATA support (EXPERIMENTAL)                                                         
<M>   Silicon Image SATA support (EXPERIMENTAL)                                                   
< >   SiS 964/180 SATA support (EXPERIMENTAL)                                                     
<M>   VIA SATA support (EXPERIMENTAL)                                                             
< >   Vitesse VSC-7174 SATA support (EXPERIMENTAL)                                                 
<M> BusLogic SCSI support                                                                         
[ ]   Omit FlashPoint support                                                                     
<M> Compaq Fibre Channel 64-bit/66Mhz HBA support                                                 
<M> DMX3191D SCSI support                                                                         
<M> DTC3180/3280 SCSI support                                                                     
<M> EATA ISA/EISA/PCI (DPT and generic EATA/DMA-compliant boards) support                         
[*]   enable tagged command queueing                                                               
[*]   enable elevator sorting                                                                     
(16)   maximum number of queued commands                                                           
<M> EATA-DMA [Obsolete] (DPT, NEC, AT&T, SNI, AST, Olivetti, Alphatronix) support                 
<M> EATA-PIO (old DPT PM2001, PM2012A) support                                                     
<M> Future Domain 16xx SCSI/AHA-2920A support                                                     
<M> Intel/ICP (former GDT SCSI Disk Array) RAID Controller support
<M> Generic NCR5380/53c400 SCSI support                                                           
[ ]   Enable NCR53c400 extensions                                                                 
(Port) NCR5380/53c400 mapping method (use Port for T130B)                                         
<M> IBM ServeRAID support                                                                         
<M> Initio 9100U(W) support                                                                       
<M> Initio INI-A100U2W support                                                                     
<M> IOMEGA parallel port (ppa - older drives)                                                     
<M> IOMEGA parallel port (imm - newer drives)                                                     
[ ]   ppa/imm option - Use slow (but safe) EPP-16                                                 
[ ]   ppa/imm option - Assume slow parport control register                                       
<M> NCR53c406a SCSI support                                                                       
<M> NCR53c7,8xx SCSI support                                                                       
[ ]   always negotiate synchronous transfers                                                       
[ ]   allow FAST-SCSI [10MHz]                                                                     
[ ]   allow DISCONNECT                                                                             
<M> SYM53C8XX Version 2 SCSI support                                                               
(1)   DMA addressing mode                                                                         
(16)   default tagged command queue depth                                                         
(64)   maximum number of queued commands                                                           
[ ]   use normal IO                                                                               
<M> NCR53C8XX SCSI support                                                                         
<M> SYM53C8XX SCSI support                                                                         
(4)   default tagged command queue depth                                                           
(32)   maximum number of queued commands                                                           
(20)   synchronous transfers frequency in MHz                                                     
[ ]   enable profiling                                                                             
[ ]   use normal IO
[ ]   include support for the NCR PQS/PDS SCSI card                                               
[ ]   assume boards are SYMBIOS compatible (EXPERIMENTAL)                                         
<M> PAS16 SCSI support                                                                             
<M> PCI2000 support                                                                               
<M> PCI2220i support                                                                               
<M> PSI240i support                                                                               
<M> Qlogic FAS SCSI support                                                                       
<M> Qlogic ISP SCSI support                                                                       
<M> Qlogic ISP FC SCSI support                                                                     
[ ]    Include loadable firmware in driver                                                         
<M> Qlogic QLA 1280 SCSI support                                                                   
<M> Seagate ST-02 and Future Domain TMC-8xx SCSI support                                           
<M> Simple 53c710 SCSI support (Compaq, NCR machines)                                             
<M> Symbios 53c416 SCSI support                                                                   
<M> Tekram DC390(T) and Am53/79C974 SCSI support                                                   
[ ]   _omit_ support for non-DC390 adapters                                                       
<M> Trantor T128/T128F/T228 SCSI support                                                           
<M> UltraStor 14F/34F support                                                                     
[ ]   enable elevator sorting                                                                     
(8)   maximum number of queued commands                                                           
<M> UltraStor SCSI support                                                                         
<M> Workbit NinjaSCSI-32Bi/UDE support                                                             
<M> SCSI debugging host simulator (EXPERIMENTAL)

Code:
[*] PCMCIA SCSI adapter support                                                       
<M>   Adaptec AHA152X PCMCIA support                                                   
<M>   Future Domain PCMCIA support                                                     
<M>   NinjaSCSI-3 / NinjaSCSI-32Bi (16bit) PCMCIA support                             
<M>   Qlogic PCMCIA support
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Thu Dec 16, 2004 10:06 pm    Post subject: Reply with quote

mogz,

You did compile this kernel and not some older one, then try to copy the .config file over to thenew tree?
That usually fails unless you also run make oldconfig in the new kernel tree.

If you have no need of SCSI change this
Code:
<M> SCSI support
to N.
You will hide a lot of config options, save a lot of compile time and some disc space by not building and installing modules you will never use.
Genkernel tries to build every module in the tree almost, which is a waste of time and disc space..
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mogz
n00b
n00b


Joined: 29 Nov 2004
Posts: 35

PostPosted: Thu Dec 16, 2004 10:24 pm    Post subject: Reply with quote

You did compile this kernel and not some older one, then try to copy the .config file over to thenew tree?

Yes, and no I didn't.

I found the three configuration settings that seems to have been the issue, and am now running:
Code:
make dep && make clean bzImage modules modules_install


Standby for updates.
Back to top
View user's profile Send private message
mogz
n00b
n00b


Joined: 29 Nov 2004
Posts: 35

PostPosted: Fri Dec 17, 2004 7:17 am    Post subject: Reply with quote

Hm. Now it compiles all the way to where the error used to appear and instead of showing it, it just exits. The modules are left uncompiled.
(excuese the swedish, "Inget behöver göras" means something like "Nothing has to be done")
Code:
make[1]: Entering directory `/usr/src/linux-2.4.26-gentoo-r6/arch/i386/lib'
make[1]: Inget behöver göras för "modules_install".
make[1]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r6/arch/i386/lib'
make -C  arch/i386/math-emu modules_install
make[1]: Entering directory `/usr/src/linux-2.4.26-gentoo-r6/arch/i386/math-emu'
make[1]: Inget behöver göras för "modules_install".
make[1]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r6/arch/i386/math-emu'
cd /lib/modules/2.4.26-gentoo-r6; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.26-gentoo-r6; fi
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Fri Dec 17, 2004 5:59 pm    Post subject: Reply with quote

mogz,

Code:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.26-gentoo-r6; fi
means that the compile completed and the modules were installed.
You will find the bzImage at arch/i386/boot/bzImage in your kernel tree. The kerenl build process does not leave a success message when it works, it just returns to the prompt.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum