View previous topic :: View next topic |
Author |
Message |
ashak n00b
Joined: 19 Mar 2003 Posts: 11
|
Posted: Thu Nov 06, 2003 11:11 am Post subject: make modules_install fails something pcmcia-cs related? |
|
|
Hi,
I've recompiled the 2.4.22 kernel on my laptop a number of times, with no problems at all. Fairly recently i've emerged the pcmcia-cs ebuild and got my wireless network card working. I tried to recompile my kernel today to add something I wanted, make dep, make clean, make bzImage and make modules all work fine, but when I come to make modules_install, it gets as far as:
Code: | make -C arch/i386/lib modules_install
make[1]: Entering directory `/usr/src/linux-2.4.22/arch/i386/lib'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/usr/src/linux-2.4.22/arch/i386/lib'
cd /lib/modules/2.4.22; \
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.22; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.22/net/8390.o
depmod: bitreverse_Rbaeb160c
depmod: crc32_le_Ra34f1ef5
depmod: *** Unresolved symbols in /lib/modules/2.4.22/pcmcia/epic_cb.o
depmod: crc32_le_Ra34f1ef5
depmod: *** Unresolved symbols in /lib/modules/2.4.22/pcmcia/fmvj18x_cs.o
depmod: crc32_le_Ra34f1ef5
depmod: *** Unresolved symbols in /lib/modules/2.4.22/pcmcia/smc91c92_cs.o
depmod: bitreverse_Rbaeb160c
depmod: crc32_le_Ra34f1ef5
depmod: *** Unresolved symbols in /lib/modules/2.4.22/pcmcia/tulip_cb.o
depmod: bitreverse_Rbaeb160c
depmod: crc32_le_Ra34f1ef5
|
Anyone have any ideas how to solve this?
Thanks |
|
Back to top |
|
|
gyaikhom n00b
Joined: 06 Jul 2003 Posts: 19 Location: Edinburgh
|
Posted: Fri Nov 07, 2003 3:41 am Post subject: |
|
|
I would suggest, you recompile the kernel again. But, check the kernel config with 'make menuconfig' before compiling. I think, you haven't enabled the PCMCIA related stuff as modules in the kernel config, and modules are right now existing in /lib/modules/2.4.22/. |
|
Back to top |
|
|
ashak n00b
Joined: 19 Mar 2003 Posts: 11
|
Posted: Fri Nov 07, 2003 8:05 am Post subject: |
|
|
I tried recompiling everything several times. In the end, I tried to unmerge pcmcia-cs, recompile kernel, modules, install modules (which worked this time), then emerged pcmcia-cs again.
Although from what I could tell, the thing that failed originally, is the final thing done by make modules_install, therefore, I would have thought that all of my other modules were in fact installed. I'm just not sure what the bit that failed is doing, or whether it's possible taht next time, I can just ignore it because my recompiled modules are ok... |
|
Back to top |
|
|
astika Tux's lil' helper
Joined: 31 Oct 2003 Posts: 131 Location: /usr/local/src
|
Posted: Fri Dec 05, 2003 2:08 am Post subject: |
|
|
Code: | cd /lib/modules/2.4.23; \
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.23; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.23/net/8390.o
depmod: bitreverse_Rbaeb160c
depmod: crc32_le_Ra34f1ef5
depmod: *** Unresolved symbols in /lib/modules/2.4.23/pcmcia/epic_cb.o
depmod: crc32_le_Ra34f1ef5
depmod: *** Unresolved symbols in /lib/modules/2.4.23/pcmcia/fmvj18x_cs.o
depmod: crc32_le_Ra34f1ef5
depmod: *** Unresolved symbols in /lib/modules/2.4.23/pcmcia/smc91c92_cs.o
depmod: bitreverse_Rbaeb160c
depmod: crc32_le_Ra34f1ef5
depmod: *** Unresolved symbols in /lib/modules/2.4.23/pcmcia/tulip_cb.o
depmod: bitreverse_Rbaeb160c
depmod: crc32_le_Ra34f1ef5
|
same thing here. (re)emerging pcmcia-cs is causing this. removing the
offending files or unmerging pcmcia-cs results in a clean compile, but they
will just return if you emerge pcmcia-cs again.
this occured with pcmcia-cs 3.2.4 and 3.2.5 under vanilla-2.4.23.
*shrugs |
|
Back to top |
|
|
marize n00b
Joined: 16 Mar 2003 Posts: 20 Location: New York, NY
|
Posted: Fri Dec 05, 2003 3:18 pm Post subject: |
|
|
This is not a pcmcia-cs related problem. It has to do with configuring the kernel.
One must set CRC32 support in the kernel.
Quote: |
Library routines -> CRC32 functions -> Y or M
|
and recompile the kernel. |
|
Back to top |
|
|
astika Tux's lil' helper
Joined: 31 Oct 2003 Posts: 131 Location: /usr/local/src
|
Posted: Fri Dec 05, 2003 6:13 pm Post subject: |
|
|
oops.
now how did that get removed? *looks at cat
that is what i get for trying to do a clean make xconfig from memory.
i guarantee i will never leave that out again.
thanks |
|
Back to top |
|
|
airflow Apprentice
Joined: 14 Dec 2003 Posts: 173 Location: Vienna, Austria
|
Posted: Wed Dec 17, 2003 8:23 pm Post subject: |
|
|
I had the same problem, but could not solve it by activation the CRC32 support in the kernel alone.
Due to a problem in the actual version of pcmcia-cs, this error also occurs when comiling for a SMP-kernel. Same cryptic error-message, though (which is why I'm appending my post to this thread). Perhaps I can help someone with this information.
regards,
airflow |
|
Back to top |
|
|
Muddy Tux's lil' helper
Joined: 02 Jan 2003 Posts: 144 Location: U.S.
|
Posted: Thu Dec 18, 2003 3:47 am Post subject: |
|
|
Airflow I'm compiling for smp and don't want pcmcia but it's giving me that horrid error. Any ideas on how to get past this so I can move on with my install??
Code: | make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/usr/src/linux-2.4.22_pre2-gss/arch/i386/lib'
cd /lib/modules/2.4.22_pre2-gss; \
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.22_pre2-gss; fi
mustang linux #
|
|
|
Back to top |
|
|
airflow Apprentice
Joined: 14 Dec 2003 Posts: 173 Location: Vienna, Austria
|
Posted: Thu Dec 18, 2003 8:53 am Post subject: |
|
|
Sorry Muddy, I can't even make out any error-message in this code... Also I have to say that I'm not good at this things as I'm no programmer. Perhaps someone else?
ciao,
airflow
PS: Oh yes, I have one idea though: I read on the pcmcia.sourcefourge site that the error regarding SMP kernels is removed in the newest beta-version of the pcmcia implementation. Perhaps you should try that. Good luck! :) |
|
Back to top |
|
|
|