Re: notes on riscpc install
On Sat, Apr 06, 2002 at 05:28:41PM +0100, Philip Blundell wrote:
> Well, that certainly allows "fbset -depth 32" to run without error. But
> unfortunately the screen doesn't display properly in that mode (nor now
> in 16bpp, which used to work at the text console even though not in X).
> The image is very unstable, and shows just a small part of the screen,
> vastly magnified.
>
> I also tried 4, 2, and 1bpp while I was about it. 1bpp still has the
> old mirror-image problem and displays text in blue; 2bpp displays text
> in turquoise but seems OK otherwise, and 4bpp appears to work fine.
In which case, earliest I can look at this is next weekend, so if you
get a chance to do some debugging...
> > Ok, this should fix the ptrace bug - please test and let me know.
> > (I've not tested it myself).
>
> That didn't seem to make any difference.
Then this will:
diff -ur ref/arch/arm/lib/getconsdata.c linux/arch/arm/lib/getconsdata.c
--- ref/arch/arm/lib/getconsdata.c Sat Jan 8 18:49:58 2000
+++ linux/arch/arm/lib/getconsdata.c Sat Apr 6 16:52:22 2002
@@ -27,6 +27,7 @@
unsigned long TSK_STATE = OFF_TSK(state);
unsigned long TSK_FLAGS = OFF_TSK(flags);
+unsigned long TSK_PTRACE = OFF_TSK(ptrace);
unsigned long TSK_NEED_RESCHED = OFF_TSK(need_resched);
unsigned long TSK_SIGPENDING = OFF_TSK(sigpending);
unsigned long TSK_USED_MATH = OFF_TSK(used_math);
diff -ur ref/arch/arm/kernel/entry-armo.S linux/arch/arm/kernel/entry-armo.S
--- ref/arch/arm/kernel/entry-armo.S Sat May 8 16:31:39 1999
+++ linux/arch/arm/kernel/entry-armo.S Sat Apr 6 17:31:32 2002
@@ -40,7 +40,7 @@
#define FLAGS 12
#define SIGPENDING 16
-#define PF_TRACESYS 0x20
+#define PT_TRACESYS 0x02
@ Bad Abort numbers
@ -----------------
diff -ur ref/arch/arm/kernel/entry-armv.S linux/arch/arm/kernel/entry-armv.S
--- ref/arch/arm/kernel/entry-armv.S Mon May 14 00:14:41 2001
+++ linux/arch/arm/kernel/entry-armv.S Sat Apr 6 17:31:22 2002
@@ -25,7 +25,7 @@
.text
-#define PF_TRACESYS 0x20
+#define PT_TRACESYS 0x02
@ Bad Abort numbers
@ -----------------
diff -ur ref/arch/arm/kernel/entry-common.S linux/arch/arm/kernel/entry-common.S
--- ref/arch/arm/kernel/entry-common.S Mon Apr 9 21:20:46 2001
+++ linux/arch/arm/kernel/entry-common.S Sat Apr 6 17:30:12 2002
@@ -101,9 +101,9 @@
bcs 2f
get_current_task r7
- ldr ip, [r7, #TSK_FLAGS] @ check for syscall tracing
+ ldr ip, [r7, #TSK_PTRACE] @ check for syscall tracing
adr r5, SYMBOL_NAME(sys_call_table)
- tst ip, #PF_TRACESYS
+ tst ip, #PT_TRACESYS
ldreq pc, [r5, r6, lsl #2] @ call sys routine
ldr r7, [sp, #S_IP + 4] @ save old IP
--
To UNSUBSCRIBE, email to debian-arm-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: