LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-13-2004, 11:07 AM   #1
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
make modules_install error


this was my first post in the general forum

http://www.linuxquestions.org/questi...52#post1290052


can anybody explain why after make modules_install the compiler cannot locate the System.map file ??



thanks in advance
 
Old 11-13-2004, 11:34 AM   #2
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
before you start to do the kernel do 'make mrproper' then 'make clean' After doing this then do your 'make menuconfig' with the 2.6 kernel do make and it should automatically make your modules. to be sure you can do 'make modules' but you then should do 'make modules_install' after this then copy your System.map and your bzImage to your boot directory.
 
Old 11-13-2004, 08:22 PM   #3
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
root@slack:/usr/src/linux# make modules_install
INSTALL drivers/base/firmware_class.ko
INSTALL drivers/char/agp/amd-k7-agp.ko
INSTALL drivers/net/dummy.ko
INSTALL drivers/net/s2io.ko
INSTALL drivers/net/tulip/dmfe.ko
INSTALL drivers/scsi/dpt_i2o.ko
INSTALL drivers/scsi/ipr.ko
INSTALL drivers/scsi/sata_sis.ko
INSTALL drivers/scsi/sata_sx4.ko
INSTALL drivers/usb/input/touchkitusb.ko
INSTALL drivers/usb/misc/cytherm.ko
INSTALL drivers/usb/misc/phidgetservo.ko
INSTALL lib/libcrc32c.ko
INSTALL net/ipv4/netfilter/ipt_NOTRACK.ko
INSTALL net/ipv4/netfilter/iptable_raw.ko
INSTALL sound/pci/snd-via82xx.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.9; fi
root@slack:/usr/src/linux#


no clue
 
Old 11-13-2004, 08:29 PM   #4
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
update your modutils package. Read very carefully how to install. On second thought there doesn't appear to be an error. what doesn't work?

Last edited by mAineAc; 11-13-2004 at 08:49 PM.
 
Old 11-13-2004, 08:45 PM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
What's the problem?
 
Old 11-13-2004, 09:00 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
I'm actually answering your other post, when you copy your kernel and System.map files.
Your system.map file must have a name like your kernel. IE if your kernel is vmlinuz-2.6.7 your System.map must be System.map-2.6.7, if your kernel is vmlinuz-lalala then System.map-lalala

Last edited by gbonvehi; 11-13-2004 at 09:02 PM.
 
Old 11-13-2004, 09:02 PM   #7
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
root@slack:/usr/src/linux# make modules
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] drivers/base/firmware_class.o
CC [M] drivers/char/agp/amd-k7-agp.o
CC [M] drivers/net/dummy.o
CC [M] drivers/net/s2io.o
CC [M] drivers/net/tulip/dmfe.o
drivers/net/tulip/dmfe.c: In function `dmfe_parse_srom':
drivers/net/tulip/dmfe.c:1808: warning: passing arg 1 of `__le16_to_cpup' from incompatible pointer type
drivers/net/tulip/dmfe.c:1820: warning: passing arg 1 of `__le32_to_cpup' from incompatible pointer type
drivers/net/tulip/dmfe.c:1820: warning: passing arg 1 of `__le32_to_cpup' from incompatible pointer type
CC [M] drivers/scsi/dpt_i2o.o
drivers/scsi/dpt_i2o.c: In function `adpt_read_blink_led':
drivers/scsi/dpt_i2o.c:160: warning: passing arg 1 of `readb' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:161: warning: passing arg 1 of `readb' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_i2o_post_this':
drivers/scsi/dpt_i2o.c:1229: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:1246: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_i2o_reset_hba':
drivers/scsi/dpt_i2o.c:1305: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:1334: warning: passing arg 1 of `memcpy_toio' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:1336: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:1356: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_isr':
drivers/scsi/dpt_i2o.c:2018: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2019: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2023: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2032: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2033: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2039: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2044: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2045: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2048: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2050: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2057: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2064: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2071: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2078: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_i2o_to_scsi':
drivers/scsi/dpt_i2o.c:2241: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2245: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2250: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2261: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_send_nop':
drivers/scsi/dpt_i2o.c:2646: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2663: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_i2o_init_outbound_q':
drivers/scsi/dpt_i2o.c:2680: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2713: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2754: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_i2o_status_get':
drivers/scsi/dpt_i2o.c:2798: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2825: warning: passing arg 2 of `writel' makes pointer from integer without a cast
CC [M] drivers/scsi/ipr.o
drivers/scsi/ipr.c: In function `ipr_mask_and_clear_interrupts':
drivers/scsi/ipr.c:522: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:525: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:526: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_do_req':
drivers/scsi/ipr.c:667: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_send_hcam':
drivers/scsi/ipr.c:760: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_wait_iodbg_ack':
drivers/scsi/ipr.c:1363: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_get_ldump_data_section':
drivers/scsi/ipr.c:1398: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:1410: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:1413: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:1417: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:1429: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c:1436: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:1442: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:1445: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:1449: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:1454: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_handle_other_interrupt':
drivers/scsi/ipr.c:3172: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:3175: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:3176: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_isr':
drivers/scsi/ipr.c:3225: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c:3226: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c:3277: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:3278: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_queuecommand':
drivers/scsi/ipr.c:3919: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_reset_enable_ioa':
drivers/scsi/ipr.c:4799: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c:4803: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:4804: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c:4809: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:4811: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/ipr.c:4812: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_get_unit_check_buffer':
drivers/scsi/ipr.c:4882: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_reset_allowed':
drivers/scsi/ipr.c:5018: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/scsi/ipr.c: In function `ipr_reset_alert':
drivers/scsi/ipr.c:5076: warning: passing arg 2 of `writel' makes pointer from integer without a cast
CC [M] drivers/scsi/sata_sis.o
CC [M] drivers/scsi/sata_sx4.o
CC [M] drivers/usb/input/touchkitusb.o
CC [M] drivers/usb/misc/cytherm.o
CC [M] drivers/usb/misc/phidgetservo.o
CC [M] sound/pci/via82xx.o
LD [M] sound/pci/snd-via82xx.o
CC [M] net/ipv4/netfilter/iptable_raw.o
CC [M] net/ipv4/netfilter/ipt_NOTRACK.o
CC [M] lib/libcrc32c.o
Building modules, stage 2.
MODPOST
CC drivers/base/firmware_class.mod.o
LD [M] drivers/base/firmware_class.ko
CC drivers/char/agp/amd-k7-agp.mod.o
LD [M] drivers/char/agp/amd-k7-agp.ko
CC drivers/net/dummy.mod.o
LD [M] drivers/net/dummy.ko
CC drivers/net/s2io.mod.o
LD [M] drivers/net/s2io.ko
CC drivers/net/tulip/dmfe.mod.o
LD [M] drivers/net/tulip/dmfe.ko
CC drivers/scsi/dpt_i2o.mod.o
LD [M] drivers/scsi/dpt_i2o.ko
CC drivers/scsi/ipr.mod.o
LD [M] drivers/scsi/ipr.ko
CC drivers/scsi/sata_sis.mod.o
LD [M] drivers/scsi/sata_sis.ko
CC drivers/scsi/sata_sx4.mod.o
LD [M] drivers/scsi/sata_sx4.ko
CC drivers/usb/input/touchkitusb.mod.o
LD [M] drivers/usb/input/touchkitusb.ko
CC drivers/usb/misc/cytherm.mod.o
LD [M] drivers/usb/misc/cytherm.ko
CC drivers/usb/misc/phidgetservo.mod.o
LD [M] drivers/usb/misc/phidgetservo.ko
CC lib/libcrc32c.mod.o
LD [M] lib/libcrc32c.ko
CC net/ipv4/netfilter/ipt_NOTRACK.mod.o
LD [M] net/ipv4/netfilter/ipt_NOTRACK.ko
CC net/ipv4/netfilter/iptable_raw.mod.o
LD [M] net/ipv4/netfilter/iptable_raw.ko
CC sound/pci/snd-via82xx.mod.o
LD [M] sound/pci/snd-via82xx.ko
root@slack:/usr/src/linux# make modules_install
depmod: QM_MODULES: Function not implemented

Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/po...loween-2.6.txt
INSTALL drivers/base/firmware_class.ko
INSTALL drivers/char/agp/amd-k7-agp.ko
INSTALL drivers/net/dummy.ko
INSTALL drivers/net/s2io.ko
INSTALL drivers/net/tulip/dmfe.ko
INSTALL drivers/scsi/dpt_i2o.ko
INSTALL drivers/scsi/ipr.ko
INSTALL drivers/scsi/sata_sis.ko
INSTALL drivers/scsi/sata_sx4.ko
INSTALL drivers/usb/input/touchkitusb.ko
INSTALL drivers/usb/misc/cytherm.ko
INSTALL drivers/usb/misc/phidgetservo.ko
INSTALL lib/libcrc32c.ko
INSTALL net/ipv4/netfilter/ipt_NOTRACK.ko
INSTALL net/ipv4/netfilter/iptable_raw.ko
INSTALL sound/pci/snd-via82xx.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.9; fi
depmod: /lib/modules/2.6.9/modules.alias is not an ELF file
depmod: /lib/modules/2.6.9/modules.ccwmap is not an ELF file
depmod: /lib/modules/2.6.9/modules.inputmap is not an ELF file
depmod: /lib/modules/2.6.9/modules.symbols is not an ELF file
depmod: *** Unresolved symbols in /lib/modules/2.6.9/kernel/drivers/scsi/ipr.ko
depmod: request_firmware
depmod: release_firmware
make: *** [_modinst_post] Error 1
 
Old 11-13-2004, 09:17 PM   #8
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/p...lloween-2.6.txt
 
Old 11-13-2004, 09:41 PM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Most people should read that document (the next stuff is quoted from there):
Quote:
Known gotchas.
~~~~~~~~~~~~~~
Certain known bugs are being reported over and over. Here are the
workarounds.
- Blank screen after decompressing kernel?
Make sure your .config has
CONFIG_INPUT=y
CONFIG_VT=y
CONFIG_VGA_CONSOLE=y
CONFIG_VT_CONSOLE=y
A lot of people have discovered that taking their .config from 2.4 and
running make oldconfig to pick up new options leads to problems, notably
with CONFIG_VT not being set.
- An additional bug biting some people is that NICs fail to receive packets
(usually notable by a NIC not getting a DHCP lease for eg, despite being
sent one by the server). Booting with "noapic" "acpi=off" or a combination
of both fixes this for most people.
- (Possibly linked to above bug) VIA APIC routing is currently broken.
boot with 'noapic'.
- Can't load any modules? You need updated tools (See modules section below).
- depmod reports Unresolved symbols? depmod from modutils instead of
depmod from module-init-tools is first in $PATH (might be different
$PATHs as $USER and $ROOT)
- The boot command line argument mem= changed slightly in 2.6
Arguments such as mem=exactmap mem=640k@0 mem=200M@1M
should now use memmap= instead.
That explains a lot of posts about 2.6 posted regulary on this forum.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make modules_install error b123coder Linux - Software 1 07-29-2006 11:55 PM
Kernel 2.6.11.6 make modules_install returns error Ac1db0rN Slackware 13 03-29-2005 10:16 AM
error in make modules_install javeree Slackware 6 12-16-2004 04:32 PM
make modules_install error djib Linux - Software 8 12-12-2004 10:15 AM
make modules_install error Risc91 Linux - Software 2 10-23-2003 08:03 PM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration