Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RH 4.2 & modutils-2.1.34-1.alpha.rpm
@ 1997-05-24  6:32 Rick Windham
  0 siblings, 0 replies; 3+ messages in thread
From: Rick Windham @ 1997-05-24  6:32 UTC (permalink / raw)


Well I got RH 4.2 installed and working (by hand) but there is one "small"
problem.  When anything from the modutils rpm runs it gets a system call
error "<sc 347(0,0,0)>."  I switched from the 2.0.30-4 kernel to the RH
2.0.30-2 kernel specifically because I was hoping that Red Hat would fix
this.

Is anyone else having this problem?  I guess I should also ask, that since
the modutils automatically switches to the old syscall convention if the
new one fails, how can I simply stop these msssages? :-)

Thanks, Rick.

+-------------------------------------------+
| "No matter where you go...there you are." |
|		-Buckaroo Banzai            |
+-------------------------------------------+

--
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

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

* Re: RH 4.2 &amp; modutils-2.1.34-1.alpha.rpm
       [not found] <Pine.LNX.3.95.970524012928.595A-100000@chomper.int.chapwin.com>
@ 1997-05-24 17:39 ` Nikita Schmidt
  0 siblings, 0 replies; 3+ messages in thread
From: Nikita Schmidt @ 1997-05-24 17:39 UTC (permalink / raw)


On May 24, Rick Windham wrote:
> Well I got RH 4.2 installed and working (by hand) but there is one "small"
> problem.  When anything from the modutils rpm runs it gets a system call
> error "<sc 347(0,0,0)>."  I switched from the 2.0.30-4 kernel to the RH

These modutils first try the new syscall (not supported in 2.0.30), then
resort to the old one.  Use the patch below to get rid of the messages.

	Kit

--- arch/alpha/kernel/traps.c.orig	Fri May  2 18:52:51 1997
+++ arch/alpha/kernel/traps.c	Fri May  2 18:53:15 1997
@@ -420,7 +420,7 @@
 			  unsigned long a3, unsigned long a4, unsigned long a5,
 			  struct pt_regs regs)
 {
-	if (regs.r0 != 112)
+	if (regs.r0 != 112 && regs.r0 != 347)
 		printk("<sc %ld(%lx,%lx,%lx)>", regs.r0, a0, a1, a2);
 	return -1;
 }

--
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

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

* Re: RH 4.2 &amp; modutils-2.1.34-1.alpha.rpm
       [not found] <19970524183919.30248@snowball.ucd.ie>
@ 1997-05-27 18:29 ` Richard Henderson
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Henderson @ 1997-05-27 18:29 UTC (permalink / raw)


> --- arch/alpha/kernel/traps.c.orig	Fri May  2 18:52:51 1997
> +++ arch/alpha/kernel/traps.c	Fri May  2 18:53:15 1997
> @@ -420,7 +420,7 @@
>  			  unsigned long a3, unsigned long a4, unsigned long a5,
>  			  struct pt_regs regs)
>  {
> -	if (regs.r0 != 112)
> +	if (regs.r0 != 112 && regs.r0 != 347)
>  		printk("<sc %ld(%lx,%lx,%lx)>", regs.r0, a0, a1, a2);

Since this is just a debugging message for OSF/1 support, a better
change is

	if (regs.r0 != 112 && regs.r0 < 300)

which filters out all Linux system calls.  I made this change to 2.1,
and meant to get it to Erik for the 2.0.30 he shipped, but forgot.

r~

--
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

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

end of thread, other threads:[~1997-05-27 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-24  6:32 RH 4.2 &amp; modutils-2.1.34-1.alpha.rpm Rick Windham
     [not found] <Pine.LNX.3.95.970524012928.595A-100000@chomper.int.chapwin.com>
1997-05-24 17:39 ` Nikita Schmidt
     [not found] <19970524183919.30248@snowball.ucd.ie>
1997-05-27 18:29 ` Richard Henderson

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