All of lore.kernel.org
 help / color / mirror / Atom feed
* CP0_STATUS interrupt mask patch
@ 1999-04-30  8:55 Harald Koerfgen
  1999-04-30 12:16 ` Ralf Baechle
  1999-05-04 17:46 ` Charles Lepple
  0 siblings, 2 replies; 7+ messages in thread
From: Harald Koerfgen @ 1999-04-30  8:55 UTC (permalink / raw)
  To: linux-mips, SGI Linux

Hi Gang,

two weeks ago I asked for comments on a patch which is essential for Linux
on DECstations but may trigger undiscovered bugs on other machines.

Well, I haven't got any feedback :-(

On the other hand, nobody said "don't do this!" :-)

If nobody stops me I am going to commit the patch I posted two weeks ago
and see what happens B)
---
Regards,
Harald

P.S.: Yes, I *do* have my asbestos suit within reach.

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

* Re: CP0_STATUS interrupt mask patch
  1999-04-30  8:55 CP0_STATUS interrupt mask patch Harald Koerfgen
@ 1999-04-30 12:16 ` Ralf Baechle
  1999-05-04 17:46 ` Charles Lepple
  1 sibling, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 1999-04-30 12:16 UTC (permalink / raw)
  To: Harald Koerfgen, linux-mips, SGI Linux

On Fri, Apr 30, 1999 at 10:55:22AM +0200, Harald Koerfgen wrote:

> two weeks ago I asked for comments on a patch which is essential for Linux
> on DECstations but may trigger undiscovered bugs on other machines.
> 
> Well, I haven't got any feedback :-(
> 
> On the other hand, nobody said "don't do this!" :-)
> 
> If nobody stops me I am going to commit the patch I posted two weeks ago
> and see what happens B)
>
> P.S.: Yes, I *do* have my asbestos suit within reach.

Not required, Real Penguins Stay Cool (TM).

  Ralf

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

* Re: CP0_STATUS interrupt mask patch
  1999-04-30  8:55 CP0_STATUS interrupt mask patch Harald Koerfgen
  1999-04-30 12:16 ` Ralf Baechle
@ 1999-05-04 17:46 ` Charles Lepple
  1999-05-05  1:44   ` Charles Lepple
  1 sibling, 1 reply; 7+ messages in thread
From: Charles Lepple @ 1999-05-04 17:46 UTC (permalink / raw)
  To: Harald Koerfgen; +Cc: SGI Linux

On Fri, 30 Apr 1999, Harald Koerfgen wrote:

> on DECstations but may trigger undiscovered bugs on other machines.

I just pulled down the CVS kernel with the patch, and it seems that it
causes a 'keyboard timeout[2]' to be printed on the console after the SCSI
bus is probed. I undid the patch manually (ie, the rest of the kernel is
still from the cvs update) and it boots fine. Anyone else seen this?

--Charles Lepple
System Administrator, Virginia Tech EE Workstation Labs
clepple@foo.tho.org || http://foo.tho.org/charles/

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

* Re: CP0_STATUS interrupt mask patch
  1999-05-04 17:46 ` Charles Lepple
@ 1999-05-05  1:44   ` Charles Lepple
  1999-05-05 15:40     ` Ralf Baechle
  0 siblings, 1 reply; 7+ messages in thread
From: Charles Lepple @ 1999-05-05  1:44 UTC (permalink / raw)
  To: Linux/SGI

Charles Lepple wrote:
> I just pulled down the CVS kernel with the patch, and it seems that it
> causes a 'keyboard timeout[2]' to be printed on the console after the SCSI

Omitted a critical detail -- it hangs hard-core after this message.
Evidently the power button was initialized by this point, because it
doesn't turn off immediately, and it doesn't start the LED blinking
indicating an impending power-off.

System summary: 
Indy R5000
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
binutils-2.8.1

-- 
Charles Lepple
System Administrator, Virginia Tech EE Workstation Labs
clepple@ee.vt.edu || http://www.foo.tho.org/charles/

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

* Re: CP0_STATUS interrupt mask patch
  1999-05-05  1:44   ` Charles Lepple
@ 1999-05-05 15:40     ` Ralf Baechle
  1999-05-07 20:00       ` Ulf Carlsson
  1999-05-07 22:23       ` Ulf Carlsson
  0 siblings, 2 replies; 7+ messages in thread
From: Ralf Baechle @ 1999-05-05 15:40 UTC (permalink / raw)
  To: Charles Lepple, Linux/SGI

On Wed, May 05, 1999 at 01:44:23AM +0000, Charles Lepple wrote:

> Charles Lepple wrote:
> > I just pulled down the CVS kernel with the patch, and it seems that it
> > causes a 'keyboard timeout[2]' to be printed on the console after the SCSI
> 
> Omitted a critical detail -- it hangs hard-core after this message.
> Evidently the power button was initialized by this point, because it
> doesn't turn off immediately, and it doesn't start the LED blinking
> indicating an impending power-off.

The power button is handled during interrupts so when the interrupt
handling is fsck'ed the button won't work, too.

I'll look at it.

  Ralf

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

* Re: CP0_STATUS interrupt mask patch
  1999-05-05 15:40     ` Ralf Baechle
@ 1999-05-07 20:00       ` Ulf Carlsson
  1999-05-07 22:23       ` Ulf Carlsson
  1 sibling, 0 replies; 7+ messages in thread
From: Ulf Carlsson @ 1999-05-07 20:00 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Charles Lepple, Linux/SGI

On Wed, May 05, 1999 at 05:40:22PM +0200, Ralf Baechle wrote:
> On Wed, May 05, 1999 at 01:44:23AM +0000, Charles Lepple wrote:
> 
> > Charles Lepple wrote:
> > > I just pulled down the CVS kernel with the patch, and it seems that it
> > > causes a 'keyboard timeout[2]' to be printed on the console after the SCSI
> > 
> > Omitted a critical detail -- it hangs hard-core after this message.
> > Evidently the power button was initialized by this point, because it
> > doesn't turn off immediately, and it doesn't start the LED blinking
> > indicating an impending power-off.
> 
> The power button is handled during interrupts so when the interrupt
> handling is fsck'ed the button won't work, too.
> 
> I'll look at it.

I'm having this problem as well..

- Ulf

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

* Re: CP0_STATUS interrupt mask patch
  1999-05-05 15:40     ` Ralf Baechle
  1999-05-07 20:00       ` Ulf Carlsson
@ 1999-05-07 22:23       ` Ulf Carlsson
  1 sibling, 0 replies; 7+ messages in thread
From: Ulf Carlsson @ 1999-05-07 22:23 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Charles Lepple, Linux/SGI

On Wed, May 05, 1999 at 05:40:22PM +0200, Ralf Baechle wrote:
> On Wed, May 05, 1999 at 01:44:23AM +0000, Charles Lepple wrote:
> 
> > Charles Lepple wrote:
> > > I just pulled down the CVS kernel with the patch, and it seems that it
> > > causes a 'keyboard timeout[2]' to be printed on the console after the SCSI
> > 
> > Omitted a critical detail -- it hangs hard-core after this message.
> > Evidently the power button was initialized by this point, because it
> > doesn't turn off immediately, and it doesn't start the LED blinking
> > indicating an impending power-off.
> 
> The power button is handled during interrupts so when the interrupt
> handling is fsck'ed the button won't work, too.
> 
> I'll look at it.

Ok, you don't have to look at it I think since I just smashed the bug.

I found that indy_sc_wipe corrupted the interrupt mask, and that it relayed on
that it was restored by other functions to a correct state again.

My R4600SC boots fine now with Harald's new patches.

- Ulf

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

end of thread, other threads:[~1999-05-07 22:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-30  8:55 CP0_STATUS interrupt mask patch Harald Koerfgen
1999-04-30 12:16 ` Ralf Baechle
1999-05-04 17:46 ` Charles Lepple
1999-05-05  1:44   ` Charles Lepple
1999-05-05 15:40     ` Ralf Baechle
1999-05-07 20:00       ` Ulf Carlsson
1999-05-07 22:23       ` Ulf Carlsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.