Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Help needed building SMP kernel

 
   Soft32 Home -> Linux -> Slackware RSS
Next:  Wirless Drivers  
Author Message
Manimoto

External


Since: Nov 16, 2007
Posts: 2



(Msg. 1) Posted: Tue Nov 20, 2007 9:27 am
Post subject: Help needed building SMP kernel
Archived from groups: alt>os>linux>slackware (more info?)

Sorry if this is off topic for this NG. I have already posted to
comp.os.linux.hardware - but no luck. Since I use Slackware I am going
to ask for help here...

I'm trying to build an SMP kernel that will boot on my laptop.
The laptop is HP Pavilion DV9408 with an Athlon 64 X2 Dual Core TK-53
cpu.
The problem I'm having is that with an SMP kernel, the machine freezes
during bootup 8 times out 10. However on those rare occasions when the
SMP kernel boots up successfully, it runs very well. A uniprocessor
kernel boots-up with no problems.

The freeze at bootup occurs as follows:
"Total of 2 processors activated (6835.77 BogoMIPS)
ExtINT not setup in hardware but reported by MP table
ENABLING IO-APICS IRQs
....TIMER: vector=0x31 apic1=-1 pin1=-1 apic2=0 pin2=0
....trying to set up timer (IRQ0) through 8259A...
.... (found pin 0)...failed
....trying to set up timer as Virtual Wire IRQ...failed
....trying to set up timer as ExtINT IRQ... works"

(freeze occurs at his point and I have to use the power button
to turn machine off, then on again)

I've tried kernels 2.6.22.10, 2.6.22.12, 2.6.23.1, and 2.6.23.8 with
the same results.
Re. building the kernel I have set the pertinent parts of the kernel
config as follows:
> Processor family=Opteron/Athlon64/Hammer/K8
> Symmetric multi-processing support=y
> Subarchitecture Type=pc-compatible
> HPET timer support=y
> Max number of CPUs=2 (there are only 2 cores)
> Multi-core scheduler support=y

As far as I can understand, the above are the only items related to
an SMP kernel. Are there any others?
(If it will help I can provide output of lspci, usb, etc...)

I have observed the following:
(1) Vista boots OK on the same machine everytime.
(2) Uniprocessor kernels boot OK everytime.
(3) Usually after booting up Vista, an SMP kernel boots up OK,
but may not the next time. Have had a maximum of 4 consecutive
successful bootups with an SMP kernel (2.6.23.1), after which
a freeze occurs. Then I reboot to Vista, and keep trying to
boot the SMP kernel. Usually I just give up after 3 tries and
use the uniprocessor kernel.
(4) If I try boot an SMP kernel after running a uniprocessor
kernel machine *WILL* freeze.
(5) If I try boot an SMP kernel after running an SMP kernel
the machine *MAY* freeze.
(6) Once it boots successfully, an SMP kernel is just as
reliable as a single processor kernel.

Any insight into this problem would be really appreciated!

BTW - I've searched for "problems+linux+IO-APIC" and though there were
quite a few hits none helped me since those had nothing to do with SMP
kernels.

Thanks all.
Back to top
Login to vote
Robby Workman

External


Since: Jan 06, 2006
Posts: 69



(Msg. 2) Posted: Tue Nov 20, 2007 7:21 pm
Post subject: Re: Help needed building SMP kernel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-11-20, Manimoto wrote:
>
> The freeze at bootup occurs as follows:
> "Total of 2 processors activated (6835.77 BogoMIPS)
> ExtINT not setup in hardware but reported by MP table
> ENABLING IO-APICS IRQs
> ...TIMER: vector=0x31 apic1=-1 pin1=-1 apic2=0 pin2=0
> ...trying to set up timer (IRQ0) through 8259A...
> ... (found pin 0)...failed
> ...trying to set up timer as Virtual Wire IRQ...failed
> ...trying to set up timer as ExtINT IRQ... works"


Try booting the supplied Slackware SMP kernel with the "noapic"
option.

-RW
Back to top
Login to vote
Phil Young

External


Since: Nov 21, 2007
Posts: 1



(Msg. 3) Posted: Wed Nov 21, 2007 7:39 am
Post subject: Re: Help needed building SMP kernel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 20 Nov 2007 19:21:20 +0000, Robby Workman wrote:

> On 2007-11-20, Manimoto wrote:
>>
>> The freeze at bootup occurs as follows: "Total of 2 processors
>> activated (6835.77 BogoMIPS) ExtINT not setup in hardware but reported
>> by MP table ENABLING IO-APICS IRQs
>> ...TIMER: vector=0x31 apic1=-1 pin1=-1 apic2=0 pin2=0 ...trying to set
>> up timer (IRQ0) through 8259A... ... (found pin 0)...failed ...trying
>> to set up timer as Virtual Wire IRQ...failed ...trying to set up timer
>> as ExtINT IRQ... works"
>
>
> Try booting the supplied Slackware SMP kernel with the "noapic" option.
>
> -RW

Or try "nolapic_timer".

This works on my Compaq f560 (same processor). I tried "noapic" and
"nolapic" (as well as "noacpi", "irqpoll" and a dozen others), but they
had some undesirable results - can't remember exactly what. YMMV of
course.

Without extra options, the hugesmp kernel froze during boot, but 'unfroze'
if you pressed the arrow keys, and at one point, the power button for a
second once it did freeze. Maybe the keyboard interrupts were somehow
jogging something into action ?



Phil Young
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Assigning two NICs - I have a Slackware box with two NICs. With Slackware 10.2, device eth0 gets assigned to NIC #1 (a VIA Rhine built-in..

best way to setup bridge for qemu - I'd like to setup a bridge using the tun/tap driver on my slackware 12 system but still be able to use the..

Slackware 12.0: cannot view or print postscript files - Hi I just upgraded from Slack 11.0 to 12.0 following instructions from..

Building custom kernel rpms from Fedora kernel-*.src.rpm (.. - Hello, I used successfully a method described in http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/....

[gentoo-user] Building Kernel Modules with custom kernel t.. -

Solution for building customized kernel rpms from Fedora k.. - FYI: Those who tried to follow the description by Kevin Hobbs..
       Soft32 Home -> Linux -> Slackware All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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

Categories:
 Windows
  Linux
 Mac
 PDA



[ Contact us | Terms of Service/Privacy Policy ]