Re: [gentoo-user] unknown symbol request_module

2008-09-03 Thread cuciferus
On Monday 01 September 2008 15:45:56 Xav' wrote:
 On Mon, 1 Sep 2008 12:33:28 +0200, Roland Puntaier

 [EMAIL PROTECTED] wrote:
  Hi,
 
  I am installing Gentoo on an older notebook of mine and have the

 following

  problem:
 
  After a first try to make sound work, where I had OSS checked in the

 For a first start, OSS is now deprecated, so you have to use ALSA instead
 in the kernel.
The kernel oss is now deprecated

  kernel configuration,
  I followed the gentoo alsa guide
  http://www.gentoo.org/doc/en/alsa-guide.xml
 
  But got a lot of unknown symbol entries at boot (viewed afterwards via
  dmesg).
  The first seems to be the reason for the others: unknown symbol
  request_module.
 
  request_module is defined in vmlinux (via nm vmlinux | grep
  request_module)
  but not linked in soundcore.o (nm soundcore.o | grep request_module

 says

  U(ndefined))
 
  Since request_module is needed to load kernel modules, no kernel modules
  can be loaded, and therefore symbols from such modules are not there.
  This leads to the other unknown symbol messages. So the question is,

 why

  request_module does not get linked properly.
 
  What I already tried:
  I saved the .config and did
  make mrproper
  and restored .config.
  Then
  make  make modules_install
 
  But that did not help.
 
  Did somebody experience anything similar?
  Could somebody give me a hint how to solve this problem?

 I think your .config file will help us more than you expect, and also the
 output of your dmesg :)

  Thanks in advance.
  Cheers. Roland

 Regards.

 Xavier Parizet
For laptops you could eyeball the wiki for they have there a complete setup 
for  most of the laptops. Also on the wiki you'll find a nice oss4 tutorial. 
The first advantage of oss4 it's that is s much easier to setup.
Also for further help you might try to be more specific: what laptop model? 
what sound card because maybe by chance some of us already did setup the same 
model with success. 



Re: [gentoo-user] unknown symbol request_module

2008-09-03 Thread Roland Puntaier
Hi cuciferus,

Thanks for pointing me to the gentoo wiki hardware list. It's impressive.

Still it does not have the 
Gericom Supersonic 1000
which I am setting up.

I did find a .config on the net for the 2.4.18 kernel 
http://techinfo.system33.de/LinuxOnGericom/index.html
 
http://www.tutorials.de/forum/linux-tutorials/144865-linux-bericht-debian-auf-gericom-notebook.html
 
(no .config posted)
but the 2.6 kernel config file is quite different, it seems.

Anyway, it would be interesting for me to find out the reason for the 
described problem. I have found a similar mail from someone else not for 
sound, but without solution/reason.
How can a kernel module not not know about the request_module symbol from 
vmlinux?

Roland

[EMAIL PROTECTED] schrieb am 03.09.2008 08:17:00:

 On Monday 01 September 2008 15:45:56 Xav' wrote:
  On Mon, 1 Sep 2008 12:33:28 +0200, Roland Puntaier
 
  [EMAIL PROTECTED] wrote:
   Hi,
  
   I am installing Gentoo on an older notebook of mine and have the
 
  following
 
   problem:
  
   After a first try to make sound work, where I had OSS checked in the
 
  For a first start, OSS is now deprecated, so you have to use ALSA 
instead
  in the kernel.
 The kernel oss is now deprecated
 
   kernel configuration,
   I followed the gentoo alsa guide
   http://www.gentoo.org/doc/en/alsa-guide.xml
  
   But got a lot of unknown symbol entries at boot (viewed afterwards 
via
   dmesg).
   The first seems to be the reason for the others: unknown symbol
   request_module.
  
   request_module is defined in vmlinux (via nm vmlinux | grep
   request_module)
   but not linked in soundcore.o (nm soundcore.o | grep 
request_module
 
  says
 
   U(ndefined))
  
   Since request_module is needed to load kernel modules, no kernel 
modules
   can be loaded, and therefore symbols from such modules are not 
there.
   This leads to the other unknown symbol messages. So the question 
is,
 
  why
 
   request_module does not get linked properly.
  
   What I already tried:
   I saved the .config and did
   make mrproper
   and restored .config.
   Then
   make  make modules_install
  
   But that did not help.
  
   Did somebody experience anything similar?
   Could somebody give me a hint how to solve this problem?
 
  I think your .config file will help us more than you expect, and also 
the
  output of your dmesg :)
 
   Thanks in advance.
   Cheers. Roland
 
  Regards.
 
  Xavier Parizet
 For laptops you could eyeball the wiki for they have there a complete 
setup 
 for  most of the laptops. Also on the wiki you'll find a nice oss4 
tutorial. 
 The first advantage of oss4 it's that is s much easier to setup.
 Also for further help you might try to be more specific: what laptop 
model? 
 what sound card because maybe by chance some of us already did setupthe 
same 
 model with success. 
 




Re: [gentoo-user] unknown symbol request_module

2008-09-02 Thread Roland Puntaier
Hello Xavier,

here is the .config. 
I just realized that there went something wrong when I put dmesg output 
onto the USB stick: the file is empty. 
But as mentioned there are a lot of Unknown symbol entries. All but 
request_module are from sound modules.

Many thanks for your help.
Roland

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-gentoo-r7
# Sun Aug 31 18:55:42 2008
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
CONFIG_ARCH_DEFCONFIG=arch/x86/configs/i386_defconfig
# CONFIG_GENERIC_LOCKBREAK is not set
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_FAST_CMPXCHG_LOCAL=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
# CONFIG_GENERIC_GPIO is not set
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set
CONFIG_ARCH_HAS_CPU_RELAX=y
# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set
CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_X86_SMP=y
CONFIG_X86_32_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_TRAMPOLINE=y
CONFIG_KTIME_SCALAR=y
CONFIG_DEFCONFIG_LIST=/lib/modules/$UNAME_RELEASE/.config

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=18
# CONFIG_CGROUPS is not set
CONFIG_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_USER_SCHED=y
# CONFIG_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_RELAY=y
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_COMPAT_BRK=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
# CONFIG_MARKERS is not set
CONFIG_OPROFILE=y
CONFIG_HAVE_OPROFILE=y
CONFIG_KPROBES=y
CONFIG_KRETPROBES=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
CONFIG_LBD=y
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
# CONFIG_BLK_DEV_BSG is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED=cfq
CONFIG_CLASSIC_RCU=y

#
# Processor type and features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_SMP=y
# CONFIG_X86_PC is not set
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
CONFIG_X86_GENERICARCH=y
# CONFIG_X86_ES7000 is not set
# CONFIG_X86_RDC321X is not set
# CONFIG_X86_VSMP is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_PARAVIRT_GUEST is not set
CONFIG_X86_CYCLONE_TIMER=y
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# 

[gentoo-user] unknown symbol request_module

2008-09-01 Thread Roland Puntaier
Hi,

I am installing Gentoo on an older notebook of mine and have the following 
problem:

After a first try to make sound work, where I had OSS checked in the 
kernel configuration,
I followed the gentoo alsa guide
http://www.gentoo.org/doc/en/alsa-guide.xml

But got a lot of unknown symbol entries at boot (viewed afterwards via 
dmesg).
The first seems to be the reason for the others: unknown symbol 
request_module.

request_module is defined in vmlinux (via nm vmlinux | grep 
request_module)
but not linked in soundcore.o (nm soundcore.o | grep request_module says 
U(ndefined))

Since request_module is needed to load kernel modules, no kernel modules 
can be loaded, and therefore symbols from such modules are not there.
This leads to the other unknown symbol messages. So the question is, why 
request_module does not get linked properly.

What I already tried:
I saved the .config and did 
make mrproper
and restored .config.
Then
make  make modules_install

But that did not help.

Did somebody experience anything similar?
Could somebody give me a hint how to solve this problem?

Thanks in advance.
Cheers. Roland




Re: [gentoo-user] unknown symbol request_module

2008-09-01 Thread Xav'
On Mon, 1 Sep 2008 12:33:28 +0200, Roland Puntaier
[EMAIL PROTECTED] wrote:
 Hi,
 
 I am installing Gentoo on an older notebook of mine and have the
following
 problem:
 
 After a first try to make sound work, where I had OSS checked in the

For a first start, OSS is now deprecated, so you have to use ALSA instead
in the kernel.

 kernel configuration,
 I followed the gentoo alsa guide
 http://www.gentoo.org/doc/en/alsa-guide.xml
 
 But got a lot of unknown symbol entries at boot (viewed afterwards via 
 dmesg).
 The first seems to be the reason for the others: unknown symbol 
 request_module.
 
 request_module is defined in vmlinux (via nm vmlinux | grep 
 request_module)
 but not linked in soundcore.o (nm soundcore.o | grep request_module
says
 
 U(ndefined))
 
 Since request_module is needed to load kernel modules, no kernel modules 
 can be loaded, and therefore symbols from such modules are not there.
 This leads to the other unknown symbol messages. So the question is,
why
 request_module does not get linked properly.
 
 What I already tried:
 I saved the .config and did 
 make mrproper
 and restored .config.
 Then
 make  make modules_install
 
 But that did not help.
 
 Did somebody experience anything similar?
 Could somebody give me a hint how to solve this problem?

I think your .config file will help us more than you expect, and also the
output of your dmesg :)

 Thanks in advance.
 Cheers. Roland

Regards.

Xavier Parizet
-- 
Xavier