Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: XFree 4.0 crashes with SRM
  2000-05-31 17:14 XFree 4.0 crashes with SRM Jeff Sturm
@ 2000-05-31 17:14 ` Craig P Prescott
  2000-05-31 17:40   ` Rich Payne
  2000-05-31 19:14   ` Jeff Sturm
  0 siblings, 2 replies; 26+ messages in thread
From: Craig P Prescott @ 2000-05-31 17:14 UTC (permalink / raw)
  To: axp-list


Hi;

Jeff Sturm wrote:
> I've been happily using the new XFree server on my 164SX with a Voodoo3
> card for a few months now.  The only glitch is that it trashes my text
> console on exit.

I've recently (~ 2 weeks ago) upgraded to XFree 4.0.0 on my SX with a
Voodoo3 3000.  I also get a trashed text console on exit.

> This week however I flashed in SRM to replace AlphaBIOS.  Since then
> XFree does not start... it usually leaves me with a blank screen, though
> I can still use the keyboard to reboot.

I've not seen this...  I am using SRM v5.5 and linux 2.2.15.

Hmmm - maybe your kernel has defined CONFIG_ALPHA_SRM_SETUP?  Just a
thought.  I said no to the "Use SRM PCI setup" option...

Cheers,
Craig
---
Craig Prescott                                (352) 846-3145 (Phone)
2011 New Physics Building                     (352) 392-8863 (Fax)
University of Florida, Gainesville, FL 32611  prescott@phys.ufl.edu


^ permalink raw reply	[flat|nested] 26+ messages in thread

* XFree 4.0 crashes with SRM
@ 2000-05-31 17:14 Jeff Sturm
  2000-05-31 17:14 ` Craig P Prescott
  0 siblings, 1 reply; 26+ messages in thread
From: Jeff Sturm @ 2000-05-31 17:14 UTC (permalink / raw)
  To: axp-list

I've been happily using the new XFree server on my 164SX with a Voodoo3
card for a few months now.  The only glitch is that it trashes my text
console on exit.

This week however I flashed in SRM to replace AlphaBIOS.  Since then
XFree does not start... it usually leaves me with a blank screen, though
I can still use the keyboard to reboot.

What am I doing wrong?

--
Jeff Sturm
jeff.sturm@appnet.com


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-05-31 17:14 ` Craig P Prescott
@ 2000-05-31 17:40   ` Rich Payne
  2000-05-31 23:36     ` Jeff Sturm
  2000-05-31 19:14   ` Jeff Sturm
  1 sibling, 1 reply; 26+ messages in thread
From: Rich Payne @ 2000-05-31 17:40 UTC (permalink / raw)
  To: axp-list


I've got a Voodoo3 in an SX running X4.0 and I don't have either
problem....

I've run this with the 15 pre releases and now 15pre6 w/o any trouble. I
did include the PCI Quirks though....

--rdp

On Wed, 31 May 2000, Craig P Prescott wrote:

> 
> Hi;
> 
> Jeff Sturm wrote:
> > I've been happily using the new XFree server on my 164SX with a Voodoo3
> > card for a few months now.  The only glitch is that it trashes my text
> > console on exit.
> 
> I've recently (~ 2 weeks ago) upgraded to XFree 4.0.0 on my SX with a
> Voodoo3 3000.  I also get a trashed text console on exit.
> 
> > This week however I flashed in SRM to replace AlphaBIOS.  Since then
> > XFree does not start... it usually leaves me with a blank screen, though
> > I can still use the keyboard to reboot.
> 
> I've not seen this...  I am using SRM v5.5 and linux 2.2.15.
> 
> Hmmm - maybe your kernel has defined CONFIG_ALPHA_SRM_SETUP?  Just a
> thought.  I said no to the "Use SRM PCI setup" option...
> 
> Cheers,
> Craig
> ---
> Craig Prescott                                (352) 846-3145 (Phone)
> 2011 New Physics Building                     (352) 392-8863 (Fax)
> University of Florida, Gainesville, FL 32611  prescott@phys.ufl.edu
> 
> 

-- 
Rich Payne
rpayne@alphalinux.org			www.alphalinux.org


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-05-31 19:14   ` Jeff Sturm
@ 2000-05-31 18:36     ` Jay Estabrook
  2000-06-01 13:23       ` Jeff Sturm
  2000-06-01 14:25     ` Craig P Prescott
  1 sibling, 1 reply; 26+ messages in thread
From: Jay Estabrook @ 2000-05-31 18:36 UTC (permalink / raw)
  To: axp-list

On Wed, May 31, 2000 at 03:14:42PM -0400, Jeff Sturm wrote:
> 
> Nice thought... already tried it though.  With or without
> CONFIG_ALPHA_SRM_SETUP I cannot start X.

Stay away from that option at the moment, it's sadly out of date.

> BTW do you have SCSI?  SRM doesn't seem to find my 53c860.

53c860 was not a supported chip under DU/VMS, AFAIK, so you may be out
of luck; sorry...

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20         (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-05-31 17:14 ` Craig P Prescott
  2000-05-31 17:40   ` Rich Payne
@ 2000-05-31 19:14   ` Jeff Sturm
  2000-05-31 18:36     ` Jay Estabrook
  2000-06-01 14:25     ` Craig P Prescott
  1 sibling, 2 replies; 26+ messages in thread
From: Jeff Sturm @ 2000-05-31 19:14 UTC (permalink / raw)
  To: axp-list

Craig P Prescott wrote:
> > This week however I flashed in SRM to replace AlphaBIOS.  Since then
> > XFree does not start... it usually leaves me with a blank screen, though
> > I can still use the keyboard to reboot.
> 
> I've not seen this...  I am using SRM v5.5 and linux 2.2.15.
> 
> Hmmm - maybe your kernel has defined CONFIG_ALPHA_SRM_SETUP?  Just a
> thought.  I said no to the "Use SRM PCI setup" option...

Nice thought... already tried it though.  With or without
CONFIG_ALPHA_SRM_SETUP I cannot start X.

My kernel is 2.2.15.  Don't remember the SRM version, though I just
downloaded it.  I'll try to match yours and see if the problem goes
away.

BTW do you have SCSI?  SRM doesn't seem to find my 53c860.

--
Jeff Sturm
jeff.sturm@appnet.com


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-05-31 17:40   ` Rich Payne
@ 2000-05-31 23:36     ` Jeff Sturm
  2000-05-31 23:44       ` David Huggins-Daines
  0 siblings, 1 reply; 26+ messages in thread
From: Jeff Sturm @ 2000-05-31 23:36 UTC (permalink / raw)
  To: axp-list

Rich Payne wrote:
> 
> I've got a Voodoo3 in an SX running X4.0 and I don't have either
> problem....
> 
> I've run this with the 15 pre releases and now 15pre6 w/o any trouble. I
> did include the PCI Quirks though....

Thanks Rich.  I ran XFree86 under gdb (remotely) to get some better
data.  It dies with a SIGILL in miIntersect():

0x120178258 <miIntersect+280>:	maxsw4	t6,t1,t1

That mean anything to anybody?  I'm using SRM V5.6-3, kernel 2.2.14.

--
Jeff Sturm
jeff.sturm@appnet.com


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-05-31 23:36     ` Jeff Sturm
@ 2000-05-31 23:44       ` David Huggins-Daines
  2000-06-01  0:31         ` Michal Jaegermann
  2000-06-01 13:20         ` XFree 4.0 crashes with SRM Jeff Sturm
  0 siblings, 2 replies; 26+ messages in thread
From: David Huggins-Daines @ 2000-05-31 23:44 UTC (permalink / raw)
  To: axp-list

Jeff Sturm <jeff.sturm@appnet.com> writes:

> Thanks Rich.  I ran XFree86 under gdb (remotely) to get some better
> data.  It dies with a SIGILL in miIntersect():
> 
> 0x120178258 <miIntersect+280>:	maxsw4	t6,t1,t1
> 
> That mean anything to anybody?  I'm using SRM V5.6-3, kernel 2.2.14.

Yup.  SRM on the SX disables the MVI instructions.  Try this patch
(from Ivan Koshaysky via linux-alpha@vger):

diff -urN linux-2.2.15-vanilla/arch/alpha/kernel/sys_sx164.c linux-2.2.15/arch/alpha/kernel/sys_sx164.c
--- linux-2.2.15-vanilla/arch/alpha/kernel/sys_sx164.c	Mon Feb 22 04:06:36 1999
+++ linux-2.2.15/arch/alpha/kernel/sys_sx164.c	Fri May 26 09:33:16 2000
@@ -24,6 +24,7 @@
 #include <asm/io.h>
 #include <asm/pgtable.h>
 #include <asm/core_pyxis.h>
+#include <asm/hwrpb.h>
 
 #include "proto.h"
 #include "irq.h"
@@ -186,6 +187,35 @@
 	SMC669_Init(0);
 }
 
+static void __init
+sx164_init_arch(unsigned long *mem_start, unsigned long *mem_end)
+{
+	/*
+	 * OSF palcode v1.23 forgets to enable PCA56 Motion Video
+	 * Instructions. Let's enable it.
+	 * We have to check palcode revision because CSERVE interface
+	 * is subject to change without notice. For example, it
+	 * has been changed completely since v1.16 (found in MILO
+	 * distribution). -ink
+	 */
+	struct percpu_struct *cpu = (struct percpu_struct*)
+				((char*)hwrpb + hwrpb->processor_offset);
+
+	if (alpha_using_srm && (cpu->pal_revision & 0xffff) == 0x117) {
+		__asm__ __volatile__(
+		"lda	$16,8($31)\n"
+		"call_pal 9\n"		/* Allow PALRES insns in kernel mode */
+		".long	0x64000118\n"	/* hw_mfpr $0,icsr */
+		"ldah	$16,(1<<(19-16))($31)\n"
+		"or	$0,$16,$0\n"	/* set MVE bit */
+		".long  0x74000118\n"	/* hw_mtpr $0,icsr */
+		"lda	$16,9($31)\n"
+		"call_pal 9"		/* Disable PALRES insns */
+		: : : "$0", "$16");
+		printk("PCA56 MVI set enabled\n");
+	}
+	pyxis_init_arch(mem_start, mem_end);
+}
 
 /*
  * The System Vector
@@ -206,7 +236,7 @@
 	ack_irq:		generic_ack_irq,
 	device_interrupt:	sx164_device_interrupt,
 
-	init_arch:		pyxis_init_arch,
+	init_arch:		sx164_init_arch,
 	init_irq:		sx164_init_irq,
 	init_pit:		generic_init_pit,
 	pci_fixup:		sx164_pci_fixup,


-- 
David Huggins-Daines, Senior GNU/Linux Consultant, Linuxcare, Inc.
613.562.1239 desk, 613.223.0225 mobile
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-05-31 23:44       ` David Huggins-Daines
@ 2000-06-01  0:31         ` Michal Jaegermann
  2000-06-01 14:59           ` SX MVI patch (was Re: XFree 4.0 crashes with SRM) Craig P Prescott
  2000-06-01 13:20         ` XFree 4.0 crashes with SRM Jeff Sturm
  1 sibling, 1 reply; 26+ messages in thread
From: Michal Jaegermann @ 2000-06-01  0:31 UTC (permalink / raw)
  To: axp-list

David Huggins-Daines wrote:
> 
> Jeff Sturm <jeff.sturm@appnet.com> writes:
> 
> > Thanks Rich.  I ran XFree86 under gdb (remotely) to get some better
> > data.  It dies with a SIGILL in miIntersect():
> > 
> > 0x120178258 <miIntersect+280>:	maxsw4	t6,t1,t1
> > 
> > That mean anything to anybody?  I'm using SRM V5.6-3, kernel 2.2.14.
> 
> Yup.  SRM on the SX disables the MVI instructions.  Try this patch
> (from Ivan Koshaysky via linux-alpha@vger):
> 
[ patch skipped ]
There was a codycyl to that from Ivan (Kokshaysky, BTW).
You do not need the first change if your binutils are recent enough
and the second one apparently is for a patch version for 2.3 kernels,
so YMMV.

<quote>
Heh. GAS from binutils-2.9.1 doesn't understand 'palXX' mnemonics.

-       "pal19  0x118\n"        /* hw_mfpr $0,icsr */
+       ".long  0x64000118\n"   /* hw_mfpr $0,icsr */

-       "pal1d  0x118\n"        /* hw_mtpr $0,icsr */
+       ".long  0x74000118\n"   /* hw_mtpr $0,icsr */

>    However, when I do 'shutdown -h', weird thing happens: SRM
>    complains
>    about HWRPB being invalid.

I forgot that hwrpb is checksum protected.

        hwrpb->cycle_freq = ((cc1 >> 11) * 100000000UL) / 3;
+       hwrpb_update_checksum(hwrpb);

should fix that.
</quote>

  Michal


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-05-31 23:44       ` David Huggins-Daines
  2000-06-01  0:31         ` Michal Jaegermann
@ 2000-06-01 13:20         ` Jeff Sturm
  2000-06-01 13:35           ` Jay Estabrook
  2000-06-01 14:36           ` Craig P Prescott
  1 sibling, 2 replies; 26+ messages in thread
From: Jeff Sturm @ 2000-06-01 13:20 UTC (permalink / raw)
  To: axp-list

David Huggins-Daines wrote:
> 
> Jeff Sturm <jeff.sturm@appnet.com> writes:
> 
> > Thanks Rich.  I ran XFree86 under gdb (remotely) to get some better
> > data.  It dies with a SIGILL in miIntersect():
> >
> > 0x120178258 <miIntersect+280>:        maxsw4  t6,t1,t1
> >
> > That mean anything to anybody?  I'm using SRM V5.6-3, kernel 2.2.14.
> 
> Yup.  SRM on the SX disables the MVI instructions.  Try this patch
> (from Ivan Koshaysky via linux-alpha@vger):

Yay!  It works.  For a moment I was worried I'd have to go back to MILO,
or cripple my X server... that Voodoo3 sure is *fast* on 4.0.

--
Jeff Sturm
jeff.sturm@appnet.com


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-05-31 18:36     ` Jay Estabrook
@ 2000-06-01 13:23       ` Jeff Sturm
  2000-06-01 13:50         ` Jay Estabrook
  0 siblings, 1 reply; 26+ messages in thread
From: Jeff Sturm @ 2000-06-01 13:23 UTC (permalink / raw)
  To: axp-list

Jay Estabrook wrote:
> 
> On Wed, May 31, 2000 at 03:14:42PM -0400, Jeff Sturm wrote:
> >
> > Nice thought... already tried it though.  With or without
> > CONFIG_ALPHA_SRM_SETUP I cannot start X.
> 
> Stay away from that option at the moment, it's sadly out of date.
> 
> > BTW do you have SCSI?  SRM doesn't seem to find my 53c860.
> 
> 53c860 was not a supported chip under DU/VMS, AFAIK, so you may be out
> of luck; sorry...

That's crazy... you'd think the whole family of 8xx chipsets would be
supported.

Oh well, booting from a floppy isn't that annoying after all.

--
Jeff Sturm
jeff.sturm@appnet.com


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-06-01 13:20         ` XFree 4.0 crashes with SRM Jeff Sturm
@ 2000-06-01 13:35           ` Jay Estabrook
  2000-06-01 14:02             ` SRM For the UP1000? Edwin Koshimoto
  2000-06-01 14:36             ` XFree 4.0 crashes with SRM Jeff Sturm
  2000-06-01 14:36           ` Craig P Prescott
  1 sibling, 2 replies; 26+ messages in thread
From: Jay Estabrook @ 2000-06-01 13:35 UTC (permalink / raw)
  To: axp-list

On Thu, Jun 01, 2000 at 09:20:30AM -0400, Jeff Sturm wrote:
> 
> Yay!  It works.  For a moment I was worried I'd have to go back to MILO,
> or cripple my X server... that Voodoo3 sure is *fast* on 4.0.

By "cripple", you mean recompile it so that it doesn't use the MVI
instructions? I hardly think that you'd notice any speed difference;
how often do you think those instructions are generated by GCC?

Be that as it may, I've been told that version 5.8 of SRM will have
the MVI instructions enabled. It's possible that there may be an
interim version of 5.7 which does also, but no promises, as I have no
control over it's production. If such should come to pass, I'll
announce availability on this list (at least).

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20         (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-06-01 13:23       ` Jeff Sturm
@ 2000-06-01 13:50         ` Jay Estabrook
  2000-06-01 14:46           ` Jeff Sturm
  0 siblings, 1 reply; 26+ messages in thread
From: Jay Estabrook @ 2000-06-01 13:50 UTC (permalink / raw)
  To: axp-list

On Thu, Jun 01, 2000 at 09:23:19AM -0400, Jeff Sturm wrote:
> Jay Estabrook wrote:
> > 
> > 53c860 was not a supported chip under DU/VMS, AFAIK, so you may be out
> > of luck; sorry...
> 
> That's crazy... you'd think the whole family of 8xx chipsets would be
> supported.

Digital/COMPAQ, like most vendors, normally support only what they
sell; there are support costs associated with every peripheral device.

Even under LINUX, *someone* paid a price for 53c860 support, ie the
person(s) who made it work in the current driver. You just happen to
be able to freely benefit from their work.

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20         (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 26+ messages in thread

* SRM For the UP1000?
  2000-06-01 13:35           ` Jay Estabrook
@ 2000-06-01 14:02             ` Edwin Koshimoto
  2000-06-01 14:23               ` Rich Payne
  2000-06-01 14:34               ` Kevin Wood
  2000-06-01 14:36             ` XFree 4.0 crashes with SRM Jeff Sturm
  1 sibling, 2 replies; 26+ messages in thread
From: Edwin Koshimoto @ 2000-06-01 14:02 UTC (permalink / raw)
  To: axp-list

Hello -

Does anyone know about a possible release of SRM
for the UP1000?

I know one doesn't exist yet, but I'm wondering
if there is an organization I can write a polite
request to.

Thanks,

ed



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: SRM For the UP1000?
  2000-06-01 14:02             ` SRM For the UP1000? Edwin Koshimoto
@ 2000-06-01 14:23               ` Rich Payne
  2000-06-01 14:47                 ` Edwin Koshimoto
  2000-06-01 14:34               ` Kevin Wood
  1 sibling, 1 reply; 26+ messages in thread
From: Rich Payne @ 2000-06-01 14:23 UTC (permalink / raw)
  To: Edwin Koshimoto; +Cc: axp-list



It's been available for a couple of weeks now:
http://www.alpha-processor.com/products/downloads/customer_support/UP1000/

--rdp

On Thu, 1 Jun 2000, Edwin Koshimoto wrote:

> Hello -
> 
> Does anyone know about a possible release of SRM
> for the UP1000?
> 
> I know one doesn't exist yet, but I'm wondering
> if there is an organization I can write a polite
> request to.
> 
> Thanks,
> 
> ed
> 
> 
> 

-- 
Rich Payne
rpayne@alphalinux.org			www.alphalinux.org


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-05-31 19:14   ` Jeff Sturm
  2000-05-31 18:36     ` Jay Estabrook
@ 2000-06-01 14:25     ` Craig P Prescott
  1 sibling, 0 replies; 26+ messages in thread
From: Craig P Prescott @ 2000-06-01 14:25 UTC (permalink / raw)
  To: axp-list


Hi;

Jeff Sturm wrote:
> BTW do you have SCSI?  SRM doesn't seem to find my 53c860.

Yes - mine is a 53c875 based card from Intraserver.

Cheers,
Craig
---
Craig Prescott                                (352) 846-3145 (Phone)
2011 New Physics Building                     (352) 392-8863 (Fax)
University of Florida, Gainesville, FL 32611  prescott@phys.ufl.edu


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: SRM For the UP1000?
  2000-06-01 14:02             ` SRM For the UP1000? Edwin Koshimoto
  2000-06-01 14:23               ` Rich Payne
@ 2000-06-01 14:34               ` Kevin Wood
  1 sibling, 0 replies; 26+ messages in thread
From: Kevin Wood @ 2000-06-01 14:34 UTC (permalink / raw)
  To: axp-list

Supposedly API has a beta SRM out for the UP1000.  You might check their
website for it.
www.alpha-processor.com

Hope this helps

Kevin Wood

Edwin Koshimoto wrote:

> Hello -
>
> Does anyone know about a possible release of SRM
> for the UP1000?
>
> I know one doesn't exist yet, but I'm wondering
> if there is an organization I can write a polite
> request to.
>
> Thanks,
>
> ed
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

--
Kevin Wood
DCG Computers, Inc./Atipa Linux Solutions
850 East Industrial Park Drive
Suite 8
Manchester, NH  03109
P(603)622-7171 x 15
F(603)622-7272




^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-06-01 13:35           ` Jay Estabrook
  2000-06-01 14:02             ` SRM For the UP1000? Edwin Koshimoto
@ 2000-06-01 14:36             ` Jeff Sturm
  1 sibling, 0 replies; 26+ messages in thread
From: Jeff Sturm @ 2000-06-01 14:36 UTC (permalink / raw)
  To: axp-list

Jay Estabrook wrote:
> 
> On Thu, Jun 01, 2000 at 09:20:30AM -0400, Jeff Sturm wrote:
> >
> > Yay!  It works.  For a moment I was worried I'd have to go back to MILO,
> > or cripple my X server... that Voodoo3 sure is *fast* on 4.0.
> 
> By "cripple", you mean recompile it so that it doesn't use the MVI
> instructions? I hardly think that you'd notice any speed difference;
> how often do you think those instructions are generated by GCC?

hmm... good point.  It looks like GCC generates such instructions when
comparing bytes or words, to save one instruction and one register. 
Probably not much of a gain.

I had at first naively assumed there were MVI instructions in XFree86
for a reason, i.e. hand coded.  So what good is MVI after all?

> Be that as it may, I've been told that version 5.8 of SRM will have
> the MVI instructions enabled. It's possible that there may be an
> interim version of 5.7 which does also, but no promises, as I have no
> control over it's production. If such should come to pass, I'll
> announce availability on this list (at least).

Well, it's encouraging that Compaq is still maintaining SRM for a dead
machine.

--
Jeff Sturm
jeff.sturm@appnet.com


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-06-01 13:20         ` XFree 4.0 crashes with SRM Jeff Sturm
  2000-06-01 13:35           ` Jay Estabrook
@ 2000-06-01 14:36           ` Craig P Prescott
  2000-06-01 15:36             ` Rich Payne
  2000-06-01 16:05             ` Jeff Sturm
  1 sibling, 2 replies; 26+ messages in thread
From: Craig P Prescott @ 2000-06-01 14:36 UTC (permalink / raw)
  To: axp-list


Hi;

Jeff Sturm wrote:
> David Huggins-Daines wrote:
> > 
> > Jeff Sturm <jeff.sturm@appnet.com> writes:
> > 
> > > Thanks Rich.  I ran XFree86 under gdb (remotely) to get some better
> > > data.  It dies with a SIGILL in miIntersect():
> > >
> > > 0x120178258 <miIntersect+280>:        maxsw4  t6,t1,t1
> > >
> > > That mean anything to anybody?  I'm using SRM V5.6-3, kernel 2.2.14.
> > 
> > Yup.  SRM on the SX disables the MVI instructions.  Try this patch
> > (from Ivan Koshaysky via linux-alpha@vger):
> 
> Yay!  It works.  For a moment I was worried I'd have to go back to MILO,
> or cripple my X server... that Voodoo3 sure is *fast* on 4.0.

Excellent!  I had thought of this, but discounted it.  Maybe someone
can explain the following...

When I initially build XFree 4.0.0, I did not have the MVI patch in my
kernel.  After I applied the MVI patch, I rebuilt XFree and friends
from scratch.  Everything seemed to work just fine in both cases...

Hummm - before I applied the MVI patch, I was starting X from the
command line via "startx" rather than from xdm in inittab?

Thanks in advance,
Craig
---
Craig Prescott                                (352) 846-3145 (Phone)
2011 New Physics Building                     (352) 392-8863 (Fax)
University of Florida, Gainesville, FL 32611  prescott@phys.ufl.edu


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-06-01 13:50         ` Jay Estabrook
@ 2000-06-01 14:46           ` Jeff Sturm
  2000-06-01 15:55             ` Jay Estabrook
  0 siblings, 1 reply; 26+ messages in thread
From: Jeff Sturm @ 2000-06-01 14:46 UTC (permalink / raw)
  To: axp-list

Jay Estabrook wrote:
> Even under LINUX, *someone* paid a price for 53c860 support, ie the
> person(s) who made it work in the current driver. You just happen to
> be able to freely benefit from their work.

Oh, don't think I was complaining... I understand the costs of support,
believe me, I've been there.  If I want to complain, I'll direct that to
the vendor who sold me this thing.

In a niche market, hardware support is never a given... I learned that
on Alpha/NT.  Luckily, Alpha/Linux is a beneficiary of the x86 driver
effort, since many drivers are portable, or nearly so.

Sorry if I touched a nerve.

--
Jeff Sturm
jeff.sturm@appnet.com


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: SRM For the UP1000?
  2000-06-01 14:23               ` Rich Payne
@ 2000-06-01 14:47                 ` Edwin Koshimoto
  0 siblings, 0 replies; 26+ messages in thread
From: Edwin Koshimoto @ 2000-06-01 14:47 UTC (permalink / raw)
  To: Rich Payne; +Cc: axp-list

Oops!

My apologies.

Thanks, Alpha Processor!  This makes my day.

ed

On Thu, 1 Jun 2000, Rich Payne wrote:

> Date: Thu, 1 Jun 2000 10:23:22 -0400 (EDT)
> From: Rich Payne <rdp@talisman.alphalinux.org>
> To: Edwin Koshimoto <edko@qnet.com>
> Cc: axp-list@redhat.com
> Subject: Re: SRM For the UP1000?
> 
> 
> 
> It's been available for a couple of weeks now:
> http://www.alpha-processor.com/products/downloads/customer_support/UP1000/
> 
> --rdp
> 
> On Thu, 1 Jun 2000, Edwin Koshimoto wrote:
> 
> > Hello -
> > 
> > Does anyone know about a possible release of SRM
> > for the UP1000?
> > 
> > I know one doesn't exist yet, but I'm wondering
> > if there is an organization I can write a polite
> > request to.
> > 
> > Thanks,
> > 
> > ed
> > 
> > 
> > 
> 
> -- 
> Rich Payne
> rpayne@alphalinux.org			www.alphalinux.org
> 


^ permalink raw reply	[flat|nested] 26+ messages in thread

* SX MVI patch (was Re: XFree 4.0 crashes with SRM)
  2000-06-01  0:31         ` Michal Jaegermann
@ 2000-06-01 14:59           ` Craig P Prescott
  2000-06-01 22:12             ` Ivan Kokshaysky
  0 siblings, 1 reply; 26+ messages in thread
From: Craig P Prescott @ 2000-06-01 14:59 UTC (permalink / raw)
  To: axp-list; +Cc: linux-alpha


Hi, all;

I haven't seen the SX MVI patch in Alan Cox's 2.2.16pre summaries
(haven't looked in code).  Should it be?

Ivan's patch (with codycyl) is working great for me.  For autoconf
stuff, with patch applied, config.guess reports the correct machine
specification:

with patch applied: 

./config.guess
alphapca56-unknown-linux-gnu

without:

./config.guess
alphaev56-unknown-linux-gnu

And just a side note, my SX runs SRM v5.5; Ivan's original note to the
linux-alpha list had said/implied this was a problem for v5.6/5.7, but
it would seem to be relavent to older SRM versions as well...

Cheers,
Craig
---
Craig Prescott                                (352) 846-3145 (Phone)
2011 New Physics Building                     (352) 392-8863 (Fax)
University of Florida, Gainesville, FL 32611  prescott@phys.ufl.edu


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-06-01 14:36           ` Craig P Prescott
@ 2000-06-01 15:36             ` Rich Payne
  2000-06-01 16:05             ` Jeff Sturm
  1 sibling, 0 replies; 26+ messages in thread
From: Rich Payne @ 2000-06-01 15:36 UTC (permalink / raw)
  To: axp-list


FWIW..I'm starting X via GDM, do not have the MVI patch, have a voodoo3
and it all works fine....wierd.

--rdp

On Thu, 1 Jun 2000, Craig P Prescott wrote:

> 
> Hi;
> 
> Jeff Sturm wrote:
> > David Huggins-Daines wrote:
> > > 
> > > Jeff Sturm <jeff.sturm@appnet.com> writes:
> > > 
> > > > Thanks Rich.  I ran XFree86 under gdb (remotely) to get some better
> > > > data.  It dies with a SIGILL in miIntersect():
> > > >
> > > > 0x120178258 <miIntersect+280>:        maxsw4  t6,t1,t1
> > > >
> > > > That mean anything to anybody?  I'm using SRM V5.6-3, kernel 2.2.14.
> > > 
> > > Yup.  SRM on the SX disables the MVI instructions.  Try this patch
> > > (from Ivan Koshaysky via linux-alpha@vger):
> > 
> > Yay!  It works.  For a moment I was worried I'd have to go back to MILO,
> > or cripple my X server... that Voodoo3 sure is *fast* on 4.0.
> 
> Excellent!  I had thought of this, but discounted it.  Maybe someone
> can explain the following...
> 
> When I initially build XFree 4.0.0, I did not have the MVI patch in my
> kernel.  After I applied the MVI patch, I rebuilt XFree and friends
> from scratch.  Everything seemed to work just fine in both cases...
> 
> Hummm - before I applied the MVI patch, I was starting X from the
> command line via "startx" rather than from xdm in inittab?
> 
> Thanks in advance,
> Craig
> ---
> Craig Prescott                                (352) 846-3145 (Phone)
> 2011 New Physics Building                     (352) 392-8863 (Fax)
> University of Florida, Gainesville, FL 32611  prescott@phys.ufl.edu
> 
> 

-- 
Rich Payne
rpayne@alphalinux.org			www.alphalinux.org


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-06-01 14:46           ` Jeff Sturm
@ 2000-06-01 15:55             ` Jay Estabrook
  0 siblings, 0 replies; 26+ messages in thread
From: Jay Estabrook @ 2000-06-01 15:55 UTC (permalink / raw)
  To: axp-list

On Thu, Jun 01, 2000 at 10:46:04AM -0400, Jeff Sturm wrote:
> 
> In a niche market, hardware support is never a given... I learned that
> on Alpha/NT.  Luckily, Alpha/Linux is a beneficiary of the x86 driver
> effort, since many drivers are portable, or nearly so.

Indeed; we are extremely lucky such is the case, as I think some other
platforms have a lot fewer options (SBUS-SPARC and M68K, among others).

I do agree, though, about the frustration when moving from AlphaBIOS to
SRM console and the need to worry whether one's devices will move, too...

> Sorry if I touched a nerve.

No nerve, just pre-coffee... ;-}

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20         (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-06-01 14:36           ` Craig P Prescott
  2000-06-01 15:36             ` Rich Payne
@ 2000-06-01 16:05             ` Jeff Sturm
  2000-06-01 21:48               ` Craig P Prescott
  1 sibling, 1 reply; 26+ messages in thread
From: Jeff Sturm @ 2000-06-01 16:05 UTC (permalink / raw)
  To: axp-list

Craig P Prescott wrote:
> When I initially build XFree 4.0.0, I did not have the MVI patch in my
> kernel.  After I applied the MVI patch, I rebuilt XFree and friends
> from scratch.  Everything seemed to work just fine in both cases...

If you built XFree86 with the system compiler, it likely did not
generate MVI instructions, unless you also added -mcpu=pca56 somewhere
in the compilation.

In my case MVI was used by default, since I had earlier rebuilt GCC from
source for alphapca56-unknown-linux-gnu.  I had done this before to get
BWX into XFree (and all other packages I build from source).  But I
didn't know until today that GCC generates MVI instructions too...

--
Jeff Sturm
jeff.sturm@appnet.com


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: XFree 4.0 crashes with SRM
  2000-06-01 16:05             ` Jeff Sturm
@ 2000-06-01 21:48               ` Craig P Prescott
  0 siblings, 0 replies; 26+ messages in thread
From: Craig P Prescott @ 2000-06-01 21:48 UTC (permalink / raw)
  To: axp-list


Hi;

Jeff Sturm wrote:
> Craig P Prescott wrote:
> > When I initially build XFree 4.0.0, I did not have the MVI patch in my
> > kernel.  After I applied the MVI patch, I rebuilt XFree and friends
> > from scratch.  Everything seemed to work just fine in both cases...
> 
> If you built XFree86 with the system compiler, it likely did not
> generate MVI instructions, unless you also added -mcpu=pca56 somewhere
> in the compilation.

I had built gcc 2.95.2 from tarball (came out as alphaev56-...).  As
you suspected, I did not add -mcpu=pca56 to my compilations, though.

> In my case MVI was used by default, since I had earlier rebuilt GCC from
> source for alphapca56-unknown-linux-gnu.  I had done this before to get
> BWX into XFree (and all other packages I build from source).  But I
> didn't know until today that GCC generates MVI instructions too...

Thanks - I getcha.  After I patched my kernel, I rebuilt the gcc from
scratch (this time it came out as alphapca56-...) before rebuilding
XFree, 'cuz I figured this very problem would be an issue.  I did
have this all sorted out in my head at the time, but not this morning
I guess :)  Thanks again...

Cheers,
Craig
---
Craig Prescott                                (352) 846-3145 (Phone)
2011 New Physics Building                     (352) 392-8863 (Fax)
University of Florida, Gainesville, FL 32611  prescott@phys.ufl.edu


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: SX MVI patch (was Re: XFree 4.0 crashes with SRM)
  2000-06-01 14:59           ` SX MVI patch (was Re: XFree 4.0 crashes with SRM) Craig P Prescott
@ 2000-06-01 22:12             ` Ivan Kokshaysky
  0 siblings, 0 replies; 26+ messages in thread
From: Ivan Kokshaysky @ 2000-06-01 22:12 UTC (permalink / raw)
  To: axp-list

On Thu, Jun 01, 2000 at 10:59:39AM -0400, Craig P Prescott wrote:
> I haven't seen the SX MVI patch in Alan Cox's 2.2.16pre summaries
> (haven't looked in code).  Should it be?
It's even not in 2.4.0-testXX. I suspect it is sitting in the Linus'
mailbox while he's on a vacation.

Ivan.


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2000-06-01 22:12 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-31 17:14 XFree 4.0 crashes with SRM Jeff Sturm
2000-05-31 17:14 ` Craig P Prescott
2000-05-31 17:40   ` Rich Payne
2000-05-31 23:36     ` Jeff Sturm
2000-05-31 23:44       ` David Huggins-Daines
2000-06-01  0:31         ` Michal Jaegermann
2000-06-01 14:59           ` SX MVI patch (was Re: XFree 4.0 crashes with SRM) Craig P Prescott
2000-06-01 22:12             ` Ivan Kokshaysky
2000-06-01 13:20         ` XFree 4.0 crashes with SRM Jeff Sturm
2000-06-01 13:35           ` Jay Estabrook
2000-06-01 14:02             ` SRM For the UP1000? Edwin Koshimoto
2000-06-01 14:23               ` Rich Payne
2000-06-01 14:47                 ` Edwin Koshimoto
2000-06-01 14:34               ` Kevin Wood
2000-06-01 14:36             ` XFree 4.0 crashes with SRM Jeff Sturm
2000-06-01 14:36           ` Craig P Prescott
2000-06-01 15:36             ` Rich Payne
2000-06-01 16:05             ` Jeff Sturm
2000-06-01 21:48               ` Craig P Prescott
2000-05-31 19:14   ` Jeff Sturm
2000-05-31 18:36     ` Jay Estabrook
2000-06-01 13:23       ` Jeff Sturm
2000-06-01 13:50         ` Jay Estabrook
2000-06-01 14:46           ` Jeff Sturm
2000-06-01 15:55             ` Jay Estabrook
2000-06-01 14:25     ` Craig P Prescott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox