View previous topic :: View next topic |
Author |
Message |
mjoern n00b
Joined: 07 Sep 2004 Posts: 4
|
Posted: Thu Sep 09, 2004 9:22 pm Post subject: genkernel error |
|
|
Hallo
I want to install gentoo from the 2004.2 LiveCD. Everything went well, until I had to compile the Kernel. I decided to chose genkernel, but there was always the same error at the end:
Code: | arch/x86_64/kernel/built-in.o(.init.text+0x2119): In function `late_hpel_init':
undefined reference to `hpet_alloc'
make:*** [.tmp_vmlinux1] Error 1
*ERROR: Failed to compile the "bzImage"target... |
I also tried to compile the Kernel manual, but still the same!
Hardware: Tyan S4882 Motherboard, 4xAMD Opteron 1.8GHz, Onboard Video ATI Rage, SATA (without Raid)
Kernel: 2.6.8-gentoo-r4 |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Thu Sep 09, 2004 9:31 pm Post subject: |
|
|
The actual error ocurred a few lines up. Might want to post those lines, otherwise no one will be able to help you.
And posting your .config file could probably help. |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Thu Sep 09, 2004 11:28 pm Post subject: |
|
|
This is already being discussed here. It seems to be a problem with the latest kernel, just added today (I believe). Nobody's suggested anything to get genkernel to work, yet, but people have had success without genkernel.
The easiest solution is to use linux-2.6.7-gentoo-r14 instead of 2.6.8. You can do that by doing:
Code: |
emerge =gentoo-dev-sources-2.6.7-r14
|
Incidentally, I'm also eager to hear anything which'll get genkernel working with 2.6.8 |
|
Back to top |
|
|
mjoern n00b
Joined: 07 Sep 2004 Posts: 4
|
Posted: Fri Sep 10, 2004 4:15 pm Post subject: |
|
|
the link error has to do with the HPET driver:
+The High Precision Event Timer (HPET) hardware is the future
replacement for the 8254 and Real
+Time Clock (RTC) periodic timer functionality. Each HPET can have up two 32 timers. It is possible
+to configure the first two timers as legacy replacements for 8254 and RTC periodic. A specification
+done by INTEL and Microsoft can be found at http://www.intel.com/labs/platcomp/hpet/hpetspec.htm.
+
+The driver supports detection of HPET driver allocation and initialization of the HPET before the
+driver module_init routine is called. This enables platform code which uses timer 0 or 1 as the
+main timer to intercept HPET initialization. An example of this initialization can be found in
+arch/i386/kernel/time_hpet.c.
I enabled the HPET in the menuconfig and the Kernel was compile successfully! |
|
Back to top |
|
|
|