Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make modules modules_install problem
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
mollevp
n00b
n00b


Joined: 29 Jan 2005
Posts: 12
Location: Denmark

PostPosted: Fri Apr 29, 2005 9:55 am    Post subject: make modules modules_install problem Reply with quote

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
View user's profile Send private message
AlphaHeX
n00b
n00b


Joined: 17 Jan 2005
Posts: 60
Location: Warsaw, Poland

PostPosted: Fri Apr 29, 2005 9:58 am    Post subject: Reply with quote

Check if you have depmod program in /sbin directory
Back to top
View user's profile Send private message
mollevp
n00b
n00b


Joined: 29 Jan 2005
Posts: 12
Location: Denmark

PostPosted: Fri Apr 29, 2005 10:02 am    Post subject: Reply with quote

I have something called depmod in the /sbin/ directory..
Back to top
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Fri Apr 29, 2005 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
mollevp
n00b
n00b


Joined: 29 Jan 2005
Posts: 12
Location: Denmark

PostPosted: Fri Apr 29, 2005 11:14 am    Post subject: Reply with quote

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
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Fri Apr 29, 2005 11:50 am    Post subject: Reply with quote

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
View user's profile Send private message
mollevp
n00b
n00b


Joined: 29 Jan 2005
Posts: 12
Location: Denmark

PostPosted: Sun May 01, 2005 10:24 am    Post subject: Reply with quote

ok.. i'll give it a shot later today..
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun May 01, 2005 2:44 pm    Post subject: Reply with quote

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 . 8)
_________________
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
View user's profile Send private message
xaos5
Apprentice
Apprentice


Joined: 19 Apr 2005
Posts: 255
Location: Michigan

PostPosted: Sun May 01, 2005 3:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun May 01, 2005 3:45 pm    Post subject: Reply with quote

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.

8)
_________________
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
View user's profile Send private message
xaos5
Apprentice
Apprentice


Joined: 19 Apr 2005
Posts: 255
Location: Michigan

PostPosted: Sun May 01, 2005 3:51 pm    Post subject: Reply with quote

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.
8)


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
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