All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Re: Trace/Breakpoint trap on "make mrproper"
@ 2001-09-07 13:56 John Marvin
  2001-09-07 19:13 ` thunder7
  2001-09-16 14:28 ` thunder7
  0 siblings, 2 replies; 4+ messages in thread
From: John Marvin @ 2001-09-07 13:56 UTC (permalink / raw)
  To: parisc-linux

>
> It looks like this patch:
> >Date: Thu, 6 Sep 2001 03:48:16 -0600 (MDT)
> >From: John Marvin jsm@udlkern.fc.hp.com
> >Subject: [parisc-linux-cvs] Patch for SMP support, etc.>
> >A rather large patch that includes my current SMP support changes, plus
> >a variety of other fixes/changes.
>
> did something. But it's so large I'm not sure what exactly :-)
>
> Jurriaan
>

I was pretty sure my changes to handle_break (in traps.c) would fix that
problem.  When I read your note I remembered that I had seen a similar
problem and fixed it.  The kernel would hang when a user program executed
a break instruction (either intentionally or not) without an attached
debugger. That is the problem you were seeing.

However, now that the machine doesn't hang, I am not sure if the remaining
problem you are seeing is a kernel bug or a userland bug.  It would appear
that you are executing 0's (0x00000000 is a break instruction). That
should cause the kernel to send you a SIGTRAP signal. I just checked some
of your old mail, and it looks like you are getting a SIGTRAP. One thing
that looks strange is that you are getting signals delivered using stack
addresses both at ~0xfaf00000 and ~0xbff00000. I wonder if make is using
an alternate signal stack?

John

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [parisc-linux] Re: Trace/Breakpoint trap on "make mrproper"]
@ 2001-09-07 19:22 thunder7
  0 siblings, 0 replies; 4+ messages in thread
From: thunder7 @ 2001-09-07 19:22 UTC (permalink / raw)
  To: parisc-linux; +Cc: jsm

Forgot to mention: I also have oopses in dmesg:


break 0x000002: pid=331 command='make'

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000011000000000000001011
r0-3	 00000000 00040130 bff02598 bff024e8
r4-7	 000000c8 40176434 0004b6e0 bff022d0
r8-11	 00000001 bff022c8 000401ec bff02460
r12-15	 00000028 00000029 bff02360 00000002
r16-19	 00000000 00043130 0002a800 00000000
r20-23	 000000ad 40106c54 40178e50 40178e30
r24-27	 00000005 00000001 00000000 00040130
r28-31	 fffffffc 0004b6d8 bff02818 00019ca4
sr0-3	 000004e1 0000020f 00000000 000004e1
sr4-7	 000004e1 000004e1 000004e1 000004e1

IASQ: 000004e1 000004e1 IAOQ: bff025a7 bff0281f
 IIR: 00000002    ISR: 00000000  IOR: 00000000
 CPU:        0   CR30: 2ca84000 CR31: 10358000
 ORIG_R28: 40176434
break 0x000002: pid=331 command='make'

[the above was repeated exactly the same some 10 times]

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001100000000000001111
r0-3	 00000000 fffff000 bff02dd8 bff02ae0
r4-7	 4017e57c bff02b68 00000002 bff022d0
r8-11	 00000001 bff022c8 000401ec bff02460
r12-15	 00000028 00000029 bff02360 00000002
r16-19	 00000000 00043130 0002a800 4017e57c
r20-23	 000000ad 4006b7ec bff030a8 00000008
r24-27	 00000000 00000001 0000014b 00040130
r28-31	 00000000 0004b6d8 bff03058 4006b7f7
sr0-3	 000004e1 000004e1 00000000 000004e1
sr4-7	 000004e1 000004e1 000004e1 000004e1

IASQ: 000004e1 000004e1 IAOQ: bff02de3 bff02de7
 IIR: 00000000    ISR: 10240072  IOR: a12842c8
 CPU:        0   CR30: 2ca84000 CR31: 10358000
 ORIG_R28: 0000014b
break 0x000002: pid=341 command='make'

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000011101111111100001111
r0-3	 00000000 00040130 bff02598 bff024e8
r4-7	 000000c8 40176434 0004b6e0 bff022d0
r8-11	 00000001 bff022c8 000401ec bff02460
r12-15	 00000028 00000029 bff02360 00000002
r16-19	 00000000 00043130 0002a800 00000000
r20-23	 000000ad 40106c54 40178e50 40178e30
r24-27	 00000005 00000001 00000000 00040130
r28-31	 fffffffc 0004b6d8 bff02818 00019ca7
sr0-3	 00000000 00000506 00000000 00000506
sr4-7	 00000506 00000506 00000506 00000506

IASQ: 00000506 00000506 IAOQ: bff025a7 bff0281f
 IIR: 00000002    ISR: 1024005e  IOR: 6c8402b4
 CPU:        0   CR30: 279c4000 CR31: 10358000
 ORIG_R28: 40176434
break 0x000002: pid=350 command='make'

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000011101111111100001111
r0-3	 00000000 00040130 bff02598 bff024e8
r4-7	 000000c8 40176434 0004b6e0 bff022d0
r8-11	 00000001 bff022c8 000401ec bff02460
r12-15	 00000028 00000029 bff02360 00000002
r16-19	 00000000 00043130 0002a800 00000000
r20-23	 000000ad 40106c54 40178e50 40178e30
r24-27	 00000005 00000001 00000000 00040130
r28-31	 fffffffc 0004b6d8 bff02818 00019ca7
sr0-3	 00000000 0000052b 00000000 0000052b
sr4-7	 0000052b 0000052b 0000052b 0000052b

IASQ: 0000052b 0000052b IAOQ: bff025a7 bff0281f
 IIR: 00000002    ISR: 10240076  IOR: 890402b4
 CPU:        0   CR30: 2d27c000 CR31: 10358000
 ORIG_R28: 40176434
break 0,0: pid=357 command='make'

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001101111111100001111
r0-3	 00000000 00040130 bff026d8 00000000
r4-7	 4017e57c 40176434 0004b6e0 00000000
r8-11	 00000000 bff022c8 000401ec bff02460
r12-15	 00000028 00000029 00000001 00040130
r16-19	 00040130 00000001 00000000 00000000
r20-23	 000000ad 400e220c 40178e50 00000000
r24-27	 00000005 00000001 00000000 00040130
r28-31	 0000016b 0004b6d8 bff02958 00019ca7
sr0-3	 00000000 00000547 00000000 00000547
sr4-7	 00000547 00000547 00000547 00000547

IASQ: 00000547 00000547 IAOQ: bff026e3 bff026e7
 IIR: 00000000    ISR: 10240076  IOR: 460402b4
 CPU:        0   CR30: 2d27c000 CR31: 10358000
 ORIG_R28: 00000000
break 0x000002: pid=364 command='make'

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000011101111111100001111
r0-3	 00000000 00040130 bff02598 bff024e8
r4-7	 000000c8 40176434 0004b600 bff022d0
r8-11	 00000001 bff022c8 000401ec bff02460
r12-15	 00000028 00000029 bff02360 00000002
r16-19	 00000000 00043130 0002a800 00000000
r20-23	 000000ad 40106c54 40178e50 40178e30
r24-27	 00000005 00000001 00000000 00040130
r28-31	 fffffffc 0004b5f8 bff02818 00019ca7
sr0-3	 00000000 00000563 00000000 00000563
sr4-7	 00000563 00000563 00000563 00000563

IASQ: 00000563 00000563 IAOQ: bff025a7 bff0281f
 IIR: 00000002    ISR: 10240075  IOR: 3b0402b4
 CPU:        0   CR30: 2d27c000 CR31: 10358000
 ORIG_R28: 40176434
break 0x000002: pid=371 command='make'

These bffxxxxx addresses are not in the kernel, correct?

Greetings,
Jurriaan

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

end of thread, other threads:[~2001-09-16 14:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-07 13:56 [parisc-linux] Re: Trace/Breakpoint trap on "make mrproper" John Marvin
2001-09-07 19:13 ` thunder7
2001-09-16 14:28 ` thunder7
  -- strict thread matches above, loose matches on Subject: below --
2001-09-07 19:22 [parisc-linux] Re: Trace/Breakpoint trap on "make mrproper"] thunder7

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.