Re: SMP linux

2005-01-18 Thread Eric W. Biederman
"Gin" <[EMAIL PROTECTED]> writes:

> I've been stuck at this problem for a while. My linuxbios boots a
> NON-SMP kernel ok but not the SMP one. 
> The SMP kernel gets loaded and run. When it tries to access an IDE
> drive, an IDE command timed out before anything returns(kernel
> messages). My I/O APIC settings correspond to the MP table. 
>  
> All ISA devices are mapped to the I/O IOAPIC at 0xFEC0. But where do
> we set this I/O APIC up? How does it know to route the IRQs to the local
> APIC?

Linux looks at the mptable.
  
> Another question is, does linuxbios setup the local APIC as Virtual Wire
> mode that via I/O APIC?

Usually we simply setup the local apic in virtual wire mode.
  
> My board is similar to Tyan/s2735, does anyone get this booted with a
> SMP linux before??

Good question.

Eric


___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: SMP linux

2005-01-18 Thread Ronald G. Minnich



> > My board is similar to Tyan/s2735, does anyone get this booted with a
> > SMP linux before??

we are buying two of these and hope to have them for test next week.

ron
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: SMP linux

2005-01-18 Thread YhLu
You are kidding. I put junk in the CVS server?

I guess he still need some time to figure out how to modify his mptable.c.

YH

-Original Message-
From: ebiederman@lnxi.com [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 18, 2005 11:35 AM
To: Gin
Cc: 'LinuxBIOS'
Subject: Re: SMP linux

"Gin" <[EMAIL PROTECTED]> writes:

> I've been stuck at this problem for a while. My linuxbios boots a
> NON-SMP kernel ok but not the SMP one. 
> The SMP kernel gets loaded and run. When it tries to access an IDE
> drive, an IDE command timed out before anything returns(kernel
> messages). My I/O APIC settings correspond to the MP table. 
>  
> All ISA devices are mapped to the I/O IOAPIC at 0xFEC0. But where do
> we set this I/O APIC up? How does it know to route the IRQs to the local
> APIC?

Linux looks at the mptable.
  
> Another question is, does linuxbios setup the local APIC as Virtual Wire
> mode that via I/O APIC?

Usually we simply setup the local apic in virtual wire mode.
  
> My board is similar to Tyan/s2735, does anyone get this booted with a
> SMP linux before??

Good question.

Eric


___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: SMP linux

2005-01-18 Thread Eric W. Biederman
YhLu <[EMAIL PROTECTED]> writes:

> You are kidding. I put junk in the CVS server?

No.  I just could not remember if it was a recent or an ancient board.
If it was an ancient board in the v2 tree I could see problems.

> I guess he still need some time to figure out how to modify his mptable.c.

Eric
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: SMP linux

2005-01-18 Thread YhLu
I moved that from V1 to V2 before you change the cpu initialization
structure.

YH

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


RE: SMP linux

2005-01-18 Thread Gin
>> All ISA devices are mapped to the I/O IOAPIC at 0xFEC0. But where
do
>> we set this I/O APIC up? How does it know to route the IRQs to the
local
> >APIC?

>Linux looks at the mptable.
I understand Linux looks at the mptable and looks for IOAPIC entries. 
  
I meant where in Linuxbios do we configure the IOAPIC at FEC0 or we
don't have to do anything? Linuxbios DOES do something to configure the
IOAPICs of P64H2.


Thank you,
gin




___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


RE: SMP linux

2005-01-18 Thread Gin
>You are kidding. I put junk in the CVS server?
Didn't mean to be rude. I just want to be sure.

gin

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios