Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.1.111 strange ...
@ 1998-07-25 20:47 Stefan Reinauer
  1998-07-26  1:04 ` Quant-X Alpha Linux Support
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Reinauer @ 1998-07-25 20:47 UTC (permalink / raw)
  To: axp-list


Hi..

2.1.111 is the first kernel that worked for me since 2.1.104, at least
without that flawed-by-design framebuffer stuff and some problems with the
serial ports.
Some times my internal modem card refuses to work and, the worst thing:
gpm produces a kernel oops with the first mouseclick... 
(Unable to handle kernel paging request at virtual address 0x... )
My machine is an LX164. 

Is there a simple explanation for this problem or is it just a bug
somewhere?

Stefan.

--
.signature: No such file or directory



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

* Re: 2.1.111 strange ...
  1998-07-25 20:47 2.1.111 strange Stefan Reinauer
@ 1998-07-26  1:04 ` Quant-X Alpha Linux Support
  1999-06-19  1:27   ` vgacon oops [Re: 2.1.111 strange ...] Richard Henderson
  0 siblings, 1 reply; 3+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-07-26  1:04 UTC (permalink / raw)
  To: axp-list; +Cc: linux-kernel

Hi Stefan !

[2.1.111 on AlphaPC LX164]

> Some times my internal modem card refuses to work and, the worst thing:
> gpm produces a kernel oops with the first mouseclick... 

I can reproduce it here (mouse). 

Jul 26 02:39:57 axp02 kernel: Unable to handle kernel paging request at virtual address 00000000000bc9fe
Jul 26 02:39:57 axp02 kernel: gpm(332): Oops 0
Jul 26 02:39:57 axp02 kernel: pc = [<fffffc00003fd960>]  ra = [<fffffc00003bc874>]  ps = 0000
Jul 26 02:39:57 axp02 kernel: r0 = ffffffffffff88ff  r1 = 0000000000000000  r2 = 0000000000000001
Jul 26 02:39:57 axp02 kernel: r3 = ffffffffffffffff  r4 = 0000000000000000  r5 = 0000000000000780
Jul 26 02:39:57 axp02 kernel: r6 = 0000000000000000  r7 = 0000000000000000  r8 = fffffc000f1cc000
Jul 26 02:39:57 axp02 kernel: r9 = 0000000000000001  r10= 00000000000bc9fe  r11= 0000000000000000
Jul 26 02:39:57 axp02 kernel: r12= fffffc0000453a38  r13= fffffc00004538c0  r14= 0000000000000000
Jul 26 02:39:57 axp02 kernel: r15= fffffc000feae000
Jul 26 02:39:57 axp02 kernel: r16= fffffc00007525f8  r17= 00000000000bc9fe  r18= 0000000000000001
Jul 26 02:39:57 axp02 kernel: r19= 0000000000000001  r20= 000000011ffffba0  r21= ffffffffffffffff
Jul 26 02:39:57 axp02 kernel: r22= 0000000000000700  r23= 0000000000007000  r24= 0000000000000000
Jul 26 02:39:57 axp02 kernel: r25= 0000000000007700  r27= fffffc00003fd908  r28= 0000000000000100
Jul 26 02:39:57 axp02 kernel: gp = fffffc00004644f8  sp = fffffc000f1cfe58
Jul 26 02:39:57 axp02 kernel: Code: 2fe00000  47ff041f  2fe00000 <2cb10000> 40c03126  40d505a7  44a50401  48b10245  483102c4 
Jul 26 02:39:57 axp02 kernel: Trace: [<fffffc00003c3854>] [<fffffc00003c1a54>] [<fffffc00003c7170>] [<fffffc000034b0ec>] [<fffffc0000310ba8>]




Dump of assembler code for function vgacon_invert_region:
0xfffffc00003fd908 <vgacon_invert_region>:	ldah	gp,6(t12)
0xfffffc00003fd90c <vgacon_invert_region+4>:	lda	gp,27632(gp)
0xfffffc00003fd910 <vgacon_invert_region+8>:	ldq	t0,4560(gp)
0xfffffc00003fd914 <vgacon_invert_region+12>:	subl	a2,0x1,t5
0xfffffc00003fd918 <vgacon_invert_region+16>:	lda	t2,-1(zero)
0xfffffc00003fd91c <vgacon_invert_region+20>:	ldl	t1,0(t0)
0xfffffc00003fd920 <vgacon_invert_region+24>:	cmpeq	t5,t2,t0
0xfffffc00003fd924 <vgacon_invert_region+28>:	
    bne	t0,0xfffffc00003fd9e0 <vgacon_invert_region+216>
0xfffffc00003fd928 <vgacon_invert_region+32>:	cmpeq	t1,0,t10
0xfffffc00003fd92c <vgacon_invert_region+36>:	mov	t2,a5
0xfffffc00003fd930 <vgacon_invert_region+40>:	lda	v0,-30465(zero)
0xfffffc00003fd934 <vgacon_invert_region+44>:	lda	t9,28672(zero)
0xfffffc00003fd938 <vgacon_invert_region+48>:	lda	t8,1792(zero)
0xfffffc00003fd93c <vgacon_invert_region+52>:	lda	at,256(zero)
0xfffffc00003fd940 <vgacon_invert_region+56>:	lda	t11,30464(zero)
0xfffffc00003fd944 <vgacon_invert_region+60>:	unop	
0xfffffc00003fd948 <vgacon_invert_region+64>:	nop	
0xfffffc00003fd94c <vgacon_invert_region+68>:	unop	
0xfffffc00003fd950 <vgacon_invert_region+72>:	nop	
0xfffffc00003fd954 <vgacon_invert_region+76>:	unop	
0xfffffc00003fd958 <vgacon_invert_region+80>:	nop	
0xfffffc00003fd95c <vgacon_invert_region+84>:	unop	
0xfffffc00003fd960 <vgacon_invert_region+88>:	ldq_u	t4,0(a1)
0xfffffc00003fd964 <vgacon_invert_region+92>:	subl	t5,0x1,t5
0xfffffc00003fd968 <vgacon_invert_region+96>:	cmpeq	t5,a5,t6
0xfffffc00003fd96c <vgacon_invert_region+100>:	mov	t4,t0
0xfffffc00003fd970 <vgacon_invert_region+104>:	mskwl	t4,a1,t4
0xfffffc00003fd974 <vgacon_invert_region+108>:	extwl	t0,a1,t3
0xfffffc00003fd978 <vgacon_invert_region+112>:	
    bne	t10,0xfffffc00003fd9a0 <vgacon_invert_region+152>
0xfffffc00003fd97c <vgacon_invert_region+116>:	and	t3,t9,t2
0xfffffc00003fd980 <vgacon_invert_region+120>:	srl	t2,0x4,t2
0xfffffc00003fd984 <vgacon_invert_region+124>:	and	t3,t8,t1
0xfffffc00003fd988 <vgacon_invert_region+128>:	sll	t1,0x4,t1
0xfffffc00003fd98c <vgacon_invert_region+132>:	and	t3,v0,t0
0xfffffc00003fd990 <vgacon_invert_region+136>:	or	t0,t2,t0
0xfffffc00003fd994 <vgacon_invert_region+140>:	or	t0,t1,t3
0xfffffc00003fd998 <vgacon_invert_region+144>:	
    br	0xfffffc00003fd9cc <vgacon_invert_region+196>
0xfffffc00003fd99c <vgacon_invert_region+148>:	unop	
0xfffffc00003fd9a0 <vgacon_invert_region+152>:	and	t3,t8,t0
0xfffffc00003fd9a4 <vgacon_invert_region+156>:	addl	t3,zero,t1
0xfffffc00003fd9a8 <vgacon_invert_region+160>:	cmpeq	t0,at,t0
0xfffffc00003fd9ac <vgacon_invert_region+164>:	xor	t1,t9,t2
0xfffffc00003fd9b0 <vgacon_invert_region+168>:	
    beq	t0,0xfffffc00003fd9c0 <vgacon_invert_region+184>
0xfffffc00003fd9b4 <vgacon_invert_region+172>:	zapnot	t2,0x3,t0
0xfffffc00003fd9b8 <vgacon_invert_region+176>:	
    br	0xfffffc00003fd9c8 <vgacon_invert_region+192>
0xfffffc00003fd9bc <vgacon_invert_region+180>:	unop	
0xfffffc00003fd9c0 <vgacon_invert_region+184>:	xor	t1,t11,t0
0xfffffc00003fd9c4 <vgacon_invert_region+188>:	zapnot	t0,0x3,t0
0xfffffc00003fd9c8 <vgacon_invert_region+192>:	mov	t0,t3
0xfffffc00003fd9cc <vgacon_invert_region+196>:	inswl	t3,a1,t0
0xfffffc00003fd9d0 <vgacon_invert_region+200>:	or	t0,t4,t0
0xfffffc00003fd9d4 <vgacon_invert_region+204>:	stq_u	t0,0(a1)
0xfffffc00003fd9d8 <vgacon_invert_region+208>:	addq	a1,0x2,a1
0xfffffc00003fd9dc <vgacon_invert_region+212>:	
    beq	t6,0xfffffc00003fd960 <vgacon_invert_region+88>
0xfffffc00003fd9e0 <vgacon_invert_region+216>:	ret	zero,(ra),0x1
0xfffffc00003fd9e4 <vgacon_invert_region+220>:	unop	

   ciao -
     Stefan

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


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

* vgacon oops [Re: 2.1.111 strange ...]
  1998-07-26  1:04 ` Quant-X Alpha Linux Support
@ 1999-06-19  1:27   ` Richard Henderson
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Henderson @ 1999-06-19  1:27 UTC (permalink / raw)
  To: mj; +Cc: linux-kernel, Quant-X Alpha Linux Support, axp-list

On Sun, Jul 26, 1998 at 03:04:12AM +0200, Quant-X Alpha Linux Support wrote:
> Hi Stefan !
> 
> [2.1.111 on AlphaPC LX164]
> 
> > Some times my internal modem card refuses to work and, the worst thing:
> > gpm produces a kernel oops with the first mouseclick... 
> 
> I can reproduce it here (mouse). 

Tsk, tsk, Martin.  You forgot to use the screen access functions.
Also its always good to hoist comparisons out of such small loops.


r~


--- 2.1.111/drivers/video/vgacon.c	Fri Jun 18 18:20:30 1999
+++ 2.1.111-axp/drivers/video/vgacon.c	Sun Jul 26 18:50:54 1998
@@ -347,13 +347,19 @@ static void vgacon_invert_region(struct 
 {
 	int col = vga_can_do_color;
 
-	while (count--) {
-		u16 a = *p;
-		if (col)
-			a = ((a) & 0x88ff) | (((a) & 0x7000) >> 4) | (((a) & 0x0700) << 4);
-		else
+	if (col) {
+		while (count--) {
+			u16 a = scr_readw(p);
+			a = (((a) & 0x88ff) | (((a) & 0x7000) >> 4)
+			     | (((a) & 0x0700) << 4));
+			scr_writew(a, p++);
+		}
+	} else {
+		while (count--) {
+			u16 a = scr_readw(p);
 			a ^= ((a & 0x0700) == 0x0100) ? 0x7000 : 0x7700;
-		*p++ = a;
+			scr_writew(a, p++);
+		}
 	}
 }
 


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

end of thread, other threads:[~1998-07-27  2:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-25 20:47 2.1.111 strange Stefan Reinauer
1998-07-26  1:04 ` Quant-X Alpha Linux Support
1999-06-19  1:27   ` vgacon oops [Re: 2.1.111 strange ...] Richard Henderson

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