Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Local APIC??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nemesis01
n00b
n00b


Joined: 19 May 2005
Posts: 52

PostPosted: Fri May 27, 2005 2:37 pm    Post subject: Local APIC?? Reply with quote

Code:

#dmesg | grep APIC

Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01240000)
Local APIC not detected. Using dummy APIC emulation.


I saw this message in dmesg, so I enabled APIC in my bios. I do however still get this message. What is this all about?

I did some quick searching and found:

Quote:

Pass "lapic" to the kernel in GRUB!
i.e.

title RTAI3.2-test2, kernel 2.6.9 GCC-4.0
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-adeos root=/dev/hda1 ro lapic
savedefault
boot


Is this something I should have compiled in to my kernel? Or do I need to pass this like they did?

Any suggestions greatly appreciated.

- Nemesis
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Fri May 27, 2005 3:19 pm    Post subject: Reply with quote

nemesis01,

There is an option in the Kernel for APIC use. Its in the same menu as Processor Type.
You need to say yes or teh kernel will use the old PIC code.

Look in /proc/interrups, entries with XT-PIC mean you are not useing the APIC.
I need to fix mine now too!
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nemesis01
n00b
n00b


Joined: 19 May 2005
Posts: 52

PostPosted: Fri May 27, 2005 4:44 pm    Post subject: looking... Reply with quote

NeddySeagoon,
Thanks for your help again! I can't seem to find the menu item, doh.

Code:
/proc/interrupts

           CPU0
  0:    1314783          XT-PIC  timer
  1:          8          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  7:          0          XT-PIC  parport0
  9:          0          XT-PIC  acpi, uhci_hcd
 10:       4770          XT-PIC  Intel 82801AA-ICH, eth0
 11:       6441          XT-PIC  ide1, ide2
 14:         11          XT-PIC  ide0
NMI:          0
LOC:    1314799
ERR:          0
MIS:          0



I added the lpaic to my grub.conf to see what it does. The result:

Code:
 # dmesg | grep -i apic
Kernel command line: root=/dev/md0 lapic
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
mapped APIC to ffffd000 (fee00000)


I am getting this XT-PIC still though. I must need to enable that menu item you were speaking of. Can you give me driving directions to it?

Thanks so much.

-Nemesis01[/quote]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Fri May 27, 2005 8:15 pm    Post subject: Reply with quote

nemesis01,

Its in
Code:
Processor type and features
, where you want to choose
Code:
Local APIC support on uniprocessors
and its subooption
Quote:
IO-APIC support on uniprocessors


Just above it are
Code:
Preemptible Kernel
and
Code:
HPET Timer Support
which are both Good Things
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nemesis01
n00b
n00b


Joined: 19 May 2005
Posts: 52

PostPosted: Sat May 28, 2005 2:04 am    Post subject: Thats wierd... I don't seem to have it. Reply with quote

This is my processor type and features:

Code:
    Subarchitecture Type (PC-compatible)  --->                             │ │
  │ │    Processor family (Pentium-III/Celeron(Coppermine)/Pentium-III Xeon)  --│ │
  │ │[ ] Generic x86 support                                                    │ │
  │ │[*] HPET Timer Support                                                     │ │
  │ │[*] Symmetric multi-processing support                                     │ │
  │ │(8)   Maximum number of CPUs (2-255)                                       │ │
  │ │[*]   SMT (Hyperthreading) scheduler support                               │ │
  │ │[*] Preemptible Kernel                                                     │ │
  │ │[*]   Preempt The Big Kernel Lock                                          │ │
  │ │[*] Machine Check Exception                                                │ │
  │ │<*>   Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4     │ │
  │ │[*]   check for P4 thermal throttling interrupt.                           │ │
  │ │< > Toshiba Laptop support                                                 │ │
  │ │< > Dell laptop support                                                    │ │
  │ │< > /dev/cpu/microcode - Intel IA32 CPU microcode support                  │ │
  │ │< > /dev/cpu/*/msr - Model-specific register support                       │ │
  │ │< > /dev/cpu/*/cpuid - CPU information support                             │ │
  │ │    Firmware Drivers  --->                                                 │ │
  │ │    High Memory Support (off)  --->                                        │ │
  │ │[ ] Math emulation                                                         │ │
  │ │[*] MTRR (Memory Type Range Register) support                              │ │
  │ │[ ] Boot from EFI support (EXPERIMENTAL)                                   │ │
  │ │[*] Enable kernel irq balancing                                            │ │
  │ │[ ] Use register arguments (EXPERIMENTAL)                                  │ │
  │ │                                                                           │ │


I am using the linux-2.6.11-gentoo-r9 kernel. Could it be that my system just doesn't support it? I am using a semi-old pc. Has the Celeron (Coppermine) 566 Mhz. But cruizes along great as console only server.

-Nemesis
Back to top
View user's profile Send private message
steve_d555
Guru
Guru


Joined: 07 Nov 2004
Posts: 458
Location: Belmont, Massachusetts

PostPosted: Sat May 28, 2005 2:41 am    Post subject: Reply with quote

Disable SMP and HyperThreading and it should show up.
_________________
rubyforums | blog | boxwhore
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Sat May 28, 2005 9:56 am    Post subject: Reply with quote

steve_d555,

With an SMP kernel, APIC support is compulsory, you cannot turn it off, which is why its hidden.

Disabling SMP support on a single CPU box (unless you have Hyperthreading) is a good idea anyway. It gets rid of some code thats not required.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nemesis01
n00b
n00b


Joined: 19 May 2005
Posts: 52

PostPosted: Sat May 28, 2005 1:02 pm    Post subject: Enbaled, complied, cp Reply with quote

I still get XT-PIC.... could it be the comp is just not so good?

-Nemesis01
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Sat May 28, 2005 1:16 pm    Post subject: Reply with quote

nemesis01,

Your CPU needs to support APIC for it to work.
I still get XT-PIC on one boc and APIC on another and I don't know why yet.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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