Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 112748

Summary: rt2500-1.1.0_beta3 misdetects SMP kernel
Product: Gentoo Linux Reporter: MAL <mal>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description MAL 2005-11-16 14:27:01 UTC
I am using gentoo-sources-2.4.28-r9 on an AMD K6-II 500MHz.  When emerging
rt2500, I get:

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.4.28-gentoo-r9
 * Checking for suitable kernel configuration options:
 *   SMP Processors and Kernels are currently not supported
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.

SMP is not enabled in the kernel config.

I suspect this is a problem with the kernel-mod eclass, but I can't see where.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r3 (default-linux/x86/2005.0/2.4, gcc-3.3.6, glibc-2.3.5-r2,
2.4.28-gentoo-r9 i586)
=================================================================
System uname: 2.4.28-gentoo-r9 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.6.13
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -mcpu=k6-2 -O2 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-2 -mcpu=k6-2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://192.168.0.62/distfiles/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://gentoo.blueyonder.co.uk http://mirror.datapipe.net/gentoo
http://mirror.uni-c.dk/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 crypt
cups curl dga directfb divx4linux eds emboss encode esd exif expat fam fbcon
flac foomaticdb gd gdbm ggi gif glut gpm gstreamer gtk gtk2 gtkhtml idn
imagemagick imlib java javascript jpeg lcms libg++ libwww live lzo mad maildir
matroska matrox mikmod mmx mng motif mp3 mpeg msn mysql nas ncurses network nls
ogg oggvorbis opengl operanom2 oscar oss pam pcre pdflib perl pic png python qt
quicktime readline rtc samba sdl slang speex spell ssl tcltk tcpd tetex theora
tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis wmf wxgtk1
wxwindows xanim xine xml xml2 xmms xpm xv xvid yahoo zlib video_cards_matrox
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2005-11-16 15:20:16 UTC
I do not think that this module works on 2.4 kernels.
But I am happy if you can suggest a patch to make it work.
Your current problem should be solveable by commenting out the CONFIG_CHECK
variable in the ebuild.

Why are you using a 2.4 kernel anyway?
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2005-12-25 01:48:11 UTC
does the ebuild with CONFIG_CHECK commented out work for you?