9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] exception/interrupt 14 bug
Date: Mon, 13 May 2002 21:18:56 -0400	[thread overview]
Message-ID: <eedc56c203579abe7a88a48d6d4f3079@plan9.bell-labs.com> (raw)

> The fix doesn't seem to be related to my problem though -
> exception/interrupt 14 happens much earlier in my case, before the kernel is
> fully loaded. The new floppy still panics.

It was the same problem, though.  Here's your register
dump:

apm ax=f000 cx=f000 dx=0 di=1200 ebx=57a0 esi=c03e6
using fd0!dos!plan9.ini
dev A0 port 1F0 config 0C5A capabilities 2F00 mwdma 0007 udma 043F
pcirouting: 8086/7112 at pin 4 irq 7
found 9PCFLOP .GZ attr 0x0 start 0xf0 len 1168843
.....FLAGS=10246 TRAP=e ECODE=0 PC=80015b87
AX a48003b7 BX 8003b784 CX 00000800 DX 00000000
SI 8002dcc0 DI 8003b7a4 BP 8003b780
CS 0010 DS 0008 ES 0008 FS 0008 CS 0008
CR0 80000011 CR2 a48003b9 CR3 0000c000
panic: exception/interrupt 14

57a0+03e6 is 5b86.  Toss in the segment register and
you've got 80015b86.  Note that you died at 80015b87.

bootpass+0x5fc 0x80015b84	MOVL	0x24(BP),AX
bootpass+0x5ff 0x80015b87	MOVBSX	0x2(AX),AX

The magic increment turned the first instruction
into

bootpass+0x5fc 0x80015b84	MOVL	0x25(BP),AX

and you died dereferencing the shifted value.

As for why the disk didn't work, well, let's just
say that caches are not my friend this week.

If you download a disk now, it should work.

Russ


             reply	other threads:[~2002-05-14  1:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-14  1:18 Russ Cox [this message]
2002-05-14 12:34 ` [9fans] exception/interrupt 14 bug - fixed Artem Letko
2002-05-31 19:11   ` Axel Belinfante
  -- strict thread matches above, loose matches on Subject: below --
2002-05-13 19:58 [9fans] exception/interrupt 14 bug Russ Cox
2002-05-13 23:46 ` Artem Letko

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=eedc56c203579abe7a88a48d6d4f3079@plan9.bell-labs.com \
    --to=rsc@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).