View previous topic :: View next topic |
Author |
Message |
mollevp n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jan 2005 Posts: 12 Location: Denmark
|
Posted: Fri Apr 29, 2005 9:55 am Post subject: make modules modules_install problem |
|
|
Hi i'm trying to install som new kernel modules..
After selecting the modules i try to make a:
Code: | make modules modules_install |
This runs for a while, but suddenly stops with the following message:
Code: | if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.9-gentoo-r1; fi |
No errors or anything is reported.. Any suggenstions? What does the above line mean? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AlphaHeX n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1038211068424d24c8269c2.png)
Joined: 17 Jan 2005 Posts: 60 Location: Warsaw, Poland
|
Posted: Fri Apr 29, 2005 9:58 am Post subject: |
|
|
Check if you have depmod program in /sbin directory |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mollevp n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jan 2005 Posts: 12 Location: Denmark
|
Posted: Fri Apr 29, 2005 10:02 am Post subject: |
|
|
I have something called depmod in the /sbin/ directory.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nichocouk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/137876035342664f3a55606.jpg)
Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Fri Apr 29, 2005 10:36 am Post subject: |
|
|
mmm, are you sure it's an error message? From what I can remember I get a message similar to this and it's no problem at all, it's purely informal. I'm almost sure that if it was an error message, you'll notice it for sure!
Which kernel are you compiling?
If it's 2.6.something, (re-)read the gentoo guide for kernel upgrade. The command to run is Code: | make && make modules_install |
_________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mollevp n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jan 2005 Posts: 12 Location: Denmark
|
Posted: Fri Apr 29, 2005 11:14 am Post subject: |
|
|
hmm ok.. I'm running 2.6 kernel ..
Code: | make && make modules_install | gives the same result..
I just thought it was an error, because i'm having problems emerging gnome-bluetooth and it looks like it's due
to a module not being installed..
Code: | hcitool.c: In function `cmd_lq':
hcitool.c:924: error: `get_link_quality_rp' undeclared (first use in this function)
hcitool.c:924: error: (Each undeclared identifier is reported only once
hcitool.c:924: error: for each function it appears in.)
hcitool.c:924: error: parse error before "rp"
hcitool.c:975: error: `OCF_GET_LINK_QUALITY' undeclared (first use in this function)
hcitool.c:978: error: `rp' undeclared (first use in this function)
hcitool.c:979: error: `GET_LINK_QUALITY_RP_SIZE' undeclared (first use in this function)
make[2]: *** [hcitool.o] Error 1
make[2]: *** Waiting for unfinished jobs....
sdptool.c: In function `add_handsfree':
sdptool.c:1152: error: `SDP_SUPPORTED_FEATURES' undeclared (first use in this function)
sdptool.c:1152: error: (Each undeclared identifier is reported only once
sdptool.c:1152: error: for each function it appears in.)
sdptool.c: In function `add_ctp':
sdptool.c:1547: error: `SDP_EXTERNAL_NETWORK' undeclared (first use in this function)
make[2]: *** [sdptool.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10'
make: *** [all] Error 2
!!! ERROR: net-wireless/bluez-utils-2.10-r1 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nichocouk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/137876035342664f3a55606.jpg)
Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Fri Apr 29, 2005 11:50 am Post subject: |
|
|
I would tend to think that you don't have any error when compiling the kernel. Just to make sure, try to remove any old dependencies from your system:
Code: | emerge -av --depclean |
If portage offers to unmerge some packages, say yes unless you are sure it would create any problem to your system. It doesn't matter if it's related to bluetooth or something similar as we will rebuild it.
Then try to emerge gnome-bluetooth again.
If it does not help, look at this thread.
If it does not help, try installing an older stable version, or a more recent, less tested version... _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mollevp n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Jan 2005 Posts: 12 Location: Denmark
|
Posted: Sun May 01, 2005 10:24 am Post subject: |
|
|
ok.. i'll give it a shot later today.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun May 01, 2005 2:44 pm Post subject: |
|
|
NOOOO! not depclean .
Be ready to blow you system out the window and spend a few days piecing it back together.
It will try to do allsorts of stupid things and unless you're really au fait with the guts or Gentoo you are likely to screw it badly.
Do a search if want some examples of what awaits you.
The message at the end of the kernel build does not say "error" and it is not one. It's fine.
Just carry on trying to fix your bluetooth thing,
Hope you read this in time . ![Cool 8)](images/smiles/icon_cool.gif) _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xaos5 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Sonic/Sega_-_Knuckles.gif)
Joined: 19 Apr 2005 Posts: 255 Location: Michigan
|
Posted: Sun May 01, 2005 3:40 pm Post subject: |
|
|
don't you have to copy the bzImage and System map to your /boot directory
cp /usr/src/linux/arch/i386/boot/bzImage /boot/name-of-kernel
cp System.map /boot/System.map-name-of-kernel <---- not sure on that one
cp .config /boot/config-anything-you-want <--- backup your current config.
I think make install will perform the stuff above but it names it a bit different I think... never tryed it.
edit: actually since its just modules your trying to do and if want you need wasn't compiled into the kernel before (changing any <*> to <M>) you can just do make modules_install and then do modprobe MODULENAME to load it. then edit /etc/modules.autoload.d/kernel-2.6 (or kernel-2.4) with MODULENAME in it and then do modules_update after that. correct me if i'm wrong
Last edited by xaos5 on Sun May 01, 2005 3:49 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun May 01, 2005 3:45 pm Post subject: |
|
|
xaos5 wrote: | don't you have to copy the bzImage and System map to your /boot directory
|
Indeed you do.
Good idea to copy your old kernel to another name and add a grub.conf entry for it so you can still boot when (note I dont say _if_) you make a bad kernel that wont boot.
![Cool 8)](images/smiles/icon_cool.gif) _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xaos5 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Sonic/Sega_-_Knuckles.gif)
Joined: 19 Apr 2005 Posts: 255 Location: Michigan
|
Posted: Sun May 01, 2005 3:51 pm Post subject: |
|
|
Gentree wrote: |
Good idea to copy your old kernel to another name and add a grub.conf entry for it so you can still boot when (note I dont say _if_) you make a bad kernel that wont boot.
![Cool 8)](images/smiles/icon_cool.gif) |
haha yes other wise you'll have fun working with the livecd for a while like i've done before about 10 times! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|