Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compile problem [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Bjosch
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2004
Posts: 148

PostPosted: Sat May 21, 2005 5:41 pm    Post subject: kernel compile problem [SOLVED] Reply with quote

Hi!
I'm running Gentoo on a PowerMac Dual-G4 and with genkernel the installation went fine. But in the genkernel I had no sound-support, so I comiled the kernel (2-6-10-gentoo-r6) new, and get the following error message at the end:
Code:
WARNING: /lib/modules/2.6.10-gentoo-r6/kernel/drivers/net/3c515.ko needs unknown symbol isa_bus_to_virt
WARNING: /lib/modules/2.6.10-gentoo-r6/kernel/drivers/net/3c515.ko needs unknown symbol isa_virt_to_bus

I dont't know where the problem lies, I rechecked the config but there was nothing I was sure about to change. Booting I get some error messages about ALSA and mounting a vfat-partition. Maybe after the newly comiled kernel it will disappear. But does anyone knows about this error message?
Thanks.
-Bjoern.


Last edited by Bjosch on Wed Jun 01, 2005 7:55 pm; edited 2 times in total
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Sun May 22, 2005 4:32 am    Post subject: Reply with quote

Bjosch,

Did you run make modules_install? If not, run that, then rerun make for the kernel and see if you still have the errors.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
Bjosch
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2004
Posts: 148

PostPosted: Mon May 23, 2005 12:20 pm    Post subject: Reply with quote

I tried what you said (even I had previously done
Code:
make && make modules_install
The
Code:
make modules_install
went fine now. Then I got this:
Code:
bash-2.05b# make
  CHK     include/linux/version.h
make[1]: `arch/ppc/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-ppc/offsets.h
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x98da4): In function `corkscrew_open':
: undefined reference to `isa_virt_to_bus'
drivers/built-in.o(.text+0x98dc8): In function `corkscrew_open':
: undefined reference to `isa_virt_to_bus'
drivers/built-in.o(.text+0x98de0): In function `corkscrew_open':
: undefined reference to `isa_virt_to_bus'
drivers/built-in.o(.text+0x98dec): In function `corkscrew_open':
: undefined reference to `isa_virt_to_bus'
drivers/built-in.o(.text+0x996bc): In function `corkscrew_start_xmit':
: undefined reference to `isa_virt_to_bus'
drivers/built-in.o(.text+0x99734): more undefined references to `isa_virt_to_bus' follow
drivers/built-in.o(.text+0x9a610): In function `corkscrew_interrupt':
: undefined reference to `isa_bus_to_virt'
drivers/built-in.o(.text+0x9a620): In function `corkscrew_interrupt':
: undefined reference to `isa_bus_to_virt'
drivers/built-in.o(.text+0x9a904): In function `corkscrew_interrupt':
: undefined reference to `isa_bus_to_virt'
drivers/built-in.o(.text+0x9acd0): In function `corkscrew_interrupt':
: undefined reference to `isa_virt_to_bus'
make: *** [.tmp_vmlinux1] Error 1

Can you tell me what it means or what I have to do? Thanks for your interest and help so long.
-Bjoern.

PS My system is neither able to mount a vfat-partition (with genkernel it went fine, but I don't remember that I changed anything on behalf of this). I have compiled all options of vfat into the kernel not as modules. Is there something I might be aware of?

lsmod gives no output. modprobe gives the same error messages, maybe that helps you understand the problem.


Last edited by Bjosch on Mon May 23, 2005 12:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Mon May 23, 2005 1:35 pm    Post subject: Reply with quote

Bjosch,

Maybe you should try the genkernel again. You can use options that will allow you to manually configure the kernel before it is compiled with genkernel.
Code:
genkernel --udev --menuconfig all


You will get to enter menuconfig before the kernel is compiled, then you can add your needed sound support. Maybe this way you can get a working kernel.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon May 23, 2005 1:43 pm    Post subject: Reply with quote

Do you actually have one of those old 3c515 nics? If not, why not just disable it in the kernel config?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Bjosch
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2004
Posts: 148

PostPosted: Thu May 26, 2005 10:23 am    Post subject: Reply with quote

Actually recompiling the kernel with genkernel worked fine. I only have to re-activate the vfat-partition-check to be sure also of this...
It loads all snd-modules. But when I install alsa-driver I get this message:

Code:
bash-2.05b# emerge -p alsa-driver

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-sound/alsa-driver-1.0.8
bash-2.05b# emerge alsa-driver
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-driver-1.0.8 to /
>>> md5 files   ;-) alsa-driver-1.0.8.ebuild
>>> md5 files   ;-) alsa-driver-1.0.3.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) alsa-driver-1.0.9_rc3.ebuild
>>> md5 files   ;-) files/makefile.patch
>>> md5 files   ;-) files/digest-alsa-driver-1.0.3
>>> md5 files   ;-) files/digest-alsa-driver-1.0.8
>>> md5 files   ;-) files/alsa-driver-0.9.8-au-fix.patch
>>> md5 files   ;-) files/1.0.8-msi_audigyls.patch
>>> md5 files   ;-) files/digest-alsa-driver-1.0.9_rc3
>>> md5 files   ;-) files/xbox-1.0.8.patch
>>> md5 src_uri ;-) alsa-driver-1.0.8.tar.bz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.10-gentoo-r6
 * Checking for suitable kernel configuration options
 *   ALSA is already compiled into the kernel.
 * Please check to make sure these options are set correctly.
 * Once you have satisfied these options, please try merging
 * this package again.

!!! ERROR: media-sound/alsa-driver-1.0.8 failed.
!!! Function check_extra_config, Line 430, Exitcode 0
!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, NOT this status message.

I'm not sure if I should move this argument as new topic. But if you have any ideas, what the problem is...
ALSA is module-compiled in as well as everything sound-related; here the part of my kernel-config:
Code:
# Sound
#
CONFIG_SOUND=m
CONFIG_DMASOUND_PMAC=m
CONFIG_DMASOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
# CONFIG_SND_SEQUENCER_OSS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set

#
# ALSA PowerMac devices
#
CONFIG_SND_POWERMAC=m

#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set

#
# PCMCIA devices
#
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_VXP440 is not set
# CONFIG_SND_PDAUDIOCF is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu May 26, 2005 12:48 pm    Post subject: Reply with quote

Since you've compiled ALSA support into the kernel, you should not use alsa-driver. They provide the same thing and the alsa-driver ebuild is exiting to prevent overlap.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Bjosch
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2004
Posts: 148

PostPosted: Thu May 26, 2005 3:24 pm    Post subject: Reply with quote

You're right! ALSA was not necessary, a bit strange that the ALSA-Guide still recommends it, isn't it?
http://www.gentoo.org/doc/en/alsa-guide.xml
Quote:
Warning: If you use a 2.6 kernel, you may use the drivers provided in the kernel, but we still recommend that you use media-sound/alsa-driver as they are more up to date than what is provided in the kernel tree.

Thanks a lot, sound works fine now!

PS With the vfat partition I have got no problems either, so after genkernel everything works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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