[eepro100] Unresolved symbols, pci-scan.c and 2.2.14-5.0smp

Sami Pitko spitko@hotmail.com
Thu Jun 13 13:43:01 2002


> > #define CONFIG_APM 1
>...
> > #define CONFIG_APM_POWER_OFF 1
> > #define CONFIG_APM_RTC_IS_GMT 1
>
>Could you look at the lines in the file around these lines to see why
>CONFIG_APM is set?  The "autoconf-smp.h" file should match the SMP
>kernel.

>We still want to track down the general problem to automatically fix it
>for other users.

First lines of the autoconf-smp.h says:

/*
* Automatically generated C config: don't edit
*/

CONFIG_APM is in section General setup, which has following lines:

/*
* General setup
*/
#undef  CONFIG_BIGMEM
#define CONFIG_NET 1
#define CONFIG_PCI 1
#undef  CONFIG_PCI_GOBIOS
#undef  CONFIG_PCI_GODIRECT
#define CONFIG_PCI_GOANY 1
#define CONFIG_PCI_BIOS 1
#define CONFIG_PCI_DIRECT 1
#define CONFIG_PCI_QUIRKS 1
#undef  CONFIG_PCI_OPTIMIZE
#define CONFIG_PCI_OLD_PROC 1
#undef  CONFIG_MCA
#undef  CONFIG_VISWS
#define CONFIG_X86_IO_APIC 1
#define CONFIG_X86_LOCAL_APIC 1
#define CONFIG_SYSVIPC 1
#define CONFIG_BSD_PROCESS_ACCT 1
#define CONFIG_SYSCTL 1
#undef  CONFIG_BINFMT_AOUT
#define CONFIG_BINFMT_AOUT_MODULE 1
#define CONFIG_BINFMT_ELF 1
#undef  CONFIG_BINFMT_MISC
#define CONFIG_BINFMT_MISC_MODULE 1
#undef  CONFIG_BINFMT_JAVA
#define CONFIG_BINFMT_JAVA_MODULE 1
#undef  CONFIG_PARPORT
#define CONFIG_PARPORT_MODULE 1
#undef  CONFIG_PARPORT_PC
#define CONFIG_PARPORT_PC_MODULE 1
#undef  CONFIG_PARPORT_OTHER
#define CONFIG_APM 1
#undef  CONFIG_APM_IGNORE_USER_SUSPEND
#undef  CONFIG_APM_DO_ENABLE
#undef  CONFIG_APM_CPU_IDLE
#undef  CONFIG_APM_DISPLAY_BLANK
#define CONFIG_APM_POWER_OFF 1
#undef  CONFIG_APM_IGNORE_MULTIPLE_SUSPEND
#undef  CONFIG_APM_IGNORE_SUSPEND_BOUNCE
#define CONFIG_APM_RTC_IS_GMT 1
#undef  CONFIG_APM_ALLOW_INTS

After those lines there are definitions for Plug and Play support and so on.

The machine has following kernel rpms installed (these are outdated with 
known security holes, but they come from the RH6.2 CD by default):

# rpm -qa|grep kernel
kernel-2.2.14-5.0
kernel-pcmcia-cs-2.2.14-5.0
kernel-smp-2.2.14-5.0
kernel-utils-2.2.14-5.0
kernel-headers-2.2.14-5.0

autoconf-smp.h file is part of kernel-headers rpm:

# rpm -ql kernel-headers|grep autoconf-smp.h
/usr/src/linux-2.2.14/include/linux/autoconf-smp.h

I have not tested compilation/insmod with latest RH supplied kernel 
(2.2.19-6.2.16) for RH6.2 as I don't have a spare SMP machine for testing.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com