Linux-kernel mailing list archive 1999-23,: Re: Kernel 2.2.9 SMP on Alpha DS20 problem

# Re: Kernel 2.2.9 SMP on Alpha DS20 problem

Mark Hull-Richter (markh@procom.com)
Thu, 10 Jun 1999 09:06:12 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jeff Merkey: "Re: Oops in 2.3.X, 2.2.X, and 2.0.3X with FENRIS and NCR53c875 SCSI Driver"
- Previous message: Bernhard Rosenkraenzer: "Re: PIIX bug report"
- Maybe in reply to: Flavio Pescuma: "Kernel 2.2.9 SMP on Alpha DS20 problem"
- Next in thread: Flavio Pescuma: "Re: Kernel 2.2.9 SMP on Alpha DS20 problem"

This is a multi-part message in MIME format.
--------------51C63C56318374B0A875857D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Flavio Pescuma wrote:
>
> Keith Owens wrote:
> >
> > On Thu, 10 Jun 1999 11:22:31 +0200,
> > Flavio Pescuma <edtfopa@malmen.ericsson.se> wrote:
> > >I've compiled 2.2.9 with SMP support on a Alpha DS20, 2 500Mhz CPUs
> > >512Mb. When booting it hangs after Entering SMP this are the console
> > >messages:
> > >
> > >secondary_console_message on 0 from 1 HALT_REASON 0x0 FLAGS 0x1ee
> > >secondary_console_message on 0 message is 'P01>> START P01>>>'
> > >smp_boot_cpus: Total of 2 Processors Activated ....
> > >start_secondary: commencing CPU 1 current fffffc0011ff70000
> > >spinlock stuck at fffffc000032b0dc(0) owner swapper at fffffc000032a714
> > >spinlock stuck at fffffc000032b0dc(1) owner swapper at fffffc000032a714
> >
> > Fetch ftp://ftp.ocs.com.au/pub/ksymoops/ksymoops-0.7b.tar.gz and
> > install it. Then run your log through ksymoops, using your current
> > System.map and mail the result to l-k.
> >
> > ksymoops-07.a added support for "spinlock stuck" messages. The only
> > different between 0.7a and 0.7b is a 1 character typo in the Makefile
> > (plus a version number change).
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/
> Hi
>
> I'm recompiling with
> ftp://ftp.alphalinux.org/patches/v2.2/d-axp-229-4.gz
>
> I'll keep you informed what happened
>
> Thanks
>
> Flavio
> --

This wasn't quite enough when I tried it - you need to do two more
things after you apply the patch. First, apply this patch:

----- begin patch -----
--- arch/alpha/kernel/sys_takara.c.bad Wed Jun 9 18:19:45 1999
+++ arch/alpha/kernel/sys_takara.c Wed Jun 9 18:34:15 1999
@@ -177,8 +177,6 @@ takara_swizzle(struct pci_dev *dev, int
slot = PCI_SLOT(dev->devfn);
if (pin == 1)
pin += (20 - busslot);
- else
- / *printk("TAKARA: device pin error!\n"); */ }
else /* must be a card-based bridge */
{
/* printk("common_fixup: TAKARA: "
@@ -186,6 +184,7 @@ takara_swizzle(struct pci_dev *dev, int
"behind builtin bridge yet.\n"); */
slot = PCI_SLOT(dev->devfn);
}
+ }
*pinp = pin;
return slot;
----- end patch -----

If this doesn't boot (you get errors in loading the kernel), try this
change to arch/alpha/Makefile:

change the line

LINKFLAGS = -static -T arch/alpha/vmlinux.lds -N -relax

to

LINKFLAGS = -static -T arch/alpha/vmlinux.lds # -N -relax

and rebuild the boot image.

This worked for me once I also configured the kernel with NO special
settings other than the stock default that came with it other than SMP
and my specific hardware changes.

Good luck.
--------------51C63C56318374B0A875857D
Content-Type: text/x-vcard; charset=us-ascii;
name="markh.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Mark Hull-Richter
Content-Disposition: attachment;
filename="markh.vcf"

begin:vcard
n:Hull-Richter;Mark Hull-Richter
tel;fax:949-851-3907
tel;work:800-800-8600x6756
x-mozilla-html:TRUE
url:http://www.procom.com
org:Procom Technology, Inc.
adr:;;1821 East Dyer Road;Santa Ana;CA;92705;
version:2.1
email;internet:markh@procom.com
title:Senior Software Engineer
x-mozilla-cpt:;-1
fn:Mark Hull-Richter
end:vcard

--------------51C63C56318374B0A875857D--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Jeff Merkey: "Re: Oops in 2.3.X, 2.2.X, and 2.0.3X with FENRIS and NCR53c875 SCSI Driver"
- Previous message: Bernhard Rosenkraenzer: "Re: PIIX bug report"
- Maybe in reply to: Flavio Pescuma: "Kernel 2.2.9 SMP on Alpha DS20 problem"
- Next in thread: Flavio Pescuma: "Re: Kernel 2.2.9 SMP on Alpha DS20 problem"