Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make menuconfig support hot plug not selectable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Buick
n00b
n00b


Joined: 20 Mar 2005
Posts: 3

PostPosted: Sun Apr 03, 2005 8:17 am    Post subject: make menuconfig support hot plug not selectable Reply with quote

Kernel 2.6.11 on a Compaq Deskpro Pentium II.
Installed X11 and Gnome, if I start HALD I get the error:

* Starting D-BUS system messagebus... [ ok ]
* CONFIG_HOTPLUG not enabled for this kernel!
* ERROR: Problem starting needed services.
* "hald" was not started.

So, I installed hotplug. I did:
- emerge hotlpug
- emerge coldplug
- emerge udev

Start hotplug, error:
* CONFIG_HOTPLUG not enabled for this kernel!

But I can't select hot-plug in "Make menuconfig - General setup - Support for hot-pluggable devices"
It is not selectable, only '---'

Please help I am out of options.... :(
Back to top
View user's profile Send private message
wjholden
l33t
l33t


Joined: 01 Mar 2004
Posts: 826
Location: Augusta, GA

PostPosted: Sun Apr 03, 2005 8:34 am    Post subject: Reply with quote

Do this and tell me what the output of the command is:
Code:
grep -i hotplug /usr/src/linux/.confg

My General Support > Support for hot-pluggable devices also has dashes beside it and all my stuff works great. It might be easiest to open up the kernel .config using a text editor and compile from there, assuming it is actually there. If this is a udev bug, somebody speak up as I haven't gone that way yet (I strongly doubt that has anything to do with it). You may want to go through menuconfig --> Device Drivers and browse through things like PNP and whatnot to make sure things are turned on.
Back to top
View user's profile Send private message
Buick
n00b
n00b


Joined: 20 Mar 2005
Posts: 3

PostPosted: Sun Apr 03, 2005 3:33 pm    Post subject: Reply with quote

destuxor wrote:
Do this and tell me what the output of the command is:
Code:
grep -i hotplug /usr/src/linux/.confg


Output:

Code:
CONFIG_HOTPLUG=y
# PCI Hotplug Support
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_FAKE=m
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set


I use 'make menuconfig' and 'make' for the kernel.
How do I use the .config?

[edit]
menuconfig --> Device Drivers - Plug and play support
isn't selectable also....
[/edit]
Back to top
View user's profile Send private message
wjholden
l33t
l33t


Joined: 01 Mar 2004
Posts: 826
Location: Augusta, GA

PostPosted: Sun Apr 03, 2005 5:32 pm    Post subject: Reply with quote

This is bizarre. Post the output of emerge --info. If you don't have a GUI set up yet, see if you can "emerge links" and use links to email it to yourself by doing "emerge --info > info.txt" and attaching that to your email. (The only reason I say this is that I heard of someone typing all that out!! eek!)

Edit: what's HALD?
Back to top
View user's profile Send private message
Buick
n00b
n00b


Joined: 20 Mar 2005
Posts: 3

PostPosted: Sun Apr 03, 2005 5:43 pm    Post subject: Reply with quote

destuxor wrote:
This is bizarre. Post the output of emerge --info.


Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Pentium II (Deschutes)
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 24 2005, 03:32:23)]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode esd fam font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Quote:
Edit: what's HALD?

From: http://www.gentoo.org/doc/en/gnome-config.xml
Adding famd, hald and mDNSResponder to the default runlevel
Back to top
View user's profile Send private message
wjholden
l33t
l33t


Joined: 01 Mar 2004
Posts: 826
Location: Augusta, GA

PostPosted: Mon Apr 04, 2005 4:08 am    Post subject: Reply with quote

I'm starting to wonder if this has to do with the processor -- the current Linux kernel may have problems on the pentium II that simply aren't identified very well.

Also, I'm not altogether sure what we can do about this, but this line kinda sticks out:
Code:
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
You can always open your kernel config in VIM or Nano or what have you and edit away. The menuconfig is nothing more than a menu frontend for setting these things instead of doing so with a text editor. After you've changed things the new kernel may not compile.

I'm not sure why PNP isn't selectable. It probably has something to do with General Support but I don't know.
Back to top
View user's profile Send private message
beavsux
n00b
n00b


Joined: 02 Apr 2005
Posts: 37

PostPosted: Mon Apr 04, 2005 3:28 pm    Post subject: Re: make menuconfig support hot plug not selectable Reply with quote

Buick wrote:
Kernel 2.6.11 on a Compaq Deskpro Pentium II.
But I can't select hot-plug in "Make menuconfig - General setup - Support for hot-pluggable devices"
It is not selectable, only '---'

Please help I am out of options.... :(


My friend has the same problem. This might be a clue for fixing it from /usr/src/linux/init/Kconfig:
Code:

config HOTPLUG
        bool "Support for hot-pluggable devices" if !ARCH_S390
        default ARCH_S390


Try doing
Code:
make clean distclean mrproper
and try again. Also, make sure you selected the right subarchitecture (pc-compatible) and the right CPU.
Back to top
View user's profile Send private message
feifei435
n00b
n00b


Joined: 06 Dec 2013
Posts: 1

PostPosted: Fri Dec 06, 2013 6:40 pm    Post subject: Re: make menuconfig support hot plug not selectable Reply with quote

If you find some packges is not selectable(unselectable,in make menuconfig the package is <---> and can't be changed.) and you want to compile the ipk files of this package,the just modify target/linux/<your platform>/<board name>/config-<uname -r> in the OpenWrt home build directory..Find the package name in the config-<uname -r>file and change something like "CONFIG_CRYPTO_ARC4=y" into "CONFIG_CRYPTO_ARC4=m",recompile,and you'll get the ipk package.
Buick wrote:
Kernel 2.6.11 on a Compaq Deskpro Pentium II.
Installed X11 and Gnome, if I start HALD I get the error:

* Starting D-BUS system messagebus... [ ok ]
* CONFIG_HOTPLUG not enabled for this kernel!
* ERROR: Problem starting needed services.
* "hald" was not started.

So, I installed hotplug. I did:
- emerge hotlpug
- emerge coldplug
- emerge udev

Start hotplug, error:
* CONFIG_HOTPLUG not enabled for this kernel!

But I can't select hot-plug in "Make menuconfig - General setup - Support for hot-pluggable devices"
It is not selectable, only '---'

Please help I am out of options.... :(
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21621

PostPosted: Fri Dec 06, 2013 10:23 pm    Post subject: Re: make menuconfig support hot plug not selectable Reply with quote

feifei435 wrote:
If you find some packges is not selectable(unselectable,in make menuconfig the package is <---> and can't be changed.) and you want to compile the ipk files of this package,the just modify target/linux/<your platform>/<board name>/config-<uname -r> in the OpenWrt home build directory..Find the package name in the config-<uname -r>file and change something like "CONFIG_CRYPTO_ARC4=y" into "CONFIG_CRYPTO_ARC4=m",recompile,and you'll get the ipk package.
I think you are lost. First, the OP was not talking about OpenWrt or any ipk file. Second, your advice is flat out wrong. You should never manually edit a kernel configuration file, because that bypasses the dependency checks enforced by the configuration system. Third, you responded to a thread that was last updated 8.5 years ago.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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