Linux PARISC architecture development
 help / color / mirror / Atom feed
* Re: [parisc-linux] Warnings compiling the CVS kernel
@ 2001-02-22  0:43 Helge Deller
  2001-02-22  5:32 ` [parisc-linux] schedule_tail Alan Modra
  0 siblings, 1 reply; 8+ messages in thread
From: Helge Deller @ 2001-02-22  0:43 UTC (permalink / raw)
  To: PL

On Wednesday 21 February 2001 08:10, Rafael E. Herrera wrote:
>
> The compilation succeeds but the boot will crash here:
>
> [...]
> POSIX conformance testing by UNIFIX
>
>
> Dumping Stack from 14000000 to 14000240:
>
> Dumping Stack from 1026e000 to 1026e700:
[stack dump removed] 
> Kernel Fault: Code=15 regs=1026e4c0 (Addr=14000008)
>
>      YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
> PSW: 00000000000001000000000000001110
> r0-3     00000000 102ea000 10102ba8 14000000
> r4-7     14000240 1023a800 00000000 00000002
> r8-11    19a10000 00000005 00000000 00000005
> r12-15   00000004 00000006 00000008 00000006
> r16-19   1026e080 00000002 00000000 102ea000
> r20-23   00000000 00000060 00000001 00000002
> r24-27   00000001 00000001 1027b484 10266000
> r28-31   0000002a 015752a0 1026e700 00000060
> sr0-3    00000000 00000000 00000000 00000000
> sr4-7    00000000 00000000 00000000 00000000
>
> IASQ: 00000000 00000000 IAOQ: 10102b10 10102b14
>  IIR: 0c701093    ISR: 00000000  IOR: 14000008
> ORIG_R28: 00000000

I have the same problem on a 715/64.
I tried to find the reason for that problem, but since I'm no professional in 
parisc-assembler I'm some kind of stuck here right now.

As far as I've tested, the following patch (HACK!) to 
ret_from_kernel_thread() against CVS head gets me at least to the 
init-process (where it then crashes).

diff -u -r1.72 entry.S
--- entry.S     2001/02/20 02:19:52     1.72
+++ entry.S     2001/02/22 00:18:13
@@ -509,10 +509,12 @@
 
        /* Call schedule_tail first though */
 
+#if 0
        b,l     schedule_tail, %r2
        ldo     64(%r30), %r30
 
        ldo     -64(%r30), %r30
+#endif
        LDREG   TASK_PT_GR26-TASK_SZ_ALGN(%r30), %r1
        LDREG   TASK_PT_GR25-TASK_SZ_ALGN(%r30), %r26
        ble     0(%sr7, %r1)

I know this is *NOT* the correct patch, but AFAIT this means that 
something on the stack (return adress or the pointer to struct task_struct 
*prev for schedule_tail ?) isn't set up properly for 32bit PA ?

I know, that this isn't much information, but maybe this can give someone 
here on the list a clue, where the problem could be ?

Thanks,
Helge

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

end of thread, other threads:[~2001-02-22 18:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.21.0102222150310.14557-100000@front.linuxcare.com.au>
2001-02-22 14:28 ` [parisc-linux] Re: schedule_tail Alan Modra
2001-02-22 14:43   ` Richard Hirst
2001-02-22 18:24     ` Matthew Wilcox
2001-02-22  0:43 [parisc-linux] Warnings compiling the CVS kernel Helge Deller
2001-02-22  5:32 ` [parisc-linux] schedule_tail Alan Modra
2001-02-22  5:47   ` [parisc-linux] schedule_tail Matthew Wilcox
2001-02-22  6:21     ` Alan Modra
2001-02-22  6:29       ` Alan Modra
2001-02-22  6:31       ` Matthew Wilcox
2001-02-22  7:07         ` Alan Modra

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