Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Joel Soete <soete.joel@tiscali.be>
To: Randolph Chung <randolph@tausq.org>
Cc: PARISC list <parisc-linux@lists.parisc-linux.org>
Subject: Re: [parisc-linux] [RFC] Revamp exception handling in the kernel
Date: Tue, 14 Sep 2004 18:52:45 +0000	[thread overview]
Message-ID: <41473DFD.7070302@tiscali.be> (raw)
In-Reply-To: <20040914023706.GX28659@tausq.org>



Randolph Chung wrote:
> Version 2a of the patch. Changes from the previous version:
> 
> - Fixed the comment in uaccess.h, added some more comments to fixup.S
> - Added missing r1 clobbers
> - addil/ldd should be relative to r27, not r1
> 
> i found out this is a somewhat effective way of testing this patch:
> 
> - run "make vmlinux" (or make -j4 vmlinux) in one window
> - run "while true; do ./wtest; sleep 30; done" in another window
> 
> wtest is compiled from:
> -------------------8< cut here 8<--------------------
> #include <stdio.h>
> #include <unistd.h>
> #include <errno.h>
> 
> int main(int argc, char **argv)
> {
>         char *buf = (char *)1;
>         int ret;
> 
>         ret = write(fileno(stdout), buf, 10);
>         printf("write returned ret = %d, errno = %d\n", ret, errno);
> 
>         return 0;
> }
> 
> -------------------8< cut here 8<--------------------
> 
[...]
mmm, just running wtest and:
applying fixup for 0x10100350, fixup at 0x1038e1d8
Backtrace:
  [<1024fee0>] opost_block+0x58/0x1f8
  [<10252d84>] write_chan+0x204/0x2a8
  [<1024c02c>] tty_write+0x260/0x32c
  [<1017d6b0>] vfs_write+0x100/0x148
  [<1017d7fc>] sys_write+0x5c/0xa8
  [<10110178>] syscall_exit+0x0/0x14


Kernel Fault: Code=26 regs=2a9fc3c0 (Addr=00000001)

      YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001101111111100001111 Not tainted
r00-03  00000000 00000aa0 1024fee0 0000000a
r04-07  2cb89000 00000001 2cb89000 2cc95320
r08-11  00000000 00000001 00000000 2cb89948
r12-15  00000001 00000000 000aa000 000eae68
r16-19  000eaf08 000eab48 00000000 00000000
r20-23  30000001 00000fff 00000001 00000000
r24-27  0000000a 00000001 2a9fc312 103ef010
r28-31  00000fff 00000000 2a9fc3c0 102540d8
sr0-3   00000000 00000aa0 00000000 00000aa0
sr4-7   00000000 00000000 00000000 00000000

IASQ: 00000000 00000000 IAOQ: 10100320 10100324
  IIR: 0f221021    ISR: 00000000  IOR: 00000001
  CPU:        0   CR30: 2a9fc000 CR31: 10454000
  ORIG_R28: 00000000
  IAOQ[0]: $lctu_loop+0x0/0xc
  IAOQ[1]: $lctu_loop+0x4/0xc
  RP(r2): opost_block+0x58/0x1f8
Kernel panic - not syncing: Kernel Fault

Is panic awaited?

TIA,
	Joel
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  reply	other threads:[~2004-09-14 18:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-11 16:53 [parisc-linux] [RFC] Revamp exception handling in the kernel Randolph Chung
2004-09-11 22:49 ` John David Anglin
2004-09-12 13:10   ` Carlos O'Donell
2004-09-12 13:47 ` Carlos O'Donell
2004-09-12 13:58   ` James Bottomley
2004-09-12 14:29     ` Carlos O'Donell
2004-09-12 15:03       ` James Bottomley
2004-09-12 16:15   ` Randolph Chung
2004-09-12 17:54     ` Carlos O'Donell
2004-09-12 18:48       ` Randolph Chung
2004-09-12 19:19         ` Carlos O'Donell
2004-09-13 23:37 ` Randolph Chung
2004-09-14  2:37   ` Randolph Chung
2004-09-14 18:52     ` Joel Soete [this message]
     [not found] <20040914160613.GA28659@tausq.org>
2004-09-14 22:36 ` Carlos O'Donell
     [not found]   ` <41487C05.3010606@tiscali.be>
     [not found]     ` <41487D4C.2020004@tiscali.be>
2004-09-16 14:31       ` Carlos O'Donell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41473DFD.7070302@tiscali.be \
    --to=soete.joel@tiscali.be \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=randolph@tausq.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox