Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
APIC errors and hotplug woes
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
WizzleyPete
n00b
n00b


Joined: 27 May 2003
Posts: 54

PostPosted: Thu Aug 21, 2003 8:22 pm    Post subject: APIC errors and hotplug woes Reply with quote

Hey everyone. I have two questions. The first is this:

I added hotplug to my default runlevel, and when I boot into the machine, it starts loading a module for a PCI device that I don't want the module loaded for, and it produces a lot of error messages to boot. I'd like to disable PCI hotplugging and only use it for firewire/USB and the like. Is there a way to disable PCI hotplugging?

The second question is this:

I had to use the kernel option 'noapic' to get my network card to work. However, this causes a whole bunch of errors to flash across the screen indicating the following:

APIC Error on CPU0: 40(40)

That happens so many times, even when I am shutting down, and it doesn't make for a pleasant visual experience when instead I'd like to be seeing my services either starting up or shutting down. Any ideas? I can't use APIC, but I also need to get rid of the errors. Thanks in advance.

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


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

PostPosted: Thu Aug 21, 2003 8:43 pm    Post subject: Reply with quote

WizzleyPete,

You can fix both of these problems with a kernel rebuild.

Do a make xconfig (if you have X), otherwise a make menuconfig.

Choose Hotplug.
On the hotplug sub menu turn off PCI. (There are two items there)

I've forgotten where you turn off APIC but its there somewhere.
You can also add no-apic to your kernel command line (after the root= entry)
to do the same thing. As in root=/dev/hda5 no-apic

Regards,

NeddySeagoon
_________________
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
MasquedAvenger
Guru
Guru


Joined: 21 Aug 2003
Posts: 559
Location: Southern California

PostPosted: Thu Aug 21, 2003 10:22 pm    Post subject: Reply with quote

Actually, not true. I've tried this, and it doesn't work. Here is a solution. Go to the /etc/hotplug directory, and issue the following command:

mv /etc/hotplug/pci.rc /etc/hotplug/pci.rc.backup

The init script only executes any files ending in .rc, and the .rc.backup file will be ignored. This kept it from trying to load modules for all the cards I wanted to have total control over and it works like a charm :)

An answer to the second question is this:

I'll be you had SMP enabled in the kernel. I had the same problem. Disable SMP, and you will no longer recieve those errors when you use the 'noapic' option. Hope this helps :)
Back to top
View user's profile Send private message
abarlam
n00b
n00b


Joined: 22 Jul 2003
Posts: 9

PostPosted: Thu Aug 28, 2003 2:21 am    Post subject: Reply with quote

append noapic to kernel boot options
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